From c2c1c94e56a8ca4b8ae7b0a3fd553bbd07f96cda Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 25 Jan 2021 16:05:59 +0800 Subject: [PATCH] build --- asset-manifest.json | 406 +++++++++--------- index.html | 2 +- service-worker.js | 2 +- ...0a8302.chunk.css => 14.f1c6115d.chunk.css} | 2 +- ...cf2868.chunk.css => 16.b5cf2868.chunk.css} | 0 ...b68309.chunk.css => 17.7db68309.chunk.css} | 0 ...07758e.chunk.css => 18.a207758e.chunk.css} | 0 ...5da53a.chunk.css => 19.cd5da53a.chunk.css} | 0 ...0791f6.chunk.css => 20.5e0791f6.chunk.css} | 0 ...07cc9b.chunk.css => 21.7607cc9b.chunk.css} | 0 ...f04c32.chunk.css => 22.71f04c32.chunk.css} | 0 ...ae2605.chunk.css => 23.1cae2605.chunk.css} | 0 ...380b8c.chunk.css => 24.5e380b8c.chunk.css} | 0 ...01acd0.chunk.css => 27.f001acd0.chunk.css} | 0 ...bacb05.chunk.css => 28.31bacb05.chunk.css} | 0 ...4120d2.chunk.css => 29.524120d2.chunk.css} | 0 ...3249a3.chunk.css => 30.563249a3.chunk.css} | 0 ...d67b4f.chunk.css => 31.34d67b4f.chunk.css} | 0 ...b9591e.chunk.css => 32.edb9591e.chunk.css} | 0 ...c0c3b4.chunk.css => 33.fac0c3b4.chunk.css} | 0 ...f0293c.chunk.css => 34.66f0293c.chunk.css} | 0 ...5561de.chunk.css => 36.5b5561de.chunk.css} | 0 ...bb3926.chunk.css => 37.59bb3926.chunk.css} | 0 ...f3c49f.chunk.css => 38.54f3c49f.chunk.css} | 0 ...a68826.chunk.css => 39.b0a68826.chunk.css} | 0 ...b3c821.chunk.css => 40.6ab3c821.chunk.css} | 0 ...49f8f1.chunk.css => 41.7349f8f1.chunk.css} | 0 ...0b3120.chunk.css => 42.340b3120.chunk.css} | 0 ...25b4ed.chunk.css => 43.9825b4ed.chunk.css} | 0 ...d7a4c3.chunk.css => 44.97d7a4c3.chunk.css} | 0 ...dcc10e.chunk.css => 45.b8dcc10e.chunk.css} | 0 ...dc1e5f.chunk.css => 46.78dc1e5f.chunk.css} | 0 ...5d46f3.chunk.css => 47.b25d46f3.chunk.css} | 0 ...a177bc.chunk.css => 48.dba177bc.chunk.css} | 0 ...81f48c.chunk.css => 49.8081f48c.chunk.css} | 0 ...e966d7.chunk.css => 50.cce966d7.chunk.css} | 0 ...fdcbeb.chunk.css => 51.fcfdcbeb.chunk.css} | 0 ...e966d7.chunk.css => 53.cce966d7.chunk.css} | 0 ...47466a.chunk.css => 54.c347466a.chunk.css} | 0 ...39db6c.chunk.css => 55.8e39db6c.chunk.css} | 0 ...c0c3b4.chunk.css => 56.fac0c3b4.chunk.css} | 0 ...0f37d5.chunk.css => 57.640f37d5.chunk.css} | 0 static/css/59.fac0c3b4.chunk.css | 1 + ...e09ca8.chunk.css => 60.65e09ca8.chunk.css} | 0 ...789140.chunk.css => 61.26789140.chunk.css} | 0 ...e69314.chunk.css => 64.1be69314.chunk.css} | 0 ...3320ba.chunk.css => 65.1f3320ba.chunk.css} | 0 ...95dd0f.chunk.css => 66.5695dd0f.chunk.css} | 0 ...39367d.chunk.css => 67.0d39367d.chunk.css} | 0 ...afee70.chunk.css => 68.3cafee70.chunk.css} | 0 ...afee70.chunk.css => 69.3cafee70.chunk.css} | 0 ...98e92f.chunk.css => 71.8a98e92f.chunk.css} | 0 ...22dd89.chunk.css => 72.e522dd89.chunk.css} | 0 ...0f37d5.chunk.css => 73.640f37d5.chunk.css} | 0 ...009106.chunk.css => 74.ee009106.chunk.css} | 0 ...e69314.chunk.css => 75.1be69314.chunk.css} | 0 ...25ffda.chunk.css => 78.8725ffda.chunk.css} | 0 ...8eaef3.chunk.css => 84.af8eaef3.chunk.css} | 0 ...0fd912.chunk.css => 87.520fd912.chunk.css} | 0 ...34f2e6.chunk.css => 88.7834f2e6.chunk.css} | 0 static/js/100.8d4b33cf.chunk.js | 1 + ...f620b2d.chunk.js => 101.72be3c1e.chunk.js} | 2 +- ...3d60530.chunk.js => 102.8fcc5df3.chunk.js} | 2 +- ...50db385.chunk.js => 103.6c6a9c82.chunk.js} | 2 +- ...38f6fe4.chunk.js => 104.58543338.chunk.js} | 2 +- ...8b200fb.chunk.js => 105.7bbc8a22.chunk.js} | 2 +- ...8329ca9.chunk.js => 106.f1069854.chunk.js} | 2 +- ...930d294.chunk.js => 107.131c5d25.chunk.js} | 2 +- ...c97f8da.chunk.js => 108.1400a9d4.chunk.js} | 2 +- ...2c7e074.chunk.js => 109.df1518ce.chunk.js} | 2 +- ...51cf4303.chunk.js => 11.f4ac8084.chunk.js} | 2 +- ...33485b3.chunk.js => 110.f7300bfa.chunk.js} | 2 +- ...9e589d1.chunk.js => 111.429a1ffd.chunk.js} | 2 +- ...845cce4.chunk.js => 112.3a1248c0.chunk.js} | 2 +- ...921686b.chunk.js => 113.4da1e7a5.chunk.js} | 2 +- ...8ac7417.chunk.js => 114.351e57c0.chunk.js} | 2 +- ...c230a7d.chunk.js => 115.45137207.chunk.js} | 2 +- ...2e01c5a.chunk.js => 116.3969d930.chunk.js} | 2 +- ...a7bb8b8.chunk.js => 117.7533ebe1.chunk.js} | 2 +- ...d34ae50.chunk.js => 118.2752c551.chunk.js} | 2 +- ...ad91146.chunk.js => 119.37b6d8cc.chunk.js} | 2 +- ...90eab99.chunk.js => 120.f7b88153.chunk.js} | 2 +- ...5786e20.chunk.js => 121.76f59e51.chunk.js} | 2 +- ...c039839.chunk.js => 122.c03298c6.chunk.js} | 2 +- ...0243d5d.chunk.js => 123.2fbb63c6.chunk.js} | 2 +- ...1a7a6a0.chunk.js => 124.2707304a.chunk.js} | 2 +- ...ed5ea98.chunk.js => 125.cedf5389.chunk.js} | 2 +- ...b35dcf0.chunk.js => 126.4230c37f.chunk.js} | 2 +- ...3b7fda5.chunk.js => 127.f5d82427.chunk.js} | 2 +- ...efb50d3.chunk.js => 128.db26e0a4.chunk.js} | 2 +- ...4840bb3.chunk.js => 129.082a9c63.chunk.js} | 2 +- ...0a69b3e.chunk.js => 130.9fd0da40.chunk.js} | 2 +- ...3961d78.chunk.js => 131.0cbf1c63.chunk.js} | 2 +- ...e9f6a9d.chunk.js => 132.201f407d.chunk.js} | 2 +- ...0f0fc4a.chunk.js => 133.463f1f51.chunk.js} | 2 +- ...3cac9d1.chunk.js => 134.4cc73d58.chunk.js} | 2 +- ...b7521a2.chunk.js => 135.9705d89e.chunk.js} | 2 +- ...9af1e1c.chunk.js => 136.c384cb63.chunk.js} | 2 +- ...5da5522.chunk.js => 137.07cf7acb.chunk.js} | 2 +- ...4a33edf.chunk.js => 138.4a7df898.chunk.js} | 2 +- ...0dc84e9.chunk.js => 139.918d8c98.chunk.js} | 2 +- static/js/14.f0cf283b.chunk.js | 2 + ...E.txt => 14.f0cf283b.chunk.js.LICENSE.txt} | 0 ...f8905d1.chunk.js => 140.f26d8cd9.chunk.js} | 2 +- ...73f9380.chunk.js => 141.b201bb6d.chunk.js} | 2 +- ...32f2efc.chunk.js => 142.c1b7ecee.chunk.js} | 2 +- ...dda0a68.chunk.js => 143.b4133c4a.chunk.js} | 4 +- ....txt => 143.b4133c4a.chunk.js.LICENSE.txt} | 0 ...bd20b8b.chunk.js => 144.643f9289.chunk.js} | 2 +- ...c298a9a.chunk.js => 145.a71d3d10.chunk.js} | 2 +- ...2646683.chunk.js => 146.67d3ebef.chunk.js} | 2 +- ...822f926.chunk.js => 147.f48cbc6c.chunk.js} | 2 +- ...1d9e524.chunk.js => 148.ea85c2ef.chunk.js} | 2 +- static/js/15.38e81f9b.chunk.js | 2 - ...fe8cf690.chunk.js => 15.4e98ff73.chunk.js} | 2 +- static/js/16.6f4225dc.chunk.js | 2 + ...E.txt => 16.6f4225dc.chunk.js.LICENSE.txt} | 0 ...e1f149fb.chunk.js => 17.f07abe6a.chunk.js} | 2 +- ...0f8b2e98.chunk.js => 18.aba475e1.chunk.js} | 2 +- ...0a7bca42.chunk.js => 19.083e7c67.chunk.js} | 2 +- ...551bd94b.chunk.js => 20.c46cb455.chunk.js} | 2 +- static/js/20.e595aac6.chunk.js | 2 - static/js/21.4af17802.chunk.js | 2 - static/js/21.9fc1e0de.chunk.js | 2 + ...E.txt => 21.9fc1e0de.chunk.js.LICENSE.txt} | 0 static/js/22.48e92626.chunk.js | 2 - static/js/22.b34cfe6f.chunk.js | 2 + ...E.txt => 22.b34cfe6f.chunk.js.LICENSE.txt} | 0 static/js/23.59182e01.chunk.js | 2 + ...E.txt => 23.59182e01.chunk.js.LICENSE.txt} | 0 static/js/23.687b9fdb.chunk.js | 2 - static/js/24.e04ba5af.chunk.js | 2 + ...E.txt => 24.e04ba5af.chunk.js.LICENSE.txt} | 0 ...e8a332ec.chunk.js => 25.445ab279.chunk.js} | 2 +- ...4ad02b67.chunk.js => 26.9b80ad3e.chunk.js} | 2 +- ...46dfcc30.chunk.js => 27.5096c019.chunk.js} | 2 +- ...bee97dce.chunk.js => 28.47ce0345.chunk.js} | 2 +- ...a1743194.chunk.js => 29.08df1e63.chunk.js} | 2 +- ...d4ae424b.chunk.js => 30.d5b64ae4.chunk.js} | 2 +- ...cb54eca2.chunk.js => 31.e0ebe1fb.chunk.js} | 2 +- static/js/32.209d3cf1.chunk.js | 2 - ...64a564dc.chunk.js => 32.2dd9b86a.chunk.js} | 4 +- ...E.txt => 32.2dd9b86a.chunk.js.LICENSE.txt} | 0 static/js/33.109d81dc.chunk.js | 1 + ...651e2241.chunk.js => 34.654f7a5d.chunk.js} | 2 +- ...6b334f93.chunk.js => 35.5d8e6ba3.chunk.js} | 2 +- ...1fa91e18.chunk.js => 36.634d235a.chunk.js} | 2 +- ...7e08bbd6.chunk.js => 37.8a8a58c9.chunk.js} | 2 +- ...0d377271.chunk.js => 38.552b62a3.chunk.js} | 2 +- ...9b837482.chunk.js => 39.6ecb9c8b.chunk.js} | 2 +- ...dac1122e.chunk.js => 40.0985bcda.chunk.js} | 2 +- ...a40a6619.chunk.js => 41.8f046fb5.chunk.js} | 2 +- ...d046077c.chunk.js => 42.2979649e.chunk.js} | 2 +- ...48cbd01c.chunk.js => 43.3a9bdd51.chunk.js} | 2 +- ...e8713cab.chunk.js => 44.a0b083a8.chunk.js} | 2 +- ...9a8ba034.chunk.js => 45.09b27fa9.chunk.js} | 2 +- ...6bee55e2.chunk.js => 46.e161bc84.chunk.js} | 2 +- ...77b36974.chunk.js => 47.2c5b6e01.chunk.js} | 2 +- ...fc95a956.chunk.js => 48.536d4b93.chunk.js} | 2 +- ...946bfcf7.chunk.js => 49.4e50a7ca.chunk.js} | 2 +- ...28c69eb3.chunk.js => 50.72a2e257.chunk.js} | 2 +- static/js/51.3cb5b49a.chunk.js | 1 - ...2e158e3f.chunk.js => 51.b94b86c8.chunk.js} | 2 +- static/js/52.330a9d1c.chunk.js | 1 + ...33141264.chunk.js => 53.7f119972.chunk.js} | 2 +- ...c9e38028.chunk.js => 54.2705a78b.chunk.js} | 2 +- ...c20c0ed3.chunk.js => 55.3f08e720.chunk.js} | 2 +- ...4503cdbf.chunk.js => 56.51255ef7.chunk.js} | 2 +- ...cfbd2bfb.chunk.js => 57.1ff35d95.chunk.js} | 2 +- ...99086526.chunk.js => 58.8d7cbe26.chunk.js} | 2 +- ...25ba33d5.chunk.js => 59.90cc244b.chunk.js} | 2 +- ...d7abe6cd.chunk.js => 60.8b53ed89.chunk.js} | 2 +- ...51076bc3.chunk.js => 61.61c95aee.chunk.js} | 2 +- ...fecce608.chunk.js => 62.f0b3f284.chunk.js} | 2 +- ...c1a61376.chunk.js => 63.2d2ad91f.chunk.js} | 2 +- ...79ae9331.chunk.js => 64.d1304a6e.chunk.js} | 2 +- ...9736a467.chunk.js => 65.0c316fbd.chunk.js} | 2 +- ...29e57632.chunk.js => 66.b2942ec0.chunk.js} | 2 +- static/js/67.145ac9b5.chunk.js | 1 + ...c162e3eb.chunk.js => 68.4342cfa6.chunk.js} | 2 +- static/js/69.a2a0a4af.chunk.js | 1 - ...4b397075.chunk.js => 69.f5c0d347.chunk.js} | 2 +- ...93dd2cf4.chunk.js => 70.639a69d6.chunk.js} | 2 +- static/js/71.047c0d96.chunk.js | 1 + ...4cf0f24f.chunk.js => 72.9e12b3cf.chunk.js} | 2 +- ...e3e88ea9.chunk.js => 73.7c4225a7.chunk.js} | 2 +- ...18cbc37f.chunk.js => 74.f8757b88.chunk.js} | 2 +- ...8c23c7d9.chunk.js => 75.331ec86c.chunk.js} | 2 +- static/js/76.350ca661.chunk.js | 1 - ...f2f5994d.chunk.js => 76.81685560.chunk.js} | 2 +- ...a5e4443c.chunk.js => 77.fed1bcf7.chunk.js} | 2 +- ...ce3d50e3.chunk.js => 78.698527d7.chunk.js} | 2 +- ...e6276c0f.chunk.js => 79.0530a04a.chunk.js} | 2 +- ...698e13eb.chunk.js => 80.7d58061e.chunk.js} | 2 +- ...44ca42aa.chunk.js => 81.85465a59.chunk.js} | 2 +- ...274a8787.chunk.js => 82.43b8ed74.chunk.js} | 2 +- ...b60669b2.chunk.js => 83.4b238e62.chunk.js} | 2 +- ...dfcaf1dc.chunk.js => 84.2e0c991f.chunk.js} | 2 +- ...42079fef.chunk.js => 85.a63de285.chunk.js} | 2 +- ...9cf737d2.chunk.js => 86.93cff985.chunk.js} | 2 +- ...d04c24ea.chunk.js => 87.e5eefa6a.chunk.js} | 2 +- ...8f636c38.chunk.js => 88.48f8595f.chunk.js} | 2 +- static/js/89.5546fe7a.chunk.js | 1 - ...376aba4b.chunk.js => 89.b4d856e8.chunk.js} | 2 +- static/js/90.41c5ae56.chunk.js | 1 + ...4c26e187.chunk.js => 91.e76d52f8.chunk.js} | 2 +- ...261c7af4.chunk.js => 92.45cab7b7.chunk.js} | 2 +- ...c90fa313.chunk.js => 93.67ecadcf.chunk.js} | 2 +- ...46d2d7b7.chunk.js => 94.8d8bcb59.chunk.js} | 2 +- ...c411b828.chunk.js => 95.4394350f.chunk.js} | 2 +- ...b3075b01.chunk.js => 96.342cc2de.chunk.js} | 2 +- ...2f6f5f44.chunk.js => 97.18ea7268.chunk.js} | 2 +- ...ec005138.chunk.js => 98.e987f556.chunk.js} | 2 +- ...eb968578.chunk.js => 99.34d7373b.chunk.js} | 2 +- static/js/99.d6a63e89.chunk.js | 1 - ...2a7a93.chunk.js => main.1534b213.chunk.js} | 4 +- ...txt => main.1534b213.chunk.js.LICENSE.txt} | 0 static/js/runtime~main.008e7d67.js | 1 - static/js/runtime~main.acfc1fdc.js | 1 + 219 files changed, 355 insertions(+), 351 deletions(-) rename static/css/{32.bf0a8302.chunk.css => 14.f1c6115d.chunk.css} (81%) rename static/css/{15.b5cf2868.chunk.css => 16.b5cf2868.chunk.css} (100%) rename static/css/{16.7db68309.chunk.css => 17.7db68309.chunk.css} (100%) rename static/css/{17.a207758e.chunk.css => 18.a207758e.chunk.css} (100%) rename static/css/{18.cd5da53a.chunk.css => 19.cd5da53a.chunk.css} (100%) rename static/css/{19.5e0791f6.chunk.css => 20.5e0791f6.chunk.css} (100%) rename static/css/{20.7607cc9b.chunk.css => 21.7607cc9b.chunk.css} (100%) rename static/css/{21.71f04c32.chunk.css => 22.71f04c32.chunk.css} (100%) rename static/css/{22.1cae2605.chunk.css => 23.1cae2605.chunk.css} (100%) rename static/css/{23.5e380b8c.chunk.css => 24.5e380b8c.chunk.css} (100%) rename static/css/{24.f001acd0.chunk.css => 27.f001acd0.chunk.css} (100%) rename static/css/{27.31bacb05.chunk.css => 28.31bacb05.chunk.css} (100%) rename static/css/{28.524120d2.chunk.css => 29.524120d2.chunk.css} (100%) rename static/css/{29.563249a3.chunk.css => 30.563249a3.chunk.css} (100%) rename static/css/{30.34d67b4f.chunk.css => 31.34d67b4f.chunk.css} (100%) rename static/css/{31.edb9591e.chunk.css => 32.edb9591e.chunk.css} (100%) rename static/css/{55.fac0c3b4.chunk.css => 33.fac0c3b4.chunk.css} (100%) rename static/css/{33.66f0293c.chunk.css => 34.66f0293c.chunk.css} (100%) rename static/css/{34.5b5561de.chunk.css => 36.5b5561de.chunk.css} (100%) rename static/css/{36.59bb3926.chunk.css => 37.59bb3926.chunk.css} (100%) rename static/css/{37.54f3c49f.chunk.css => 38.54f3c49f.chunk.css} (100%) rename static/css/{38.b0a68826.chunk.css => 39.b0a68826.chunk.css} (100%) rename static/css/{39.6ab3c821.chunk.css => 40.6ab3c821.chunk.css} (100%) rename static/css/{40.7349f8f1.chunk.css => 41.7349f8f1.chunk.css} (100%) rename static/css/{41.340b3120.chunk.css => 42.340b3120.chunk.css} (100%) rename static/css/{42.9825b4ed.chunk.css => 43.9825b4ed.chunk.css} (100%) rename static/css/{43.97d7a4c3.chunk.css => 44.97d7a4c3.chunk.css} (100%) rename static/css/{44.b8dcc10e.chunk.css => 45.b8dcc10e.chunk.css} (100%) rename static/css/{45.78dc1e5f.chunk.css => 46.78dc1e5f.chunk.css} (100%) rename static/css/{46.b25d46f3.chunk.css => 47.b25d46f3.chunk.css} (100%) rename static/css/{47.dba177bc.chunk.css => 48.dba177bc.chunk.css} (100%) rename static/css/{48.8081f48c.chunk.css => 49.8081f48c.chunk.css} (100%) rename static/css/{49.cce966d7.chunk.css => 50.cce966d7.chunk.css} (100%) rename static/css/{50.fcfdcbeb.chunk.css => 51.fcfdcbeb.chunk.css} (100%) rename static/css/{52.cce966d7.chunk.css => 53.cce966d7.chunk.css} (100%) rename static/css/{53.c347466a.chunk.css => 54.c347466a.chunk.css} (100%) rename static/css/{54.8e39db6c.chunk.css => 55.8e39db6c.chunk.css} (100%) rename static/css/{57.fac0c3b4.chunk.css => 56.fac0c3b4.chunk.css} (100%) rename static/css/{56.640f37d5.chunk.css => 57.640f37d5.chunk.css} (100%) create mode 100644 static/css/59.fac0c3b4.chunk.css rename static/css/{59.65e09ca8.chunk.css => 60.65e09ca8.chunk.css} (100%) rename static/css/{60.26789140.chunk.css => 61.26789140.chunk.css} (100%) rename static/css/{62.1be69314.chunk.css => 64.1be69314.chunk.css} (100%) rename static/css/{64.1f3320ba.chunk.css => 65.1f3320ba.chunk.css} (100%) rename static/css/{65.5695dd0f.chunk.css => 66.5695dd0f.chunk.css} (100%) rename static/css/{76.0d39367d.chunk.css => 67.0d39367d.chunk.css} (100%) rename static/css/{66.3cafee70.chunk.css => 68.3cafee70.chunk.css} (100%) rename static/css/{67.3cafee70.chunk.css => 69.3cafee70.chunk.css} (100%) rename static/css/{69.8a98e92f.chunk.css => 71.8a98e92f.chunk.css} (100%) rename static/css/{70.e522dd89.chunk.css => 72.e522dd89.chunk.css} (100%) rename static/css/{71.640f37d5.chunk.css => 73.640f37d5.chunk.css} (100%) rename static/css/{72.ee009106.chunk.css => 74.ee009106.chunk.css} (100%) rename static/css/{73.1be69314.chunk.css => 75.1be69314.chunk.css} (100%) rename static/css/{77.8725ffda.chunk.css => 78.8725ffda.chunk.css} (100%) rename static/css/{83.af8eaef3.chunk.css => 84.af8eaef3.chunk.css} (100%) rename static/css/{86.520fd912.chunk.css => 87.520fd912.chunk.css} (100%) rename static/css/{87.7834f2e6.chunk.css => 88.7834f2e6.chunk.css} (100%) create mode 100644 static/js/100.8d4b33cf.chunk.js rename static/js/{100.bf620b2d.chunk.js => 101.72be3c1e.chunk.js} (93%) rename static/js/{101.03d60530.chunk.js => 102.8fcc5df3.chunk.js} (98%) rename static/js/{102.650db385.chunk.js => 103.6c6a9c82.chunk.js} (90%) rename static/js/{103.438f6fe4.chunk.js => 104.58543338.chunk.js} (93%) rename static/js/{104.48b200fb.chunk.js => 105.7bbc8a22.chunk.js} (98%) rename static/js/{105.78329ca9.chunk.js => 106.f1069854.chunk.js} (97%) rename static/js/{106.4930d294.chunk.js => 107.131c5d25.chunk.js} (97%) rename static/js/{107.0c97f8da.chunk.js => 108.1400a9d4.chunk.js} (94%) rename static/js/{108.a2c7e074.chunk.js => 109.df1518ce.chunk.js} (98%) rename static/js/{11.51cf4303.chunk.js => 11.f4ac8084.chunk.js} (99%) rename static/js/{109.633485b3.chunk.js => 110.f7300bfa.chunk.js} (93%) rename static/js/{110.69e589d1.chunk.js => 111.429a1ffd.chunk.js} (96%) rename static/js/{111.6845cce4.chunk.js => 112.3a1248c0.chunk.js} (96%) rename static/js/{112.7921686b.chunk.js => 113.4da1e7a5.chunk.js} (98%) rename static/js/{113.18ac7417.chunk.js => 114.351e57c0.chunk.js} (98%) rename static/js/{114.1c230a7d.chunk.js => 115.45137207.chunk.js} (92%) rename static/js/{115.52e01c5a.chunk.js => 116.3969d930.chunk.js} (96%) rename static/js/{116.ca7bb8b8.chunk.js => 117.7533ebe1.chunk.js} (96%) rename static/js/{117.bd34ae50.chunk.js => 118.2752c551.chunk.js} (96%) rename static/js/{118.bad91146.chunk.js => 119.37b6d8cc.chunk.js} (97%) rename static/js/{119.a90eab99.chunk.js => 120.f7b88153.chunk.js} (97%) rename static/js/{120.05786e20.chunk.js => 121.76f59e51.chunk.js} (99%) rename static/js/{121.cc039839.chunk.js => 122.c03298c6.chunk.js} (99%) rename static/js/{122.60243d5d.chunk.js => 123.2fbb63c6.chunk.js} (99%) rename static/js/{123.31a7a6a0.chunk.js => 124.2707304a.chunk.js} (98%) rename static/js/{124.8ed5ea98.chunk.js => 125.cedf5389.chunk.js} (98%) rename static/js/{125.ab35dcf0.chunk.js => 126.4230c37f.chunk.js} (99%) rename static/js/{126.33b7fda5.chunk.js => 127.f5d82427.chunk.js} (97%) rename static/js/{127.eefb50d3.chunk.js => 128.db26e0a4.chunk.js} (97%) rename static/js/{128.84840bb3.chunk.js => 129.082a9c63.chunk.js} (96%) rename static/js/{129.f0a69b3e.chunk.js => 130.9fd0da40.chunk.js} (96%) rename static/js/{130.73961d78.chunk.js => 131.0cbf1c63.chunk.js} (99%) rename static/js/{131.ce9f6a9d.chunk.js => 132.201f407d.chunk.js} (97%) rename static/js/{132.10f0fc4a.chunk.js => 133.463f1f51.chunk.js} (99%) rename static/js/{133.03cac9d1.chunk.js => 134.4cc73d58.chunk.js} (98%) rename static/js/{134.fb7521a2.chunk.js => 135.9705d89e.chunk.js} (97%) rename static/js/{135.19af1e1c.chunk.js => 136.c384cb63.chunk.js} (94%) rename static/js/{136.55da5522.chunk.js => 137.07cf7acb.chunk.js} (93%) rename static/js/{137.f4a33edf.chunk.js => 138.4a7df898.chunk.js} (98%) rename static/js/{138.00dc84e9.chunk.js => 139.918d8c98.chunk.js} (96%) create mode 100644 static/js/14.f0cf283b.chunk.js rename static/js/{15.38e81f9b.chunk.js.LICENSE.txt => 14.f0cf283b.chunk.js.LICENSE.txt} (100%) rename static/js/{139.5f8905d1.chunk.js => 140.f26d8cd9.chunk.js} (99%) rename static/js/{140.173f9380.chunk.js => 141.b201bb6d.chunk.js} (99%) rename static/js/{141.c32f2efc.chunk.js => 142.c1b7ecee.chunk.js} (98%) rename static/js/{142.9dda0a68.chunk.js => 143.b4133c4a.chunk.js} (96%) rename static/js/{142.9dda0a68.chunk.js.LICENSE.txt => 143.b4133c4a.chunk.js.LICENSE.txt} (100%) rename static/js/{143.ebd20b8b.chunk.js => 144.643f9289.chunk.js} (98%) rename static/js/{144.ec298a9a.chunk.js => 145.a71d3d10.chunk.js} (97%) rename static/js/{145.52646683.chunk.js => 146.67d3ebef.chunk.js} (95%) rename static/js/{146.b822f926.chunk.js => 147.f48cbc6c.chunk.js} (97%) rename static/js/{147.a1d9e524.chunk.js => 148.ea85c2ef.chunk.js} (99%) delete mode 100644 static/js/15.38e81f9b.chunk.js rename static/js/{14.fe8cf690.chunk.js => 15.4e98ff73.chunk.js} (98%) create mode 100644 static/js/16.6f4225dc.chunk.js rename static/js/{20.e595aac6.chunk.js.LICENSE.txt => 16.6f4225dc.chunk.js.LICENSE.txt} (100%) rename static/js/{16.e1f149fb.chunk.js => 17.f07abe6a.chunk.js} (99%) rename static/js/{17.0f8b2e98.chunk.js => 18.aba475e1.chunk.js} (99%) rename static/js/{18.0a7bca42.chunk.js => 19.083e7c67.chunk.js} (99%) rename static/js/{19.551bd94b.chunk.js => 20.c46cb455.chunk.js} (99%) delete mode 100644 static/js/20.e595aac6.chunk.js delete mode 100644 static/js/21.4af17802.chunk.js create mode 100644 static/js/21.9fc1e0de.chunk.js rename static/js/{21.4af17802.chunk.js.LICENSE.txt => 21.9fc1e0de.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/22.48e92626.chunk.js create mode 100644 static/js/22.b34cfe6f.chunk.js rename static/js/{22.48e92626.chunk.js.LICENSE.txt => 22.b34cfe6f.chunk.js.LICENSE.txt} (100%) create mode 100644 static/js/23.59182e01.chunk.js rename static/js/{23.687b9fdb.chunk.js.LICENSE.txt => 23.59182e01.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/23.687b9fdb.chunk.js create mode 100644 static/js/24.e04ba5af.chunk.js rename static/js/{32.209d3cf1.chunk.js.LICENSE.txt => 24.e04ba5af.chunk.js.LICENSE.txt} (100%) rename static/js/{24.e8a332ec.chunk.js => 25.445ab279.chunk.js} (99%) rename static/js/{25.4ad02b67.chunk.js => 26.9b80ad3e.chunk.js} (99%) rename static/js/{26.46dfcc30.chunk.js => 27.5096c019.chunk.js} (99%) rename static/js/{27.bee97dce.chunk.js => 28.47ce0345.chunk.js} (99%) rename static/js/{28.a1743194.chunk.js => 29.08df1e63.chunk.js} (99%) rename static/js/{29.d4ae424b.chunk.js => 30.d5b64ae4.chunk.js} (99%) rename static/js/{30.cb54eca2.chunk.js => 31.e0ebe1fb.chunk.js} (65%) delete mode 100644 static/js/32.209d3cf1.chunk.js rename static/js/{31.64a564dc.chunk.js => 32.2dd9b86a.chunk.js} (63%) rename static/js/{31.64a564dc.chunk.js.LICENSE.txt => 32.2dd9b86a.chunk.js.LICENSE.txt} (100%) create mode 100644 static/js/33.109d81dc.chunk.js rename static/js/{33.651e2241.chunk.js => 34.654f7a5d.chunk.js} (99%) rename static/js/{34.6b334f93.chunk.js => 35.5d8e6ba3.chunk.js} (99%) rename static/js/{35.1fa91e18.chunk.js => 36.634d235a.chunk.js} (99%) rename static/js/{36.7e08bbd6.chunk.js => 37.8a8a58c9.chunk.js} (99%) rename static/js/{37.0d377271.chunk.js => 38.552b62a3.chunk.js} (99%) rename static/js/{38.9b837482.chunk.js => 39.6ecb9c8b.chunk.js} (99%) rename static/js/{39.dac1122e.chunk.js => 40.0985bcda.chunk.js} (99%) rename static/js/{40.a40a6619.chunk.js => 41.8f046fb5.chunk.js} (99%) rename static/js/{41.d046077c.chunk.js => 42.2979649e.chunk.js} (99%) rename static/js/{42.48cbd01c.chunk.js => 43.3a9bdd51.chunk.js} (99%) rename static/js/{43.e8713cab.chunk.js => 44.a0b083a8.chunk.js} (99%) rename static/js/{44.9a8ba034.chunk.js => 45.09b27fa9.chunk.js} (99%) rename static/js/{45.6bee55e2.chunk.js => 46.e161bc84.chunk.js} (99%) rename static/js/{46.77b36974.chunk.js => 47.2c5b6e01.chunk.js} (99%) rename static/js/{47.fc95a956.chunk.js => 48.536d4b93.chunk.js} (99%) rename static/js/{48.946bfcf7.chunk.js => 49.4e50a7ca.chunk.js} (99%) rename static/js/{49.28c69eb3.chunk.js => 50.72a2e257.chunk.js} (99%) delete mode 100644 static/js/51.3cb5b49a.chunk.js rename static/js/{50.2e158e3f.chunk.js => 51.b94b86c8.chunk.js} (99%) create mode 100644 static/js/52.330a9d1c.chunk.js rename static/js/{52.33141264.chunk.js => 53.7f119972.chunk.js} (99%) rename static/js/{53.c9e38028.chunk.js => 54.2705a78b.chunk.js} (99%) rename static/js/{54.c20c0ed3.chunk.js => 55.3f08e720.chunk.js} (95%) rename static/js/{55.4503cdbf.chunk.js => 56.51255ef7.chunk.js} (99%) rename static/js/{56.cfbd2bfb.chunk.js => 57.1ff35d95.chunk.js} (99%) rename static/js/{57.99086526.chunk.js => 58.8d7cbe26.chunk.js} (99%) rename static/js/{58.25ba33d5.chunk.js => 59.90cc244b.chunk.js} (98%) rename static/js/{59.d7abe6cd.chunk.js => 60.8b53ed89.chunk.js} (99%) rename static/js/{60.51076bc3.chunk.js => 61.61c95aee.chunk.js} (97%) rename static/js/{61.fecce608.chunk.js => 62.f0b3f284.chunk.js} (99%) rename static/js/{62.c1a61376.chunk.js => 63.2d2ad91f.chunk.js} (99%) rename static/js/{63.79ae9331.chunk.js => 64.d1304a6e.chunk.js} (99%) rename static/js/{64.9736a467.chunk.js => 65.0c316fbd.chunk.js} (95%) rename static/js/{65.29e57632.chunk.js => 66.b2942ec0.chunk.js} (99%) create mode 100644 static/js/67.145ac9b5.chunk.js rename static/js/{66.c162e3eb.chunk.js => 68.4342cfa6.chunk.js} (86%) delete mode 100644 static/js/69.a2a0a4af.chunk.js rename static/js/{67.4b397075.chunk.js => 69.f5c0d347.chunk.js} (87%) rename static/js/{68.93dd2cf4.chunk.js => 70.639a69d6.chunk.js} (99%) create mode 100644 static/js/71.047c0d96.chunk.js rename static/js/{70.4cf0f24f.chunk.js => 72.9e12b3cf.chunk.js} (98%) rename static/js/{71.e3e88ea9.chunk.js => 73.7c4225a7.chunk.js} (99%) rename static/js/{72.18cbc37f.chunk.js => 74.f8757b88.chunk.js} (96%) rename static/js/{73.8c23c7d9.chunk.js => 75.331ec86c.chunk.js} (99%) delete mode 100644 static/js/76.350ca661.chunk.js rename static/js/{74.f2f5994d.chunk.js => 76.81685560.chunk.js} (99%) rename static/js/{75.a5e4443c.chunk.js => 77.fed1bcf7.chunk.js} (99%) rename static/js/{77.ce3d50e3.chunk.js => 78.698527d7.chunk.js} (99%) rename static/js/{78.e6276c0f.chunk.js => 79.0530a04a.chunk.js} (98%) rename static/js/{79.698e13eb.chunk.js => 80.7d58061e.chunk.js} (96%) rename static/js/{80.44ca42aa.chunk.js => 81.85465a59.chunk.js} (99%) rename static/js/{81.274a8787.chunk.js => 82.43b8ed74.chunk.js} (98%) rename static/js/{82.b60669b2.chunk.js => 83.4b238e62.chunk.js} (97%) rename static/js/{83.dfcaf1dc.chunk.js => 84.2e0c991f.chunk.js} (83%) rename static/js/{84.42079fef.chunk.js => 85.a63de285.chunk.js} (97%) rename static/js/{85.9cf737d2.chunk.js => 86.93cff985.chunk.js} (98%) rename static/js/{86.d04c24ea.chunk.js => 87.e5eefa6a.chunk.js} (89%) rename static/js/{87.8f636c38.chunk.js => 88.48f8595f.chunk.js} (81%) delete mode 100644 static/js/89.5546fe7a.chunk.js rename static/js/{88.376aba4b.chunk.js => 89.b4d856e8.chunk.js} (98%) create mode 100644 static/js/90.41c5ae56.chunk.js rename static/js/{90.4c26e187.chunk.js => 91.e76d52f8.chunk.js} (99%) rename static/js/{91.261c7af4.chunk.js => 92.45cab7b7.chunk.js} (98%) rename static/js/{92.c90fa313.chunk.js => 93.67ecadcf.chunk.js} (99%) rename static/js/{93.46d2d7b7.chunk.js => 94.8d8bcb59.chunk.js} (99%) rename static/js/{94.c411b828.chunk.js => 95.4394350f.chunk.js} (99%) rename static/js/{95.b3075b01.chunk.js => 96.342cc2de.chunk.js} (95%) rename static/js/{96.2f6f5f44.chunk.js => 97.18ea7268.chunk.js} (75%) rename static/js/{97.ec005138.chunk.js => 98.e987f556.chunk.js} (72%) rename static/js/{98.eb968578.chunk.js => 99.34d7373b.chunk.js} (93%) delete mode 100644 static/js/99.d6a63e89.chunk.js rename static/js/{main.242a7a93.chunk.js => main.1534b213.chunk.js} (91%) rename static/js/{main.242a7a93.chunk.js.LICENSE.txt => main.1534b213.chunk.js.LICENSE.txt} (100%) delete mode 100644 static/js/runtime~main.008e7d67.js create mode 100644 static/js/runtime~main.acfc1fdc.js diff --git a/asset-manifest.json b/asset-manifest.json index d9716f5d9..880992f3d 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -19,219 +19,221 @@ "static/css/10.58c2bda0.chunk.css": "/react/build/static/css/10.58c2bda0.chunk.css", "./static/js/10.8130decd.chunk.js": "/react/build/./static/js/10.8130decd.chunk.js", "static/css/11.65637c47.chunk.css": "/react/build/static/css/11.65637c47.chunk.css", - "./static/js/11.51cf4303.chunk.js": "/react/build/./static/js/11.51cf4303.chunk.js", + "./static/js/11.f4ac8084.chunk.js": "/react/build/./static/js/11.f4ac8084.chunk.js", "static/css/12.620a5b46.chunk.css": "/react/build/static/css/12.620a5b46.chunk.css", "./static/js/12.1a67cd39.chunk.js": "/react/build/./static/js/12.1a67cd39.chunk.js", "static/css/13.971b56a9.chunk.css": "/react/build/static/css/13.971b56a9.chunk.css", "./static/js/13.b0c55fcc.chunk.js": "/react/build/./static/js/13.b0c55fcc.chunk.js", - "./static/js/14.fe8cf690.chunk.js": "/react/build/./static/js/14.fe8cf690.chunk.js", - "static/css/15.b5cf2868.chunk.css": "/react/build/static/css/15.b5cf2868.chunk.css", - "./static/js/15.38e81f9b.chunk.js": "/react/build/./static/js/15.38e81f9b.chunk.js", - "static/css/16.7db68309.chunk.css": "/react/build/static/css/16.7db68309.chunk.css", - "./static/js/16.e1f149fb.chunk.js": "/react/build/./static/js/16.e1f149fb.chunk.js", - "static/css/17.a207758e.chunk.css": "/react/build/static/css/17.a207758e.chunk.css", - "./static/js/17.0f8b2e98.chunk.js": "/react/build/./static/js/17.0f8b2e98.chunk.js", - "static/css/18.cd5da53a.chunk.css": "/react/build/static/css/18.cd5da53a.chunk.css", - "./static/js/18.0a7bca42.chunk.js": "/react/build/./static/js/18.0a7bca42.chunk.js", - "static/css/19.5e0791f6.chunk.css": "/react/build/static/css/19.5e0791f6.chunk.css", - "./static/js/19.551bd94b.chunk.js": "/react/build/./static/js/19.551bd94b.chunk.js", - "static/css/20.7607cc9b.chunk.css": "/react/build/static/css/20.7607cc9b.chunk.css", - "./static/js/20.e595aac6.chunk.js": "/react/build/./static/js/20.e595aac6.chunk.js", - "static/css/21.71f04c32.chunk.css": "/react/build/static/css/21.71f04c32.chunk.css", - "./static/js/21.4af17802.chunk.js": "/react/build/./static/js/21.4af17802.chunk.js", - "static/css/22.1cae2605.chunk.css": "/react/build/static/css/22.1cae2605.chunk.css", - "./static/js/22.48e92626.chunk.js": "/react/build/./static/js/22.48e92626.chunk.js", - "static/css/23.5e380b8c.chunk.css": "/react/build/static/css/23.5e380b8c.chunk.css", - "./static/js/23.687b9fdb.chunk.js": "/react/build/./static/js/23.687b9fdb.chunk.js", - "static/css/24.f001acd0.chunk.css": "/react/build/static/css/24.f001acd0.chunk.css", - "./static/js/24.e8a332ec.chunk.js": "/react/build/./static/js/24.e8a332ec.chunk.js", + "static/css/14.f1c6115d.chunk.css": "/react/build/static/css/14.f1c6115d.chunk.css", + "./static/js/14.f0cf283b.chunk.js": "/react/build/./static/js/14.f0cf283b.chunk.js", + "./static/js/15.4e98ff73.chunk.js": "/react/build/./static/js/15.4e98ff73.chunk.js", + "static/css/16.b5cf2868.chunk.css": "/react/build/static/css/16.b5cf2868.chunk.css", + "./static/js/16.6f4225dc.chunk.js": "/react/build/./static/js/16.6f4225dc.chunk.js", + "static/css/17.7db68309.chunk.css": "/react/build/static/css/17.7db68309.chunk.css", + "./static/js/17.f07abe6a.chunk.js": "/react/build/./static/js/17.f07abe6a.chunk.js", + "static/css/18.a207758e.chunk.css": "/react/build/static/css/18.a207758e.chunk.css", + "./static/js/18.aba475e1.chunk.js": "/react/build/./static/js/18.aba475e1.chunk.js", + "static/css/19.cd5da53a.chunk.css": "/react/build/static/css/19.cd5da53a.chunk.css", + "./static/js/19.083e7c67.chunk.js": "/react/build/./static/js/19.083e7c67.chunk.js", + "static/css/20.5e0791f6.chunk.css": "/react/build/static/css/20.5e0791f6.chunk.css", + "./static/js/20.c46cb455.chunk.js": "/react/build/./static/js/20.c46cb455.chunk.js", + "static/css/21.7607cc9b.chunk.css": "/react/build/static/css/21.7607cc9b.chunk.css", + "./static/js/21.9fc1e0de.chunk.js": "/react/build/./static/js/21.9fc1e0de.chunk.js", + "static/css/22.71f04c32.chunk.css": "/react/build/static/css/22.71f04c32.chunk.css", + "./static/js/22.b34cfe6f.chunk.js": "/react/build/./static/js/22.b34cfe6f.chunk.js", + "static/css/23.1cae2605.chunk.css": "/react/build/static/css/23.1cae2605.chunk.css", + "./static/js/23.59182e01.chunk.js": "/react/build/./static/js/23.59182e01.chunk.js", + "static/css/24.5e380b8c.chunk.css": "/react/build/static/css/24.5e380b8c.chunk.css", + "./static/js/24.e04ba5af.chunk.js": "/react/build/./static/js/24.e04ba5af.chunk.js", "static/css/25.f001acd0.chunk.css": "/react/build/static/css/25.f001acd0.chunk.css", - "./static/js/25.4ad02b67.chunk.js": "/react/build/./static/js/25.4ad02b67.chunk.js", + "./static/js/25.445ab279.chunk.js": "/react/build/./static/js/25.445ab279.chunk.js", "static/css/26.f001acd0.chunk.css": "/react/build/static/css/26.f001acd0.chunk.css", - "./static/js/26.46dfcc30.chunk.js": "/react/build/./static/js/26.46dfcc30.chunk.js", - "static/css/27.31bacb05.chunk.css": "/react/build/static/css/27.31bacb05.chunk.css", - "./static/js/27.bee97dce.chunk.js": "/react/build/./static/js/27.bee97dce.chunk.js", - "static/css/28.524120d2.chunk.css": "/react/build/static/css/28.524120d2.chunk.css", - "./static/js/28.a1743194.chunk.js": "/react/build/./static/js/28.a1743194.chunk.js", - "static/css/29.563249a3.chunk.css": "/react/build/static/css/29.563249a3.chunk.css", - "./static/js/29.d4ae424b.chunk.js": "/react/build/./static/js/29.d4ae424b.chunk.js", - "static/css/30.34d67b4f.chunk.css": "/react/build/static/css/30.34d67b4f.chunk.css", - "./static/js/30.cb54eca2.chunk.js": "/react/build/./static/js/30.cb54eca2.chunk.js", - "static/css/31.edb9591e.chunk.css": "/react/build/static/css/31.edb9591e.chunk.css", - "./static/js/31.64a564dc.chunk.js": "/react/build/./static/js/31.64a564dc.chunk.js", - "static/css/32.bf0a8302.chunk.css": "/react/build/static/css/32.bf0a8302.chunk.css", - "./static/js/32.209d3cf1.chunk.js": "/react/build/./static/js/32.209d3cf1.chunk.js", - "static/css/33.66f0293c.chunk.css": "/react/build/static/css/33.66f0293c.chunk.css", - "./static/js/33.651e2241.chunk.js": "/react/build/./static/js/33.651e2241.chunk.js", - "static/css/34.5b5561de.chunk.css": "/react/build/static/css/34.5b5561de.chunk.css", - "./static/js/34.6b334f93.chunk.js": "/react/build/./static/js/34.6b334f93.chunk.js", + "./static/js/26.9b80ad3e.chunk.js": "/react/build/./static/js/26.9b80ad3e.chunk.js", + "static/css/27.f001acd0.chunk.css": "/react/build/static/css/27.f001acd0.chunk.css", + "./static/js/27.5096c019.chunk.js": "/react/build/./static/js/27.5096c019.chunk.js", + "static/css/28.31bacb05.chunk.css": "/react/build/static/css/28.31bacb05.chunk.css", + "./static/js/28.47ce0345.chunk.js": "/react/build/./static/js/28.47ce0345.chunk.js", + "static/css/29.524120d2.chunk.css": "/react/build/static/css/29.524120d2.chunk.css", + "./static/js/29.08df1e63.chunk.js": "/react/build/./static/js/29.08df1e63.chunk.js", + "static/css/30.563249a3.chunk.css": "/react/build/static/css/30.563249a3.chunk.css", + "./static/js/30.d5b64ae4.chunk.js": "/react/build/./static/js/30.d5b64ae4.chunk.js", + "static/css/31.34d67b4f.chunk.css": "/react/build/static/css/31.34d67b4f.chunk.css", + "./static/js/31.e0ebe1fb.chunk.js": "/react/build/./static/js/31.e0ebe1fb.chunk.js", + "static/css/32.edb9591e.chunk.css": "/react/build/static/css/32.edb9591e.chunk.css", + "./static/js/32.2dd9b86a.chunk.js": "/react/build/./static/js/32.2dd9b86a.chunk.js", + "static/css/33.fac0c3b4.chunk.css": "/react/build/static/css/33.fac0c3b4.chunk.css", + "./static/js/33.109d81dc.chunk.js": "/react/build/./static/js/33.109d81dc.chunk.js", + "static/css/34.66f0293c.chunk.css": "/react/build/static/css/34.66f0293c.chunk.css", + "./static/js/34.654f7a5d.chunk.js": "/react/build/./static/js/34.654f7a5d.chunk.js", "static/css/35.5b5561de.chunk.css": "/react/build/static/css/35.5b5561de.chunk.css", - "./static/js/35.1fa91e18.chunk.js": "/react/build/./static/js/35.1fa91e18.chunk.js", - "static/css/36.59bb3926.chunk.css": "/react/build/static/css/36.59bb3926.chunk.css", - "./static/js/36.7e08bbd6.chunk.js": "/react/build/./static/js/36.7e08bbd6.chunk.js", - "static/css/37.54f3c49f.chunk.css": "/react/build/static/css/37.54f3c49f.chunk.css", - "./static/js/37.0d377271.chunk.js": "/react/build/./static/js/37.0d377271.chunk.js", - "static/css/38.b0a68826.chunk.css": "/react/build/static/css/38.b0a68826.chunk.css", - "./static/js/38.9b837482.chunk.js": "/react/build/./static/js/38.9b837482.chunk.js", - "static/css/39.6ab3c821.chunk.css": "/react/build/static/css/39.6ab3c821.chunk.css", - "./static/js/39.dac1122e.chunk.js": "/react/build/./static/js/39.dac1122e.chunk.js", - "static/css/40.7349f8f1.chunk.css": "/react/build/static/css/40.7349f8f1.chunk.css", - "./static/js/40.a40a6619.chunk.js": "/react/build/./static/js/40.a40a6619.chunk.js", - "static/css/41.340b3120.chunk.css": "/react/build/static/css/41.340b3120.chunk.css", - "./static/js/41.d046077c.chunk.js": "/react/build/./static/js/41.d046077c.chunk.js", - "static/css/42.9825b4ed.chunk.css": "/react/build/static/css/42.9825b4ed.chunk.css", - "./static/js/42.48cbd01c.chunk.js": "/react/build/./static/js/42.48cbd01c.chunk.js", - "static/css/43.97d7a4c3.chunk.css": "/react/build/static/css/43.97d7a4c3.chunk.css", - "./static/js/43.e8713cab.chunk.js": "/react/build/./static/js/43.e8713cab.chunk.js", - "static/css/44.b8dcc10e.chunk.css": "/react/build/static/css/44.b8dcc10e.chunk.css", - "./static/js/44.9a8ba034.chunk.js": "/react/build/./static/js/44.9a8ba034.chunk.js", - "static/css/45.78dc1e5f.chunk.css": "/react/build/static/css/45.78dc1e5f.chunk.css", - "./static/js/45.6bee55e2.chunk.js": "/react/build/./static/js/45.6bee55e2.chunk.js", - "static/css/46.b25d46f3.chunk.css": "/react/build/static/css/46.b25d46f3.chunk.css", - "./static/js/46.77b36974.chunk.js": "/react/build/./static/js/46.77b36974.chunk.js", - "static/css/47.dba177bc.chunk.css": "/react/build/static/css/47.dba177bc.chunk.css", - "./static/js/47.fc95a956.chunk.js": "/react/build/./static/js/47.fc95a956.chunk.js", - "static/css/48.8081f48c.chunk.css": "/react/build/static/css/48.8081f48c.chunk.css", - "./static/js/48.946bfcf7.chunk.js": "/react/build/./static/js/48.946bfcf7.chunk.js", - "static/css/49.cce966d7.chunk.css": "/react/build/static/css/49.cce966d7.chunk.css", - "./static/js/49.28c69eb3.chunk.js": "/react/build/./static/js/49.28c69eb3.chunk.js", - "static/css/50.fcfdcbeb.chunk.css": "/react/build/static/css/50.fcfdcbeb.chunk.css", - "./static/js/50.2e158e3f.chunk.js": "/react/build/./static/js/50.2e158e3f.chunk.js", - "./static/js/51.3cb5b49a.chunk.js": "/react/build/./static/js/51.3cb5b49a.chunk.js", - "static/css/52.cce966d7.chunk.css": "/react/build/static/css/52.cce966d7.chunk.css", - "./static/js/52.33141264.chunk.js": "/react/build/./static/js/52.33141264.chunk.js", - "static/css/53.c347466a.chunk.css": "/react/build/static/css/53.c347466a.chunk.css", - "./static/js/53.c9e38028.chunk.js": "/react/build/./static/js/53.c9e38028.chunk.js", - "static/css/54.8e39db6c.chunk.css": "/react/build/static/css/54.8e39db6c.chunk.css", - "./static/js/54.c20c0ed3.chunk.js": "/react/build/./static/js/54.c20c0ed3.chunk.js", - "static/css/55.fac0c3b4.chunk.css": "/react/build/static/css/55.fac0c3b4.chunk.css", - "./static/js/55.4503cdbf.chunk.js": "/react/build/./static/js/55.4503cdbf.chunk.js", - "static/css/56.640f37d5.chunk.css": "/react/build/static/css/56.640f37d5.chunk.css", - "./static/js/56.cfbd2bfb.chunk.js": "/react/build/./static/js/56.cfbd2bfb.chunk.js", - "static/css/57.fac0c3b4.chunk.css": "/react/build/static/css/57.fac0c3b4.chunk.css", - "./static/js/57.99086526.chunk.js": "/react/build/./static/js/57.99086526.chunk.js", + "./static/js/35.5d8e6ba3.chunk.js": "/react/build/./static/js/35.5d8e6ba3.chunk.js", + "static/css/36.5b5561de.chunk.css": "/react/build/static/css/36.5b5561de.chunk.css", + "./static/js/36.634d235a.chunk.js": "/react/build/./static/js/36.634d235a.chunk.js", + "static/css/37.59bb3926.chunk.css": "/react/build/static/css/37.59bb3926.chunk.css", + "./static/js/37.8a8a58c9.chunk.js": "/react/build/./static/js/37.8a8a58c9.chunk.js", + "static/css/38.54f3c49f.chunk.css": "/react/build/static/css/38.54f3c49f.chunk.css", + "./static/js/38.552b62a3.chunk.js": "/react/build/./static/js/38.552b62a3.chunk.js", + "static/css/39.b0a68826.chunk.css": "/react/build/static/css/39.b0a68826.chunk.css", + "./static/js/39.6ecb9c8b.chunk.js": "/react/build/./static/js/39.6ecb9c8b.chunk.js", + "static/css/40.6ab3c821.chunk.css": "/react/build/static/css/40.6ab3c821.chunk.css", + "./static/js/40.0985bcda.chunk.js": "/react/build/./static/js/40.0985bcda.chunk.js", + "static/css/41.7349f8f1.chunk.css": "/react/build/static/css/41.7349f8f1.chunk.css", + "./static/js/41.8f046fb5.chunk.js": "/react/build/./static/js/41.8f046fb5.chunk.js", + "static/css/42.340b3120.chunk.css": "/react/build/static/css/42.340b3120.chunk.css", + "./static/js/42.2979649e.chunk.js": "/react/build/./static/js/42.2979649e.chunk.js", + "static/css/43.9825b4ed.chunk.css": "/react/build/static/css/43.9825b4ed.chunk.css", + "./static/js/43.3a9bdd51.chunk.js": "/react/build/./static/js/43.3a9bdd51.chunk.js", + "static/css/44.97d7a4c3.chunk.css": "/react/build/static/css/44.97d7a4c3.chunk.css", + "./static/js/44.a0b083a8.chunk.js": "/react/build/./static/js/44.a0b083a8.chunk.js", + "static/css/45.b8dcc10e.chunk.css": "/react/build/static/css/45.b8dcc10e.chunk.css", + "./static/js/45.09b27fa9.chunk.js": "/react/build/./static/js/45.09b27fa9.chunk.js", + "static/css/46.78dc1e5f.chunk.css": "/react/build/static/css/46.78dc1e5f.chunk.css", + "./static/js/46.e161bc84.chunk.js": "/react/build/./static/js/46.e161bc84.chunk.js", + "static/css/47.b25d46f3.chunk.css": "/react/build/static/css/47.b25d46f3.chunk.css", + "./static/js/47.2c5b6e01.chunk.js": "/react/build/./static/js/47.2c5b6e01.chunk.js", + "static/css/48.dba177bc.chunk.css": "/react/build/static/css/48.dba177bc.chunk.css", + "./static/js/48.536d4b93.chunk.js": "/react/build/./static/js/48.536d4b93.chunk.js", + "static/css/49.8081f48c.chunk.css": "/react/build/static/css/49.8081f48c.chunk.css", + "./static/js/49.4e50a7ca.chunk.js": "/react/build/./static/js/49.4e50a7ca.chunk.js", + "static/css/50.cce966d7.chunk.css": "/react/build/static/css/50.cce966d7.chunk.css", + "./static/js/50.72a2e257.chunk.js": "/react/build/./static/js/50.72a2e257.chunk.js", + "static/css/51.fcfdcbeb.chunk.css": "/react/build/static/css/51.fcfdcbeb.chunk.css", + "./static/js/51.b94b86c8.chunk.js": "/react/build/./static/js/51.b94b86c8.chunk.js", + "./static/js/52.330a9d1c.chunk.js": "/react/build/./static/js/52.330a9d1c.chunk.js", + "static/css/53.cce966d7.chunk.css": "/react/build/static/css/53.cce966d7.chunk.css", + "./static/js/53.7f119972.chunk.js": "/react/build/./static/js/53.7f119972.chunk.js", + "static/css/54.c347466a.chunk.css": "/react/build/static/css/54.c347466a.chunk.css", + "./static/js/54.2705a78b.chunk.js": "/react/build/./static/js/54.2705a78b.chunk.js", + "static/css/55.8e39db6c.chunk.css": "/react/build/static/css/55.8e39db6c.chunk.css", + "./static/js/55.3f08e720.chunk.js": "/react/build/./static/js/55.3f08e720.chunk.js", + "static/css/56.fac0c3b4.chunk.css": "/react/build/static/css/56.fac0c3b4.chunk.css", + "./static/js/56.51255ef7.chunk.js": "/react/build/./static/js/56.51255ef7.chunk.js", + "static/css/57.640f37d5.chunk.css": "/react/build/static/css/57.640f37d5.chunk.css", + "./static/js/57.1ff35d95.chunk.js": "/react/build/./static/js/57.1ff35d95.chunk.js", "static/css/58.fac0c3b4.chunk.css": "/react/build/static/css/58.fac0c3b4.chunk.css", - "./static/js/58.25ba33d5.chunk.js": "/react/build/./static/js/58.25ba33d5.chunk.js", - "static/css/59.65e09ca8.chunk.css": "/react/build/static/css/59.65e09ca8.chunk.css", - "./static/js/59.d7abe6cd.chunk.js": "/react/build/./static/js/59.d7abe6cd.chunk.js", - "static/css/60.26789140.chunk.css": "/react/build/static/css/60.26789140.chunk.css", - "./static/js/60.51076bc3.chunk.js": "/react/build/./static/js/60.51076bc3.chunk.js", - "./static/js/61.fecce608.chunk.js": "/react/build/./static/js/61.fecce608.chunk.js", - "static/css/62.1be69314.chunk.css": "/react/build/static/css/62.1be69314.chunk.css", - "./static/js/62.c1a61376.chunk.js": "/react/build/./static/js/62.c1a61376.chunk.js", + "./static/js/58.8d7cbe26.chunk.js": "/react/build/./static/js/58.8d7cbe26.chunk.js", + "static/css/59.fac0c3b4.chunk.css": "/react/build/static/css/59.fac0c3b4.chunk.css", + "./static/js/59.90cc244b.chunk.js": "/react/build/./static/js/59.90cc244b.chunk.js", + "static/css/60.65e09ca8.chunk.css": "/react/build/static/css/60.65e09ca8.chunk.css", + "./static/js/60.8b53ed89.chunk.js": "/react/build/./static/js/60.8b53ed89.chunk.js", + "static/css/61.26789140.chunk.css": "/react/build/static/css/61.26789140.chunk.css", + "./static/js/61.61c95aee.chunk.js": "/react/build/./static/js/61.61c95aee.chunk.js", + "./static/js/62.f0b3f284.chunk.js": "/react/build/./static/js/62.f0b3f284.chunk.js", "static/css/63.1be69314.chunk.css": "/react/build/static/css/63.1be69314.chunk.css", - "./static/js/63.79ae9331.chunk.js": "/react/build/./static/js/63.79ae9331.chunk.js", - "static/css/64.1f3320ba.chunk.css": "/react/build/static/css/64.1f3320ba.chunk.css", - "./static/js/64.9736a467.chunk.js": "/react/build/./static/js/64.9736a467.chunk.js", - "static/css/65.5695dd0f.chunk.css": "/react/build/static/css/65.5695dd0f.chunk.css", - "./static/js/65.29e57632.chunk.js": "/react/build/./static/js/65.29e57632.chunk.js", - "static/css/66.3cafee70.chunk.css": "/react/build/static/css/66.3cafee70.chunk.css", - "./static/js/66.c162e3eb.chunk.js": "/react/build/./static/js/66.c162e3eb.chunk.js", - "static/css/67.3cafee70.chunk.css": "/react/build/static/css/67.3cafee70.chunk.css", - "./static/js/67.4b397075.chunk.js": "/react/build/./static/js/67.4b397075.chunk.js", - "./static/js/68.93dd2cf4.chunk.js": "/react/build/./static/js/68.93dd2cf4.chunk.js", - "static/css/69.8a98e92f.chunk.css": "/react/build/static/css/69.8a98e92f.chunk.css", - "./static/js/69.a2a0a4af.chunk.js": "/react/build/./static/js/69.a2a0a4af.chunk.js", - "static/css/70.e522dd89.chunk.css": "/react/build/static/css/70.e522dd89.chunk.css", - "./static/js/70.4cf0f24f.chunk.js": "/react/build/./static/js/70.4cf0f24f.chunk.js", - "static/css/71.640f37d5.chunk.css": "/react/build/static/css/71.640f37d5.chunk.css", - "./static/js/71.e3e88ea9.chunk.js": "/react/build/./static/js/71.e3e88ea9.chunk.js", - "static/css/72.ee009106.chunk.css": "/react/build/static/css/72.ee009106.chunk.css", - "./static/js/72.18cbc37f.chunk.js": "/react/build/./static/js/72.18cbc37f.chunk.js", - "static/css/73.1be69314.chunk.css": "/react/build/static/css/73.1be69314.chunk.css", - "./static/js/73.8c23c7d9.chunk.js": "/react/build/./static/js/73.8c23c7d9.chunk.js", - "./static/js/74.f2f5994d.chunk.js": "/react/build/./static/js/74.f2f5994d.chunk.js", - "./static/js/75.a5e4443c.chunk.js": "/react/build/./static/js/75.a5e4443c.chunk.js", - "static/css/76.0d39367d.chunk.css": "/react/build/static/css/76.0d39367d.chunk.css", - "./static/js/76.350ca661.chunk.js": "/react/build/./static/js/76.350ca661.chunk.js", - "static/css/77.8725ffda.chunk.css": "/react/build/static/css/77.8725ffda.chunk.css", - "./static/js/77.ce3d50e3.chunk.js": "/react/build/./static/js/77.ce3d50e3.chunk.js", - "./static/js/78.e6276c0f.chunk.js": "/react/build/./static/js/78.e6276c0f.chunk.js", - "./static/js/79.698e13eb.chunk.js": "/react/build/./static/js/79.698e13eb.chunk.js", - "./static/js/80.44ca42aa.chunk.js": "/react/build/./static/js/80.44ca42aa.chunk.js", - "./static/js/81.274a8787.chunk.js": "/react/build/./static/js/81.274a8787.chunk.js", - "./static/js/82.b60669b2.chunk.js": "/react/build/./static/js/82.b60669b2.chunk.js", - "static/css/83.af8eaef3.chunk.css": "/react/build/static/css/83.af8eaef3.chunk.css", - "./static/js/83.dfcaf1dc.chunk.js": "/react/build/./static/js/83.dfcaf1dc.chunk.js", - "./static/js/84.42079fef.chunk.js": "/react/build/./static/js/84.42079fef.chunk.js", - "./static/js/85.9cf737d2.chunk.js": "/react/build/./static/js/85.9cf737d2.chunk.js", - "static/css/86.520fd912.chunk.css": "/react/build/static/css/86.520fd912.chunk.css", - "./static/js/86.d04c24ea.chunk.js": "/react/build/./static/js/86.d04c24ea.chunk.js", - "static/css/87.7834f2e6.chunk.css": "/react/build/static/css/87.7834f2e6.chunk.css", - "./static/js/87.8f636c38.chunk.js": "/react/build/./static/js/87.8f636c38.chunk.js", - "./static/js/88.376aba4b.chunk.js": "/react/build/./static/js/88.376aba4b.chunk.js", - "./static/js/89.5546fe7a.chunk.js": "/react/build/./static/js/89.5546fe7a.chunk.js", - "./static/js/90.4c26e187.chunk.js": "/react/build/./static/js/90.4c26e187.chunk.js", - "./static/js/91.261c7af4.chunk.js": "/react/build/./static/js/91.261c7af4.chunk.js", - "./static/js/92.c90fa313.chunk.js": "/react/build/./static/js/92.c90fa313.chunk.js", - "./static/js/93.46d2d7b7.chunk.js": "/react/build/./static/js/93.46d2d7b7.chunk.js", - "./static/js/94.c411b828.chunk.js": "/react/build/./static/js/94.c411b828.chunk.js", - "./static/js/95.b3075b01.chunk.js": "/react/build/./static/js/95.b3075b01.chunk.js", - "./static/js/96.2f6f5f44.chunk.js": "/react/build/./static/js/96.2f6f5f44.chunk.js", - "./static/js/97.ec005138.chunk.js": "/react/build/./static/js/97.ec005138.chunk.js", - "./static/js/98.eb968578.chunk.js": "/react/build/./static/js/98.eb968578.chunk.js", - "./static/js/99.d6a63e89.chunk.js": "/react/build/./static/js/99.d6a63e89.chunk.js", - "./static/js/100.bf620b2d.chunk.js": "/react/build/./static/js/100.bf620b2d.chunk.js", - "./static/js/101.03d60530.chunk.js": "/react/build/./static/js/101.03d60530.chunk.js", - "./static/js/102.650db385.chunk.js": "/react/build/./static/js/102.650db385.chunk.js", - "./static/js/103.438f6fe4.chunk.js": "/react/build/./static/js/103.438f6fe4.chunk.js", - "./static/js/104.48b200fb.chunk.js": "/react/build/./static/js/104.48b200fb.chunk.js", - "./static/js/105.78329ca9.chunk.js": "/react/build/./static/js/105.78329ca9.chunk.js", - "./static/js/106.4930d294.chunk.js": "/react/build/./static/js/106.4930d294.chunk.js", - "./static/js/107.0c97f8da.chunk.js": "/react/build/./static/js/107.0c97f8da.chunk.js", - "./static/js/108.a2c7e074.chunk.js": "/react/build/./static/js/108.a2c7e074.chunk.js", - "./static/js/109.633485b3.chunk.js": "/react/build/./static/js/109.633485b3.chunk.js", - "./static/js/110.69e589d1.chunk.js": "/react/build/./static/js/110.69e589d1.chunk.js", - "./static/js/111.6845cce4.chunk.js": "/react/build/./static/js/111.6845cce4.chunk.js", - "./static/js/112.7921686b.chunk.js": "/react/build/./static/js/112.7921686b.chunk.js", - "./static/js/113.18ac7417.chunk.js": "/react/build/./static/js/113.18ac7417.chunk.js", - "./static/js/114.1c230a7d.chunk.js": "/react/build/./static/js/114.1c230a7d.chunk.js", - "./static/js/115.52e01c5a.chunk.js": "/react/build/./static/js/115.52e01c5a.chunk.js", - "./static/js/116.ca7bb8b8.chunk.js": "/react/build/./static/js/116.ca7bb8b8.chunk.js", - "./static/js/117.bd34ae50.chunk.js": "/react/build/./static/js/117.bd34ae50.chunk.js", - "./static/js/118.bad91146.chunk.js": "/react/build/./static/js/118.bad91146.chunk.js", - "./static/js/119.a90eab99.chunk.js": "/react/build/./static/js/119.a90eab99.chunk.js", - "./static/js/120.05786e20.chunk.js": "/react/build/./static/js/120.05786e20.chunk.js", - "./static/js/121.cc039839.chunk.js": "/react/build/./static/js/121.cc039839.chunk.js", - "./static/js/122.60243d5d.chunk.js": "/react/build/./static/js/122.60243d5d.chunk.js", - "./static/js/123.31a7a6a0.chunk.js": "/react/build/./static/js/123.31a7a6a0.chunk.js", - "./static/js/124.8ed5ea98.chunk.js": "/react/build/./static/js/124.8ed5ea98.chunk.js", - "./static/js/125.ab35dcf0.chunk.js": "/react/build/./static/js/125.ab35dcf0.chunk.js", - "./static/js/126.33b7fda5.chunk.js": "/react/build/./static/js/126.33b7fda5.chunk.js", - "./static/js/127.eefb50d3.chunk.js": "/react/build/./static/js/127.eefb50d3.chunk.js", - "./static/js/128.84840bb3.chunk.js": "/react/build/./static/js/128.84840bb3.chunk.js", - "./static/js/129.f0a69b3e.chunk.js": "/react/build/./static/js/129.f0a69b3e.chunk.js", - "./static/js/130.73961d78.chunk.js": "/react/build/./static/js/130.73961d78.chunk.js", - "./static/js/131.ce9f6a9d.chunk.js": "/react/build/./static/js/131.ce9f6a9d.chunk.js", - "./static/js/132.10f0fc4a.chunk.js": "/react/build/./static/js/132.10f0fc4a.chunk.js", - "./static/js/133.03cac9d1.chunk.js": "/react/build/./static/js/133.03cac9d1.chunk.js", - "./static/js/134.fb7521a2.chunk.js": "/react/build/./static/js/134.fb7521a2.chunk.js", - "./static/js/135.19af1e1c.chunk.js": "/react/build/./static/js/135.19af1e1c.chunk.js", - "./static/js/136.55da5522.chunk.js": "/react/build/./static/js/136.55da5522.chunk.js", - "./static/js/137.f4a33edf.chunk.js": "/react/build/./static/js/137.f4a33edf.chunk.js", - "./static/js/138.00dc84e9.chunk.js": "/react/build/./static/js/138.00dc84e9.chunk.js", - "./static/js/139.5f8905d1.chunk.js": "/react/build/./static/js/139.5f8905d1.chunk.js", - "./static/js/140.173f9380.chunk.js": "/react/build/./static/js/140.173f9380.chunk.js", - "./static/js/141.c32f2efc.chunk.js": "/react/build/./static/js/141.c32f2efc.chunk.js", - "./static/js/142.9dda0a68.chunk.js": "/react/build/./static/js/142.9dda0a68.chunk.js", - "./static/js/143.ebd20b8b.chunk.js": "/react/build/./static/js/143.ebd20b8b.chunk.js", - "./static/js/144.ec298a9a.chunk.js": "/react/build/./static/js/144.ec298a9a.chunk.js", - "./static/js/145.52646683.chunk.js": "/react/build/./static/js/145.52646683.chunk.js", - "./static/js/146.b822f926.chunk.js": "/react/build/./static/js/146.b822f926.chunk.js", - "./static/js/147.a1d9e524.chunk.js": "/react/build/./static/js/147.a1d9e524.chunk.js", + "./static/js/63.2d2ad91f.chunk.js": "/react/build/./static/js/63.2d2ad91f.chunk.js", + "static/css/64.1be69314.chunk.css": "/react/build/static/css/64.1be69314.chunk.css", + "./static/js/64.d1304a6e.chunk.js": "/react/build/./static/js/64.d1304a6e.chunk.js", + "static/css/65.1f3320ba.chunk.css": "/react/build/static/css/65.1f3320ba.chunk.css", + "./static/js/65.0c316fbd.chunk.js": "/react/build/./static/js/65.0c316fbd.chunk.js", + "static/css/66.5695dd0f.chunk.css": "/react/build/static/css/66.5695dd0f.chunk.css", + "./static/js/66.b2942ec0.chunk.js": "/react/build/./static/js/66.b2942ec0.chunk.js", + "static/css/67.0d39367d.chunk.css": "/react/build/static/css/67.0d39367d.chunk.css", + "./static/js/67.145ac9b5.chunk.js": "/react/build/./static/js/67.145ac9b5.chunk.js", + "static/css/68.3cafee70.chunk.css": "/react/build/static/css/68.3cafee70.chunk.css", + "./static/js/68.4342cfa6.chunk.js": "/react/build/./static/js/68.4342cfa6.chunk.js", + "static/css/69.3cafee70.chunk.css": "/react/build/static/css/69.3cafee70.chunk.css", + "./static/js/69.f5c0d347.chunk.js": "/react/build/./static/js/69.f5c0d347.chunk.js", + "./static/js/70.639a69d6.chunk.js": "/react/build/./static/js/70.639a69d6.chunk.js", + "static/css/71.8a98e92f.chunk.css": "/react/build/static/css/71.8a98e92f.chunk.css", + "./static/js/71.047c0d96.chunk.js": "/react/build/./static/js/71.047c0d96.chunk.js", + "static/css/72.e522dd89.chunk.css": "/react/build/static/css/72.e522dd89.chunk.css", + "./static/js/72.9e12b3cf.chunk.js": "/react/build/./static/js/72.9e12b3cf.chunk.js", + "static/css/73.640f37d5.chunk.css": "/react/build/static/css/73.640f37d5.chunk.css", + "./static/js/73.7c4225a7.chunk.js": "/react/build/./static/js/73.7c4225a7.chunk.js", + "static/css/74.ee009106.chunk.css": "/react/build/static/css/74.ee009106.chunk.css", + "./static/js/74.f8757b88.chunk.js": "/react/build/./static/js/74.f8757b88.chunk.js", + "static/css/75.1be69314.chunk.css": "/react/build/static/css/75.1be69314.chunk.css", + "./static/js/75.331ec86c.chunk.js": "/react/build/./static/js/75.331ec86c.chunk.js", + "./static/js/76.81685560.chunk.js": "/react/build/./static/js/76.81685560.chunk.js", + "./static/js/77.fed1bcf7.chunk.js": "/react/build/./static/js/77.fed1bcf7.chunk.js", + "static/css/78.8725ffda.chunk.css": "/react/build/static/css/78.8725ffda.chunk.css", + "./static/js/78.698527d7.chunk.js": "/react/build/./static/js/78.698527d7.chunk.js", + "./static/js/79.0530a04a.chunk.js": "/react/build/./static/js/79.0530a04a.chunk.js", + "./static/js/80.7d58061e.chunk.js": "/react/build/./static/js/80.7d58061e.chunk.js", + "./static/js/81.85465a59.chunk.js": "/react/build/./static/js/81.85465a59.chunk.js", + "./static/js/82.43b8ed74.chunk.js": "/react/build/./static/js/82.43b8ed74.chunk.js", + "./static/js/83.4b238e62.chunk.js": "/react/build/./static/js/83.4b238e62.chunk.js", + "static/css/84.af8eaef3.chunk.css": "/react/build/static/css/84.af8eaef3.chunk.css", + "./static/js/84.2e0c991f.chunk.js": "/react/build/./static/js/84.2e0c991f.chunk.js", + "./static/js/85.a63de285.chunk.js": "/react/build/./static/js/85.a63de285.chunk.js", + "./static/js/86.93cff985.chunk.js": "/react/build/./static/js/86.93cff985.chunk.js", + "static/css/87.520fd912.chunk.css": "/react/build/static/css/87.520fd912.chunk.css", + "./static/js/87.e5eefa6a.chunk.js": "/react/build/./static/js/87.e5eefa6a.chunk.js", + "static/css/88.7834f2e6.chunk.css": "/react/build/static/css/88.7834f2e6.chunk.css", + "./static/js/88.48f8595f.chunk.js": "/react/build/./static/js/88.48f8595f.chunk.js", + "./static/js/89.b4d856e8.chunk.js": "/react/build/./static/js/89.b4d856e8.chunk.js", + "./static/js/90.41c5ae56.chunk.js": "/react/build/./static/js/90.41c5ae56.chunk.js", + "./static/js/91.e76d52f8.chunk.js": "/react/build/./static/js/91.e76d52f8.chunk.js", + "./static/js/92.45cab7b7.chunk.js": "/react/build/./static/js/92.45cab7b7.chunk.js", + "./static/js/93.67ecadcf.chunk.js": "/react/build/./static/js/93.67ecadcf.chunk.js", + "./static/js/94.8d8bcb59.chunk.js": "/react/build/./static/js/94.8d8bcb59.chunk.js", + "./static/js/95.4394350f.chunk.js": "/react/build/./static/js/95.4394350f.chunk.js", + "./static/js/96.342cc2de.chunk.js": "/react/build/./static/js/96.342cc2de.chunk.js", + "./static/js/97.18ea7268.chunk.js": "/react/build/./static/js/97.18ea7268.chunk.js", + "./static/js/98.e987f556.chunk.js": "/react/build/./static/js/98.e987f556.chunk.js", + "./static/js/99.34d7373b.chunk.js": "/react/build/./static/js/99.34d7373b.chunk.js", + "./static/js/100.8d4b33cf.chunk.js": "/react/build/./static/js/100.8d4b33cf.chunk.js", + "./static/js/101.72be3c1e.chunk.js": "/react/build/./static/js/101.72be3c1e.chunk.js", + "./static/js/102.8fcc5df3.chunk.js": "/react/build/./static/js/102.8fcc5df3.chunk.js", + "./static/js/103.6c6a9c82.chunk.js": "/react/build/./static/js/103.6c6a9c82.chunk.js", + "./static/js/104.58543338.chunk.js": "/react/build/./static/js/104.58543338.chunk.js", + "./static/js/105.7bbc8a22.chunk.js": "/react/build/./static/js/105.7bbc8a22.chunk.js", + "./static/js/106.f1069854.chunk.js": "/react/build/./static/js/106.f1069854.chunk.js", + "./static/js/107.131c5d25.chunk.js": "/react/build/./static/js/107.131c5d25.chunk.js", + "./static/js/108.1400a9d4.chunk.js": "/react/build/./static/js/108.1400a9d4.chunk.js", + "./static/js/109.df1518ce.chunk.js": "/react/build/./static/js/109.df1518ce.chunk.js", + "./static/js/110.f7300bfa.chunk.js": "/react/build/./static/js/110.f7300bfa.chunk.js", + "./static/js/111.429a1ffd.chunk.js": "/react/build/./static/js/111.429a1ffd.chunk.js", + "./static/js/112.3a1248c0.chunk.js": "/react/build/./static/js/112.3a1248c0.chunk.js", + "./static/js/113.4da1e7a5.chunk.js": "/react/build/./static/js/113.4da1e7a5.chunk.js", + "./static/js/114.351e57c0.chunk.js": "/react/build/./static/js/114.351e57c0.chunk.js", + "./static/js/115.45137207.chunk.js": "/react/build/./static/js/115.45137207.chunk.js", + "./static/js/116.3969d930.chunk.js": "/react/build/./static/js/116.3969d930.chunk.js", + "./static/js/117.7533ebe1.chunk.js": "/react/build/./static/js/117.7533ebe1.chunk.js", + "./static/js/118.2752c551.chunk.js": "/react/build/./static/js/118.2752c551.chunk.js", + "./static/js/119.37b6d8cc.chunk.js": "/react/build/./static/js/119.37b6d8cc.chunk.js", + "./static/js/120.f7b88153.chunk.js": "/react/build/./static/js/120.f7b88153.chunk.js", + "./static/js/121.76f59e51.chunk.js": "/react/build/./static/js/121.76f59e51.chunk.js", + "./static/js/122.c03298c6.chunk.js": "/react/build/./static/js/122.c03298c6.chunk.js", + "./static/js/123.2fbb63c6.chunk.js": "/react/build/./static/js/123.2fbb63c6.chunk.js", + "./static/js/124.2707304a.chunk.js": "/react/build/./static/js/124.2707304a.chunk.js", + "./static/js/125.cedf5389.chunk.js": "/react/build/./static/js/125.cedf5389.chunk.js", + "./static/js/126.4230c37f.chunk.js": "/react/build/./static/js/126.4230c37f.chunk.js", + "./static/js/127.f5d82427.chunk.js": "/react/build/./static/js/127.f5d82427.chunk.js", + "./static/js/128.db26e0a4.chunk.js": "/react/build/./static/js/128.db26e0a4.chunk.js", + "./static/js/129.082a9c63.chunk.js": "/react/build/./static/js/129.082a9c63.chunk.js", + "./static/js/130.9fd0da40.chunk.js": "/react/build/./static/js/130.9fd0da40.chunk.js", + "./static/js/131.0cbf1c63.chunk.js": "/react/build/./static/js/131.0cbf1c63.chunk.js", + "./static/js/132.201f407d.chunk.js": "/react/build/./static/js/132.201f407d.chunk.js", + "./static/js/133.463f1f51.chunk.js": "/react/build/./static/js/133.463f1f51.chunk.js", + "./static/js/134.4cc73d58.chunk.js": "/react/build/./static/js/134.4cc73d58.chunk.js", + "./static/js/135.9705d89e.chunk.js": "/react/build/./static/js/135.9705d89e.chunk.js", + "./static/js/136.c384cb63.chunk.js": "/react/build/./static/js/136.c384cb63.chunk.js", + "./static/js/137.07cf7acb.chunk.js": "/react/build/./static/js/137.07cf7acb.chunk.js", + "./static/js/138.4a7df898.chunk.js": "/react/build/./static/js/138.4a7df898.chunk.js", + "./static/js/139.918d8c98.chunk.js": "/react/build/./static/js/139.918d8c98.chunk.js", + "./static/js/140.f26d8cd9.chunk.js": "/react/build/./static/js/140.f26d8cd9.chunk.js", + "./static/js/141.b201bb6d.chunk.js": "/react/build/./static/js/141.b201bb6d.chunk.js", + "./static/js/142.c1b7ecee.chunk.js": "/react/build/./static/js/142.c1b7ecee.chunk.js", + "./static/js/143.b4133c4a.chunk.js": "/react/build/./static/js/143.b4133c4a.chunk.js", + "./static/js/144.643f9289.chunk.js": "/react/build/./static/js/144.643f9289.chunk.js", + "./static/js/145.a71d3d10.chunk.js": "/react/build/./static/js/145.a71d3d10.chunk.js", + "./static/js/146.67d3ebef.chunk.js": "/react/build/./static/js/146.67d3ebef.chunk.js", + "./static/js/147.f48cbc6c.chunk.js": "/react/build/./static/js/147.f48cbc6c.chunk.js", + "./static/js/148.ea85c2ef.chunk.js": "/react/build/./static/js/148.ea85c2ef.chunk.js", "main.css": "/react/build/static/css/main.d31a9b96.chunk.css", - "main.js": "/react/build/./static/js/main.242a7a93.chunk.js", - "runtime~main.js": "/react/build/./static/js/runtime~main.008e7d67.js", - "./static/js/142.9dda0a68.chunk.js.LICENSE.txt": "/react/build/./static/js/142.9dda0a68.chunk.js.LICENSE.txt", - "./static/js/15.38e81f9b.chunk.js.LICENSE.txt": "/react/build/./static/js/15.38e81f9b.chunk.js.LICENSE.txt", - "./static/js/20.e595aac6.chunk.js.LICENSE.txt": "/react/build/./static/js/20.e595aac6.chunk.js.LICENSE.txt", - "./static/js/21.4af17802.chunk.js.LICENSE.txt": "/react/build/./static/js/21.4af17802.chunk.js.LICENSE.txt", - "./static/js/22.48e92626.chunk.js.LICENSE.txt": "/react/build/./static/js/22.48e92626.chunk.js.LICENSE.txt", - "./static/js/23.687b9fdb.chunk.js.LICENSE.txt": "/react/build/./static/js/23.687b9fdb.chunk.js.LICENSE.txt", - "./static/js/31.64a564dc.chunk.js.LICENSE.txt": "/react/build/./static/js/31.64a564dc.chunk.js.LICENSE.txt", - "./static/js/32.209d3cf1.chunk.js.LICENSE.txt": "/react/build/./static/js/32.209d3cf1.chunk.js.LICENSE.txt", + "main.js": "/react/build/./static/js/main.1534b213.chunk.js", + "runtime~main.js": "/react/build/./static/js/runtime~main.acfc1fdc.js", + "./static/js/14.f0cf283b.chunk.js.LICENSE.txt": "/react/build/./static/js/14.f0cf283b.chunk.js.LICENSE.txt", + "./static/js/143.b4133c4a.chunk.js.LICENSE.txt": "/react/build/./static/js/143.b4133c4a.chunk.js.LICENSE.txt", + "./static/js/16.6f4225dc.chunk.js.LICENSE.txt": "/react/build/./static/js/16.6f4225dc.chunk.js.LICENSE.txt", + "./static/js/21.9fc1e0de.chunk.js.LICENSE.txt": "/react/build/./static/js/21.9fc1e0de.chunk.js.LICENSE.txt", + "./static/js/22.b34cfe6f.chunk.js.LICENSE.txt": "/react/build/./static/js/22.b34cfe6f.chunk.js.LICENSE.txt", + "./static/js/23.59182e01.chunk.js.LICENSE.txt": "/react/build/./static/js/23.59182e01.chunk.js.LICENSE.txt", + "./static/js/24.e04ba5af.chunk.js.LICENSE.txt": "/react/build/./static/js/24.e04ba5af.chunk.js.LICENSE.txt", + "./static/js/32.2dd9b86a.chunk.js.LICENSE.txt": "/react/build/./static/js/32.2dd9b86a.chunk.js.LICENSE.txt", "./static/js/6.553951e0.chunk.js.LICENSE.txt": "/react/build/./static/js/6.553951e0.chunk.js.LICENSE.txt", - "./static/js/main.242a7a93.chunk.js.LICENSE.txt": "/react/build/./static/js/main.242a7a93.chunk.js.LICENSE.txt", + "./static/js/main.1534b213.chunk.js.LICENSE.txt": "/react/build/./static/js/main.1534b213.chunk.js.LICENSE.txt", "css.worker.js": "/react/build/css.worker.js", "editor.worker.js": "/react/build/editor.worker.js", "html.worker.js": "/react/build/html.worker.js", diff --git a/index.html b/index.html index 088e13a58..c6672087d 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 cf0920a63..850ea6817 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","a2dc102f0c688a60c17d90bdf69eb445"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/1.50ff7122.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/10.58c2bda0.chunk.css","7251503b2fb2777418b1d533e31be56d"],["/react/build/static/css/11.65637c47.chunk.css","7083a19a64fc477dab30704b55e1cf40"],["/react/build/static/css/12.620a5b46.chunk.css","119988bb06ed43feb43934a2b308db2a"],["/react/build/static/css/13.971b56a9.chunk.css","ae447dc72790c750ef2bb8bdb4a2e8a9"],["/react/build/static/css/15.b5cf2868.chunk.css","4e59cddc72c3b7e5c1701416f422c324"],["/react/build/static/css/16.7db68309.chunk.css","0ca664622a97f4a0ec6a464349195d3b"],["/react/build/static/css/17.a207758e.chunk.css","ad5d430122bf2df39ce8b33fe1691318"],["/react/build/static/css/18.cd5da53a.chunk.css","c2355f612417a0706a734c737c1dcf10"],["/react/build/static/css/19.5e0791f6.chunk.css","21e33a4d39e1669b0610fc5a84035215"],["/react/build/static/css/20.7607cc9b.chunk.css","c2d7ef06dc1ef517c154cfa8c2887d68"],["/react/build/static/css/21.71f04c32.chunk.css","34ec244ad985f5ab0358352f16bcf702"],["/react/build/static/css/22.1cae2605.chunk.css","0a4b9ba1288b6aeea840e1c696c5e86d"],["/react/build/static/css/23.5e380b8c.chunk.css","6988e881a8eb0bffbd846501778d276e"],["/react/build/static/css/24.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/25.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/26.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/27.31bacb05.chunk.css","af3308ab0d8df48ab041d9ebd4137822"],["/react/build/static/css/28.524120d2.chunk.css","3504556cc87ba4889573b8b123c7ac74"],["/react/build/static/css/29.563249a3.chunk.css","d65b416f7f7b65b505fa4e0f921ee65e"],["/react/build/static/css/3.8fcaeca1.chunk.css","e03a6da0b18e925a1b31673e16d28b89"],["/react/build/static/css/30.34d67b4f.chunk.css","d65b416f7f7b65b505fa4e0f921ee65e"],["/react/build/static/css/31.edb9591e.chunk.css","1ae7305bcdca8f3eae54605b0e50aee9"],["/react/build/static/css/32.bf0a8302.chunk.css","0f236be3a963d0a54f0d293e591b993c"],["/react/build/static/css/33.66f0293c.chunk.css","c125399b14df0b4a0a99c0cfb1de4623"],["/react/build/static/css/34.5b5561de.chunk.css","31b3c7b5a43d5b72cd13181c1c337667"],["/react/build/static/css/35.5b5561de.chunk.css","31b3c7b5a43d5b72cd13181c1c337667"],["/react/build/static/css/36.59bb3926.chunk.css","5ea5f98fc99b27824ab477622dadba6d"],["/react/build/static/css/37.54f3c49f.chunk.css","eee4b8f7c3ceaf2fc086b2f9ba755369"],["/react/build/static/css/38.b0a68826.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/39.6ab3c821.chunk.css","4175ff92860202b7c1c2396ec083f5f7"],["/react/build/static/css/4.8c0097ca.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/40.7349f8f1.chunk.css","faf31a7a1204d775dd1a05b212a25a9a"],["/react/build/static/css/41.340b3120.chunk.css","3eb6bbbb049e85de95f075508c8ad36a"],["/react/build/static/css/42.9825b4ed.chunk.css","cc4dfe2c777189b430c195c35c35dd65"],["/react/build/static/css/43.97d7a4c3.chunk.css","2c11ea4335d863f8a40019da56fe1fae"],["/react/build/static/css/44.b8dcc10e.chunk.css","ebd809971a35a3ab9fa4eabb35f10c02"],["/react/build/static/css/45.78dc1e5f.chunk.css","e997c040414300dde95a5675b35b9de3"],["/react/build/static/css/46.b25d46f3.chunk.css","0aa18a92d8bc1786b1d3a70c2162c424"],["/react/build/static/css/47.dba177bc.chunk.css","399a0a542dabd5560b4e3da0019a7891"],["/react/build/static/css/48.8081f48c.chunk.css","fa37edcba6b1f8a07057f703c611567e"],["/react/build/static/css/49.cce966d7.chunk.css","a87703f9a7f1ccdcb4d486b0107fd80a"],["/react/build/static/css/5.5d2538f7.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.fcfdcbeb.chunk.css","916e3caa31e6be3f5d59b7e5a6709089"],["/react/build/static/css/52.cce966d7.chunk.css","a87703f9a7f1ccdcb4d486b0107fd80a"],["/react/build/static/css/53.c347466a.chunk.css","871f886d976ff77423a1fe24aa1d6f00"],["/react/build/static/css/54.8e39db6c.chunk.css","cbc8039a3025bd3b606fc829d72f3d47"],["/react/build/static/css/55.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/56.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/57.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/58.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/59.65e09ca8.chunk.css","53313e20a78460ab4c94714d9a6dad10"],["/react/build/static/css/60.26789140.chunk.css","b95c21f7cb267313cb62adea7cea81d7"],["/react/build/static/css/62.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/63.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/64.1f3320ba.chunk.css","746ba320aeabbf0ea85f0737d8816982"],["/react/build/static/css/65.5695dd0f.chunk.css","48c735f275cf6a59cdd5109f95ee43ba"],["/react/build/static/css/66.3cafee70.chunk.css","c60ebc1ace68507fbc4e298a56aeaeef"],["/react/build/static/css/67.3cafee70.chunk.css","17c68d5bda8de6665eb9130a5e17df77"],["/react/build/static/css/69.8a98e92f.chunk.css","3a94eef3c2418065b8f4dafb5c294e2d"],["/react/build/static/css/7.4497c5ef.chunk.css","0d21cb5caa10a5f25965db99f08556ab"],["/react/build/static/css/70.e522dd89.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/71.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/72.ee009106.chunk.css","89e6019e7943d5734fd707e877059238"],["/react/build/static/css/73.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/76.0d39367d.chunk.css","3c4fc3206988c3003af73a8abca3aeb6"],["/react/build/static/css/77.8725ffda.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/8.f89d762e.chunk.css","458a044119c0a01635e8f7c71378ef6e"],["/react/build/static/css/83.af8eaef3.chunk.css","d543f137968da119ee510536219aaead"],["/react/build/static/css/86.520fd912.chunk.css","dfa698c451c585203526e3a07bc858f9"],["/react/build/static/css/87.7834f2e6.chunk.css","36fc28937600a7f785daed80f6f0eebe"],["/react/build/static/css/9.e8d77148.chunk.css","3ecd6d700db1a442f050993baab7bb7e"],["/react/build/static/css/main.d31a9b96.chunk.css","611d7eecacf74b44f1934d855302c2f9"],["/react/build/static/js/0.15abc98e.chunk.js","f3f910d74cf49cedcf1f230b5f55a0ea"],["/react/build/static/js/1.0d5f334b.chunk.js","905b528d9b516a9bed36dab78c285ef3"],["/react/build/static/js/10.8130decd.chunk.js","75a5c7649ce401bd4ba9992a25e7c6ad"],["/react/build/static/js/100.bf620b2d.chunk.js","ac68567a8459ddc391380424e5dbec67"],["/react/build/static/js/101.03d60530.chunk.js","c7c02f869e1b04d751493a9999c83fab"],["/react/build/static/js/102.650db385.chunk.js","72deb12c9e8efbbf22fcf45a5ca62435"],["/react/build/static/js/103.438f6fe4.chunk.js","294fb8ad02d3ed07e2598df577c84a98"],["/react/build/static/js/104.48b200fb.chunk.js","1c806c144e7f824de3a8ebb6b78f3562"],["/react/build/static/js/105.78329ca9.chunk.js","32aa5bbda1d0290b1d519ac3d1ff246c"],["/react/build/static/js/106.4930d294.chunk.js","7e1f959a04ecae2b70f9caf88aa1c186"],["/react/build/static/js/107.0c97f8da.chunk.js","c9bae05e1ee2dd6cfd512a8a71ac7839"],["/react/build/static/js/108.a2c7e074.chunk.js","8cbe8344b69157f10e81d3e6d2439fe5"],["/react/build/static/js/109.633485b3.chunk.js","e686b788018eda628400db3e82e82871"],["/react/build/static/js/11.51cf4303.chunk.js","4eb19449f4bdf9af9c9c6bd11ef51264"],["/react/build/static/js/110.69e589d1.chunk.js","4e8d0a41bcad7ec8ff9aa0b214cda683"],["/react/build/static/js/111.6845cce4.chunk.js","6ec6de12db1e060e34f3d41110262c24"],["/react/build/static/js/112.7921686b.chunk.js","19271bfe93d5f7827c42915c26593e26"],["/react/build/static/js/113.18ac7417.chunk.js","fce72d932b9097dad7ffc71a791e6c38"],["/react/build/static/js/114.1c230a7d.chunk.js","d6f0c650e8ebb89b418b914d30e3e1fb"],["/react/build/static/js/115.52e01c5a.chunk.js","60ff939df05247b746eb4da686ba75ae"],["/react/build/static/js/116.ca7bb8b8.chunk.js","73633b906f37aa72e7f2e24555d3f15a"],["/react/build/static/js/117.bd34ae50.chunk.js","94ea139a7ecc7966b88fe00bdbf00b8f"],["/react/build/static/js/118.bad91146.chunk.js","46b1f1bfbd84d79cbdc1698142dcb1d1"],["/react/build/static/js/119.a90eab99.chunk.js","fe5cf5079ec198cc09f3e49774a48c1d"],["/react/build/static/js/12.1a67cd39.chunk.js","6ec6e71f7149f706d95f99f38f9902f1"],["/react/build/static/js/120.05786e20.chunk.js","ca9bbc99c0c7fd35bb3efd5798e71b27"],["/react/build/static/js/121.cc039839.chunk.js","7ea50d9be0be958b18bfae8190b70e09"],["/react/build/static/js/122.60243d5d.chunk.js","9b5ca295a889fbdeee3aac1a7bac9595"],["/react/build/static/js/123.31a7a6a0.chunk.js","c27cf39e45ac160dd58a421a18cb1d2b"],["/react/build/static/js/124.8ed5ea98.chunk.js","9fa45e061bb4d5be732744f0c351f6aa"],["/react/build/static/js/125.ab35dcf0.chunk.js","cb25813025bd0065f9298a79ae30ca6a"],["/react/build/static/js/126.33b7fda5.chunk.js","9fde5573003ed1ae83fc61bf0e73ef6a"],["/react/build/static/js/127.eefb50d3.chunk.js","4287fd7374b54e6611b8278f6db66c02"],["/react/build/static/js/128.84840bb3.chunk.js","786326628c880a006b09e1b8d4a0f501"],["/react/build/static/js/129.f0a69b3e.chunk.js","4acd2ec883f42998641ca7d609c96b87"],["/react/build/static/js/13.b0c55fcc.chunk.js","10081359483f39c30a7c6d78caa16ca2"],["/react/build/static/js/130.73961d78.chunk.js","d1edce0d43b9cdbd3d32df463b52b4e6"],["/react/build/static/js/131.ce9f6a9d.chunk.js","893afa39a4f5078eadaf849c0a5d391a"],["/react/build/static/js/132.10f0fc4a.chunk.js","2d79b12d07150b4bdee7b8c48ee0a81b"],["/react/build/static/js/133.03cac9d1.chunk.js","7b46c1066f47da857df2fb041777d389"],["/react/build/static/js/134.fb7521a2.chunk.js","af8e3e90568204086254354a93adf090"],["/react/build/static/js/135.19af1e1c.chunk.js","bd3ddf66e08af17ba9cd20e19c27abb6"],["/react/build/static/js/136.55da5522.chunk.js","00b199475d446520cd06d3384ab41d61"],["/react/build/static/js/137.f4a33edf.chunk.js","bf4ca7cc9b970d278afbf0be36313600"],["/react/build/static/js/138.00dc84e9.chunk.js","d413ea71a2fe08c722ca500bddf635f3"],["/react/build/static/js/139.5f8905d1.chunk.js","3fb85a2434e6b701867d70f94c2dc811"],["/react/build/static/js/14.fe8cf690.chunk.js","465be15dfafc0eaa984dc317005c5a6e"],["/react/build/static/js/140.173f9380.chunk.js","7e6b99961b8e88f93ebbffda78f470b4"],["/react/build/static/js/141.c32f2efc.chunk.js","90935128a3566f567d972bb79a2b6a54"],["/react/build/static/js/142.9dda0a68.chunk.js","e7faefdc99b325b5986a62d66883980e"],["/react/build/static/js/142.9dda0a68.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/143.ebd20b8b.chunk.js","7d9df21c47fde124b3a9c8289ba09f02"],["/react/build/static/js/144.ec298a9a.chunk.js","1e844ea3251d3c6d9b25dbc5c1741d14"],["/react/build/static/js/145.52646683.chunk.js","aa30a457db34f39378dc668d5505a4ee"],["/react/build/static/js/146.b822f926.chunk.js","8860c0cc816937990ef00d0b4b6ad729"],["/react/build/static/js/147.a1d9e524.chunk.js","12eab11e788b4c01adf9d121ae37bc06"],["/react/build/static/js/15.38e81f9b.chunk.js","39006d35be3eb1729b169577865da1fc"],["/react/build/static/js/15.38e81f9b.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/16.e1f149fb.chunk.js","e2a1c5cee344c0a29308309fbc1ce8e2"],["/react/build/static/js/17.0f8b2e98.chunk.js","10ecf4e760e64fc09f1dc183a96604af"],["/react/build/static/js/18.0a7bca42.chunk.js","f281b95868d30cfbc156e140e033d9c6"],["/react/build/static/js/19.551bd94b.chunk.js","ed026cc44ffde76483141f3bb69b6360"],["/react/build/static/js/2.bc87859a.chunk.js","fe672ad7b8eb7879a799df7e802b2870"],["/react/build/static/js/20.e595aac6.chunk.js","d30ebd4bdd84e8e0049b19fbd0c8b319"],["/react/build/static/js/20.e595aac6.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/21.4af17802.chunk.js","3762cc164afc7cc29468a39b62e56446"],["/react/build/static/js/21.4af17802.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/22.48e92626.chunk.js","b4ad175859944ff7abe0456813a368b2"],["/react/build/static/js/22.48e92626.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/23.687b9fdb.chunk.js","d328f8c98414b5d93d2eea2b924f0a8a"],["/react/build/static/js/23.687b9fdb.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/24.e8a332ec.chunk.js","ccbe62ac8f82056cbc581fd4e98e7ed9"],["/react/build/static/js/25.4ad02b67.chunk.js","9bbe3496e764b30f7b53f9996389319d"],["/react/build/static/js/26.46dfcc30.chunk.js","82743311faa19d7ee8daa0a2508052d1"],["/react/build/static/js/27.bee97dce.chunk.js","09b51c2167b15a3e92b47db105835970"],["/react/build/static/js/28.a1743194.chunk.js","27504dde3d0a84180101e0a69fc4420b"],["/react/build/static/js/29.d4ae424b.chunk.js","33a33a2bf2e132417215889c202f253a"],["/react/build/static/js/3.09ccd7ac.chunk.js","0afb1f21f5cf7c1e685d8c5d534edeb0"],["/react/build/static/js/30.cb54eca2.chunk.js","71f20c16a6e43477b0633c97c0c96e9d"],["/react/build/static/js/31.64a564dc.chunk.js","92c5ec1ec60bbc6a85d03c57e72f7ef0"],["/react/build/static/js/31.64a564dc.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/32.209d3cf1.chunk.js","082377085491a014c1d896219cb4304e"],["/react/build/static/js/32.209d3cf1.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/33.651e2241.chunk.js","91ac6ed6e584fa25f4074b0ded68d2af"],["/react/build/static/js/34.6b334f93.chunk.js","8f5a0a672794655d8a94271fd205216d"],["/react/build/static/js/35.1fa91e18.chunk.js","103898bf8f39b4e42d71a31a6773c0e0"],["/react/build/static/js/36.7e08bbd6.chunk.js","e99b5f65fcfcddce81d04498a8c5a422"],["/react/build/static/js/37.0d377271.chunk.js","c45a6a025b0896eabfce922ac89e0fd9"],["/react/build/static/js/38.9b837482.chunk.js","bd684e99405c13e79f160a98b61b7fa1"],["/react/build/static/js/39.dac1122e.chunk.js","3559812f94351fa10a9359ea439cfd0c"],["/react/build/static/js/4.73eb7710.chunk.js","81970f2980a67acaa6b2ee932fdb3fbd"],["/react/build/static/js/40.a40a6619.chunk.js","a0277ee599db54264a42bd0fc55223ae"],["/react/build/static/js/41.d046077c.chunk.js","0250bc002dd496c5fc6ce1202de2a154"],["/react/build/static/js/42.48cbd01c.chunk.js","5e1db327a001f6bb341b143c7301904e"],["/react/build/static/js/43.e8713cab.chunk.js","6153d7341196d98edd583ecd93c0d80d"],["/react/build/static/js/44.9a8ba034.chunk.js","b7107f834e7f96ad1b9edef1a4cb1463"],["/react/build/static/js/45.6bee55e2.chunk.js","975105a144903dfb720529c10fd4d722"],["/react/build/static/js/46.77b36974.chunk.js","1128b4f6fb342949269dc125209b1e53"],["/react/build/static/js/47.fc95a956.chunk.js","20d5592427dc4111d5f072597a5998cb"],["/react/build/static/js/48.946bfcf7.chunk.js","8c510559b4fe04160971a1629a9bc4b1"],["/react/build/static/js/49.28c69eb3.chunk.js","35b36f5a48737cdce37f80cca2b48482"],["/react/build/static/js/5.20bbf8bd.chunk.js","d078cc03e9009dd961cf0304cc36ee13"],["/react/build/static/js/50.2e158e3f.chunk.js","ba73766843526b06f5aa81f92c46daa6"],["/react/build/static/js/51.3cb5b49a.chunk.js","f22bba052cf4a080c85b92da2ea49fc7"],["/react/build/static/js/52.33141264.chunk.js","cc6869b6d1aefe850b76dd8715f37959"],["/react/build/static/js/53.c9e38028.chunk.js","6c93869f7bb721a935b4dcd672db5bc0"],["/react/build/static/js/54.c20c0ed3.chunk.js","767e7a90d3973c8bc3b7eb87e5453a8b"],["/react/build/static/js/55.4503cdbf.chunk.js","3ff986f38d070b6fa9c9f926da598f0b"],["/react/build/static/js/56.cfbd2bfb.chunk.js","00ce29f846c04c895f35625bb38f6258"],["/react/build/static/js/57.99086526.chunk.js","09bca8f90c41d5941af74ee83593ed15"],["/react/build/static/js/58.25ba33d5.chunk.js","dbdcb12e71d474dba4ec48af0ff28f65"],["/react/build/static/js/59.d7abe6cd.chunk.js","06785dd6959dd1a260971db7210d12ef"],["/react/build/static/js/6.553951e0.chunk.js","380382a751684283c90d2f6b5f1854f8"],["/react/build/static/js/6.553951e0.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/60.51076bc3.chunk.js","0f6402caf06c4896c22b80a2bfa87665"],["/react/build/static/js/61.fecce608.chunk.js","8da747b62eb2cdbb3439f554d483d594"],["/react/build/static/js/62.c1a61376.chunk.js","8a8b3a2a00a911a67cf13384cc28092c"],["/react/build/static/js/63.79ae9331.chunk.js","e1585afe37015dc6da2de29f391fdb9b"],["/react/build/static/js/64.9736a467.chunk.js","d0e197748672fd9faf9ed2cf47896886"],["/react/build/static/js/65.29e57632.chunk.js","c61895f647039da457e758bfde1baaea"],["/react/build/static/js/66.c162e3eb.chunk.js","00f760a28c84015b57a2d32c220c9f03"],["/react/build/static/js/67.4b397075.chunk.js","87f1f5e98bc3b8439bb81048fceede86"],["/react/build/static/js/68.93dd2cf4.chunk.js","09bc3d62a0f6fccdef5892484c666be5"],["/react/build/static/js/69.a2a0a4af.chunk.js","f5babf5154dc693d8ca9168fff5b1c0f"],["/react/build/static/js/7.02cf4639.chunk.js","552f371efacf317f080fe521b3272cc9"],["/react/build/static/js/70.4cf0f24f.chunk.js","a215845d33396bd1b71647b0629ae8f6"],["/react/build/static/js/71.e3e88ea9.chunk.js","ea13358c092defe5bce5a3d4a1743fb5"],["/react/build/static/js/72.18cbc37f.chunk.js","0764b64303f3ce9a0387e0498692c7fb"],["/react/build/static/js/73.8c23c7d9.chunk.js","6c6fc55be7fa5bc2f6fa3205c0da1c1d"],["/react/build/static/js/74.f2f5994d.chunk.js","f3c04ce92aecb777e31bda739bb64b89"],["/react/build/static/js/75.a5e4443c.chunk.js","1410e8c371c0f6c7bff36b19a1dcdc96"],["/react/build/static/js/76.350ca661.chunk.js","159c34a7e2e1a6fb38ff17dc6ebd8162"],["/react/build/static/js/77.ce3d50e3.chunk.js","b31d88806b8d7156819656f72f6cebd2"],["/react/build/static/js/78.e6276c0f.chunk.js","de082765c30ac8deaff19ec0e106a90f"],["/react/build/static/js/79.698e13eb.chunk.js","2ad89b9b4af0e86c82ffab3e2a7e4e09"],["/react/build/static/js/8.4630ac89.chunk.js","8ac3f172242e6565b74105a786d125ac"],["/react/build/static/js/80.44ca42aa.chunk.js","5dc6ebf01256d87958ded5567fcbc3fd"],["/react/build/static/js/81.274a8787.chunk.js","5e37e58450e10939e8db69b6654f29ed"],["/react/build/static/js/82.b60669b2.chunk.js","de1ee7d91edeae6dfb1e23b2062d5721"],["/react/build/static/js/83.dfcaf1dc.chunk.js","d89ea56bcc2466efd2ccfb576898d50e"],["/react/build/static/js/84.42079fef.chunk.js","59c9fc1d01fe2e77c2798bfa0ca25215"],["/react/build/static/js/85.9cf737d2.chunk.js","6404c94526489f5560523c8786c09274"],["/react/build/static/js/86.d04c24ea.chunk.js","e3b73e660a6df1c212fac4a13a1f7c1a"],["/react/build/static/js/87.8f636c38.chunk.js","0dc1ac94f5009a97a993e440563a51e2"],["/react/build/static/js/88.376aba4b.chunk.js","6ba4c528a40acdd09d68cfcf54c1da6e"],["/react/build/static/js/89.5546fe7a.chunk.js","19644172871468f1e409a2c2b1dd2363"],["/react/build/static/js/9.091048f1.chunk.js","bd4468fdd44e23b11e84e31649e9b1a2"],["/react/build/static/js/90.4c26e187.chunk.js","b278a62cf018310834df9c9b092c9432"],["/react/build/static/js/91.261c7af4.chunk.js","8e6d5aede025904894d4346f8b5f90d0"],["/react/build/static/js/92.c90fa313.chunk.js","3fbc32561bef24682df83114e16a90f8"],["/react/build/static/js/93.46d2d7b7.chunk.js","7ab5894ff2de06bccf760efd774c536d"],["/react/build/static/js/94.c411b828.chunk.js","7337a488be8c9451b1ee84ce4fde2eef"],["/react/build/static/js/95.b3075b01.chunk.js","abb026ce422a5cb71ecae592ef4341da"],["/react/build/static/js/96.2f6f5f44.chunk.js","36aba9b801a32a5cdc38da89f5bae459"],["/react/build/static/js/97.ec005138.chunk.js","ea8f477f80652f14300bc535d205d899"],["/react/build/static/js/98.eb968578.chunk.js","5125329a25a48b1e97007fb18328f8be"],["/react/build/static/js/99.d6a63e89.chunk.js","79c7814e69fd8a01ed9a779a54ab391c"],["/react/build/static/js/main.242a7a93.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.008e7d67.js","3ff41f979b4a1d61e73b94bb4ea42801"],["/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/logo.1c60f36c.png","8fcb0055aa3e99eccf26c10784d2c7b9"],["/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,t){var d=new URL(c);return t&&d.pathname.match(t)||(d.search+=(d.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),d.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],t=new URL(a,self.location),d=createCacheKey(t,hashParamName,e,/\.\w{8}\./);return[t.toString(),d]}));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(t){return setOfCachedUrls(t).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 t.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),t="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,t),c=urlsToCacheKeys.has(e));var d="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(d,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","9f0b9038340219529897daef905b58eb"],["/react/build/json.worker.js","4a4ca127f837beaf0dddae0c74c81b57"],["/react/build/static/css/1.50ff7122.chunk.css","45259d31111b9a22f91937a03f4946cc"],["/react/build/static/css/10.58c2bda0.chunk.css","7251503b2fb2777418b1d533e31be56d"],["/react/build/static/css/11.65637c47.chunk.css","7083a19a64fc477dab30704b55e1cf40"],["/react/build/static/css/12.620a5b46.chunk.css","119988bb06ed43feb43934a2b308db2a"],["/react/build/static/css/13.971b56a9.chunk.css","ae447dc72790c750ef2bb8bdb4a2e8a9"],["/react/build/static/css/14.f1c6115d.chunk.css","8d16c1c5c5e4eaa8353e5b73aa97767e"],["/react/build/static/css/16.b5cf2868.chunk.css","4e59cddc72c3b7e5c1701416f422c324"],["/react/build/static/css/17.7db68309.chunk.css","0ca664622a97f4a0ec6a464349195d3b"],["/react/build/static/css/18.a207758e.chunk.css","ad5d430122bf2df39ce8b33fe1691318"],["/react/build/static/css/19.cd5da53a.chunk.css","c2355f612417a0706a734c737c1dcf10"],["/react/build/static/css/20.5e0791f6.chunk.css","21e33a4d39e1669b0610fc5a84035215"],["/react/build/static/css/21.7607cc9b.chunk.css","c2d7ef06dc1ef517c154cfa8c2887d68"],["/react/build/static/css/22.71f04c32.chunk.css","34ec244ad985f5ab0358352f16bcf702"],["/react/build/static/css/23.1cae2605.chunk.css","0a4b9ba1288b6aeea840e1c696c5e86d"],["/react/build/static/css/24.5e380b8c.chunk.css","6988e881a8eb0bffbd846501778d276e"],["/react/build/static/css/25.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/26.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/27.f001acd0.chunk.css","cb379fe9120e22ae559b0b45374fbb87"],["/react/build/static/css/28.31bacb05.chunk.css","af3308ab0d8df48ab041d9ebd4137822"],["/react/build/static/css/29.524120d2.chunk.css","3504556cc87ba4889573b8b123c7ac74"],["/react/build/static/css/3.8fcaeca1.chunk.css","e03a6da0b18e925a1b31673e16d28b89"],["/react/build/static/css/30.563249a3.chunk.css","d65b416f7f7b65b505fa4e0f921ee65e"],["/react/build/static/css/31.34d67b4f.chunk.css","d65b416f7f7b65b505fa4e0f921ee65e"],["/react/build/static/css/32.edb9591e.chunk.css","1ae7305bcdca8f3eae54605b0e50aee9"],["/react/build/static/css/33.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/34.66f0293c.chunk.css","c125399b14df0b4a0a99c0cfb1de4623"],["/react/build/static/css/35.5b5561de.chunk.css","31b3c7b5a43d5b72cd13181c1c337667"],["/react/build/static/css/36.5b5561de.chunk.css","31b3c7b5a43d5b72cd13181c1c337667"],["/react/build/static/css/37.59bb3926.chunk.css","5ea5f98fc99b27824ab477622dadba6d"],["/react/build/static/css/38.54f3c49f.chunk.css","eee4b8f7c3ceaf2fc086b2f9ba755369"],["/react/build/static/css/39.b0a68826.chunk.css","b4d9acea6f289a480fab21ef3fb3b2f5"],["/react/build/static/css/4.8c0097ca.chunk.css","189c51bc6ab1d144f75f0ecdc819523e"],["/react/build/static/css/40.6ab3c821.chunk.css","4175ff92860202b7c1c2396ec083f5f7"],["/react/build/static/css/41.7349f8f1.chunk.css","faf31a7a1204d775dd1a05b212a25a9a"],["/react/build/static/css/42.340b3120.chunk.css","3eb6bbbb049e85de95f075508c8ad36a"],["/react/build/static/css/43.9825b4ed.chunk.css","cc4dfe2c777189b430c195c35c35dd65"],["/react/build/static/css/44.97d7a4c3.chunk.css","2c11ea4335d863f8a40019da56fe1fae"],["/react/build/static/css/45.b8dcc10e.chunk.css","ebd809971a35a3ab9fa4eabb35f10c02"],["/react/build/static/css/46.78dc1e5f.chunk.css","e997c040414300dde95a5675b35b9de3"],["/react/build/static/css/47.b25d46f3.chunk.css","0aa18a92d8bc1786b1d3a70c2162c424"],["/react/build/static/css/48.dba177bc.chunk.css","399a0a542dabd5560b4e3da0019a7891"],["/react/build/static/css/49.8081f48c.chunk.css","fa37edcba6b1f8a07057f703c611567e"],["/react/build/static/css/5.5d2538f7.chunk.css","f7bca4f3d6437baa7779df051da7a998"],["/react/build/static/css/50.cce966d7.chunk.css","a87703f9a7f1ccdcb4d486b0107fd80a"],["/react/build/static/css/51.fcfdcbeb.chunk.css","916e3caa31e6be3f5d59b7e5a6709089"],["/react/build/static/css/53.cce966d7.chunk.css","a87703f9a7f1ccdcb4d486b0107fd80a"],["/react/build/static/css/54.c347466a.chunk.css","871f886d976ff77423a1fe24aa1d6f00"],["/react/build/static/css/55.8e39db6c.chunk.css","cbc8039a3025bd3b606fc829d72f3d47"],["/react/build/static/css/56.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/57.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/58.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/59.fac0c3b4.chunk.css","b276cf83dbc2b6f60afca083b30b127c"],["/react/build/static/css/60.65e09ca8.chunk.css","53313e20a78460ab4c94714d9a6dad10"],["/react/build/static/css/61.26789140.chunk.css","b95c21f7cb267313cb62adea7cea81d7"],["/react/build/static/css/63.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/64.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/65.1f3320ba.chunk.css","746ba320aeabbf0ea85f0737d8816982"],["/react/build/static/css/66.5695dd0f.chunk.css","48c735f275cf6a59cdd5109f95ee43ba"],["/react/build/static/css/67.0d39367d.chunk.css","3c4fc3206988c3003af73a8abca3aeb6"],["/react/build/static/css/68.3cafee70.chunk.css","c60ebc1ace68507fbc4e298a56aeaeef"],["/react/build/static/css/69.3cafee70.chunk.css","17c68d5bda8de6665eb9130a5e17df77"],["/react/build/static/css/7.4497c5ef.chunk.css","0d21cb5caa10a5f25965db99f08556ab"],["/react/build/static/css/71.8a98e92f.chunk.css","3a94eef3c2418065b8f4dafb5c294e2d"],["/react/build/static/css/72.e522dd89.chunk.css","7b3e0567aefcc4fcd35f5d0209d61610"],["/react/build/static/css/73.640f37d5.chunk.css","248dd7a153a8a1fac332103b57f55305"],["/react/build/static/css/74.ee009106.chunk.css","89e6019e7943d5734fd707e877059238"],["/react/build/static/css/75.1be69314.chunk.css","5464893a8bde4ca5566a540442ff939c"],["/react/build/static/css/78.8725ffda.chunk.css","a4dd127f859f497fde9a1cf9dbee1396"],["/react/build/static/css/8.f89d762e.chunk.css","458a044119c0a01635e8f7c71378ef6e"],["/react/build/static/css/84.af8eaef3.chunk.css","d543f137968da119ee510536219aaead"],["/react/build/static/css/87.520fd912.chunk.css","dfa698c451c585203526e3a07bc858f9"],["/react/build/static/css/88.7834f2e6.chunk.css","36fc28937600a7f785daed80f6f0eebe"],["/react/build/static/css/9.e8d77148.chunk.css","3ecd6d700db1a442f050993baab7bb7e"],["/react/build/static/css/main.d31a9b96.chunk.css","611d7eecacf74b44f1934d855302c2f9"],["/react/build/static/js/0.15abc98e.chunk.js","f3f910d74cf49cedcf1f230b5f55a0ea"],["/react/build/static/js/1.0d5f334b.chunk.js","905b528d9b516a9bed36dab78c285ef3"],["/react/build/static/js/10.8130decd.chunk.js","75a5c7649ce401bd4ba9992a25e7c6ad"],["/react/build/static/js/100.8d4b33cf.chunk.js","306af8e6b0b277a9620b37d4762c5d6e"],["/react/build/static/js/101.72be3c1e.chunk.js","b038571c927248b795da4d13a217bd56"],["/react/build/static/js/102.8fcc5df3.chunk.js","520ae705eeeb06eb8cbc122957c92768"],["/react/build/static/js/103.6c6a9c82.chunk.js","2972338e28a2170b566ae7c5069e9de9"],["/react/build/static/js/104.58543338.chunk.js","e030d4b223a751fbfc4d03bc30593f48"],["/react/build/static/js/105.7bbc8a22.chunk.js","5a185d5a075376b150ea4480fd849fd3"],["/react/build/static/js/106.f1069854.chunk.js","d02b70ba50c805b44009e3db5c161f20"],["/react/build/static/js/107.131c5d25.chunk.js","b93550323f4596807d8c0adc770b1f4a"],["/react/build/static/js/108.1400a9d4.chunk.js","8756db3943c4788d172cd4da6d7b61b0"],["/react/build/static/js/109.df1518ce.chunk.js","d1c4a72216b75363d42caa1210886c51"],["/react/build/static/js/11.f4ac8084.chunk.js","f5d35774b8ad1e4cc7ddbe0f63ea1864"],["/react/build/static/js/110.f7300bfa.chunk.js","942a82f94c151e5e7ed86c87c944e298"],["/react/build/static/js/111.429a1ffd.chunk.js","4c440ecc5700678322bba8f10ecf5683"],["/react/build/static/js/112.3a1248c0.chunk.js","f221e6406d135aca87603ab8c465e61f"],["/react/build/static/js/113.4da1e7a5.chunk.js","c569b1915a5334e8d367ba020dc463cc"],["/react/build/static/js/114.351e57c0.chunk.js","3ad6f52a3fa746d916387e79b6d0d17b"],["/react/build/static/js/115.45137207.chunk.js","740cc9548c1993be5589014e4bfecd66"],["/react/build/static/js/116.3969d930.chunk.js","baeef42bb775267ddf44e83ceaa16bd9"],["/react/build/static/js/117.7533ebe1.chunk.js","b836158f371229faa807e8fbea15689c"],["/react/build/static/js/118.2752c551.chunk.js","1c325adbae07722d74b615f1136ca4a2"],["/react/build/static/js/119.37b6d8cc.chunk.js","5a12415ca920bc5108814725519ea2b5"],["/react/build/static/js/12.1a67cd39.chunk.js","6ec6e71f7149f706d95f99f38f9902f1"],["/react/build/static/js/120.f7b88153.chunk.js","2e80a17e788fb188cf10023d2fc6805f"],["/react/build/static/js/121.76f59e51.chunk.js","393eac92eb5583c339898aa062129d48"],["/react/build/static/js/122.c03298c6.chunk.js","dc0b5c5065c09576a970ab561c9f74b3"],["/react/build/static/js/123.2fbb63c6.chunk.js","baffbc9a12f47fb66691cbda17fdc5b0"],["/react/build/static/js/124.2707304a.chunk.js","472d5a002e20ddcc646801551b7b29bd"],["/react/build/static/js/125.cedf5389.chunk.js","0ce7c155d66a4af87416467439c2532f"],["/react/build/static/js/126.4230c37f.chunk.js","2044ddcaa093f0504b0f5d05060977cb"],["/react/build/static/js/127.f5d82427.chunk.js","833f902b65ed3abdfb0b615d2bc625e7"],["/react/build/static/js/128.db26e0a4.chunk.js","a67a3fe93c9d23bf37ce741227145446"],["/react/build/static/js/129.082a9c63.chunk.js","c2508bf797a07427196748e2fb420eeb"],["/react/build/static/js/13.b0c55fcc.chunk.js","10081359483f39c30a7c6d78caa16ca2"],["/react/build/static/js/130.9fd0da40.chunk.js","9d30875a38f224dee2e84f3648e806ab"],["/react/build/static/js/131.0cbf1c63.chunk.js","7944c06987fab1245409de496075a659"],["/react/build/static/js/132.201f407d.chunk.js","d8ab458093f6b39d2e1edc765aa52735"],["/react/build/static/js/133.463f1f51.chunk.js","faf7a4dcea9a47023d6f0c129f78085d"],["/react/build/static/js/134.4cc73d58.chunk.js","f33189630491e1dabcf15d55d3e2effc"],["/react/build/static/js/135.9705d89e.chunk.js","079932db6640e5a2e8e7e5d502ea5a28"],["/react/build/static/js/136.c384cb63.chunk.js","5c885a913d9503116c0de98a2a8004e0"],["/react/build/static/js/137.07cf7acb.chunk.js","dbd6f03229f735be0328d7347e381480"],["/react/build/static/js/138.4a7df898.chunk.js","d0419422a3cbf1af816eeb68358e569c"],["/react/build/static/js/139.918d8c98.chunk.js","584e0e99a6a982c737ba2a0a7bdf5cba"],["/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.f26d8cd9.chunk.js","59af2f4a3f3ac6d18a08b87b40bb389c"],["/react/build/static/js/141.b201bb6d.chunk.js","2b073c37bdb460b3b017cac3f8fa95ea"],["/react/build/static/js/142.c1b7ecee.chunk.js","7af19f4fbc8dc8044d17c4560692db8e"],["/react/build/static/js/143.b4133c4a.chunk.js","cece1428d1a86d7a9fe12bf16012712b"],["/react/build/static/js/143.b4133c4a.chunk.js.LICENSE.txt","cf224aa154060b2c3c86fa6ed5af6aa8"],["/react/build/static/js/144.643f9289.chunk.js","9e483dc60599479030dedbd992345fc1"],["/react/build/static/js/145.a71d3d10.chunk.js","16b54eeb85490466406789386e573b53"],["/react/build/static/js/146.67d3ebef.chunk.js","3db94d84e4a9bd2639cfafa5fdf884e4"],["/react/build/static/js/147.f48cbc6c.chunk.js","8cb22ae4b6e3a4b9f24245880f236246"],["/react/build/static/js/148.ea85c2ef.chunk.js","be29f4eca28f14a2371ba66de547c9b7"],["/react/build/static/js/15.4e98ff73.chunk.js","8a0fdc84d819d593f1effabe0b828d7c"],["/react/build/static/js/16.6f4225dc.chunk.js","de2a24080b16482ac30ad836a8e3e85d"],["/react/build/static/js/16.6f4225dc.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/17.f07abe6a.chunk.js","611db9cdd78ab829533351440a356487"],["/react/build/static/js/18.aba475e1.chunk.js","a4f19ebd7499ecf691e89d55dc11aeac"],["/react/build/static/js/19.083e7c67.chunk.js","7527a13b371d929dbbab9bb22bc12ef5"],["/react/build/static/js/2.bc87859a.chunk.js","fe672ad7b8eb7879a799df7e802b2870"],["/react/build/static/js/20.c46cb455.chunk.js","cb5dbc61aacd8d71991d8515715670b5"],["/react/build/static/js/21.9fc1e0de.chunk.js","63a5a0c230129ab7c093b2ec6b5da367"],["/react/build/static/js/21.9fc1e0de.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/22.b34cfe6f.chunk.js","1de18dd53b3c5f57c36273ac81f707c5"],["/react/build/static/js/22.b34cfe6f.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/23.59182e01.chunk.js","c4b27fc9a92ce9422da02c89194c076f"],["/react/build/static/js/23.59182e01.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/24.e04ba5af.chunk.js","7cf869cd956ce0f7fd622bc2fa534a69"],["/react/build/static/js/24.e04ba5af.chunk.js.LICENSE.txt","0512cf1466087f5c44c5c61e4b32a001"],["/react/build/static/js/25.445ab279.chunk.js","209667a7aa81c71b1b949728e780b3d4"],["/react/build/static/js/26.9b80ad3e.chunk.js","9318cb09cc01765d701d4ba4d5123a3b"],["/react/build/static/js/27.5096c019.chunk.js","4f15bb7fd4d2f05c02b8a14431be9137"],["/react/build/static/js/28.47ce0345.chunk.js","a523631e0952e8b56978069f2fd2a389"],["/react/build/static/js/29.08df1e63.chunk.js","9240207604ceebdd98259ae615591dc8"],["/react/build/static/js/3.09ccd7ac.chunk.js","0afb1f21f5cf7c1e685d8c5d534edeb0"],["/react/build/static/js/30.d5b64ae4.chunk.js","c4630474e67e3f416ba2cb350b8f63a9"],["/react/build/static/js/31.e0ebe1fb.chunk.js","3e60e9693528a90c6edf63f79e8dbd60"],["/react/build/static/js/32.2dd9b86a.chunk.js","a226c079aa2a60498d932763a9640433"],["/react/build/static/js/32.2dd9b86a.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/33.109d81dc.chunk.js","efeaf342fa5eab205b24ca48d9f4832c"],["/react/build/static/js/34.654f7a5d.chunk.js","6f04eff703fcc54c701311e422dad322"],["/react/build/static/js/35.5d8e6ba3.chunk.js","b24a7c2cef5c7a4387ad1348f5fbcc31"],["/react/build/static/js/36.634d235a.chunk.js","9c6e11cc01fc2ef5da0617a8ca170a7d"],["/react/build/static/js/37.8a8a58c9.chunk.js","71459181ea0c4778d079324b929065ac"],["/react/build/static/js/38.552b62a3.chunk.js","41693587dc21f43a02f56fe5aaf1e739"],["/react/build/static/js/39.6ecb9c8b.chunk.js","a822c2c37a8928d1bb2e7adfe533b9e6"],["/react/build/static/js/4.73eb7710.chunk.js","81970f2980a67acaa6b2ee932fdb3fbd"],["/react/build/static/js/40.0985bcda.chunk.js","99389fce702bb85941f08a5e5c69daab"],["/react/build/static/js/41.8f046fb5.chunk.js","561aa6f6a34a40d2614b7ccfd01ba8d2"],["/react/build/static/js/42.2979649e.chunk.js","8af308eb2e5baa87624aa2dd1400093e"],["/react/build/static/js/43.3a9bdd51.chunk.js","455fab2f565cdcd32f3b131f3d01ca55"],["/react/build/static/js/44.a0b083a8.chunk.js","2d19196c6c809cc274ea14a57d3d95ea"],["/react/build/static/js/45.09b27fa9.chunk.js","4f430e084012b38695596b73561b7eab"],["/react/build/static/js/46.e161bc84.chunk.js","d7a4a5d64daaf23d5f0d881a3e18354c"],["/react/build/static/js/47.2c5b6e01.chunk.js","0e8a4016852542a2aca3527f7b06c2f6"],["/react/build/static/js/48.536d4b93.chunk.js","4f2248d7f71e924f3be91a792236c91d"],["/react/build/static/js/49.4e50a7ca.chunk.js","79e5fdb7b3514e7f5241295b60f3e612"],["/react/build/static/js/5.20bbf8bd.chunk.js","d078cc03e9009dd961cf0304cc36ee13"],["/react/build/static/js/50.72a2e257.chunk.js","88c670b52a12aa88b40df25b8f0ffadd"],["/react/build/static/js/51.b94b86c8.chunk.js","c755e2b0447fe2fc0bf8c92bd65b6794"],["/react/build/static/js/52.330a9d1c.chunk.js","1700fcd18d7db012ad13aa091860491a"],["/react/build/static/js/53.7f119972.chunk.js","3551a2277ada46a91ecbce100932ac2e"],["/react/build/static/js/54.2705a78b.chunk.js","93597e33b180db3e8553d1a85954a8a1"],["/react/build/static/js/55.3f08e720.chunk.js","82a6e705777a08ec68bc605e52eb9c6c"],["/react/build/static/js/56.51255ef7.chunk.js","058884196b4351cf40aefa56920229d5"],["/react/build/static/js/57.1ff35d95.chunk.js","2685b55f0b8a9c26d99ce4dc89935d61"],["/react/build/static/js/58.8d7cbe26.chunk.js","957f224ce511ebb55ff051d961acd39b"],["/react/build/static/js/59.90cc244b.chunk.js","2d664c8f1b3573f8c57ce60bd1a125cd"],["/react/build/static/js/6.553951e0.chunk.js","380382a751684283c90d2f6b5f1854f8"],["/react/build/static/js/6.553951e0.chunk.js.LICENSE.txt","7ec01595672f75e83fd81b41f132f4c1"],["/react/build/static/js/60.8b53ed89.chunk.js","5fa0548fd5c07ee5998edfee8fca83f8"],["/react/build/static/js/61.61c95aee.chunk.js","9ab8e3d61b6e005197723f538f11c688"],["/react/build/static/js/62.f0b3f284.chunk.js","6f75c4881546ee9ac7f0d682711bf9f3"],["/react/build/static/js/63.2d2ad91f.chunk.js","5b4b6521176c60f30299efe5751ba6bc"],["/react/build/static/js/64.d1304a6e.chunk.js","8b7bffc49071ddd165706677b380e014"],["/react/build/static/js/65.0c316fbd.chunk.js","c9a8d100b5e22da3bd6e8d34d9b71220"],["/react/build/static/js/66.b2942ec0.chunk.js","7788e92525c3f77d24b4fea28e100a8b"],["/react/build/static/js/67.145ac9b5.chunk.js","4e0c566e57b3d13e3472365bc10729f6"],["/react/build/static/js/68.4342cfa6.chunk.js","4ef23b8671b7977c3074233334ad2b61"],["/react/build/static/js/69.f5c0d347.chunk.js","9c7e59e625458555cb88fba84bdd4f91"],["/react/build/static/js/7.02cf4639.chunk.js","552f371efacf317f080fe521b3272cc9"],["/react/build/static/js/70.639a69d6.chunk.js","6808beaf814634ec3f7f9ada96137b6b"],["/react/build/static/js/71.047c0d96.chunk.js","88c7ba57d911e9f0653287ed0a78e802"],["/react/build/static/js/72.9e12b3cf.chunk.js","453bb0b41d5e7ad92a8525547b84d989"],["/react/build/static/js/73.7c4225a7.chunk.js","3b60be5ee4be43d9b0c024acd246f39e"],["/react/build/static/js/74.f8757b88.chunk.js","08592b27c62a3242e825469b6ec416e8"],["/react/build/static/js/75.331ec86c.chunk.js","54f691b6c3b97de0035586835a228a80"],["/react/build/static/js/76.81685560.chunk.js","da98ed99cacb30a766c6f38d7a58003b"],["/react/build/static/js/77.fed1bcf7.chunk.js","5a24cf531504b4951d691d2d9c033729"],["/react/build/static/js/78.698527d7.chunk.js","9da118f3fda58b96929de3933e0ec437"],["/react/build/static/js/79.0530a04a.chunk.js","afedaa833f543329a61ad9cae164c5c5"],["/react/build/static/js/8.4630ac89.chunk.js","8ac3f172242e6565b74105a786d125ac"],["/react/build/static/js/80.7d58061e.chunk.js","f63f4c95bce6c1648cacf8563889c602"],["/react/build/static/js/81.85465a59.chunk.js","a81d94e708b10de97d2f61c853ffbf7c"],["/react/build/static/js/82.43b8ed74.chunk.js","eec1411c36db4dcf2063b7bf701c7ac5"],["/react/build/static/js/83.4b238e62.chunk.js","7286f5a38914879e4575ffc36a28fccf"],["/react/build/static/js/84.2e0c991f.chunk.js","ecb126a4e6d77dca8e82d94be0180b18"],["/react/build/static/js/85.a63de285.chunk.js","2c3244c9e771d11db4c0c69a8fee0543"],["/react/build/static/js/86.93cff985.chunk.js","e0f685f120881fdec70622cc7f226fb2"],["/react/build/static/js/87.e5eefa6a.chunk.js","d3669f5204f24808c2736317b088af5b"],["/react/build/static/js/88.48f8595f.chunk.js","f8126cc337e86b91c7af7744f720a0ca"],["/react/build/static/js/89.b4d856e8.chunk.js","6f3889ea0d401fb84318fb972a0b816f"],["/react/build/static/js/9.091048f1.chunk.js","bd4468fdd44e23b11e84e31649e9b1a2"],["/react/build/static/js/90.41c5ae56.chunk.js","73bc76fbab3574813441497a182b4731"],["/react/build/static/js/91.e76d52f8.chunk.js","f1b1681fa1ac3ec3c31b1034c09f8ff6"],["/react/build/static/js/92.45cab7b7.chunk.js","ee7a27455ad48218a72984bd2b1b45b0"],["/react/build/static/js/93.67ecadcf.chunk.js","0aa3e8721050fcc5e87fcdef6af8caf2"],["/react/build/static/js/94.8d8bcb59.chunk.js","077d8d5aa232fdb66145b7d651a6f9c3"],["/react/build/static/js/95.4394350f.chunk.js","1aae622e2c889226ef536c038e083a67"],["/react/build/static/js/96.342cc2de.chunk.js","c03ebdcc45043bc6b1f358271ef0d309"],["/react/build/static/js/97.18ea7268.chunk.js","e646c5507086bc0cba8bb2f4e83a939a"],["/react/build/static/js/98.e987f556.chunk.js","32c3d065954894032858ab7c80d8c638"],["/react/build/static/js/99.34d7373b.chunk.js","6b01ecfe3cfcc8af31d36617d8f04e21"],["/react/build/static/js/main.1534b213.chunk.js.LICENSE.txt","20c4c9722b39971e742932d08ec3daf5"],["/react/build/static/js/runtime~main.acfc1fdc.js","70ea714a3ddf4565b5032d1af8a45dd6"],["/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/logo.1c60f36c.png","8fcb0055aa3e99eccf26c10784d2c7b9"],["/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,t){var d=new URL(c);return t&&d.pathname.match(t)||(d.search+=(d.search?"&":"")+encodeURIComponent(a)+"="+encodeURIComponent(e)),d.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],t=new URL(a,self.location),d=createCacheKey(t,hashParamName,e,/\.\w{8}\./);return[t.toString(),d]}));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(t){return setOfCachedUrls(t).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 t.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),t="index.html";(c=urlsToCacheKeys.has(e))||(e=addDirectoryIndex(e,t),c=urlsToCacheKeys.has(e));var d="/react/build/index.html";!c&&"navigate"===a.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],a.request.url)&&(e=new URL(d,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/32.bf0a8302.chunk.css b/static/css/14.f1c6115d.chunk.css similarity index 81% rename from static/css/32.bf0a8302.chunk.css rename to static/css/14.f1c6115d.chunk.css index 28fc9e0c4..74fa93789 100644 --- a/static/css/32.bf0a8302.chunk.css +++ b/static/css/14.f1c6115d.chunk.css @@ -1 +1 @@ -@font-face{font-family:KaTeX_AMS;src:url(/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2) format("woff2"),url(/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff) format("woff"),url(/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff) format("woff"),url(/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff) format("woff"),url(/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff) format("woff"),url(/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff) format("woff"),url(/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff) format("woff"),url(/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Math-Italic.11278d36.woff) format("woff"),url(/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff) format("woff"),url(/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff) format("woff"),url(/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff) format("woff"),url(/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff) format("woff"),url(/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff) format("woff"),url(/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff) format("woff"),url(/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.11.1"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{-webkit-box-sizing:border-box;box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.ant-popover,.katex-display.fleqn>.katex{text-align:left}.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;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} \ No newline at end of file +@font-face{font-family:KaTeX_AMS;src:url(/react/build/static/media/KaTeX_AMS-Regular.d4531cf7.woff2) format("woff2"),url(/react/build/static/media/KaTeX_AMS-Regular.b1489df1.woff) format("woff"),url(/react/build/static/media/KaTeX_AMS-Regular.f80d9eaf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(/react/build/static/media/KaTeX_Caligraphic-Bold.f046a374.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Caligraphic-Bold.7ce7636b.woff) format("woff"),url(/react/build/static/media/KaTeX_Caligraphic-Bold.0c96bc8f.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(/react/build/static/media/KaTeX_Caligraphic-Regular.4519ba4c.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Caligraphic-Regular.4a559f36.woff) format("woff"),url(/react/build/static/media/KaTeX_Caligraphic-Regular.35f3c951.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(/react/build/static/media/KaTeX_Fraktur-Bold.5b8749ee.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Fraktur-Bold.2ea3916b.woff) format("woff"),url(/react/build/static/media/KaTeX_Fraktur-Bold.069514d4.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(/react/build/static/media/KaTeX_Fraktur-Regular.2c629b06.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Fraktur-Regular.0d90113d.woff) format("woff"),url(/react/build/static/media/KaTeX_Fraktur-Regular.96556db6.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Bold.20b90c20.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Bold.a9cdbc85.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Bold.07e762d0.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-BoldItalic.b345de5b.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-BoldItalic.7649d52f.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-BoldItalic.bc8d96e9.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Italic.ab751a9e.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Italic.e3954fe9.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Italic.44a32ae6.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(/react/build/static/media/KaTeX_Main-Regular.13b3f852.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Main-Regular.9e75cd60.woff) format("woff"),url(/react/build/static/media/KaTeX_Main-Regular.af7fc7b3.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(/react/build/static/media/KaTeX_Math-BoldItalic.d5d35e84.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Math-BoldItalic.94810ff6.woff) format("woff"),url(/react/build/static/media/KaTeX_Math-BoldItalic.4d6241be.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(/react/build/static/media/KaTeX_Math-Italic.ffda8803.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Math-Italic.11278d36.woff) format("woff"),url(/react/build/static/media/KaTeX_Math-Italic.cae7ea26.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Bold.5a20a475.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Bold.2946bdb5.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Bold.f0ad0abc.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Italic.e5fc2aef.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Italic.c834ba6d.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Italic.c7feacd5.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:"KaTeX_SansSerif";src:url(/react/build/static/media/KaTeX_SansSerif-Regular.5bf28900.woff2) format("woff2"),url(/react/build/static/media/KaTeX_SansSerif-Regular.a4fd0563.woff) format("woff"),url(/react/build/static/media/KaTeX_SansSerif-Regular.5af9e1cf.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(/react/build/static/media/KaTeX_Script-Regular.a1c15978.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Script-Regular.cd3b0634.woff) format("woff"),url(/react/build/static/media/KaTeX_Script-Regular.dd0db7ae.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(/react/build/static/media/KaTeX_Size1-Regular.1876361f.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size1-Regular.c4ae0d25.woff) format("woff"),url(/react/build/static/media/KaTeX_Size1-Regular.bbd9552c.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(/react/build/static/media/KaTeX_Size2-Regular.f516b73c.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size2-Regular.635e9324.woff) format("woff"),url(/react/build/static/media/KaTeX_Size2-Regular.d1e8ff17.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(/react/build/static/media/KaTeX_Size3-Regular.1ef7adae.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size3-Regular.f32a9fde.woff) format("woff"),url(/react/build/static/media/KaTeX_Size3-Regular.5d632274.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(/react/build/static/media/KaTeX_Size4-Regular.4f012d6a.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Size4-Regular.f668d566.woff) format("woff"),url(/react/build/static/media/KaTeX_Size4-Regular.1d132596.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(/react/build/static/media/KaTeX_Typewriter-Regular.4f31d033.woff2) format("woff2"),url(/react/build/static/media/KaTeX_Typewriter-Regular.d3c8e68f.woff) format("woff"),url(/react/build/static/media/KaTeX_Typewriter-Regular.b1d1af1a.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:"0.11.1"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{-webkit-box-sizing:border-box;box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left} \ No newline at end of file diff --git a/static/css/15.b5cf2868.chunk.css b/static/css/16.b5cf2868.chunk.css similarity index 100% rename from static/css/15.b5cf2868.chunk.css rename to static/css/16.b5cf2868.chunk.css diff --git a/static/css/16.7db68309.chunk.css b/static/css/17.7db68309.chunk.css similarity index 100% rename from static/css/16.7db68309.chunk.css rename to static/css/17.7db68309.chunk.css diff --git a/static/css/17.a207758e.chunk.css b/static/css/18.a207758e.chunk.css similarity index 100% rename from static/css/17.a207758e.chunk.css rename to static/css/18.a207758e.chunk.css diff --git a/static/css/18.cd5da53a.chunk.css b/static/css/19.cd5da53a.chunk.css similarity index 100% rename from static/css/18.cd5da53a.chunk.css rename to static/css/19.cd5da53a.chunk.css diff --git a/static/css/19.5e0791f6.chunk.css b/static/css/20.5e0791f6.chunk.css similarity index 100% rename from static/css/19.5e0791f6.chunk.css rename to static/css/20.5e0791f6.chunk.css diff --git a/static/css/20.7607cc9b.chunk.css b/static/css/21.7607cc9b.chunk.css similarity index 100% rename from static/css/20.7607cc9b.chunk.css rename to static/css/21.7607cc9b.chunk.css diff --git a/static/css/21.71f04c32.chunk.css b/static/css/22.71f04c32.chunk.css similarity index 100% rename from static/css/21.71f04c32.chunk.css rename to static/css/22.71f04c32.chunk.css diff --git a/static/css/22.1cae2605.chunk.css b/static/css/23.1cae2605.chunk.css similarity index 100% rename from static/css/22.1cae2605.chunk.css rename to static/css/23.1cae2605.chunk.css diff --git a/static/css/23.5e380b8c.chunk.css b/static/css/24.5e380b8c.chunk.css similarity index 100% rename from static/css/23.5e380b8c.chunk.css rename to static/css/24.5e380b8c.chunk.css diff --git a/static/css/24.f001acd0.chunk.css b/static/css/27.f001acd0.chunk.css similarity index 100% rename from static/css/24.f001acd0.chunk.css rename to static/css/27.f001acd0.chunk.css diff --git a/static/css/27.31bacb05.chunk.css b/static/css/28.31bacb05.chunk.css similarity index 100% rename from static/css/27.31bacb05.chunk.css rename to static/css/28.31bacb05.chunk.css diff --git a/static/css/28.524120d2.chunk.css b/static/css/29.524120d2.chunk.css similarity index 100% rename from static/css/28.524120d2.chunk.css rename to static/css/29.524120d2.chunk.css diff --git a/static/css/29.563249a3.chunk.css b/static/css/30.563249a3.chunk.css similarity index 100% rename from static/css/29.563249a3.chunk.css rename to static/css/30.563249a3.chunk.css diff --git a/static/css/30.34d67b4f.chunk.css b/static/css/31.34d67b4f.chunk.css similarity index 100% rename from static/css/30.34d67b4f.chunk.css rename to static/css/31.34d67b4f.chunk.css diff --git a/static/css/31.edb9591e.chunk.css b/static/css/32.edb9591e.chunk.css similarity index 100% rename from static/css/31.edb9591e.chunk.css rename to static/css/32.edb9591e.chunk.css diff --git a/static/css/55.fac0c3b4.chunk.css b/static/css/33.fac0c3b4.chunk.css similarity index 100% rename from static/css/55.fac0c3b4.chunk.css rename to static/css/33.fac0c3b4.chunk.css diff --git a/static/css/33.66f0293c.chunk.css b/static/css/34.66f0293c.chunk.css similarity index 100% rename from static/css/33.66f0293c.chunk.css rename to static/css/34.66f0293c.chunk.css diff --git a/static/css/34.5b5561de.chunk.css b/static/css/36.5b5561de.chunk.css similarity index 100% rename from static/css/34.5b5561de.chunk.css rename to static/css/36.5b5561de.chunk.css diff --git a/static/css/36.59bb3926.chunk.css b/static/css/37.59bb3926.chunk.css similarity index 100% rename from static/css/36.59bb3926.chunk.css rename to static/css/37.59bb3926.chunk.css diff --git a/static/css/37.54f3c49f.chunk.css b/static/css/38.54f3c49f.chunk.css similarity index 100% rename from static/css/37.54f3c49f.chunk.css rename to static/css/38.54f3c49f.chunk.css diff --git a/static/css/38.b0a68826.chunk.css b/static/css/39.b0a68826.chunk.css similarity index 100% rename from static/css/38.b0a68826.chunk.css rename to static/css/39.b0a68826.chunk.css diff --git a/static/css/39.6ab3c821.chunk.css b/static/css/40.6ab3c821.chunk.css similarity index 100% rename from static/css/39.6ab3c821.chunk.css rename to static/css/40.6ab3c821.chunk.css diff --git a/static/css/40.7349f8f1.chunk.css b/static/css/41.7349f8f1.chunk.css similarity index 100% rename from static/css/40.7349f8f1.chunk.css rename to static/css/41.7349f8f1.chunk.css diff --git a/static/css/41.340b3120.chunk.css b/static/css/42.340b3120.chunk.css similarity index 100% rename from static/css/41.340b3120.chunk.css rename to static/css/42.340b3120.chunk.css diff --git a/static/css/42.9825b4ed.chunk.css b/static/css/43.9825b4ed.chunk.css similarity index 100% rename from static/css/42.9825b4ed.chunk.css rename to static/css/43.9825b4ed.chunk.css diff --git a/static/css/43.97d7a4c3.chunk.css b/static/css/44.97d7a4c3.chunk.css similarity index 100% rename from static/css/43.97d7a4c3.chunk.css rename to static/css/44.97d7a4c3.chunk.css diff --git a/static/css/44.b8dcc10e.chunk.css b/static/css/45.b8dcc10e.chunk.css similarity index 100% rename from static/css/44.b8dcc10e.chunk.css rename to static/css/45.b8dcc10e.chunk.css diff --git a/static/css/45.78dc1e5f.chunk.css b/static/css/46.78dc1e5f.chunk.css similarity index 100% rename from static/css/45.78dc1e5f.chunk.css rename to static/css/46.78dc1e5f.chunk.css diff --git a/static/css/46.b25d46f3.chunk.css b/static/css/47.b25d46f3.chunk.css similarity index 100% rename from static/css/46.b25d46f3.chunk.css rename to static/css/47.b25d46f3.chunk.css diff --git a/static/css/47.dba177bc.chunk.css b/static/css/48.dba177bc.chunk.css similarity index 100% rename from static/css/47.dba177bc.chunk.css rename to static/css/48.dba177bc.chunk.css diff --git a/static/css/48.8081f48c.chunk.css b/static/css/49.8081f48c.chunk.css similarity index 100% rename from static/css/48.8081f48c.chunk.css rename to static/css/49.8081f48c.chunk.css diff --git a/static/css/49.cce966d7.chunk.css b/static/css/50.cce966d7.chunk.css similarity index 100% rename from static/css/49.cce966d7.chunk.css rename to static/css/50.cce966d7.chunk.css diff --git a/static/css/50.fcfdcbeb.chunk.css b/static/css/51.fcfdcbeb.chunk.css similarity index 100% rename from static/css/50.fcfdcbeb.chunk.css rename to static/css/51.fcfdcbeb.chunk.css diff --git a/static/css/52.cce966d7.chunk.css b/static/css/53.cce966d7.chunk.css similarity index 100% rename from static/css/52.cce966d7.chunk.css rename to static/css/53.cce966d7.chunk.css diff --git a/static/css/53.c347466a.chunk.css b/static/css/54.c347466a.chunk.css similarity index 100% rename from static/css/53.c347466a.chunk.css rename to static/css/54.c347466a.chunk.css diff --git a/static/css/54.8e39db6c.chunk.css b/static/css/55.8e39db6c.chunk.css similarity index 100% rename from static/css/54.8e39db6c.chunk.css rename to static/css/55.8e39db6c.chunk.css diff --git a/static/css/57.fac0c3b4.chunk.css b/static/css/56.fac0c3b4.chunk.css similarity index 100% rename from static/css/57.fac0c3b4.chunk.css rename to static/css/56.fac0c3b4.chunk.css diff --git a/static/css/56.640f37d5.chunk.css b/static/css/57.640f37d5.chunk.css similarity index 100% rename from static/css/56.640f37d5.chunk.css rename to static/css/57.640f37d5.chunk.css diff --git a/static/css/59.fac0c3b4.chunk.css b/static/css/59.fac0c3b4.chunk.css new file mode 100644 index 000000000..952952840 --- /dev/null +++ b/static/css/59.fac0c3b4.chunk.css @@ -0,0 +1 @@ +.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} \ No newline at end of file diff --git a/static/css/59.65e09ca8.chunk.css b/static/css/60.65e09ca8.chunk.css similarity index 100% rename from static/css/59.65e09ca8.chunk.css rename to static/css/60.65e09ca8.chunk.css diff --git a/static/css/60.26789140.chunk.css b/static/css/61.26789140.chunk.css similarity index 100% rename from static/css/60.26789140.chunk.css rename to static/css/61.26789140.chunk.css diff --git a/static/css/62.1be69314.chunk.css b/static/css/64.1be69314.chunk.css similarity index 100% rename from static/css/62.1be69314.chunk.css rename to static/css/64.1be69314.chunk.css diff --git a/static/css/64.1f3320ba.chunk.css b/static/css/65.1f3320ba.chunk.css similarity index 100% rename from static/css/64.1f3320ba.chunk.css rename to static/css/65.1f3320ba.chunk.css diff --git a/static/css/65.5695dd0f.chunk.css b/static/css/66.5695dd0f.chunk.css similarity index 100% rename from static/css/65.5695dd0f.chunk.css rename to static/css/66.5695dd0f.chunk.css diff --git a/static/css/76.0d39367d.chunk.css b/static/css/67.0d39367d.chunk.css similarity index 100% rename from static/css/76.0d39367d.chunk.css rename to static/css/67.0d39367d.chunk.css diff --git a/static/css/66.3cafee70.chunk.css b/static/css/68.3cafee70.chunk.css similarity index 100% rename from static/css/66.3cafee70.chunk.css rename to static/css/68.3cafee70.chunk.css diff --git a/static/css/67.3cafee70.chunk.css b/static/css/69.3cafee70.chunk.css similarity index 100% rename from static/css/67.3cafee70.chunk.css rename to static/css/69.3cafee70.chunk.css diff --git a/static/css/69.8a98e92f.chunk.css b/static/css/71.8a98e92f.chunk.css similarity index 100% rename from static/css/69.8a98e92f.chunk.css rename to static/css/71.8a98e92f.chunk.css diff --git a/static/css/70.e522dd89.chunk.css b/static/css/72.e522dd89.chunk.css similarity index 100% rename from static/css/70.e522dd89.chunk.css rename to static/css/72.e522dd89.chunk.css diff --git a/static/css/71.640f37d5.chunk.css b/static/css/73.640f37d5.chunk.css similarity index 100% rename from static/css/71.640f37d5.chunk.css rename to static/css/73.640f37d5.chunk.css diff --git a/static/css/72.ee009106.chunk.css b/static/css/74.ee009106.chunk.css similarity index 100% rename from static/css/72.ee009106.chunk.css rename to static/css/74.ee009106.chunk.css diff --git a/static/css/73.1be69314.chunk.css b/static/css/75.1be69314.chunk.css similarity index 100% rename from static/css/73.1be69314.chunk.css rename to static/css/75.1be69314.chunk.css diff --git a/static/css/77.8725ffda.chunk.css b/static/css/78.8725ffda.chunk.css similarity index 100% rename from static/css/77.8725ffda.chunk.css rename to static/css/78.8725ffda.chunk.css diff --git a/static/css/83.af8eaef3.chunk.css b/static/css/84.af8eaef3.chunk.css similarity index 100% rename from static/css/83.af8eaef3.chunk.css rename to static/css/84.af8eaef3.chunk.css diff --git a/static/css/86.520fd912.chunk.css b/static/css/87.520fd912.chunk.css similarity index 100% rename from static/css/86.520fd912.chunk.css rename to static/css/87.520fd912.chunk.css diff --git a/static/css/87.7834f2e6.chunk.css b/static/css/88.7834f2e6.chunk.css similarity index 100% rename from static/css/87.7834f2e6.chunk.css rename to static/css/88.7834f2e6.chunk.css diff --git a/static/js/100.8d4b33cf.chunk.js b/static/js/100.8d4b33cf.chunk.js new file mode 100644 index 000000000..3e2a877ba --- /dev/null +++ b/static/js/100.8d4b33cf.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[100],{ux30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file diff --git a/static/js/100.bf620b2d.chunk.js b/static/js/101.72be3c1e.chunk.js similarity index 93% rename from static/js/100.bf620b2d.chunk.js rename to static/js/101.72be3c1e.chunk.js index d923e3817..9dc2af0b0 100644 --- a/static/js/100.bf620b2d.chunk.js +++ b/static/js/101.72be3c1e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[100],{KV1T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[101],{KV1T:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file diff --git a/static/js/101.03d60530.chunk.js b/static/js/102.8fcc5df3.chunk.js similarity index 98% rename from static/js/101.03d60530.chunk.js rename to static/js/102.8fcc5df3.chunk.js index 7a711908e..d2a306ef7 100644 --- a/static/js/101.03d60530.chunk.js +++ b/static/js/102.8fcc5df3.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[101],{aA7r:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return s})),n.d(t,"language",(function(){return i}));var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){o.push(e),o.push(e.toUpperCase()),o.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var i={defaultToken:"",tokenPostfix:".apex",keywords:o,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[102],{aA7r:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return s})),n.d(t,"language",(function(){return i}));var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},o=[];["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"].forEach((function(e){o.push(e),o.push(e.toUpperCase()),o.push(function(e){return e.charAt(0).toUpperCase()+e.substr(1)}(e))}));var i={defaultToken:"",tokenPostfix:".apex",keywords:o,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/static/js/102.650db385.chunk.js b/static/js/103.6c6a9c82.chunk.js similarity index 90% rename from static/js/102.650db385.chunk.js rename to static/js/103.6c6a9c82.chunk.js index 1edfb5db5..3146aa70c 100644 --- a/static/js/102.650db385.chunk.js +++ b/static/js/103.6c6a9c82.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[102],{NlLO:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return s})),n.d(t,"language",(function(){return o}));var s={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[103],{NlLO:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return s})),n.d(t,"language",(function(){return o}));var s={comments:{lineComment:"#"}},o={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}}}}]); \ No newline at end of file diff --git a/static/js/103.438f6fe4.chunk.js b/static/js/104.58543338.chunk.js similarity index 93% rename from static/js/103.438f6fe4.chunk.js rename to static/js/104.58543338.chunk.js index 3ca8ac50c..cc05f9043 100644 --- a/static/js/103.438f6fe4.chunk.js +++ b/static/js/104.58543338.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[103],{"7s2V":function(e,s,o){"use strict";o.r(s),o.d(s,"conf",(function(){return t})),o.d(s,"language",(function(){return n}));var t={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},n={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[105],{AoeA:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var r={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}}}}]); \ No newline at end of file diff --git a/static/js/105.78329ca9.chunk.js b/static/js/106.f1069854.chunk.js similarity index 97% rename from static/js/105.78329ca9.chunk.js rename to static/js/106.f1069854.chunk.js index 5d463744a..8f1c07c40 100644 --- a/static/js/105.78329ca9.chunk.js +++ b/static/js/106.f1069854.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[105],{"2ZXa":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return s}));var r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[107],{"/Om3":function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return s})),n.d(t,"language",(function(){return o}));var s={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","property","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}}}}]); \ No newline at end of file diff --git a/static/js/107.0c97f8da.chunk.js b/static/js/108.1400a9d4.chunk.js similarity index 94% rename from static/js/107.0c97f8da.chunk.js rename to static/js/108.1400a9d4.chunk.js index 23460cbd2..507d2ceba 100644 --- a/static/js/107.0c97f8da.chunk.js +++ b/static/js/108.1400a9d4.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[107],{"p+q7":function(t,r,e){"use strict";e.r(r),e.d(r,"conf",(function(){return s})),e.d(r,"language",(function(){return n}));var s={brackets:[],autoClosingPairs:[],surroundingPairs:[]},n={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[109],{v7Iz:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return i}));var r={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".css",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/static/js/11.51cf4303.chunk.js b/static/js/11.f4ac8084.chunk.js similarity index 99% rename from static/js/11.51cf4303.chunk.js rename to static/js/11.f4ac8084.chunk.js index 89f491b96..b2cdb799d 100644 --- a/static/js/11.51cf4303.chunk.js +++ b/static/js/11.f4ac8084.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[11,10,71],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t0&&(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),j(t));e.onSuccess(j(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 x=+new Date,E=0;function C(){return"rc-upload-"+x+"-"+ ++E}var P=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var S=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,a=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){r(c.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;l()(this,t);for(var a=arguments.length,i=Array(a),c=0;c',n=''}return'\n \n \n \n \n \n '+t+'\n \n \n
\n \n '+n+'\n \n
\n \n \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(),o=this.props.data,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var c in o)if(o.hasOwnProperty(c)){var u=document.createElement("input");u.setAttribute("name",c),u.value=o[c],i.appendChild(u)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,u=t.children,l=t.style,s=c()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:c()({position:"relative",zIndex:0},l)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:s}),u)}}]),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 F=A;function U(){}var M=function(e){function t(){var e,n,r,o;l()(this,t);for(var a=arguments.length,i=Array(a),c=0;c0&&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 Y=n("CtXQ"),J=n("3S7+"),$=n("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100:e}function re(){return(re=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Te(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,c=0,u=-i,l=0,s=-2*i;switch(a){case"left":c=-i,u=0,l=2*i,s=0;break;case"right":c=i,u=0,l=-2*i,s=0;break;case"bottom":u=i,s=2*i}var f="M 50,50 m ".concat(c,",").concat(u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(l,",").concat(-s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-l,",").concat(s),p=2*Math.PI*i,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 Ge=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Le(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Ie(n):r,Fe(Ie(e),"paths",{}),Fe(Ie(e),"gradientId",0),e.gradientId=Ue,Ue+=1,e}var n,r,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&&Ae(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,c=t.strokeLinecap,u=t.gapDegree,l=t.gapPosition,s=Ve(r),f=Ve(a),p=0;return s.map((function(t,r){var a=f[r]||f[f.length-1],s="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=ze(p,t,a,i,u,l),h=d.pathString,y=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:s,strokeLinecap:c,strokeWidth:0===t?0:i,fillOpacity:"0",style:y,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,c=e.trailColor,u=e.strokeLinecap,l=e.style,s=e.className,f=e.strokeColor,p=Re(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=ze(0,100,c,n,a,i),h=d.pathString,y=d.pathStyle;delete p.percent;var m=Ve(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",De({className:"".concat(t,"-circle ").concat(s),viewBox:"0 0 100 100",style:l},p),m&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(m).sort((function(e,t){return Me(e)-Me(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:m[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:c,strokeLinecap:u,strokeWidth:r||n,fillOpacity:"0",style:y}),this.getStokeList().reverse())}}])&&Te(n.prototype,r),a&&Te(n,a),t}(r.Component);Ge.propTypes=Ne({},be,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),Ge.defaultProps=Ne({},me,{gapPosition:"top"});var We=ye(Ge);var qe={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function He(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Be=function(e){var t,n,o,a,i,c,u,l=e.prefixCls,s=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,y=e.gapDegree,m=e.type,v=e.children,b=s||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,j=h||"dashboard"===m&&"bottom"||"top",k=y||("dashboard"===m?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||qe[n],o?[qe.success,a]:a),E="[object Object]"===Object.prototype.toString.call(x),C=w()("".concat(l,"-inner"),(i={},c="".concat(l,"-circle-gradient"),u=E,c in i?Object.defineProperty(i,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[c]=u,i));return r.createElement("div",{className:C,style:g},r.createElement(We,{percent:He(e),strokeWidth:O,trailWidth:O,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:l,gapDegree:k,gapPosition:j}),v)};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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(){return(Qe=Object.assign||function(e){for(var t=1;t=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,c=o.type,u=o.percent,l=o.successPercent;if(!a)return null;var s="circle"===c||"dashboard"===c?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(u),ne(l)):"exception"===t?n=r.createElement(Y.default,{type:"close".concat(s),theme:"line"===c?"filled":"outlined"}):"success"===t&&(n=r.createElement(Y.default,{type:"check".concat(s),theme:"line"===c?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Ye(n.prototype,o),a&&Ye(n,a),c}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:m.oneOf(at),type:m.oneOf(ot),showInfo:m.bool,percent:m.number,width:m.number,strokeWidth:m.number,strokeLinecap:m.oneOf(["round","square"]),strokeColor:m.oneOfType([m.string,m.object]),trailColor:m.string,format:m.func,gapDegree:m.number};var ct=it;function ut(e){return(ut="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 lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(){return(st=Object.assign||function(e){for(var t=1;t=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),c}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Nt=_t;function Dt(e){return(Dt="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 Rt(){return(Rt=Object.assign||function(e){for(var t=1;t0&&n.setState({fileList:(0,l.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";s.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,l.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)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024=200){var y=t?null:c(e);if(y)return u(y);p=!1,s=i,h=new r}else h=t?[]:d;e:for(;++l-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";s.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,c=t.show_video,s=t.video_url,p=t.video_title,d=t.move_spin,h=this.props.attachments;return u.default.createElement("div",null,h?u.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return u.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},u.default.createElement(o.default,{spinning:d},e.is_video(t.title)?u.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},u.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),u.default.createElement("span",null,t.title),u.default.createElement("span",{className:"ml20"},t.filesize)):u.default.createElement(l.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},u.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),u.default.createElement("span",null,t.title),u.default.createElement("span",{className:"ml20"},t.filesize)),i?u.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},u.default.createElement("span",{className:"attachment-list-delete fr"},u.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",c?u.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},u.default.createElement(f.default,{video_url:s})):"")}}]),t}(c.Component);t.default=d},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=c},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),c=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),s=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-1}},"k/oc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=x(n("2/Rp")),i=x(n("kaz8")),c=x(n("5rEg")),u=x(n("2fM7")),l=x(n("14Xm")),s=x(n("Vl3Y")),f=x(n("lrIw")),p=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4])||arguments[4];return m.default.createElement(m.default.Fragment,null,m.default.createElement("span",{required:o},e),m.default.createElement(s.default.Item,null,N(t,{rules:n,validateFirst:!0})(r)))}),[]);return m.default.createElement("div",{className:"main df"},m.default.createElement(s.default,{className:"versionForm"},m.default.createElement("div",null,m.default.createElement("p",{className:"font-16 color-grey-3 mb15"},ae?"编辑":"创建","发行版"),m.default.createElement("div",null,m.default.createElement("div",{className:"itemInline"},le("","tag_name",[{required:!0,message:"请输入获取或选择一个标签"}],m.default.createElement(f.default,{placeholder:"标记一个版本",onChange:function(e){var t=I.filter((function(t){return t.name.indexOf(e)>-1}));ne(ue(t))},style:{width:"200px"}},te)),m.default.createElement(ce,null,"@"),le("","target_commitish",[{required:!0,message:"请选择一个分支"}],m.default.createElement(u.default,{placeholder:"请选择一个分支",style:{width:"200px"},showArrow:!1},ue(M)))),m.default.createElement("p",{className:"font-13 color-grey-8"},"选择一个已经存在的标签,或者在发布时新建一个标签")),m.default.createElement("div",{className:"pt20"},le("","name",[{required:!0,message:"请输入发行版的标题"}],m.default.createElement(c.default,{placeholder:"发行版的标题"}))),m.default.createElement("div",null,m.default.createElement(b.default,{placeholder:"描述此发行版",height:200,mdID:"version-comments-description",initValue:W,onChange:q})),m.default.createElement("div",{className:"set-ant-row"},le("","prerelease",[],m.default.createElement(i.default,null,"这是一个预览版本"))),m.default.createElement("div",null,m.default.createElement(g.default,{className:"versionStyle",isComplete:!0,load:X,icon:m.default.createElement("img",{src:j.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:P}),ae&&Y&&Y.length>0?m.default.createElement(O.default,{attachments:Y,showNotification:P,canDelete:!0}):""),m.default.createElement("p",{className:"pt20"},m.default.createElement(a.default,{onClick:function(){D((function(e,t){if(!e)if(ae){var n="/"+ie+"/"+oe+"/releases/"+ae+".json";w.default.put(n,p({},t,{body:W,attachment_ids:Z})).then((function(e){e&&(P("版本修改成功!"),S.push("/projects/"+ie+"/"+oe+"/releases"))}))}else{var r="/"+ie+"/"+oe+"/releases.json";w.default.post(r,p({},t,{body:W,attachment_ids:Z})).then((function(e){e&&(P("版本发布成功!"),S.push("/projects/"+ie+"/"+oe+"/releases"))}))}}))},type:"primary",className:"mr30"},ae?"保存":"创建","发行版"),m.default.createElement(a.default,{onClick:function(){return S.push("/projects/"+ie+"/"+oe+"/releases")},style:{backgroundColor:"rgba(187,187,187,1)",color:"#fff"}},"取消")))),m.default.createElement("div",{className:"versionTips"},m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"标签命名建议"),m.default.createElement("p",{className:"mb15"},"通常的做法是在版本名称前加上字母 v 前缀, v1.0 或者 v2.3.4。"),m.default.createElement("p",null,"如果标签不适合在生产环境下使用,请在版本名称后添加预发行版本。例如:v0.2-alpha 或者 v5.9-beta.3。")),m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"语义化版本"),m.default.createElement("p",{className:"mb15"},"如果你是第一次发布版本,我们强烈建议你阅读语义化版本。")),m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"附件大小说明"),m.default.createElement("p",{className:"mb15"},"单个附件不能超过 100M(GVP 项目200M),每个仓库总附件不可超过 1G(推荐项目不可超过 5G;GVP 项目不可超过 20G)。附件总容量统计包括仓库附件和发行版附件。"))))})))},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),c=n.n(i),u=n("x1Ya"),l=n("Gytx"),s=n.n(l),f=n("H84U"),p=n("6CfX");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 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(){return(y=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(m=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var v=c()(h,l);return r.createElement("div",S({className:v,style:s},y),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&D(n.prototype,o),a&&D(n,a),u}(r.Component);U.defaultProps={options:[]},U.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},U.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(U);var M=U;E.Group=M;t.default=E},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,c=i,u=!a;if(null==e)return!c;for(e=Object(e);i--;){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++is))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d0&&(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),j(t));e.onSuccess(j(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 x=+new Date,E=0;function C(){return"rc-upload-"+x+"-"+ ++E}var P=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var S=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,a=!1,i=void 0;try{for(var c,u=e[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){r(c.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;l()(this,t);for(var a=arguments.length,i=Array(a),c=0;c',n=''}return'\n \n \n \n \n \n '+t+'\n \n \n
\n \n '+n+'\n \n
\n \n \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(),o=this.props.data,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var c in o)if(o.hasOwnProperty(c)){var u=document.createElement("input");u.setAttribute("name",c),u.value=o[c],i.appendChild(u)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,u=t.children,l=t.style,s=c()({},I,{display:this.state.uploading||r?"none":""}),f=w()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:c()({position:"relative",zIndex:0},l)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:s}),u)}}]),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 F=A;function U(){}var M=function(e){function t(){var e,n,r,o;l()(this,t);for(var a=arguments.length,i=Array(a),c=0;c0&&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 Y=n("CtXQ"),J=n("3S7+"),$=n("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100:e}function re(){return(re=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Te(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,c=0,u=-i,l=0,s=-2*i;switch(a){case"left":c=-i,u=0,l=2*i,s=0;break;case"right":c=i,u=0,l=-2*i,s=0;break;case"bottom":u=i,s=2*i}var f="M 50,50 m ".concat(c,",").concat(u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(l,",").concat(-s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-l,",").concat(s),p=2*Math.PI*i,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 Ge=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Le(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Ie(n):r,Fe(Ie(e),"paths",{}),Fe(Ie(e),"gradientId",0),e.gradientId=Ue,Ue+=1,e}var n,r,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&&Ae(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,c=t.strokeLinecap,u=t.gapDegree,l=t.gapPosition,s=Ve(r),f=Ve(a),p=0;return s.map((function(t,r){var a=f[r]||f[f.length-1],s="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=ze(p,t,a,i,u,l),h=d.pathString,y=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:s,strokeLinecap:c,strokeWidth:0===t?0:i,fillOpacity:"0",style:y,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,c=e.trailColor,u=e.strokeLinecap,l=e.style,s=e.className,f=e.strokeColor,p=Re(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=ze(0,100,c,n,a,i),h=d.pathString,y=d.pathStyle;delete p.percent;var m=Ve(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",De({className:"".concat(t,"-circle ").concat(s),viewBox:"0 0 100 100",style:l},p),m&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(m).sort((function(e,t){return Me(e)-Me(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:m[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:c,strokeLinecap:u,strokeWidth:r||n,fillOpacity:"0",style:y}),this.getStokeList().reverse())}}])&&Te(n.prototype,r),a&&Te(n,a),t}(r.Component);Ge.propTypes=Ne({},be,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),Ge.defaultProps=Ne({},me,{gapPosition:"top"});var We=ye(Ge);var qe={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function He(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Be=function(e){var t,n,o,a,i,c,u,l=e.prefixCls,s=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,y=e.gapDegree,m=e.type,v=e.children,b=s||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,j=h||"dashboard"===m&&"bottom"||"top",k=y||("dashboard"===m?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||qe[n],o?[qe.success,a]:a),E="[object Object]"===Object.prototype.toString.call(x),C=w()("".concat(l,"-inner"),(i={},c="".concat(l,"-circle-gradient"),u=E,c in i?Object.defineProperty(i,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[c]=u,i));return r.createElement("div",{className:C,style:g},r.createElement(We,{percent:He(e),strokeWidth:O,trailWidth:O,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:l,gapDegree:k,gapPosition:j}),v)};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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(){return(Qe=Object.assign||function(e){for(var t=1;t=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,c=o.type,u=o.percent,l=o.successPercent;if(!a)return null;var s="circle"===c||"dashboard"===c?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(u),ne(l)):"exception"===t?n=r.createElement(Y.default,{type:"close".concat(s),theme:"line"===c?"filled":"outlined"}):"success"===t&&(n=r.createElement(Y.default,{type:"check".concat(s),theme:"line"===c?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Ye(n.prototype,o),a&&Ye(n,a),c}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:m.oneOf(at),type:m.oneOf(ot),showInfo:m.bool,percent:m.number,width:m.number,strokeWidth:m.number,strokeLinecap:m.oneOf(["round","square"]),strokeColor:m.oneOfType([m.string,m.object]),trailColor:m.string,format:m.func,gapDegree:m.number};var ct=it;function ut(e){return(ut="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 lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(){return(st=Object.assign||function(e){for(var t=1;t=.98||(t+=n,(n-=.01)<.001&&(n=.001)),t}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),c}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Nt=_t;function Dt(e){return(Dt="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 Rt(){return(Rt=Object.assign||function(e){for(var t=1;t0&&n.setState({fileList:(0,l.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";s.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,l.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)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,r=e.size/1024/1024=200){var y=t?null:c(e);if(y)return u(y);p=!1,s=i,h=new r}else h=t?[]:d;e:for(;++l-1},n.deleteAttachment=function(e){var t="/attachments/"+e+".json";s.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,c=t.show_video,s=t.video_url,p=t.video_title,d=t.move_spin,h=this.props.attachments;return u.default.createElement("div",null,h?u.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return u.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},u.default.createElement(o.default,{spinning:d},e.is_video(t.title)?u.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},u.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),u.default.createElement("span",null,t.title),u.default.createElement("span",{className:"ml20"},t.filesize)):u.default.createElement(l.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},u.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),u.default.createElement("span",null,t.title),u.default.createElement("span",{className:"ml20"},t.filesize)),i?u.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},u.default.createElement("span",{className:"attachment-list-delete fr"},u.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",c?u.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},u.default.createElement(f.default,{video_url:s})):"")}}]),t}(c.Component);t.default=d},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,c=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=c},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),c=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),s=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-1}},"k/oc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=x(n("2/Rp")),i=x(n("kaz8")),c=x(n("5rEg")),u=x(n("2fM7")),l=x(n("14Xm")),s=x(n("Vl3Y")),f=x(n("lrIw")),p=Object.assign||function(e){for(var t=1;t4&&void 0!==arguments[4])||arguments[4];return m.default.createElement(m.default.Fragment,null,m.default.createElement("span",{required:o},e),m.default.createElement(s.default.Item,null,N(t,{rules:n,validateFirst:!0})(r)))}),[]);return m.default.createElement("div",{className:"main df"},m.default.createElement(s.default,{className:"versionForm"},m.default.createElement("div",null,m.default.createElement("p",{className:"font-16 color-grey-3 mb15"},ae?"编辑":"创建","发行版"),m.default.createElement("div",null,m.default.createElement("div",{className:"itemInline"},le("","tag_name",[{required:!0,message:"请输入获取或选择一个标签"}],m.default.createElement(f.default,{placeholder:"标记一个版本",onChange:function(e){var t=I.filter((function(t){return t.name.indexOf(e)>-1}));ne(ue(t))},style:{width:"200px"}},te)),m.default.createElement(ce,null,"@"),le("","target_commitish",[{required:!0,message:"请选择一个分支"}],m.default.createElement(u.default,{placeholder:"请选择一个分支",style:{width:"200px"},showArrow:!1},ue(M)))),m.default.createElement("p",{className:"font-13 color-grey-8"},"选择一个已经存在的标签,或者在发布时新建一个标签")),m.default.createElement("div",{className:"pt20"},le("","name",[{required:!0,message:"请输入发行版的标题"}],m.default.createElement(c.default,{placeholder:"发行版的标题"}))),m.default.createElement("div",null,m.default.createElement(b.default,{placeholder:"描述此发行版",height:200,mdID:"version-comments-description",initValue:W,onChange:q})),m.default.createElement("div",{className:"set-ant-row"},le("","prerelease",[],m.default.createElement(i.default,null,"这是一个预览版本"))),m.default.createElement("div",null,m.default.createElement(g.default,{className:"versionStyle",isComplete:!0,load:X,icon:m.default.createElement("img",{src:j.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:P}),ae&&Y&&Y.length>0?m.default.createElement(O.default,{attachments:Y,showNotification:P,canDelete:!0}):""),m.default.createElement("p",{className:"pt20"},m.default.createElement(a.default,{onClick:function(){D((function(e,t){if(!e)if(ae){var n="/"+ie+"/"+oe+"/releases/"+ae+".json";w.default.put(n,p({},t,{body:W,attachment_ids:Z})).then((function(e){e&&(P("版本修改成功!"),S.push("/projects/"+ie+"/"+oe+"/releases"))}))}else{var r="/"+ie+"/"+oe+"/releases.json";w.default.post(r,p({},t,{body:W,attachment_ids:Z})).then((function(e){e&&(P("版本发布成功!"),S.push("/projects/"+ie+"/"+oe+"/releases"))}))}}))},type:"primary",className:"mr30"},ae?"保存":"创建","发行版"),m.default.createElement(a.default,{onClick:function(){return S.push("/projects/"+ie+"/"+oe+"/releases")},style:{backgroundColor:"rgba(187,187,187,1)",color:"#fff"}},"取消")))),m.default.createElement("div",{className:"versionTips"},m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"标签命名建议"),m.default.createElement("p",{className:"mb15"},"通常的做法是在版本名称前加上字母 v 前缀, v1.0 或者 v2.3.4。"),m.default.createElement("p",null,"如果标签不适合在生产环境下使用,请在版本名称后添加预发行版本。例如:v0.2-alpha 或者 v5.9-beta.3。")),m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"语义化版本"),m.default.createElement("p",{className:"mb15"},"如果你是第一次发布版本,我们强烈建议你阅读语义化版本。")),m.default.createElement("div",{className:"infosTip"},m.default.createElement("p",{className:"font-16 mb15"},"附件大小说明"),m.default.createElement("p",{className:"mb15"},"单个附件不能超过 100M(GVP 项目200M),每个仓库总附件不可超过 1G(推荐项目不可超过 5G;GVP 项目不可超过 20G)。附件总容量统计包括仓库附件和发行版附件。"))))})))},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),c=n.n(i),u=n("x1Ya"),l=n("Gytx"),s=n.n(l),f=n("H84U"),p=n("6CfX");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 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(){return(y=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(m=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var v=c()(h,l);return r.createElement("div",S({className:v,style:s},y),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&D(n.prototype,o),a&&D(n,a),u}(r.Component);U.defaultProps={options:[]},U.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},U.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(U);var M=U;E.Group=M;t.default=E},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,c=i,u=!a;if(null==e)return!c;for(e=Object(e);i--;){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++is))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[111],{yswY:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return s})),t.d(n,"language",(function(){return o}));var s={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},o={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/static/js/111.6845cce4.chunk.js b/static/js/112.3a1248c0.chunk.js similarity index 96% rename from static/js/111.6845cce4.chunk.js rename to static/js/112.3a1248c0.chunk.js index a97d116cd..daf2d752b 100644 --- a/static/js/111.6845cce4.chunk.js +++ b/static/js/112.3a1248c0.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[111],{lHAa:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return s}));var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{lHAa:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return s}));var o={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/static/js/112.7921686b.chunk.js b/static/js/113.4da1e7a5.chunk.js similarity index 98% rename from static/js/112.7921686b.chunk.js rename to static/js/113.4da1e7a5.chunk.js index 9c7dd2721..a2aaceac4 100644 --- a/static/js/112.7921686b.chunk.js +++ b/static/js/113.4da1e7a5.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[112],{O3xE:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return m}));var a="undefined"==typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[113],{O3xE:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return m}));var a="undefined"==typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:a.languages.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}}}}]); \ No newline at end of file diff --git a/static/js/113.18ac7417.chunk.js b/static/js/114.351e57c0.chunk.js similarity index 98% rename from static/js/113.18ac7417.chunk.js rename to static/js/114.351e57c0.chunk.js index f24268d71..fec522d76 100644 --- a/static/js/113.18ac7417.chunk.js +++ b/static/js/114.351e57c0.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[113],{tpLM:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return d}));var i="undefined"==typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},d={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[114],{tpLM:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return d}));var i="undefined"==typeof monaco?self.monaco:monaco,r=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+r.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#endregion\\b.*--\x3e")}}},d={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}}}}]); \ No newline at end of file diff --git a/static/js/114.1c230a7d.chunk.js b/static/js/115.45137207.chunk.js similarity index 92% rename from static/js/114.1c230a7d.chunk.js rename to static/js/115.45137207.chunk.js index 7b19c3e71..549a53fe9 100644 --- a/static/js/114.1c230a7d.chunk.js +++ b/static/js/115.45137207.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[114],{"On+f":function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return t})),s.d(n,"language",(function(){return o}));var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[115],{"On+f":function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return t})),s.d(n,"language",(function(){return o}));var t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}}}}]); \ No newline at end of file diff --git a/static/js/115.52e01c5a.chunk.js b/static/js/116.3969d930.chunk.js similarity index 96% rename from static/js/115.52e01c5a.chunk.js rename to static/js/116.3969d930.chunk.js index 225009691..ae0d422af 100644 --- a/static/js/115.52e01c5a.chunk.js +++ b/static/js/116.3969d930.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[115],{"BjZ/":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[116],{"BjZ/":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/static/js/116.ca7bb8b8.chunk.js b/static/js/117.7533ebe1.chunk.js similarity index 96% rename from static/js/116.ca7bb8b8.chunk.js rename to static/js/117.7533ebe1.chunk.js index f010f8a90..a140f3aa7 100644 --- a/static/js/116.ca7bb8b8.chunk.js +++ b/static/js/117.7533ebe1.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[116],{OfHX:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[117],{OfHX:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},r={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}}}}]); \ No newline at end of file diff --git a/static/js/117.bd34ae50.chunk.js b/static/js/118.2752c551.chunk.js similarity index 96% rename from static/js/117.bd34ae50.chunk.js rename to static/js/118.2752c551.chunk.js index 7a65e6c2b..43f734c07 100644 --- a/static/js/117.bd34ae50.chunk.js +++ b/static/js/118.2752c551.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[117],{yUwd:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return s}));var o={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},s={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=>=","<",">","=",";",":",",",".","..","..."],symbols:/[=>",notIn:["string"]}],surroundingPairs:[{open:"(",close:")"},{open:"[",close:"]"},{open:"`",close:"`"}],folding:{markers:{start:new RegExp("^\\s*\x3c!--\\s*#?region\\b.*--\x3e"),end:new RegExp("^\\s*\x3c!--\\s*#?endregion\\b.*--\x3e")}}},o={defaultToken:"",tokenPostfix:".md",control:/[\\`*_\[\]{}()#+\-\.!]/,noncontrol:/[^\\`*_\[\]{}()#+\-\.!]/,escapes:/\\(?:@control)/,jsescapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,empty:["area","base","basefont","br","col","frame","hr","img","input","isindex","link","meta","param"],tokenizer:{root:[[/^\s*\|/,"@rematch","@table_header"],[/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/,["white","keyword","keyword","keyword"]],[/^\s*(=+|\-+)\s*$/,"keyword"],[/^\s*((\*[ ]?)+)\s*$/,"meta.separator"],[/^\s*>+/,"comment"],[/^\s*([\*\-+:]|\d+\.)\s/,"keyword"],[/^(\t|[ ]{4})[^ ].*$/,"string"],[/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/,{token:"string",next:"@codeblock"}],[/^\s*```\s*((?:\w|[\/\-#])+).*$/,{token:"string",next:"@codeblockgh",nextEmbedded:"$1"}],[/^\s*```\s*$/,{token:"string",next:"@codeblock"}],{include:"@linecontent"}],table_header:[{include:"@table_common"},[/[^\|]+/,"keyword.table.header"]],table_body:[{include:"@table_common"},{include:"@linecontent"}],table_common:[[/\s*[\-:]+\s*/,{token:"keyword",switchTo:"table_body"}],[/^\s*\|/,"keyword.table.left"],[/^\s*[^\|]/,"@rematch","@pop"],[/^\s*$/,"@rematch","@pop"],[/\|/,{cases:{"@eos":"keyword.table.right","@default":"keyword.table.middle"}}]],codeblock:[[/^\s*~~~\s*$/,{token:"string",next:"@pop"}],[/^\s*```\s*$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],codeblockgh:[[/```\s*$/,{token:"variable.source",next:"@pop",nextEmbedded:"@pop"}],[/[^`]+/,"variable.source"]],linecontent:[[/&\w+;/,"string.escape"],[/@escapes/,"escape"],[/\b__([^\\_]|@escapes|_(?!_))+__\b/,"strong"],[/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/,"strong"],[/\b_[^_]+_\b/,"emphasis"],[/\*([^\\*]|@escapes)+\*/,"emphasis"],[/`([^\\`]|@escapes)+`/,"variable"],[/\{+[^}]+\}+/,"string.target"],[/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/,["string.link","","string.link"]],[/(!?\[)((?:[^\]\\]|@escapes)*)(\])/,"string.link"],{include:"html"}],html:[[/<(\w+)\/>/,"tag"],[/<(\w+)/,{cases:{"@empty":{token:"tag",next:"@tag.$1"},"@default":{token:"tag",next:"@tag.$1"}}}],[/<\/(\w+)\s*>/,{token:"tag"}],[//,"comment","@pop"],[//,"comment","@pop"],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[124],{lXEz:function(e,t,p){"use strict";p.r(t),p.d(t,"conf",(function(){return n})),p.d(t,"language",(function(){return i}));var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*(#|//)region\\b"),end:new RegExp("^\\s*(#|//)endregion\\b")}}},i={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\?((php)|=)?/,{token:"@rematch",switchTo:"@phpInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],phpInSimpleState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3"}],{include:"phpRoot"}],phpInEmbeddedState:[[/<\?((php)|=)?/,"metatag.php"],[/\?>/,{token:"metatag.php",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"phpRoot"}],phpRoot:[[/[a-zA-Z_]\w*/,{cases:{"@phpKeywords":{token:"keyword.php"},"@phpCompileTimeConstants":{token:"constant.php"},"@default":"identifier.php"}}],[/[$a-zA-Z_]\w*/,{cases:{"@phpPreDefinedVariables":{token:"variable.predefined.php"},"@default":"variable.php"}}],[/[{}]/,"delimiter.bracket.php"],[/[\[\]]/,"delimiter.array.php"],[/[()]/,"delimiter.parenthesis.php"],[/[ \t\r\n]+/],[/(#|\/\/)$/,"comment.php"],[/(#|\/\/)/,"comment.php","@phpLineComment"],[/\/\*/,"comment.php","@phpComment"],[/"/,"string.php","@phpDoubleQuoteString"],[/'/,"string.php","@phpSingleQuoteString"],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,\@]/,"delimiter.php"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.php"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.php"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.php"],[/0[0-7']*[0-7]/,"number.octal.php"],[/0[bB][0-1']*[0-1]/,"number.binary.php"],[/\d[\d']*/,"number.php"],[/\d/,"number.php"]],phpComment:[[/\*\//,"comment.php","@pop"],[/[^*]+/,"comment.php"],[/./,"comment.php"]],phpLineComment:[[/\?>/,{token:"@rematch",next:"@pop"}],[/.$/,"comment.php","@pop"],[/[^?]+$/,"comment.php","@pop"],[/[^?]+/,"comment.php"],[/./,"comment.php"]],phpDoubleQuoteString:[[/[^\\"]+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/"/,"string.php","@pop"]],phpSingleQuoteString:[[/[^\\']+/,"string.php"],[/@escapes/,"string.escape.php"],[/\\./,"string.escape.invalid.php"],[/'/,"string.php","@pop"]]},phpKeywords:["abstract","and","array","as","break","callable","case","catch","cfunction","class","clone","const","continue","declare","default","do","else","elseif","enddeclare","endfor","endforeach","endif","endswitch","endwhile","extends","false","final","for","foreach","function","global","goto","if","implements","interface","instanceof","insteadof","namespace","new","null","object","old_function","or","private","protected","public","resource","static","switch","throw","trait","try","true","use","var","while","xor","die","echo","empty","exit","eval","include","include_once","isset","list","require","require_once","return","print","unset","yield","__construct"],phpCompileTimeConstants:["__CLASS__","__DIR__","__FILE__","__LINE__","__NAMESPACE__","__METHOD__","__FUNCTION__","__TRAIT__"],phpPreDefinedVariables:["$GLOBALS","$_SERVER","$_GET","$_POST","$_FILES","$_REQUEST","$_SESSION","$_ENV","$_COOKIE","$php_errormsg","$HTTP_RAW_POST_DATA","$http_response_header","$argc","$argv"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/static/js/124.8ed5ea98.chunk.js b/static/js/125.cedf5389.chunk.js similarity index 98% rename from static/js/124.8ed5ea98.chunk.js rename to static/js/125.cedf5389.chunk.js index c74f077a8..f2895214d 100644 --- a/static/js/124.8ed5ea98.chunk.js +++ b/static/js/125.cedf5389.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[124],{YdqL:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[125],{YdqL:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return o}));var i={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},o={tokenPostfix:".pats",defaultToken:"invalid",keywords:["abstype","abst0ype","absprop","absview","absvtype","absviewtype","absvt0ype","absviewt0ype","as","and","assume","begin","classdec","datasort","datatype","dataprop","dataview","datavtype","dataviewtype","do","end","extern","extype","extvar","exception","fn","fnx","fun","prfn","prfun","praxi","castfn","if","then","else","ifcase","in","infix","infixl","infixr","prefix","postfix","implmnt","implement","primplmnt","primplement","import","let","local","macdef","macrodef","nonfix","symelim","symintr","overload","of","op","rec","sif","scase","sortdef","sta","stacst","stadef","static","staload","dynload","try","tkindef","typedef","propdef","viewdef","vtypedef","viewtypedef","prval","var","prvar","when","where","with","withtype","withprop","withview","withvtype","withviewtype"],keywords_dlr:["$delay","$ldelay","$arrpsz","$arrptrsize","$d2ctype","$effmask","$effmask_ntm","$effmask_exn","$effmask_ref","$effmask_wrt","$effmask_all","$extern","$extkind","$extype","$extype_struct","$extval","$extfcall","$extmcall","$literal","$myfilename","$mylocation","$myfunction","$lst","$lst_t","$lst_vt","$list","$list_t","$list_vt","$rec","$rec_t","$rec_vt","$record","$record_t","$record_vt","$tup","$tup_t","$tup_vt","$tuple","$tuple_t","$tuple_vt","$break","$continue","$raise","$showtype","$vcopyenv_v","$vcopyenv_vt","$tempenver","$solver_assert","$solver_verify"],keywords_srp:["#if","#ifdef","#ifndef","#then","#elif","#elifdef","#elifndef","#else","#endif","#error","#prerr","#print","#assert","#undef","#define","#include","#require","#pragma","#codegen2","#codegen3"],irregular_keyword_list:["val+","val-","val","case+","case-","case","addr@","addr","fold@","free@","fix@","fix","lam@","lam","llam@","llam","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","view+","view-","view@","view","type+","type-","type","vtype+","vtype-","vtype","vt@ype+","vt@ype-","vt@ype","viewt@ype+","viewt@ype-","viewt@ype","viewtype+","viewtype-","viewtype","prop+","prop-","prop","type+","type-","type","t@ype","t@ype+","t@ype-","abst@ype","abstype","absviewt@ype","absvt@ype","for*","for","while*","while"],keywords_types:["bool","double","byte","int","short","char","void","unit","long","float","string","strptr"],keywords_effects:["0","fun","clo","prf","funclo","cloptr","cloref","ref","ntm","1"],operators:["@","!","|","`",":","$",".","=","#","~","..","...","=>","=<>","=/=>","=>>","=/=>>","<",">","><",".<",">.",".<>.","->","-<>"],brackets:[{open:",(",close:")",token:"delimiter.parenthesis"},{open:"`(",close:")",token:"delimiter.parenthesis"},{open:"%(",close:")",token:"delimiter.parenthesis"},{open:"'(",close:")",token:"delimiter.parenthesis"},{open:"'{",close:"}",token:"delimiter.parenthesis"},{open:"@(",close:")",token:"delimiter.parenthesis"},{open:"@{",close:"}",token:"delimiter.brace"},{open:"@[",close:"]",token:"delimiter.square"},{open:"#[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=>]/,digit:/[0-9]/,digitseq0:/@digit*/,xdigit:/[0-9A-Za-z]/,xdigitseq0:/@xdigit*/,INTSP:/[lLuU]/,FLOATSP:/[fFlL]/,fexponent:/[eE][+-]?[0-9]+/,fexponent_bin:/[pP][+-]?[0-9]+/,deciexp:/\.[0-9]*@fexponent?/,hexiexp:/\.[0-9a-zA-Z]*@fexponent_bin?/,irregular_keywords:/val[+-]?|case[+-]?|addr\@?|fold\@|free\@|fix\@?|lam\@?|llam\@?|prop[+-]?|type[+-]?|view[+-@]?|viewt@?ype[+-]?|t@?ype[+-]?|v(iew)?t@?ype[+-]?|abst@?ype|absv(iew)?t@?ype|for\*?|while\*?/,ESCHAR:/[ntvbrfa\\\?'"\(\[\{]/,start:"root",tokenizer:{root:[{regex:/[ \t\r\n]+/,action:{token:""}},{regex:/\(\*\)/,action:{token:"invalid"}},{regex:/\(\*/,action:{token:"comment",next:"lexing_COMMENT_block_ml"}},{regex:/\(/,action:"@brackets"},{regex:/\)/,action:"@brackets"},{regex:/\[/,action:"@brackets"},{regex:/\]/,action:"@brackets"},{regex:/\{/,action:"@brackets"},{regex:/\}/,action:"@brackets"},{regex:/,\(/,action:"@brackets"},{regex:/,/,action:{token:"delimiter.comma"}},{regex:/;/,action:{token:"delimiter.semicolon"}},{regex:/@\(/,action:"@brackets"},{regex:/@\[/,action:"@brackets"},{regex:/@\{/,action:"@brackets"},{regex:/:/,action:{token:"@rematch",next:"@pop"}}],lexing_EXTCODE:[{regex:/^%}/,action:{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}},{regex:/[^%]+/,action:""}],lexing_DQUOTE:[{regex:/"/,action:{token:"string.quote",next:"@pop"}},{regex:/(\{\$)(@IDENTFST@IDENTRST*)(\})/,action:[{token:"string.escape"},{token:"identifier"},{token:"string.escape"}]},{regex:/\\$/,action:{token:"string.escape"}},{regex:/\\(@ESCHAR|[xX]@xdigit+|@digit+)/,action:{token:"string.escape"}},{regex:/[^\\"]+/,action:{token:"string"}}]}}}}]); \ No newline at end of file diff --git a/static/js/125.ab35dcf0.chunk.js b/static/js/126.4230c37f.chunk.js similarity index 99% rename from static/js/125.ab35dcf0.chunk.js rename to static/js/126.4230c37f.chunk.js index c5f04a94b..fe65daeae 100644 --- a/static/js/125.ab35dcf0.chunk.js +++ b/static/js/126.4230c37f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[125],{W1QP:function(e,t,a){"use strict";a.r(t),a.d(t,"conf",(function(){return n})),a.d(t,"language",(function(){return i}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},i={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[126],{W1QP:function(e,t,a){"use strict";a.r(t),a.d(t,"conf",(function(){return n})),a.d(t,"language",(function(){return i}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment","identifier"]},{open:"[",close:"]",notIn:["string","comment","identifier"]},{open:"(",close:")",notIn:["string","comment","identifier"]},{open:"{",close:"}",notIn:["string","comment","identifier"]}]},i={defaultToken:"",tokenPostfix:".pq",ignoreCase:!1,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"{",close:"}",token:"delimiter.brackets"},{open:"(",close:")",token:"delimiter.parenthesis"}],operatorKeywords:["and","not","or"],keywords:["as","each","else","error","false","if","in","is","let","meta","otherwise","section","shared","then","true","try","type"],constructors:["#binary","#date","#datetime","#datetimezone","#duration","#table","#time"],constants:["#infinity","#nan","#sections","#shared"],typeKeywords:["action","any","anynonnull","none","null","logical","number","time","date","datetime","datetimezone","duration","text","binary","list","record","table","function"],builtinFunctions:["Access.Database","Action.Return","Action.Sequence","Action.Try","ActiveDirectory.Domains","AdoDotNet.DataSource","AdoDotNet.Query","AdobeAnalytics.Cubes","AnalysisServices.Database","AnalysisServices.Databases","AzureStorage.BlobContents","AzureStorage.Blobs","AzureStorage.Tables","Binary.Buffer","Binary.Combine","Binary.Compress","Binary.Decompress","Binary.End","Binary.From","Binary.FromList","Binary.FromText","Binary.InferContentType","Binary.Length","Binary.ToList","Binary.ToText","BinaryFormat.7BitEncodedSignedInteger","BinaryFormat.7BitEncodedUnsignedInteger","BinaryFormat.Binary","BinaryFormat.Byte","BinaryFormat.ByteOrder","BinaryFormat.Choice","BinaryFormat.Decimal","BinaryFormat.Double","BinaryFormat.Group","BinaryFormat.Length","BinaryFormat.List","BinaryFormat.Null","BinaryFormat.Record","BinaryFormat.SignedInteger16","BinaryFormat.SignedInteger32","BinaryFormat.SignedInteger64","BinaryFormat.Single","BinaryFormat.Text","BinaryFormat.Transform","BinaryFormat.UnsignedInteger16","BinaryFormat.UnsignedInteger32","BinaryFormat.UnsignedInteger64","Byte.From","Character.FromNumber","Character.ToNumber","Combiner.CombineTextByDelimiter","Combiner.CombineTextByEachDelimiter","Combiner.CombineTextByLengths","Combiner.CombineTextByPositions","Combiner.CombineTextByRanges","Comparer.Equals","Comparer.FromCulture","Comparer.Ordinal","Comparer.OrdinalIgnoreCase","Csv.Document","Cube.AddAndExpandDimensionColumn","Cube.AddMeasureColumn","Cube.ApplyParameter","Cube.AttributeMemberId","Cube.AttributeMemberProperty","Cube.CollapseAndRemoveColumns","Cube.Dimensions","Cube.DisplayFolders","Cube.Measures","Cube.Parameters","Cube.Properties","Cube.PropertyKey","Cube.ReplaceDimensions","Cube.Transform","Currency.From","DB2.Database","Date.AddDays","Date.AddMonths","Date.AddQuarters","Date.AddWeeks","Date.AddYears","Date.Day","Date.DayOfWeek","Date.DayOfWeekName","Date.DayOfYear","Date.DaysInMonth","Date.EndOfDay","Date.EndOfMonth","Date.EndOfQuarter","Date.EndOfWeek","Date.EndOfYear","Date.From","Date.FromText","Date.IsInCurrentDay","Date.IsInCurrentMonth","Date.IsInCurrentQuarter","Date.IsInCurrentWeek","Date.IsInCurrentYear","Date.IsInNextDay","Date.IsInNextMonth","Date.IsInNextNDays","Date.IsInNextNMonths","Date.IsInNextNQuarters","Date.IsInNextNWeeks","Date.IsInNextNYears","Date.IsInNextQuarter","Date.IsInNextWeek","Date.IsInNextYear","Date.IsInPreviousDay","Date.IsInPreviousMonth","Date.IsInPreviousNDays","Date.IsInPreviousNMonths","Date.IsInPreviousNQuarters","Date.IsInPreviousNWeeks","Date.IsInPreviousNYears","Date.IsInPreviousQuarter","Date.IsInPreviousWeek","Date.IsInPreviousYear","Date.IsInYearToDate","Date.IsLeapYear","Date.Month","Date.MonthName","Date.QuarterOfYear","Date.StartOfDay","Date.StartOfMonth","Date.StartOfQuarter","Date.StartOfWeek","Date.StartOfYear","Date.ToRecord","Date.ToText","Date.WeekOfMonth","Date.WeekOfYear","Date.Year","DateTime.AddZone","DateTime.Date","DateTime.FixedLocalNow","DateTime.From","DateTime.FromFileTime","DateTime.FromText","DateTime.IsInCurrentHour","DateTime.IsInCurrentMinute","DateTime.IsInCurrentSecond","DateTime.IsInNextHour","DateTime.IsInNextMinute","DateTime.IsInNextNHours","DateTime.IsInNextNMinutes","DateTime.IsInNextNSeconds","DateTime.IsInNextSecond","DateTime.IsInPreviousHour","DateTime.IsInPreviousMinute","DateTime.IsInPreviousNHours","DateTime.IsInPreviousNMinutes","DateTime.IsInPreviousNSeconds","DateTime.IsInPreviousSecond","DateTime.LocalNow","DateTime.Time","DateTime.ToRecord","DateTime.ToText","DateTimeZone.FixedLocalNow","DateTimeZone.FixedUtcNow","DateTimeZone.From","DateTimeZone.FromFileTime","DateTimeZone.FromText","DateTimeZone.LocalNow","DateTimeZone.RemoveZone","DateTimeZone.SwitchZone","DateTimeZone.ToLocal","DateTimeZone.ToRecord","DateTimeZone.ToText","DateTimeZone.ToUtc","DateTimeZone.UtcNow","DateTimeZone.ZoneHours","DateTimeZone.ZoneMinutes","Decimal.From","Diagnostics.ActivityId","Diagnostics.Trace","DirectQueryCapabilities.From","Double.From","Duration.Days","Duration.From","Duration.FromText","Duration.Hours","Duration.Minutes","Duration.Seconds","Duration.ToRecord","Duration.ToText","Duration.TotalDays","Duration.TotalHours","Duration.TotalMinutes","Duration.TotalSeconds","Embedded.Value","Error.Record","Excel.CurrentWorkbook","Excel.Workbook","Exchange.Contents","Expression.Constant","Expression.Evaluate","Expression.Identifier","Facebook.Graph","File.Contents","Folder.Contents","Folder.Files","Function.From","Function.Invoke","Function.InvokeAfter","Function.IsDataSource","GoogleAnalytics.Accounts","Guid.From","HdInsight.Containers","HdInsight.Contents","HdInsight.Files","Hdfs.Contents","Hdfs.Files","Informix.Database","Int16.From","Int32.From","Int64.From","Int8.From","ItemExpression.From","Json.Document","Json.FromValue","Lines.FromBinary","Lines.FromText","Lines.ToBinary","Lines.ToText","List.Accumulate","List.AllTrue","List.Alternate","List.AnyTrue","List.Average","List.Buffer","List.Combine","List.Contains","List.ContainsAll","List.ContainsAny","List.Count","List.Covariance","List.DateTimeZones","List.DateTimes","List.Dates","List.Difference","List.Distinct","List.Durations","List.FindText","List.First","List.FirstN","List.Generate","List.InsertRange","List.Intersect","List.IsDistinct","List.IsEmpty","List.Last","List.LastN","List.MatchesAll","List.MatchesAny","List.Max","List.MaxN","List.Median","List.Min","List.MinN","List.Mode","List.Modes","List.NonNullCount","List.Numbers","List.PositionOf","List.PositionOfAny","List.Positions","List.Product","List.Random","List.Range","List.RemoveFirstN","List.RemoveItems","List.RemoveLastN","List.RemoveMatchingItems","List.RemoveNulls","List.RemoveRange","List.Repeat","List.ReplaceMatchingItems","List.ReplaceRange","List.ReplaceValue","List.Reverse","List.Select","List.Single","List.SingleOrDefault","List.Skip","List.Sort","List.StandardDeviation","List.Sum","List.Times","List.Transform","List.TransformMany","List.Union","List.Zip","Logical.From","Logical.FromText","Logical.ToText","MQ.Queue","MySQL.Database","Number.Abs","Number.Acos","Number.Asin","Number.Atan","Number.Atan2","Number.BitwiseAnd","Number.BitwiseNot","Number.BitwiseOr","Number.BitwiseShiftLeft","Number.BitwiseShiftRight","Number.BitwiseXor","Number.Combinations","Number.Cos","Number.Cosh","Number.Exp","Number.Factorial","Number.From","Number.FromText","Number.IntegerDivide","Number.IsEven","Number.IsNaN","Number.IsOdd","Number.Ln","Number.Log","Number.Log10","Number.Mod","Number.Permutations","Number.Power","Number.Random","Number.RandomBetween","Number.Round","Number.RoundAwayFromZero","Number.RoundDown","Number.RoundTowardZero","Number.RoundUp","Number.Sign","Number.Sin","Number.Sinh","Number.Sqrt","Number.Tan","Number.Tanh","Number.ToText","OData.Feed","Odbc.DataSource","Odbc.Query","OleDb.DataSource","OleDb.Query","Oracle.Database","Percentage.From","PostgreSQL.Database","RData.FromBinary","Record.AddField","Record.Combine","Record.Field","Record.FieldCount","Record.FieldNames","Record.FieldOrDefault","Record.FieldValues","Record.FromList","Record.FromTable","Record.HasFields","Record.RemoveFields","Record.RenameFields","Record.ReorderFields","Record.SelectFields","Record.ToList","Record.ToTable","Record.TransformFields","Replacer.ReplaceText","Replacer.ReplaceValue","RowExpression.Column","RowExpression.From","Salesforce.Data","Salesforce.Reports","SapBusinessWarehouse.Cubes","SapHana.Database","SharePoint.Contents","SharePoint.Files","SharePoint.Tables","Single.From","Soda.Feed","Splitter.SplitByNothing","Splitter.SplitTextByAnyDelimiter","Splitter.SplitTextByDelimiter","Splitter.SplitTextByEachDelimiter","Splitter.SplitTextByLengths","Splitter.SplitTextByPositions","Splitter.SplitTextByRanges","Splitter.SplitTextByRepeatedLengths","Splitter.SplitTextByWhitespace","Sql.Database","Sql.Databases","SqlExpression.SchemaFrom","SqlExpression.ToExpression","Sybase.Database","Table.AddColumn","Table.AddIndexColumn","Table.AddJoinColumn","Table.AddKey","Table.AggregateTableColumn","Table.AlternateRows","Table.Buffer","Table.Column","Table.ColumnCount","Table.ColumnNames","Table.ColumnsOfType","Table.Combine","Table.CombineColumns","Table.Contains","Table.ContainsAll","Table.ContainsAny","Table.DemoteHeaders","Table.Distinct","Table.DuplicateColumn","Table.ExpandListColumn","Table.ExpandRecordColumn","Table.ExpandTableColumn","Table.FillDown","Table.FillUp","Table.FilterWithDataTable","Table.FindText","Table.First","Table.FirstN","Table.FirstValue","Table.FromColumns","Table.FromList","Table.FromPartitions","Table.FromRecords","Table.FromRows","Table.FromValue","Table.Group","Table.HasColumns","Table.InsertRows","Table.IsDistinct","Table.IsEmpty","Table.Join","Table.Keys","Table.Last","Table.LastN","Table.MatchesAllRows","Table.MatchesAnyRows","Table.Max","Table.MaxN","Table.Min","Table.MinN","Table.NestedJoin","Table.Partition","Table.PartitionValues","Table.Pivot","Table.PositionOf","Table.PositionOfAny","Table.PrefixColumns","Table.Profile","Table.PromoteHeaders","Table.Range","Table.RemoveColumns","Table.RemoveFirstN","Table.RemoveLastN","Table.RemoveMatchingRows","Table.RemoveRows","Table.RemoveRowsWithErrors","Table.RenameColumns","Table.ReorderColumns","Table.Repeat","Table.ReplaceErrorValues","Table.ReplaceKeys","Table.ReplaceMatchingRows","Table.ReplaceRelationshipIdentity","Table.ReplaceRows","Table.ReplaceValue","Table.ReverseRows","Table.RowCount","Table.Schema","Table.SelectColumns","Table.SelectRows","Table.SelectRowsWithErrors","Table.SingleRow","Table.Skip","Table.Sort","Table.SplitColumn","Table.ToColumns","Table.ToList","Table.ToRecords","Table.ToRows","Table.TransformColumnNames","Table.TransformColumnTypes","Table.TransformColumns","Table.TransformRows","Table.Transpose","Table.Unpivot","Table.UnpivotOtherColumns","Table.View","Table.ViewFunction","TableAction.DeleteRows","TableAction.InsertRows","TableAction.UpdateRows","Tables.GetRelationships","Teradata.Database","Text.AfterDelimiter","Text.At","Text.BeforeDelimiter","Text.BetweenDelimiters","Text.Clean","Text.Combine","Text.Contains","Text.End","Text.EndsWith","Text.Format","Text.From","Text.FromBinary","Text.Insert","Text.Length","Text.Lower","Text.Middle","Text.NewGuid","Text.PadEnd","Text.PadStart","Text.PositionOf","Text.PositionOfAny","Text.Proper","Text.Range","Text.Remove","Text.RemoveRange","Text.Repeat","Text.Replace","Text.ReplaceRange","Text.Select","Text.Split","Text.SplitAny","Text.Start","Text.StartsWith","Text.ToBinary","Text.ToList","Text.Trim","Text.TrimEnd","Text.TrimStart","Text.Upper","Time.EndOfHour","Time.From","Time.FromText","Time.Hour","Time.Minute","Time.Second","Time.StartOfHour","Time.ToRecord","Time.ToText","Type.AddTableKey","Type.ClosedRecord","Type.Facets","Type.ForFunction","Type.ForRecord","Type.FunctionParameters","Type.FunctionRequiredParameters","Type.FunctionReturn","Type.Is","Type.IsNullable","Type.IsOpenRecord","Type.ListItem","Type.NonNullable","Type.OpenRecord","Type.RecordFields","Type.ReplaceFacets","Type.ReplaceTableKeys","Type.TableColumn","Type.TableKeys","Type.TableRow","Type.TableSchema","Type.Union","Uri.BuildQueryString","Uri.Combine","Uri.EscapeDataString","Uri.Parts","Value.Add","Value.As","Value.Compare","Value.Divide","Value.Equals","Value.Firewall","Value.FromText","Value.Is","Value.Metadata","Value.Multiply","Value.NativeQuery","Value.NullableEquals","Value.RemoveMetadata","Value.ReplaceMetadata","Value.ReplaceType","Value.Subtract","Value.Type","ValueAction.NativeStatement","ValueAction.Replace","Variable.Value","Web.Contents","Web.Page","WebAction.Request","Xml.Document","Xml.Tables"],builtinConstants:["BinaryEncoding.Base64","BinaryEncoding.Hex","BinaryOccurrence.Optional","BinaryOccurrence.Repeating","BinaryOccurrence.Required","ByteOrder.BigEndian","ByteOrder.LittleEndian","Compression.Deflate","Compression.GZip","CsvStyle.QuoteAfterDelimiter","CsvStyle.QuoteAlways","Culture.Current","Day.Friday","Day.Monday","Day.Saturday","Day.Sunday","Day.Thursday","Day.Tuesday","Day.Wednesday","ExtraValues.Error","ExtraValues.Ignore","ExtraValues.List","GroupKind.Global","GroupKind.Local","JoinAlgorithm.Dynamic","JoinAlgorithm.LeftHash","JoinAlgorithm.LeftIndex","JoinAlgorithm.PairwiseHash","JoinAlgorithm.RightHash","JoinAlgorithm.RightIndex","JoinAlgorithm.SortMerge","JoinKind.FullOuter","JoinKind.Inner","JoinKind.LeftAnti","JoinKind.LeftOuter","JoinKind.RightAnti","JoinKind.RightOuter","JoinSide.Left","JoinSide.Right","MissingField.Error","MissingField.Ignore","MissingField.UseNull","Number.E","Number.Epsilon","Number.NaN","Number.NegativeInfinity","Number.PI","Number.PositiveInfinity","Occurrence.All","Occurrence.First","Occurrence.Last","Occurrence.Optional","Occurrence.Repeating","Occurrence.Required","Order.Ascending","Order.Descending","Precision.Decimal","Precision.Double","QuoteStyle.Csv","QuoteStyle.None","RelativePosition.FromEnd","RelativePosition.FromStart","RoundingMode.AwayFromZero","RoundingMode.Down","RoundingMode.ToEven","RoundingMode.TowardZero","RoundingMode.Up","SapHanaDistribution.All","SapHanaDistribution.Connection","SapHanaDistribution.Off","SapHanaDistribution.Statement","SapHanaRangeOperator.Equals","SapHanaRangeOperator.GreaterThan","SapHanaRangeOperator.GreaterThanOrEquals","SapHanaRangeOperator.LessThan","SapHanaRangeOperator.LessThanOrEquals","SapHanaRangeOperator.NotEquals","TextEncoding.Ascii","TextEncoding.BigEndianUnicode","TextEncoding.Unicode","TextEncoding.Utf16","TextEncoding.Utf8","TextEncoding.Windows","TraceLevel.Critical","TraceLevel.Error","TraceLevel.Information","TraceLevel.Verbose","TraceLevel.Warning","WebMethod.Delete","WebMethod.Get","WebMethod.Head","WebMethod.Patch","WebMethod.Post","WebMethod.Put"],builtinTypes:["Action.Type","Any.Type","Binary.Type","BinaryEncoding.Type","BinaryOccurrence.Type","Byte.Type","ByteOrder.Type","Character.Type","Compression.Type","CsvStyle.Type","Currency.Type","Date.Type","DateTime.Type","DateTimeZone.Type","Day.Type","Decimal.Type","Double.Type","Duration.Type","ExtraValues.Type","Function.Type","GroupKind.Type","Guid.Type","Int16.Type","Int32.Type","Int64.Type","Int8.Type","JoinAlgorithm.Type","JoinKind.Type","JoinSide.Type","List.Type","Logical.Type","MissingField.Type","None.Type","Null.Type","Number.Type","Occurrence.Type","Order.Type","Password.Type","Percentage.Type","Precision.Type","QuoteStyle.Type","Record.Type","RelativePosition.Type","RoundingMode.Type","SapHanaDistribution.Type","SapHanaRangeOperator.Type","Single.Type","Table.Type","Text.Type","TextEncoding.Type","Time.Type","TraceLevel.Type","Type.Type","Uri.Type","WebMethod.Type"],tokenizer:{root:[[/#"[\w \.]+"/,"identifier.quote"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+([eE][\-+]?\d+)?/,"number"],[/(#?[a-z]+)\b/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@constructors":"constructor","@operatorKeywords":"operators","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.Type)\b/,{cases:{"@builtinTypes":"type","@default":"identifier"}}],[/\b([A-Z][a-zA-Z0-9]+\.[A-Z][a-zA-Z0-9]+)\b/,{cases:{"@builtinFunctions":"keyword.function","@builtinConstants":"constant","@default":"identifier"}}],[/\b([a-zA-Z_][\w\.]*)\b/,"identifier"],{include:"@whitespace"},{include:"@comments"},{include:"@strings"},[/[{}()\[\]]/,"@brackets"],[/([=\+<>\-\*&@\?\/!])|([<>]=)|(<>)|(=>)|(\.\.\.)|(\.\.)/,"operators"],[/[,;]/,"delimiter"]],whitespace:[[/\s+/,"white"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],strings:[['"',"string","@string"]],string:[['""',"string.escape"],['"',"string","@pop"],[".","string"]]}}}}]); \ No newline at end of file diff --git a/static/js/126.33b7fda5.chunk.js b/static/js/127.f5d82427.chunk.js similarity index 97% rename from static/js/126.33b7fda5.chunk.js rename to static/js/127.f5d82427.chunk.js index e00379f4e..5a253c079 100644 --- a/static/js/126.33b7fda5.chunk.js +++ b/static/js/127.f5d82427.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[126],{ppMK:function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return t})),s.d(n,"language",(function(){return o}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[127],{ppMK:function(e,n,s){"use strict";s.r(n),s.d(n,"conf",(function(){return t})),s.d(n,"language",(function(){return o}));var t={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"#",blockComment:["<#","#>"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".ps1",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["begin","break","catch","class","continue","data","define","do","dynamicparam","else","elseif","end","exit","filter","finally","for","foreach","from","function","if","in","param","process","return","switch","throw","trap","try","until","using","var","while","workflow","parallel","sequence","inlinescript","configuration"],helpKeywords:/SYNOPSIS|DESCRIPTION|PARAMETER|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|ROLE|FUNCTIONALITY|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP/,symbols:/[=>/,"comment","@pop"],[/(\.)(@helpKeywords)(?!\w)/,{token:"comment.keyword.$2"}],[/[\.#]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/static/js/127.eefb50d3.chunk.js b/static/js/128.db26e0a4.chunk.js similarity index 97% rename from static/js/127.eefb50d3.chunk.js rename to static/js/128.db26e0a4.chunk.js index 9d5001507..94bd1c23f 100644 --- a/static/js/127.eefb50d3.chunk.js +++ b/static/js/128.db26e0a4.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[127],{"I+Au":function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return a}));var o={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}],folding:{offSide:!0}},a={defaultToken:"",tokenPostfix:".pug",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],keywords:["append","block","case","default","doctype","each","else","extends","for","if","in","include","mixin","typeof","unless","var","when"],tags:["a","abbr","acronym","address","area","article","aside","audio","b","base","basefont","bdi","bdo","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","keygen","kbd","label","li","link","map","mark","menu","meta","meter","nav","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strike","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","tracks","tt","u","ul","video","wbr"],symbols:/[\+\-\*\%\&\|\!\=\/\.\,\:]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)([a-zA-Z_-][\w-]*)/,{cases:{"$2@tags":{cases:{"@eos":["","tag"],"@default":["",{token:"tag",next:"@tag.$1"}]}},"$2@keywords":["",{token:"keyword.$2"}],"@default":["",""]}}],[/^(\s*)(#[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.id"],"@default":["",{token:"tag.id",next:"@tag.$1"}]}}],[/^(\s*)(\.[a-zA-Z_-][\w-]*)/,{cases:{"@eos":["","tag.class"],"@default":["",{token:"tag.class",next:"@tag.$1"}]}}],[/^(\s*)(\|.*)$/,""],{include:"@whitespace"},[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":""}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],tag:[[/(\.)(\s*$)/,[{token:"delimiter",next:"@blockText.$S2."},""]],[/\s+/,{token:"",next:"@simpleText"}],[/#[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.id",next:"@pop"},"@default":"tag.id"}}],[/\.[a-zA-Z_-][\w-]*/,{cases:{"@eos":{token:"tag.class",next:"@pop"},"@default":"tag.class"}}],[/\(/,{token:"delimiter.parenthesis",next:"@attributeList"}]],simpleText:[[/[^#]+$/,{token:"",next:"@popall"}],[/[^#]+/,{token:""}],[/(#{)([^}]*)(})/,{cases:{"@eos":["interpolation.delimiter","interpolation",{token:"interpolation.delimiter",next:"@popall"}],"@default":["interpolation.delimiter","interpolation","interpolation.delimiter"]}}],[/#$/,{token:"",next:"@popall"}],[/#/,""]],attributeList:[[/\s+/,""],[/(\w+)(\s*=\s*)("|')/,["attribute.name","delimiter",{token:"attribute.value",next:"@value.$3"}]],[/\w+/,"attribute.name"],[/,/,{cases:{"@eos":{token:"attribute.delimiter",next:"@popall"},"@default":"attribute.delimiter"}}],[/\)$/,{token:"delimiter.parenthesis",next:"@popall"}],[/\)/,{token:"delimiter.parenthesis",next:"@pop"}]],whitespace:[[/^(\s*)(\/\/.*)$/,{token:"comment",next:"@blockText.$1.comment"}],[/[ \t\r\n]+/,""],[//,{token:"comment",next:"@pop"}],[//,{token:"comment",next:"@pop"}],[//,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[131],{Fzfo:function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return i})),o.d(t,"language",(function(){return m}));var r="undefined"==typeof monaco?self.monaco:monaco,n=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["\x3c!--","--\x3e"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+n.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+n.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:r.languages.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)(\w+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/}}}]); \ No newline at end of file diff --git a/static/js/131.ce9f6a9d.chunk.js b/static/js/132.201f407d.chunk.js similarity index 97% rename from static/js/131.ce9f6a9d.chunk.js rename to static/js/132.201f407d.chunk.js index 99f263ae6..56ed151c1 100644 --- a/static/js/131.ce9f6a9d.chunk.js +++ b/static/js/132.201f407d.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[131],{j6Xs:function(E,S,e){"use strict";e.r(S),e.d(S,"conf",(function(){return T})),e.d(S,"language",(function(){return R}));var T={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},R={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[132],{j6Xs:function(E,S,e){"use strict";e.r(S),e.d(S,"conf",(function(){return T})),e.d(S,"language",(function(){return R}));var T={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},R={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/static/js/132.10f0fc4a.chunk.js b/static/js/133.463f1f51.chunk.js similarity index 99% rename from static/js/132.10f0fc4a.chunk.js rename to static/js/133.463f1f51.chunk.js index 6bab5fdb1..a25271c40 100644 --- a/static/js/132.10f0fc4a.chunk.js +++ b/static/js/133.463f1f51.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[132],{KpXS:function(e,_,t){"use strict";t.r(_),t.d(_,"conf",(function(){return r})),t.d(_,"language",(function(){return i}));var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[133],{KpXS:function(e,_,t){"use strict";t.r(_),t.d(_,"conf",(function(){return r})),t.d(_,"language",(function(){return i}));var r={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},i={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY13","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}}}}]); \ No newline at end of file diff --git a/static/js/133.03cac9d1.chunk.js b/static/js/134.4cc73d58.chunk.js similarity index 98% rename from static/js/133.03cac9d1.chunk.js rename to static/js/134.4cc73d58.chunk.js index e4fe6b0e6..fd4d7152c 100644 --- a/static/js/133.03cac9d1.chunk.js +++ b/static/js/134.4cc73d58.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[133],{"3MdH":function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var r={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},s={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[134],{"3MdH":function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return r})),n.d(t,"language",(function(){return s}));var r={comments:{lineComment:"#",blockComment:["=begin","=end"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],indentationRules:{increaseIndentPattern:new RegExp("^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while|case)|([^#]*\\sdo\\b)|([^#]*=\\s*(case|if|unless)))\\b([^#\\{;]|(\"|'|/).*\\4)*(#.*)?$"),decreaseIndentPattern:new RegExp("^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif|when)\\b)")}},s={tokenPostfix:".ruby",keywords:["__LINE__","__ENCODING__","__FILE__","BEGIN","END","alias","and","begin","break","case","class","def","defined?","do","else","elsif","end","ensure","for","false","if","in","module","next","nil","not","or","redo","rescue","retry","return","self","super","then","true","undef","unless","until","when","while","yield"],keywordops:["::","..","...","?",":","=>"],builtins:["require","public","private","include","extend","attr_reader","protected","private_class_method","protected_class_method","new"],declarations:["module","class","def","case","do","begin","for","if","while","until","unless"],linedecls:["def","case","do","begin","for","if","while","until","unless"],operators:["^","&","|","<=>","==","===","!~","=~",">",">=","<","<=","<<",">>","+","-","*","/","%","**","~","+@","-@","[]","[]=","`","+=","-=","*=","**=","/=","^=","%=","<<=",">>=","&=","&&=","||=","|="],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],symbols:/[=>"}],[/%([qws])(@delim)/,{token:"string.$1.delim",switchTo:"@qstring.$1.$2.$2"}],[/%r\(/,{token:"regexp.delim",switchTo:"@pregexp.(.)"}],[/%r\[/,{token:"regexp.delim",switchTo:"@pregexp.[.]"}],[/%r\{/,{token:"regexp.delim",switchTo:"@pregexp.{.}"}],[/%r"}],[/%r(@delim)/,{token:"regexp.delim",switchTo:"@pregexp.$1.$1"}],[/%(x|W|Q?)\(/,{token:"string.$1.delim",switchTo:"@qqstring.$1.(.)"}],[/%(x|W|Q?)\[/,{token:"string.$1.delim",switchTo:"@qqstring.$1.[.]"}],[/%(x|W|Q?)\{/,{token:"string.$1.delim",switchTo:"@qqstring.$1.{.}"}],[/%(x|W|Q?)"}],[/%(x|W|Q?)(@delim)/,{token:"string.$1.delim",switchTo:"@qqstring.$1.$2.$2"}],[/%([rqwsxW]|Q?)./,{token:"invalid",next:"@pop"}],[/./,{token:"invalid",next:"@pop"}]],qstring:[[/\\$/,"string.$S2.escape"],[/\\./,"string.$S2.escape"],[/./,{cases:{"$#==$S4":{token:"string.$S2.delim",next:"@pop"},"$#==$S3":{token:"string.$S2.delim",next:"@push"},"@default":"string.$S2"}}]],qqstring:[[/#/,"string.$S2.escape","@interpolated"],{include:"@qstring"}],whitespace:[[/[ \t\r\n]+/,""],[/^\s*=begin\b/,"comment","@comment"],[/#.*$/,"comment"]],comment:[[/[^=]+/,"comment"],[/^\s*=begin\b/,"comment.invalid"],[/^\s*=end\b.*/,"comment","@pop"],[/[=]/,"comment"]]}}}}]); \ No newline at end of file diff --git a/static/js/134.fb7521a2.chunk.js b/static/js/135.9705d89e.chunk.js similarity index 97% rename from static/js/134.fb7521a2.chunk.js rename to static/js/135.9705d89e.chunk.js index 8fb7fa336..c87f351e9 100644 --- a/static/js/134.fb7521a2.chunk.js +++ b/static/js/135.9705d89e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[134],{"/0xJ":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},s={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[135],{"/0xJ":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return s}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},s={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","box","break","const","continue","crate","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'\S'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}}}}]); \ No newline at end of file diff --git a/static/js/135.19af1e1c.chunk.js b/static/js/136.c384cb63.chunk.js similarity index 94% rename from static/js/135.19af1e1c.chunk.js rename to static/js/136.c384cb63.chunk.js index 61d7ea22c..b27651196 100644 --- a/static/js/135.19af1e1c.chunk.js +++ b/static/js/136.c384cb63.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[135],{ynbn:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[136],{ynbn:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"'"},brackets:[["(",")"],["[","]"],["If","EndIf"],["While","EndWhile"],["For","EndFor"],["Sub","EndSub"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]}]},r={defaultToken:"",tokenPostfix:".sb",ignoreCase:!0,brackets:[{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"keyword.tag-if",open:"If",close:"EndIf"},{token:"keyword.tag-while",open:"While",close:"EndWhile"},{token:"keyword.tag-for",open:"For",close:"EndFor"},{token:"keyword.tag-sub",open:"Sub",close:"EndSub"}],keywords:["Else","ElseIf","EndFor","EndIf","EndSub","EndWhile","For","Goto","If","Step","Sub","Then","To","While"],tagwords:["If","Sub","While","For"],operators:[">","<","<>","<=",">=","And","Or","+","-","*","/","="],identifier:/[a-zA-Z_][\w]*/,symbols:/[=><:+\-*\/%\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},[/(@identifier)(?=[.])/,"type"],[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@operators":"operator","@default":"variable.name"}}],[/([.])(@identifier)/,{cases:{$2:["delimiter","type.member"],"@default":""}}],[/\d*\.\d+/,"number.float"],[/\d+/,"number"],[/[()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":"delimiter"}}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\').*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/static/js/136.55da5522.chunk.js b/static/js/137.07cf7acb.chunk.js similarity index 93% rename from static/js/136.55da5522.chunk.js rename to static/js/137.07cf7acb.chunk.js index ab2f3b34f..6faabf041 100644 --- a/static/js/136.55da5522.chunk.js +++ b/static/js/137.07cf7acb.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[136],{"fB/Z":function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return s}));var t={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[137],{"fB/Z":function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return s}));var t={comments:{lineComment:";",blockComment:["#|","|#"]},brackets:[["(",")"],["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".scheme",brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],keywords:["case","do","let","loop","if","else","when","cons","car","cdr","cond","lambda","lambda*","syntax-rules","format","set!","quote","eval","append","list","list?","member?","load"],constants:["#t","#f"],operators:["eq?","eqv?","equal?","and","or","not","null?"],tokenizer:{root:[[/#[xXoObB][0-9a-fA-F]+/,"number.hex"],[/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?/,"number.float"],[/(?:\b(?:(define|define-syntax|define-macro))\b)(\s+)((?:\w|\-|\!|\?)*)/,["keyword","white","variable"]],{include:"@whitespace"},{include:"@strings"},[/[a-zA-Z_#][a-zA-Z0-9_\-\?\!\*]*/,{cases:{"@keywords":"keyword","@constants":"constant","@operators":"operators","@default":"identifier"}}]],comment:[[/[^\|#]+/,"comment"],[/#\|/,"comment","@push"],[/\|#/,"comment","@pop"],[/[\|#]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/#\|/,"comment","@comment"],[/;.*$/,"comment"]],strings:[[/"$/,"string","@popall"],[/"(?=.)/,"string","@multiLineString"]],multiLineString:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string.escape"],[/"/,"string","@popall"],[/\\$/,"string"]]}}}}]); \ No newline at end of file diff --git a/static/js/137.f4a33edf.chunk.js b/static/js/138.4a7df898.chunk.js similarity index 98% rename from static/js/137.f4a33edf.chunk.js rename to static/js/138.4a7df898.chunk.js index 15880528c..8d8d9aae2 100644 --- a/static/js/137.f4a33edf.chunk.js +++ b/static/js/138.4a7df898.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[137],{QJnQ:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return i}));var o={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[138],{QJnQ:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return o})),n.d(t,"language",(function(){return i}));var o={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},i={defaultToken:"",tokenPostfix:".scss",ws:"[ \t\n\r\f]*",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},["[^)\r\n]+","string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}}}}]); \ No newline at end of file diff --git a/static/js/138.00dc84e9.chunk.js b/static/js/139.918d8c98.chunk.js similarity index 96% rename from static/js/138.00dc84e9.chunk.js rename to static/js/139.918d8c98.chunk.js index 36aa076fd..db04ca241 100644 --- a/static/js/138.00dc84e9.chunk.js +++ b/static/js/139.918d8c98.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[138],{"l/4i":function(e,r,t){"use strict";t.r(r),t.d(r,"conf",(function(){return i})),t.d(r,"language",(function(){return o}));var i={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},o={defaultToken:"",ignoreCase:!0,tokenPostfix:".shell",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"],builtins:["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"],symbols:/[=>=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 diff --git a/static/js/15.38e81f9b.chunk.js.LICENSE.txt b/static/js/14.f0cf283b.chunk.js.LICENSE.txt similarity index 100% rename from static/js/15.38e81f9b.chunk.js.LICENSE.txt rename to static/js/14.f0cf283b.chunk.js.LICENSE.txt diff --git a/static/js/139.5f8905d1.chunk.js b/static/js/140.f26d8cd9.chunk.js similarity index 99% rename from static/js/139.5f8905d1.chunk.js rename to static/js/140.f26d8cd9.chunk.js index e7fd19d41..a091aa41c 100644 --- a/static/js/139.5f8905d1.chunk.js +++ b/static/js/140.f26d8cd9.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[139],{Csoz:function(x,e,i){"use strict";i.r(e),i.d(e,"conf",(function(){return d})),i.d(e,"language",(function(){return f}));var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[140],{Csoz:function(x,e,i){"use strict";i.r(e),i.d(e,"conf",(function(){return d})),i.d(e,"language",(function(){return f}));var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:'"',close:'"',notIn:["string","comment"]},{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]}]},f={defaultToken:"",tokenPostfix:".sol",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["pragma","solidity","contract","library","using","struct","function","modifier","constructor","address","string","bool","Int","Uint","Byte","Fixed","Ufixed","int","int8","int16","int24","int32","int40","int48","int56","int64","int72","int80","int88","int96","int104","int112","int120","int128","int136","int144","int152","int160","int168","int176","int184","int192","int200","int208","int216","int224","int232","int240","int248","int256","uint","uint8","uint16","uint24","uint32","uint40","uint48","uint56","uint64","uint72","uint80","uint88","uint96","uint104","uint112","uint120","uint128","uint136","uint144","uint152","uint160","uint168","uint176","uint184","uint192","uint200","uint208","uint216","uint224","uint232","uint240","uint248","uint256","byte","bytes","bytes1","bytes2","bytes3","bytes4","bytes5","bytes6","bytes7","bytes8","bytes9","bytes10","bytes11","bytes12","bytes13","bytes14","bytes15","bytes16","bytes17","bytes18","bytes19","bytes20","bytes21","bytes22","bytes23","bytes24","bytes25","bytes26","bytes27","bytes28","bytes29","bytes30","bytes31","bytes32","fixed","fixed0x8","fixed0x16","fixed0x24","fixed0x32","fixed0x40","fixed0x48","fixed0x56","fixed0x64","fixed0x72","fixed0x80","fixed0x88","fixed0x96","fixed0x104","fixed0x112","fixed0x120","fixed0x128","fixed0x136","fixed0x144","fixed0x152","fixed0x160","fixed0x168","fixed0x176","fixed0x184","fixed0x192","fixed0x200","fixed0x208","fixed0x216","fixed0x224","fixed0x232","fixed0x240","fixed0x248","fixed0x256","fixed8x8","fixed8x16","fixed8x24","fixed8x32","fixed8x40","fixed8x48","fixed8x56","fixed8x64","fixed8x72","fixed8x80","fixed8x88","fixed8x96","fixed8x104","fixed8x112","fixed8x120","fixed8x128","fixed8x136","fixed8x144","fixed8x152","fixed8x160","fixed8x168","fixed8x176","fixed8x184","fixed8x192","fixed8x200","fixed8x208","fixed8x216","fixed8x224","fixed8x232","fixed8x240","fixed8x248","fixed16x8","fixed16x16","fixed16x24","fixed16x32","fixed16x40","fixed16x48","fixed16x56","fixed16x64","fixed16x72","fixed16x80","fixed16x88","fixed16x96","fixed16x104","fixed16x112","fixed16x120","fixed16x128","fixed16x136","fixed16x144","fixed16x152","fixed16x160","fixed16x168","fixed16x176","fixed16x184","fixed16x192","fixed16x200","fixed16x208","fixed16x216","fixed16x224","fixed16x232","fixed16x240","fixed24x8","fixed24x16","fixed24x24","fixed24x32","fixed24x40","fixed24x48","fixed24x56","fixed24x64","fixed24x72","fixed24x80","fixed24x88","fixed24x96","fixed24x104","fixed24x112","fixed24x120","fixed24x128","fixed24x136","fixed24x144","fixed24x152","fixed24x160","fixed24x168","fixed24x176","fixed24x184","fixed24x192","fixed24x200","fixed24x208","fixed24x216","fixed24x224","fixed24x232","fixed32x8","fixed32x16","fixed32x24","fixed32x32","fixed32x40","fixed32x48","fixed32x56","fixed32x64","fixed32x72","fixed32x80","fixed32x88","fixed32x96","fixed32x104","fixed32x112","fixed32x120","fixed32x128","fixed32x136","fixed32x144","fixed32x152","fixed32x160","fixed32x168","fixed32x176","fixed32x184","fixed32x192","fixed32x200","fixed32x208","fixed32x216","fixed32x224","fixed40x8","fixed40x16","fixed40x24","fixed40x32","fixed40x40","fixed40x48","fixed40x56","fixed40x64","fixed40x72","fixed40x80","fixed40x88","fixed40x96","fixed40x104","fixed40x112","fixed40x120","fixed40x128","fixed40x136","fixed40x144","fixed40x152","fixed40x160","fixed40x168","fixed40x176","fixed40x184","fixed40x192","fixed40x200","fixed40x208","fixed40x216","fixed48x8","fixed48x16","fixed48x24","fixed48x32","fixed48x40","fixed48x48","fixed48x56","fixed48x64","fixed48x72","fixed48x80","fixed48x88","fixed48x96","fixed48x104","fixed48x112","fixed48x120","fixed48x128","fixed48x136","fixed48x144","fixed48x152","fixed48x160","fixed48x168","fixed48x176","fixed48x184","fixed48x192","fixed48x200","fixed48x208","fixed56x8","fixed56x16","fixed56x24","fixed56x32","fixed56x40","fixed56x48","fixed56x56","fixed56x64","fixed56x72","fixed56x80","fixed56x88","fixed56x96","fixed56x104","fixed56x112","fixed56x120","fixed56x128","fixed56x136","fixed56x144","fixed56x152","fixed56x160","fixed56x168","fixed56x176","fixed56x184","fixed56x192","fixed56x200","fixed64x8","fixed64x16","fixed64x24","fixed64x32","fixed64x40","fixed64x48","fixed64x56","fixed64x64","fixed64x72","fixed64x80","fixed64x88","fixed64x96","fixed64x104","fixed64x112","fixed64x120","fixed64x128","fixed64x136","fixed64x144","fixed64x152","fixed64x160","fixed64x168","fixed64x176","fixed64x184","fixed64x192","fixed72x8","fixed72x16","fixed72x24","fixed72x32","fixed72x40","fixed72x48","fixed72x56","fixed72x64","fixed72x72","fixed72x80","fixed72x88","fixed72x96","fixed72x104","fixed72x112","fixed72x120","fixed72x128","fixed72x136","fixed72x144","fixed72x152","fixed72x160","fixed72x168","fixed72x176","fixed72x184","fixed80x8","fixed80x16","fixed80x24","fixed80x32","fixed80x40","fixed80x48","fixed80x56","fixed80x64","fixed80x72","fixed80x80","fixed80x88","fixed80x96","fixed80x104","fixed80x112","fixed80x120","fixed80x128","fixed80x136","fixed80x144","fixed80x152","fixed80x160","fixed80x168","fixed80x176","fixed88x8","fixed88x16","fixed88x24","fixed88x32","fixed88x40","fixed88x48","fixed88x56","fixed88x64","fixed88x72","fixed88x80","fixed88x88","fixed88x96","fixed88x104","fixed88x112","fixed88x120","fixed88x128","fixed88x136","fixed88x144","fixed88x152","fixed88x160","fixed88x168","fixed96x8","fixed96x16","fixed96x24","fixed96x32","fixed96x40","fixed96x48","fixed96x56","fixed96x64","fixed96x72","fixed96x80","fixed96x88","fixed96x96","fixed96x104","fixed96x112","fixed96x120","fixed96x128","fixed96x136","fixed96x144","fixed96x152","fixed96x160","fixed104x8","fixed104x16","fixed104x24","fixed104x32","fixed104x40","fixed104x48","fixed104x56","fixed104x64","fixed104x72","fixed104x80","fixed104x88","fixed104x96","fixed104x104","fixed104x112","fixed104x120","fixed104x128","fixed104x136","fixed104x144","fixed104x152","fixed112x8","fixed112x16","fixed112x24","fixed112x32","fixed112x40","fixed112x48","fixed112x56","fixed112x64","fixed112x72","fixed112x80","fixed112x88","fixed112x96","fixed112x104","fixed112x112","fixed112x120","fixed112x128","fixed112x136","fixed112x144","fixed120x8","fixed120x16","fixed120x24","fixed120x32","fixed120x40","fixed120x48","fixed120x56","fixed120x64","fixed120x72","fixed120x80","fixed120x88","fixed120x96","fixed120x104","fixed120x112","fixed120x120","fixed120x128","fixed120x136","fixed128x8","fixed128x16","fixed128x24","fixed128x32","fixed128x40","fixed128x48","fixed128x56","fixed128x64","fixed128x72","fixed128x80","fixed128x88","fixed128x96","fixed128x104","fixed128x112","fixed128x120","fixed128x128","fixed136x8","fixed136x16","fixed136x24","fixed136x32","fixed136x40","fixed136x48","fixed136x56","fixed136x64","fixed136x72","fixed136x80","fixed136x88","fixed136x96","fixed136x104","fixed136x112","fixed136x120","fixed144x8","fixed144x16","fixed144x24","fixed144x32","fixed144x40","fixed144x48","fixed144x56","fixed144x64","fixed144x72","fixed144x80","fixed144x88","fixed144x96","fixed144x104","fixed144x112","fixed152x8","fixed152x16","fixed152x24","fixed152x32","fixed152x40","fixed152x48","fixed152x56","fixed152x64","fixed152x72","fixed152x80","fixed152x88","fixed152x96","fixed152x104","fixed160x8","fixed160x16","fixed160x24","fixed160x32","fixed160x40","fixed160x48","fixed160x56","fixed160x64","fixed160x72","fixed160x80","fixed160x88","fixed160x96","fixed168x8","fixed168x16","fixed168x24","fixed168x32","fixed168x40","fixed168x48","fixed168x56","fixed168x64","fixed168x72","fixed168x80","fixed168x88","fixed176x8","fixed176x16","fixed176x24","fixed176x32","fixed176x40","fixed176x48","fixed176x56","fixed176x64","fixed176x72","fixed176x80","fixed184x8","fixed184x16","fixed184x24","fixed184x32","fixed184x40","fixed184x48","fixed184x56","fixed184x64","fixed184x72","fixed192x8","fixed192x16","fixed192x24","fixed192x32","fixed192x40","fixed192x48","fixed192x56","fixed192x64","fixed200x8","fixed200x16","fixed200x24","fixed200x32","fixed200x40","fixed200x48","fixed200x56","fixed208x8","fixed208x16","fixed208x24","fixed208x32","fixed208x40","fixed208x48","fixed216x8","fixed216x16","fixed216x24","fixed216x32","fixed216x40","fixed224x8","fixed224x16","fixed224x24","fixed224x32","fixed232x8","fixed232x16","fixed232x24","fixed240x8","fixed240x16","fixed248x8","ufixed","ufixed0x8","ufixed0x16","ufixed0x24","ufixed0x32","ufixed0x40","ufixed0x48","ufixed0x56","ufixed0x64","ufixed0x72","ufixed0x80","ufixed0x88","ufixed0x96","ufixed0x104","ufixed0x112","ufixed0x120","ufixed0x128","ufixed0x136","ufixed0x144","ufixed0x152","ufixed0x160","ufixed0x168","ufixed0x176","ufixed0x184","ufixed0x192","ufixed0x200","ufixed0x208","ufixed0x216","ufixed0x224","ufixed0x232","ufixed0x240","ufixed0x248","ufixed0x256","ufixed8x8","ufixed8x16","ufixed8x24","ufixed8x32","ufixed8x40","ufixed8x48","ufixed8x56","ufixed8x64","ufixed8x72","ufixed8x80","ufixed8x88","ufixed8x96","ufixed8x104","ufixed8x112","ufixed8x120","ufixed8x128","ufixed8x136","ufixed8x144","ufixed8x152","ufixed8x160","ufixed8x168","ufixed8x176","ufixed8x184","ufixed8x192","ufixed8x200","ufixed8x208","ufixed8x216","ufixed8x224","ufixed8x232","ufixed8x240","ufixed8x248","ufixed16x8","ufixed16x16","ufixed16x24","ufixed16x32","ufixed16x40","ufixed16x48","ufixed16x56","ufixed16x64","ufixed16x72","ufixed16x80","ufixed16x88","ufixed16x96","ufixed16x104","ufixed16x112","ufixed16x120","ufixed16x128","ufixed16x136","ufixed16x144","ufixed16x152","ufixed16x160","ufixed16x168","ufixed16x176","ufixed16x184","ufixed16x192","ufixed16x200","ufixed16x208","ufixed16x216","ufixed16x224","ufixed16x232","ufixed16x240","ufixed24x8","ufixed24x16","ufixed24x24","ufixed24x32","ufixed24x40","ufixed24x48","ufixed24x56","ufixed24x64","ufixed24x72","ufixed24x80","ufixed24x88","ufixed24x96","ufixed24x104","ufixed24x112","ufixed24x120","ufixed24x128","ufixed24x136","ufixed24x144","ufixed24x152","ufixed24x160","ufixed24x168","ufixed24x176","ufixed24x184","ufixed24x192","ufixed24x200","ufixed24x208","ufixed24x216","ufixed24x224","ufixed24x232","ufixed32x8","ufixed32x16","ufixed32x24","ufixed32x32","ufixed32x40","ufixed32x48","ufixed32x56","ufixed32x64","ufixed32x72","ufixed32x80","ufixed32x88","ufixed32x96","ufixed32x104","ufixed32x112","ufixed32x120","ufixed32x128","ufixed32x136","ufixed32x144","ufixed32x152","ufixed32x160","ufixed32x168","ufixed32x176","ufixed32x184","ufixed32x192","ufixed32x200","ufixed32x208","ufixed32x216","ufixed32x224","ufixed40x8","ufixed40x16","ufixed40x24","ufixed40x32","ufixed40x40","ufixed40x48","ufixed40x56","ufixed40x64","ufixed40x72","ufixed40x80","ufixed40x88","ufixed40x96","ufixed40x104","ufixed40x112","ufixed40x120","ufixed40x128","ufixed40x136","ufixed40x144","ufixed40x152","ufixed40x160","ufixed40x168","ufixed40x176","ufixed40x184","ufixed40x192","ufixed40x200","ufixed40x208","ufixed40x216","ufixed48x8","ufixed48x16","ufixed48x24","ufixed48x32","ufixed48x40","ufixed48x48","ufixed48x56","ufixed48x64","ufixed48x72","ufixed48x80","ufixed48x88","ufixed48x96","ufixed48x104","ufixed48x112","ufixed48x120","ufixed48x128","ufixed48x136","ufixed48x144","ufixed48x152","ufixed48x160","ufixed48x168","ufixed48x176","ufixed48x184","ufixed48x192","ufixed48x200","ufixed48x208","ufixed56x8","ufixed56x16","ufixed56x24","ufixed56x32","ufixed56x40","ufixed56x48","ufixed56x56","ufixed56x64","ufixed56x72","ufixed56x80","ufixed56x88","ufixed56x96","ufixed56x104","ufixed56x112","ufixed56x120","ufixed56x128","ufixed56x136","ufixed56x144","ufixed56x152","ufixed56x160","ufixed56x168","ufixed56x176","ufixed56x184","ufixed56x192","ufixed56x200","ufixed64x8","ufixed64x16","ufixed64x24","ufixed64x32","ufixed64x40","ufixed64x48","ufixed64x56","ufixed64x64","ufixed64x72","ufixed64x80","ufixed64x88","ufixed64x96","ufixed64x104","ufixed64x112","ufixed64x120","ufixed64x128","ufixed64x136","ufixed64x144","ufixed64x152","ufixed64x160","ufixed64x168","ufixed64x176","ufixed64x184","ufixed64x192","ufixed72x8","ufixed72x16","ufixed72x24","ufixed72x32","ufixed72x40","ufixed72x48","ufixed72x56","ufixed72x64","ufixed72x72","ufixed72x80","ufixed72x88","ufixed72x96","ufixed72x104","ufixed72x112","ufixed72x120","ufixed72x128","ufixed72x136","ufixed72x144","ufixed72x152","ufixed72x160","ufixed72x168","ufixed72x176","ufixed72x184","ufixed80x8","ufixed80x16","ufixed80x24","ufixed80x32","ufixed80x40","ufixed80x48","ufixed80x56","ufixed80x64","ufixed80x72","ufixed80x80","ufixed80x88","ufixed80x96","ufixed80x104","ufixed80x112","ufixed80x120","ufixed80x128","ufixed80x136","ufixed80x144","ufixed80x152","ufixed80x160","ufixed80x168","ufixed80x176","ufixed88x8","ufixed88x16","ufixed88x24","ufixed88x32","ufixed88x40","ufixed88x48","ufixed88x56","ufixed88x64","ufixed88x72","ufixed88x80","ufixed88x88","ufixed88x96","ufixed88x104","ufixed88x112","ufixed88x120","ufixed88x128","ufixed88x136","ufixed88x144","ufixed88x152","ufixed88x160","ufixed88x168","ufixed96x8","ufixed96x16","ufixed96x24","ufixed96x32","ufixed96x40","ufixed96x48","ufixed96x56","ufixed96x64","ufixed96x72","ufixed96x80","ufixed96x88","ufixed96x96","ufixed96x104","ufixed96x112","ufixed96x120","ufixed96x128","ufixed96x136","ufixed96x144","ufixed96x152","ufixed96x160","ufixed104x8","ufixed104x16","ufixed104x24","ufixed104x32","ufixed104x40","ufixed104x48","ufixed104x56","ufixed104x64","ufixed104x72","ufixed104x80","ufixed104x88","ufixed104x96","ufixed104x104","ufixed104x112","ufixed104x120","ufixed104x128","ufixed104x136","ufixed104x144","ufixed104x152","ufixed112x8","ufixed112x16","ufixed112x24","ufixed112x32","ufixed112x40","ufixed112x48","ufixed112x56","ufixed112x64","ufixed112x72","ufixed112x80","ufixed112x88","ufixed112x96","ufixed112x104","ufixed112x112","ufixed112x120","ufixed112x128","ufixed112x136","ufixed112x144","ufixed120x8","ufixed120x16","ufixed120x24","ufixed120x32","ufixed120x40","ufixed120x48","ufixed120x56","ufixed120x64","ufixed120x72","ufixed120x80","ufixed120x88","ufixed120x96","ufixed120x104","ufixed120x112","ufixed120x120","ufixed120x128","ufixed120x136","ufixed128x8","ufixed128x16","ufixed128x24","ufixed128x32","ufixed128x40","ufixed128x48","ufixed128x56","ufixed128x64","ufixed128x72","ufixed128x80","ufixed128x88","ufixed128x96","ufixed128x104","ufixed128x112","ufixed128x120","ufixed128x128","ufixed136x8","ufixed136x16","ufixed136x24","ufixed136x32","ufixed136x40","ufixed136x48","ufixed136x56","ufixed136x64","ufixed136x72","ufixed136x80","ufixed136x88","ufixed136x96","ufixed136x104","ufixed136x112","ufixed136x120","ufixed144x8","ufixed144x16","ufixed144x24","ufixed144x32","ufixed144x40","ufixed144x48","ufixed144x56","ufixed144x64","ufixed144x72","ufixed144x80","ufixed144x88","ufixed144x96","ufixed144x104","ufixed144x112","ufixed152x8","ufixed152x16","ufixed152x24","ufixed152x32","ufixed152x40","ufixed152x48","ufixed152x56","ufixed152x64","ufixed152x72","ufixed152x80","ufixed152x88","ufixed152x96","ufixed152x104","ufixed160x8","ufixed160x16","ufixed160x24","ufixed160x32","ufixed160x40","ufixed160x48","ufixed160x56","ufixed160x64","ufixed160x72","ufixed160x80","ufixed160x88","ufixed160x96","ufixed168x8","ufixed168x16","ufixed168x24","ufixed168x32","ufixed168x40","ufixed168x48","ufixed168x56","ufixed168x64","ufixed168x72","ufixed168x80","ufixed168x88","ufixed176x8","ufixed176x16","ufixed176x24","ufixed176x32","ufixed176x40","ufixed176x48","ufixed176x56","ufixed176x64","ufixed176x72","ufixed176x80","ufixed184x8","ufixed184x16","ufixed184x24","ufixed184x32","ufixed184x40","ufixed184x48","ufixed184x56","ufixed184x64","ufixed184x72","ufixed192x8","ufixed192x16","ufixed192x24","ufixed192x32","ufixed192x40","ufixed192x48","ufixed192x56","ufixed192x64","ufixed200x8","ufixed200x16","ufixed200x24","ufixed200x32","ufixed200x40","ufixed200x48","ufixed200x56","ufixed208x8","ufixed208x16","ufixed208x24","ufixed208x32","ufixed208x40","ufixed208x48","ufixed216x8","ufixed216x16","ufixed216x24","ufixed216x32","ufixed216x40","ufixed224x8","ufixed224x16","ufixed224x24","ufixed224x32","ufixed232x8","ufixed232x16","ufixed232x24","ufixed240x8","ufixed240x16","ufixed248x8","event","enum","let","mapping","private","public","external","inherited","payable","true","false","var","import","constant","if","else","for","else","for","while","do","break","continue","throw","returns","return","suicide","new","is","this","super"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/int\d*/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/static/js/140.173f9380.chunk.js b/static/js/141.b201bb6d.chunk.js similarity index 99% rename from static/js/140.173f9380.chunk.js rename to static/js/141.b201bb6d.chunk.js index 2c0cbeffc..acbf06ee0 100644 --- a/static/js/140.173f9380.chunk.js +++ b/static/js/141.b201bb6d.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[140],{Czvm:function(E,T,R){"use strict";R.r(T),R.d(T,"conf",(function(){return A})),R.d(T,"language",(function(){return I}));var A={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},I={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[141],{Czvm:function(E,T,R){"use strict";R.r(T),R.d(T,"conf",(function(){return A})),R.d(T,"language",(function(){return I}));var A={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},I={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ABORT_AFTER_WAIT","ABSENT","ABSOLUTE","ACCENT_SENSITIVITY","ACTION","ACTIVATION","ACTIVE","ADD","ADDRESS","ADMIN","AES","AES_128","AES_192","AES_256","AFFINITY","AFTER","AGGREGATE","ALGORITHM","ALL_CONSTRAINTS","ALL_ERRORMSGS","ALL_INDEXES","ALL_LEVELS","ALL_SPARSE_COLUMNS","ALLOW_CONNECTIONS","ALLOW_MULTIPLE_EVENT_LOSS","ALLOW_PAGE_LOCKS","ALLOW_ROW_LOCKS","ALLOW_SINGLE_EVENT_LOSS","ALLOW_SNAPSHOT_ISOLATION","ALLOWED","ALTER","ANONYMOUS","ANSI_DEFAULTS","ANSI_NULL_DEFAULT","ANSI_NULL_DFLT_OFF","ANSI_NULL_DFLT_ON","ANSI_NULLS","ANSI_PADDING","ANSI_WARNINGS","APPEND","APPLICATION","APPLICATION_LOG","ARITHABORT","ARITHIGNORE","AS","ASC","ASSEMBLY","ASYMMETRIC","ASYNCHRONOUS_COMMIT","AT","ATOMIC","ATTACH","ATTACH_REBUILD_LOG","AUDIT","AUDIT_GUID","AUTHENTICATION","AUTHORIZATION","AUTO","AUTO_CLEANUP","AUTO_CLOSE","AUTO_CREATE_STATISTICS","AUTO_SHRINK","AUTO_UPDATE_STATISTICS","AUTO_UPDATE_STATISTICS_ASYNC","AUTOMATED_BACKUP_PREFERENCE","AUTOMATIC","AVAILABILITY","AVAILABILITY_MODE","BACKUP","BACKUP_PRIORITY","BASE64","BATCHSIZE","BEGIN","BEGIN_DIALOG","BIGINT","BINARY","BINDING","BIT","BLOCKERS","BLOCKSIZE","BOUNDING_BOX","BREAK","BROKER","BROKER_INSTANCE","BROWSE","BUCKET_COUNT","BUFFER","BUFFERCOUNT","BULK","BULK_LOGGED","BY","CACHE","CALL","CALLED","CALLER","CAP_CPU_PERCENT","CASCADE","CASE","CATALOG","CATCH","CELLS_PER_OBJECT","CERTIFICATE","CHANGE_RETENTION","CHANGE_TRACKING","CHANGES","CHAR","CHARACTER","CHECK","CHECK_CONSTRAINTS","CHECK_EXPIRATION","CHECK_POLICY","CHECKALLOC","CHECKCATALOG","CHECKCONSTRAINTS","CHECKDB","CHECKFILEGROUP","CHECKIDENT","CHECKPOINT","CHECKTABLE","CLASSIFIER_FUNCTION","CLEANTABLE","CLEANUP","CLEAR","CLOSE","CLUSTER","CLUSTERED","CODEPAGE","COLLATE","COLLECTION","COLUMN","COLUMN_SET","COLUMNS","COLUMNSTORE","COLUMNSTORE_ARCHIVE","COMMIT","COMMITTED","COMPATIBILITY_LEVEL","COMPRESSION","COMPUTE","CONCAT","CONCAT_NULL_YIELDS_NULL","CONFIGURATION","CONNECT","CONSTRAINT","CONTAINMENT","CONTENT","CONTEXT","CONTINUE","CONTINUE_AFTER_ERROR","CONTRACT","CONTRACT_NAME","CONTROL","CONVERSATION","COOKIE","COPY_ONLY","COUNTER","CPU","CREATE","CREATE_NEW","CREATION_DISPOSITION","CREDENTIAL","CRYPTOGRAPHIC","CUBE","CURRENT","CURRENT_DATE","CURSOR","CURSOR_CLOSE_ON_COMMIT","CURSOR_DEFAULT","CYCLE","DATA","DATA_COMPRESSION","DATA_PURITY","DATABASE","DATABASE_DEFAULT","DATABASE_MIRRORING","DATABASE_SNAPSHOT","DATAFILETYPE","DATE","DATE_CORRELATION_OPTIMIZATION","DATEFIRST","DATEFORMAT","DATETIME","DATETIME2","DATETIMEOFFSET","DAY","DAYOFYEAR","DAYS","DB_CHAINING","DBCC","DBREINDEX","DDL_DATABASE_LEVEL_EVENTS","DEADLOCK_PRIORITY","DEALLOCATE","DEC","DECIMAL","DECLARE","DECRYPTION","DEFAULT","DEFAULT_DATABASE","DEFAULT_FULLTEXT_LANGUAGE","DEFAULT_LANGUAGE","DEFAULT_SCHEMA","DEFINITION","DELAY","DELAYED_DURABILITY","DELETE","DELETED","DENSITY_VECTOR","DENY","DEPENDENTS","DES","DESC","DESCRIPTION","DESX","DHCP","DIAGNOSTICS","DIALOG","DIFFERENTIAL","DIRECTORY_NAME","DISABLE","DISABLE_BROKER","DISABLED","DISK","DISTINCT","DISTRIBUTED","DOCUMENT","DOUBLE","DROP","DROP_EXISTING","DROPCLEANBUFFERS","DUMP","DURABILITY","DYNAMIC","EDITION","ELEMENTS","ELSE","EMERGENCY","EMPTY","EMPTYFILE","ENABLE","ENABLE_BROKER","ENABLED","ENCRYPTION","END","ENDPOINT","ENDPOINT_URL","ERRLVL","ERROR","ERROR_BROKER_CONVERSATIONS","ERRORFILE","ESCAPE","ESTIMATEONLY","EVENT","EVENT_RETENTION_MODE","EXEC","EXECUTABLE","EXECUTE","EXIT","EXPAND","EXPIREDATE","EXPIRY_DATE","EXPLICIT","EXTENDED_LOGICAL_CHECKS","EXTENSION","EXTERNAL","EXTERNAL_ACCESS","FAIL_OPERATION","FAILOVER","FAILOVER_MODE","FAILURE_CONDITION_LEVEL","FALSE","FAN_IN","FAST","FAST_FORWARD","FETCH","FIELDTERMINATOR","FILE","FILEGROUP","FILEGROWTH","FILELISTONLY","FILENAME","FILEPATH","FILESTREAM","FILESTREAM_ON","FILETABLE_COLLATE_FILENAME","FILETABLE_DIRECTORY","FILETABLE_FULLPATH_UNIQUE_CONSTRAINT_NAME","FILETABLE_NAMESPACE","FILETABLE_PRIMARY_KEY_CONSTRAINT_NAME","FILETABLE_STREAMID_UNIQUE_CONSTRAINT_NAME","FILLFACTOR","FILTERING","FIRE_TRIGGERS","FIRST","FIRSTROW","FLOAT","FMTONLY","FOLLOWING","FOR","FORCE","FORCE_FAILOVER_ALLOW_DATA_LOSS","FORCE_SERVICE_ALLOW_DATA_LOSS","FORCED","FORCEPLAN","FORCESCAN","FORCESEEK","FOREIGN","FORMATFILE","FORMSOF","FORWARD_ONLY","FREE","FREEPROCCACHE","FREESESSIONCACHE","FREESYSTEMCACHE","FROM","FULL","FULLSCAN","FULLTEXT","FUNCTION","GB","GEOGRAPHY_AUTO_GRID","GEOGRAPHY_GRID","GEOMETRY_AUTO_GRID","GEOMETRY_GRID","GET","GLOBAL","GO","GOTO","GOVERNOR","GRANT","GRIDS","GROUP","GROUP_MAX_REQUESTS","HADR","HASH","HASHED","HAVING","HEADERONLY","HEALTH_CHECK_TIMEOUT","HELP","HIERARCHYID","HIGH","HINT","HISTOGRAM","HOLDLOCK","HONOR_BROKER_PRIORITY","HOUR","HOURS","IDENTITY","IDENTITY_INSERT","IDENTITY_VALUE","IDENTITYCOL","IF","IGNORE_CONSTRAINTS","IGNORE_DUP_KEY","IGNORE_NONCLUSTERED_COLUMNSTORE_INDEX","IGNORE_TRIGGERS","IMAGE","IMMEDIATE","IMPERSONATE","IMPLICIT_TRANSACTIONS","IMPORTANCE","INCLUDE","INCREMENT","INCREMENTAL","INDEX","INDEXDEFRAG","INFINITE","INFLECTIONAL","INIT","INITIATOR","INPUT","INPUTBUFFER","INSENSITIVE","INSERT","INSERTED","INSTEAD","INT","INTEGER","INTO","IO","IP","ISABOUT","ISOLATION","JOB","KB","KEEP","KEEP_CDC","KEEP_NULLS","KEEP_REPLICATION","KEEPDEFAULTS","KEEPFIXED","KEEPIDENTITY","KEEPNULLS","KERBEROS","KEY","KEY_SOURCE","KEYS","KEYSET","KILL","KILOBYTES_PER_BATCH","LABELONLY","LANGUAGE","LAST","LASTROW","LEVEL","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4","LIFETIME","LIMIT","LINENO","LIST","LISTENER","LISTENER_IP","LISTENER_PORT","LOAD","LOADHISTORY","LOB_COMPACTION","LOCAL","LOCAL_SERVICE_NAME","LOCK_ESCALATION","LOCK_TIMEOUT","LOGIN","LOGSPACE","LOOP","LOW","MANUAL","MARK","MARK_IN_USE_FOR_REMOVAL","MASTER","MAX_CPU_PERCENT","MAX_DISPATCH_LATENCY","MAX_DOP","MAX_DURATION","MAX_EVENT_SIZE","MAX_FILES","MAX_IOPS_PER_VOLUME","MAX_MEMORY","MAX_MEMORY_PERCENT","MAX_QUEUE_READERS","MAX_ROLLOVER_FILES","MAX_SIZE","MAXDOP","MAXERRORS","MAXLENGTH","MAXRECURSION","MAXSIZE","MAXTRANSFERSIZE","MAXVALUE","MB","MEDIADESCRIPTION","MEDIANAME","MEDIAPASSWORD","MEDIUM","MEMBER","MEMORY_OPTIMIZED","MEMORY_OPTIMIZED_DATA","MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT","MEMORY_PARTITION_MODE","MERGE","MESSAGE","MESSAGE_FORWARD_SIZE","MESSAGE_FORWARDING","MICROSECOND","MILLISECOND","MIN_CPU_PERCENT","MIN_IOPS_PER_VOLUME","MIN_MEMORY_PERCENT","MINUTE","MINUTES","MINVALUE","MIRROR","MIRROR_ADDRESS","MODIFY","MONEY","MONTH","MOVE","MULTI_USER","MUST_CHANGE","NAME","NANOSECOND","NATIONAL","NATIVE_COMPILATION","NCHAR","NEGOTIATE","NESTED_TRIGGERS","NEW_ACCOUNT","NEW_BROKER","NEW_PASSWORD","NEWNAME","NEXT","NO","NO_BROWSETABLE","NO_CHECKSUM","NO_COMPRESSION","NO_EVENT_LOSS","NO_INFOMSGS","NO_TRUNCATE","NO_WAIT","NOCHECK","NOCOUNT","NOEXEC","NOEXPAND","NOFORMAT","NOINDEX","NOINIT","NOLOCK","NON","NON_TRANSACTED_ACCESS","NONCLUSTERED","NONE","NORECOMPUTE","NORECOVERY","NORESEED","NORESET","NOREWIND","NORMAL","NOSKIP","NOTIFICATION","NOTRUNCATE","NOUNLOAD","NOWAIT","NTEXT","NTLM","NUMANODE","NUMERIC","NUMERIC_ROUNDABORT","NVARCHAR","OBJECT","OF","OFF","OFFLINE","OFFSET","OFFSETS","OLD_ACCOUNT","OLD_PASSWORD","ON","ON_FAILURE","ONLINE","ONLY","OPEN","OPEN_EXISTING","OPENTRAN","OPTIMISTIC","OPTIMIZE","OPTION","ORDER","OUT","OUTPUT","OUTPUTBUFFER","OVER","OVERRIDE","OWNER","OWNERSHIP","PAD_INDEX","PAGE","PAGE_VERIFY","PAGECOUNT","PAGLOCK","PARAMETERIZATION","PARSEONLY","PARTIAL","PARTITION","PARTITIONS","PARTNER","PASSWORD","PATH","PER_CPU","PER_NODE","PERCENT","PERMISSION_SET","PERSISTED","PHYSICAL_ONLY","PLAN","POISON_MESSAGE_HANDLING","POOL","POPULATION","PORT","PRECEDING","PRECISION","PRIMARY","PRIMARY_ROLE","PRINT","PRIOR","PRIORITY","PRIORITY_LEVEL","PRIVATE","PRIVILEGES","PROC","PROCCACHE","PROCEDURE","PROCEDURE_NAME","PROCESS","PROFILE","PROPERTY","PROPERTY_DESCRIPTION","PROPERTY_INT_ID","PROPERTY_SET_GUID","PROVIDER","PROVIDER_KEY_NAME","PUBLIC","PUT","QUARTER","QUERY","QUERY_GOVERNOR_COST_LIMIT","QUEUE","QUEUE_DELAY","QUOTED_IDENTIFIER","RAISERROR","RANGE","RAW","RC2","RC4","RC4_128","READ","READ_COMMITTED_SNAPSHOT","READ_ONLY","READ_ONLY_ROUTING_LIST","READ_ONLY_ROUTING_URL","READ_WRITE","READ_WRITE_FILEGROUPS","READCOMMITTED","READCOMMITTEDLOCK","READONLY","READPAST","READTEXT","READUNCOMMITTED","READWRITE","REAL","REBUILD","RECEIVE","RECOMPILE","RECONFIGURE","RECOVERY","RECURSIVE","RECURSIVE_TRIGGERS","REFERENCES","REGENERATE","RELATED_CONVERSATION","RELATED_CONVERSATION_GROUP","RELATIVE","REMOTE","REMOTE_PROC_TRANSACTIONS","REMOTE_SERVICE_NAME","REMOVE","REORGANIZE","REPAIR_ALLOW_DATA_LOSS","REPAIR_FAST","REPAIR_REBUILD","REPEATABLE","REPEATABLEREAD","REPLICA","REPLICATION","REQUEST_MAX_CPU_TIME_SEC","REQUEST_MAX_MEMORY_GRANT_PERCENT","REQUEST_MEMORY_GRANT_TIMEOUT_SEC","REQUIRED","RESAMPLE","RESEED","RESERVE_DISK_SPACE","RESET","RESOURCE","RESTART","RESTORE","RESTRICT","RESTRICTED_USER","RESULT","RESUME","RETAINDAYS","RETENTION","RETURN","RETURNS","REVERT","REVOKE","REWIND","REWINDONLY","ROBUST","ROLE","ROLLBACK","ROLLUP","ROOT","ROUTE","ROW","ROWCOUNT","ROWGUIDCOL","ROWLOCK","ROWS","ROWS_PER_BATCH","ROWTERMINATOR","ROWVERSION","RSA_1024","RSA_2048","RSA_512","RULE","SAFE","SAFETY","SAMPLE","SAVE","SCHEDULER","SCHEMA","SCHEMA_AND_DATA","SCHEMA_ONLY","SCHEMABINDING","SCHEME","SCROLL","SCROLL_LOCKS","SEARCH","SECOND","SECONDARY","SECONDARY_ONLY","SECONDARY_ROLE","SECONDS","SECRET","SECURITY_LOG","SECURITYAUDIT","SELECT","SELECTIVE","SELF","SEND","SENT","SEQUENCE","SERIALIZABLE","SERVER","SERVICE","SERVICE_BROKER","SERVICE_NAME","SESSION","SESSION_TIMEOUT","SET","SETS","SETUSER","SHOW_STATISTICS","SHOWCONTIG","SHOWPLAN","SHOWPLAN_ALL","SHOWPLAN_TEXT","SHOWPLAN_XML","SHRINKDATABASE","SHRINKFILE","SHUTDOWN","SID","SIGNATURE","SIMPLE","SINGLE_BLOB","SINGLE_CLOB","SINGLE_NCLOB","SINGLE_USER","SINGLETON","SIZE","SKIP","SMALLDATETIME","SMALLINT","SMALLMONEY","SNAPSHOT","SORT_IN_TEMPDB","SOURCE","SPARSE","SPATIAL","SPATIAL_WINDOW_MAX_CELLS","SPECIFICATION","SPLIT","SQL","SQL_VARIANT","SQLPERF","STANDBY","START","START_DATE","STARTED","STARTUP_STATE","STAT_HEADER","STATE","STATEMENT","STATIC","STATISTICAL_SEMANTICS","STATISTICS","STATISTICS_INCREMENTAL","STATISTICS_NORECOMPUTE","STATS","STATS_STREAM","STATUS","STATUSONLY","STOP","STOP_ON_ERROR","STOPAT","STOPATMARK","STOPBEFOREMARK","STOPLIST","STOPPED","SUBJECT","SUBSCRIPTION","SUPPORTED","SUSPEND","SWITCH","SYMMETRIC","SYNCHRONOUS_COMMIT","SYNONYM","SYSNAME","SYSTEM","TABLE","TABLERESULTS","TABLESAMPLE","TABLOCK","TABLOCKX","TAKE","TAPE","TARGET","TARGET_RECOVERY_TIME","TB","TCP","TEXT","TEXTIMAGE_ON","TEXTSIZE","THEN","THESAURUS","THROW","TIES","TIME","TIMEOUT","TIMER","TIMESTAMP","TINYINT","TO","TOP","TORN_PAGE_DETECTION","TRACEOFF","TRACEON","TRACESTATUS","TRACK_CAUSALITY","TRACK_COLUMNS_UPDATED","TRAN","TRANSACTION","TRANSFER","TRANSFORM_NOISE_WORDS","TRIGGER","TRIPLE_DES","TRIPLE_DES_3KEY","TRUE","TRUNCATE","TRUNCATEONLY","TRUSTWORTHY","TRY","TSQL","TWO_DIGIT_YEAR_CUTOFF","TYPE","TYPE_WARNING","UNBOUNDED","UNCHECKED","UNCOMMITTED","UNDEFINED","UNIQUE","UNIQUEIDENTIFIER","UNKNOWN","UNLIMITED","UNLOAD","UNSAFE","UPDATE","UPDATETEXT","UPDATEUSAGE","UPDLOCK","URL","USE","USED","USER","USEROPTIONS","USING","VALID_XML","VALIDATION","VALUE","VALUES","VARBINARY","VARCHAR","VARYING","VERIFYONLY","VERSION","VIEW","VIEW_METADATA","VIEWS","VISIBILITY","WAIT_AT_LOW_PRIORITY","WAITFOR","WEEK","WEIGHT","WELL_FORMED_XML","WHEN","WHERE","WHILE","WINDOWS","WITH","WITHIN","WITHOUT","WITNESS","WORK","WORKLOAD","WRITETEXT","XACT_ABORT","XLOCK","XMAX","XMIN","XML","XMLDATA","XMLNAMESPACES","XMLSCHEMA","XQUERY","XSINIL","YEAR","YMAX","YMIN"],operators:["ALL","AND","ANY","BETWEEN","EXISTS","IN","LIKE","NOT","OR","SOME","EXCEPT","INTERSECT","UNION","APPLY","CROSS","FULL","INNER","JOIN","LEFT","OUTER","RIGHT","CONTAINS","FREETEXT","IS","NULL","PIVOT","UNPIVOT","MATCHED"],builtinFunctions:["AVG","CHECKSUM_AGG","COUNT","COUNT_BIG","GROUPING","GROUPING_ID","MAX","MIN","SUM","STDEV","STDEVP","VAR","VARP","CUME_DIST","FIRST_VALUE","LAG","LAST_VALUE","LEAD","PERCENTILE_CONT","PERCENTILE_DISC","PERCENT_RANK","COLLATE","COLLATIONPROPERTY","TERTIARY_WEIGHTS","FEDERATION_FILTERING_VALUE","CAST","CONVERT","PARSE","TRY_CAST","TRY_CONVERT","TRY_PARSE","ASYMKEY_ID","ASYMKEYPROPERTY","CERTPROPERTY","CERT_ID","CRYPT_GEN_RANDOM","DECRYPTBYASYMKEY","DECRYPTBYCERT","DECRYPTBYKEY","DECRYPTBYKEYAUTOASYMKEY","DECRYPTBYKEYAUTOCERT","DECRYPTBYPASSPHRASE","ENCRYPTBYASYMKEY","ENCRYPTBYCERT","ENCRYPTBYKEY","ENCRYPTBYPASSPHRASE","HASHBYTES","IS_OBJECTSIGNED","KEY_GUID","KEY_ID","KEY_NAME","SIGNBYASYMKEY","SIGNBYCERT","SYMKEYPROPERTY","VERIFYSIGNEDBYCERT","VERIFYSIGNEDBYASYMKEY","CURSOR_STATUS","DATALENGTH","IDENT_CURRENT","IDENT_INCR","IDENT_SEED","IDENTITY","SQL_VARIANT_PROPERTY","CURRENT_TIMESTAMP","DATEADD","DATEDIFF","DATEFROMPARTS","DATENAME","DATEPART","DATETIME2FROMPARTS","DATETIMEFROMPARTS","DATETIMEOFFSETFROMPARTS","DAY","EOMONTH","GETDATE","GETUTCDATE","ISDATE","MONTH","SMALLDATETIMEFROMPARTS","SWITCHOFFSET","SYSDATETIME","SYSDATETIMEOFFSET","SYSUTCDATETIME","TIMEFROMPARTS","TODATETIMEOFFSET","YEAR","CHOOSE","COALESCE","IIF","NULLIF","ABS","ACOS","ASIN","ATAN","ATN2","CEILING","COS","COT","DEGREES","EXP","FLOOR","LOG","LOG10","PI","POWER","RADIANS","RAND","ROUND","SIGN","SIN","SQRT","SQUARE","TAN","APP_NAME","APPLOCK_MODE","APPLOCK_TEST","ASSEMBLYPROPERTY","COL_LENGTH","COL_NAME","COLUMNPROPERTY","DATABASE_PRINCIPAL_ID","DATABASEPROPERTYEX","DB_ID","DB_NAME","FILE_ID","FILE_IDEX","FILE_NAME","FILEGROUP_ID","FILEGROUP_NAME","FILEGROUPPROPERTY","FILEPROPERTY","FULLTEXTCATALOGPROPERTY","FULLTEXTSERVICEPROPERTY","INDEX_COL","INDEXKEY_PROPERTY","INDEXPROPERTY","OBJECT_DEFINITION","OBJECT_ID","OBJECT_NAME","OBJECT_SCHEMA_NAME","OBJECTPROPERTY","OBJECTPROPERTYEX","ORIGINAL_DB_NAME","PARSENAME","SCHEMA_ID","SCHEMA_NAME","SCOPE_IDENTITY","SERVERPROPERTY","STATS_DATE","TYPE_ID","TYPE_NAME","TYPEPROPERTY","DENSE_RANK","NTILE","RANK","ROW_NUMBER","PUBLISHINGSERVERNAME","OPENDATASOURCE","OPENQUERY","OPENROWSET","OPENXML","CERTENCODED","CERTPRIVATEKEY","CURRENT_USER","HAS_DBACCESS","HAS_PERMS_BY_NAME","IS_MEMBER","IS_ROLEMEMBER","IS_SRVROLEMEMBER","LOGINPROPERTY","ORIGINAL_LOGIN","PERMISSIONS","PWDENCRYPT","PWDCOMPARE","SESSION_USER","SESSIONPROPERTY","SUSER_ID","SUSER_NAME","SUSER_SID","SUSER_SNAME","SYSTEM_USER","USER","USER_ID","USER_NAME","ASCII","CHAR","CHARINDEX","CONCAT","DIFFERENCE","FORMAT","LEFT","LEN","LOWER","LTRIM","NCHAR","PATINDEX","QUOTENAME","REPLACE","REPLICATE","REVERSE","RIGHT","RTRIM","SOUNDEX","SPACE","STR","STUFF","SUBSTRING","UNICODE","UPPER","BINARY_CHECKSUM","CHECKSUM","CONNECTIONPROPERTY","CONTEXT_INFO","CURRENT_REQUEST_ID","ERROR_LINE","ERROR_NUMBER","ERROR_MESSAGE","ERROR_PROCEDURE","ERROR_SEVERITY","ERROR_STATE","FORMATMESSAGE","GETANSINULL","GET_FILESTREAM_TRANSACTION_CONTEXT","HOST_ID","HOST_NAME","ISNULL","ISNUMERIC","MIN_ACTIVE_ROWVERSION","NEWID","NEWSEQUENTIALID","ROWCOUNT_BIG","XACT_STATE","TEXTPTR","TEXTVALID","COLUMNS_UPDATED","EVENTDATA","TRIGGER_NESTLEVEL","UPDATE","CHANGETABLE","CHANGE_TRACKING_CONTEXT","CHANGE_TRACKING_CURRENT_VERSION","CHANGE_TRACKING_IS_COLUMN_IN_MASK","CHANGE_TRACKING_MIN_VALID_VERSION","CONTAINSTABLE","FREETEXTTABLE","SEMANTICKEYPHRASETABLE","SEMANTICSIMILARITYDETAILSTABLE","SEMANTICSIMILARITYTABLE","FILETABLEROOTPATH","GETFILENAMESPACEPATH","GETPATHLOCATOR","PATHNAME","GET_TRANSMISSION_STATUS"],builtinVariables:["@@DATEFIRST","@@DBTS","@@LANGID","@@LANGUAGE","@@LOCK_TIMEOUT","@@MAX_CONNECTIONS","@@MAX_PRECISION","@@NESTLEVEL","@@OPTIONS","@@REMSERVER","@@SERVERNAME","@@SERVICENAME","@@SPID","@@TEXTSIZE","@@VERSION","@@CURSOR_ROWS","@@FETCH_STATUS","@@DATEFIRST","@@PROCID","@@ERROR","@@IDENTITY","@@ROWCOUNT","@@TRANCOUNT","@@CONNECTIONS","@@CPU_BUSY","@@IDLE","@@IO_BUSY","@@PACKET_ERRORS","@@PACK_RECEIVED","@@PACK_SENT","@@TIMETICKS","@@TOTAL_ERRORS","@@TOTAL_READ","@@TOTAL_WRITE"],pseudoColumns:["$ACTION","$IDENTITY","$ROWGUID","$PARTITION"],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/N'/,{token:"string",next:"@string"}],[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/\[/,{token:"identifier.quote",next:"@bracketedIdentifier"}],[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],bracketedIdentifier:[[/[^\]]+/,"identifier"],[/]]/,"identifier"],[/]/,{token:"identifier.quote",next:"@pop"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[[/BEGIN\s+(DISTRIBUTED\s+)?TRAN(SACTION)?\b/i,"keyword"],[/BEGIN\s+TRY\b/i,{token:"keyword.try"}],[/END\s+TRY\b/i,{token:"keyword.try"}],[/BEGIN\s+CATCH\b/i,{token:"keyword.catch"}],[/END\s+CATCH\b/i,{token:"keyword.catch"}],[/(BEGIN|CASE)\b/i,{token:"keyword.block"}],[/END\b/i,{token:"keyword.block"}],[/WHEN\b/i,{token:"keyword.choice"}],[/THEN\b/i,{token:"keyword.choice"}]]}}}}]); \ No newline at end of file diff --git a/static/js/141.c32f2efc.chunk.js b/static/js/142.c1b7ecee.chunk.js similarity index 98% rename from static/js/141.c32f2efc.chunk.js rename to static/js/142.c1b7ecee.chunk.js index 9c2c9310a..e748b2acf 100644 --- a/static/js/141.c32f2efc.chunk.js +++ b/static/js/142.c1b7ecee.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[141],{rMIR:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[142],{rMIR:function(e,n,o){"use strict";o.r(n),o.d(n,"conf",(function(){return t})),o.d(n,"language",(function(){return r}));var t={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["var","end_var"],["var_input","end_var"],["var_output","end_var"],["var_in_out","end_var"],["var_temp","end_var"],["var_global","end_var"],["var_access","end_var"],["var_external","end_var"],["type","end_type"],["struct","end_struct"],["program","end_program"],["function","end_function"],["function_block","end_function_block"],["action","end_action"],["step","end_step"],["initial_step","end_step"],["transaction","end_transaction"],["configuration","end_configuration"],["tcp","end_tcp"],["recource","end_recource"],["channel","end_channel"],["library","end_library"],["folder","end_folder"],["binaries","end_binaries"],["includes","end_includes"],["sources","end_sources"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"/*",close:"*/"},{open:"'",close:"'",notIn:["string_sq"]},{open:'"',close:'"',notIn:["string_dq"]},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"var",close:"end_var"},{open:"var_input",close:"end_var"},{open:"var_output",close:"end_var"},{open:"var_in_out",close:"end_var"},{open:"var_temp",close:"end_var"},{open:"var_global",close:"end_var"},{open:"var_access",close:"end_var"},{open:"var_external",close:"end_var"},{open:"type",close:"end_type"},{open:"struct",close:"end_struct"},{open:"program",close:"end_program"},{open:"function",close:"end_function"},{open:"function_block",close:"end_function_block"},{open:"action",close:"end_action"},{open:"step",close:"end_step"},{open:"initial_step",close:"end_step"},{open:"transaction",close:"end_transaction"},{open:"configuration",close:"end_configuration"},{open:"tcp",close:"end_tcp"},{open:"recource",close:"end_recource"},{open:"channel",close:"end_channel"},{open:"library",close:"end_library"},{open:"folder",close:"end_folder"},{open:"binaries",close:"end_binaries"},{open:"includes",close:"end_includes"},{open:"sources",close:"end_sources"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".st",ignoreCase:!0,brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["if","end_if","elsif","else","case","of","to","__try","__catch","__finally","do","with","by","while","repeat","end_while","end_repeat","end_case","for","end_for","task","retain","non_retain","constant","with","at","exit","return","interval","priority","address","port","on_channel","then","iec","file","uses","version","packagetype","displayname","copyright","summary","vendor","common_source","from","extends"],constant:["false","true","null"],defineKeywords:["var","var_input","var_output","var_in_out","var_temp","var_global","var_access","var_external","end_var","type","end_type","struct","end_struct","program","end_program","function","end_function","function_block","end_function_block","interface","end_interface","method","end_method","property","end_property","namespace","end_namespace","configuration","end_configuration","tcp","end_tcp","resource","end_resource","channel","end_channel","library","end_library","folder","end_folder","binaries","end_binaries","includes","end_includes","sources","end_sources","action","end_action","step","initial_step","end_step","transaction","end_transaction"],typeKeywords:["int","sint","dint","lint","usint","uint","udint","ulint","real","lreal","time","date","time_of_day","date_and_time","string","bool","byte","word","dword","array","pointer","lword"],operators:["=",">","<",":",":=","<=",">=","<>","&","+","-","*","**","MOD","^","or","and","not","xor","abs","acos","asin","atan","cos","exp","expt","ln","log","sin","sqrt","tan","sel","max","min","limit","mux","shl","shr","rol","ror","indexof","sizeof","adr","adrinst","bitadr","is_valid","ref","ref_to"],builtinVariables:[],builtinFunctions:["sr","rs","tp","ton","tof","eq","ge","le","lt","ne","round","trunc","ctd","сtu","ctud","r_trig","f_trig","move","concat","delete","find","insert","left","len","replace","right","rtc"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(\.\.)/,"delimiter"],[/\b(16#[0-9A-Fa-f\_]*)+\b/,"number.hex"],[/\b(2#[01\_]+)+\b/,"number.binary"],[/\b(8#[0-9\_]*)+\b/,"number.octal"],[/\b\d*\.\d+([eE][\-+]?\d+)?\b/,"number.float"],[/\b(L?REAL)#[0-9\_\.e]+\b/,"number.float"],[/\b(BYTE|(?:D|L)?WORD|U?(?:S|D|L)?INT)#[0-9\_]+\b/,"number"],[/\d+/,"number"],[/\b(T|DT|TOD)#[0-9:-_shmyd]+\b/,"tag"],[/\%(I|Q|M)(X|B|W|D|L)[0-9\.]+/,"tag"],[/\%(I|Q|M)[0-9\.]*/,"tag"],[/\b[A-Za-z]{1,6}#[0-9]+\b/,"tag"],[/\b(TO_|CTU_|CTD_|CTUD_|MUX_|SEL_)[A_Za-z]+\b/,"predefined"],[/\b[A_Za-z]+(_TO_)[A_Za-z]+\b/,"predefined"],[/[;]/,"delimiter"],[/[.]/,{token:"delimiter",next:"@params"}],[/[a-zA-Z_]\w*/,{cases:{"@operators":"operators","@keywords":"keyword","@typeKeywords":"type","@defineKeywords":"variable","@constant":"constant","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string_dq"}],[/'/,{token:"string.quote",bracket:"@open",next:"@string_sq"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],params:[[/\b[A-Za-z0-9_]+\b(?=\()/,{token:"identifier",next:"@pop"}],[/\b[A-Za-z0-9_]+\b/,"variable.name","@pop"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],comment2:[[/[^\(*]+/,"comment"],[/\(\*/,"comment","@push"],["\\*\\)","comment","@pop"],[/[\(*]/,"comment"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@comment"],[/\(\*/,"comment","@comment2"]],string_dq:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],string_sq:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]]}}}}]); \ No newline at end of file diff --git a/static/js/142.9dda0a68.chunk.js b/static/js/143.b4133c4a.chunk.js similarity index 96% rename from static/js/142.9dda0a68.chunk.js rename to static/js/143.b4133c4a.chunk.js index 96f93d9d1..7b81cd65a 100644 --- a/static/js/142.9dda0a68.chunk.js +++ b/static/js/143.b4133c4a.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 142.9dda0a68.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[142],{"05+/":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return i}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},i={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}}}]); \ No newline at end of file +/*! For license information please see 143.b4133c4a.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[143],{"05+/":function(e,t,o){"use strict";o.r(t),o.d(t,"conf",(function(){return n})),o.d(t,"language",(function(){return i}));var n={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},i={defaultToken:"",tokenPostfix:".swift",identifier:/[a-zA-Z_][\w$]*/,attributes:["@autoclosure","@noescape","@noreturn","@NSApplicationMain","@NSCopying","@NSManaged","@objc","@UIApplicationMain","@noreturn","@availability","@IBAction","@IBDesignable","@IBInspectable","@IBOutlet"],accessmodifiers:["public","private","internal"],keywords:["__COLUMN__","__FILE__","__FUNCTION__","__LINE__","as","as!","as?","associativity","break","case","catch","class","continue","convenience","default","deinit","didSet","do","dynamic","dynamicType","else","enum","extension","fallthrough","final","for","func","get","guard","if","import","in","infix","init","inout","internal","is","lazy","left","let","mutating","nil","none","nonmutating","operator","optional","override","postfix","precedence","prefix","private","protocol","Protocol","public","repeat","required","return","right","self","Self","set","static","struct","subscript","super","switch","throw","throws","try","try!","Type","typealias","unowned","var","weak","where","while","willSet","FALSE","TRUE"],symbols:/[=(){}\[\].,:;@#\_&\-<>`?!+*\\\/]/,operatorstart:/[\/=\-+!*%<>&|^~?\u00A1-\u00A7\u00A9\u00AB\u00AC\u00AE\u00B0-\u00B1\u00B6\u00BB\u00BF\u00D7\u00F7\u2016-\u2017\u2020-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u23FF\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3030]/,operatorend:/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE00-\uFE0F\uFE20-\uFE2F\uE0100-\uE01EF]/,operators:/(@operatorstart)((@operatorstart)|(@operatorend))*/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},{include:"@attribute"},{include:"@literal"},{include:"@keyword"},{include:"@invokedmethod"},{include:"@symbol"}],whitespace:[[/\s+/,"white"],[/"""/,"string.quote","@endDblDocString"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string.quote","@popall"],[/"/,"string"]],symbol:[[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/[.]/,"delimiter"],[/@operators/,"operator"],[/@symbols/,"operator"]],comment:[[/\/\/\/.*$/,"comment.doc"],[/\/\*\*/,"comment.doc","@commentdocbody"],[/\/\/.*$/,"comment"],[/\/\*/,"comment","@commentbody"]],commentdocbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment.doc","@pop"],[/\:[a-zA-Z]+\:/,"comment.doc.param"],[/./,"comment.doc"]],commentbody:[[/\/\*/,"comment","@commentbody"],[/\*\//,"comment","@pop"],[/./,"comment"]],attribute:[[/\@@identifier/,{cases:{"@attributes":"keyword.control","@default":""}}]],literal:[[/"/,{token:"string.quote",next:"@stringlit"}],[/0[b]([01]_?)+/,"number.binary"],[/0[o]([0-7]_?)+/,"number.octal"],[/0[x]([0-9a-fA-F]_?)+([pP][\-+](\d_?)+)?/,"number.hex"],[/(\d_?)*\.(\d_?)+([eE][\-+]?(\d_?)+)?/,"number.float"],[/(\d_?)+/,"number"]],stringlit:[[/\\\(/,{token:"operator",next:"@interpolatedexpression"}],[/@escapes/,"string"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}],[/./,"string"]],interpolatedexpression:[[/\(/,{token:"operator",next:"@interpolatedexpression"}],[/\)/,{token:"operator",next:"@pop"}],{include:"@literal"},{include:"@keyword"},{include:"@symbol"}],keyword:[[/`/,{token:"operator",next:"@escapedkeyword"}],[/@identifier/,{cases:{"@keywords":"keyword","[A-Z][a-zA-Z0-9$]*":"type.identifier","@default":"identifier"}}]],escapedkeyword:[[/`/,{token:"operator",next:"@pop"}],[/./,"identifier"]],invokedmethod:[[/([.])(@identifier)/,{cases:{$2:["delimeter","type.identifier"],"@default":""}}]]}}}}]); \ No newline at end of file diff --git a/static/js/142.9dda0a68.chunk.js.LICENSE.txt b/static/js/143.b4133c4a.chunk.js.LICENSE.txt similarity index 100% rename from static/js/142.9dda0a68.chunk.js.LICENSE.txt rename to static/js/143.b4133c4a.chunk.js.LICENSE.txt diff --git a/static/js/143.ebd20b8b.chunk.js b/static/js/144.643f9289.chunk.js similarity index 98% rename from static/js/143.ebd20b8b.chunk.js rename to static/js/144.643f9289.chunk.js index 29c3c7094..c35387930 100644 --- a/static/js/143.ebd20b8b.chunk.js +++ b/static/js/144.643f9289.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[143],{"87dK":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return i}));var o="undefined"==typeof monaco?self.monaco:monaco,r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},i={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[144],{"87dK":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return i}));var o="undefined"==typeof monaco?self.monaco:monaco,r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},i={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/static/js/144.ec298a9a.chunk.js b/static/js/145.a71d3d10.chunk.js similarity index 97% rename from static/js/144.ec298a9a.chunk.js rename to static/js/145.a71d3d10.chunk.js index 6663a4568..f811e5cb4 100644 --- a/static/js/144.ec298a9a.chunk.js +++ b/static/js/145.a71d3d10.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[144],{eXtt:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return r}));var o={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},r={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[145],{eXtt:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return o})),t.d(n,"language",(function(){return r}));var o={comments:{lineComment:"'",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"],["addhandler","end addhandler"],["class","end class"],["enum","end enum"],["event","end event"],["function","end function"],["get","end get"],["if","end if"],["interface","end interface"],["module","end module"],["namespace","end namespace"],["operator","end operator"],["property","end property"],["raiseevent","end raiseevent"],["removehandler","end removehandler"],["select","end select"],["set","end set"],["structure","end structure"],["sub","end sub"],["synclock","end synclock"],["try","end try"],["while","end while"],["with","end with"],["using","end using"],["do","loop"],["for","next"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"<",close:">",notIn:["string","comment"]}],folding:{markers:{start:new RegExp("^\\s*#Region\\b"),end:new RegExp("^\\s*#End Region\\b")}}},r={defaultToken:"",tokenPostfix:".vb",ignoreCase:!0,brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.angle",open:"<",close:">"},{token:"keyword.tag-addhandler",open:"addhandler",close:"end addhandler"},{token:"keyword.tag-class",open:"class",close:"end class"},{token:"keyword.tag-enum",open:"enum",close:"end enum"},{token:"keyword.tag-event",open:"event",close:"end event"},{token:"keyword.tag-function",open:"function",close:"end function"},{token:"keyword.tag-get",open:"get",close:"end get"},{token:"keyword.tag-if",open:"if",close:"end if"},{token:"keyword.tag-interface",open:"interface",close:"end interface"},{token:"keyword.tag-module",open:"module",close:"end module"},{token:"keyword.tag-namespace",open:"namespace",close:"end namespace"},{token:"keyword.tag-operator",open:"operator",close:"end operator"},{token:"keyword.tag-property",open:"property",close:"end property"},{token:"keyword.tag-raiseevent",open:"raiseevent",close:"end raiseevent"},{token:"keyword.tag-removehandler",open:"removehandler",close:"end removehandler"},{token:"keyword.tag-select",open:"select",close:"end select"},{token:"keyword.tag-set",open:"set",close:"end set"},{token:"keyword.tag-structure",open:"structure",close:"end structure"},{token:"keyword.tag-sub",open:"sub",close:"end sub"},{token:"keyword.tag-synclock",open:"synclock",close:"end synclock"},{token:"keyword.tag-try",open:"try",close:"end try"},{token:"keyword.tag-while",open:"while",close:"end while"},{token:"keyword.tag-with",open:"with",close:"end with"},{token:"keyword.tag-using",open:"using",close:"end using"},{token:"keyword.tag-do",open:"do",close:"loop"},{token:"keyword.tag-for",open:"for",close:"next"}],keywords:["AddHandler","AddressOf","Alias","And","AndAlso","As","Async","Boolean","ByRef","Byte","ByVal","Call","Case","Catch","CBool","CByte","CChar","CDate","CDbl","CDec","Char","CInt","Class","CLng","CObj","Const","Continue","CSByte","CShort","CSng","CStr","CType","CUInt","CULng","CUShort","Date","Decimal","Declare","Default","Delegate","Dim","DirectCast","Do","Double","Each","Else","ElseIf","End","EndIf","Enum","Erase","Error","Event","Exit","False","Finally","For","Friend","Function","Get","GetType","GetXMLNamespace","Global","GoSub","GoTo","Handles","If","Implements","Imports","In","Inherits","Integer","Interface","Is","IsNot","Let","Lib","Like","Long","Loop","Me","Mod","Module","MustInherit","MustOverride","MyBase","MyClass","NameOf","Namespace","Narrowing","New","Next","Not","Nothing","NotInheritable","NotOverridable","Object","Of","On","Operator","Option","Optional","Or","OrElse","Out","Overloads","Overridable","Overrides","ParamArray","Partial","Private","Property","Protected","Public","RaiseEvent","ReadOnly","ReDim","RemoveHandler","Resume","Return","SByte","Select","Set","Shadows","Shared","Short","Single","Static","Step","Stop","String","Structure","Sub","SyncLock","Then","Throw","To","True","Try","TryCast","TypeOf","UInteger","ULong","UShort","Using","Variant","Wend","When","While","Widening","With","WithEvents","WriteOnly","Xor"],tagwords:["If","Sub","Select","Try","Class","Enum","Function","Get","Interface","Module","Namespace","Operator","Set","Structure","Using","While","With","Do","Loop","For","Next","Property","Continue","AddHandler","RemoveHandler","Event","RaiseEvent","SyncLock"],symbols:/[=><!~?;\.,:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/U?[DI%L&S@]?/,floatsuffix:/[R#F!]?/,tokenizer:{root:[{include:"@whitespace"},[/next(?!\w)/,{token:"keyword.tag-for"}],[/loop(?!\w)/,{token:"keyword.tag-do"}],[/end\s+(?!for|do)(addhandler|class|enum|event|function|get|if|interface|module|namespace|operator|property|raiseevent|removehandler|select|set|structure|sub|synclock|try|while|with|using)/,{token:"keyword.tag-$1"}],[/[a-zA-Z_]\w*/,{cases:{"@tagwords":{token:"keyword.tag-$0"},"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\w+/,"keyword"],[/\d*\d+e([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+(e[\-+]?\d+)?(@floatsuffix)/,"number.float"],[/&H[0-9a-f]+(@integersuffix)/,"number.hex"],[/&0[0-7]+(@integersuffix)/,"number.octal"],[/\d+(@integersuffix)/,"number"],[/#.*#/,"number"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/(\'|REM(?!\w)).*$/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"C?/,"string","@pop"]]}}}}]); \ No newline at end of file diff --git a/static/js/145.52646683.chunk.js b/static/js/146.67d3ebef.chunk.js similarity index 95% rename from static/js/145.52646683.chunk.js rename to static/js/146.67d3ebef.chunk.js index f9897fea8..258cc06fb 100644 --- a/static/js/145.52646683.chunk.js +++ b/static/js/146.67d3ebef.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[145],{aH2L:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return a})),n.d(t,"language",(function(){return i}));var a={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},i={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[146],{aH2L:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return a})),n.d(t,"language",(function(){return i}));var a={comments:{blockComment:["\x3c!--","--\x3e"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},i={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}}}}]); \ No newline at end of file diff --git a/static/js/146.b822f926.chunk.js b/static/js/147.f48cbc6c.chunk.js similarity index 97% rename from static/js/146.b822f926.chunk.js rename to static/js/147.f48cbc6c.chunk.js index cc1d85a28..7ef26423c 100644 --- a/static/js/146.b822f926.chunk.js +++ b/static/js/147.f48cbc6c.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[146],{EaLm:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return o}));var r={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[147],{EaLm:function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return r})),t.d(n,"language",(function(){return o}));var r={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0}},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|.*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+$/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}}}}]); \ No newline at end of file diff --git a/static/js/147.a1d9e524.chunk.js b/static/js/148.ea85c2ef.chunk.js similarity index 99% rename from static/js/147.a1d9e524.chunk.js rename to static/js/148.ea85c2ef.chunk.js index b3b83ccfe..0c79447cc 100644 --- a/static/js/147.a1d9e524.chunk.js +++ b/static/js/148.ea85c2ef.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[147],{"4yiN":function(e,t,n){"use strict";n.r(t),n.d(t,"setupTypeScript",(function(){return M})),n.d(t,"setupJavaScript",(function(){return K})),n.d(t,"getJavaScriptWorker",(function(){return L})),n.d(t,"getTypeScriptWorker",(function(){return R}));var r,o,i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(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(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},s=function(){function e(e,t){var n=this;this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange((function(){return n._stopWorker()})),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange((function(){return n._updateExtraLibs()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=n.sent(),this._updateExtraLibsToken!==e?[2]:(t.updateExtraLibs(this._defaults.getExtraLibs()),[2])}}))}))},e.prototype._getClient=function(){var e=this;if(!this._client){this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs()}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then((function(t){return e._worker?e._worker.withSyncedResources(monaco.editor.getModels().filter((function(t){return t.getModeId()===e._modeId})).map((function(e){return e.uri}))):t}))),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return this._getClient().then((function(t){e=t})).then((function(e){if(t._worker)return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),u=(r=function(e,t){return(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(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(a,s)}u((r=r.apply(e,t||[])).next())}))},l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},p=monaco.Uri,f=monaco.Range;function g(e,t,n){if(void 0===n&&(n=0),"string"==typeof e)return e;if(void 0===e)return"";var r="";if(n){r+=t;for(var o=0;o<n;o++)r+=" "}if(r+=e.messageText,n++,e.next)for(var i=0,a=e.next;i<a.length;i++){r+=g(a[i],t,n)}return r}function d(e){return e?e.map((function(e){return e.text})).join(""):""}!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(o||(o={}));var m,h=function(){function e(e){this._worker=e}return e.prototype._textSpanToRange=function(e,t){var n=e.getPositionAt(t.start),r=e.getPositionAt(t.start+t.length);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}},e}();!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(m||(m={}));var v=function(e){function t(t,n,r){var o=e.call(this,r)||this;o._defaults=t,o._selector=n,o._disposables=[],o._listener=Object.create(null);var i=function(e){if(e.getModeId()===n){var t,r=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return o._doValidate(e)}),500)}));o._listener[e.uri.toString()]={dispose:function(){r.dispose(),clearTimeout(t)}},o._doValidate(e)}},a=function(e){monaco.editor.setModelMarkers(e,o._selector,[]);var t=e.uri.toString();o._listener[t]&&(o._listener[t].dispose(),delete o._listener[t])};o._disposables.push(monaco.editor.onDidCreateModel(i)),o._disposables.push(monaco.editor.onWillDisposeModel(a)),o._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){a(e.model),i(e.model)}))),o._disposables.push({dispose:function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n)}}});var s=function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n),i(n)}};return o._disposables.push(o._defaults.onDidChange(s)),o._disposables.push(o._defaults.onDidExtraLibsChange(s)),monaco.editor.getModels().forEach(i),o}return u(t,e),t.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},t.prototype._doValidate=function(e){return c(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,u,c=this;return l(this,(function(l){switch(l.label){case 0:return[4,this._worker(e.uri)];case 1:return t=l.sent(),e.isDisposed()?[2]:(n=[],r=this._defaults.getDiagnosticsOptions(),o=r.noSyntaxValidation,i=r.noSemanticValidation,a=r.noSuggestionDiagnostics,o||n.push(t.getSyntacticDiagnostics(e.uri.toString())),i||n.push(t.getSemanticDiagnostics(e.uri.toString())),a||n.push(t.getSuggestionDiagnostics(e.uri.toString())),[4,Promise.all(n)]);case 2:return!(s=l.sent())||e.isDisposed()||(u=s.reduce((function(e,t){return t.concat(e)}),[]).filter((function(e){return-1===(c._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)})).map((function(t){return c._convertDiagnostics(e,t)})),monaco.editor.setModelMarkers(e,this._selector,u)),[2]}}))}))},t.prototype._convertDiagnostics=function(e,t){var n=t.start||0,r=t.length||1,o=e.getPositionAt(n),i=o.lineNumber,a=o.column,s=e.getPositionAt(n+r),u=s.lineNumber,c=s.column;return{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:i,startColumn:a,endLineNumber:u,endColumn:c,message:g(t.messageText,"\n"),code:t.code.toString(),tags:t.reportsUnnecessary?[monaco.MarkerTag.Unnecessary]:[],relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}},t.prototype._convertRelatedInformation=function(e,t){if(t){var n=[];return t.forEach((function(t){var r=e;if(t.file){var o=monaco.Uri.parse(t.file.fileName);r=monaco.editor.getModel(o)}if(r){var i=t.start||0,a=t.length||1,s=r.getPositionAt(i),u=s.lineNumber,c=s.column,l=r.getPositionAt(i+a),p=l.lineNumber,f=l.column;n.push({resource:r.uri,startLineNumber:u,startColumn:c,endLineNumber:p,endColumn:f,message:g(t.messageText,"\n")})}})),n}},t.prototype._tsDiagnosticCategoryToMarkerSeverity=function(e){switch(e){case m.Error:return monaco.MarkerSeverity.Error;case m.Message:return monaco.MarkerSeverity.Info;case m.Warning:return monaco.MarkerSeverity.Warning;case m.Suggestion:return monaco.MarkerSeverity.Hint}return monaco.MarkerSeverity.Info},t}(h),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!0,configurable:!0}),t.prototype.provideCompletionItems=function(e,n,r,o){return c(this,void 0,void 0,(function(){var r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return r=e.getWordUntilPosition(n),o=new f(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=e.uri,a=e.getOffsetAt(n),[4,this._worker(i)];case 1:return[4,u.sent().getCompletionsAtPosition(i.toString(),a)];case 2:return!(s=u.sent())||e.isDisposed()?[2]:[2,{suggestions:s.entries.map((function(r){var a=o;if(r.replacementSpan){var s=e.getPositionAt(r.replacementSpan.start),u=e.getPositionAt(r.replacementSpan.start+r.replacementSpan.length);a=new f(s.lineNumber,s.column,u.lineNumber,u.column)}return{uri:i,position:n,range:a,label:r.name,insertText:r.name,sortText:r.sortText,kind:t.convertKind(r.kind)}}))}]}}))}))},t.prototype.resolveCompletionItem=function(e,n,r,o){return c(this,void 0,void 0,(function(){var n,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return o=(n=r).uri,i=n.position,a=e.getOffsetAt(i),[4,this._worker(o)];case 1:return[4,u.sent().getCompletionEntryDetails(o.toString(),a,n.label)];case 2:return!(s=u.sent())||e.isDisposed()?[2,n]:[2,{uri:o,position:i,label:s.name,kind:t.convertKind(s.kind),detail:d(s.displayParts),documentation:{value:d(s.documentation)}}]}}))}))},t.convertKind=function(e){switch(e){case C.primitiveType:case C.keyword:return monaco.languages.CompletionItemKind.Keyword;case C.variable:case C.localVariable:return monaco.languages.CompletionItemKind.Variable;case C.memberVariable:case C.memberGetAccessor:case C.memberSetAccessor:return monaco.languages.CompletionItemKind.Field;case C.function:case C.memberFunction:case C.constructSignature:case C.callSignature:case C.indexSignature:return monaco.languages.CompletionItemKind.Function;case C.enum:return monaco.languages.CompletionItemKind.Enum;case C.module:return monaco.languages.CompletionItemKind.Module;case C.class:return monaco.languages.CompletionItemKind.Class;case C.interface:return monaco.languages.CompletionItemKind.Interface;case C.warning:return monaco.languages.CompletionItemKind.File}return monaco.languages.CompletionItemKind.Property},t}(h),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return u(t,e),t.prototype.provideSignatureHelp=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i;return l(this,(function(a){switch(a.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getSignatureHelpItems(n.toString(),r)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:(i={activeSignature:o.selectedItemIndex,activeParameter:o.argumentIndex,signatures:[]},o.items.forEach((function(e){var t={label:"",parameters:[]};t.documentation=d(e.documentation),t.label+=d(e.prefixDisplayParts),e.parameters.forEach((function(n,r,o){var i=d(n.displayParts),a={label:i,documentation:d(n.documentation)};t.label+=i,t.parameters.push(a),r<o.length-1&&(t.label+=d(e.separatorDisplayParts))})),t.label+=d(e.suffixDisplayParts),i.signatures.push(t)})),[2,{value:i,dispose:function(){}}])}}))}))},t}(h),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideHover=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getQuickInfoAtPosition(n.toString(),r)];case 2:return!(o=u.sent())||e.isDisposed()?[2]:(i=d(o.documentation),a=o.tags?o.tags.map((function(e){var t="*@"+e.name+"*";return e.text?t+(e.text.match(/\r\n|\n/g)?" \n"+e.text:" - "+e.text):t})).join(" \n\n"):"",s=d(o.displayParts),[2,{range:this._textSpanToRange(e,o.textSpan),contents:[{value:"```js\n"+s+"\n```\n"},{value:i+(a?"\n\n"+a:"")}]}])}}))}))},t}(h),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentHighlights=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i=this;return l(this,(function(a){switch(a.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getOccurrencesAtPosition(n.toString(),r)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:[2,o.map((function(t){return{range:i._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?monaco.languages.DocumentHighlightKind.Write:monaco.languages.DocumentHighlightKind.Text}}))]}}))}))},t}(h),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDefinition=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s,u,c,f;return l(this,(function(l){switch(l.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getDefinitionAtPosition(n.toString(),r)];case 2:if(!(o=l.sent())||e.isDisposed())return[2];for(i=[],a=0,s=o;a<s.length;a++)u=s[a],c=p.parse(u.fileName),(f=monaco.editor.getModel(c))&&i.push({uri:c,range:this._textSpanToRange(f,u.textSpan)});return[2,i]}}))}))},t}(h),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideReferences=function(e,t,n,r){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s,u,c,f;return l(this,(function(l){switch(l.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getReferencesAtPosition(n.toString(),r)];case 2:if(!(o=l.sent())||e.isDisposed())return[2];for(i=[],a=0,s=o;a<s.length;a++)u=s[a],c=p.parse(u.fileName),(f=monaco.editor.getModel(c))&&i.push({uri:c,range:this._textSpanToRange(f,u.textSpan)});return[2,i]}}))}))},t}(h),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentSymbols=function(e,t){return c(this,void 0,void 0,(function(){var t,n,r,o,i=this;return l(this,(function(a){switch(a.label){case 0:return t=e.uri,[4,this._worker(t)];case 1:return[4,a.sent().getNavigationBarItems(t.toString())];case 2:return!(n=a.sent())||e.isDisposed()?[2]:(r=function(t,n,o){var a={name:n.text,detail:"",kind:A[n.kind]||monaco.languages.SymbolKind.Variable,range:i._textSpanToRange(e,n.spans[0]),selectionRange:i._textSpanToRange(e,n.spans[0]),tags:[],containerName:o};if(n.childItems&&n.childItems.length>0)for(var s=0,u=n.childItems;s<u.length;s++){var c=u[s];r(t,c,a.name)}t.push(a)},o=[],n.forEach((function(e){return r(o,e)})),[2,o])}}))}))},t}(h),C=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}(),A=Object.create(null);A[C.module]=monaco.languages.SymbolKind.Module,A[C.class]=monaco.languages.SymbolKind.Class,A[C.enum]=monaco.languages.SymbolKind.Enum,A[C.interface]=monaco.languages.SymbolKind.Interface,A[C.memberFunction]=monaco.languages.SymbolKind.Method,A[C.memberVariable]=monaco.languages.SymbolKind.Property,A[C.memberGetAccessor]=monaco.languages.SymbolKind.Property,A[C.memberSetAccessor]=monaco.languages.SymbolKind.Property,A[C.variable]=monaco.languages.SymbolKind.Variable,A[C.const]=monaco.languages.SymbolKind.Variable,A[C.localVariable]=monaco.languages.SymbolKind.Variable,A[C.variable]=monaco.languages.SymbolKind.Variable,A[C.function]=monaco.languages.SymbolKind.Function,A[C.localFunction]=monaco.languages.SymbolKind.Function;var I,P,T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:o.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(h),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s=this;return l(this,(function(u){switch(u.label){case 0:return r=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),i=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),[4,this._worker(r)];case 1:return[4,u.sent().getFormattingEditsForRange(r.toString(),o,i,T._convertOptions(n))];case 2:return!(a=u.sent())||e.isDisposed()?[2]:[2,a.map((function(t){return s._convertTextChanges(e,t)}))]}}))}))},t}(T),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!0,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,r,o){return c(this,void 0,void 0,(function(){var o,i,a,s=this;return l(this,(function(u){switch(u.label){case 0:return o=e.uri,i=e.getOffsetAt(t),[4,this._worker(o)];case 1:return[4,u.sent().getFormattingEditsAfterKeystroke(o.toString(),i,n,T._convertOptions(r))];case 2:return!(a=u.sent())||e.isDisposed()?[2]:[2,a.map((function(t){return s._convertTextChanges(e,t)}))]}}))}))},t}(T),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideCodeActions=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s,u,c=this;return l(this,(function(l){switch(l.label){case 0:return r=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),i=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),a=T._convertOptions(e.getOptions()),s=n.markers.filter((function(e){return e.code})).map((function(e){return e.code})).map(Number),[4,this._worker(r)];case 1:return[4,l.sent().getCodeFixesAtPosition(r.toString(),o,i,s,a)];case 2:return!(u=l.sent())||e.isDisposed()?[2]:[2,{actions:u.filter((function(e){return 0===e.changes.filter((function(e){return e.isNewFile})).length})).map((function(t){return c._tsCodeFixActionToMonacoCodeAction(e,n,t)})),dispose:function(){}}]}}))}))},t.prototype._tsCodeFixActionToMonacoCodeAction=function(e,t,n){for(var r=[],o=0,i=n.changes;o<i.length;o++)for(var a=0,s=i[o].textChanges;a<s.length;a++){var u=s[a];r.push({resource:e.uri,edit:{range:this._textSpanToRange(e,u.span),text:u.newText}})}return{title:n.description,edit:{edits:r},diagnostics:t.markers,kind:"quickfix"}},t}(T),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideRenameEdits=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s,u,c,p,f,g;return l(this,(function(l){switch(l.label){case 0:return r=e.uri,o=r.toString(),i=e.getOffsetAt(t),[4,this._worker(r)];case 1:return[4,(a=l.sent()).getRenameInfo(o,i,{allowRenameOfImportPath:!1})];case 2:if(!1===(s=l.sent()).canRename)return[2,{edits:[],rejectReason:s.localizedErrorMessage}];if(void 0!==s.fileToRename)throw new Error("Renaming files is not supported.");return[4,a.findRenameLocations(o,i,!1,!1,!1)];case 3:if(!(u=l.sent())||e.isDisposed())return[2];for(c=[],p=0,f=u;p<f.length;p++)g=f[p],c.push({resource:monaco.Uri.parse(g.fileName),edit:{range:this._textSpanToRange(e,g.textSpan),text:n}});return[2,{edits:c}]}}))}))},t}(h);function M(e){P=F(e,"typescript")}function K(e){I=F(e,"javascript")}function L(){return new Promise((function(e,t){if(!I)return t("JavaScript not registered!");e(I)}))}function R(){return new Promise((function(e,t){if(!P)return t("TypeScript not registered!");e(P)}))}function F(e,t){var n=new s(t,e),r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)};return monaco.languages.registerCompletionItemProvider(t,new b(r)),monaco.languages.registerSignatureHelpProvider(t,new y(r)),monaco.languages.registerHoverProvider(t,new S(r)),monaco.languages.registerDocumentHighlightProvider(t,new _(r)),monaco.languages.registerDefinitionProvider(t,new w(r)),monaco.languages.registerReferenceProvider(t,new k(r)),monaco.languages.registerDocumentSymbolProvider(t,new x(r)),monaco.languages.registerDocumentRangeFormattingEditProvider(t,new D(r)),monaco.languages.registerOnTypeFormattingEditProvider(t,new O(r)),monaco.languages.registerCodeActionProvider(t,new N(r)),monaco.languages.registerRenameProvider(t,new E(r)),new v(e,t,r),r}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[148],{"4yiN":function(e,t,n){"use strict";n.r(t),n.d(t,"setupTypeScript",(function(){return M})),n.d(t,"setupJavaScript",(function(){return K})),n.d(t,"getJavaScriptWorker",(function(){return L})),n.d(t,"getTypeScriptWorker",(function(){return R}));var r,o,i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(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(a,s)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},s=function(){function e(e,t){var n=this;this._modeId=e,this._defaults=t,this._worker=null,this._client=null,this._configChangeListener=this._defaults.onDidChange((function(){return n._stopWorker()})),this._updateExtraLibsToken=0,this._extraLibsChangeListener=this._defaults.onDidExtraLibsChange((function(){return n._updateExtraLibs()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){this._configChangeListener.dispose(),this._extraLibsChangeListener.dispose(),this._stopWorker()},e.prototype._updateExtraLibs=function(){return i(this,void 0,void 0,(function(){var e,t;return a(this,(function(n){switch(n.label){case 0:return this._worker?(e=++this._updateExtraLibsToken,[4,this._worker.getProxy()]):[2];case 1:return t=n.sent(),this._updateExtraLibsToken!==e?[2]:(t.updateExtraLibs(this._defaults.getExtraLibs()),[2])}}))}))},e.prototype._getClient=function(){var e=this;if(!this._client){this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/typescript/tsWorker",label:this._modeId,keepIdleModels:!0,createData:{compilerOptions:this._defaults.getCompilerOptions(),extraLibs:this._defaults.getExtraLibs()}});var t=this._worker.getProxy();this._defaults.getEagerModelSync()&&(t=t.then((function(t){return e._worker?e._worker.withSyncedResources(monaco.editor.getModels().filter((function(t){return t.getModeId()===e._modeId})).map((function(e){return e.uri}))):t}))),this._client=t}return this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return this._getClient().then((function(t){e=t})).then((function(e){if(t._worker)return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}(),u=(r=function(e,t){return(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(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(a,s)}u((r=r.apply(e,t||[])).next())}))},l=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},p=monaco.Uri,f=monaco.Range;function g(e,t,n){if(void 0===n&&(n=0),"string"==typeof e)return e;if(void 0===e)return"";var r="";if(n){r+=t;for(var o=0;o<n;o++)r+=" "}if(r+=e.messageText,n++,e.next)for(var i=0,a=e.next;i<a.length;i++){r+=g(a[i],t,n)}return r}function d(e){return e?e.map((function(e){return e.text})).join(""):""}!function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(o||(o={}));var m,h=function(){function e(e){this._worker=e}return e.prototype._textSpanToRange=function(e,t){var n=e.getPositionAt(t.start),r=e.getPositionAt(t.start+t.length);return{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:r.lineNumber,endColumn:r.column}},e}();!function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(m||(m={}));var v=function(e){function t(t,n,r){var o=e.call(this,r)||this;o._defaults=t,o._selector=n,o._disposables=[],o._listener=Object.create(null);var i=function(e){if(e.getModeId()===n){var t,r=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return o._doValidate(e)}),500)}));o._listener[e.uri.toString()]={dispose:function(){r.dispose(),clearTimeout(t)}},o._doValidate(e)}},a=function(e){monaco.editor.setModelMarkers(e,o._selector,[]);var t=e.uri.toString();o._listener[t]&&(o._listener[t].dispose(),delete o._listener[t])};o._disposables.push(monaco.editor.onDidCreateModel(i)),o._disposables.push(monaco.editor.onWillDisposeModel(a)),o._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){a(e.model),i(e.model)}))),o._disposables.push({dispose:function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n)}}});var s=function(){for(var e=0,t=monaco.editor.getModels();e<t.length;e++){var n=t[e];a(n),i(n)}};return o._disposables.push(o._defaults.onDidChange(s)),o._disposables.push(o._defaults.onDidExtraLibsChange(s)),monaco.editor.getModels().forEach(i),o}return u(t,e),t.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},t.prototype._doValidate=function(e){return c(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,u,c=this;return l(this,(function(l){switch(l.label){case 0:return[4,this._worker(e.uri)];case 1:return t=l.sent(),e.isDisposed()?[2]:(n=[],r=this._defaults.getDiagnosticsOptions(),o=r.noSyntaxValidation,i=r.noSemanticValidation,a=r.noSuggestionDiagnostics,o||n.push(t.getSyntacticDiagnostics(e.uri.toString())),i||n.push(t.getSemanticDiagnostics(e.uri.toString())),a||n.push(t.getSuggestionDiagnostics(e.uri.toString())),[4,Promise.all(n)]);case 2:return!(s=l.sent())||e.isDisposed()||(u=s.reduce((function(e,t){return t.concat(e)}),[]).filter((function(e){return-1===(c._defaults.getDiagnosticsOptions().diagnosticCodesToIgnore||[]).indexOf(e.code)})).map((function(t){return c._convertDiagnostics(e,t)})),monaco.editor.setModelMarkers(e,this._selector,u)),[2]}}))}))},t.prototype._convertDiagnostics=function(e,t){var n=t.start||0,r=t.length||1,o=e.getPositionAt(n),i=o.lineNumber,a=o.column,s=e.getPositionAt(n+r),u=s.lineNumber,c=s.column;return{severity:this._tsDiagnosticCategoryToMarkerSeverity(t.category),startLineNumber:i,startColumn:a,endLineNumber:u,endColumn:c,message:g(t.messageText,"\n"),code:t.code.toString(),tags:t.reportsUnnecessary?[monaco.MarkerTag.Unnecessary]:[],relatedInformation:this._convertRelatedInformation(e,t.relatedInformation)}},t.prototype._convertRelatedInformation=function(e,t){if(t){var n=[];return t.forEach((function(t){var r=e;if(t.file){var o=monaco.Uri.parse(t.file.fileName);r=monaco.editor.getModel(o)}if(r){var i=t.start||0,a=t.length||1,s=r.getPositionAt(i),u=s.lineNumber,c=s.column,l=r.getPositionAt(i+a),p=l.lineNumber,f=l.column;n.push({resource:r.uri,startLineNumber:u,startColumn:c,endLineNumber:p,endColumn:f,message:g(t.messageText,"\n")})}})),n}},t.prototype._tsDiagnosticCategoryToMarkerSeverity=function(e){switch(e){case m.Error:return monaco.MarkerSeverity.Error;case m.Message:return monaco.MarkerSeverity.Info;case m.Warning:return monaco.MarkerSeverity.Warning;case m.Suggestion:return monaco.MarkerSeverity.Hint}return monaco.MarkerSeverity.Info},t}(h),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"triggerCharacters",{get:function(){return["."]},enumerable:!0,configurable:!0}),t.prototype.provideCompletionItems=function(e,n,r,o){return c(this,void 0,void 0,(function(){var r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return r=e.getWordUntilPosition(n),o=new f(n.lineNumber,r.startColumn,n.lineNumber,r.endColumn),i=e.uri,a=e.getOffsetAt(n),[4,this._worker(i)];case 1:return[4,u.sent().getCompletionsAtPosition(i.toString(),a)];case 2:return!(s=u.sent())||e.isDisposed()?[2]:[2,{suggestions:s.entries.map((function(r){var a=o;if(r.replacementSpan){var s=e.getPositionAt(r.replacementSpan.start),u=e.getPositionAt(r.replacementSpan.start+r.replacementSpan.length);a=new f(s.lineNumber,s.column,u.lineNumber,u.column)}return{uri:i,position:n,range:a,label:r.name,insertText:r.name,sortText:r.sortText,kind:t.convertKind(r.kind)}}))}]}}))}))},t.prototype.resolveCompletionItem=function(e,n,r,o){return c(this,void 0,void 0,(function(){var n,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return o=(n=r).uri,i=n.position,a=e.getOffsetAt(i),[4,this._worker(o)];case 1:return[4,u.sent().getCompletionEntryDetails(o.toString(),a,n.label)];case 2:return!(s=u.sent())||e.isDisposed()?[2,n]:[2,{uri:o,position:i,label:s.name,kind:t.convertKind(s.kind),detail:d(s.displayParts),documentation:{value:d(s.documentation)}}]}}))}))},t.convertKind=function(e){switch(e){case C.primitiveType:case C.keyword:return monaco.languages.CompletionItemKind.Keyword;case C.variable:case C.localVariable:return monaco.languages.CompletionItemKind.Variable;case C.memberVariable:case C.memberGetAccessor:case C.memberSetAccessor:return monaco.languages.CompletionItemKind.Field;case C.function:case C.memberFunction:case C.constructSignature:case C.callSignature:case C.indexSignature:return monaco.languages.CompletionItemKind.Function;case C.enum:return monaco.languages.CompletionItemKind.Enum;case C.module:return monaco.languages.CompletionItemKind.Module;case C.class:return monaco.languages.CompletionItemKind.Class;case C.interface:return monaco.languages.CompletionItemKind.Interface;case C.warning:return monaco.languages.CompletionItemKind.File}return monaco.languages.CompletionItemKind.Property},t}(h),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signatureHelpTriggerCharacters=["(",","],t}return u(t,e),t.prototype.provideSignatureHelp=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i;return l(this,(function(a){switch(a.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getSignatureHelpItems(n.toString(),r)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:(i={activeSignature:o.selectedItemIndex,activeParameter:o.argumentIndex,signatures:[]},o.items.forEach((function(e){var t={label:"",parameters:[]};t.documentation=d(e.documentation),t.label+=d(e.prefixDisplayParts),e.parameters.forEach((function(n,r,o){var i=d(n.displayParts),a={label:i,documentation:d(n.documentation)};t.label+=i,t.parameters.push(a),r<o.length-1&&(t.label+=d(e.separatorDisplayParts))})),t.label+=d(e.suffixDisplayParts),i.signatures.push(t)})),[2,{value:i,dispose:function(){}}])}}))}))},t}(h),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideHover=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s;return l(this,(function(u){switch(u.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,u.sent().getQuickInfoAtPosition(n.toString(),r)];case 2:return!(o=u.sent())||e.isDisposed()?[2]:(i=d(o.documentation),a=o.tags?o.tags.map((function(e){var t="*@"+e.name+"*";return e.text?t+(e.text.match(/\r\n|\n/g)?" \n"+e.text:" - "+e.text):t})).join(" \n\n"):"",s=d(o.displayParts),[2,{range:this._textSpanToRange(e,o.textSpan),contents:[{value:"```js\n"+s+"\n```\n"},{value:i+(a?"\n\n"+a:"")}]}])}}))}))},t}(h),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentHighlights=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i=this;return l(this,(function(a){switch(a.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,a.sent().getOccurrencesAtPosition(n.toString(),r)];case 2:return!(o=a.sent())||e.isDisposed()?[2]:[2,o.map((function(t){return{range:i._textSpanToRange(e,t.textSpan),kind:t.isWriteAccess?monaco.languages.DocumentHighlightKind.Write:monaco.languages.DocumentHighlightKind.Text}}))]}}))}))},t}(h),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDefinition=function(e,t,n){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s,u,c,f;return l(this,(function(l){switch(l.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getDefinitionAtPosition(n.toString(),r)];case 2:if(!(o=l.sent())||e.isDisposed())return[2];for(i=[],a=0,s=o;a<s.length;a++)u=s[a],c=p.parse(u.fileName),(f=monaco.editor.getModel(c))&&i.push({uri:c,range:this._textSpanToRange(f,u.textSpan)});return[2,i]}}))}))},t}(h),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideReferences=function(e,t,n,r){return c(this,void 0,void 0,(function(){var n,r,o,i,a,s,u,c,f;return l(this,(function(l){switch(l.label){case 0:return n=e.uri,r=e.getOffsetAt(t),[4,this._worker(n)];case 1:return[4,l.sent().getReferencesAtPosition(n.toString(),r)];case 2:if(!(o=l.sent())||e.isDisposed())return[2];for(i=[],a=0,s=o;a<s.length;a++)u=s[a],c=p.parse(u.fileName),(f=monaco.editor.getModel(c))&&i.push({uri:c,range:this._textSpanToRange(f,u.textSpan)});return[2,i]}}))}))},t}(h),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentSymbols=function(e,t){return c(this,void 0,void 0,(function(){var t,n,r,o,i=this;return l(this,(function(a){switch(a.label){case 0:return t=e.uri,[4,this._worker(t)];case 1:return[4,a.sent().getNavigationBarItems(t.toString())];case 2:return!(n=a.sent())||e.isDisposed()?[2]:(r=function(t,n,o){var a={name:n.text,detail:"",kind:A[n.kind]||monaco.languages.SymbolKind.Variable,range:i._textSpanToRange(e,n.spans[0]),selectionRange:i._textSpanToRange(e,n.spans[0]),tags:[],containerName:o};if(n.childItems&&n.childItems.length>0)for(var s=0,u=n.childItems;s<u.length;s++){var c=u[s];r(t,c,a.name)}t.push(a)},o=[],n.forEach((function(e){return r(o,e)})),[2,o])}}))}))},t}(h),C=function(){function e(){}return e.unknown="",e.keyword="keyword",e.script="script",e.module="module",e.class="class",e.interface="interface",e.type="type",e.enum="enum",e.variable="var",e.localVariable="local var",e.function="function",e.localFunction="local function",e.memberFunction="method",e.memberGetAccessor="getter",e.memberSetAccessor="setter",e.memberVariable="property",e.constructorImplementation="constructor",e.callSignature="call",e.indexSignature="index",e.constructSignature="construct",e.parameter="parameter",e.typeParameter="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.const="const",e.let="let",e.warning="warning",e}(),A=Object.create(null);A[C.module]=monaco.languages.SymbolKind.Module,A[C.class]=monaco.languages.SymbolKind.Class,A[C.enum]=monaco.languages.SymbolKind.Enum,A[C.interface]=monaco.languages.SymbolKind.Interface,A[C.memberFunction]=monaco.languages.SymbolKind.Method,A[C.memberVariable]=monaco.languages.SymbolKind.Property,A[C.memberGetAccessor]=monaco.languages.SymbolKind.Property,A[C.memberSetAccessor]=monaco.languages.SymbolKind.Property,A[C.variable]=monaco.languages.SymbolKind.Variable,A[C.const]=monaco.languages.SymbolKind.Variable,A[C.localVariable]=monaco.languages.SymbolKind.Variable,A[C.variable]=monaco.languages.SymbolKind.Variable,A[C.function]=monaco.languages.SymbolKind.Function,A[C.localFunction]=monaco.languages.SymbolKind.Function;var I,P,T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t._convertOptions=function(e){return{ConvertTabsToSpaces:e.insertSpaces,TabSize:e.tabSize,IndentSize:e.tabSize,IndentStyle:o.Smart,NewLineCharacter:"\n",InsertSpaceAfterCommaDelimiter:!0,InsertSpaceAfterSemicolonInForStatements:!0,InsertSpaceBeforeAndAfterBinaryOperators:!0,InsertSpaceAfterKeywordsInControlFlowStatements:!0,InsertSpaceAfterFunctionKeywordForAnonymousFunctions:!0,InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,PlaceOpenBraceOnNewLineForControlBlocks:!1,PlaceOpenBraceOnNewLineForFunctions:!1}},t.prototype._convertTextChanges=function(e,t){return{text:t.newText,range:this._textSpanToRange(e,t.span)}},t}(h),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s=this;return l(this,(function(u){switch(u.label){case 0:return r=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),i=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),[4,this._worker(r)];case 1:return[4,u.sent().getFormattingEditsForRange(r.toString(),o,i,T._convertOptions(n))];case 2:return!(a=u.sent())||e.isDisposed()?[2]:[2,a.map((function(t){return s._convertTextChanges(e,t)}))]}}))}))},t}(T),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"autoFormatTriggerCharacters",{get:function(){return[";","}","\n"]},enumerable:!0,configurable:!0}),t.prototype.provideOnTypeFormattingEdits=function(e,t,n,r,o){return c(this,void 0,void 0,(function(){var o,i,a,s=this;return l(this,(function(u){switch(u.label){case 0:return o=e.uri,i=e.getOffsetAt(t),[4,this._worker(o)];case 1:return[4,u.sent().getFormattingEditsAfterKeystroke(o.toString(),i,n,T._convertOptions(r))];case 2:return!(a=u.sent())||e.isDisposed()?[2]:[2,a.map((function(t){return s._convertTextChanges(e,t)}))]}}))}))},t}(T),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideCodeActions=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s,u,c=this;return l(this,(function(l){switch(l.label){case 0:return r=e.uri,o=e.getOffsetAt({lineNumber:t.startLineNumber,column:t.startColumn}),i=e.getOffsetAt({lineNumber:t.endLineNumber,column:t.endColumn}),a=T._convertOptions(e.getOptions()),s=n.markers.filter((function(e){return e.code})).map((function(e){return e.code})).map(Number),[4,this._worker(r)];case 1:return[4,l.sent().getCodeFixesAtPosition(r.toString(),o,i,s,a)];case 2:return!(u=l.sent())||e.isDisposed()?[2]:[2,{actions:u.filter((function(e){return 0===e.changes.filter((function(e){return e.isNewFile})).length})).map((function(t){return c._tsCodeFixActionToMonacoCodeAction(e,n,t)})),dispose:function(){}}]}}))}))},t.prototype._tsCodeFixActionToMonacoCodeAction=function(e,t,n){for(var r=[],o=0,i=n.changes;o<i.length;o++)for(var a=0,s=i[o].textChanges;a<s.length;a++){var u=s[a];r.push({resource:e.uri,edit:{range:this._textSpanToRange(e,u.span),text:u.newText}})}return{title:n.description,edit:{edits:r},diagnostics:t.markers,kind:"quickfix"}},t}(T),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),t.prototype.provideRenameEdits=function(e,t,n,r){return c(this,void 0,void 0,(function(){var r,o,i,a,s,u,c,p,f,g;return l(this,(function(l){switch(l.label){case 0:return r=e.uri,o=r.toString(),i=e.getOffsetAt(t),[4,this._worker(r)];case 1:return[4,(a=l.sent()).getRenameInfo(o,i,{allowRenameOfImportPath:!1})];case 2:if(!1===(s=l.sent()).canRename)return[2,{edits:[],rejectReason:s.localizedErrorMessage}];if(void 0!==s.fileToRename)throw new Error("Renaming files is not supported.");return[4,a.findRenameLocations(o,i,!1,!1,!1)];case 3:if(!(u=l.sent())||e.isDisposed())return[2];for(c=[],p=0,f=u;p<f.length;p++)g=f[p],c.push({resource:monaco.Uri.parse(g.fileName),edit:{range:this._textSpanToRange(e,g.textSpan),text:n}});return[2,{edits:c}]}}))}))},t}(h);function M(e){P=F(e,"typescript")}function K(e){I=F(e,"javascript")}function L(){return new Promise((function(e,t){if(!I)return t("JavaScript not registered!");e(I)}))}function R(){return new Promise((function(e,t){if(!P)return t("TypeScript not registered!");e(P)}))}function F(e,t){var n=new s(t,e),r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)};return monaco.languages.registerCompletionItemProvider(t,new b(r)),monaco.languages.registerSignatureHelpProvider(t,new y(r)),monaco.languages.registerHoverProvider(t,new S(r)),monaco.languages.registerDocumentHighlightProvider(t,new _(r)),monaco.languages.registerDefinitionProvider(t,new w(r)),monaco.languages.registerReferenceProvider(t,new k(r)),monaco.languages.registerDocumentSymbolProvider(t,new x(r)),monaco.languages.registerDocumentRangeFormattingEditProvider(t,new D(r)),monaco.languages.registerOnTypeFormattingEditProvider(t,new O(r)),monaco.languages.registerCodeActionProvider(t,new N(r)),monaco.languages.registerRenameProvider(t,new E(r)),new v(e,t,r),r}}}]); \ No newline at end of file diff --git a/static/js/15.38e81f9b.chunk.js b/static/js/15.38e81f9b.chunk.js deleted file mode 100644 index b1a84f36e..000000000 --- a/static/js/15.38e81f9b.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 15.38e81f9b.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[15,4,5,9,19,71,77],{"+B/L":function(e,t,n){},"+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}()},"+K+b":function(e,t,n){var i=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},"+Qka":function(e,t,n){var i=n("fmRc"),o=n("t2Dn"),r=n("cq/+"),s=n("T1AV"),a=n("GoyQ"),u=n("mTTR"),l=n("itsj");e.exports=function e(t,n,c,d,h){t!==n&&r(n,(function(r,u){if(h||(h=new i),a(r))s(t,n,u,c,e,d,h);else{var f=d?d(l(t,u),r,u+"",t,n,h):void 0;void 0===f&&(f=r),o(t,u,f)}}),u)}},"+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(112).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)}))}))}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var i=n("dTAl"),o=n("LcsW"),r=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:i(o(e))}},"+kn0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}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=s,t.format=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=1,o=t[0],s=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var a=String(o).replace(r,(function(e){if("%%"===e)return"%";if(i>=s)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}})),u=t[i];i<s;u=t[++i])a+=" "+u;return a}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,i){if(t.first){return a(function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e),n,i)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var r=Object.keys(e),u=r.length,l=0,c=[],d=new Promise((function(t,d){var h=function(e){if(c.push.apply(c,e),++l===u)return i(c),c.length?d({errors:c,fields:s(c)}):t()};r.forEach((function(t){var i=e[t];-1!==o.indexOf(t)?a(i,n,h):function(e,t,n){var i=[],o=0,r=e.length;function s(e){i.push.apply(i,e),++o===r&&n(i)}e.forEach((function(e){t(e,s)}))}(i,n,h)}))}));return d.catch((function(e){return e})),d},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 r=t[n];"object"===(void 0===r?"undefined":o(r))&&"object"===o(e[n])?e[n]=i({},e[n],r):e[n]=r}return e};var r=/%[sdj%]/g;t.warning=function(){};function s(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 a(e,t,n){var i=0,o=e.length;!function r(s){if(s&&s.length)n(s);else{var a=i;i+=1,a<o?t(e[a],r):n([])}}([])}},"/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 N})),n.d(t,"j",(function(){return W})),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 Q}));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),y=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),_=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 O=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),x=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),L=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":_.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),N=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),E=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),D=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:_.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:_.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:_.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:_.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:_.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:_.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:y.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:y.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:y.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:y.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:y.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(h),M=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),I=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,y=p.renderCharacters,_=c>=2?Math.round(2*p.scale):p.scale,b=0|p.maxColumn,C=e.get(78),w=0|C.verticalScrollbarSize,S=C.verticalHasArrows,O=0|C.arrowSize,x=0|C.horizontalScrollbarSize,L=e.get(48),N=e.get(30);if("string"==typeof L&&/^\d+(\.\d+)?ch$/.test(L)){var E=parseFloat(L.substr(0,L.length-2));n=m.clampedInt(E*a,0,0,1e3)}else n=m.clampedInt(L,0,0,1e3);N&&(n+=16);var D=0;if(h){var k=Math.max(s,f);D=Math.round(k*u)}var M=0;d&&(M=r);var I,T,P,R,A=0,F=A+M,j=F+D,V=j+n,W=i-M-D-n;if(g){var B=_/c;I=y?1:2,(P=Math.max(0,Math.floor((W-w-2)*B/(a+B)))+l)/B>b&&(P=Math.floor(b*B)),R=W-P,"left"===v?(T=0,A+=P,F+=P,j+=P,V+=P):T=i-P-w}else T=0,P=0,I=0,R=W;var H=S?O:0;return{width:i,height:o,glyphMarginLeft:A,glyphMarginWidth:M,lineNumbersLeft:F,lineNumbersWidth:D,decorationsLeft:j,decorationsWidth:n,contentLeft:V,contentWidth:R,renderMinimap:I,minimapLeft:T,minimapWidth:P,viewportColumn:Math.max(1,Math.floor((R-w-2)/a)),verticalScrollbarWidth:w,horizontalScrollbarHeight:x,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),P=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:_.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:_.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 A=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),j=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),V=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 W(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var B=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:_.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 Q={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 _(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 y(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:X(new _(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 _(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 _(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 _(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 _(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 x),extraEditorClassName:X(new y(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 L),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 _(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 y(33,"fontFamily",G.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:X(new E),fontLigatures2:X(new N),fontSize:X(new D),fontWeight:X(new y(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 M),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 P),lineNumbers:X(new V),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 _(53,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:X(new R),mouseStyle:X(new _(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 _(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 A),peekWidgetDefaultFocus:X(new _(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 j),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 _(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 _(73,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:X(new _(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 B),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 _(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 _(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 _(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 _(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 y(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 _(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 y(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new y(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 _(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 O),pixelRatio:X(new F),tabFocusMode:X(new K),layoutInfo:X(new I),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(119).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(){}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("o/2+"),u=n("H84U");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}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 h(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},b=o.oneOfType([o.object,o.number]),C=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,r,b=(t=C,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function C(){var e;return h(this,C),(e=b.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,r=m(e).props,u=r.prefixCls,h=r.span,f=r.order,p=r.offset,g=r.push,v=r.pull,y=r.className,b=r.children,C=_(r,["prefixCls","span","order","offset","push","pull","className","children"]),w=o("col",u),S={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},i=r[e];"number"==typeof i?n.span=i:"object"===d(i)&&(n=i||{}),delete C[e],S=c(c({},S),(l(t={},"".concat(w,"-").concat(e,"-").concat(n.span),void 0!==n.span),l(t,"".concat(w,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),l(t,"".concat(w,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),l(t,"".concat(w,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),l(t,"".concat(w,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var O=s()(w,(l(n={},"".concat(w,"-").concat(h),void 0!==h),l(n,"".concat(w,"-order-").concat(f),f),l(n,"".concat(w,"-offset-").concat(p),p),l(n,"".concat(w,"-push-").concat(g),g),l(n,"".concat(w,"-pull-").concat(v),v),n),y,S);return i.createElement(a.a.Consumer,null,(function(e){var t=e.gutter,n=C.style;return t&&(n=c(c(c({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),i.createElement("div",c({},C,{style:n,className:O}),b)}))},e}return n=C,(o=[{key:"render",value:function(){return i.createElement(u.a,null,this.renderCol)}}])&&f(n.prototype,o),r&&f(n,r),C}(i.Component);C.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:b,sm:b,md:b,lg:b,xl:b,xxl:b}},"0Cz8":function(e,t,n){var i=n("Xi7e"),o=n("ebwN"),r=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,t),this.size=n.size,this}},"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}},"0hpf":function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(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 u(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=c(n("q1tI")),f=d(n("Gytx")),p=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)}(p,e);var t,n,i,c,d=(t=p,function(){var e,n=l(t);if(u()){var i=l(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function p(){return o(this,p),d.apply(this,arguments)}return n=p,(i=[{key:"shouldComponentUpdate",value:function(e){return!f.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,i=e.onExpand,o=e.needIndentSpaced,r=e.expanded,s=e.record;if(t){var a=r?"expanded":"collapsed";return h.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(a),onClick:function(e){return i(s,e)}})}return o?h.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&r(n.prototype,i),c&&r(n,c),p}(h.Component);t.default=p},"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 O})),n.d(t,"CoreNavigationCommands",(function(){return L})),n.d(t,"CoreEditingCommands",(function(){return N}));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),y=u.a.visibleColumnFromColumn2(e,t,new l.a(g,m)),_=u.a.visibleColumnFromColumn2(e,t,new l.a(g,v));if(h){if(y>r)continue;if(_<i)continue}if(d){if(_>i)continue;if(y<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,y=r.lineNumber;if(i.selectionStart.containsPosition(r))v=i.selectionStart.endColumn;else if(r.isBeforeOrEqual(i.selectionStart.getStartPosition())){v=d;var _=new l.a(y,v);i.selectionStart.containsPosition(_)&&(v=i.selectionStart.endColumn)}else{v=h;_=new l.a(y,v);i.selectionStart.containsPosition(_)&&(v=i.selectionStart.startColumn)}return i.move(!0,y,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=y([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=y([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=y([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=y([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 y(e){return e.filter((function(e){return Boolean(e)}))}var _,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=_||(_={})).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,O,x,L,N,E,D,k=n("GR/f"),M=n("iuje"),I=n("wQH0"),T=n("T8No"),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)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditorCommand(i,n||{})},t}(s.c);function A(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}},(x=O||(O={})).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"]}}}}]},x.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 P(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 P(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 P(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:I.a.textInputFocus,primary:3599,linux:{primary:0}}})||this}return P(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:I.a.textInputFocus,primary:3601,linux:{primary:0}}})||this}return P(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 P(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:I.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:I.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 P(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:I.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:I.a.textInputFocus,primary:3596,linux:{primary:0}}}));var r=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:void 0,description:_.description})||this}return P(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=_.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 P(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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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 P(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 P(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 P(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:I.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:I.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:I.a.textInputFocus,primary:0,mac:{primary:287}}})||this}return P(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 P(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:I.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:I.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:I.a.textInputFocus,primary:0,mac:{primary:291}}})||this}return P(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 P(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:I.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:I.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 P(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:I.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:I.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 P(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:I.a.textInputFocus,primary:2064,mac:{primary:267}}})||this}return P(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:I.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return P(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:I.a.textInputFocus,primary:2066,mac:{primary:268}}})||this}return P(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:I.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return P(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 P(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 P(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 y=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return P(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 y({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(s.f)(new y({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 P(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:I.a.textInputFocus,primary:2090}})||this}return P(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:I.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:9,secondary:[1033]}})||this}return P(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:I.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:I.a.textInputFocus,primary:9,secondary:[1033]}})||this}return P(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:O.description})||this}return P(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 O.RawAtArgument.Top:s=3;break;case O.RawAtArgument.Center:s=1;break;case O.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 P(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 P(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[u.d.fromModelSelection(t.selection)])},t}(R)))}(L||(L={})),E=N||(N={}),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(s.c),E.CoreEditingCommand=D,E.LineBreakInsert=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return P(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}(D))),E.Outdent=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:1026}})||this}return P(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}(D))),E.Tab=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:2}})||this}return P(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}(D))),E.DeleteLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return P(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}(D))),E.DeleteRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return P(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}(D)));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 P(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),j=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 P(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 V(e,t){A(new j("default:"+e,e)),A(new j(e,e,t))}A(new F({editorHandler:L.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:I.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}})),A(new F({editorHandler:M.b.Undo,inputHandler:"undo",id:M.b.Undo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),A(new j("default:"+M.b.Undo,M.b.Undo)),A(new F({editorHandler:M.b.Redo,inputHandler:"redo",id:M.b.Redo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.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}})),A(new j("default:"+M.b.Redo,M.b.Redo)),V(M.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),V(M.b.ReplacePreviousChar),V(M.b.CompositionStart),V(M.b.CompositionEnd),V(M.b.Paste),V(M.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(101).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}()},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n("q1tI"),r=a(o),s=a(n("dF3D"));function a(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 l(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 u(this,t),l(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),i(t,[{key:"render",value:function(){var e=this.props._html;return r.default.createElement("div",{className:"none_panels"},r.default.createElement("div",null,r.default.createElement("img",{src:s.default,alt:""}),r.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},"2MPD":function(e,t,n){},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,i,o,r,s,a){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,i,o,r,s,a],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2mql":function(e,t,n){"use strict";var i=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},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return i.isMemo(e)?s:a[e.$$typeof]||o}a[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[i.Memo]=s;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(p){var o=f(n);o&&o!==p&&e(t,o,i)}var s=c(n);d&&(s=s.concat(d(n)));for(var a=u(t),g=u(n),m=0;m<s.length;++m){var v=s[m];if(!(r[v]||i&&i[v]||g&&g[v]||a&&a[v])){var y=h(n,v);try{l(t,v,y)}catch(e){}}}}return t}},"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}))},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("diRs")),o=d(n("W9HT")),r=d(n("5rEg")),s=d(n("14Xm")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Aosp"),n("04bd"),n("1vPl");var u=n("q1tI"),l=d(u);n("C5VC");var c=n("tnhM");function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function i(o,r){try{var s=t[o](r),a=s.value}catch(e){return void n(e)}if(!s.done)return Promise.resolve(a).then((function(e){i("next",e)}),(function(e){i("throw",e)}));e(a)}("next")}))}}t.default=function(e){var t,n,d=(t=h(s.default.mark((function e(t,n){var i;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.getBranch)(t,n);case 2:i=e.sent,U(i),Y(i),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),f=(n=h(s.default.mark((function e(t,n){var i;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.getTag)(t,n);case 2:i=e.sent,U(i),Y(i),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),p=e.projectsId,g=e.branch,m=e.owner,v=e.changeBranch,y=e.branchList,_=e.tagflag,b=void 0===_||_,C=(0,u.useState)(g),w=a(C,2),S=w[0],O=w[1],x=(0,u.useState)(void 0),L=a(x,2),N=L[0],E=L[1],D=(0,u.useState)(0),k=a(D,2),M=k[0],I=k[1],T=(0,u.useState)(!0),P=a(T,2),R=P[0],A=P[1],F=(0,u.useState)(!1),j=a(F,2),V=j[0],W=j[1],B=(0,u.useState)(void 0),H=a(B,2),z=H[0],U=H[1],K=(0,u.useState)(void 0),q=a(K,2),G=q[0],Y=q[1];function Z(e){I(e),A(!0),0===e?d(p,m):f(p,m)}(0,u.useEffect)((function(){O(g)}),[g]),(0,u.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||W(!1)}))})),(0,u.useEffect)((function(){y&&(U(y),Y(y),A(!1))}),[y]);var X=l.default.createElement("div",null,l.default.createElement("div",{className:"padding10 bor-bottom-greyE"},l.default.createElement(r.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:N,onChange:function(e){E(e.target.value);var t=e.target.value?z&&z.length>0&&z.filter((function(t){return t.name.indexOf(e.target.value)>-1})):z;Y(t)},style:{width:"220px"}}),l.default.createElement("ul",{className:"navUl"},l.default.createElement("li",{className:0===M?"navli active":"navli",onClick:function(){return Z(0)}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),b&&l.default.createElement("li",{className:1===M?"navli active":"navli",onClick:function(){return Z(1)}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),l.default.createElement(o.default,{spinning:R},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},G&&G.length>0?G.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void v(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})):l.default.createElement("p",{className:"listTips"},"暂无",N,0===M?"分支":"标签","~"))));return l.default.createElement(i.default,{placement:"bottom",visible:V,content:X,onClick:function(){return W(!V)},overlayClassName:"branch-tagBox-list"},l.default.createElement("div",{className:"branch-tagBox"},l.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===M?"分支":"标签",":"),l.default.createElement("a",{className:"ant-dropdown-link"},S),l.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},"3L66":function(e,t,n){var i=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&i(e)}},"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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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&&f(e,t)}(u,e);var t,n,o,a=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),y(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);_.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},_.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=_;t.default=b},"4rho":function(e,t,n){},"4sDh":function(e,t,n){var i=n("4uTw"),o=n("03A+"),r=n("Z0cm"),s=n("wJg7"),a=n("shjB"),u=n("9Nap");e.exports=function(e,t,n){for(var l=-1,c=(t=i(t,e)).length,d=!1;++l<c;){var h=u(t[l]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&a(c)&&s(h,c)&&(r(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"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}()},"5Tg0":function(e,t,n){(function(e){var i=n("Kz5y"),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=r&&r.exports===o?i.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("YuTi")(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 y(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 _(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 y})),n.d(t,"a",(function(){return _}))},"6Ogq":function(e,t,n){"use strict";var i,o;Object.defineProperty(t,"__esModule",{value:!0});var r={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,s=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var a="vertical"===n;if(a&&i)return i;if(!a&&o)return o;var u=document.createElement("div");Object.keys(r).forEach((function(e){u.style[e]=r[e]})),u.className="".concat(s,"-hide-scrollbar scroll-div-append-to-body"),a?u.style.overflowY="scroll":u.style.overflowX="scroll",document.body.appendChild(u);var l=0;return a?(l=u.offsetWidth-u.clientWidth,i=l):(l=u.offsetHeight-u.clientHeight,o=l),document.body.removeChild(u),l},t.debounce=function(e,t,n){var i;function o(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];var a=this;r[0]&&r[0].persist&&r[0].persist();var u=function(){i=null,n||e.apply(a,r)},l=n&&!i;clearTimeout(i),i=setTimeout(u,t),l&&e.apply(a,r)}return o.cancel=function(){i&&(clearTimeout(i),i=null)},o},t.remove=function(e,t){var n=e.indexOf(t),i=e.slice(0,n),o=e.slice(n+1,e.length);return i.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n("wCXF")),r=i(n("BC81"));t.Column=r.default;var s=i(n("AHJs"));t.ColumnGroup=s.default;var a=n("6Ogq");t.INTERNAL_COL_DEFINE=a.INTERNAL_COL_DEFINE,t.default=o.default},"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)}},"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 y})),n.d(t,"m",(function(){return _})),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 O}));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 y(e){return typeof e===a}function _(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(y(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 O(e){return void 0===e?null:e}},"77Zs":function(e,t,n){var i=n("Xi7e");e.exports=function(){this.__data__=new i,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"7zd4":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,i=0;return function(){var o=n(),r=16-(o-i);if(i=o,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"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 ky})),n.d(t,"Emitter",(function(){return My})),n.d(t,"KeyCode",(function(){return Iy})),n.d(t,"KeyMod",(function(){return Ty})),n.d(t,"Position",(function(){return Py})),n.d(t,"Range",(function(){return Ry})),n.d(t,"Selection",(function(){return Ay})),n.d(t,"SelectionDirection",(function(){return Fy})),n.d(t,"MarkerSeverity",(function(){return jy})),n.d(t,"MarkerTag",(function(){return Vy})),n.d(t,"Uri",(function(){return Wy})),n.d(t,"Token",(function(){return By})),n.d(t,"editor",(function(){return Hy})),n.d(t,"languages",(function(){return zy}));var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,y,_,b,C,w,S,O,x,L,N,E,D,k,M,I,T,P,R,A,F=n("/UlZ"),j=(n("URDS"),n("JQT/")),V=n("MI8n"),W=n("/kV6"),B=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",_[_.Info=2]="Info",_[_.Warning=4]="Warning",_[_.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"}(O||(O={})),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"}(x||(x={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(L||(L={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(N||(N={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(E||(E={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(D||(D={})),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"}(M||(M={})),function(e){e[e.Deprecated=1]="Deprecated"}(I||(I={})),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"}(P||(P={})),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"}(A||(A={}));var q=function(){function e(){}return e.chord=function(e,t){return Object(W.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:j.a,Emitter:V.a,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:D,MarkerSeverity:y,MarkerTag:b,Uri:B.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function Q(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 B.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 J,$=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}}(J||(J={}));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 B.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())}))},ye=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])}}},_e=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 ye(this,(function(i){switch(i.label){case 0:if(!fe(e,$.b.command))return[2,!1];if("string"==typeof e&&(e=B.a.parse(e)),!ae.a.getCommand(e.path))throw new Error("command '"+e.path+"' NOT known");t=[];try{t=Q(decodeURIComponent(e.query))}catch(n){try{t=Q(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),[4,(n=this._commandService).executeCommand.apply(n,_e([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 ye(this,(function(o){switch(o.label){case 0:return"string"==typeof e&&(e=B.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?B.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 ye(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 ye(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 ye(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 ye(this,(function(o){switch(o.label){case 0:return n="string"==typeof e?B.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"),Oe=n("qj0h"),xe=(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)}),Le={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},Ne=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this)||this;return i._onDidUpdate=i._register(new V.a),i._editor=t,i._options=Oe.d(n,Le,!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 xe(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),Ee=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new V.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}()),De=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,Me=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*Ee.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}(),Ie=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 De(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}(Me),Te=n("iuje"),Pe=n("M1Kb"),Re=n("twdY"),Ae=n("i/Ef"),Fe=Object(ue.c)("editorWorkerService"),je=n("t49l"),Ve=n("X+cX"),We=n("/cxE"),Be=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(We.f)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(We.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=Be.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(Be.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=Be.b(i,(function(e,t){return o._protocol.sendMessage(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(Be.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(Be.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"),Qe=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 Je(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Je(149417,t);for(var n=0,i=e.length;n<i;n++)t=Je(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 Qe(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 Qe(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Qe(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 Qe(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 Qe(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,O=-1073741824,x=this.m_forwardHistory.length-1;do{(D=S+e)===C||D<w&&u[D-1]<u[D+1]?(f=(c=u[D+1])-S-i,c<O&&b.MarkNextChange(),O=c,b.AddModifiedElement(c+1,f),S=D+1-e):(f=(c=u[D-1]+1)-S-i,c<O&&b.MarkNextChange(),O=c-1,b.AddOriginalElement(c,f+1),S=D-1-e),x>=0&&(e=(u=this.m_forwardHistory[x])[0],C=1,w=u.length-1)}while(--x>=-1);if(y=b.getReverseChanges(),v[0]){var L=h[0]+1,N=g[0]+1;if(null!==y&&y.length>0){var E=y[y.length-1];L=Math.max(L,E.getOriginalEnd()),N=Math.max(N,E.getModifiedEnd())}_=[new Qe(L,d-L+1,N,p-N+1)]}else{b=new ot,C=r,w=s,S=h[0]-g[0]-a,O=1073741824,x=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var D;(D=S+o)===C||D<w&&l[D-1]>=l[D+1]?(f=(c=l[D+1]-1)-S-a,c>O&&b.MarkNextChange(),O=c+1,b.AddOriginalElement(c+1,f+1),S=D+1-o):(f=(c=l[D-1])-S-a,c>O&&b.MarkNextChange(),O=c,b.AddModifiedElement(c+1,f+1),S=D-1-o),x>=0&&(o=(l=this.m_reverseHistory[x])[0],C=1,w=l.length-1)}while(--x>=-1);_=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,y=t-e,_=e-n,b=t-i,C=(y-v)%2==0;g[v]=e,m[y]=t,s[0]=!1;for(var w=1;w<=f/2+1;w++){var S=0,O=0;l=this.ClipDiagonalBound(v-w,w,v,p),c=this.ClipDiagonalBound(v+w,w,v,p);for(var x=l;x<=c;x+=2){u=(a=x===l||x<c&&g[x-1]<g[x+1]?g[x+1]:g[x-1]+1)-(x-v)-_;for(var L=a;a<t&&u<i&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(g[x]=a,a+u>S+O&&(S=a,O=u),!C&&Math.abs(x-y)<=w-1&&a>=m[x])return o[0]=a,r[0]=u,L<=m[x]&&w<=1448?this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s):null}var N=(S-e+(O-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,N))return s[0]=!0,o[0]=S,r[0]=O,N>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 Qe(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(y-w,w,y,p),h=this.ClipDiagonalBound(y+w,w,y,p);for(x=d;x<=h;x+=2){u=(a=x===d||x<h&&m[x-1]>=m[x+1]?m[x+1]-1:m[x-1])-(x-y)-b;for(L=a;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[x]=a,C&&Math.abs(x-v)<=w&&a<=g[x])return o[0]=a,r[0]=u,L>=g[x]&&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 E=new Int32Array(c-l+2);E[0]=v-l+1,it.Copy2(g,l,E,1,c-l+1),this.m_forwardHistory.push(E),(E=new Int32Array(h-d+2))[0]=y-d+1,it.Copy2(m,d,E,1,h-d+1),this.m_reverseHistory.push(E)}}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 Qe(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),y=pt(p,1),_=f.length+1,b=p.length+1;v<_&&y<b;){if(f.charCodeAt(v-1)!==f.charCodeAt(y-1))break;v++,y++}(v<_||y<b)&&this._pushTrimWhitespaceCharChange(s,a+1,v,_,u+1,y,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},yt=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}(),_t=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 yt(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}(),Ot=null;var xt=null;var Lt=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===Ot&&(Ot=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=Ot);for(var i=function(){if(null===xt){xt=new Ct.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)xt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)xt.set(".,;".charCodeAt(e),2)}return xt}(),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 y=void 0;switch(v){case 40:f=!0,y=0;break;case 41:y=f?0:1;break;case 91:p=!0,y=0;break;case 93:y=p?0:1;break;case 123:g=!0,y=0;break;case 125:y=g?0:1;break;case 39:y=34===d||96===d?0:1;break;case 34:y=39===d||96===d?0:1;break;case 96:y=39===d||34===d?0:1;break;case 42:y=42===d?1:0;break;case 124:y=124===d?1:0;break;default:y=i.get(v)}1===y&&(o.push(e._createLink(i,a,r,c,l)),m=!0)}else if(12===h){y=void 0;91===v?(p=!0,y=0):y=i.get(v),1===y?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 Nt(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Lt.computeLinks(e):[]}var Et=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}(),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)}}(),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())}))},Mt=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])}}},It=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(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}(_t),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 It(B.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 Mt(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 Mt(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],y=i.positionAt(p+v.originalStart),_=i.positionAt(p+v.originalStart+v.originalLength),b={text:c.substr(v.modifiedStart,v.modifiedLength),range:{startLineNumber:y.lineNumber,startColumn:y.column,endLineNumber:_.lineNumber,endColumn:_.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 Mt(this,(function(n){return(t=this._getModel(e))?[2,Nt(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 Mt(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 Mt(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 Mt(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,Et.INSTANCE.navigateValueSet(t,a,u,l,n)]):[2,null]):[2,null]}))}))},e.prototype.loadForeignModule=function(e,t,n){var i=this,o={host:Be.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(Be.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 Pt,Rt=n("G2kB"),At=Object(ue.c)("textResourceConfigurationService"),Ft=Object(ue.c)("textResourcePropertiesService"),jt=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"}(Pt||(Pt={}));var Vt=function(){function e(){}return e.prototype.getLevel=function(){return Pt.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}(),Wt=n("5Y4S"),Bt=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 Bt(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=Wt.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,At),zt(2,jt)],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 Ve.c).cancelAndSet((function(){return n._checkStopIdleWorker()}),Math.round(15e4)),n._register(n._modelService.onModelRemoved((function(e){return n._checkStopEmptyWorker()}))),n}return Bt(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 Ve.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return Bt(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),Qt=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}(),Jt=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 Bt(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 Jt(this)))}catch(e){Ue(e),this._worker=new Qt(new Tt(new Jt(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 Qt(new Tt(new Jt(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?Be.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,y=new pn(s+1,u.length),_=0,b=d,C=0,w=0,S=0;t.appendASCIIString("<span>");for(var O=0,x=u.length;O<x;O++){S+=w;var L=u[O],N=L.endIndex,E=L.type,D=0!==g&&E.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(E),t.appendASCII(34),D){for(var k=0,M=_,I=b;M<N;M++){var T=r.charCodeAt(M);k+=P=0|(9===T?c-I%c:1),M>=l&&(I+=P)}if(!n)!("vs-whitespace"===E)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);_<N;_++){y.setPartData(_,O,C,S);T=r.charCodeAt(_);var P=void 0;if(9===T){P=c-b%c|0,!i||P>1?t.write1(8594):t.write1(65515);for(var R=2;R<=P;R++)t.write1(160)}else P=1,t.write1(v);C+=P,_>=l&&(b+=P)}w=k}else{k=0;for(h&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);_<N;_++){y.setPartData(_,O,C,S);T=r.charCodeAt(_);var A=1;P=1;switch(T){case 9:P=A=c-b%c;for(R=1;R<=A;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)&&P++,m&&T<32?t.write1(9216+T):t.write1(T)}C+=A,k+=A,_>=l&&(b+=P)}w=k}t.appendASCIIString("</span>")}y.setPartData(s,u.length-1,C,S),a&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new gn(y,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 y=!1,_=0,b=u&&u[_],C=s%r,w=o;w<t;w++){var S=e.charCodeAt(w);b&&w>=b.endOffset&&(_++,b=u&&u[_]);var O=void 0;if(w<v||w>c)O=!0;else if(9===S)O=!0;else if(32===S)if(l)if(y)O=!0;else{var x=w+1<t?e.charCodeAt(w+1):0;O=32===x||9===x}else O=!0;else O=!1;O&&u&&(O=!!b&&b.startOffset<=w&&b.endOffset>w),y?(!O||!a&&C>=r)&&(d[h++]=new dn(w,"vs-whitespace"),C%=r):(w===g||O&&w>o)&&(d[h++]=new dn(w,p),C%=r),9===S?C=r:ne.w(S)?C+=2:C++,y=O,w===g&&++f<m&&(p=i[f].type,g=i[f].endIndex)}var L=!1;if(y)if(n&&l){var N=t>0?e.charCodeAt(t-1):0,E=t>1?e.charCodeAt(t-2):0;32===N&&32!==E&&9!==E||(L=!0)}else L=!0;return d[h++]=new dn(t,L?"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 _n(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 yn(e){var t=tn(1e4),n=mn(e,t);return new vn(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}var _n=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}(),On=function(e,t,n){this.range=e,this.inlineClassName=t,this.type=n},xn=function(e,t){this.range=e,this.options=t};function Ln(e){return!function(e){return Array.isArray(e)}(e)}function Nn(e){return"string"==typeof e}function En(e){return!Nn(e)}function Dn(e){return!e}function kn(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Mn(e){return e.replace(/[&<>'"_]/g,"-")}function In(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 Dn(a)?Dn(u)?!Dn(l)&&l<i.length?kn(e,i[l]):!Dn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!Dn(c)&&c<r.length?kn(e,r[c]):""):kn(e,n):"$"}))}function Pn(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 An(e,t);var n=An.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new An(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),An=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}(),jn=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 Vn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Vn(e,t);var n=An.getStackElementId(e),i=this._entries[n];return i||(i=new Vn(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Vn=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:jn.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}(),Wn=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}(),Bn=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 jn.create(e,null)},e.prototype.tokenize=function(e,t,n){var i=new Wn,o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype.tokenize2=function(e,t,n){var i=new Bn(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=Pn(this._lexer,t.stack.state)))throw In(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(En(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 In(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 jn.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,y=null,_=null,b=null;if(c){m=c.matches;var C=c.groups.shift();v=C.matched,y=C.action,_=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=Pn(this._lexer,g)))throw In(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),O=0,x=w;O<x.length;O++){var L=x[O];if((0===l||!L.matchOnlyAtLineStart)&&(m=S.match(L.regex))){v=m[0],y=L.action;break}}}if(m||(m=[""],v=""),y||(l<s&&(v=(m=[e.charAt(l)])[0]),y=this._lexer.defaultToken),null===v)break;for(l+=v.length;Ln(y)&&En(y)&&y.test;)y=y.test(v,m,g,l===s);var N=null;if("string"==typeof y||Array.isArray(y))N=y;else if(y.group)N=y.group;else if(null!==y.token&&void 0!==y.token){if(N=y.tokenSubst?Tn(this._lexer,y.token,v,m,g):y.token,y.nextEmbedded)if("@pop"===y.nextEmbedded){if(!a)throw In(this._lexer,"cannot pop embedded mode if not inside one");a=null}else{if(a)throw In(this._lexer,"cannot enter embedded mode from within an embedded mode");b=Tn(this._lexer,y.nextEmbedded,v,m,g)}if(y.goBack&&(l=Math.max(0,l-y.goBack)),y.switchTo&&"string"==typeof y.switchTo){if("@"===(E=Tn(this._lexer,y.switchTo,v,m,g))[0]&&(E=E.substr(1)),!Pn(this._lexer,E))throw In(this._lexer,"trying to switch to a state '"+E+"' that is undefined in rule: "+this._safeRuleName(_));u=u.switchTo(E)}else{if(y.transform&&"function"==typeof y.transform)throw In(this._lexer,"action.transform not supported");if(y.next)if("@push"===y.next){if(u.depth>=this._lexer.maxStack)throw In(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===y.next){if(u.depth<=1)throw In(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(_));u=u.pop()}else if("@popall"===y.next)u=u.popall();else{var E;if("@"===(E=Tn(this._lexer,y.next,v,m,g))[0]&&(E=E.substr(1)),!Pn(this._lexer,E))throw In(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(_));u=u.push(E)}}y.log&&"string"==typeof y.log&&(o=this._lexer,r=this._lexer.languageId+": "+Tn(this._lexer,y.log,v,m,g),console.log(o.languageId+": "+r))}if(null===N)throw In(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(_));if(Array.isArray(N)){if(c&&c.groups.length>0)throw In(this._lexer,"groups cannot be nested: "+this._safeRuleName(_));if(m.length!==N.length+1)throw In(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(_));for(var D=0,k=1;k<m.length;k++)D+=m[k].length;if(D!==v.length)throw In(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(_));c={rule:_,matches:m,groups:[]};for(k=0;k<N.length;k++)c.groups[k]={action:N[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===N&&(l-=v.length,v="",m=null,N=""),0===v.length){if(0===s||f!==u.depth||g!==u.state||(c?c.groups.length:0)!==p)continue;throw In(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(_))}var M=null;if(Nn(N)&&0===N.indexOf("@brackets")){var I=N.substr("@brackets".length),T=zn(this._lexer,v);if(!T)throw In(this._lexer,"@brackets token returned but no bracket defined as: "+v);M=Mn(T.token+I)}else{M=Mn(""===N?"":N+this._lexer.tokenPostfix)}if(i.emit(h+n,M),null!==b){var P=this._modeService.getModeIdForLanguageName(b);P&&(b=P);var R=this._getNestedEmbeddedModeData(b);if(l<s){S=e.substr(l);return this._nestedTokenize(S,jn.create(u,R),n+l,i)}return jn.create(u,R)}}}return jn.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||Ae.b,Ae.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 Ve.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 yn(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=yn(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=yn(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"),Qn=n("3Rsk"),Jn=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(Qn.a.JSONContribution),ai=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new V.a,this._onDidUpdateConfiguration=new V.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=Be.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;Be.k(a)&&(s.default=li(s.type)),ui.test(r)?s.scope=void 0:s.scope=Be.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(Jn.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 V.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}()),yi=Object.hasOwnProperty,_i=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 _i,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=Oe.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,Oi=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new V.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(Ee.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=Me.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(yi.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=Oe.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),xi=Object.freeze({id:"editor",order:5,type:"object",title:Zn.a("editorConfigurationTitle","Editor"),scope:5}),Li=Xn.a.as($n),Ni=mi(mi({},xi),{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 Ei=0,Di=F.i;Ei<Di.length;Ei++){var ki=Di[Ei],Mi=ki.schema;if(void 0!==Mi)if(void 0!==(Si=Mi).type||void 0!==Si.anyOf)Ni.properties["editor."+ki.name]=Mi;else for(var Ii in Mi)yi.call(Mi,Ii)&&(Ni.properties[Ii]=Mi[Ii])}var Ti=null;function Pi(){return null===Ti&&(Ti=Object.create(null),Object.keys(Ni.properties).forEach((function(e){Ti[e]=!0}))),Ti}Li.registerConfiguration(Ni);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}(),Ai=Object(ue.c)("configurationService");function Fi(e,t){var n=Object.create(null);for(var i in e)ji(n,i,e[i],t);return n}function ji(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 Vi(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 Wi(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 Bi(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?Wi(this.contents,e):this.contents},e.prototype.getOverrideValue=function(e,t){var n=this.getContentsForOverrideIdentifer(t);return n?e?Wi(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=Oe.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=Oe.a(this.contents),o=Oe.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(Oe.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&&Be.i(e[o])&&Be.i(t[o])?this.mergeContents(e[o],t[o]):e[o]=Oe.a(t[o])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?Oe.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),ji(this.contents,e,t,(function(e){throw new Error(e)}))},e.prototype.removeValue=function(e){this.removeKey(e)&&Vi(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){ji(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:[Bi(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 Jn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Jn.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 Jn.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 V.a),r._currentChord=null,r._currentChordChecker=new Ve.c,r._currentChordStatusMessage=null,r}return Gi(t,e),Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:V.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}(),Qi=n("nrhi"),Ji=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(We.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 W.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}(W.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 W.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":W.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+=W.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&&B.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=Jn.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=Jn.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,yo,_o,bo,Co,wo,So,Oo,xo=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?B.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..."),(yo=vo||(vo={})).ariaLabelEntryWithKey=Zn.a("ariaLabelEntryWithKey","{0}, {1}, commands"),yo.ariaLabelEntry=Zn.a("ariaLabelEntry","{0}, commands"),yo.quickCommandActionInput=Zn.a("quickCommandActionInput","Type the name of an action you want to execute"),yo.quickCommandActionLabel=Zn.a("quickCommandActionLabel","Command Palette"),(bo=_o||(_o={})).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"),(Oo||(Oo={})).bulkEditServiceSummary=Zn.a("bulkEditServiceSummary","Made {0} edits in {1} files");var Lo=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)}}(),No=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},Eo=function(e,t){return function(n,i){t(n,i,e)}},Do=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 V.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 Mo(e,t,n){return(i=e)&&"function"==typeof i.getEditorType&&i.getEditorType()===Te.a.ICodeEditor?t(e):n(e);var i}var Io=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=Mo(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}(),Po=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}(),Ao=function(){function e(e){this._onWillExecuteCommand=new V.a,this._onDidExecuteCommand=new V.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,Do([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 Lo(t,e),t.prototype.addDynamicKeybinding=function(e,t,n,i){var o=this,r=Object(W.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 Ao))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(Qi.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 Ji(d,s.command,s.commandArgs,a,t)}else n[i++]=new Ji(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 W.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new uo(t,ie.a)},t}(Yi);function jo(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof B.a)}var Vo=function(){function e(){this._onDidChangeConfiguration=new V.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=jo(e)?e:jo(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}(),Wo=function(){function e(e){var t=this;this.configurationService=e,this._onDidChangeConfiguration=new V.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}(),Bo=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=No([Eo(0,Ai)],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=B.a.from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new xo({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 Vo&&Object.keys(t).forEach((function(i){(function(e){return Pi()["editor."+e]||!1})(i)&&e.updateValue("editor."+i,t[i]),n&&function(e){return Pi()["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(Oo.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=V.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}()),Qo=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 Jo=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 Jo(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 V.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 Ie({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),y=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 Qo(e,t).read()}(e,t);for(var _=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 O=C-n[w].width;if(O<-.001||O>.001){b=!1;break}}var x=!0;b&&v.width!==C&&(x=!1),v.width>m.width&&(x=!1);var L=Yo.b()>2e3;return new Ie({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:x,spaceWidth:r.width,middotWidth:y.width,maxDigitWidth:_},L)},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}(Oi),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),yr=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(){var t=e.call(this)||this;return t._shouldRender=!0,t}return yr(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}(_r),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)}}(),Or=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}()),xr=function(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n},Lr=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}(),Nr=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},Er=function(e,t){this.outsideRenderedLine=e,this.ranges=t},Dr=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 Lr(e[0].left,e[0].width)];e.sort(Dr.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 Lr(i,o),i=u,o=l)}return t[n++]=new Lr(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 Dr(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}(),Mr=n("t9D7"),Ir=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),Pr=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}(),Ar=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!(!Pr&&this._options.themeType!==Mr.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(Pr||s.themeType===Mr.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 jr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping)),m||(m=Br(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 Er(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}(),jr=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 Lr(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}(),Vr=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 Lr(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 Lr(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 Lr(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}(),Wr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ir(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}(Vr),Br=Yo.m?Hr:zr;function Hr(e,t,n,i,o){return new Wr(e,t,n,i,o)}function zr(e,t,n,i,o){return new Vr(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))})),Qr={isAfterLines:!0};function Jr(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,Qr)}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=Jr(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=Jr(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=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Jr(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 Ve.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=Ee.getZoomLevel(),i=t.deltaY>0?1:-1;Ee.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}(_r),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 Ve.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),y=c.intersectRanges(i);s=n.getValueInRange(v,1)+String.fromCharCode(8230)+n.getValueInRange(y,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,ys=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}(),_s=function(e){function t(t,n){var i=e.call(this)||this;i.textArea=n,i._onFocus=i._register(new V.a),i.onFocus=i._onFocus.event,i._onBlur=i._register(new V.a),i.onBlur=i._onBlur.event,i._onKeyDown=i._register(new V.a),i.onKeyDown=i._onKeyDown.event,i._onKeyUp=i._register(new V.a),i.onKeyUp=i._onKeyUp.event,i._onCut=i._register(new V.a),i.onCut=i._onCut.event,i._onPaste=i._register(new V.a),i.onPaste=i._onPaste.event,i._onType=i._register(new V.a),i.onType=i._onType.event,i._onCompositionStart=i._register(new V.a),i.onCompositionStart=i._onCompositionStart.event,i._onCompositionUpdate=i._register(new V.a),i.onCompositionUpdate=i._onCompositionUpdate.event,i._onCompositionEnd=i._register(new V.a),i.onCompositionEnd=i._onCompositionEnd.event,i._onSelectionChangeRequest=i._register(new V.a),i.onSelectionChangeRequest=i._onSelectionChangeRequest.event,i._host=t,i._textArea=i._register(new Cs(n)),i._asyncTriggerCut=i._register(new Ve.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};ys.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=ys.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}(_r),Os=n("zrhQ"),xs=n("MD5Z"),Ls=Object(xs.Eb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},Zn.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Ns=Object(xs.Eb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},Zn.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),Es=Object(xs.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),Ds=Object(xs.Eb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),ks=Object(xs.Eb)("editor.symbolHighlightBackground",{dark:xs.s,light:xs.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),Ms=Object(xs.Eb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),Is=Object(xs.Eb)("editorCursor.foreground",{dark:"#AEAFAD",light:Os.a.black,hc:Os.a.white},Zn.a("caret","Color of the editor cursor.")),Ts=Object(xs.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.")),Ps=Object(xs.Eb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},Zn.a("editorWhitespaces","Color of whitespace characters in the editor.")),Rs=Object(xs.Eb)("editorIndentGuide.background",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorIndentGuides","Color of the editor indentation guides.")),As=Object(xs.Eb)("editorIndentGuide.activeBackground",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),Fs=Object(xs.Eb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Os.a.white},Zn.a("editorLineNumbers","Color of editor line numbers.")),js=Object(xs.Eb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:xs.b},Zn.a("editorActiveLineNumber","Color of editor active line number"),!1,Zn.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),Vs=Object(xs.Eb)("editorLineNumber.activeForeground",{dark:js,light:js,hc:js},Zn.a("editorActiveLineNumber","Color of editor active line number")),Ws=Object(xs.Eb)("editorRuler.foreground",{dark:"#5A5A5A",light:Os.a.lightgrey,hc:Os.a.white},Zn.a("editorRuler","Color of the editor rulers.")),Bs=(Object(xs.Eb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},Zn.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(xs.Eb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},Zn.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(xs.Eb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:xs.e},Zn.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(xs.Eb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},Zn.a("editorOverviewRulerBorder","Color of the overview ruler border."))),Hs=Object(xs.Eb)("editorGutter.background",{dark:xs.n,light:xs.n,hc:xs.n},Zn.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),zs=Object(xs.Eb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:Os.a.fromHex("#fff").transparent(.8)},Zn.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Us=Object(xs.Eb)("editorUnnecessaryCode.opacity",{dark:Os.a.fromHex("#000a"),light:Os.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(xs.Eb)("editorOverviewRuler.errorForeground",{dark:new Os.a(new Os.b(255,18,18,.7)),light:new Os.a(new Os.b(255,18,18,.7)),hc:new Os.a(new Os.b(255,50,50,1))},Zn.a("overviewRuleError","Overview ruler marker color for errors.")),qs=Object(xs.Eb)("editorOverviewRuler.warningForeground",{dark:xs.G,light:xs.G,hc:xs.F},Zn.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Gs=Object(xs.Eb)("editorOverviewRuler.infoForeground",{dark:xs.B,light:xs.B,hc:xs.A},Zn.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(Mr.e)((function(e,t){var n=e.getColor(xs.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var i=e.getColor(xs.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(Es);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(Ds);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(Ms);u&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+u+"; }");var l=e.getColor(Ps);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(Mr.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Vs);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)}}(),Qs=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),Js=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 ya),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++)_a(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),ya=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 _a(e,t){try{e(t)}catch(e){We.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 _s(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(Js.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 "+Qs.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 Oa=n("1YUG"),xa=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(Oa.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(Oa.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(Oa.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}(),La=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)}}(),Na=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 La(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 Ea(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),Ea=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}(),Da=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 Da((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 Ma(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}(),Ma=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}(),Ia=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 Ia(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 Pa(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),Pa=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 Ia(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),Aa=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 Ia(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)}}(),ja=function(e,t){this.top=e,this.left=t},Va=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 Wa(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),Wa=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,y=l+i<=c.height-22;return this._fixedOverflowWidgets?{fitsAbove:v,aboveTop:Math.max(u,22),aboveLeft:f,fitsBelow:y,belowTop:l,belowLeft:m}:{fitsAbove:v,aboveTop:Math.max(r,22),aboveLeft:h,fitsBelow:y,belowTop:s,belowLeft:g}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new ja(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 ja(p,a),m=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[g,new ja(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 ja(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 ja(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}(),Ba=(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 Ba(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 Ba(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 Ba(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(Mr.e)((function(e,t){Ha=!1;var n=e.getColor(Ls);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(Ns)){var i=e.getColor(Ns);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 Lr(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(Mr.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(Mr.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Cr),Qa=(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)}}()),Ja=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 Qa(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 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,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 Ja(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)),y=v?v.left:0,_=1;_<=g;_++){if(m+='<div class="'+(f&&_===l?"cigra":"cigr")+'" style="left:'+y+"px;height:"+r+"px;width:"+i+'px"></div>',(y+=i)>o||this._maxIndentLeft>0&&y>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(Mr.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(As)||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 Ar(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 Ve.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 Ar(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 xr(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 Nr(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 Ja(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 Ja(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 V.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,y=o.b-g,_=e.data,b=d*u*l,C=n*h+4*t,w=0;w<l;w++){for(var S=C,O=0;O<u;O++){var x=c[b++]/255;_[S++]=f+m*x,_[S++]=p+v*x,_[S++]=g+y*x,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 y=m,_=0;_<s;_++)g[y++]=h,g[y++]=f,g[y++]=p,y++;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},yu={1:Object(gu.a)((function(){return vu("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(gu.a)((function(){return vu("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},_u=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=yu[t]?new pu(yu[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 y=t+3840*Math.floor(v),_=1-(v-Math.floor(v)),b=f;b<p;b++){var C=1-(b-Math.floor(b)),w=y+4*Math.floor(b),S=C*_;m+=S,g+=e[w]*e[w+3]/255*S}var O=g/m;u=Math.max(u,O),n[a++]=O}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 _u.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}(),Ou=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 y=(d=Math.min(t.minimapHeight-c,d))/(u-o),_=a*y,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-_*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}(),xu=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}(),Lu=function(){function e(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Da((function(){return xu.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}(),Nu=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}(),Eu=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(xs.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 Nu(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(xs.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=Ou.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 Pe.c.Inline:this.renderDecorationOnLine(l,c,p.range,g,e,f,s,s,u,a);continue;case Pe.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,y=n.endColumn,_=n.startLineNumber,b=n.endLineNumber,C=_===r?d[v-1]:F.f,w=b>r?d.length-1:y-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 Lu(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;_<b;_++)h[_]&&t._renderLine(u,g,m,n,this._tokensColorTracker,i,v,p,f.data[_],this._options.fontScale),y[_]=new xu(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 Lu(e,u,y)},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,y=-1,_=-1,b=-1,C=-1,w=0,S=t;S<=n;S++){var O=S-t,x=S-c,L=x>=0&&x<h?d[x].dy:-1;if(-1!==L){var N=L*f*4,E=(L+i)*f*4,D=w*f*4,k=(w+i)*f*4;_===N&&C===D?(_=E,C=k):(-1!==y&&(p.set(l.subarray(y,_),b),-1===m&&0===y&&y===b&&(m=_),-1===v&&_===g&&y===b&&(v=y)),y=N,_=E,b=D,C=k),r[O]=!1,w+=i}else r[O]=!0,w+=i}return-1!==y&&(p.set(l.subarray(y,_),b),-1===m&&0===y&&y===b&&(m=_),-1===v&&_===g&&y===b&&(v=y)),[-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,y=d.getCount();v<y;v++)for(var _=d.getEndOffset(v),b=d.getForeground(v),C=o.getColor(b);g<_;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 O=ne.w(w)?2:1,x=0;x<O;x++)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(Mr.e)((function(e,t){var n=e.getColor(xs.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(xs.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(xs.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(xs.Gb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Du=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 Du(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),Mu=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)}}(),Iu=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(Bs);this.borderColor=i?i.toString():null,this.hideCursor=n.get(42);var o=t.getColor(Is);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:Os.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 Mu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new Iu(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,y=0,_=0,b=g.length;_<b;_++){var C=g[3*_],w=g[3*_+1],S=g[3*_+2],O=i.getVerticalOffsetForLineNumber(w)*o|0;if((M=(i.getVerticalOffsetForLineNumber(S)+n)*o|0)-O<s)(D=(O+M)/2|0)<a?D=a:D+a>t&&(D=t-a),O=D-a,M=D+a;O>y+1||C!==m?(0!==_&&u.fillRect(l[m],v,c[m],y-v),m=C,v=O,y=M):M>y&&(y=M)}u.fillRect(l[m],v,c[m],y-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var x=2*this._settings.pixelRatio|0,L=x/2|0,N=this._settings.x[7],E=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,y=-100,_=0,b=this._cursorPositions.length;_<b;_++){var D,k=this._cursorPositions[_];(D=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<L?D=L:D+L>t&&(D=t-L);var M=(O=D-L)+x;O>y+1?(0!==_&&u.fillRect(N,v,E,y-v),v=O,y=M):M>y&&(y=M)}u.fillRect(N,v,E,y-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),Pu=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}(),Au=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 Pu(h-f,h+f,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(Pu.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)}}(),ju=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 Au((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}(_r),Vu=(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)}}()),Wu=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 Vu(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(Mr.e)((function(e,t){var n=e.getColor(Ws);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")}));n("2MPD");var 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)}}(),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 Bu(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(Mr.e)((function(e,t){var n=e.getColor(xs.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,y=t[a+1].ranges[0].left+t[a+1].ranges[0].width;Xu(d-v)<i?f.bottom=2:v<d&&d<y&&(f.bottom=1),Xu(h-y)<i?p.bottom=2:h<y&&(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;_<b;_++){var C=h.ranges[_];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 O=t.EDITOR_BACKGROUND_CLASS_NAME;1===w.top&&(O+=" "+t.SELECTION_TOP_RIGHT),1===w.bottom&&(O+=" "+t.SELECTION_BOTTOM_RIGHT),v+=this._createSelectionPiece(m,g,O,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 x=t.EDITOR_BACKGROUND_CLASS_NAME;1===S.top&&(x+=" "+t.SELECTION_TOP_LEFT),1===S.bottom&&(x+=" "+t.SELECTION_BOTTOM_LEFT),v+=this._createSelectionPiece(m,g,x,C.left+C.width,t.ROUNDED_PIECE_WIDTH)}}var L=t.SELECTION_CLASS_NAME;if(r){w=C.startStyle,S=C.endStyle;0===w.top&&(L+=" "+t.SELECTION_TOP_LEFT),0===w.bottom&&(L+=" "+t.SELECTION_BOTTOM_LEFT),0===S.top&&(L+=" "+t.SELECTION_TOP_RIGHT),0===S.bottom&&(L+=" "+t.SELECTION_BOTTOM_RIGHT)}y+=this._createSelectionPiece(m,g,L,C.left,C.width)}e[p][0]+=v,e[p][1]+=y}},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(Mr.e)((function(e,t){var n=e.getColor(xs.C);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(xs.z);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(xs.D);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var Qu=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},Ju=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 Qu(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,y=this._lineHeight;return this._cursorStyle!==F.g.Underline&&this._cursorStyle!==F.g.UnderlineThin||(v+=this._lineHeight-2,y=2),new Qu(v,h.left,f,y,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 Ju(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 Ve.e,n._cursorFlatBlinkInterval=new Ve.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 Ju(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(Mr.e)((function(e,t){var n=e.getColor(Is);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(We.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(We.e)(e)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(We.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 xa(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 Aa(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 Qs(a._context);f.getDomNode().appendChild(a.viewZones.marginDomNode),f.getDomNode().appendChild(h.getDomNode()),a.viewParts.push(f),a.contentWidgets=new Va(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 Wu(a._context);a.viewParts.push(p);var g=new Eu(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(Mr.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 Or(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?Na.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null},t.prototype.createOverviewRuler=function(e){return new ju(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}(_r);function ll(e){try{return e()}catch(e){Object(We.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,y=void 0;d===this.lastAddedCursorIndex?(y=m,this.lastAddedCursorIndex=h):y=v;var _=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=_;var b=Ur.d.fromModelSelection(_);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}(),yl=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new V.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new V.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new V.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=_l.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(We.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),_l=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(We.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"),Ol=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}(),xl=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},Ll=function(){function e(t,n){this._instanceId=ne.G(++e.INSTANCE_COUNT),this._pendingChanges=new Ol,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 xl(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,y=t;v<y.length;v++){u=y[v];m.set(u.id,u)}var _=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=_(this._arr).concat(_(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),y=r,_=a;return y<_&&s<e&&y++,y<_&&v+o>t&&_--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:f,centeredLineNumber:g,completelyVisibleStartLineNumber:y,completelyVisibleEndLineNumber:_}},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}(),Nl=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(){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}(),Dl=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new V.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new El(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Nl(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 Ll(n,r.get(49)),o._scrollable=o._register(new Dl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new El(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Nl(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 El(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 El(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 El(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),Ml=n("tX9W"),Il=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 Il(o,t-r)},e}(),Pl=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}(),Al=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 Pl(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:Ml.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 y=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,y)}}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,y=0,_=o.length;y<_;y++){var b=o[y],C=Math.min(g-v,r[y]),w=void 0;w=2===(p=s[y])?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:jl.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}(),jl=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}(),Vl=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=Bl(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=Bl(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}(),Wl=[""];function Bl(e){if(e>=Wl.length)for(var t=1;t<=e;t++)Wl[t]=Hl(t);return Wl[e]}function Hl(e){return new Array(e+1).join(" ")}function zl(e,t){return null===e?t?Fl.INSTANCE:jl.INSTANCE:new Vl(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 xn(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 On(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 On(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 On(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 Ve.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 Al(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!==(O=e.lines.onModelLinesDeleted(s,v.fromLineNumber,v.toLineNumber))&&(n.emit(O),e.viewLayout.onLinesDeleted(O.fromLineNumber,O.toLineNumber)),i=!0;break;case 4:var y=f.slice(p,p+v.detail.length);p+=v.detail.length,null!==(S=e.lines.onModelLinesInserted(s,v.fromLineNumber,v.toLineNumber,y))&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),i=!0;break;case 2:var _=f[p];p++;var b=e.lines.onModelLineChanged(s,v.lineNumber,_),C=b[0],w=b[1],S=b[2],O=b[3];o=C,w&&n.emit(w),S&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),O&&(n.emit(O),e.viewLayout.onLinesDeleted(O.fromLineNumber,O.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 x=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(x){var L=e.coordinatesConverter.convertModelPositionToViewPosition(x.getStartPosition()),N=e.viewLayout.getVerticalOffsetForLineNumber(L.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:N+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=(_=p[f]).startLineNumber;_.isEmpty()?g!==h&&d.push(this.model.getLineContent(g)):d.push(this.model.getValueInRange(_,n?2:0)),h=g}return 1===d.length?d[0]:d}for(var m=[],v=0,y=e;v<y.length;v++){var _;(_=y[v]).isEmpty()||m.push(this.model.getValueInRange(_,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]=Os.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}(),Ql=Object(ue.c)("accessibilityService"),Jl=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 y=Math.abs(l[v]-g);v+1<m;){if((j=Math.abs(l[v+1]-g))>=y)break;y=j,v++}for(;v<m;){var _=v<0?0:u[v],b=v<0?0:l[v],C=0,w=0,S=0,O=0;if(b<=g){for(var x=b,L=n.charCodeAt(_-1),N=e.get(L),E=!0,D=_;D<a;D++){var k=D,M=n.charCodeAt(D),I=void 0,T=void 0;if(ne.x(M)?(D++,I=0,T=2):(I=e.get(M),T=sc(M,x,i,r)),uc(L,N,M,I)&&(C=k,w=x),(x+=T)>g){S=k,O=x-T,x-w>d&&(C=0),E=!1;break}L=M,N=I}if(E){p>0&&(h[p]=u[u.length-1],f[p]=l[u.length-1],p++);break}}if(0===C){x=b,M=n.charCodeAt(_),I=e.get(M);var P=!1;for(D=_-1;D>=0;D--){k=D+1;if(9===(L=n.charCodeAt(D))){P=!0;break}N=void 0;var R=void 0;if(ne.y(L)?(D--,N=0,R=2):(N=e.get(L),R=ne.w(L)?r:1),x<=g){if(0===S&&(S=k,O=x),x<=g-d)break;if(uc(L,N,M,I)){C=k,w=x;break}}x-=R,M=L,I=N}if(0!==C){var A=d-(O-w);if(A<=i){var F=n.charCodeAt(S);T=void 0;A-(T=ne.x(F)?2:sc(F,O,i,r))<0&&(C=0)}}if(P){v--;continue}}for(0===C&&(C=S,w=O),h[p]=C,f[p]=w,p++,g=w+d;v<0||v<m&&l[v]<w;)v++;for(y=Math.abs(l[v]-g);v+1<m;){var j;if((j=Math.abs(l[v+1]-g))>=y)break;y=j,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),y=1;ne.x(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),y++);for(var _=y;_<s;_++){var b=_,C=t.charCodeAt(_),w=void 0,S=void 0;ne.x(C)?(_++,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,y=0,_=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-y%n:1;y+=C}var w=Math.ceil(t.spaceWidth*y);w+t.typicalFullwidthCharacterWidth>u?(v=0,y=0):_=u-w}var S=m.substr(v),O=dc(S,y,n,_,c);d[s]=v,h[s]=y,f[s]=S,p[s]=O[0],g[s]=O[1]}l.innerHTML=c.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var x=document.createRange(),L=Array.prototype.slice.call(l.children,0),N=[];for(s=0;s<e.length;s++){var E=L[s],D=hc(x,E,f[s],p[s]);if(null!==D){v=d[s],y=h[s];var k=g[s],M=[],I=0;for(a=D.length;I<a;I++)M[I]=k[D[I]];if(0!==v)for(I=0,a=D.length;I<a;I++)D[I]+=v;N[s]=new Tl(D,M,y)}else N[s]=null}return document.body.removeChild(l),N}(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,yc=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}(),_c=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 V.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new V.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new V.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new V.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new V.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new V.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new V.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new V.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new V.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new V.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new V.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new V.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 V.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new V.a),d.onDidType=d._onDidType.event,d._onDidCompositionStart=d._register(new V.a),d.onDidCompositionStart=d._onDidCompositionStart.event,d._onDidCompositionEnd=d._register(new V.a),d.onDidCompositionEnd=d._onDidCompositionEnd.event,d._onDidPaste=d._register(new V.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new V.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new V.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new V.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new V.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new V.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new V.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new V.a),d.onMouseLeave=d._onMouseLeave.event,d._onMouseWheel=d._register(new V.a),d.onMouseWheel=d._onMouseWheel.event,d._onKeyUp=d._register(new V.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new V.a),d.onKeyDown=d._onKeyDown.event,d._onDidContentSizeChange=d._register(new V.a),d.onDidContentSizeChange=d._onDidContentSizeChange.event,d._onDidScrollChange=d._register(new V.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new V.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(We.e)(e)}}return or.d.getEditorActions().forEach((function(e){var t=new bl(e.id,e.label,e.alias,Object(Be.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,We.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,We.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 yl(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}.",yl.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 yc(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 Na(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,Mr.c),mc(8,lo.a),mc(9,Ql)],t)}(le.a),bc=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new V.a),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new V.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 V.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),Oc=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='"),xc=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 Lc(e){return Oc+encodeURIComponent(e.toString())+xc}var Nc=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Ec=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(Mr.e)((function(e,t){var n=e.getColor(xs.o);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(xs.p);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Lc(i)+'") repeat-x bottom left; }');var o=e.getColor(xs.F);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(xs.G);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Lc(r)+'") repeat-x bottom left; }');var s=e.getColor(xs.A);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(xs.B);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Lc(a)+'") repeat-x bottom left; }');var u=e.getColor(xs.x);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(xs.y);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Nc+encodeURIComponent(l.toString())+Ec+'") 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(xs.w)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}));n("lKfe");var Dc=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},Mc=[];var Ic,Tc,Pc,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)}}(),Ac=Object(ue.c)("IEditorCancelService"),Fc=new Zi.d("cancellableOperation",!1);Ic=Ac,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}(),Pc=!0,Mc.push([Ic,new kc(Tc,[],Pc)]);var jc=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(Ac).add(t,i)})),i}return Rc(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(j.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(Ac).cancel(t)},t}(or.c)));var Vc=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)}}(),Wc=(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}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(jc),function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(j.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}()),Bc=(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 Bc.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 y=e[r-1];m=0===y.originalEndLineNumber?y.originalStartLineNumber+1:y.originalEndLineNumber+1,v=0===y.modifiedEndLineNumber?y.modifiedStartLineNumber+1:y.modifiedEndLineNumber+1}var _=p-3+1,b=g-3+1;if(_<m)_+=L=m-_,b+=L;if(b<v)_+=L=v-b,b+=L;h[f++]=new Uc(_,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,O=n;if(r+1<s){var x=e[r+1];S=0===x.originalEndLineNumber?x.originalStartLineNumber:x.originalStartLineNumber-1,O=0===x.modifiedEndLineNumber?x.modifiedStartLineNumber:x.modifiedStartLineNumber-1}var L,N=C+3-1,E=w+3-1;if(N>S)N+=L=S-N,E+=L;if(E>O)N+=L=O-E,E+=L;h[f++]=new Uc(C,N,w,E),i[o++]=new Kc(h)}var D=i[0].entries,k=[],M=0;for(r=1,s=i.length;r<s;r++){var I=i[r].entries,T=D[D.length-1],P=I[0];0===T.getType()&&0===P.getType()&&P.originalLineStart<=T.originalLineEnd?(D[D.length-1]=new Uc(T.originalLineStart,P.originalLineEnd,T.modifiedLineStart,P.modifiedLineEnd),D=D.concat(I.slice(1))):(k[M++]=new Kc(D),D=I)}return k[M++]=new Kc(D),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=(E=u[p]).originalLineStart,v=E.originalLineEnd,y=E.modifiedLineStart,_=E.modifiedLineEnd;0!==m&&(0===c||m<c)&&(c=m),0!==v&&(0===d||v>d)&&(d=v),0!==y&&(0===h||y<h)&&(h=y),0!==_&&(0===f||_>f)&&(f=_)}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 O=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)},x=O(w),L=O(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,x,h,L)),b.appendChild(C),b.setAttribute("role","listitem"),l.appendChild(b);var N=h;for(p=0,g=u.length;p<g;p++){var E=u[p];t._renderSection(l,E,N,this._width,e,i,r,n,o,s),0!==E.modifiedLineStart&&(N=E.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,y=Math.max(v-m,g-p),_=o.get(107),b=_.glyphMarginWidth+_.lineNumbersWidth,C=a.get(107),w=10+C.glyphMarginWidth+C.lineNumbersWidth,S=0;S<=y;S++){var O=0===p?0:p+S,x=0===m?0:m+S,L=document.createElement("div");L.style.minWidth=i+"px",L.className=d,L.setAttribute("role","listitem"),0!==x&&(n=x),L.setAttribute("data-line",String(n));var N=document.createElement("div");N.className="diff-review-cell",L.appendChild(N);var E=document.createElement("span");E.style.width=b+"px",E.style.minWidth=b+"px",E.className="diff-review-line-number"+h,0!==O?E.appendChild(document.createTextNode(String(O))):E.innerHTML=" ",N.appendChild(E);var D=document.createElement("span");D.style.width=w+"px",D.style.minWidth=w+"px",D.style.paddingRight="10px",D.className="diff-review-line-number"+h,0!==x?D.appendChild(document.createTextNode(String(x))):D.innerHTML=" ",N.appendChild(D);var k=document.createElement("span");k.className=f,k.innerHTML="  ",N.appendChild(k);var M=void 0;0!==x?(N.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,x)),M=u.getLineContent(x)):(N.insertAdjacentHTML("beforeend",this._renderLine(r,o,s.tabSize,O)),M=r.getLineContent(O)),0===M.length&&(M=Zn.a("blankLine","blank"));var I="";switch(c){case 0:I=Zn.a("equalLine","original {0}, modified {1}: {2}",O,x,M);break;case 1:I=Zn.a("insertLine","+ modified {0}: {1}",x,M);break;case 2:I=Zn.a("deleteLine","- original {0}: {1}",O,M)}L.setAttribute("aria-label",I),e.appendChild(L)}},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 yn(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(Mr.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(xs.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"),Qc=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)}}(),Jc=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 Jc(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 Jc(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 Jc(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 Qc(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?Wc.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 V.a),f.onDidDispose=f._onDidDispose.event,f._onDidUpdateDiff=f._register(new V.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 Ve.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 y=new Xl;y.set(Zi.c,v);var _=a.createChild(y);f.originalEditor=f._createLeftHandSideEditor(i,m),f.modifiedEditor=f._createRightHandSideEditor(i,_),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(We.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(Mr.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(_c,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=Oe.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,Mr.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(xs.j)||xs.g).transparent(2),n=(e.getColor(xs.l)||xs.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=[],y=[];d.current&&d.current.afterLineNumber<=u;){var _=void 0;_=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:_,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:b}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){_=void 0;_=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,y.push({afterLineNumber:_,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&&yd(g))(m=this._produceModifiedFromDiff(g,o,i))&&y.push(m);var C=0,w=0;for(v=v.sort(l),y=y.sort(l);C<v.length&&w<y.length;){var S=v[C],O=y[w],x=S.afterLineNumber-r,L=O.afterLineNumber-s;x<L?(c(t,S),C++):L<x?(c(n,O),w++):S.shouldNotShrink?(c(t,S),C++):O.shouldNotShrink?(c(n,O),w++):S.heightInLines>=O.heightInLines?(S.heightInLines-=O.heightInLines,w++):(O.heightInLines-=S.heightInLines,C++)}for(;C<v.length;)c(t,v[C]),C++;for(;w<y.length;)c(n,y[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:Ml.a.register({className:"char-delete"}),charDeleteWholeLine:Ml.a.register({className:"char-delete",isWholeLine:!0}),charInsert:Ml.a.register({className:"char-insert"}),charInsertWholeLine:Ml.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:Ml.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:Ml.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign codicon codicon-add",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:Ml.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:Ml.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign codicon codicon-remove",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:Ml.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 Dc.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(yd(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(yd(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}),yd(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];yd(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];yd(s)&&i.push(new On(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 y=document.createElement("div");y.className="view-lines line-delete",y.innerHTML=a.build(),ir.applyFontInfoSlow(y,c);var _=document.createElement("div");return _.className="inline-deleted-margin-view-zone",_.innerHTML=u.join(""),ir.applyFontInfoSlow(_,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:p*f,domNode:y,marginDomNode:_,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 yd(e){return e.originalEndLineNumber>0}Object(Mr.e)((function(e,t){var n=e.getColor(xs.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(xs.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(xs.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(xs.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(xs.Gb);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(xs.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var _d=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)}}(),Od=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},xd=function(e,t){return function(n,i){t(n,i,e)}},Ld=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},Nd=0,Ed=!1;var Dd=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,Ed||(Ed=!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_"+ ++Nd,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,Ld([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=Od([xd(2,ue.a),xd(3,Y.a),xd(4,ae.b),xd(5,Zi.c),xd(6,Cd.a),xd(7,Mr.c),xd(8,lo.a),xd(9,Ql)],t)}(_c),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 y={oldModelUrl:null,newModelUrl:m.uri};p._onDidChangeModel.fire(y)}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=Od([xd(3,ue.a),xd(4,Y.a),xd(5,ae.b),xd(6,Zi.c),xd(7,Cd.a),xd(8,Xc.b),xd(9,_d),xd(10,lo.a),xd(11,Ai),xd(12,Ql)],t)}(Dd),Md=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(Dd,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=Od([xd(3,ue.a),xd(4,Zi.c),xd(5,Cd.a),xd(6,Xc.b),xd(7,Fe),xd(8,Y.a),xd(9,_d),xd(10,lo.a),xd(11,Ai),xd(12,Xc.a),xd(13,td),xd(14,Object(ue.d)(wd.a))],t)}(ad),Id=Object(ue.c)("IWorkspaceEditService"),Td=Object(ue.c)("modeService"),Pd=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Rd=n("l2gE"),Ad=[],Fd=[],jd=[];function Vd(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);Ad.push(n),n.userConfigured?jd.push(n):Fd.push(n),t&&!n.userConfigured&&Ad.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 Wd(e,t){var n;if(e)switch(e.scheme){case $.b.file:n=e.fsPath;break;case $.b.data:n=J.parseMetaData(e).get(J.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();var i=Object(te.basename)(n),o=Bd(n,i,jd);if(o)return[o,"text/plain"];var r=Bd(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=Ad.length-1;t>=0;t--){var n=Ad[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 Bd(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 V.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 V.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];Vd({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];Vd({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++){Vd({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)||Vd({id:i,mime:o,firstline:p},this._warnOnOverwrite)}catch(e){Object(We.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 y=v[m];y&&0!==y.length&&e.aliases.push(y)}var _=null!==g&&g.length>0;if(_&&null===g[0]);else{var b=(_?g[0]:null)||i;!_&&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===Ae.b||0===e)return Ae.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=Wd(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 V.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 V.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new V.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")||Ae.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)||Ae.a;this._instantiatedModes[e]=new Pd(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),Xd=n("QRHv"),Qd=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)}}(),Jd=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 V.a),r.onModelAdded=r._onModelAdded.event,r._onModelRemoved=r._register(new V.a),r.onModelRemoved=r._onModelRemoved.event,r._onModelModeChanged=r._register(new V.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 Qd(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 Ml.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=Jd([$d(0,Ai),$d(1,Ft),$d(2,Mr.c),$d(3,jt)],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 Qd(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 Qd(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()===Pt.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 Ve.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 Qd(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 j.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")||We.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;_<m;){var w=_,S=Math.min(w+v,m);if(S<m){for(var O=S;O-1>w&&0===l[5*O];)O--;if(O-1===w){for(var x=S;x+1<m&&0===l[5*x];)x++;S=x}else S=O}c=new Uint32Array(4*(S-w));for(var L=0,N=0;_<S;){var E=5*_,D=l[E],k=l[E+1],M=b+D,I=0===D?C+k:k,T=l[E+2],P=l[E+3],R=l[E+4],A=i.getMetadata(P,R);2147483647!==A&&(0===N&&(N=M),c[L]=M-N,c[L+1]=I,c[L+2]=I+T,c[L+3]=A,L+=4),b=M,C=I,_++}L!==c.length&&(c=c.subarray(0,L));var F=new Xd.a(N,new Xd.c(c));y.push(F)}if(o.length>0){for(var j=0,V=o;j<V.length;j++)for(var W=V[j],B=0,H=y;B<H.length;B++)for(var z=H[B],U=0,K=W.changes;U<K.length;U++){var q=K[U];z.applyEdit(q.range,q.text)}this._fetchSemanticTokens.isScheduled()||this._fetchSemanticTokens.schedule()}this._model.setSemanticTokens(y)}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 V.a),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new V.a),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new V.a),t._onDiffEditorRemove=t._register(new V.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}(),yh=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 _h(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,Mr.c)],t)}(hh),_h=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||Pe.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(B.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(B.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}(),Oh=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)}}(),xh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Oh(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}(yh),Lh=function(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o};function Nh(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 Dh,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 Ah(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 Eh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,Dh=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(Eh);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]=Os.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 Lh(r.token||"",i,s,c,d)}return t}(e),t)},e.createFromParsedTokenTheme=function(e,t){return Nh(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(Mh);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}(),Mh=/\b(comment|string|regex|regexp)\b/;var Ih,Th,Ph,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}(),Ah=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:(Ih={},Ih[xs.n]="#FFFFFE",Ih[xs.w]="#000000",Ih[xs.z]="#E5EBF1",Ih[Rs]="#D3D3D3",Ih[As]="#939393",Ih[xs.E]="#ADD6FF4D",Ih)},jh={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[xs.n]="#1E1E1E",Th[xs.w]="#D4D4D4",Th[xs.z]="#3A3D41",Th[Rs]="#404040",Th[As]="#707070",Th[xs.E]="#ADD6FF26",Th)},Vh={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:(Ph={},Ph[xs.n]="#000000",Ph[xs.w]="#FFFFFF",Ph[Rs]="#FFFFFF",Ph[As]="#FFFFFF",Ph)},Wh=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)}}(),Bh=Xn.a.as(xs.a.ColorContribution),Hh=Xn.a.as(Mr.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,Os.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,Os.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=Bh.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 jh;case"hc-black":return Vh}}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 V.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 Wh(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)}},Qh=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}(),Jh=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}(Qh),$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(Jn.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}(Qh),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 V.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?Jh.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?Jh.INSTANCE:this._contexts.get(e)||Jh.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 Qh(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=Zh([Xh(0,Ai)],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 V.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Jh.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 Bc.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}(Bc.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 Ve.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===Bc.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}(Bc.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 Ve.d((function(){r.mouseOver&&(r.cleanupExistingSubmenu(!1),r.createSubmenu(!1))}),250),r.hideScheduler=new Ve.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}(Bc.b);var yf=function(){return(yf=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 _f(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(xs.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 _f(t,yf(yf({},Cf),n||{}),e)}var Cf={listFocusBackground:xs.ib,listFocusForeground:xs.jb,listActiveSelectionBackground:Object(xs.f)(xs.cb,.1),listActiveSelectionForeground:xs.db,listFocusAndSelectionBackground:xs.cb,listFocusAndSelectionForeground:xs.db,listInactiveSelectionBackground:xs.nb,listInactiveSelectionForeground:xs.ob,listInactiveFocusBackground:xs.mb,listHoverBackground:xs.kb,listHoverForeground:xs.lb,listDropBackground:xs.eb,listFocusOutline:xs.b,listSelectionOutline:xs.b,listHoverOutline:xs.b,listFilterWidgetBackground:xs.fb,listFilterWidgetOutline:xs.hb,listFilterWidgetNoMatchesOutline:xs.gb,listMatchesShadow:xs.Lb,treeIndentGuidesStroke:xs.Kb},wf={shadowColor:xs.Lb,borderColor:xs.qb,foregroundColor:xs.rb,backgroundColor:xs.pb,selectionForegroundColor:xs.ub,selectionBackgroundColor:xs.sb,selectionBorderColor:xs.tb,separatorColor:xs.vb};var Sf,Of=n("4y0V"),xf=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,_f(n.themeService,yf(yf({},wf),a),s))),t.onDidCancel((function(){return n.contextViewService.hideContextView(!0)}),null,u),t.onDidBlur((function(){return n.contextViewService.hideContextView(!0)}),null,u),Object(Of.a)(window,Z.c.BLUR)((function(){n.contextViewService.hideContextView(!0)}),null,u),Object(Of.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}(),Lf=n("XXUj"),Nf=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)}}(),Ef=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},Df=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 V.a),s.contextMenuHandler=new xf(i,t,n,o,r),s}return Nf(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=Ef([Df(0,Lf.a),Df(1,lo.a),Df(2,Xc.b),Df(3,Cd.a),Df(4,Mr.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 Mf=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 If(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 Mf(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=If(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=If(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),Pf=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)}}(),Af=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)}},jf=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=Af([Ff(0,Pf)],t)}(le.a),Vf=Object(ue.c)("dialogService");var Wf,Bf=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(Be.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(We.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 Bf((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 Ve.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"}(Wf||(Wf={}));var Qf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Jf(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=Jf({start:0,end:e},this.groups),r=Jf({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 Ve.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 V.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(Oe.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(Oe.c)(o,(function(e){return e.verticalScrollMode}),sp.verticalScrollMode),useShadows:Object(Oe.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(Of.a)(this.rowsContainer,sr.a.Change)(this.onTouchChange,this,this.disposables),Object(Of.a)(this.scrollableElement.getDomNode(),"scroll")((function(e){return e.target.scrollTop=0}),null,this.disposables),V.b.map(Object(Of.a)(this.domNode,"dragover"),(function(e){return r.toDragEvent(e)}))(this.onDragOver,this,this.disposables),V.b.map(Object(Of.a)(this.domNode,"drop"),(function(e){return r.toDragEvent(e)}))(this.onDrop,this,this.disposables),Object(Of.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(Of.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(Oe.c)(o,(function(e){return e.setRowLineHeight}),sp.setRowLineHeight),this.supportDynamicHeights=Object(Oe.c)(o,(function(e){return e.supportDynamicHeights}),sp.supportDynamicHeights),this.dnd=Object(Oe.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 y=0,_=Sf.relativeComplement(m,g);y<_.length;y++)for(u=(L=_[y]).start;u<L.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),O=0,x=w;O<x.length;O++){var L;for(u=(L=x[O]).start;u<L.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(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.filter(V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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(Ve.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(Ve.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 yp(e){return 32===e||9===e||10===e||13===e}var _p=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 Op(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++,yp(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 _p.add(e.charCodeAt(0))}));fp(pp,Op,(function(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]})),fp(pp,Op,(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 Jn.a(1e4);var xp=128;function Lp(){for(var e=[],t=[0],n=1;n<=xp;n++)t.push(-n);for(n=0;n<=xp;n++){var i=t.slice(0);i[0]=-n,e.push(i)}return e}var Np,Ep=Lp(),Dp=Lp(),kp=Lp();function Mp(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 Ip(e,t,n){return t[e]!==n[e]}function Tp(e,t,n,i,o,r,s){var a=e.length>xp?xp:e.length,u=i.length>xp?xp: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=Pp(e,t,d,n,i,o,h);Dp[l][c]=f;var p=Ep[l-1][c-1]+(f>1?1:f),g=Ep[l-1][c]+-1,m=Ep[l][c-1]+-1;m>=g?m>p?(Ep[l][c]=m,kp[l][c]=4):m===p?(Ep[l][c]=m,kp[l][c]=6):(Ep[l][c]=p,kp[l][c]=2):g>p?(Ep[l][c]=g,kp[l][c]=1):g===p?(Ep[l][c]=g,kp[l][c]=3):(Ep[l][c]=p,kp[l][c]=2)}if(Rp=0,Fp=-100,jp=r,Vp=s,function e(t,n,i,o,r){if(Rp>=10||i<-25)return;var s=0;for(;t>0&&n>0;){var a=Dp[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+jp),1===a){if(s+=1,0===t&&!Vp)return}else i+=1+s*(a-1),s=0}}Rp+=1,(i-=n>=3?9:3*n)>Fp&&(Fp=i,Ap=o)}(l-1,c-1,a===u?1:0,0,!1),0!==Rp)return[Fp,Ap,r]}}function Pp(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!Ip(s,o,r)||0!==s&&Ip(s-1,o,r)?!Mp(r,s)||0!==s&&Mp(r,s-1)?Mp(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]}}(Np||(Np={}));var Rp=0,Ap=0,Fp=0,jp=0,Vp=!1;var Wp=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)}}(),Bp=function(){return(Bp=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 V.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 Wp(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=V.b.chain(Object(Of.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 Qp=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}()),Jp=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=V.b.chain(Object(Of.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=V.b.debounce(t,(function(){return null}),800);V.b.reduce(V.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,V.b.chain(Object(Of.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:Os.a.fromHex("#7FB0D0"),listActiveSelectionBackground:Os.a.fromHex("#0E639C"),listActiveSelectionForeground:Os.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:Os.a.fromHex("#094771"),listFocusAndSelectionForeground:Os.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:Os.a.fromHex("#3F3F46"),listHoverBackground:Os.a.fromHex("#2A2D2E"),listDropBackground:Os.a.fromHex("#383B3D"),treeIndentGuidesStroke:Os.a.fromHex("#a9a9a9")},ug={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:Wf.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 V.c,this.disposables=new le.b,this._onDidOpen=new V.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new V.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new V.a,this.onDidDispose=this._onDidDispose.event,this.focus=new qp,this.selection=new Kp("selected"),Object(Oe.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=Bp(Bp({},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",Wf.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=V.b.map(Object(Of.a)(this.view.domNode,"focus",!0),(function(){return null})),this.onDidBlur=V.b.map(Object(Of.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||Qp;this.typeLabelController=new Jp(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 V.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 V.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=V.b.chain(Object(Of.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=V.b.chain(Object(Of.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=V.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 V.b.any(t,n,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return Object(Of.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=Bp(Bp({},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 Qf(this.user,"Invalid start index: "+e);if(t<0)throw new Qf(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 Qf(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 Qf(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 Qf(this.user,"Invalid index "+e);var n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(Object(Be.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 Qf(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 Qf(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 Qf(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}(),yg=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 _g(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 V.c,this._onDidChangeCollapseState=new V.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new V.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new V.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((O=u.children[m]).visible){g=O.visibleChildIndex;break}}var v=[],y=0,_=0;st.c.forEach(f,(function(e){v.push(e),_+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+y++)}));for(var b=(r=u.children).splice.apply(r,yg([p,t],v)),C=0,w=0,S=b;w<S.length;w++){(O=S[w]).visible&&C++}if(0!==C)for(m=p+v.length;m<u.children.length;m++){var O;(O=u.children[m]).visible&&(O.visibleChildIndex-=C)}if(u.visibleChildrenCount+=y-C,c&&d){var x=b.reduce((function(e,t){return e+(t.visible?t.renderNodeCount:0)}),0);this._updateAncestorsRenderNodeCount(u,_-x),this.list.splice(l,x,h)}if(b.length>0&&o){var L=function(e){o(e),e.children.forEach(L)};b.forEach(L)}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(yg(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):_g(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)}}(),Og=function(){return(Og=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)},xg=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},Lg=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 Ng(e){return e instanceof ap?new Lg(e):e}var Eg=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(Ng(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Ng(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(Ve.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 Og(Og({},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(Ng(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var Dg,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"}(Dg||(Dg={}));var Mg=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this._elements=t,this.onDidChange=V.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}(),Ig=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),V.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!==Dg.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:_g(n)?bg(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:Np.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Np.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:Np.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(le.e)(this.disposables)},e}(),Pg=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 V.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new V.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(Of.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(Of.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=V.b.chain(Object(Of.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(Of.a)(this.clearDomNode,"click");V.b.chain(V.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!Np.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(Of.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(Of.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||!Np.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 Ag(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 jg=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new V.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=xg(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}))),xg(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(Jn.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}(),Vg=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),Wg=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 Vg(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)(xg(e.prototype.getFocus.call(this),r))),s.length>0&&e.prototype.setSelection.call(this,Object(Xe.e)(xg(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),Bg=function(){function e(e,t,n,i,o){var r=this;void 0===o&&(o={}),this._options=o,this.eventBufferer=new V.c,this.disposables=new le.b,this._onWillRefilter=new V.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new V.a;var s,a,u,l=new kg(n),c=new V.e,d=new V.e,h=new Mg(d.event);this.renderers=i.map((function(e){return new Ig(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=Og(Og({},o),{filter:s}),this.disposables.add(s)),this.focus=new jg(o.identityProvider),this.selection=new jg(o.identityProvider),this.view=new Wg(e,t,l,this.renderers,this.focus,this.selection,Og(Og({},(a=function(){return r.model},(u=o)&&Og(Og({},u),{identityProvider:u.identityProvider&&{getId:function(e){return u.identityProvider.getId(e.element)}},dnd:u.dnd&&new Eg(a,u.dnd),multipleSelectionController:u.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return u.multipleSelectionController.isSelectionSingleChangeEvent(Og(Og({},e),{element:e.element}))},isSelectionRangeChangeEvent:function(e){return u.multipleSelectionController.isSelectionRangeChangeEvent(Og(Og({},e),{element:e.element}))}},accessibilityProvider:u.accessibilityProvider&&Og(Og({},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&&Og(Og({},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=V.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=V.b.chain(V.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=V.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 y=o.keyboardNavigationDelegate||Qp;this.typeFilterController=new Pg(this,this.model,this.view,s,y),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===Dg.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 V.b.map(this.view.onDidOpen,Ag)},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=Og(Og({},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===Dg.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]},Qg=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 Jg=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 Qg(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 V.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 V.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}(Bg),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 Jg(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 ym(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 _m(e,t){t(e),e.children.forEach((function(e){return _m(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 V.a,this._onDidChangeNodeSlowState=new V.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 V.b.map(this.tree.onDidChangeFocus,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return V.b.map(this.tree.onDidChangeSelection,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return V.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=ym(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,V.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,V.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,V.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,V.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(Ve.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(We.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(Ve.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(We.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 _m(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(Jn.e)(s);p<g.length;p++){_m(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&&ym(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:_g(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 Om,xm=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)}}(),Lm=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 xm(t,e),t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(Bg),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)}}(),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)},Dm=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)}},Mm=Object(ue.c)("listService"),Im=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=Dm([km(0,Mr.c)],e)}(),Tm=new Zi.d("listFocus",!0),Pm=new Zi.d("listSupportsMultiselect",!0),Rm=(Zi.a.and(Tm,Zi.a.not("inputFocus")),new Zi.d("listHasSelectionOrFocus",!1)),Am=new Zi.d("listDoubleSelection",!1),Fm=new Zi.d("listMultiSelection",!1),jm=new Zi.d("listSupportsKeyboardNavigation",!0),Vm=new Zi.d("listAutomaticKeyboardNavigation",!0),Wm=!1;var Bm="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 Nm(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 Nm(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}Nm(t,e),t=Dm([km(5,Zi.c),km(6,Mm),km(7,Mr.c),km(8,Ai),km(9,Cd.a),km(10,Ql)],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}Nm(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=Dm([km(6,Zi.c),km(7,Mm),km(8,Mr.c),km(9,Ai),km(10,Cd.a),km(11,Ql)],t)}(Lm),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}Nm(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=Dm([km(6,Zi.c),km(7,Mm),km(8,Mr.c),km(9,Ai),km(10,Cd.a),km(11,Ql)],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,y=g.disposable;return(p=e.call(this,t,n,i,o,r,s,m)||this).disposables.add(y),p.internals=new Xm(p,m,v,a.overrideStyles,u,l,c,d,f),p.disposables.add(p.internals),p}Nm(t,e),t=Dm([km(7,Zi.c),km(8,Mm),km(9,Mr.c),km(10,Ai),km(11,Cd.a),km(12,Ql)],t)}(Sm);function Gm(e,t,n,i,o,r){jm.bindTo(n),Wm||(Vm.bindTo(n),Wm=!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=Em({},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:Em(Em({keyboardSupport:!1},d),{indent:i.getValue(Bm),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),Pm.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Rm.bindTo(this.contextKeyService),this.hasDoubleSelection=Am.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(Bm)){var i=a.getValue(Bm);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=Dm([km(4,Zi.c),km(5,Mm),km(6,Mr.c),km(7,Ai),km(8,Ql)],e)}();Xn.a.as($n).registerConfiguration({id:"workbench",order:7,title:Object(Zn.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Om={},Om["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.")},Om["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. ")},Om["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Om["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")},Om[Bm]={type:"number",default:8,minimum:0,maximum:40,description:Object(Zn.a)("tree indent setting","Controls tree indentation in pixels.")},Om["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.")},Om["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.")},Om["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.")},Om)}),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 Qm,Jm,$m=Object(ue.c)("markerService");(Jm=Qm||(Qm={})).get=function(e,t,n){if(e[t])return e[t][n]},Jm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Jm.remove=function(e,t,n){return!(!e[t]||!e[t][n]||(delete e[t][n],Object(Be.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 V.a,this._onMarkerChangedEvent=V.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=Qm.remove(this._byResource,n.toString(),t),r=Qm.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)}Qm.set(this._byResource,n.toString(),t,s),Qm.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(_=Qm.get(this._byResource,i.toString(),n)){for(var s=[],a=0,u=_;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++){_=p[f];if(e._accept(_,o)){c=s.push(_);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,y=this._byResource[g][m];v<y.length;v++){var _=y[v];if(e._accept(_,o)){var c=s.push(_);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 V.a,this._dispoables=new le.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(V.b.debounce(V.b.filter(bd.c.onDidChangeMenu,(function(e){return e===i._id})),(function(){}),50)(this._build,this)),this._dispoables.add(V.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(Jn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Jn.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 V.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(Be.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(Mr.f)(qs),n=20,i={color:Object(Mr.f)(xs.zb),position:Pe.c.Inline};break;case Ym.Info:t="squiggly-info",o=Object(Mr.f)(Gs),n=10;break;case Ym.Error:default:t="squiggly-error",o=Object(Mr.f)(Ks),n=30,i={color:Object(Mr.f)(xs.wb),position:Pe.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:Pe.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)}},yv=function(e){function t(t,n){var i=e.call(this)||this;i._contextKeyService=t,i._configurationService=n,i._accessibilitySupport=0,i._onDidChangeScreenReaderOptimized=new V.a,i._accessibilityModeEnabledContext=Jl.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,Ai)],t)}(le.a),_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){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=Mc;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 Vo;e.configurationService=o(Ai,(function(){return r})),e.resourceConfigurationService=o(At,(function(){return new Wo(r)})),e.resourcePropertiesService=o(Ft,(function(){return new Bo(r)})),e.contextService=o(co,(function(){return new zo})),e.labelService=o(Yf,(function(){return new qo})),e.telemetryService=o(Lf.a,(function(){return new Ho})),e.dialogService=o(Vf,(function(){return new Po})),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(_d,(function(){return new Gh})),e.logService=o(jt,(function(){return new Vt})),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 xh(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(Ai),u=i.get(lo.a),l=i.get(Lf.a),c=i.get(Mr.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(Ql,(function(){return new yv(h,a)})),d(Mm,(function(){return new Im(c)}));var f=d(ae.b,(function(){return new Ao(i._instantiationService)})),p=d(Cd.a,(function(){return i._register(new Fo(h,f,l,u,t))})),g=d(Pf,(function(){return new Go(t)})),m=d(Xc.b,(function(){return i._register(new jf(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(Id,(function(){return new Ko(hv.modelService.get(Rt.a))})),i}return _v(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(je.a)||(o=new Io(hv.modelService.get()),i.set(je.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(_d),n.get(lo.a),n.get(Ai),n.get(Ql))}))}function Sv(e){return hv.codeEditorService.get().onCodeEditorAdd((function(t){e(t)}))}function Ov(e,t,n){return Cv(e,n||{},(function(n){return new Md(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(_d),n.get(lo.a),n.get(Ai),n.get(Xc.a),n.get(td),null)}))}function xv(e,t){return new Ne(e,t)}function Lv(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Nv(e,t,n){if(e=e||"",!t){var i=e.indexOf("\n"),o=e;return-1!==i&&(o=e.substring(0,i)),Lv(e,hv.modeService.get().createByFilepathOrFirstLine(n||null,o),n)}return Lv(e,hv.modeService.get().create(t),n)}function Ev(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function Dv(e,t,n){e&&hv.markerService.get().changeOne(t,e.uri,n)}function kv(e){return hv.markerService.get().read(e)}function Mv(e){return hv.modelService.get().getModel(e)}function Iv(){return hv.modelService.get().getModels()}function Tv(e){return hv.modelService.get().onModelAdded(e)}function Pv(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 Av(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 jv(e,t,n){return Un.colorize(hv.modeService.get(),e,t,n)}function Vv(e,t,n){return void 0===n&&(n=4),Un.colorizeModelLine(e,t,n)}function Wv(e,t){hv.modeService.get().triggerMode(t);for(var n=function(e){var t=Re.y.get(e);return t||{getInitialState:function(){return Ae.c},tokenize:function(t,n,i){return Object(Ae.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 Bv(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]?In(e,"language definition does not contain attribute '"+i+"', used at: "+t):In(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return Dn(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 In(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 In(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 In(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 In(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 In(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 In(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 In(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 In(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 Qv(){var e=[];return e=e.concat(Hd.getLanguages())}function Jv(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 ey(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 ty=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}(),ny=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 iy(e){return e&&"function"==typeof e.then}function oy(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 ty(e):new ny(hv.standaloneThemeService.get(),n,e)};return iy(t)?Re.y.registerPromise(e,t.then((function(e){return i(e)}))):Re.y.register(e,i(t))}function ry(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 In(n,"an 'include' attribute must be a string at: "+e);if("@"===c[0]&&(c=c.substr(1)),!t.tokenizer[c])throw In(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 In(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 In(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 In(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 In(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 In(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 In(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 iy(t)?Re.y.registerPromise(e,t.then((function(e){return n(e)}))):Re.y.register(e,n(t))}function sy(e,t){return Re.t.register(e,t)}function ay(e,t){return Re.u.register(e,t)}function uy(e,t){return Re.w.register(e,t)}function ly(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 cy(e,t){return Re.l.register(e,t)}function dy(e,t){return Re.h.register(e,t)}function hy(e,t){return Re.f.register(e,t)}function fy(e,t){return Re.p.register(e,t)}function py(e,t){return Re.z.register(e,t)}function gy(e,t){return Re.b.register(e,t)}function my(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 vy(e,t){return Re.g.register(e,t)}function yy(e,t){return Re.i.register(e,t)}function _y(e,t){return Re.s.register(e,t)}function by(e,t){return Re.r.register(e,t)}function Cy(e,t){return Re.d.register(e,t)}function wy(e,t){return Re.c.register(e,t)}function Sy(e,t){return Re.n.register(e,t)}function Oy(e,t){return Re.e.register(e,t)}function xy(e,t){return Re.v.register(e,t)}function Ly(e,t){return Re.k.register(e,t)}function Ny(e,t){return Re.j.register(e,t)}var Ey=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var Dy=G();Dy.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Ov,createDiffNavigator:xv,createModel:Nv,setModelLanguage:Ev,setModelMarkers:Dv,getModelMarkers:kv,getModels:Iv,getModel:Mv,onDidCreateModel:Tv,onWillDisposeModel:Pv,onDidChangeModelLanguage:Rv,createWebWorker:Av,colorizeElement:Fv,colorize:jv,colorizeModelLine:Vv,tokenize:Wv,defineTheme:Bv,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:O,RenderLineNumbersType:x,RenderMinimap:L,ScrollbarVisibility:E,ScrollType:N,TextEditorCursorBlinkingStyle:T,TextEditorCursorStyle:P,TrackedRangeStickiness:R,WrappingIndent:A,ConfigurationChangedEvent:F.a,BareFontInfo:Me,FontInfo:Ie,TextModelResolvedOptions:Pe.e,FindMatch:Pe.b,EditorType:Te.a,EditorOptions:F.e},Dy.languages={register:Xv,getLanguages:Qv,onLanguage:$v,getEncodedLanguageId:Jv,setLanguageConfiguration:ey,setTokensProvider:oy,setMonarchTokensProvider:ry,registerReferenceProvider:sy,registerRenameProvider:ay,registerCompletionItemProvider:Cy,registerSignatureHelpProvider:uy,registerHoverProvider:ly,registerDocumentSymbolProvider:cy,registerDocumentHighlightProvider:dy,registerDefinitionProvider:hy,registerImplementationProvider:fy,registerTypeDefinitionProvider:py,registerCodeLensProvider:gy,registerCodeActionProvider:my,registerDocumentFormattingEditProvider:vy,registerDocumentRangeFormattingEditProvider:yy,registerOnTypeFormattingEditProvider:_y,registerLinkProvider:by,registerColorProvider:wy,registerFoldingRangeProvider:Sy,registerDeclarationProvider:Oy,registerSelectionRangeProvider:xy,registerDocumentSemanticTokensProvider:Ly,registerDocumentRangeSemanticTokensProvider:Ny,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:M,SymbolTag:I,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var ky=Dy.CancellationTokenSource,My=Dy.Emitter,Iy=Dy.KeyCode,Ty=Dy.KeyMod,Py=Dy.Position,Ry=Dy.Range,Ay=Dy.Selection,Fy=Dy.SelectionDirection,jy=Dy.MarkerSeverity,Vy=Dy.MarkerTag,Wy=Dy.Uri,By=Dy.Token,Hy=Dy.editor,zy=Dy.languages;Ey.monaco=Dy,void 0!==Ey.require&&"function"==typeof Ey.require.config&&Ey.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(108).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(92).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")},"9yH6":function(e,t,n){"use strict";n.r(t);var i=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var r=n("KNH7");n.d(t,"Button",(function(){return r.a})),i.a.Button=r.a,i.a.Group=o.a,t.default=i.a},"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)},AHJs:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var c=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)}(i,e);var t,n=(t=i,function(){var e,n=u(t);if(a()){var i=u(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return s(this,e)});function i(){return o(this,i),n.apply(this,arguments)}return i}(l(n("q1tI")).Component);t.default=c,c.isTableColumnGroup=!0},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,y=g;v<y.length;v++){var _=y[v];this._hooks.add(i.j(_,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(_,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}()},AU0A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(i.format(r.messages.whitespace,e.fullField))}},AbCa:function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},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(104).then(n.bind(null,"AoeA"))}})},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},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(145).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)}},BjZs:function(e,t,n){"use strict";function i(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n("q1tI")),d=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var r=[],a=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(u,l){var c=s({},u);o[n].push(c),i.colSpan=i.colSpan||0,c.children&&c.children.length>0?(c.children=e(c.children,n+1,c,o),i.colSpan+=c.colSpan):i.colSpan+=1;for(var d=0;d<o[n].length-1;d+=1)a(o[n][d]);l+1===t.length&&a(c),r.push(c)})),r}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return c.Children.forEach(e,(function(e){if(c.isValidElement(e)){var i=s({},e.props);e.key&&(i.key=e.key),e.type.isTableColumnGroup&&(i.children=t.normalize(i.children)),n.push(i)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,i(t._leafColumns(e.children))):n.push(e)})),n}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=d},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("W9HT")),o=g(n("2/Rp")),r=g(n("CtXQ")),s=g(n("9yH6")),a=g(n("Vl3Y")),u=g(n("5rEg")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),d=g(c),h=n("sYIF"),f=n("eO8H");n("XmZk");var p=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var m=u.default.TextArea,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.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,i=e.content,o=e.editor_type,r=n.props.match.params,s=r.branch,a=r.projectsId,u=r.owner,l=n.state,c=l.submitType,d=l.filename;n.setState({isSpin:!0});var h="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+a+"/create_file.json";p.default.post(o,{filepath:d||h,branch:s,new_branch:"1"===c?t.branchname:void 0,content:i,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var i=n.props.getTopCount;i&&i(t.branchname)}var o="/projects/"+u+"/"+a+(t.branchname?"/branch/"+t.branchname:s?"/branch/"+s:"");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,i=e.detail,o=e.content,r=e.currentBranch,s=n.props.match.params,a=s.projectsId,u=s.owner,l=n.state.submitType,c="/"+u+"/"+a+"/update_file.json";n.props.form.validateFieldsAndScroll((function(e,s){e?n.setState({isSpin:!1}):p.default.put(c,{filepath:i.path,branch:"1"===l?void 0:r||t,new_branch:"1"===l?s.branchname:void 0,content:o,sha:i.sha,message:s.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var i="/projects/"+u+"/"+a+(s.branchname?"/branch/"+s.branchname:r||t?"/branch/"+(r||t):"");n.props.history.push(i),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),l(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,l=t.filename,c=t.isSpin,p=this.props.form.getFieldDecorator,g=this.props.match.params,v=g.branch,y=g.projectsId,_=g.owner,b=this.props,C=b.current_user,w=b.filepath,S=b.projectDetail,O=b.currentBranch,x=this.props.editor_type;return d.default.createElement("div",null,d.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},d.default.createElement(f.Link,{to:"/users/"+(C&&C.login),className:"show-user-link"},d.default.createElement("img",{src:(0,h.getImageUrl)("images/"+(C&&C.image_url)),alt:"",className:"screwImg"}),d.default.createElement("span",{className:"color-grey-3 ver-middle"},C&&C.username,":")),d.default.createElement("span",{className:"color-grey-8"},"提交变更")),d.default.createElement(i.default,{spinning:c},d.default.createElement("div",{className:"userScrew"},d.default.createElement("div",{className:"screwPanel"},d.default.createElement(a.default,null,d.default.createElement(a.default.Item,{style:{display:"upload"===x?"block":"none"}},p("path",{rules:[]})(d.default.createElement("div",{className:"setInputAddon"},d.default.createElement(u.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:l||w,onChange:this.changeFileName,placeholder:"文件路径..."})))),d.default.createElement(a.default.Item,null,p("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(d.default.createElement(m,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),d.default.createElement(s.default.Group,{value:n,onChange:this.changeSubmittype},d.default.createElement(s.default,{value:"0",className:"mb10"},d.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",d.default.createElement("span",{className:"color-orange"},O||v),"分支"),d.default.createElement(s.default,{value:"1"},d.default.createElement(r.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",d.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?d.default.createElement("div",{className:"mt15"},d.default.createElement(a.default.Item,{style:{paddingLeft:"24px"}},p("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(d.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),d.default.createElement("div",{className:"mt20"},d.default.createElement(o.default,{type:"primary",onClick:"update"===x?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),d.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+_+"/"+y)},className:"mr20"},"取消"))))}}]),t}(c.Component),y=a.default.create({name:"UserSubmitForm"})(v);t.default=y},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var i=n("q1tI"),o=n("1j5w"),r=n("TSYQ"),s=n.n(r),a=n("BGR+"),u=n("VCL8"),l=n("17x9"),c=n("foW8"),d=n.n(c),h=d()({inlineCollapsed:!1});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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function g(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 _(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=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)}(l,e);var t,n,r,a,u=(t=l,function(){var e,n=b(t);if(_()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return y(this,e)});function l(){var e;return g(this,l),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=l,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,r=t.popupClassName;return i.createElement(h.Consumer,null,(function(t){var a=t.antdMenuTheme;return i.createElement(o.d,p({},e.props,{ref:e.saveSubMenu,popupClassName:s()("".concat(n,"-").concat(a),r)}))}))}}])&&m(n.prototype,r),a&&m(n,a),l}(i.Component);C.contextTypes={antdMenuTheme:l.string},C.isSubMenu=1;var w=C,S=n("3S7+"),O=n("H84U");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 L(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),e}function I(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)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){return function(){var t,n=F(e);if(A()){var i=F(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return R(this,t)}}function R(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 A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},V=d()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function W(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var r;return(r=function(o){I(s,o);var r=P(s);function s(){var o;return D(this,s),(o=r.apply(this,arguments)).renderComponent=function(r){var s=r.getPrefixCls,a=o.props.prefixCls,u=s(t,a);return i.createElement(e,E({prefixCls:u,tagName:n},o.props))},o}return M(s,[{key:"render",value:function(){return i.createElement(O.a,null,this.renderComponent)}}]),s}(i.Component)).displayName=o,r}}var B=function(e){var t=e.prefixCls,n=e.className,o=e.children,r=e.tagName,a=j(e,["prefixCls","className","children","tagName"]),u=s()(n,t);return i.createElement(r,E({className:u},a),o)},H=function(e){I(n,e);var t=P(n);function n(){var e;return D(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return M(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(L(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,r=o.prefixCls,a=o.className,u=o.children,l=o.hasSider,c=o.tagName,d=j(o,["prefixCls","className","children","hasSider","tagName"]),h=s()(a,r,(e={},t="".concat(r,"-has-sider"),n="boolean"==typeof l?l: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 i.createElement(V.Provider,{value:{siderHook:this.getSiderHook()}},i.createElement(c,E({className:h},d),u))}}]),n}(i.Component),z=W({suffixCls:"layout",tagName:"section",displayName:"Layout"})(H),U=W({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(B),K=W({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(B),q=W({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(B);z.Header=U,z.Footer=K,z.Content=q;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 ie(e){return function(){var t,n=se(e);if(re()){var i=se(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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 re(){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 se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ae=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ue,le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ce=d()({}),de=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),he=function(e){te(n,e);var t=ie(n);function n(e){var o,r,u;return J(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,r=o.props,u=r.prefixCls,l=r.className,c=r.theme,d=r.collapsible,h=r.reverseArrow,f=r.trigger,p=r.style,g=r.width,m=r.collapsedWidth,v=r.zeroWidthTriggerStyle,y=ae(r,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),_=n("layout-sider",u),b=Object(a.a)(y,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),C=o.state.collapsed?m:g,w=Y(C)?"".concat(C,"px"):String(C),S=0===parseFloat(String(m||0))?i.createElement("span",{onClick:o.toggle,className:"".concat(_,"-zero-width-trigger ").concat(_,"-zero-width-trigger-").concat(h?"right":"left"),style:v},i.createElement(G.default,{type:"bars"})):null,O={expanded:h?i.createElement(G.default,{type:"right"}):i.createElement(G.default,{type:"left"}),collapsed:h?i.createElement(G.default,{type:"left"}):i.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],x=null!==f?S||i.createElement("div",{className:"".concat(_,"-trigger"),onClick:o.toggle,style:{width:w}},f||O):null,L=Q(Q({},p),{flex:"0 0 ".concat(w),maxWidth:w,minWidth:w,width:w}),N=s()(l,_,"".concat(_,"-").concat(c),(X(t={},"".concat(_,"-collapsed"),!!o.state.collapsed),X(t,"".concat(_,"-has-trigger"),d&&null!==f&&!S),X(t,"".concat(_,"-below"),!!o.state.below),X(t,"".concat(_,"-zero-width"),0===parseFloat(w)),t));return i.createElement("aside",Q({className:N},b,{style:L}),i.createElement("div",{className:"".concat(_,"-children")},o.props.children),d||o.state.below&&S?x:null)},o.uniqueId=de("ant-sider-"),"undefined"!=typeof window&&(r=window.matchMedia),r&&e.breakpoint&&e.breakpoint in le&&(o.mql=r("(max-width: ".concat(le[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(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 i.createElement(ce.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},i.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(i.Component);he.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(he);i.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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function ge(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(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 _e(){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 be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&ve(e,t)}(u,e);var t,n,r,s,a=(t=u,function(){var e,n=be(t);if(_e()){var i=be(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return ye(this,e)});function u(){var e;return ge(this,u),(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,r=e.props,s=r.level,a=r.children,u=r.rootPrefixCls,l=e.props,c=l.title,d=Ce(l,["title"]);return i.createElement(h.Consumer,null,(function(t){var r=t.inlineCollapsed,l={title:c||(1===s?a:"")};return n||r||(l.title=null,l.visible=!1),i.createElement(S.default,pe({},l,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),i.createElement(o.b,pe({},d,{title:c,ref:e.saveMenuItem})))}))},e}return n=u,(r=[{key:"render",value:function(){return i.createElement(ce.Consumer,null,this.renderItem)}}])&&me(n.prototype,r),s&&me(n,s),u}(i.Component);we.isMenuItem=!0;var Se=n("6CfX"),Oe=n("oHiP"),xe=function(){return{height:0,opacity:0}},Le=function(e){return{height:e.scrollHeight,opacity:1}},Ne={motionName:"ant-motion-collapse",onAppearStart:xe,onEnterStart:xe,onAppearActive:Le,onEnterActive:Le,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:xe};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 De(){return(De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function ke(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ie(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function Te(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)}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){return function(){var t,n=je(e);if(Fe()){var i=je(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Fe(){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 je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Te(n,e);var t=Re(n);function n(e){var r,u;return ke(this,n),(r=t.call(this,e)).handleMouseEnter=function(e){r.restoreModeVerticalFromInline();var t=r.props.onMouseEnter;t&&t(e)},r.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,i="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&i.indexOf("anticon")>=0;(t||o)&&r.restoreModeVerticalFromInline()},r.handleClick=function(e){r.handleOpenChange([]);var t=r.props.onClick;t&&t(e)},r.handleOpenChange=function(e){r.setOpenKeys(e);var t=r.props.onOpenChange;t&&t(e)},r.renderMenu=function(e){var t,n,u,l=e.getPopupContainer,c=e.getPrefixCls,d=r.props,h=d.prefixCls,f=d.className,p=d.theme,g=d.collapsedWidth,m=Object(a.a)(r.props,["collapsedWidth","siderCollapsed"]),v=r.getRealMenuMode(),y=r.getOpenMotionProps(v),_=c("menu",h),b=s()(f,"".concat(_,"-").concat(p),(t={},n="".concat(_,"-inline-collapsed"),u=r.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[n]=u,t)),C=De({openKeys:r.state.openKeys,onOpenChange:r.handleOpenChange,className:b,mode:v},y);return"inline"!==v&&(C.onClick=r.handleClick),r.getInlineCollapsed()&&(0===g||"0"===g||"0px"===g)&&(C.openKeys=[]),i.createElement(o.e,De({getPopupContainer:l},m,C,{prefixCls:_,onTransitionEnd:r.handleTransitionEnd,onMouseEnter:r.handleMouseEnter}))},Object(Se.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(Se.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Se.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),r.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},r}return Ie(n,[{key:"componentWillUnmount",value:function(){Oe.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,i=t.openAnimation,o=t.motion;return o?{motion:o}:i?(Object(Se.a)("string"==typeof i,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:i}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:Ne}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return i.createElement(h.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},i.createElement(O.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(i.switchingModeFromInline=!0),"openKeys"in e?i.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(i.switchingModeFromInline=!0,i.inlineOpenKeys=t.openKeys,i.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(i.openKeys=t.inlineOpenKeys,i.inlineOpenKeys=[])),i}}]),n}(i.Component);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Ve);var We=function(e){Te(n,e);var t=Re(n);function n(){return ke(this,n),t.apply(this,arguments)}return Ie(n,[{key:"render",value:function(){var e=this;return i.createElement(ce.Consumer,null,(function(t){return i.createElement(Ve,De({},e.props,t))}))}}]),n}(i.Component);We.Divider=o.a,We.Item=we,We.SubMenu=w,We.ItemGroup=o.c},"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}))},C5VC:function(e,t,n){},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)}}},Cit5:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("q1tI")),s=i(n("17x9")),a=o(n("TSYQ")),u=n("6Ogq"),l=o(n("UNrv"));function c(e,t){var n,i,o,s=t.table,c=s.props,d=c.prefixCls,h=c.scroll,f=c.showHeader,p=e.columns,g=e.fixed,m=e.tableClassName,v=e.handleBodyScrollLeft,y=e.expander,_=s.saveRef,b=s.props.useFixedHeader,C={},w=u.measureScrollbar({direction:"vertical"});if(h.y){b=!0;var S=u.measureScrollbar({direction:"horizontal",prefixCls:d});S>0&&!g&&(C.marginBottom="-".concat(S,"px"),C.paddingBottom="0px",C.minWidth="".concat(w,"px"),C.overflowX="scroll",C.overflowY=0===w?"hidden":"scroll")}return b&&f?r.createElement("div",{key:"headTable",ref:g?null:_("headTable"),className:a.default("".concat(d,"-header"),(n={},i="".concat(d,"-hide-scrollbar"),o=w>0,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)),style:C,onScroll:v},r.createElement(l.default,{tableClassName:m,hasHead:!0,hasBody:!1,fixed:g,columns:p,expander:y})):null}t.default=c,c.contextTypes={table:s.any}},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)}},D1y2:function(e,t,n){var i=n("FZoo");e.exports=function(e,t,n){return null==e?e:i(e,t,n)}},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 y})),n.d(t,"g",(function(){return _})),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,y=l.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,_=d&&l.indexOf("WebView/")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DSRE:function(e,t,n){(function(e){var i=n("Kz5y"),o=n("B8du"),r=t&&!t.nodeType&&t,s=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===r?i.Buffer:void 0,u=(a?a.isBuffer:void 0)||o;e.exports=u}).call(this,n("YuTi")(e))},DTDp:function(e,t,n){},DVfl:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==i(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var g=f(n("q1tI")),m=p(n("TSYQ")),v=p(n("mwIZ"));function y(e){return e&&!g.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}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&&l(e,t)}(p,e);var t,n,i,o,f=(t=p,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});function p(){var e;return a(this,p),(e=f.apply(this,arguments)).handleClick=function(t){var n=e.props,i=n.record,o=n.column.onCellClick;o&&o(i,t)},e}return n=p,(i=[{key:"render",value:function(){var e,t,n=this.props,i=n.record,o=n.indentSize,a=n.prefixCls,u=n.indent,l=n.index,c=n.expandIcon,d=n.column,h=n.component,f=d.dataIndex,p=d.render,_=d.className,b=void 0===_?"":_;t="number"==typeof f||f&&0!==f.length?v.default(i,f):i;var C,w,S={};if(p&&y(t=p(t,i,l))){var O=S=t.props||S;C=O.colSpan,w=O.rowSpan,t=t.children}d.onCell&&(S=r({},S,{},d.onCell(i,l))),y(t)&&(t=null);var x=c?g.createElement("span",{style:{paddingLeft:"".concat(o*u,"px")},className:"".concat(a,"-indent indent-level-").concat(u)}):null;if(0===w||0===C)return null;d.align&&(S.style=r({textAlign:d.align},S.style));var L=m.default(b,(s(e={},"".concat(a,"-cell-ellipsis"),!!d.ellipsis),s(e,"".concat(a,"-cell-break-word"),!!d.width),e));if(d.ellipsis)if("string"==typeof t)S.title=t;else if(t){var N=t.props;N&&N.children&&"string"==typeof N.children&&(S.title=N.children)}return g.createElement(h,Object.assign({className:L,onClick:this.handleClick},S),x,c,t)}}])&&u(n.prototype,i),o&&u(n,o),p}(g.Component);t.default=_},"Dt+G":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(107).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(146).then(n.bind(null,"EaLm"))}})},EA7m:function(e,t,n){var i=n("zZ0H"),o=n("Ioao"),r=n("wclG");e.exports=function(e,t){return r(o(e,t,i),e+"")}},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(143).then(n.bind(null,"87dK"))}})},EffR:function(e,t,n){"use strict";n.d(t,"o",(function(){return y})),n.d(t,"L",(function(){return _})),n.d(t,"G",(function(){return b})),n.d(t,"C",(function(){return O})),n.d(t,"e",(function(){return x})),n.d(t,"f",(function(){return L})),n.d(t,"J",(function(){return N})),n.d(t,"K",(function(){return E})),n.d(t,"S",(function(){return D})),n.d(t,"g",(function(){return M})),n.d(t,"k",(function(){return T})),n.d(t,"h",(function(){return P})),n.d(t,"i",(function(){return R})),n.d(t,"O",(function(){return A})),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 J})),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 ye})),n.d(t,"T",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"a",(function(){return xe})),n.d(t,"R",(function(){return Le})),n.d(t,"D",(function(){return Ne})),n.d(t,"M",(function(){return Ee})),n.d(t,"x",(function(){return De})),n.d(t,"p",(function(){return ke})),n.d(t,"U",(function(){return Me})),n.d(t,"l",(function(){return Ie})),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 y(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function _(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,O=S.hasClass.bind(S),x=S.addClass.bind(S),L=S.addClasses.bind(S),N=S.removeClass.bind(S),E=S.removeClasses.bind(S),D=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 M(e,t,n,i){return new k(e,t,n,i)}function I(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=I(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.a(t))}}(n)),M(e,t,o,i)};function P(e,t){return M(e,"mouseout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function R(e,t){return M(e,"pointerout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}var A,F,j=null;var V,W,B,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}();V=[],W=null,B=!1,H=!1,z=function(){for(B=!1,W=V,V=[],H=!0;W.length>0;)W.sort(U.sort),W.shift().execute();H=!1},F=function(e,t){void 0===t&&(t=0);var n,i=new U(e,t);return V.push(i),B||(B=!0,n=z,j||(j=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}),j.call(self,n)),i},A=function(e,t){if(H){var n=new U(e,t);return W.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(M(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 Q(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new Q(t,n)}if(window.innerWidth&&window.innerHeight)return new Q(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Q(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Q(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}(),Q=function(e,t){this.width=e,this.height=t};function J(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(O(e,t))return e;if(n)if("string"==typeof n){if(O(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 ye(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 _e=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 _e(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 Oe(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 xe(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Oe.apply(void 0,v([we.HTML,e,t],n))}function Le(){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 Ne(){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 Ee(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 De(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 Me(e){if(h.f||o.g)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Ie(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={})),xe.SVG=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Oe.apply(void 0,v([we.SVG,e,t],n))},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},Eitf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n("NJEC")),o=h(n("2fM7")),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("k994"),n("8QGh");var a=n("q1tI"),u=h(a);n("3cxI");var l=h(n("vDqi")),c=h(n("R/Rt")),d=h(n("bjH3"));function h(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.componentDidMount=function(){var e=n.props.detail;n.setState({value:e.content}),n.languages_total()},n.languages_total=function(){var e=n.props.detail.path.split("/").pop().split(".").pop(),t=[],i="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 r in o){t.push(r),-1!==o[r].indexOf(e)&&(i=r)}n.setState({languages:t,language:i})},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,i){n.setState({value:i})},n.deleteFile=function(){var e=n.props,t=e.branch,i=e.detail,o=n.props.match.params,r=o.projectsId,s=o.owner,a="/"+s+"/"+r+"/delete_file.json";l.default.delete(a,{params:{filepath:i.path,branch:t,sha:i.sha}}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.props.history.push("/projects/"+s+"/"+r))})).catch((function(e){console.log(e)}))},n.updateCode=function(e){n.setState({value:e})},n.onContentChange=function(e){n.setState({description:e})},n.state={value:void 0,language:void 0,languages:void 0,description:e.detail.content},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.props,n=t.readOnly,s=t.detail,a=t.current_user,l=t.isManager,h=t.isDeveloper,f=t.md,p=t.currentBranch,g=t.platform,m=this.state,v=m.language,y=m.languages,_=m.description,b=a&&a.login&&(l||h),C=o.default.Option;return u.default.createElement("div",{className:"mb20"},u.default.createElement("div",{className:"grid-item branchTitle"},u.default.createElement("div",{className:"grid-item"},u.default.createElement("span",{className:"ml20 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]}(s&&s.size))),u.default.createElement("p",{className:"text-right"},b&&g&&u.default.createElement("div",null,n?u.default.createElement("span",null,s.direct_download?"":u.default.createElement("span",null,u.default.createElement("a",{onClick:function(){return e.DownLoadFile(s.download_url)},className:"ml20"},u.default.createElement("i",{className:"iconfont icon-xiazai1 font-15 color-grey-6"})),u.default.createElement("a",{onClick:function(){return e.EditFile(!1)},className:"ml20"},u.default.createElement("i",{className:"iconfont icon-bianji1 font-15 color-grey-6"})))):u.default.createElement(u.default.Fragment,null,u.default.createElement(o.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:v,onChange:this.select_language},u.default.createElement(C,{value:void 0},"请选择文本语言"),y&&y.map((function(e,t){return u.default.createElement(C,{value:e,key:t},e)}))),u.default.createElement("button",{type:"button",className:"ant-btn ant-btn-sm ml20",onClick:function(){return e.EditFile(!0)}},u.default.createElement("span",null,"取 消"))),u.default.createElement(i.default,{title:"确认删除这个文件?",className:"ml20",okText:"确定",cancelText:"取消",onConfirm:this.deleteFile},u.default.createElement("a",null,u.default.createElement("i",{className:"iconfont icon-shanchu font-15 color-grey-6"})))))),u.default.createElement("div",null,s.image_type?u.default.createElement("div",{className:"edu-txt-center pt20 pb20"},u.default.createElement("img",{alt:"",src:s.download_url,style:{maxWidth:"80%"}})):s.direct_download?u.default.createElement("div",{className:"mt20 text-center"},u.default.createElement("a",{href:s.download_url,className:"color-blue font-15"},"下载原始文件")):f&&n?u.default.createElement("div",{className:"files-md"},u.default.createElement(d.default,{className:"file-md imageLayerParent",value:_,url:this.props.history.location})):u.default.createElement(c.default,r({},this.props,this.state,{language:v||"javascript",filepath:"/"+s.path,content:s.content,readOnly:n,editorType:"update",currentBranch:p}))))}}]),t}(a.Component);t.default=f},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("+kn0"),r=n("Gv54"),s=(i=r)&&i.__esModule?i:{default:i};t.default=function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();s.default.required(e,t,i,a,r),void 0!==t&&s.default.type(e,t,i,a,r)}n(a)}},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}))},FZoo:function(e,t,n){var i=n("MrPd"),o=n("4uTw"),r=n("wJg7"),s=n("GoyQ"),a=n("9Nap");e.exports=function(e,t,n,u){if(!s(e))return e;for(var l=-1,c=(t=o(t,e)).length,d=c-1,h=e;null!=h&&++l<c;){var f=a(t[l]),p=n;if(l!=d){var g=h[f];void 0===(p=u?u(g,f,h):void 0)&&(p=s(g)?g:r(t[l+1])?[]:{})}i(h,f,p),h=h[f]}return e}},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(116).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 M})),n.d(t,"a",(function(){return I}));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)}}(),y=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),_=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 _(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}(y),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 _(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}(y),O=n("MI8n"),x=n("QuOb"),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)}}(),N=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},E=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 N(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}(),D=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new O.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 L(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=E.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 x.a(0,(function(e){return r.Q(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return L(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(D),M=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return L(t,e),t}(D),I=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 L(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 y})),n.d(t,"b",(function(){return _}));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 y=t.getLineContent(v),_=o.o(y);if((!this._opts.isUnshift||0!==y.length&&0!==_)&&(p||this._opts.isUnshift||0!==y.length)){if(-1===_&&(_=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!==_&&32===y.charCodeAt(_-1));C++)_--}}if(!this._opts.isUnshift||0!==_){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,_+1),S),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=_+1)}}}else{var O=f?d(" ",h):"\t";for(v=i;v<=r;v++){y=t.getLineContent(v),_=o.o(y);if((!this._opts.isUnshift||0!==y.length&&0!==_)&&((p||this._opts.isUnshift||0!==y.length)&&(-1===_&&(_=y.length),!this._opts.isUnshift||0!==_)))if(this._opts.isUnshift){_=Math.min(_,h);for(var x=0;x<_;x++){if(9===y.charCodeAt(x)){_=x+1;break}}this._addEditOperation(n,new a.a(v,1,v,_+1),"")}else this._addEditOperation(n,new a.a(v,1,v,1),O),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)}),y=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 y=n.getLineContent(u.startLineNumber),_=o.r(y).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";_!==t.normalizeIndentation(b.beforeEnter)&&(S=t.normalizeIndentation(b.beforeEnter)+y.substring(_.length,u.startColumn-1)+"\n",u=new a.a(u.startLineNumber,1,u.endLineNumber,u.endColumn));var O=n.getLineContent(u.endLineNumber),x=o.o(O);if(u=x>=0?u.setEndPosition(u.endLineNumber,Math.max(u.endColumn,x+1)):u.setEndPosition(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),i)return new r.d(u,S+t.normalizeIndentation(b.afterEnter),!0);var L=0;return w<=x+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),L=Math.min(C+1-t.normalizeIndentation(b.afterEnter).length-1,0)),new r.c(u,S+t.normalizeIndentation(b.afterEnter),0,L,!0)}}return e._typeCommand(u,"\n"+t.normalizeIndentation(_),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(),y=n.getLineContent(v.lineNumber);if(y.length>v.column-1){var _=y.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,d,_)&&!h(_))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(y.charCodeAt(v.column-2)))return null;if(!a&&v.column>2&&0===b.get(y.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 _(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),y=t.normalizeIndentation(v),_=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}(),_=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)},GZbg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(i.format(r.messages.enum,e.fullField,e.enum.join(", ")))}},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(139).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(135).then(n.bind(null,"ynbn"))}})},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("l1rO")),o=l(n("AU0A")),r=l(n("oEMi")),s=l(n("l8PK")),a=l(n("GZbg")),u=l(n("moXY"));function l(e){return e&&e.__esModule?e:{default:e}}t.default={required:i.default,whitespace:o.default,type:r.default,range:s.default,enum:a.default,pattern:u.default}},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(123).then(n.bind(null,"lXEz"))}})},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),(0,s.isEmptyValue)(t)||r.default.type(e,t,i,a,o)}n(a)}},"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(110).then(n.bind(null,"yswY"))}})},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,i=e.length;n<i&&!1!==t(e[n],n);n++);}}},Ioao:function(e,t,n){var i=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,s=-1,a=o(r.length-t,0),u=Array(a);++s<a;)u[s]=r[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=r[s];return l[t]=n(u),i(e,this,l)}}},"J+ZK":function(e,t,n){},JHRd:function(e,t,n){var i=n("Kz5y").Uint8Array;e.exports=i},"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(125).then(n.bind(null,"W1QP"))}})},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(){}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},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}()},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("q1tI"),o=n("17x9"),r=n("oOh1"),s=n("H84U");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(v,e);var t,n,o,a,m=(t=v,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function v(){var e;return l(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,s=o.prefixCls,a=g(o,["prefixCls"]),l=n("radio-button",s);return e.context.radioGroup&&(a.checked=e.props.value===e.context.radioGroup.value,a.disabled=e.props.disabled||e.context.radioGroup.disabled),i.createElement(r.a,u({prefixCls:l},a))},e}return n=v,(o=[{key:"render",value:function(){return i.createElement(s.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),a&&c(n,a),v}(i.Component);m.contextTypes={radioGroup:o.any}},Krc3:function(e,t,n){},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,a,o),(0,s.isEmptyValue)(t,"string")||r.default.pattern(e,t,i,a,o)}n(a)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,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(142).then(n.bind(null,"05+/"))}})},LcsW:function(e,t,n){var i=n("kekF")(Object.getPrototypeOf,Object);e.exports=i},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(111).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 _})),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},y=function(e){this.modelState=null,this.viewState=e},_=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 y(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}},LsHQ:function(e,t,n){var i=n("EA7m"),o=n("mv/X");e.exports=function(e){return i((function(t,n){var i=-1,r=n.length,s=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(r--,s):void 0,a&&o(n[0],n[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++i<r;){var u=n[i];u&&e(t,u,i,s)}return t}))}},"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 y})),n.d(t,"Lb",(function(){return _})),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 O})),n.d(t,"W",(function(){return x})),n.d(t,"Y",(function(){return L})),n.d(t,"X",(function(){return N})),n.d(t,"Z",(function(){return E})),n.d(t,"bb",(function(){return D})),n.d(t,"ab",(function(){return k})),n.d(t,"T",(function(){return M})),n.d(t,"V",(function(){return I})),n.d(t,"U",(function(){return T})),n.d(t,"Cb",(function(){return A})),n.d(t,"Bb",(function(){return F})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return V})),n.d(t,"Gb",(function(){return W})),n.d(t,"Ib",(function(){return B})),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 Q})),n.d(t,"x",(function(){return J})),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 ye})),n.d(t,"l",(function(){return _e})),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 Oe})),n.d(t,"cb",(function(){return xe})),n.d(t,"db",(function(){return Le})),n.d(t,"nb",(function(){return Ne})),n.d(t,"ob",(function(){return Ee})),n.d(t,"mb",(function(){return De})),n.d(t,"kb",(function(){return ke})),n.d(t,"lb",(function(){return Me})),n.d(t,"eb",(function(){return Ie})),n.d(t,"fb",(function(){return Te})),n.d(t,"hb",(function(){return Pe})),n.d(t,"gb",(function(){return Re})),n.d(t,"Kb",(function(){return Ae})),n.d(t,"qb",(function(){return Fe})),n.d(t,"rb",(function(){return je})),n.d(t,"pb",(function(){return Ve})),n.d(t,"ub",(function(){return We})),n.d(t,"sb",(function(){return Be})),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 Je}));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 Je(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.")),y=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.")),_=(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.")),O=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.")),x=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),L=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),N=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),E=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),D=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.")),M=d("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),I=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.")),P=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.")),A=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.")),j=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.")),V=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.")),W=d("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),B=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.")),Q=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.")),J=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:Qe(re,$,.3,.6),dark:Qe(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:y},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:y},s.a("editorFindMatchBorder","Border color of the current search match.")),fe=d("editor.findMatchHighlightBorder",{light:null,dark:null,hc:y},s.a("findMatchHighlightBorder","Border color of the other search matches.")),pe=d("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Xe(y,.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=Je(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)),ye=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),_e=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.")),Oe=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.")),xe=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.")),Le=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.")),Ne=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.")),Ee=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.")),De=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.")),Me=d("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ie=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."))),Pe=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.")),Ae=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.")),je=d("menu.foreground",{dark:R,light:p,hc:R},s.a("menuForeground","Foreground color of menu items.")),Ve=d("menu.background",{dark:P,light:P,hc:P},s.a("menuBackground","Background color of menu items.")),We=d("menu.selectionForeground",{dark:Le,light:Le,hc:Le},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Be=d("menu.selectionBackground",{dark:xe,light:xe,hc:xe},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),He=d("menu.selectionBorder",{dark:null,light:null,hc:y},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=Je(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Je(e,n);if(i)return i.transparent(t)}}function Qe(e,t,n,i){return function(r){var s=Je(e,r);if(s){var a=Je(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 Je(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}()},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var i=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!i(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 y})),n.d(t,"g",(function(){return _})),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,y=a,_=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)}}()},MibV:function(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),c=n("xI0J"),d=u(n("TSYQ"));function h(e,t){var n=e.fixedColumnsHeadRowsHeight,i=t.columns,o=t.rows,r=t.fixed,s=n[0];return r&&s&&i?"auto"===s?"auto":s/o.length:null}t.default=c.connect((function(e,t){return{height:h(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,a=e.components,u=e.onHeaderRow,c=e.prefixCls,h=a.header.row,f=a.header.cell,p=u(t.map((function(e){return e.column})),n),g=p?p.style:{},m=r({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},g);return l.createElement(h,Object.assign({},p,{style:m}),t.map((function(e,t){var n,o=e.column,a=e.isLast,u=i(e,["column","isLast"]),h=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(h.style=r({},h.style,{textAlign:o.align})),h.className=d.default(h.className,o.className,(s(n={},"".concat(c,"-align-").concat(o.align),!!o.align),s(n,"".concat(c,"-row-cell-ellipsis"),!!o.ellipsis),s(n,"".concat(c,"-row-cell-break-word"),!!o.width),s(n,"".concat(c,"-row-cell-last"),a),n)),l.createElement(f,Object.assign({},u,h,{key:o.key||o.dataIndex||t}))})))}))},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 y})),n.d(t,"basename",(function(){return _})),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,y=v;v<h&&!u(l.charCodeAt(v));++v);if(v<h&&v!==y){var _=l.slice(y,v);for(y=v;v<h&&u(l.charCodeAt(v));++v);if(v<h&&v!==y){for(y=v;v<h&&!u(l.charCodeAt(v));++v);v===h?(p="\\\\"+_+"\\"+l.slice(y),f=v):v!==y&&(p="\\\\"+_+"\\"+l.slice(y,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,y="win32"===o.c?f.dirname:p.dirname,_="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(129).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(138).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 y})),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 O})),n.d(t,"x",(function(){return x})),n.d(t,"y",(function(){return L})),n.d(t,"s",(function(){return N})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return k})),n.d(t,"g",(function(){return I})),n.d(t,"e",(function(){return P})),n.d(t,"t",(function(){return A})),n.d(t,"f",(function(){return F})),n.d(t,"w",(function(){return j})),n.d(t,"u",(function(){return V})),n.d(t,"a",(function(){return W})),n.d(t,"J",(function(){return B})),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 y(e){return e>=65&&e<=90}function _(e){return v(e)||y(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(_(o)&&_(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 O(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 x(e){return 55296<=e&&e<=56319}function L(e){return 56320<=e&&e<=57343}function N(e,t,n){var i=e.charCodeAt(n);if(x(i)&&n+1<t){var o=e.charCodeAt(n+1);if(L(o))return o-56320+(i-55296<<10)+65536}return i}function E(e,t){var n=e.charCodeAt(t-1);if(L(n)&&t>1){var i=e.charCodeAt(t-2);if(x(i))return n-56320+(i-55296<<10)+65536}return n}function D(e,t){var n=q.getInstance(),i=t,o=e.length,r=N(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=N(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=E(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=E(e,t),a=n.getGraphemeBreakType(s);if(K(a,r))break;t-=s>=65536?2:1,r=a}return i-t}var M=/(?:[\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 I(e){return M.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 P(e){return T.test(e)}var R=/^[\t\n\r\x20-\x7E]*$/;function A(e){return R.test(e)}function F(e){for(var t=0,n=e.length;t<n;t++)if(j(e.charCodeAt(t)))return!0;return!1}function j(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function V(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 W=String.fromCharCode(65279);function B(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}()},NJEC:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("VCL8"),r=n("3S7+"),s=n("CtXQ"),a=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),c=n("H84U");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 h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(b,e);var t,n,o,s,d=(t=b,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});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=d.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,r=o.okButtonProps,s=o.cancelButtonProps,u=o.title,l=o.cancelText,c=o.okText,d=o.okType,f=o.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},f,i.createElement("div",{className:"".concat(e,"-message-title")},u)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(a.default,h({onClick:t.onCancel,size:"small"},s),l||n.cancelText),i.createElement(a.default,h({onClick:t.onConfirm,type:d,size:"small"},r),c||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,s=o.prefixCls,a=o.placement,c=_(o,["prefixCls","placement"]),d=n("popover",s),f=i.createElement(u.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},(function(e){return t.renderOverlay(d,e)}));return i.createElement(r.default,h({},c,{prefixCls:d,placement:a,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:f,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=b,s=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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 i=n.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderConfirm)}}])&&f(n.prototype,o),s&&f(n,s),b}(i.Component);b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(s.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(b),t.default=b},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"}}},OFL0:function(e,t,n){var i=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,i)}},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(102).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}},PZDY:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(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(e){return function(e){if(Array.isArray(e))return a(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 a(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==i(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var g=f(n("q1tI")),m=n("xI0J"),v=n("VCL8"),y=p(n("Gytx")),_=p(n("XaS2")),b=n("6Ogq"),C=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&&l(e,t)}(p,e);var t,n,i,a,f=(t=p,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});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=f.call(this,e)).handleExpandChange=function(e,n,i,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];i&&i.stopPropagation();var a=t.props,u=a.onExpandedRowsChange,l=a.onExpand,c=t.store.getState(),d=c.expandedRowKeys;if(e)d=[].concat(s(d),[o]);else{var h=d.indexOf(o);-1!==h&&(d=b.remove(d,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:d}),t.latestExpandedRows&&y.default(t.latestExpandedRows,d)||(t.latestExpandedRows=d,u(d)),r||l(e,n)},t.renderExpandIndentCell=function(e,n){var i=t.props,s=i.prefixCls;if(i.expandIconAsCell&&"right"!==n&&e.length){var a={key:"rc-table-expand-icon-cell",className:"".concat(s,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a,{column:a}))}},t.renderRows=function(e,n,i,o,r,a,u,l){var c=t.props,d=c.expandedRowClassName,h=c.expandedRowRender,f=i[c.childrenColumnName],p=[].concat(s(l),[u]),g=r+1;h&&n.push(t.renderExpandedRow(i,o,h,d(i,o,r),p,g,a)),f&&n.push.apply(n,s(e(f,g,p)))};var n=e.data,i=e.childrenColumnName,a=e.defaultExpandAllRows,u=e.expandedRowKeys,l=e.defaultExpandedRowKeys,c=e.getRowKey,d=[],h=s(n);if(a)for(var g=0;g<h.length;g+=1){var m=h[g];d.push(c(m,g)),h=h.concat(m[i]||[])}else d=u||l;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:d}),t}return n=p,(i=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,i,o,r,s){var a,u=this,l=this.props,c=l.prefixCls,d=l.expandIconAsCell,h=l.indentSize,f=o[o.length-1],p="".concat(f,"-extra-row");a="left"===s?this.columnManager.leftLeafColumns().length:"right"===s?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var m=[{key:"extra-row",render:function(){var i=u.store.getState().expandedRowKeys,o=(void 0===i?[]:i).includes(f);return{props:{colSpan:a},children:"right"!==s?n(e,t,r,o):" "}}}];return d&&"right"!==s&&m.unshift({key:"expand-icon-placeholder",render:function(){return null}}),g.createElement(_.default,{key:p,columns:m,className:i,rowKey:p,ancestorKeys:o,prefixCls:"".concat(c,"-expanded-row"),indentSize:h,indent:r,fixed:s,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,i=e.children,o=t.some((function(e){return e[n]}));return i({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&u(n.prototype,i),a&&u(n,a),p}(g.Component);C.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(C),t.default=m.connect()(C)},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}},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},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(118).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 y=Math.min(Math.max(0,l-1),a-1);c[d++]=p,c[d++]=n.getMetadata(y)&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}()},QcOe:function(e,t,n){var i=n("GoyQ"),o=n("6sVZ"),r=n("7Ix3"),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}},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(131).then(n.bind(null,"j6Xs"))}})},QkVN:function(e,t,n){var i=n("+Qka"),o=n("LsHQ")((function(e,t,n){i(e,t,n)}));e.exports=o},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}()},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("q1tI"),s=l(r),a=l(n("gL5p")),u=l(n("BtkW"));function l(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.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content},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.state.editorValue,t=this.props,n=t.readOnly,o=t.editorType,r=t.language,l=t.currentBranch,c={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:n,cursorStyle:n?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",null,s.default.createElement("div",{className:"branchTable"},s.default.createElement(a.default,{height:"400px",language:r||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:e,options:c,onChange:this.changeEditor,editorWillMount:this.editorWillMount})),!n&&s.default.createElement(u.default,i({},this.props,this.state,{filepath:""+this.props.filepath,content:e,editor_type:o,currentBranch:l}))))}}]),t}(r.Component);t.default=c},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},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"],i=[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"],r=[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"],s=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],a="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",u=[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"],l=[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"],c=[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 h(e,t,n,i,o){if(n){var r={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};i(r),o.push.apply(o,r.decorations)}}var f=/\S/;function p(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var i=n.nodeType;t=1===i?t?e:n:3===i&&f.test(n.nodeValue)?e:t}return t===e?void 0:t}function g(e,t){var n,i={};!function(){for(var o=e.concat(t),r=[],s={},a=0,u=o.length;a<u;++a){var l=o[a],c=l[3];if(c)for(var d=c.length;--d>=0;)i[c.charAt(d)]=l;var h=l[1],f=""+h;s.hasOwnProperty(f)||(r.push(h),s[f]=null)}r.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,i=!1,o=0,r=e.length;o<r;++o){if((h=e[o]).ignoreCase)i=!0;else if(/[a-z]/i.test(h.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,i=!1;break}}var s={b:8,t:9,n:10,v:11,f:12,r:13};function a(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=s[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function u(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 l(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=[],i="^"===t[0],o=["["];i&&o.push("^");for(var r=i?1:0,s=t.length;r<s;++r){var l=t[r];if(/\\[bdsw]/i.test(l))o.push(l);else{var c,d=a(l);r+2<s&&"-"===t[r+1]?(c=a(t[r+2]),r+=2):c=d,n.push([d,c]),c<65||d>122||(c<65||d>90||n.push([32|Math.max(65,d),32|Math.min(c,90)]),c<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(c,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var h=[],f=[];for(r=0;r<n.length;++r){(p=n[r])[0]<=f[1]+1?f[1]=Math.max(f[1],p[1]):h.push(f=p)}for(r=0;r<h.length;++r){var p=h[r];o.push(u(p[0])),p[1]>p[0]&&(p[1]+1>p[0]&&o.push("-"),o.push(u(p[1])))}return o.push("]"),o.join("")}function c(e){for(var i=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=i.length,r=[],s=0,a=0;s<o;++s){if("("===(d=i[s]))++a;else if("\\"===d.charAt(0)){(c=+d.substring(1))&&(c<=a?r[c]=-1:i[s]=u(c))}}for(s=1;s<r.length;++s)-1===r[s]&&(r[s]=++t);for(s=0,a=0;s<o;++s){if("("===(d=i[s]))r[++a]||(i[s]="(?:");else if("\\"===d.charAt(0)){var c;(c=+d.substring(1))&&c<=a&&(i[s]="\\"+r[c])}}for(s=0;s<o;++s)"^"===i[s]&&"^"!==i[s+1]&&(i[s]="");if(e.ignoreCase&&n)for(s=0;s<o;++s){var d,h=(d=i[s]).charAt(0);d.length>=2&&"["===h?i[s]=l(d):"\\"!==h&&(i[s]=d.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return i.join("")}var d=[];for(o=0,r=e.length;o<r;++o){var h;if((h=e[o]).global||h.multiline)throw new Error(""+h);d.push("(?:"+c(h)+")")}return new RegExp(d.join("|"),i?"gi":"g")}(r)}();var o=t.length,r=function(e){for(var s=e.sourceCode,a=e.basePos,u=e.sourceNode,l=[a,"pln"],c=0,d=s.match(n)||[],f={},p=0,g=d.length;p<g;++p){var m,v=d[p],y=f[v],_=void 0;if("string"==typeof y)m=!1;else{var b=i[v.charAt(0)];if(b)_=v.match(b[1]),y=b[0];else{for(var w=0;w<o;++w)if(b=t[w],_=v.match(b[1])){y=b[0];break}_||(y="pln")}!(m=y.length>=5&&"lang-"===y.substring(0,5))||_&&"string"==typeof _[1]||(m=!1,y="src"),m||(f[v]=y)}var S=c;if(c+=v.length,m){var O=_[1],x=v.indexOf(O),L=x+O.length;_[2]&&(x=(L=v.length-_[2].length)-O.length);var N=y.substring(5);h(u,a+S,v.substring(0,x),r,l),h(u,a+S+x,O,C(N,O),l),h(u,a+S+L,v.substring(L),r,l)}else l.push(a+S,y)}e.decorations=l};return r}function m(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 i=e.hashComments;i&&(e.cStyleComments?(i>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 r=o>1?"":"\n\r",s=r?".":"[\\S\\s]",a="/(?=[^/*"+r+"])(?:[^/\\x5B\\x5C"+r+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+r+"]|\\x5C"+s+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+a+")")])}var u=e.types;u&&n.push(["typ",u]);var l=(""+e.keywords).replace(/^ | $/g,"");l.length&&n.push(["kwd",new RegExp("^(?:"+l.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var c="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(c+="(?!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(c),null]),g(t,n)}var v=m({keywords:[i,r,o,s,a,u,l,c],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function y(e,t,n){for(var i=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,r=e.ownerDocument,s=r.createElement("li");e.firstChild;)s.appendChild(e.firstChild);var a=[s];function u(e){var t=e.nodeType;if(1!=t||i.test(e.className)){if((3==t||4==t)&&n){var s=e.nodeValue,a=s.match(o);if(a){var c=s.substring(0,a.index);e.nodeValue=c;var d=s.substring(a.index+a[0].length);if(d)e.parentNode.insertBefore(r.createTextNode(d),e.nextSibling);l(e),c||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)l(e),e.parentNode&&e.parentNode.removeChild(e);else for(var h=e.firstChild;h;h=h.nextSibling)u(h)}function l(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var i=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var r=e(o,1),s=t.nextSibling;r.appendChild(i);for(var a=s;a;a=s)s=a.nextSibling,r.appendChild(a)}return i}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;a.push(n)}for(var c=0;c<a.length;++c)u(a[c]);t===(0|t)&&a[0].setAttribute("value",t);var d=r.createElement("ol");d.className="linenums";for(var h=Math.max(0,t-1|0)||0,f=(c=0,a.length);c<f;++c)(s=a[c]).className="L"+(c+h)%10,s.firstChild||s.appendChild(r.createTextNode(" ")),d.appendChild(s);e.appendChild(d)}var _={};function b(t,n){for(var i=n.length;--i>=0;){var o=n[i];_.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):_[o]=t}}function C(e,t){return e&&_.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),_[e]}function w(t){var n,i,o,r,s,a,u,l=t.langExtension;try{var c=(n=t.sourceNode,i=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,r=[],s=0,a=[],u=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var l=t.firstChild;l;l=l.nextSibling)e(l);var c=t.nodeName.toLowerCase();"br"!==c&&"li"!==c||(r[u]="\n",a[u<<1]=s++,a[u++<<1|1]=t)}else if(3==n||4==n){var d=t.nodeValue;d.length&&(d=i?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),r[u]=d,a[u<<1]=s,s+=d.length,a[u++<<1|1]=t)}}(n),{sourceCode:r.join("").replace(/\n$/,""),spans:a}),d=c.sourceCode;t.sourceCode=d,t.spans=c.spans,t.basePos=0,C(l,d)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,i,o=/\n/g,r=e.sourceCode,s=r.length,a=0,u=e.spans,l=u.length,c=0,d=e.decorations,h=d.length,f=0;for(d[h]=s,i=n=0;i<h;)d[i]!==d[i+2]?(d[n++]=d[i++],d[n++]=d[i++]):i+=2;for(h=n,i=n=0;i<h;){for(var p=d[i],g=d[i+1],m=i+2;m+2<=h&&d[m+1]===g;)m+=2;d[n++]=p,d[n++]=g,i=m}h=d.length=n;var v=e.sourceNode,y="";v&&(y=v.style.display,v.style.display="none");try{for(;c<l;){u[c];var _,b=u[c+2]||s,C=d[f+2]||s,w=(m=Math.min(b,C),u[c+1]);if(1!==w.nodeType&&(_=r.substring(a,m))){t&&(_=_.replace(o,"\r")),w.nodeValue=_;var S=w.ownerDocument,O=S.createElement("span");O.className=d[f+1];var x=w.parentNode;x.replaceChild(O,w),O.appendChild(w),a<b&&(u[c+1]=w=S.createTextNode(r.substring(m,b)),x.insertBefore(w,O.nextSibling))}(a=m)>=b&&(c+=2),a>=C&&(f+=2)}}finally{v&&(v.style.display=y)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(e,t,n){var i=n||!1,o=t||null,r=document.createElement("div");return r.innerHTML="<pre>"+e+"</pre>",r=r.firstChild,i&&y(r,i,!0),w({langExtension:o,numberLines:i,sourceNode:r,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),r.innerHTML}function O(t,n){var i=n||document.body,o=i.ownerDocument||document;function r(e){return i.getElementsByTagName(e)}for(var s=[r("pre"),r("code"),r("xmp")],a=[],u=0;u<s.length;++u)for(var l=0,c=s[u].length;l<c;++l)a.push(s[u][l]);s=null;var d=Date;d.now||(d={now:function(){return+new Date}});var h=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,g=/\bprettyprint\b/,m=/\bprettyprinted\b/,v=/pre|xmp/i,_=/^code$/i,b=/^(?:pre|code|xmp)$/i,C={};!function n(){for(var i=e.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;h<a.length&&d.now()<i;h++){for(var r=a[h],s=C,u=r;u=u.previousSibling;){var l=u.nodeType,c=(7===l||8===l)&&u.nodeValue;if(c?!/^\??prettify\b/.test(c):3!==l||/\S/.test(u.nodeValue))break;if(c){s={},c.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){s[t]=n}));break}}var S=r.className;if((s!==C||g.test(S))&&!m.test(S)){for(var O=!1,x=r.parentNode;x;x=x.parentNode){var L=x.tagName;if(b.test(L)&&x.className&&g.test(x.className)){O=!0;break}}if(!O){r.className+=" prettyprinted";var N,E,D=s.lang;if(!D)!(D=S.match(f))&&(N=p(r))&&_.test(N.tagName)&&(D=N.className.match(f)),D&&(D=D[1]);if(v.test(r.tagName))E=1;else{var k=r.currentStyle,M=o.defaultView,I=k?k.whiteSpace:M&&M.getComputedStyle?M.getComputedStyle(r,null).getPropertyValue("white-space"):0;E=I&&"pre"===I.substring(0,3)}var T=s.linenums;(T="true"===T||+T)||(T=!!(T=S.match(/\blinenums\b(?::(\d+))?/))&&(!T[1]||!T[1].length||+T[1])),T&&y(r,T,E),w({langExtension:D,sourceNode:r,numberLines:T,pre:E,sourceCode:null,basePos:null,spans:null,decorations:null})}}}h<a.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}b(v,["default-code"]),b(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"]),b(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"]),b(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),b(m({keywords:i,hashComments:!0,cStyleComments:!0,types:d}),["c","cc","cpp","cxx","cyc","m"]),b(m({keywords:"null,true,false"}),["json"]),b(m({keywords:r,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:d}),["cs"]),b(m({keywords:o,cStyleComments:!0}),["java"]),b(m({keywords:c,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),b(m({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),b(m({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),b(m({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),b(m({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),b(m({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"]),b(g([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:g,registerLangHandler:b,sourceDecorator:m,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:O},L=e.define;"function"==typeof L&&L.amd&&L("google-code-prettify",[],(function(){return x}))}()},"SiX+":function(e,t,n){"use strict";var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("Gytx"),u=n.n(a),l=n("VCL8"),c=n("oOh1"),d=n("H84U");function h(e){return(h="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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e){var t=null,n=!1;return i.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,r,a=(t=l,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onRadioChange=function(e){var n=t.state.value,i=e.target.value;"value"in t.props||t.setState({value:i});var o=t.props.onChange;o&&i!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,r=o.prefixCls,a=o.className,u=void 0===a?"":a,l=o.options,d=o.buttonStyle,h=n("radio",r),f="".concat(h,"-group"),p=s()(f,"".concat(f,"-").concat(d),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(f,"-").concat(o.size),o.size),u),g=o.children;return l&&l.length>0&&(g=l.map((function(e){return"string"==typeof e?i.createElement(c.a,{key:e,prefixCls:h,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):i.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:h,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),i.createElement("div",{className:p,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},g)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=_(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=_(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&f(n.prototype,o),r&&f(n,r),l}(i.Component);b.defaultProps={buttonStyle:"outline"},b.childContextTypes={radioGroup:o.any},Object(l.polyfill)(b),t.a=b},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(109).then(n.bind(null,"Dsrv"))}})},T1AV:function(e,t,n){var i=n("t2Dn"),o=n("5Tg0"),r=n("yP5f"),s=n("Q1l4"),a=n("+iFO"),u=n("03A+"),l=n("Z0cm"),c=n("3L66"),d=n("DSRE"),h=n("lSCD"),f=n("GoyQ"),p=n("YO3V"),g=n("c6wG"),m=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,y,_,b,C){var w=m(e,n),S=m(t,n),O=C.get(S);if(O)i(e,n,O);else{var x=b?b(w,S,n+"",e,t,C):void 0,L=void 0===x;if(L){var N=l(S),E=!N&&d(S),D=!N&&!E&&g(S);x=S,N||E||D?l(w)?x=w:c(w)?x=s(w):E?(L=!1,x=o(S,!0)):D?(L=!1,x=r(S,!0)):x=[]:p(S)||u(S)?(x=w,u(w)?x=v(w):f(w)&&!h(w)||(x=a(S))):L=!1}L&&(C.set(S,x),_(x,S,y,b,C),C.delete(S)),i(e,n,x)}}},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 y})),n.d(t,"e",(function(){return _}));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),y=Object(r.c)("contextKeyService"),_="setContext"},TT2d:function(e,t,n){},TZyB: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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},UNrv:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(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(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==i(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(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=h(n("q1tI")),g=h(n("17x9")),m=n("xI0J"),v=f(n("TSYQ")),y=f(n("zSdB")),_=f(n("VMSz")),b=f(n("XaS2")),C=f(n("zgq8")),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&&u(e,t)}(g,e);var t,n,i,h,f=(t=g,function(){var e,n=d(t);if(c()){var i=d(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return l(this,e)});function g(){var e;return s(this,g),(e=f.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,r=o.columnManager,s=o.components,a=o.props,u=a.prefixCls,l=a.childrenColumnName,c=a.rowClassName,d=a.rowRef,h=a.onRowClick,f=a.onRowDoubleClick,g=a.onRowContextMenu,m=a.onRowMouseEnter,v=a.onRowMouseLeave,y=a.onRow,_=e.props,w=_.getRowKey,S=_.fixed,O=_.expander,x=_.isAnyColumnsFixed,L=[],N=function(o){var a=t[o],_=w(a,o),N="string"==typeof c?c:c(a,o,n),E={};r.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var D=void 0;D="left"===S?r.leftLeafColumns():"right"===S?r.rightLeafColumns():e.getColumns(r.leafColumns());var k="".concat(u,"-row"),M=p.createElement(C.default,Object.assign({},O.props,{fixed:S,index:o,prefixCls:k,record:a,key:_,rowKey:_,onRowClick:h,needIndentSpaced:O.needIndentSpaced,onExpandedChange:O.handleExpandChange}),(function(e){return p.createElement(b.default,Object.assign({fixed:S,indent:n,className:N,record:a,index:o,prefixCls:k,childrenColumnName:l,columns:D,onRow:y,onRowDoubleClick:f,onRowContextMenu:g,onRowMouseEnter:m,onRowMouseLeave:v},E,{rowKey:_,ancestorKeys:i,ref:d(a,o,n),components:s,isAnyColumnsFixed:x},e))}));L.push(M),O.renderRows(e.renderRows,L,a,o,n,S,_,i)},E=0;E<t.length;E+=1)N(E);return L},e}return n=g,(i=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,i=void 0===n?[]:n,s=t.fixed,a=this.context.table.props.prefixCls;return(e||i).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!s?v.default("".concat(a,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,i=n.prefixCls,o=n.scroll,r=n.data,s=n.getBodyWrapper,a=this.props,u=a.expander,l=a.tableClassName,c=a.hasHead,d=a.hasBody,h=a.fixed,f=a.isAnyColumnsFixed,g={};if(!h&&o.x){var m=f?"max-content":"auto";g.width=!0===o.x?m:o.x}var v,b=d?t.table:"table",C=t.body.wrapper;d&&(v=p.createElement(C,{className:"".concat(i,"-tbody")},this.renderRows(r,0)),s&&(v=s(v)));var w=this.getColumns();return p.createElement(b,{className:l,style:g,key:"table"},p.createElement(y.default,{columns:w,fixed:h}),c&&p.createElement(_.default,{expander:u,columns:w,fixed:h}),v)}}])&&a(n.prototype,i),h&&a(n,h),g}(p.Component);w.contextTypes={table:g.any},t.default=m.connect()(w)},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"))},UeuU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,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},r=n("Gv54"),s=(i=r)&&i.__esModule?i:{default:i};t.default=function(e,t,n,i,r){var a=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);s.default.required(e,t,i,a,r,u),n(a)}},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")},VMSz:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("q1tI")),s=i(n("17x9")),a=o(n("MibV"));var u=function(e,t){var n=t.table,i=n.components,o=n.props,s=o.prefixCls,u=o.showHeader,l=o.onHeaderRow,c=e.expander,d=e.columns,h=e.fixed;if(!u)return null;var f=function e(t){var n=t.columns,i=void 0===n?[]:n,o=t.currentRow,r=void 0===o?0:o,s=t.rows,a=void 0===s?[]:s,u=t.isLast,l=void 0===u||u;return a[r]=a[r]||[],i.forEach((function(t,n){if(t.rowSpan&&a.length<t.rowSpan)for(;a.length<t.rowSpan;)a.push([]);var o=l&&n===i.length-1,s={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:r+1,rows:a,isLast:o}),"colSpan"in t&&(s.colSpan=t.colSpan),"rowSpan"in t&&(s.rowSpan=t.rowSpan),0!==s.colSpan&&a[r].push(s)})),a.filter((function(e){return e.length>0}))}({columns:d});c.renderExpandIndentCell(f,h);var p=i.header.wrapper;return r.createElement(p,{className:"".concat(s,"-thead")},f.map((function(e,t){return r.createElement(a.default,{prefixCls:s,key:t,index:t,fixed:h,columns:d,rows:f,row:e,components:i,onHeaderRow:l})})))};u.contextTypes={table:s.any},t.default=u},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n.n(i),r=n("17x9"),s=n("TSYQ"),a=n.n(s),u=n("QbLZ"),l=n.n(u),c=n("i8i4"),d=n.n(c),h=n("9Do8"),f=n.n(h),p=n("OFL0"),g=n.n(p),m=n("jo6Y"),v=n.n(m),y=n("YEIV"),_=n.n(y),b=n("m1cH"),C=n.n(b),w=n("fhzG"),S=n.n(w),O=n("aGtg"),x=n("oV5b"),L=n.n(x),N=n("2W6z"),E=n.n(N),D=n("mwIZ"),k=n.n(D),M=n("D1y2"),I=n.n(M),T=n("ljhN"),P=n.n(T),R=n("iCc5"),A=n.n(R),F=n("V7oC"),j=n.n(F),V=function e(t){A()(this,e),l()(this,t)};function W(e){return e instanceof V}function B(e){return W(e)?e:new V(e)}var H=n("2mql"),z=n.n(H);function U(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function K(e){return e}function q(e){return Array.prototype.concat.apply([],e)}function G(e,t,n){var i={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],i=arguments[2],o=arguments[3],r=arguments[4];if(i(t,n))r(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,s){return e(t+"["+s+"]",n,i,o,r)}));else{if("object"!=typeof n)return void E()(!1,o);Object.keys(n).forEach((function(s){var a=n[s];e(t+(t?".":"")+s,a,i,o,r)}))}}(void 0,e,t,n,(function(e,t){i[e]=t})),i}function Y(e,t,n){var i=e.map((function(e){var t=l()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&i.push({trigger:n?[].concat(n):[],rules:t}),i}function Z(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 X(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Q(e,t,n){var i=e,o=t,r=n;return void 0===n&&("function"==typeof i?(r=i,o={},i=void 0):Array.isArray(i)?"function"==typeof o?(r=o,o={}):o=o||{}:(r=o,o=i||{},i=void 0)),{names:i,options:o,callback:r}}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 W(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){A()(this,e),ie.call(this),this.fields=te(t),this.fieldsMeta={}}return j()(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,i=l()({},this.fields,e),o={};Object.keys(n).forEach((function(e){o[e]=t.getValueFromFields(e,i)})),Object.keys(o).forEach((function(e){var n=o[e],r=t.getFieldMeta(e);if(r&&r.normalize){var s=r.normalize(n,t.getValueFromFields(e,t.fields),o);s!==n&&(i[e]=l()({},i[e],{value:s}))}})),this.fields=i}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,n){var i=t[n];return i&&"value"in i&&(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],i=e.fieldsMeta[t];n&&i&&$(i.validate)&&(e.fields[t]=l()({},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 i=this.getFieldMeta(e);return i&&i.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,i=e.valuePropName,o=this.getField(t),r="value"in o?o.value:e.initialValue;return n?n(r):_()({},i,r)}},{key:"getField",value:function(e){return l()({},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 I()(e,t.name,B(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return I()(t,n,B(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 I()(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 i="["===n[0][e.length],o=i?e.length:e.length+1;return n.reduce((function(e,n){return I()(e,n.slice(o),t(n))}),i?[]:{})}},{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}(),ie=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),i=e.fieldsMeta;Object.keys(n).forEach((function(t){i[t]&&e.setFieldMeta(t,l()({},e.getFieldMeta(t),{initialValue:n[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce((function(t,i){return I()(t,i,e.getValueFromFields(i,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 re=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,i=e.onFieldsChange,r=e.onValuesChange,s=e.mapProps,a=void 0===s?K:s,u=e.mapPropsToFields,c=e.fieldNameProp,d=e.fieldMetaProp,h=e.fieldDataProp,f=e.formPropName,p=void 0===f?"form":f,g=e.name,m=e.withRef;return function(e){var s=S()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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){u&&this.fieldsStore.updateFields(u(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,n){var i=this.fieldsStore.getFieldMeta(e);if(i[t])i[t].apply(i,C()(n));else if(i.originalProps&&i.originalProps[t]){var o;(o=i.originalProps)[t].apply(o,C()(n))}var s=i.getValueFromEvent?i.getValueFromEvent.apply(i,C()(n)):X.apply(void 0,C()(n));if(r&&s!==this.fieldsStore.getFieldValue(e)){var a=this.fieldsStore.getAllValues(),u={};a[e]=s,Object.keys(a).forEach((function(e){return I()(u,e,a[e])})),r(l()(_()({},p,this.getForm()),this.props),I()({},e,s),u)}var c=this.fieldsStore.getField(e);return{name:e,field:l()({},c,{value:s,touched:!0}),fieldMeta:i}},onCollect:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=this.onCollectCommon(e,t,i),s=r.name,a=r.field,u=r.fieldMeta,c=u.validate;this.fieldsStore.setFieldsAsDirty();var d=l()({},a,{dirty:$(c)});this.setFields(_()({},s,d))},onCollectValidate:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=this.onCollectCommon(e,t,i),s=r.field,a=r.fieldMeta,u=l()({},s,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{action:t,options:{firstFields:!!a.validateFirst}})},getCacheBind:function(e,t,n){this.cachedBind[e]||(this.cachedBind[e]={});var i=this.cachedBind[e];return i[t]&&i[t].oriFn===n||(i[t]={fn:n.bind(this,e,t),oriFn:n}),i[t].fn},getFieldDecorator:function(e,t){var n=this,i=this.getFieldProps(e,t);return function(t){n.renderFields[e]=!0;var r=n.fieldsStore.getFieldMeta(e),s=t.props;return r.originalProps=s,r.ref=t.ref,o.a.cloneElement(t,l()({},i,n.fieldsStore.getFieldValuePropValue(r)))}},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 i=l()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},n),o=i.rules,r=i.trigger,s=i.validateTrigger,a=void 0===s?r:s,u=i.validate,f=this.fieldsStore.getFieldMeta(e);"initialValue"in i&&(f.initialValue=i.initialValue);var p=l()({},this.fieldsStore.getFieldValuePropValue(i),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});c&&(p[c]=g?g+"_"+e:e);var m=Y(u,o,a),v=Z(m);v.forEach((function(n){p[n]||(p[n]=t.getCacheBind(e,n,t.onCollectValidate))})),r&&-1===v.indexOf(r)&&(p[r]=this.getCacheBind(e,r,this.onCollect));var y=l()({},f,i,{validate:m});return this.fieldsStore.setFieldMeta(e,y),d&&(p[d]=y),h&&(p[h]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,p},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return q(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),i){var r=Object.keys(o).reduce((function(e,t){return I()(e,t,n.fieldsStore.getField(t))}),{});i(l()(_()({},p,this.getForm()),this.props),r,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,i=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(i).reduce((function(e,t){if(n[t]){var o=i[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),r){var s=this.fieldsStore.getAllValues();r(l()(_()({},p,this.getForm()),this.props),e,s)}},saveRef:function(e,t,n){if(!n){var i=this.fieldsStore.getFieldMeta(e);return i.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:i},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var r=o.ref;if(r){if("string"==typeof r)throw new Error("can not set ref string for "+e);"function"==typeof r?r(n):Object.prototype.hasOwnProperty.call(r,"current")&&(r.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(_()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,i){var o=this,r=t.fieldNames,s=t.action,a=t.options,u=void 0===a?{}:a,c={},d={},h={},f={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),i=l()({},e);i.errors=void 0,i.validating=!0,i.dirty=!0,c[t]=o.getRules(n,s),d[t]=i.value,h[t]=i}else e.errors&&I()(f,t,{errors:e.errors})})),this.setFields(h),Object.keys(d).forEach((function(e){d[e]=o.fieldsStore.getFieldValue(e)})),i&&J(h))i(J(f)?null:f,this.fieldsStore.getFieldsValue(r));else{var p=new L.a(c);n&&p.messages(n),p.validate(d,u,(function(e){var t=l()({},f);e&&e.length&&e.forEach((function(e){var n=e.field,i=n;Object.keys(c).some((function(e){var t=c[e]||[];if(e===n)return i=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)&&(i=e,!0)}));var o=k()(t,i);("object"!=typeof o||Array.isArray(o))&&I()(t,i,{errors:[]}),k()(t,i.concat(".errors")).push(e)}));var n=[],s={};Object.keys(c).forEach((function(e){var i=k()(t,e),r=o.fieldsStore.getField(e);P()(r.value,d[e])?(r.errors=i&&i.errors,r.value=d[e],r.validating=!1,r.dirty=!1,s[e]=r):n.push({name:e})})),o.setFields(s),i&&(n.length&&n.forEach((function(e){var n=e.name,i=[{message:n+" need to revalidate",field:n}];I()(t,n,{expired:!0,errors:i})})),i(J(t)?null:t,o.fieldsStore.getFieldsValue(r)))}))}},validateFields:function(e,t,n){var i=this,o=new Promise((function(o,r){var s=Q(e,t,n),a=s.names,u=s.options,l=Q(e,t,n).callback;if(!l||"function"==typeof l){var c=l;l=function(e,t){c&&c(e,t),e?r({errors:e,values:t}):o(t)}}var d=a?i.fieldsStore.getValidFieldsFullName(a):i.fieldsStore.getValidFieldsName(),h=d.filter((function(e){return $(i.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=i.fieldsStore.getField(e);return t.value=i.fieldsStore.getFieldValue(e),t}));h.length?("firstFields"in u||(u.firstFields=d.filter((function(e){return!!i.fieldsStore.getFieldMeta(e).validateFirst}))),i.validateFieldsInternal(h,{fieldNames:d,options:u},l)):l(null,i.fieldsStore.getFieldsValue(d))}));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,i=v()(t,["wrappedComponentRef"]),r=_()({},p,this.getForm());m?r.ref="wrappedComponent":n&&(r.ref=n);var s=a.call(this,l()({},r,i));return o.a.createElement(e,s)}});return U(Object(O.a)(s),e)}},se={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 ae(e,t){var n=window.getComputedStyle,i=n?n(e):e.currentStyle;if(i)return i[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var ue={getForm:function(){return l()({},se.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var i=this,o=Q(e,t,n),r=o.names,s=o.callback,a=o.options;return this.validateFields(r,a,(function(e,t){if(e){var n=i.fieldsStore.getValidFieldsName(),o=void 0,r=void 0;if(n.forEach((function(t){if(g()(e,t)){var n=i.getFieldInstance(t);if(n){var s=d.a.findDOMNode(n),a=s.getBoundingClientRect().top;"hidden"!==s.type&&(void 0===r||r>a)&&(r=a,o=s)}}})),o){var u=a.container||function(e){for(var t=e,n=void 0;"body"!==(n=t.nodeName.toLowerCase());){var i=ae(t,"overflowY");if(t!==e&&("auto"===i||"scroll"===i)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(o);f()(o,u,l()({onlyScrollIfNeeded:!0},a.scroll))}}"function"==typeof s&&s(e,t)}))}};var le=function(e){return re(l()({},e),[ue])},ce=n("BGR+"),de=n("H84U"),he=n("CWQg"),fe=n("6CfX"),pe=n("MFj2"),ge=n("qrJ5"),me=n("/kpp"),ve=n("CtXQ"),ye=n("foW8"),_e=n.n(ye)()({labelAlign:"right",vertical:!1});function be(e){return(be="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(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xe(e,t){return(xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?Ne(e):t}function Ne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(){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 De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ke(e){return function(e){if(Array.isArray(e))return Me(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 Me(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Me(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 Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ie=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},Te=Object(he.a)("success","warning","error","validating","");Object(he.a)("left","right");var Pe=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&&xe(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=De(t);if(Ee()){var i=De(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Le(this,e)});function u(){var e;return Se(this,u),(e=s.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=c.findDOMNode(Ne(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,r=e.props,s=r.prefixCls,u=r.style,l=r.className,c=Ie(r,["prefixCls","style","className"]),d=o("form",s),h=e.renderChildren(d),f=(we(n={},"".concat(d,"-item"),!0),we(n,"".concat(d,"-item-with-help"),e.helpShow),we(n,"".concat(l),!!l),n);return i.createElement(ge.a,Ce({className:a()(f),style:u},Object(ce.a)(c,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),h)},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,i=e.validateStatus,o=e.id;Object(fe.a)(this.getControls(t,!0).length<=1||void 0!==n||void 0!==i,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(fe.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 i.isValidElement(e)?n=e:i.isValidElement(e.message)&&(n=e.message),n?i.cloneElement(n,{key:t}):e.message})).reduce((function(e,t){return[].concat(ke(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=i.Children.toArray(e),r=0;r<o.length&&(t||!(n.length>0));r++){var s=o[r];(!s.type||s.type!==u&&"FormItem"!==s.type.displayName)&&s.props&&("data-__meta"in s.props?n.push(s):s.props.children&&(n=n.concat(this.getControls(s.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?i.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return n&&(this.helpShow=!!n),i.createElement(pe.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?i.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,n,o){var r=this.props,s=this.getOnlyControl,u=void 0===r.validateStatus&&s?this.getValidateStatus():r.validateStatus,l="".concat(e,"-item-control");u&&(l=a()("".concat(e,"-item-control"),{"has-feedback":r.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var c="";switch(u){case"success":c="check-circle";break;case"warning":c="exclamation-circle";break;case"error":c="close-circle";break;case"validating":c="loading";break;default:c=""}var d=r.hasFeedback&&c?i.createElement("span",{className:"".concat(e,"-item-children-icon")},i.createElement(ve.default,{type:c,theme:"loading"===c?"outlined":"filled"})):null;return i.createElement("div",{className:l},i.createElement("span",{className:"".concat(e,"-item-children")},t,d),n,o)}},{key:"renderWrapper",value:function(e,t){var n=this;return i.createElement(_e.Consumer,{key:"wrapper"},(function(o){var r=o.wrapperCol,s=o.vertical,u=n.props.wrapperCol,l=("wrapperCol"in n.props?u:r)||{},c=a()("".concat(e,"-item-control-wrapper"),l.className);return i.createElement(_e.Provider,{value:{vertical:s}},i.createElement(me.a,Ce({},l,{className:c}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return i.createElement(_e.Consumer,{key:"label"},(function(n){var o,r=n.vertical,s=n.labelAlign,u=n.labelCol,l=n.colon,c=t.props,d=c.label,h=c.labelCol,f=c.labelAlign,p=c.colon,g=c.id,m=c.htmlFor,v=t.isRequired(),y=("labelCol"in t.props?h:u)||{},_="labelAlign"in t.props?f:s,b="".concat(e,"-item-label"),C=a()(b,"left"===_&&"".concat(b,"-left"),y.className),w=d,S=!0===p||!1!==l&&!1!==p;S&&!r&&"string"==typeof d&&""!==d.trim()&&(w=d.replace(/[::]\s*$/,""));var O=a()((we(o={},"".concat(e,"-item-required"),v),we(o,"".concat(e,"-item-no-colon"),!S),o));return d?i.createElement(me.a,Ce({},y,{className:C}),i.createElement("label",{htmlFor:m||g||t.getId(),className:O,title:"string"==typeof d?d:"",onClick:t.onLabelClick},w)):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 i.createElement(de.a,null,this.renderFormItem)}}])&&Oe(n.prototype,o),r&&Oe(n,r),u}(i.Component);function Re(e){return(Re="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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function We(e,t){return!t||"object"!==Re(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(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Pe.defaultProps={hasFeedback:!1},Pe.propTypes={prefixCls:r.string,label:r.oneOfType([r.string,r.node]),labelCol:r.object,help:r.oneOfType([r.node,r.bool]),validateStatus:r.oneOf(Te),hasFeedback:r.bool,wrapperCol:r.object,className:r.string,id:r.string,children:r.node,colon:r.bool};var ze=Object(he.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=He(t);if(Be()){var i=He(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return We(this,e)});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=s.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,r=t.props,s=r.prefixCls,u=r.hideRequiredMark,l=r.className,c=void 0===l?"":l,d=r.layout,h=o("form",s),f=a()(h,(Fe(n={},"".concat(h,"-horizontal"),"horizontal"===d),Fe(n,"".concat(h,"-vertical"),"vertical"===d),Fe(n,"".concat(h,"-inline"),"inline"===d),Fe(n,"".concat(h,"-hide-required-mark"),u),n),c),p=Object(ce.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return i.createElement("form",Ae({},p,{className:f}))},Object(fe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,r=e.layout,s=e.colon;return i.createElement(_e.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===r,colon:s}},i.createElement(de.a,null,this.renderForm))}}])&&je(n.prototype,o),r&&je(n,r),u}(i.Component);Ue.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ue.propTypes={prefixCls:r.string,layout:r.oneOf(ze),children:r.any,onSubmit:r.func,hideRequiredMark:r.bool,colon:r.bool},Ue.Item=Pe,Ue.createFormField=B,Ue.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return le(Ae(Ae({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=Ue},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")},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,i=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(i)return i.call(e,t);for(var r=o.querySelectorAll(t),s=r.length,a=0;a<s;a++)if(r[a]===e)return!0;return!1}},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 y})),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),y=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),_={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},b=function(e){function t(t,n){void 0===n&&(n=_);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=_.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 y(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(134).then(n.bind(null,"/0xJ"))}})},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},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")},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&r.default.type(e,t,i,a,o)}n(a)}},XaS2:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(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 h(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},g=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var m=p(n("q1tI")),v=g(n("i8i4")),y=g(n("cOkC")),_=n("xI0J"),b=n("VCL8"),C=g(n("TSYQ")),w=g(n("DVfl")),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&&c(e,t)}(g,e);var t,n,i,r,p=(t=g,function(){var e,n=f(t);if(h()){var i=f(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return d(this,e)});function g(){var e;return u(this,g),(e=p.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,i){var o=e.props,r=o.record,s=o.index;return function(){i&&i();for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var u=o[0];n&&n(r,s,u),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=g,r=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(i=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,i=t.getState().expandedRowsHeight;i=s({},i,a({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:i})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,i=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:s({},i,a({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=s({},this.style,{height:t})),n||this.style.display||(this.style=s({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,i=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&i&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,i=e.record,r=e.rowKey,a=e.index,u=e.onRow,l=e.indent,c=e.indentSize,d=e.hovered,h=e.height,f=e.visible,p=e.components,g=e.hasExpandIcon,v=e.renderExpandIcon,_=e.renderExpandIconCell,b=e.onRowClick,S=e.onRowDoubleClick,O=e.onRowMouseEnter,x=e.onRowMouseLeave,L=e.onRowContextMenu,N=p.body.row,E=p.body.cell,D=this.props.className;d&&(D+=" ".concat(t,"-hover"));var k=[];_(k);for(var M=0;M<n.length;M+=1){var I=n[M];y.default(void 0===I.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),k.push(m.createElement(w.default,{prefixCls:t,record:i,indentSize:c,indent:l,index:a,column:I,key:I.key||I.dataIndex,expandIcon:g(M)&&v(),component:E}))}var T=u(i,a)||{},P=T.className,R=T.style,A=o(T,["className","style"]),F={height:h};f||(F.display="none"),F=s({},F,{},R);var j=C.default(t,D,"".concat(t,"-level-").concat(l),P);return m.createElement(N,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,b),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,S),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,O,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,x,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,L),className:j,style:F,"data-row-key":r}),k)}}])&&l(n.prototype,i),r&&l(n,r),g}(m.Component);function O(e,t){var n=e.expandedRowsHeight,i=e.fixedColumnsBodyRowsHeight,o=t.fixed,r=t.rowKey;return o?n[r]?n[r]:i[r]?i[r]:null:null}S.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},b.polyfill(S),t.default=_.connect((function(e,t){var n=e.currentHoverKey,i=e.expandedRowKeys,o=void 0===i?[]:i,r=t.rowKey,s=t.ancestorKeys;return{visible:0===s.length||s.every((function(e){return o.includes(e)})),hovered:n===r,height:O(e,t)}}))(S)},XmZk:function(e,t,n){},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"))},YO3V:function(e,t,n){var i=n("NykK"),o=n("LcsW"),r=n("ExA7"),s=Function.prototype,a=Object.prototype,u=s.toString,l=a.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=i(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},Yf6U:function(e,t,n){var i=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(i(e,t))return e}},YqDF:function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(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=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n("q1tI")),l=s(n("17x9")),c=n("6Ogq"),d=a(n("UNrv"));function h(e,t){var n=t.table,i=n.props,r=i.prefixCls,s=i.scroll,a=e.columns,l=e.fixed,h=e.tableClassName,f=e.getRowKey,p=e.handleBodyScroll,g=e.handleWheel,m=e.expander,v=e.isAnyColumnsFixed,y=n.saveRef,_=n.props.useFixedHeader,b=o({},n.props.bodyStyle),C={};if((s.x||l)&&(b.overflowX=b.overflowX||"scroll",b.WebkitTransform="translate3d (0, 0, 0)"),s.y){l?(C.maxHeight=b.maxHeight||s.y,C.overflowY=b.overflowY||"scroll"):b.maxHeight=b.maxHeight||s.y,b.overflowY=b.overflowY||"scroll",_=!0;var w=c.measureScrollbar({direction:"vertical"});w>0&&l&&(b.marginBottom="-".concat(w,"px"),b.paddingBottom="0px")}var S,O=u.createElement(d.default,{tableClassName:h,hasHead:!_,hasBody:!0,fixed:l,columns:a,expander:m,getRowKey:f,isAnyColumnsFixed:v});if(l&&a.length)return"left"===a[0].fixed||!0===a[0].fixed?S="fixedColumnsBodyLeft":"right"===a[0].fixed&&(S="fixedColumnsBodyRight"),delete b.overflowX,delete b.overflowY,u.createElement("div",{key:"bodyTable",className:"".concat(r,"-body-outer"),style:o({},b)},u.createElement("div",{className:"".concat(r,"-body-inner"),style:C,ref:y(S),onWheel:g,onScroll:p},O));var x=s&&(s.x||s.y);return u.createElement("div",{tabIndex:x?-1:void 0,key:"bodyTable",className:"".concat(r,"-body"),style:b,ref:y("bodyTable"),onWheel:g,onScroll:p},O)}t.default=h,h.contextTypes={table:l.any}},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}},Zcga:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("wCAj")),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("mbEz");var r=n("q1tI"),s=a(r);function a(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 l(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 u(this,t),l(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:"render",value:function(){var e=this.props,t=e.columns,n=e.data,o=e.title;return s.default.createElement(i.default,{className:"mt20 wrap-commit-table",columns:t,dataSource:n,showHeader:!1,size:"small",pagination:!1,title:o})}}]),t}(r.Component);t.default=c},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(117).then(n.bind(null,"yUwd"))}})},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},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(130).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}()},b80T:function(e,t,n){var i=n("UNi/"),o=n("03A+"),r=n("Z0cm"),s=n("DSRE"),a=n("wJg7"),u=n("c6wG"),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),c=!n&&o(e),d=!n&&!c&&s(e),h=!n&&!c&&!d&&u(e),f=n||c||d||h,p=f?i(e.length,String):[],g=p.length;for(var m in e)!t&&!l.call(e,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g))||p.push(m);return p}},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 y(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),_(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=y(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(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 y(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 _(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")},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("q1tI"),o=l(i);n("vg9a");var r=n("ud8/"),s=l(r);n("SJMd");var a=l(n("wMS7")),u=n("Oy/b");function l(e){return e&&e.__esModule?e:{default:e}}var c=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,l=e.className,d=e.style,h=void 0===d?{}:d,f=e.url,p=String(n),g=(0,i.useMemo)((function(){var e=(0,s.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 i=t[n],o=i.type,r=i.expression;return(0,u.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(r)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,r.resetMathExpressions)(),a.default.sanitize(e)}),[p]);(0,i.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+220)}}}),[f]);var m=(0,i.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var i=document.getElementById(n.replace("#",""));i&&i.scrollIntoView(!0)}}}return(0,i.useEffect)((function(){if(m.current&&g&&g.match(c)&&window.PR.prettyPrint(),m.current)return m.current.addEventListener("click",v),function(){m.current.removeEventListener("click",v),(0,r.resetMathExpressions)(),(0,r.cleanToc)()}}),[g,m.current,v]),o.default.createElement("div",{ref:m,style:h,className:(l||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},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(93).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)}))}))},c6wG:function(e,t,n){var i=n("dD9F"),o=n("sEf8"),r=n("mdPL"),s=r&&r.isTypedArray,a=s?o(s):i;e.exports=a},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(137).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 y=Object(d.q)(this.el),_=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",y.innerHTML="* { cursor: "+e+" !important; }"},b=new o.b;_(),n||this.onDidEnablementChange(_,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(y),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()),y=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!y){var _=h?v:g;return{beforeEnter:_,afterEnter:_}}var b=h?v:y.indentation;return y.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}())},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=e.type,u=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,a)&&!e.required)return n();r.default.required(e,t,i,u,o,a),(0,s.isEmptyValue)(t,a)||r.default.type(e,t,i,u,o)}n(u)}},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(91).then(n.bind(null,"7Xl7"))}})},"cq/+":function(e,t,n){var i=n("mc0g")();e.exports=i},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"array")&&!e.required)return n();r.default.required(e,t,i,a,o,"array"),(0,s.isEmptyValue)(t,"array")||(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},dD9F:function(e,t,n){var i=n("NykK"),o=n("shjB"),r=n("ExA7"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!s[i(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var i=n("GoyQ"),o=Object.create,r=function(){function e(){}return function(t){if(!i(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=r},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var i=n("q1tI"),o=n("3S7+"),r=n("H84U"),s=n("6CfX");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(y,e);var t,n,a,m,v=(t=y,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function y(){var e;return l(this,y),(e=v.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,r=e.props,s=r.prefixCls,a=g(r,["prefixCls"]);delete a.title;var l=n("popover",s);return i.createElement(o.default,u({},a,{prefixCls:l,ref:e.saveTooltip,overlay:e.getOverlay(l)}))},e}return n=y,(a=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(s.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),i.createElement("div",null,n&&i.createElement("div",{className:"".concat(e,"-title")},n),i.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return i.createElement(r.a,null,this.renderPopover)}}])&&c(n.prototype,a),m&&c(n,m),y}(i.Component);m.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},eC1c:function(e,t,n){},eizg:function(e,t,n){},eq1K:function(e,t,n){},fhzG:function(e,t,n){"use strict";var i=n("q1tI"),o=n("lT4e");if(void 0===i)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 r=(new i.Component).updater;e.exports=o(i.Component,i.isValidElement,r)},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 y}));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),y=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)},fmRc:function(e,t,n){var i=n("Xi7e"),o=n("77Zs"),r=n("L8xA"),s=n("gCq4"),a=n("VaNO"),u=n("0Cz8");function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=a,l.prototype.set=u,e.exports=l},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)},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var i=n("q1tI"),o=n("4IlW");function r(e){return(r="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(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},p={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},g=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&&l(e,t)}(v,e);var t,n,r,g,m=(t=v,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});function v(){var e;return a(this,v),(e=m.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,i=e.props.onClick;n===o.a.ENTER&&i&&i()},e.setRef=function(t){e.div=t},e}return n=v,(r=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=f(e,["style","noStyle"]);return i.createElement("div",s({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:s(s({},n?null:p),t)}))}}])&&u(n.prototype,r),g&&u(n,g),v}(i.Component);t.a=g},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(14).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(14).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(113).then(n.bind(null,"tpLM"))}})},hHjc:function(e,t,n){},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(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){},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},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(128).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(133).then(n.bind(null,"3MdH"))}})},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},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(126).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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}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)}(u,e);var t,n,o,a=g(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(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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);_.reset(0);do{if((y=_.next(t))&&(r[o++]=c(new s.a(n,y.index+1+i,n,y.index+1+y[0].length+i),y,u),o>=l))return o}while(y);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}()},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n("zP+q")),o=v(n("rNsS")),r=v(n("iHzq")),s=v(n("EtQh")),a=v(n("HOVM")),u=v(n("XR+G")),l=v(n("Ejpc")),c=v(n("cwxS")),d=v(n("XZDd")),h=v(n("rjwK")),f=v(n("L2wI")),p=v(n("myOp")),g=v(n("UeuU")),m=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:i.default,method:o.default,number:r.default,boolean:s.default,regexp:a.default,integer:u.default,float:l.default,array:c.default,object:d.default,enum:h.default,pattern:f.default,date:p.default,url:m.default,hex:m.default,email:m.default,required:g.default}},jeLo:function(e,t,n){var i=n("juv8"),o=n("mTTR");e.exports=function(e){return i(e,o(e))}},jpXb:function(e,t,n){var i=n("wZXL");e.exports=new i},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(105).then(n.bind(null,"2ZXa"))}})},"jsC+":function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n.n(i),r=n("17x9"),s=n.n(r),a=n("i8i4"),u=n.n(a),l=n("uciX"),c=n("TSYQ"),d=n.n(c),h={adjustX:1,adjustY:1},f=[0,0],p={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:f}},g=n("VCL8"),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=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,e.call(this,n));return y.call(i),i.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},i}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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=d()(n.className,this.getOpenClassName());return t&&e?Object(i.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,i=e.animation,r=e.align,s=e.placement,a=e.getPopupContainer,u=e.showAction,c=e.hideAction,d=e.overlayClassName,h=e.overlayStyle,f=e.trigger,g=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=c;return v||-1===f.indexOf("contextMenu")||(v=["click"]),o.a.createElement(l.a,m({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:d,popupStyle:h,builtinPlacements:p,action:f,showAction:u,hideAction:v||[],popupPlacement:s,popupAlign:r,popupTransitionName:n,popupAnimation:i,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:a}),this.renderChildren())},t}(i.Component);v.propTypes={minOverlayWidthMatchTrigger:s.a.bool,onVisibleChange:s.a.func,onOverlayClick:s.a.func,prefixCls:s.a.string,children:s.a.any,transitionName:s.a.string,overlayClassName:s.a.string,openClassName:s.a.string,animation:s.a.any,align:s.a.object,overlayStyle:s.a.object,placement:s.a.string,overlay:s.a.oneOfType([s.a.node,s.a.func]),trigger:s.a.array,alignPoint:s.a.bool,showAction:s.a.array,hideAction:s.a.array,getPopupContainer:s.a.func,visible:s.a.bool,defaultVisible:s.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var y=function(){var e=this;this.onClick=function(t){var n=e.props,i=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),i.onClick&&i.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,i=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!i},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),i={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete i.prefixCls,o.a.cloneElement(n,i)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),i=u.a.findDOMNode(e);i&&n&&i.offsetWidth>n.offsetWidth&&(n.style.minWidth=i.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(v);var _=v,b=n("H84U"),C=n("6CfX"),w=n("CtXQ"),S=n("CWQg");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 x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function L(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 k(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(S.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=M(t);if(k()){var i=M(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return D(this,e)});function a(){var e;return L(this,a),(e=s.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var r=(n=i.Children.only(n)).props;Object(C.a)(!r.mode||"vertical"===r.mode,"Dropdown",'mode="'.concat(r.mode,"\" is not supported for Dropdown's Menu."));var s=r.selectable,a=void 0!==s&&s,u=r.focusable,l=void 0===u||u,c=i.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},i.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:i.cloneElement(n,{mode:"vertical",selectable:a,focusable:l,expandIcon:c})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,r=t.getPrefixCls,s=e.props,a=s.prefixCls,u=s.children,l=s.trigger,c=s.disabled,h=s.getPopupContainer,f=r("dropdown",a),p=i.Children.only(u),g=i.cloneElement(p,{className:d()(p.props.className,"".concat(f,"-trigger")),disabled:c}),m=c?[]:l;return m&&-1!==m.indexOf("contextMenu")&&(n=!0),i.createElement(_,x({alignPoint:n},e.props,{prefixCls:f,getPopupContainer:h||o,transitionName:e.getTransitionName(),trigger:m,overlay:function(){return e.renderOverlay(f)}}),g)},e}return n=a,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,i=e.transitionName;return void 0!==i?i:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return i.createElement(b.a,null,this.renderDropDown)}}])&&N(n.prototype,o),r&&N(n,r),a}(i.Component);I.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function A(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(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 W(){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 B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},z=T.default.Group,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&&j(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=B(t);if(W()){var i=B(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return V(this,e)});function a(){var e;return A(this,a),(e=s.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,r=e.props,s=r.prefixCls,a=r.type,u=r.disabled,l=r.onClick,c=r.htmlType,h=r.children,f=r.className,p=r.overlay,g=r.trigger,m=r.align,v=r.visible,y=r.onVisibleChange,_=r.placement,b=r.getPopupContainer,C=r.href,S=r.icon,O=void 0===S?i.createElement(w.default,{type:"ellipsis"}):S,x=r.title,L=H(r,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),N=o("dropdown-button",s),E={align:m,overlay:p,disabled:u,trigger:u?[]:g,onVisibleChange:y,placement:_,getPopupContainer:b||n};return"visible"in e.props&&(E.visible=v),i.createElement(z,R({},L,{className:d()(N,f)}),i.createElement(T.default,{type:a,disabled:u,onClick:l,htmlType:c,href:C,title:x},h),i.createElement(I,E,i.createElement(T.default,{type:a},O)))},e}return n=a,(o=[{key:"render",value:function(){return i.createElement(b.a,null,this.renderButton)}}])&&F(n.prototype,o),r&&F(n,r),a}(i.Component);U.defaultProps={placement:"bottomRight",type:"default"},I.Button=U;t.default=I},juv8:function(e,t,n){var i=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,r){var s=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var l=t[a],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),s?o(n,l,c):i(n,l,c)}return n}},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(115).then(n.bind(null,"BjZ/"))}})},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},kaz8:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("17x9"),r=n("VCL8"),s=n("TSYQ"),a=n.n(s),u=n("x1Ya"),l=n("Gytx"),c=n.n(l),d=n("H84U"),h=n("6CfX");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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function m(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==f(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 C(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[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&&y(e,t)}(l,e);var t,n,o,r,s=(t=l,function(){var e,n=w(t);if(C()){var i=w(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return m(this,l),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,r=b(e),s=r.props,l=r.context,c=s.prefixCls,d=s.className,h=s.children,f=s.indeterminate,m=s.style,v=s.onMouseEnter,y=s.onMouseLeave,_=S(s,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),C=l.checkboxGroup,w=o("checkbox",c),O=g({},_);C&&(O.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),C.toggleOption({label:h,value:s.value})},O.name=C.name,O.checked=-1!==C.value.indexOf(s.value),O.disabled=s.disabled||C.disabled);var x=a()(d,(p(n={},"".concat(w,"-wrapper"),!0),p(n,"".concat(w,"-wrapper-checked"),O.checked),p(n,"".concat(w,"-wrapper-disabled"),O.disabled),n)),L=a()(p({},"".concat(w,"-indeterminate"),f));return i.createElement("label",{className:x,style:m,onMouseEnter:v,onMouseLeave:y},i.createElement(u.a,g({},O,{prefixCls:w,className:L,ref:e.saveCheckbox})),void 0!==h&&i.createElement("span",null,h))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(h.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,i=(this.context||{}).checkboxGroup,o=void 0===i?{}:i;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),r&&v(n,r),l}(i.Component);O.__ANT_CHECKBOX=!0,O.defaultProps={indeterminate:!1},O.contextTypes={checkboxGroup:o.any},Object(r.polyfill)(O);var x=O,L=n("BGR+");function N(e){return(N="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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function D(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(n);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,i=new Array(t);n<t;n++)i[n]=e[n];return i}function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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&&I(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=A(t);if(R()){var i=A(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return T(this,e)});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=s.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(D(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,i=t.state.value.indexOf(e.value),o=D(t.state.value);-1===i?o.push(e.value):o.splice(i,1),"value"in t.props||t.setState({value:o});var r=t.props.onChange;if(r){var s=t.getOptions();r(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return s.findIndex((function(t){return t.value===e}))-s.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=P(t),r=o.props,s=o.state,u=r.prefixCls,l=r.className,c=r.style,d=r.options,h=F(r,["prefixCls","className","style","options"]),f=n("checkbox",u),p="".concat(f,"-group"),g=Object(L.a)(h,["children","defaultValue","value","onChange","disabled"]),m=r.children;d&&d.length>0&&(m=t.getOptions().map((function(e){return i.createElement(x,{prefixCls:f,key:e.value.toString(),disabled:"disabled"in e?e.disabled:r.disabled,value:e.value,checked:-1!==s.value.indexOf(e.value),onChange:e.onChange,className:"".concat(p,"-item")},e.label)})));var v=a()(p,l);return i.createElement("div",E({className:v,style:c},g),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&M(n.prototype,o),r&&M(n,r),u}(i.Component);j.defaultProps={options:[]},j.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},j.childContextTypes={checkboxGroup:o.any},Object(r.polyfill)(j);var V=j;x.Group=V;t.default=x},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"kw+w":function(e,t,n){},l1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r,s){!e.required||n.hasOwnProperty(e.field)&&!i.isEmptyValue(t,s||e.type)||o.push(i.format(r.messages.required,e.fullField))}},l2gE:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));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\.-]+)*)\/?$/,y=new a.a(1e4),_=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=y.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=L(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)))?O(r[1].substr(1),n,!0):(r=v.exec(S(n,t)))?O(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 y.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 O(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 x(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t){void 0===t&&(t={});if(!e)return _;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 _;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=L(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 L(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}},l8PK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){var s="number"==typeof e.len,a="number"==typeof e.min,u="number"==typeof e.max,l=t,c=null,d="number"==typeof t,h="string"==typeof t,f=Array.isArray(t);if(d?c="number":h?c="string":f&&(c="array"),!c)return!1;f&&(l=t.length),h&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),s?l!==e.len&&o.push(i.format(r.messages[c].len,e.fullField,e.len)):a&&!u&&l<e.min?o.push(i.format(r.messages[c].min,e.fullField,e.min)):u&&!a&&l>e.max?o.push(i.format(r.messages[c].max,e.fullField,e.max)):a&&u&&(l<e.min||l>e.max)&&o.push(i.format(r.messages[c].range,e.fullField,e.min,e.max))}},lH0x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("jsC+")),o=l(n("CtXQ")),r=l(n("3S7+")),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("aIZi"),n("2oDE"),n("TfFZ");var a=n("q1tI"),u=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function c(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}n("C5VC");var h=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return n=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),i.jsCopy=function(){document.getElementById("copy_rep_content").select(),document.execCommand("Copy")},d(i,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.props,n=t.http_url,s=t.downloadUrl;return u.default.createElement("div",{className:"gitAddressClone"},n&&u.default.createElement("span",null,"HTTP"),u.default.createElement("input",{type:"text",id:"copy_rep_content",value:n}),u.default.createElement(r.default,{title:"复制链接"},u.default.createElement("span",{className:"color-blue",onClick:function(){return e.jsCopy()}},u.default.createElement("i",{className:"iconfont icon-fuzhi"}))),s&&u.default.createElement("span",null,u.default.createElement(i.default,{overlay:s,trigger:["click"],placement:"bottomRight"},u.default.createElement("a",{className:"ant-dropdown-link"},u.default.createElement(o.default,{type:"cloud-download",className:"font-18 fl color-blue"})))))}}]),t}(a.Component);t.default=h},lKfe:function(e,t,n){},lT4e:function(e,t,n){"use strict";var i=n("MgzW"),o=n("t33a"),r=n("2NuI");e.exports=function(e,t,n){var s=[],a={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"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},l={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var i=t[n];if(t.hasOwnProperty(n)){if(r(!(n in l),'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=u.hasOwnProperty(n)?u[n]:null;return r("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]=f(e[n],i))}e[n]=i}}}(e,t)},autobind:function(){}};function c(e,t){var n=a.hasOwnProperty(t)?a[t]:null;y.hasOwnProperty(t)&&r("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&&r("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 d(e,n){if(n){r("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var i=e.prototype,o=i.__reactAutoBindPairs;for(var s in n.hasOwnProperty("mixins")&&l.mixins(e,n.mixins),n)if(n.hasOwnProperty(s)&&"mixins"!==s){var u=n[s],d=i.hasOwnProperty(s);if(c(d,s),l.hasOwnProperty(s))l[s](e,u);else{var h=a.hasOwnProperty(s);if("function"==typeof u&&!h&&!d&&!1!==n.autobind)o.push(s,u),i[s]=u;else if(d){var g=a[s];r(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,s),"DEFINE_MANY_MERGED"===g?i[s]=f(i[s],u):"DEFINE_MANY"===g&&(i[s]=p(i[s],u))}else i[s]=u}}}else;}function h(e,t){for(var n in r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(r(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 f(e,t){return function(){var n=e.apply(this,arguments),i=t.apply(this,arguments);if(null==n)return i;if(null==i)return n;var o={};return h(o,n),h(o,i),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var m={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},_=function(){};return i(_.prototype,e.prototype,y),function(e){var t=function(e,i,s){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var i=t[n],o=t[n+1];e[i]=g(e,o)}}(this),this.props=e,this.context=i,this.refs=o,this.updater=s||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;r("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a};for(var i in t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],s.forEach(d.bind(null,t)),d(t,m),d(t,e),d(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),a)t.prototype[i]||(t.prototype[i]=null);return t}}},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(103).then(n.bind(null,"7s2V"))}})},lr0e:function(e,t,n){},lrmC:function(e,t,n){},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var i,o=n("rfXi"),r=(i=o)&&i.__esModule?i:{default:i};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,r.default)(e)}},mTTR:function(e,t,n){var i=n("b80T"),o=n("QcOe"),r=n("MMmD");e.exports=function(e){return r(e)?i(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,i){for(var o=-1,r=Object(t),s=i(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(r[u],u,r))break}return t}}},mdPL:function(e,t,n){(function(e){var i=n("WFqU"),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=r&&r.exports===o&&i.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},moXY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(i.format(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(i.format(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,n){var i=n("ljhN"),o=n("MMmD"),r=n("wJg7"),s=n("GoyQ");e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?o(n)&&r(t,n.length):"string"==a&&t in n)&&i(n[t],e)}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();if(r.default.required(e,t,i,a,o),!(0,s.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,r.default.type(e,u,i,a,o),u&&r.default.range(e,u.getTime(),i,a,o)}}n(a)}},nEr6:function(e,t,n){"use strict";function i(){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=i;t.messages=i()},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(144).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)},"o/2+":function(e,t,n){"use strict";var i=n("foW8"),o=n.n(i)()({});t.a=o},oEMi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,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},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")),s=n("l1rO"),a=(i=s)&&i.__esModule?i:{default:i};var u={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},l={integer:function(e){return l.number(e)&&parseInt(e,10)===e},float:function(e){return l.number(e)&&!l.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))&&!l.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,n,i,s){if(e.required&&void 0===t)(0,a.default)(e,t,n,i,s);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?l[u](t)||i.push(r.format(s.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&i.push(r.format(s.messages.types[u],e.fullField,e.type))}}},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(122).then(n.bind(null,"HGU1"))}})},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("q1tI"),o=n("17x9"),r=n("x1Ya"),s=n("TSYQ"),a=n.n(s),u=n("Gytx"),l=n.n(u),c=n("H84U");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 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 f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==d(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 _(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(d,e);var t,n,o,s,u=(t=d,function(){var e,n=b(t);if(_()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return v(this,e)});function d(){var e;return p(this,d),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,s=y(e),u=s.props,l=s.context,c=u.prefixCls,d=u.className,p=u.children,g=u.style,m=C(u,["prefixCls","className","children","style"]),v=l.radioGroup,_=o("radio",c),b=f({},m);v&&(b.name=v.name,b.onChange=e.onChange,b.checked=u.value===v.value,b.disabled=u.disabled||v.disabled);var w=a()(d,(h(n={},"".concat(_,"-wrapper"),!0),h(n,"".concat(_,"-wrapper-checked"),b.checked),h(n,"".concat(_,"-wrapper-disabled"),b.disabled),n));return i.createElement("label",{className:w,style:g,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},i.createElement(r.a,f({},b,{prefixCls:_,ref:e.saveCheckbox})),void 0!==p?i.createElement("span",null,p):null)},e}return n=d,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderRadio)}}])&&g(n.prototype,o),s&&g(n,s),d}(i.Component);w.defaultProps={type:"radio"},w.contextTypes={radioGroup:o.any}},oQaD:function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return kt})),n.d(t,"CommonFindController",(function(){return Mt})),n.d(t,"FindController",(function(){return It})),n.d(t,"StartFindAction",(function(){return Tt})),n.d(t,"StartFindWithSelectionAction",(function(){return Pt})),n.d(t,"MatchFindAction",(function(){return Rt})),n.d(t,"NextMatchFindAction",(function(){return At})),n.d(t,"NextMatchFindAction2",(function(){return Ft})),n.d(t,"PreviousMatchFindAction",(function(){return jt})),n.d(t,"PreviousMatchFindAction2",(function(){return Vt})),n.d(t,"SelectionMatchFindAction",(function(){return Wt})),n.d(t,"NextSelectionMatchFindAction",(function(){return Bt})),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"),y=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}(),_=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},O=function(e){this.pieces=e,this.kind=1},x=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 O(e):this._state=new S("")}return e.fromStaticValue=function(t){return new e([L.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}(),L=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}(),N=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++]=L.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=L.matchIndex(e),this._lastCharIndex=t},e.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=L.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new x(this._result)},e}();var E,D=n("T8No"),k=new D.d("findWidgetVisible",!1),M=new D.d("findInputFocussed",!1),I=new D.d("replaceInputFocussed",!1),T={primary:545,mac:{primary:2593}},P={primary:565,mac:{primary:2613}},R={primary:560,mac:{primary:2608}},A={primary:554,mac:{primary:2602}},F="actions.find",j="actions.findWithSelection",V="editor.action.nextMatchFindAction",W="editor.action.previousMatchFindAction",B="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",Q="editor.action.selectAllMatches",J=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 y(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 x(null);for(var t=new N(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):x.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 _(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=(E=function(e,t){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])})(e,t)},function(e,t){function n(){this.constructor=e}E(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 ye=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),_e=(n("AbCa"),n("OBOq")),be=n("cMOf"),Ce=n("/cxE"),we=n("MNsG"),Se=(n("yqFB"),n("i/Rh"),n("D3Dy"));function Oe(e,t){void 0===t&&(t={});var n=xe(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 Le(e);for(;!r.eos();){var s=r.next(),a="\\"===s&&0!==Ne(r.peek());if(a&&(s=r.next()),a||0===Ne(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=Ne(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 xe(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}var Le=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 Ne(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var Ee=n("WqXY"),De=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 De.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}(),Me=n("GJhM"),Ie=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)}}(),Pe=$.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")},Ae=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,_e.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,_e.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,Pe(".monaco-inputbox.idle"));var r=o.options.flexibleHeight?"textarea":"input",s=$.m(o.element,Pe(".wrapper"));if(o.input=$.m(s,Pe(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,Pe("div.mirror")),o.mirror.innerHTML=" ",o.scrollableElement=new Me.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(Ie.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 Ee.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),_e.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,Pe(".monaco-inputbox-container")),n();var o={inline:!0,className:"monaco-inputbox-message"},r=e.message.formatContent?Oe(e.message.content,o):function(e,t){void 0===t&&(t={});var n=xe(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)}}(),je=i.a("defaultLabel","input"),Ve=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||je,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 Ae(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),We=n("nrhi"),Be=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 Be(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 Ae(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 Be(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 D.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new D.d("historyNavigationEnabled",!0).bindTo(n)}}var 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,D.c)],t)}(Ve),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,D.c)],t)}(Ke);We.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:D.a.and(D.a.has("historyNavigationWidget"),D.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(D.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),We.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:D.a.and(D.a.has("historyNavigationWidget"),D.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(D.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 yt(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}var _t=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=M.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=I.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(_e.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)?yt(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)?yt(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 Qe(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(W),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(W).run().then(void 0,Ce.e)}})),this._nextBtn=this._register(new bt({label:it+this._keybindingLabelFor(V),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(V).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 Je(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"),Ot=n("bexQ"),xt=n("A+jI"),Lt=n("sM1p"),Nt=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=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},Dt=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 Mt=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 ye),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 Nt(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!!M.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 J(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=Et([Dt(1,D.c),Dt(2,xt.a),Dt(3,Ct.a)],t)}(r.a),It=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 Nt(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 _t(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=Et([Dt(1,wt.b),Dt(2,D.c),Dt(3,Ot.a),Dt(4,v.c),Dt(5,Lt.a),Dt(6,xt.a),Dt(7,Object(St.d)(Ct.a))],t)}(Mt),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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),Pt=function(e){function t(){return e.call(this,{id:j,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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),At=function(e){function t(){return e.call(this,{id:V,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 Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Ft=function(e){function t(){return e.call(this,{id:V,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:D.a.and(u.a.focus,M),primary:3,weight:100}})||this}return Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),jt=function(e){function t(){return e.call(this,{id:W,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 Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Vt=function(e){function t(){return e.call(this,{id:W,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:D.a.and(u.a.focus,M),primary:1027,weight:100}})||this}return Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),Bt=function(e){function t(){return e.call(this,{id:B,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 Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Wt),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 Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Wt),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 Nt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=Mt.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)(Mt.ID,It),Object(a.e)(Tt),Object(a.e)(Pt),Object(a.e)(At),Object(a.e)(Ft),Object(a.e)(jt),Object(a.e)(Vt),Object(a.e)(Bt),Object(a.e)(Ht),Object(a.e)(zt);var Ut=a.c.bindToContribution(Mt.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:P.primary,mac:P.mac,win:P.win,linux:P.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:A.primary,mac:A.mac,win:A.win,linux:A.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:D.a.and(u.a.focus,I),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:D.a.and(u.a.focus,I),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:Q,precondition:k,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},oV5b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r="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},s=n("+kn0"),a=n("jESh"),u=(i=a)&&i.__esModule?i:{default:i},l=n("nEr6");function c(e){this.rules=null,this._messages=l.messages,this.define(e)}c.prototype={messages:function(e){return e&&(this._messages=(0,s.deepMerge)((0,l.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":r(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]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},a=e,u=n,d=i;if("function"==typeof u&&(d=u,u={}),!this.rules||0===Object.keys(this.rules).length)return d&&d(),Promise.resolve();function h(e){var t,n,i=void 0,o=[],r={};for(i=0;i<e.length;i++)t=e[i],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,t):o.push(t);o.length?r=(0,s.convertFieldsError)(o):(o=null,r=null),d(o,r)}if(u.messages){var f=this.messages();f===l.messages&&(f=(0,l.newMessages)()),(0,s.deepMerge)(f,u.messages),u.messages=f}else u.messages=this.messages();var p=void 0,g=void 0,m={},v=u.keys||Object.keys(this.rules);v.forEach((function(n){p=t.rules[n],g=a[n],p.forEach((function(i){var r=i;"function"==typeof r.transform&&(a===e&&(a=o({},a)),g=a[n]=r.transform(g)),(r="function"==typeof r?{validator:r}:o({},r)).validator=t.getValidationMethod(r),r.field=n,r.fullField=r.fullField||n,r.type=t.getType(r),r.validator&&(m[n]=m[n]||[],m[n].push({rule:r,value:g,source:a,field:n}))}))}));var y={};return(0,s.asyncMap)(m,u,(function(e,t){var n=e.rule,i=!("object"!==n.type&&"array"!==n.type||"object"!==r(n.fields)&&"object"!==r(n.defaultField));function a(e,t){return o({},t,{fullField:n.fullField+"."+e})}function l(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=r;if(Array.isArray(l)||(l=[l]),!u.suppressWarning&&l.length&&c.warning("async-validator:",l),l.length&&n.message&&(l=[].concat(n.message)),l=l.map((0,s.complementError)(n)),u.first&&l.length)return y[n.field]=1,t(l);if(i){if(n.required&&!e.value)return l=n.message?[].concat(n.message).map((0,s.complementError)(n)):u.error?[u.error(n,(0,s.format)(u.messages.required,n.field))]:[],t(l);var d={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(d[h]=n.defaultField);for(var f in d=o({},d,e.rule.fields))if(d.hasOwnProperty(f)){var p=Array.isArray(d[f])?d[f]:[d[f]];d[f]=p.map(a.bind(null,f))}var g=new c(d);g.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),g.validate(e.value,e.rule.options||u,(function(e){var n=[];l&&l.length&&n.push.apply(n,l),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(l)}i=i&&(n.required||!n.required&&e.value),n.field=e.field;var d=void 0;n.asyncValidator?d=n.asyncValidator(n,e.value,l,e.source,u):n.validator&&(!0===(d=n.validator(n,e.value,l,e.source,u))?l():!1===d?l(n.message||n.field+" fails"):d instanceof Array?l(d):d instanceof Error&&l(d.message)),d&&d.then&&d.then((function(){return l()}),(function(e){return l(e)}))}),(function(e){h(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.default.hasOwnProperty(e.type))throw new Error((0,s.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]?u.default.required:u.default[this.getType(e)]||!1}},c.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},c.warning=s.warning,c.messages=l.messages,t.default=c},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(106).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(94).then(n.bind(null,"R7lK")).then((function(e){return e.setupMode(r)}))}))},pFRH:function(e,t,n){var i=n("cvCv"),o=n("O0oS"),r=n("zZ0H"),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:r;e.exports=s},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(132).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],y=a.targets.filter((function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)}));a.inertia(y,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}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return M}));var i,o=n("q1tI"),r=n("TSYQ"),s=n.n(r),a=n("17x9"),u=n("H84U"),l=n("o/2+"),c=n("CWQg");function d(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(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),i=n("jpXb")}var f=["xxl","xl","lg","md","sm","xs"],p={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},g=[],m=-1,v={},y={dispatch:function(e){return v=e,!(g.length<1)&&(g.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===g.length&&this.register();var t=(++m).toString();return g.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(g=g.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(p).map((function(e){return i.unregister(p[e])}))},register:function(){var e=this;Object.keys(p).map((function(t){return i.register(p[t],{match:function(){var n=h(h({},v),d({},t,!0));e.dispatch(n)},unmatch:function(){var n=h(h({},v),d({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};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 b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}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}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(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 L(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},D=Object(c.a)("top","middle","bottom","stretch"),k=Object(c.a)("start","end","center","space-around","space-between"),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&&O(e,t)}(c,e);var t,n,i,r,a=(t=c,function(){var e,n=N(t);if(L()){var i=N(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return x(this,e)});function c(){var e;return w(this,c),(e=a.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,i=t.getPrefixCls,r=e.props,a=r.prefixCls,u=r.type,c=r.justify,d=r.align,h=r.className,f=r.style,p=r.children,g=E(r,["prefixCls","type","justify","align","className","style","children"]),m=i("row",a),v=e.getGutter(),y=s()((C(n={},m,!u),C(n,"".concat(m,"-").concat(u),u),C(n,"".concat(m,"-").concat(u,"-").concat(c),u&&c),C(n,"".concat(m,"-").concat(u,"-").concat(d),u&&d),n),h),_=b(b(b({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),f),w=b({},g);return delete w.gutter,o.createElement(l.a.Provider,{value:{gutter:v}},o.createElement("div",b({},w,{className:y,style:_}),p))},e}return n=c,(i=[{key:"componentDidMount",value:function(){var e=this;this.token=y.subscribe((function(t){var n=e.props.gutter;("object"===_(n)||Array.isArray(n)&&("object"===_(n[0])||"object"===_(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){y.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,i){if("object"===_(t))for(var o=0;o<f.length;o++){var r=f[o];if(n[r]&&void 0!==t[r]){e[i]=t[r];break}}else e[i]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&S(n.prototype,i),r&&S(n,r),c}(o.Component);M.defaultProps={gutter:0},M.propTypes={type:a.oneOf(["flex"]),align:a.oneOf(D),justify:a.oneOf(k),className:a.string,children:a.node,gutter:a.oneOfType([a.object,a.number,a.array]),prefixCls:a.string}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&r.default.type(e,t,i,a,o)}n(a)}},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 i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),t&&r.default.enum(e,t,i,a,o)}n(a)}},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var s=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,i.default)(e,t,s,r)};var i=r(n("LIAx")),o=r(n("i8i4"));function r(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},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(121).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),y=-1===v?m.length+1:v+1;if(g.column<=y){var _=r.a.visibleColumnFromColumn2(t,n,g),b=r.a.prevIndentTabStop(_,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 y})),n.d(t,"g",(function(){return _})),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 y(e){b.INSTANCE.registerEditorAction(new e)}function _(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)},t2Dn:function(e,t,n){var i=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}},t33a:function(e,t,n){"use strict";e.exports={}},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)},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},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 y(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 _(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,_=0,b=0,C=d;b<C;b++){var w=f?h.charCodeAt(b):e.getLineCharCode(c,b);if(9===w)_++;else{if(32!==w){p=!0,g=b;break}m++}}if(p&&(_>0?o++:m>1&&r++,y(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=o<r);var x=t;if(O){var L=O?0:.1*i;[2,4,6,8,3,5,7].forEach((function(e){var t=u[e];t>L&&(L=t,x=e)})),4===x&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(x=2)}return{insertSpaces:O,tabSize:x}}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 O(e){return(4&e.metadata)>>>2==1}function x(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function L(e){return(8&e.metadata)>>>3==1}function N(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function E(e,t){e.metadata=207&e.metadata|t<<4}function D(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,x(this,!1),E(this,1),N(this,!1),D(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;x(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),E(this,this.options.stickiness),N(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),D(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}(),M=new k(null,0,0);M.parent=M,M.left=M,M.right=M,C(M,0);var I=function(){function e(){this.root=M,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===M?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==M;)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!==M){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&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===M||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===M?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==M;)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===M||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&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===M||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!==M;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===M||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===M||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!==M;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===M||w(t.left)?t.right===M||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){A(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!==M;)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!==M){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===M||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++){A(this,a=o[r])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){var o=e.root,r=0,s=i-(n-t);for(;o!==M;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),B(o),o=o.parent;else{if(!w(o.left)){if(r+o.maxEnd<t){S(o,!0);continue}if(o.left!==M){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===M||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,P(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!==M;)t.left===M||w(t.left)?t.right===M||w(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,B(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 P(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===M)return t.parent=M,t.left=M,t.right=M,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===M){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===M){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=M,t.right=M,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&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),V(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&&V(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===M?(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===M?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==M;)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(),B(n),void(e.root.parent=M);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!==M&&(i.left.parent=i),i.right!==M&&(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),j(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),V(e,o),o=n.parent.right),C(o,b(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===b(o=n.parent.left)&&(C(o,0),C(n.parent,1),V(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),j(e,o),o=n.parent.left),C(o,b(n.parent)),C(n.parent,0),C(o.left,0),V(e,n.parent),n=e.root));C(n,0),F()}function F(){M.parent=M,M.delta=0,M.start=0,M.end=0}function j(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!==M&&(n.left.parent=t),n.parent=t.parent,t.parent===M?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function V(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!==M&&(n.right.parent=t),n.parent=t.parent,t.parent===M?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function W(e){var t=e.end;if(e.left!==M){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==M){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=W(e)}function H(e){for(;e!==M;){var t=W(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 Q(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 J(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,Q(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,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(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,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(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&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(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&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(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),y=this.offsetInBuffer(e.piece.bufferIndex,r),_={line:0,column:0};t._wordSeparators?(f=g.buffer.substring(v,y),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)>=y)return l;this.positionInBuffer(e,p(h.index)-m,_);var b=this.getLineFeedCnt(e.piece.bufferIndex,o,_),C=_.line===o.line?_.column-o.column+i:_.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>=y)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 y=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var _=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,_,e.endLineNumber,y,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(y),d,y,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;_=this.getLineContent(d).substring(b,e.endColumn-1);return r=this._findMatchesInLine(t,s,_,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 y=m[u];if(n&&l.isAutoWhitespaceEdit&&l.range.isEmpty())for(var _=y.startLineNumber;_<=y.endLineNumber;_++){var b="";_===y.startLineNumber&&(b=this.getLineContent(l.range.startLineNumber),-1!==s.o(b))||v.push({lineNumber:_,oldContent:b})}}var C=[];for(u=0;u<a.length;u++){l=a[u],y=m[u];C[u]={sortIndex:l.sortIndex,identifier:l.identifier,range:y,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 O=v.length;u<O;u++){_=v[u].lineNumber;if(!(u>0&&v[u-1].lineNumber===_)){var x=v[u].oldContent,L=this.getLineContent(_);0!==L.length&&L!==x&&-1===s.o(L)&&S.push(_)}}}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},ye=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},_e=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"),Oe=n("twdY"),xe=n("i/Ef"),Le=n("5Y4S"),Ne=n("QRHv"),Ee=n("MNsG"),De=(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}(),Me=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(Oe.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(Ne.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 De(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:Oe.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()&&Ee.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new Ne.b,n=Le.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 Ne.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 Ne.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=Ie(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=Ie(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Ie(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Ie(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(xe.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),Ve=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 We(e){var t=new pe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?We(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=Be(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||xe.a,l._languageRegistryListener=Pe.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 Ne.d,l._tokens2=new Ne.e,l._tokenization=new Me(l),l}return Ve(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=_(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=Be(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 _e],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,B(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=_(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=(y=o[d].range).startLineNumber>u.endLineNumber,p=u.startLineNumber>y.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 y=o[d].range,_=o[d].text;if(!(g<y.startLineNumber||g>y.endLineNumber)&&!(g===y.startLineNumber&&y.startColumn===m&&y.isEmpty()&&_&&_.length>0&&"\n"===_.charAt(0)||g===y.startLineNumber&&1===y.startColumn&&y.isEmpty()&&_&&_.length>0&&"\n"===_.charAt(_.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(Ne.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,y=Math.min(m,v),_=v-m,b=y;b>=0;b--){var C=p+b,w=r-u-_+C;a.push(new me(C,this.getLineContent(w)))}if(y<m){var S=p+y;a.push(new ve(S+1,g))}if(y<v){for(var O=p+y,x=v-y,L=r-u-x+O+1,N=[],E=0;E<x;E++){var D=L+E;N[D-L]=this.getLineContent(D)}a.push(new ye(O+1,p+v,N))}u+=_}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,Je(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:Qe[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(Qe[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=Je(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,Pe.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,Pe.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=Pe.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=Pe.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=Ae.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=Pe.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=Ae.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=Ae.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=Ae.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=Pe.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=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=!1}n=h,i=Pe.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=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=p}if(i&&d&&l!==c)if(f=Ae.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=Pe.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=Ae.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=!1}i=f,o=Pe.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=Ae.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=g}if(o&&h&&c!==d)if(p=Ae.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=Ae.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,y=0;if(h===i.lineNumber)m=f.findTokenIndexAtOffset(i.column-1),v=i.column-1,y=i.column-1,l!==(b=f.getLanguageId(m))&&a(l=b,c=Pe.a.getBracketsSupport(l));for(var _=!0;m<p;m++){var b;if(l!==(b=f.getLanguageId(m))){if(c&&_&&v!==y){if(C=u(c,h,g,v,y))return C;_=!1}a(l=b,c=Pe.a.getBracketsSupport(l))}var C,w=!!c&&!Object(Re.b)(f.getStandardTokenType(m));if(w)_||(v=f.getStartOffset(m)),y=f.getEndOffset(m);else if(c&&_&&v!==y)if(C=u(c,h,g,v,y))return C;_=w}if(c&&_&&v!==y)if(C=u(c,h,g,v,y))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=Pe.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,y=!0,_=0,b=!0,C=0,w=0;y||b;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||S<t)&&(y=!1),0!==w&&(O>o||O>n)&&(b=!1),w>5e4&&(y=!1,b=!1),y){var x=void 0;if((L=this._computeIndentLevel(S-1))>=0?(l=S-1,c=L,x=Math.ceil(L/this._options.indentSize)):(d(S),x=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,_=O,0===(C=x))return{startLineNumber:v,endLineNumber:_,indent:C};continue}x>=C?v=S:y=!1}if(b){var L,N=void 0;(L=this._computeIndentLevel(O-1))>=0?(h=O-1,f=L,N=Math.ceil(L/this._options.indentSize)):(m(O),N=this._getIndentLevelForWhitespaceLine(s,f,g)),N>=C?_=O:b=!1}}return{startLineNumber:v,endLineNumber:_,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=Pe.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 I,this._decorationsTree1=new I}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){L(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){L(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){L(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 Ve(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 Ve(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?je.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 Qe=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Je(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 Ve(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 Ve(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}())},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var i=r(n("14Xm")),o=r(n("vDqi"));function r(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function i(o,r){try{var s=t[o](r),a=s.value}catch(e){return void n(e)}if(!s.done)return Promise.resolve(a).then((function(e){i("next",e)}),(function(e){i("throw",e)}));e(a)}("next")}))}}var a,u,l;t.getBranch=(a=s(i.default.mark((function e(t,n){return i.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 a.apply(this,arguments)}),t.getTag=(u=s(i.default.mark((function e(t,n){return i.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 u.apply(this,arguments)}),t.getHooks=(l=s(i.default.mark((function e(t,n){return i.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 l.apply(this,arguments)})},twdY:function(e,t,n){"use strict";n.d(t,"q",(function(){return y})),n.d(t,"x",(function(){return _})),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 O})),n.d(t,"d",(function(){return x})),n.d(t,"w",(function(){return L})),n.d(t,"o",(function(){return N})),n.d(t,"l",(function(){return E})),n.d(t,"h",(function(){return D})),n.d(t,"f",(function(){return k})),n.d(t,"e",(function(){return M})),n.d(t,"p",(function(){return I})),n.d(t,"z",(function(){return T})),n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return R})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return F})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return V})),n.d(t,"c",(function(){return W})),n.d(t,"v",(function(){return B})),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}(),y=function(e,t){this.language=e,this.id=t},_=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,O=new g,x=new g,L=new g,N=new g,E=new g,D=new g,k=new g,M=new g,I=new g,T=new g,P=new g,R=new g,A=new g,F=new g,j=new g,V=new g,W=new g,B=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(141).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},"vPd/":function(e,t,n){var i=n("kCCV"),o=n("IX3V").each;function r(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)}r.prototype={constuctor:r,addHandler:function(e){var t=new i(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,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=r},vXNv:function(e,t,n){},vg9a:function(e,t,n){},"vj+l":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=_(n("W9HT")),o=_(n("BvKs")),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("2WkQ");var a=n("q1tI"),u=_(a),l=n("sYIF"),c=n("eO8H");n("3cxI");var d=_(n("3Diz")),h=_(n("lH0x")),f=_(n("Zcga")),p=_(n("Eitf")),g=n("PhNK"),m=_(n("bjH3")),v=_(n("2CTR")),y=(n("tnhM"),_(n("vDqi")));function _(e){return e&&e.__esModule?e:{default: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.changeAddress=function(e){n.setState({address:e})},n.componentDidMount=function(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,i=e.owner;y.default.get("/"+i+"/"+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.setState({isSpin:!0}),n.Init())},n.Init=function(){var e=n.props.history.location.search,t=n.props.match.params.branchName,i=n.props.defaultBranch,o=t||i;if(e&&(e.indexOf("?url=")>-1||e.indexOf("&url=")>-1)){var r=e.split("url=")[1];r&&decodeURI(r).indexOf("&")&&(r=decodeURI(r).split("&")[0]),n.getFileDetail(decodeURI(r),o)}else n.getProjectRoot(o)},n.returnMain=function(e){var t=n.props.match.params,i=t.projectsId,o=t.owner,r=t.branchName;n.setState({readOnly:!0}),n.props.history.push("/projects/"+o+"/"+i+(r?"/branch/"+r:"")),n.getProjectRoot(e)},n.getProjectRoot=function(e){var t=n.props.match.params,i=t.projectsId,o="/"+t.owner+"/"+i+"/entries.json";y.default.get(o,{params:{ref:e}}).then((function(e){if(e){var t=e.data&&e.data.last_commit,i=e.data&&e.data.entries;n.setState({filePath:void 0,fileDetail:void 0,isSpin:!1,branchLastCommit:t&&t.commit,lastCommitAuthor:t&&(t.author||t.commit&&t.commit.author),zip_url:e.data.zip_url,tar_url:e.data.tar_url}),i&&i.length>0&&n.renderData(i),n.setState({rootList:i,subFileType:!0})}})).catch((function(e){}))},n.ChangeFile=function(e,t){var i=n.props.match.params,o=i.projectsId,r=i.owner;n.props.history.push("/projects/"+r+"/"+o+"?url="+e.path),n.setState({readOnly:t,chooseType:"file"})},n.renderUrl=function(e,t,i){var o=[],r=n.state.filePath;if(t.indexOf("/")){var s=t.split("/"),a="";s.map((function(e,t){return a+="/"+e,o.push({key:t,index:t,name:e,path:a.substr(1),type:r&&r.length>0&&r[t]?r[t].type:i})}));var u=n.props.match.params,l=u.projectsId,c=u.owner;n.props.history.push("/projects/"+c+"/"+l+"?url="+a.substr(1))}else o.push({index:0,name:e,path:t,type:i});n.setState({filePath:o})},n.getFileDetail=function(e,t){n.setState({filePath:decodeURI(e)});var i=n.props.match.params,o=i.projectsId,r=i.owner,s=i.branchName,a=n.state.chooseType,u="/"+r+"/"+o+"/sub_entries.json";y.default.get(u,{params:{filepath:e,ref:t||s,type:a}}).then((function(e){var t=e.data&&e.data.entries;n.setState({isSpin:!1}),e&&(t?t.type?n.setState({fileDetail:[t],rootList:void 0,subFileType:!1}):(n.setState({fileDetail:void 0,rootList:t,branchLastCommit:e.data.last_commit&&e.data.last_commit.commit,lastCommitAuthor:e.data.last_commit&&(e.data.last_commit.author||e.data.last_commit.commit&&e.data.last_commit.commit.author)}),n.renderData(t)):n.setState({fileDetail:void 0,rootList:void 0,isSpin:!1,subFileType:!1}))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.renderData=function(e){var t=[],i=[],o=[];e&&e.map((function(e,n){t.push(r({key:n,message:e.commit&&e.commit.message},e)),e.is_readme_file&&(i.push(r({},e)),o.push(r({},e)))})),n.setState({rootList:t,readMeContent:i,readMeFile:o})},n.goToSubRoot=function(e,t,i){n.setState({chooseType:t});var o=n.props.match.params,r=o.projectsId,s=o.owner,a=o.branchName;n.props.history.push("/projects/"+s+"/"+r+(a?"/branch/"+a:"")+"?url="+e),".md"===i.substring(i.length-3)?n.setState({md:!0}):n.setState({md:!1})},n.renderReadMeContent=function(e,t){var i=n.state,o=i.fileDetail,r=i.readMeFile;if(!o)return e&&e.length>0?u.default.createElement("div",{className:"commonBox"},u.default.createElement("div",{className:"commonBox-title"},u.default.createElement("span",{className:"mr10"},u.default.createElement("i",{className:"iconfont icon-wenjian1 font-16 color-grey-9 fl mt3"})),u.default.createElement("span",{className:"commonBox-title-read"},e[0].name),t?u.default.createElement("a",{onClick:function(){return n.ChangeFile(r[0],!1)},className:"ml20 pull-right"},u.default.createElement("i",{className:"iconfont icon-bianji6 font-16 color-blue"})):""),u.default.createElement("div",{className:"commonBox-info"},e[0].content?u.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e[0].content,url:n.props.history.location}):u.default.createElement("span",null,"暂无~"))):void 0},n.changeBranch=function(e){var t=n.props.history.location.search,i=n.props.match.params,o=i.projectsId,r="/projects/"+i.owner+"/"+o+(e&&"/branch/"+e);if(t&&(t.indexOf("?url=")>-1||t.indexOf("&url=")>-1)){var s=t.split("url=")[1];s&&decodeURI(s).indexOf("&")&&(s=decodeURI(s).split("&")[0]),r+="?url="+s}n.props.history.push(r)},n.returnUlr=function(e){n.setState({chooseType:"dir",readOnly:!0});var t=n.props.match.params,i=t.projectsId,o=t.owner;n.props.history.push("/projects/"+o+"/"+i+"?url="+e)},n.onEdit=function(e){n.setState({readOnly:e})},n.downloadUrl=function(e,t){return u.default.createElement(o.default,null,e&&u.default.createElement(o.default.Item,null,u.default.createElement("a",{href:e},"ZIP")),t&&u.default.createElement(o.default.Item,null,u.default.createElement("a",{href:t},"TAR.GZ")))},n.title=function(e,t){if(e){var i=n.props.match.params,o=i.projectsId,r=i.owner;return u.default.createElement("div",{className:"f-wrap-alignCenter"},t?u.default.createElement(u.default.Fragment,null,t.login?u.default.createElement(c.Link,{to:"/users/"+t.login+"/projects",className:"show-user-link"},u.default.createElement("img",{src:(0,l.getImageUrl)("images/"+t.image_url),className:"radius mr10",width:"32",height:"32",alt:""}),u.default.createElement("span",{className:"mr15"},t.name)):u.default.createElement("span",{className:"mr15"},t.name)):"",u.default.createElement(c.Link,{to:"/projects/"+r+"/"+o+"/commits/"+(0,g.truncateCommitId)(""+e.sha),className:"color-blue flex-1 hide-1"},e.message),u.default.createElement("span",null,e.time_from_now),u.default.createElement(c.Link,{to:"/projects/"+r+"/"+o+"/commits/"+(0,g.truncateCommitId)(""+e.sha),className:"commitKey"},(0,g.truncateCommitId)(e.sha)))}return!1},n.state={address:"http",filePath:void 0,subFileType:void 0,readMeContent:void 0,readMeFile:void 0,isSpin:!0,branchList:void 0,fileDetail:void 0,branchLastCommit:void 0,lastCommitAuthor:void 0,rootList:void 0,readOnly:!0,zip_url:void 0,tar_url:void 0,chooseType:void 0,md:!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.branchLastCommit,o=t.lastCommitAuthor,s=t.rootList,a=t.filePath,l=t.fileDetail,m=t.subFileType,y=t.readMeContent,_=t.isSpin,b=t.zip_url,C=t.tar_url,w=t.branchList,S=this.props,O=S.isManager,x=S.isDeveloper,L=S.projectDetail,N=S.platform,E=S.defaultBranch,D=this.props.match.params,k=D.projectsId,M=D.owner,I=D.branchName||E,T=[{key:"name",dataIndex:"name",width:"30%",render:function(t,n){return u.default.createElement("a",{onClick:function(){return e.goToSubRoot(n.path,n.type,t)},className:"ml12 task-hide",style:{display:"block",maxWidth:"345px"}},u.default.createElement("i",{className:"file"===n.type?"iconfont icon-wenjia font-15 color-green-file mr5":"iconfont icon-wenjianjia1 color-green-file font-15 mr5"}),t)}},{key:"message",dataIndex:"message",width:"60%",render:function(e,t){return t.commit&&t.commit.message?u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/commits/"+(0,g.truncateCommitId)(""+t.commit.sha),title:t.commit.message,className:"task-hide",style:{display:"block",maxWidth:"670px"}},t.commit.message):""}},{key:"time_from_now",dataIndex:"time_from_now",width:"10%",className:"edu-txt-right",render:function(e,t){return t.commit&&t.commit.time_from_now?u.default.createElement("a",{title:t.commit.created_at,className:"mr12",style:{cursor:"default",color:"#888"}},t.commit.time_from_now):""}}],P=void 0===a?"":"/"+a,R=a&&a.split("/");return u.default.createElement(i.default,{spinning:_},u.default.createElement("div",{className:"main"},u.default.createElement("div",{className:"f-wrap-between mb20"},u.default.createElement("div",{className:"f-wrap-alignCenter"},N?u.default.createElement(d.default,{repo_id:L&&L.repo_id,projectsId:k,branch:I,changeBranch:this.changeBranch,owner:M,history:this.props.history,branchList:w}):u.default.createElement("span",null,"分支:",u.default.createElement("span",{className:"color-grey-6"},"master")),a&&u.default.createElement("span",{className:"ml20 font-16"},u.default.createElement("a",{onClick:function(){return e.returnMain(I)},className:"color-blue"},L&&L.identifier),R&&R.map((function(t,n){return u.default.createElement(u.default.Fragment,null,n===R.length-1?u.default.createElement("span",{className:"color-grey-6 subFileName",key:n},t):u.default.createElement("a",{onClick:function(){return e.returnUlr(""+function(e,t){if(e&&e.length>0&&t){for(var n="",i=0;i<t;i++)n+="/"+e[i];return n.substr(1)}}(R,n+1))},className:"color-blue subFileName"},t))})))),u.default.createElement("div",{className:"f-wrap-alignCenter"},m&&2!==(L&&parseInt(L.type))&&(O||x)&&N&&u.default.createElement("div",null,u.default.createElement("span",null,u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/"+I+"/uploadfile"+P},u.default.createElement("span",{className:"color-green mr30"},"上传文件"))),u.default.createElement("span",{className:"mr30"},u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/"+I+"/newfile"+P},u.default.createElement("span",{className:"color-blue"},"新建文件")))),L&&L.clone_url&&u.default.createElement(h.default,{http_url:L.clone_url,downloadUrl:this.downloadUrl(b,C),showNotification:this.props.showNotification}))),s&&u.default.createElement(f.default,{columns:T,data:s,title:function(){return e.title(n,o)}}),l&&l.length>0&&u.default.createElement(p.default,r({detail:l[0]},this.props,this.state,{readOnly:this.state.readOnly,onEdit:this.onEdit,currentBranch:I})),!s&&!l&&u.default.createElement(v.default,{_html:"暂未发现当前文件!"}),s&&this.renderReadMeContent(y,O||x)))}}]),t}(a.Component);t.default=b},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(140).then(n.bind(null,"Czvm"))}})},wCAj:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("BGR+"),r=n("6RRn"),s=n.n(r),a=n("17x9"),u=n("TSYQ"),l=n.n(u),c=n("Gytx"),d=n.n(c),h=n("VCL8"),f=n("i8i4"),p=n("1j5w"),g=n("Yf6U"),m=n.n(g),v=n("jsC+"),y=n("CtXQ"),_=n("kaz8"),b=n("9yH6"),C=function(e){return i.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function w(e){return function(e){if(Array.isArray(e))return S(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 S(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],i=function e(i){i.forEach((function(i){if(i[t]){var o=O({},i);delete o[t],n.push(o),i[t].length>0&&e(i[t])}else n.push(i)}))};return i(e),n}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,i){var o={};return e[n]&&(o[n]=L(e[n],t,n)),O(O({},t(e,i)),o)}))}function N(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var i=N(n.children,t);e.push.apply(e,w(i))}return e}),[])}function E(e){var t=[];return i.Children.forEach(e,(function(e){if(i.isValidElement(e)){var n=O({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,i=e.children;t[n.toString()]=n,D(i,t)})),t}function k(e){return(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})(e)}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 I(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var V=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&&T(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=F(t);if(A()){var i=F(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return P(this,e)});function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).setNeverShown=function(e){var n=f.findDOMNode(R(t));!!m()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var i=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete i[e.key]:i[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:i})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,r=n.locale,s=n.prefixCls,a=n.selectedKeys,u=a&&a.length>0,c=o.filterIcon;"function"==typeof c&&(c=c(u));var d=l()((M(e={},"".concat(s,"-selected"),"filtered"in o?o.filtered:u),M(e,"".concat(s,"-open"),t.getDropdownVisible()),e));return c?i.isValidElement(c)?i.cloneElement(c,{title:c.props.title||r.filterTitle,className:l()("".concat(s,"-icon"),d,c.props.className),onClick:j}):i.createElement("span",{className:l()("".concat(s,"-icon"),d)},c):i.createElement(y.default,{title:r.filterTitle,type:"filter",theme:"filled",className:d,onClick:j})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:D(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,i=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!d()(i.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),d()((i.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=D(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,i=e.confirmFilter,o=this.state,r=o.selectedKeys,s=o.valueKeys,a=t.filterDropdown;d()(r,n)||i(t,a?r:r.map((function(e){return s[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,r=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,s=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),a=l()("".concat(r,"-dropdown-submenu"),M({},"".concat(o,"-submenu-contain-selected"),s));return i.createElement(p.d,{title:e.text,popupClassName:a,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,r=(n||[]).map((function(e){return e.toString()})),s=o?i.createElement(_.default,{checked:r.indexOf(e.value.toString())>=0}):i.createElement(b.default,{checked:r.indexOf(e.value.toString())>=0});return i.createElement(p.b,{key:e.value},s,i.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,r=n.locale,s=n.prefixCls,a=n.dropdownPrefixCls,u=n.getPopupContainer,c=!("filterMultiple"in o)||o.filterMultiple,d=l()(M({},"".concat(a,"-menu-without-submenu"),!this.hasSubMenu())),h=o.filterDropdown;h instanceof Function&&(h=h({prefixCls:"".concat(a,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var f=h?i.createElement(C,{className:"".concat(s,"-dropdown")},h):i.createElement(C,{className:"".concat(s,"-dropdown")},i.createElement(p.e,{multiple:c,onClick:this.handleMenuItemClick,prefixCls:"".concat(a,"-menu"),className:d,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:u},this.renderMenus(o.filters)),i.createElement("div",{className:"".concat(s,"-dropdown-btns")},i.createElement("a",{className:"".concat(s,"-dropdown-link confirm"),onClick:this.handleConfirm},r.filterConfirm),i.createElement("a",{className:"".concat(s,"-dropdown-link clear"),onClick:this.handleClearFilters},r.filterReset)));return i.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:f,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:u,forceRender:!0},this.renderFilterIcon())}}])&&I(n.prototype,o),r&&I(n,r),a}(i.Component);V.defaultProps={column:{}},Object(h.polyfill)(V);var W=V;function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function H(e){return(H="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 z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function U(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e,t){return!t||"object"!==H(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(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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&&K(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=Y(t);if(G()){var i=Y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return q(this,e)});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=s.call(this,e)).state={checked:t.getCheckState(e)},t}return n=a,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,i=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(i)>=0:t.getState().selectedRowKeys.indexOf(i)>=0||n.indexOf(i)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Z(e,["type","rowIndex"]),r=this.state.checked;return"radio"===t?i.createElement(b.default,z({checked:r,value:n},o)):i.createElement(_.default,z({checked:r},o))}}])&&U(n.prototype,o),r&&U(n,r),a}(i.Component),Q=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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)}function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function re(e){var t=e.store,n=e.getCheckboxPropsByItem,i=e.getRecordKey,o=e.data,r=e.type;return e.byDefaultChecked?o[r]((function(e,t){return n(e,t).defaultChecked})):o[r]((function(e,n){return t.getState().selectedRowKeys.indexOf(i(e,n))>=0}))}function se(e){var t=e.store,n=e.data;if(!n.length)return!1;var i=re(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=re(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?i:i||o}function ae(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=ie(t);if(ne()){var i=ie(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return te(this,e)});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=s.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ae(e),i=se(e),o={};return i!==t.indeterminate&&(o.indeterminate=i),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ae(e),n=se(e);this.setState((function(e){var i={};return n!==e.indeterminate&&(i.indeterminate=n),t!==e.checked&&(i.checked=t),i}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return i.createElement(Q.default.Item,{key:e.key||n},i.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,r=o.disabled,s=o.prefixCls,a=o.selections,u=o.getPopupContainer,c=this.state,d=c.checked,h=c.indeterminate,f="".concat(s,"-selection"),p=null;if(a){var g=Array.isArray(a)?this.defaultSelections.concat(a):this.defaultSelections,m=i.createElement(Q.default,{className:"".concat(f,"-menu"),selectedKeys:[]},this.renderMenus(g));p=g.length>0?i.createElement(v.default,{overlay:m,getPopupContainer:u},i.createElement("div",{className:"".concat(f,"-down")},i.createElement(y.default,{type:"down"}))):null}return i.createElement("div",{className:f},i.createElement(_.default,{className:l()((e={},t="".concat(f,"-select-all-custom"),n=p,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:d,indeterminate:h,disabled:r,onChange:this.handleSelectAllChange}),p)}}])&&$(n.prototype,o),r&&$(n,r),a}(i.Component);Object(h.polyfill)(ue);var le=ue;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 de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fe(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 pe(){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 ge(e){return(ge=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&&he(e,t)}(i,e);var t,n=(t=i,function(){var e,n=ge(t);if(pe()){var i=ge(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return fe(this,e)});function i(){return de(this,i),n.apply(this,arguments)}return i}(i.Component);function ve(e){return(ve="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 ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e,t){return!t||"object"!==ve(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(){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 we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Se=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)}(i,e);var t,n=(t=i,function(){var e,n=we(t);if(Ce()){var i=we(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return be(this,e)});function i(){return ye(this,i),n.apply(this,arguments)}return i}(i.Component);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 xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Le(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 Ee(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function De(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Re(e);if(Pe()){var i=Re(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return Te(this,t)}}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 Pe(){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 Re(e){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){ke(r,t);var n=Ie(r);function r(e){var t;Ne(this,r),(t=n.call(this,e)).store=e.store;var i=t.store.getState().selectedRowKeys;return t.state={selected:i.indexOf(e.rowKey)>=0},t}return De(r,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,i=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(i)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=l()(this.props.className,Le({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return i.createElement(e,xe(xe({},t),{className:n}),this.props.children)}}]),r}(i.Component);return t}Se.__ANT_TABLE_COLUMN_GROUP=!0;var Fe=n("61SU"),je=n.n(Fe);function Ve(e,t){if("undefined"==typeof window)return 0;var n=t?"scrollTop":"scrollLeft",i=e===window,o=i?e[t?"pageYOffset":"pageXOffset"]:e[n];return i&&"number"!=typeof o&&(o=document.documentElement[n]),o}function We(e,t,n,i){var o=n-t;return(e/=i/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}var Be=n("NUBc"),He=n("W9HT"),ze=n("gDlH"),Ue=n("YMnH"),Ke=n("ZvpZ"),qe=n("H84U"),Ge=n("6CfX");function Ye(e){return(Ye="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 Ze(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 Qe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Je(e,t,n){return t&&Qe(e.prototype,t),n&&Qe(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(it()){var i=ot(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 it(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rt(){return(rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var st=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};function at(){}function ut(e){e.stopPropagation()}function lt(e){return e.rowSelection||{}}function ct(e,t){return e.key||e.dataIndex||t}function dt(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||d()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||d()(e,t):void 0})))}var ht={onChange:at,onShowSizeChange:at},ft={},pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return rt(rt({},e),{body:rt(rt({},e.body),{row:Ae(t)})})};function gt(e,t){return N(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return gt(e,t).forEach((function(e){var t=ct(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r;Xe(this,n),(r=t.call(this,e)).setTableRef=function(e){r.rcTable=e},r.getCheckboxPropsByItem=function(e,t){var n=lt(r.props);if(!n.getCheckboxProps)return{};var i=r.getRecordKey(e,t);if(!r.props.checkboxPropsCache[i]){r.props.checkboxPropsCache[i]=n.getCheckboxProps(e)||{};var o=r.props.checkboxPropsCache[i];Object(Ge.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return r.props.checkboxPropsCache[i]},r.getRecordKey=function(e,t){var n=r.props.rowKey,i="function"==typeof n?n(e,t):e[n];return Object(Ge.a)(void 0!==i,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===i?t:i},r.onRow=function(e,t,n){var i=r.props.onRow;return rt(rt({},i?i(t,n):{}),{prefixCls:e,store:r.props.store,rowKey:r.getRecordKey(t,n)})},r.generatePopupContainerFunc=function(e){var t=r.props.scroll,n=r.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},r.scrollToFirstRow=function(){var e=r.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,i=void 0===n?function(){return window}:n,o=t.callback,r=t.duration,s=void 0===r?450:r,a=i(),u=Ve(a,!0),l=Date.now(),c=function t(){var n=Date.now()-l,i=We(n>s?s:n,u,e,s);a===window?window.scrollTo(window.pageXOffset,i):a.scrollTop=i,n<s?je()(t):"function"==typeof o&&o()};je()(c)}(0,{getContainer:function(){return r.rcTable.bodyTable}})},r.handleFilter=function(e,t){var n=r.props,i=rt({},r.state.pagination),o=rt(rt({},r.state.filters),Ze({},ct(e),t)),s=[];L(r.state.columns,(function(e){e.children||s.push(ct(e))})),Object.keys(o).forEach((function(e){s.indexOf(e)<0&&delete o[e]})),n.pagination&&(i.current=1,i.onChange(i.current));var a={pagination:i,filters:{}},u=rt({},o);gt(r.state).forEach((function(e){var t=ct(e);t&&delete u[t]})),Object.keys(u).length>0&&(a.filters=u),"object"===Ye(n.pagination)&&"current"in n.pagination&&(a.pagination=rt(rt({},i),{current:r.state.pagination.current})),r.setState(a,(function(){r.scrollToFirstRow(),r.props.store.setState({selectionDirty:!1});var e=r.props.onChange;e&&e.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{selectionDirty:!1,filters:o,pagination:i})))}))},r.handleSelect=function(e,t,n){var i=n.target.checked,o=n.nativeEvent,s=r.props.store.getState().selectionDirty?[]:r.getDefaultSelection(),a=r.props.store.getState().selectedRowKeys.concat(s),u=r.getRecordKey(e,t),l=r.state.pivot,c=r.getFlatCurrentPageData(),d=t;if(r.props.expandedRowRender&&(d=c.findIndex((function(e){return r.getRecordKey(e,t)===u}))),o.shiftKey&&void 0!==l&&d!==l){for(var h=[],f=Math.sign(l-d),p=Math.abs(l-d),g=0,m=function(){var e=d+g*f;g+=1;var t=c[e],n=r.getRecordKey(t,e);r.getCheckboxPropsByItem(t,e).disabled||(a.includes(n)?i||(a=a.filter((function(e){return n!==e})),h.push(n)):i&&(a.push(n),h.push(n)))};g<=p;)m();r.setState({pivot:d}),r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(a,{selectWay:"onSelectMultiple",record:e,checked:i,changeRowKeys:h,nativeEvent:o})}else i?a.push(r.getRecordKey(e,d)):a=a.filter((function(e){return u!==e})),r.setState({pivot:d}),r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:o})},r.handleRadioSelect=function(e,t,n){var i=n.target.checked,o=n.nativeEvent,s=[r.getRecordKey(e,t)];r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(s,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:o})},r.handleSelectRow=function(e,t,n){var i,o=r.getFlatCurrentPageData(),s=r.props.store.getState().selectionDirty?[]:r.getDefaultSelection(),a=r.props.store.getState().selectedRowKeys.concat(s),u=o.filter((function(e,t){return!r.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return r.getRecordKey(e,t)})),l=[],c="onSelectAll";switch(e){case"all":u.forEach((function(e){a.indexOf(e)<0&&(a.push(e),l.push(e))})),c="onSelectAll",i=!0;break;case"removeAll":u.forEach((function(e){a.indexOf(e)>=0&&(a.splice(a.indexOf(e),1),l.push(e))})),c="onSelectAll",i=!1;break;case"invert":u.forEach((function(e){a.indexOf(e)<0?a.push(e):a.splice(a.indexOf(e),1),l.push(e),c="onSelectInvert"}))}r.props.store.setState({selectionDirty:!0});var d=r.props.rowSelection,h=2;if(d&&d.hideDefaultSelections&&(h=0),t>=h&&"function"==typeof n)return n(u);r.setSelectedRowKeys(a,{selectWay:c,checked:i,changeRowKeys:l})},r.handlePageChange=function(e){var t=r.props,n=rt({},r.state.pagination);n.current=e||(n.current||1);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];n.onChange.apply(n,[n.current].concat(o));var a={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(a.pagination=rt(rt({},n),{current:r.state.pagination.current})),r.setState(a,r.scrollToFirstRow),r.props.store.setState({selectionDirty:!1});var u=r.props.onChange;u&&u.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{selectionDirty:!1,pagination:n})))},r.handleShowSizeChange=function(e,t){var n=r.state.pagination;n.onShowSizeChange(e,t);var i=rt(rt({},n),{pageSize:t,current:e});r.setState({pagination:i},r.scrollToFirstRow);var o=r.props.onChange;o&&o.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{pagination:i})))},r.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,r=t.needIndentSpaced,s=t.record,a=t.onExpand;return n?i.createElement(Ue.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(t){var n;return i.createElement(ze.a,{className:l()("".concat(e,"-row-expand-icon"),(n={},Ze(n,"".concat(e,"-row-collapsed"),!o),Ze(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){a(s,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):r?i.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},r.renderSelectionBox=function(e){return function(t,n,o){var s=r.getRecordKey(n,o),a=r.getCheckboxPropsByItem(n,o);return i.createElement("span",{onClick:ut},i.createElement(X,rt({type:e,store:r.props.store,rowIndex:s,onChange:function(t){return"radio"===e?r.handleRadioSelect(n,o,t):r.handleSelect(n,o,t)},defaultSelection:r.getDefaultSelection()},a)))}},r.renderTable=function(e){var t,n=e.prefixCls,a=e.renderEmpty,u=e.dropdownPrefixCls,c=e.contextLocale,d=e.getPopupContainer,h=r.props,f=h.showHeader,p=h.locale,g=h.getPopupContainer,m=st(h,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(m,["style"]),y=r.getCurrentPageData(),_=r.props.expandedRowRender&&!1!==r.props.expandIconAsCell,b=g||d,C=rt(rt({},c),p);p&&p.emptyText||(C.emptyText=a("Table"));var w=l()("".concat(n,"-").concat(r.props.size),(Ze(t={},"".concat(n,"-bordered"),r.props.bordered),Ze(t,"".concat(n,"-empty"),!y.length),Ze(t,"".concat(n,"-without-column-header"),!f),t)),S=r.renderRowSelection({prefixCls:n,locale:C,getPopupContainer:b}),O=r.renderColumnsDropdown({columns:S,prefixCls:n,dropdownPrefixCls:u,locale:C,getPopupContainer:b}).map((function(e,t){var n=rt({},e);return n.key=ct(n,t),n})),x=O[0]&&"selection-column"===O[0].key?1:0;return"expandIconColumnIndex"in v&&(x=v.expandIconColumnIndex),i.createElement(s.a,rt({ref:r.setTableRef,key:"table",expandIcon:r.renderExpandIcon(n)},v,{onRow:function(e,t){return r.onRow(n,e,t)},components:r.state.components,prefixCls:n,data:y,columns:O,showHeader:f,className:w,expandIconColumnIndex:x,expandIconAsCell:_,emptyText:C.emptyText}))},r.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,s=r.props,a=s.prefixCls,u=s.dropdownPrefixCls,c=s.style,d=s.className,h=r.getCurrentPageData(),f=r.props.loading;"boolean"==typeof f&&(f={spinning:f});var p=t("table",a),g=t("dropdown",u),m=i.createElement(Ue.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(e){return r.renderTable({prefixCls:p,renderEmpty:n,dropdownPrefixCls:g,contextLocale:e,getPopupContainer:o})})),v=r.hasPagination()&&h&&0!==h.length?"".concat(p,"-with-pagination"):"".concat(p,"-without-pagination");return i.createElement("div",{className:l()("".concat(p,"-wrapper"),d),style:c},i.createElement(He.default,rt({},f,{className:f.spinning?"".concat(v," ").concat(p,"-spin-holder"):""}),r.renderPagination(p,"top"),m,r.renderPagination(p,"bottom")))};var a=e.expandedRowRender,u=e.columns;Object(Ge.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),a&&(u||[]).some((function(e){return!!e.fixed}))&&Object(Ge.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var c=u||E(e.children);return r.state=rt(rt({},r.getDefaultSortOrder(c||[])),{filters:r.getDefaultFilters(c),pagination:r.getDefaultPagination(e),pivot:void 0,prevProps:e,components:pt(e.components),columns:c}),r}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,i=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);dt(o.sortColumn,n)&&o.sortOrder===i||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return lt(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,i="object"===Ye(e.pagination)?e.pagination:{};return"current"in i?t=i.current:"defaultCurrent"in i&&(t=i.defaultCurrent),"pageSize"in i?n=i.pageSize:"defaultPageSize"in i&&(n=i.defaultPageSize),this.hasPagination(e)?rt(rt(rt({},ht),i),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return N(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=mt(this.state,e);return rt(rt({},N(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[ct(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=N(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,i=t.pageSize;return(n-1)*i>=e?Math.floor((e-1)/i)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,i=t.sortColumn;if(n&&i&&"function"==typeof i.sorter)return function(e,t){var o=i.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),i=this.state;return this.hasPagination()?(t=i.pagination.pageSize,e=this.getMaxCurrent(i.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return x(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return x(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e||this.state,o=this.props.dataSource,r=o||[];r=r.slice(0);var s=this.getSorterFn(i);return s&&(r=this.recursiveSort(r,s)),n&&i.filters&&Object.keys(i.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=i.filters[e]||[];if(0!==o.length){var s=n.onFilter;r=s?r.filter((function(e){return o.some((function(t){return s(t,e)}))})):r}}})),r}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,i=t.selectWay,o=t.record,r=t.checked,s=t.changeRowKeys,a=t.nativeEvent,u=lt(this.props);u&&!("selectedRowKeys"in u)&&this.props.store.setState({selectedRowKeys:e});var l=this.getFlatData();if(u.onChange||u[i]){var c=l.filter((function(t,i){return e.indexOf(n.getRecordKey(t,i))>=0}));if(u.onChange&&u.onChange(e,c),"onSelect"===i&&u.onSelect)u.onSelect(o,r,c,a);else if("onSelectMultiple"===i&&u.onSelectMultiple){var d=l.filter((function(e,t){return s.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectMultiple(r,c,d)}else if("onSelectAll"===i&&u.onSelectAll){var h=l.filter((function(e,t){return s.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectAll(r,c,h)}else"onSelectInvert"===i&&u.onSelectInvert&&u.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,i=this.state,o=i.sortOrder;if(dt(i.sortColumn,e)&&void 0!==o){var r=n.indexOf(o)+1;t=r===n.length?void 0:n[r]}else t=n[0];var s={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(s,this.scrollToFirstRow);var a=this.props.onChange;a&&a.apply(null,this.prepareParamsArguments(rt(rt({},this.state),s),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&ct(t)===ct(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=rt({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var i=e.filters,o={},r=t;return e.sortColumn&&e.sortOrder&&(r=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),r&&(o.field=r.dataIndex,o.columnKey=ct(r)),[n,i,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return L(this.state.columns,(function(n){ct(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,i=this.props.childrenColumnName,o=void 0===i?"children":i;return e.sort(t).map((function(e){return e[o]?rt(rt({},e),Ze({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var r=o.position||"bottom",s=o.total||this.getLocalData().length;return s>0&&(r===t||"both"===r)?i.createElement(Be.default,rt({key:"pagination-".concat(t)},o,{className:l()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:s,size:n,current:this.getMaxCurrent(s),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,s=e.getPopupContainer,a=this.props.rowSelection,u=this.state.columns.concat();if(a){var c=this.getFlatCurrentPageData().filter((function(e,n){return!a.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),d=l()("".concat(n,"-selection-column"),Ze({},"".concat(n,"-selection-column-custom"),a.selections)),h=Ze({key:"selection-column",render:this.renderSelectionBox(a.type),className:d,fixed:a.fixed,width:a.columnWidth,title:a.columnTitle},r.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==a.type){var f=c.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));h.title=h.title||i.createElement(le,{store:this.props.store,locale:o,data:c,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:f,prefixCls:n,onSelect:this.handleSelectRow,selections:a.selections,hideDefaultSelections:a.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(s)})}"fixed"in a?h.fixed=a.fixed:u.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(h.fixed="left"),u[0]&&"selection-column"===u[0].key?u[0]=h:u.unshift(h)}return u}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,r=e.columns,s=e.locale,a=e.getPopupContainer,u=this.state,c=u.sortOrder,d=u.filters;return L(r,(function(e,r){var u,h,f,p=ct(e,r),g=e.onHeaderCell,m=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=p in d?d[p]:[];h=i.createElement(W,{locale:s,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(a),key:"filter-dropdown"})}if(e.sorter){var _=e.sortDirections||t.props.sortDirections,b=m&&"ascend"===c,C=m&&"descend"===c,w=-1!==_.indexOf("ascend")&&i.createElement(y.default,{className:"".concat(n,"-column-sorter-up ").concat(b?"on":"off"),type:"caret-up",theme:"filled"}),S=-1!==_.indexOf("descend")&&i.createElement(y.default,{className:"".concat(n,"-column-sorter-down ").concat(C?"on":"off"),type:"caret-down",theme:"filled"});f=i.createElement("div",{title:s.sortTitle,className:l()("".concat(n,"-column-sorter-inner"),w&&S&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},w,S),g=function(n){var i={};e.onHeaderCell&&(i=rt({},e.onHeaderCell(n)));var o=i.onClick;return i.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},i}}return rt(rt({},e),{className:l()(e.className,(u={},Ze(u,"".concat(n,"-column-has-actions"),f||h),Ze(u,"".concat(n,"-column-has-filters"),h),Ze(u,"".concat(n,"-column-has-sorters"),f),Ze(u,"".concat(n,"-column-sort"),m&&c),u)),title:[i.createElement("span",{key:"title",className:"".concat(n,"-header-column")},i.createElement("div",{className:f?"".concat(n,"-column-sorters"):void 0},i.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),i.createElement("span",{className:"".concat(n,"-column-sorter")},f))),h],onHeaderCell:g})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,i=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:i,sortColumn:o}):e}},{key:"render",value:function(){return i.createElement(qe.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,i,o=t.prevProps,r=e.columns||E(e.children),s=rt(rt({},t),{prevProps:e,columns:r});if("pagination"in e||"pagination"in o){var a=rt(rt(rt({},ht),t.pagination),e.pagination);a.current=a.current||1,a.pageSize=a.pageSize||10,s=rt(rt({},s),{pagination:!1!==e.pagination?a:ft})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),gt(s,s.columns).length>0){var u=mt(s,s.columns),l=rt({},s.filters);Object.keys(u).forEach((function(e){l[e]=u[e]})),n=s,i=l,(Object.keys(i).length!==Object.keys(n.filters).length||Object.keys(i).some((function(e){return i[e]!==n.filters[e]})))&&(s=rt(rt({},s),{filters:l}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return d()(e[n],t[n])}))}(e.components,o.components)){var c=pt(e.components);s=rt(rt({},s),{components:c})}return s}}]),n}(i.Component);vt.propTypes={dataSource:a.array,columns:a.array,prefixCls:a.string,useFixedHeader:a.bool,rowSelection:a.object,className:a.string,size:a.string,loading:a.oneOfType([a.bool,a.object]),bordered:a.bool,onChange:a.func,locale:a.object,dropdownPrefixCls:a.string,sortDirections:a.array,getPopupContainer:a.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(h.polyfill)(vt);var yt=function(e){$e(n,e);var t=tt(n);function n(e){var i,o,r,s;return Xe(this,n),(i=t.call(this,e)).setCheckboxPropsCache=function(e){return i.CheckboxPropsCache=e},i.CheckboxPropsCache={},i.store=(o={selectedRowKeys:lt(e).selectedRowKeys||[],selectionDirty:!1},r=o,s=[],{setState:function(e){r=B(B({},r),e);for(var t=0;t<s.length;t++)s[t]()},getState:function(){return r},subscribe:function(e){return s.push(e),function(){var t=s.indexOf(e);s.splice(t,1)}}}),i}return Je(n,[{key:"render",value:function(){return i.createElement(vt,rt({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(i.Component);yt.displayName="withStore(Table)",yt.Column=me,yt.ColumnGroup=Se;var _t=yt;t.default=_t},wCXF:function(e,t,n){"use strict";function i(e){return(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})(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 r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){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 d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var f=d(n("q1tI")),p=d(n("17x9")),g=h(n("Gytx")),m=h(n("rsGM")),v=h(n("cOkC")),y=n("xI0J"),_=h(n("QkVN")),b=h(n("PFWz")),C=h(n("TSYQ")),w=n("VCL8"),S=n("6Ogq"),O=h(n("BjZs")),x=h(n("Cit5")),L=h(n("YqDF")),N=h(n("BC81")),E=h(n("AHJs")),D=h(n("PZDY")),k=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)}(p,e);var t,n,i,d,h=(t=p,function(){var e,n=c(t);if(l()){var i=c(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=h.call(this,e)).state={},t.getRowKey=function(e,n){var i=t.props.rowKey,o="function"==typeof i?i(e,n):e[i];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,i=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],r=[].map.call(i,(function(e){return e.getBoundingClientRect().height||"auto"})),s=t.store.getState(),a=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),i=t.getBoundingClientRect().height||s.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=i,e}),{});g.default(s.fixedColumnsHeadRowsHeight,r)&&g.default(s.fixedColumnsBodyRowsHeight,a)||t.store.setState({fixedColumnsHeadRowsHeight:r,fixedColumnsBodyRowsHeight:a})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,i=t.props.scroll,o=void 0===i?{}:i,r=u(t),s=r.headTable,a=r.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===a&&s?s.scrollLeft=n.scrollLeft:n===s&&a&&(a.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var i=t.props.scroll,o=void 0===i?{}:i,r=u(t),s=r.headTable,a=r.bodyTable,l=r.fixedColumnsBodyLeft,c=r.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==s){var d=n.scrollTop;l&&n!==l&&(l.scrollTop=d),c&&n!==c&&(c.scrollTop=d),a&&n!==a&&(a.scrollTop=d)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,i=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&i.y){var o=e.deltaY,r=e.target,s=u(t),a=s.bodyTable,l=s.fixedColumnsBodyLeft,c=s.fixedColumnsBodyRight,d=0;d=t.lastScrollTop?t.lastScrollTop+o:o,l&&r!==l&&(e.preventDefault(),l.scrollTop=d),c&&r!==c&&(e.preventDefault(),c.scrollTop=d),a&&r!==a&&(e.preventDefault(),a.scrollTop=d)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new O.default(e.columns,e.children),t.store=y.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=S.debounce(t.handleWindowResize,150),t}return n=p,d=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(i=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:_.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=m.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=m.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?b.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):b.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,i=void 0===n?[]:n,o=e.useFixedHeader,r=e.scroll,s=void 0===r?{}:r;return void 0!==t?"fixed"===t:!!(i.some((function(e){return!!e.ellipsis}))||o||s.y||s.x&&!0!==s.x&&"max-content"!==s.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,i=this.columnManager.isAnyColumnsFixed(),o=i||t.x||t.y,r=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:i}),this.renderEmptyText(),this.renderFooter()];return o?f.createElement("div",{className:"".concat(n,"-scroll")},r):r}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return f.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return f.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,i=e.isAnyColumnsFixed,o=this.props,r=o.prefixCls,s=o.scroll,a=(void 0===s?{}:s).x||n?"".concat(r,"-fixed"):"";return[f.createElement(x.default,{key:"head",columns:t,fixed:n,tableClassName:a,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),f.createElement(L.default,{key:"body",columns:t,fixed:n,tableClassName:a,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:i})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?f.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?f.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var i="".concat(n,"-placeholder");return f.createElement("div",{className:i,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var r=C.default(n.prefixCls,n.className,(o(e={},"".concat(i,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(i,"-scroll-position-left ").concat(i,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(i,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(i,"-layout-fixed"),this.isTableLayoutFixed()),e)),s=this.columnManager.isAnyColumnsLeftFixed(),a=this.columnManager.isAnyColumnsRightFixed(),u=S.getDataAndAriaProps(n);return f.createElement(y.Provider,{store:this.store},f.createElement(D.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,f.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:r,style:n.style,id:n.id},u),t.renderTitle(),f.createElement("div",{className:"".concat(i,"-content")},t.renderMainTable(),s&&t.renderLeftFixedTable(),a&&t.renderRightFixedTable()))})))}}])&&r(n.prototype,i),d&&r(n,d),p}(f.Component);k.childContextTypes={table:p.any,components:p.any},k.Column=N.default,k.ColumnGroup=E.default,k.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},w.polyfill(k),t.default=k},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,i=Object.keys,o=Object.freeze,r=Object.seal,s=Object.create,a="undefined"!=typeof Reflect&&Reflect,u=a.apply,l=a.construct;u||(u=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),r||(r=function(e){return e}),l||(l=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 c=O(Array.prototype.forEach),d=O(Array.prototype.indexOf),h=O(Array.prototype.join),f=O(Array.prototype.pop),p=O(Array.prototype.push),g=O(Array.prototype.slice),m=O(String.prototype.toLowerCase),v=O(String.prototype.match),y=O(String.prototype.replace),_=O(String.prototype.indexOf),b=O(String.prototype.trim),C=O(RegExp.prototype.test),w=x(RegExp),S=x(TypeError);function O(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return u(e,t,i)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return l(e,n)}}function L(e,i){t&&t(e,null);for(var o=i.length;o--;){var r=i[o];if("string"==typeof r){var s=m(r);s!==r&&(n(i)||(i[o]=s),r=s)}e[r]=!0}return e}function N(t){var n=s(null),i=void 0;for(i in t)u(e,t,[i])&&(n[i]=t[i]);return n}var E=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"]),D=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"]),k=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=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"]),I=o(["#text"]),T=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"]),P=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"]),R=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"]),F=r(/\{\{[\s\S]*|[\s\S]*\}\}/gm),j=r(/<%[\s\S]*|[\s\S]*%>/gm),V=r(/^data-[\-\w.\u00B7-\uFFFF]/),W=r(/^aria-[\-\w]+$/),B=r(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=r(/^(?:\w+script|data):/i),z=r(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),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};function K(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":U(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 i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" 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 r=t.document,s=!1,a=t.document,u=t.DocumentFragment,l=t.HTMLTemplateElement,O=t.Node,x=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,X=t.Text,Q=t.Comment,J=t.DOMParser,$=t.trustedTypes;if("function"==typeof l){var ee=a.createElement("template");ee.content&&ee.content.ownerDocument&&(a=ee.content.ownerDocument)}var te=G($,r),ne=te&&Re?te.createHTML(""):"",ie=a,oe=ie.implementation,re=ie.createNodeIterator,se=ie.getElementsByTagName,ae=ie.createDocumentFragment,ue=r.importNode,le=N(a).documentMode?a.documentMode:{},ce={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==le;var de=F,he=j,fe=V,pe=W,ge=H,me=z,ve=B,ye=null,_e=L({},[].concat(K(E),K(D),K(k),K(M),K(I))),be=null,Ce=L({},[].concat(K(T),K(P),K(R),K(A))),we=null,Se=null,Oe=!0,xe=!0,Le=!1,Ne=!1,Ee=!1,De=!1,ke=!1,Me=!1,Ie=!1,Te=!1,Pe=!1,Re=!1,Ae=!0,Fe=!0,je=!1,Ve={},We=L({},["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"]),Be=null,He=L({},["audio","video","img","source","image","track"]),ze=null,Ue=L({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ke=null,qe=a.createElement("form"),Ge=function(e){Ke&&Ke===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=N(e),ye="ALLOWED_TAGS"in e?L({},e.ALLOWED_TAGS):_e,be="ALLOWED_ATTR"in e?L({},e.ALLOWED_ATTR):Ce,ze="ADD_URI_SAFE_ATTR"in e?L(N(Ue),e.ADD_URI_SAFE_ATTR):Ue,Be="ADD_DATA_URI_TAGS"in e?L(N(He),e.ADD_DATA_URI_TAGS):He,we="FORBID_TAGS"in e?L({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?L({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Le=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,Ee=e.SAFE_FOR_TEMPLATES||!1,De=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,Re=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Ee&&(xe=!1),Te&&(Ie=!0),Ve&&(ye=L({},[].concat(K(I))),be=[],!0===Ve.html&&(L(ye,E),L(be,T)),!0===Ve.svg&&(L(ye,D),L(be,P),L(be,A)),!0===Ve.svgFilters&&(L(ye,k),L(be,P),L(be,A)),!0===Ve.mathMl&&(L(ye,M),L(be,R),L(be,A))),e.ADD_TAGS&&(ye===_e&&(ye=N(ye)),L(ye,e.ADD_TAGS)),e.ADD_ATTR&&(be===Ce&&(be=N(be)),L(be,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&L(ze,e.ADD_URI_SAFE_ATTR),Fe&&(ye["#text"]=!0),De&&L(ye,["html","head","body"]),ye.table&&(L(ye,["tbody"]),delete we.tbody),o&&o(e),Ke=e)},Ye=function(e){p(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ze=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Xe=function(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var i=v(e,/^[\r\n\t ]+/);n=i&&i[0]}var o=te?te.createHTML(e):e;try{t=(new J).parseFromString(o,"text/html")}catch(e){}if(s&&L(we,["title"]),!t||!t.documentElement){var r=(t=oe.createHTMLDocument("")).body;r.parentNode.removeChild(r.parentNode.firstElementChild),r.outerHTML=o}return e&&n&&t.body.insertBefore(a.createTextNode(n),t.body.childNodes[0]||null),se.call(t,De?"html":"body")[0]};n.isSupported&&function(){try{var e=Xe("<x/><title></title><img>");C(/<\/title/,e.querySelector("title").innerHTML)&&(s=!0)}catch(e){}}();var Qe=function(e){return re.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof X||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===O?"undefined":U(O))?e instanceof O:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,i){ce[e]&&c(ce[e],(function(e){e.call(n,t,i,Ke)}))},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 i=m(e.nodeName);if(et("uponSanitizeElement",e,{tagName:i,allowedTags:ye}),("svg"===i||"math"===i)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ye[i]||we[i]){if(Fe&&!We[i]&&"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"===i&&C(/<\/noscript/i,e.innerHTML)||"noembed"===i&&C(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!C(/</g,e.textContent)||(p(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=y(e.innerHTML,/</g,"<"):e.innerHTML=y(e.textContent,/</g,"<")),Ee&&3===e.nodeType&&(t=e.textContent,t=y(t,de," "),t=y(t,he," "),e.textContent!==t&&(p(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 a||n in qe))return!1;if(xe&&C(fe,t));else if(Oe&&C(pe,t));else{if(!be[t]||Se[t])return!1;if(ze[t]);else if(C(ve,y(n,me,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==_(n,"data:")||!Be[e])if(Le&&!C(ge,y(n,me,"")));else if(n)return!1}return!0},it=function(e){var t=void 0,o=void 0,r=void 0,s=void 0,a=void 0;et("beforeSanitizeAttributes",e,null);var u=e.attributes;if(u){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};for(a=u.length;a--;){var c=t=u[a],p=c.name,v=c.namespaceURI;if(o=b(t.value),r=m(p),l.attrName=r,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,l),o=l.attrValue,!l.forceKeepAttr){if("name"===r&&"IMG"===e.nodeName&&u.id)s=u.id,u=g(u,[]),Ze("id",e),Ze(p,e),d(u,s)>a&&e.setAttribute("id",s.value);else{if("INPUT"===e.nodeName&&"type"===r&&"file"===o&&l.keepAttr&&(be[r]||!Se[r]))continue;"id"===p&&e.setAttribute(p,""),Ze(p,e)}if(l.keepAttr)if(Ne&&C(/\/>/i,o))Ze(p,e);else if(C(/svg|math/i,e.namespaceURI)&&C(w("</("+h(i(We),"|")+")","i"),o))Ze(p,e);else{Ee&&(o=y(o,de," "),o=y(o,he," "));var _=e.nodeName.toLowerCase();if(nt(_,r,o))try{v?e.setAttributeNS(v,p,o):e.setAttribute(p,o),f(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,i=Qe(t);for(et("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof u&&e(n.content),it(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,i){var o=void 0,s=void 0,a=void 0,l=void 0,c=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"===U(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(ke||Ge(i),n.removed=[],"string"==typeof e&&(je=!1),je);else if(e instanceof O)1===(s=(o=Xe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Ie&&!Ee&&!De&&-1===e.indexOf("<"))return te&&Re?te.createHTML(e):e;if(!(o=Xe(e)))return Ie?null:ne}o&&Me&&Ye(o.firstChild);for(var d=Qe(je?e:o);a=d.nextNode();)3===a.nodeType&&a===l||tt(a)||(a.content instanceof u&&ot(a.content),it(a),l=a);if(l=null,je)return e;if(Ie){if(Te)for(c=ae.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return Pe&&(c=ue.call(r,c,!0)),c}var h=De?o.outerHTML:o.innerHTML;return Ee&&(h=y(h,de," "),h=y(h,he," ")),te&&Re?te.createHTML(h):h},n.setConfig=function(e){Ge(e),ke=!0},n.clearConfig=function(){Ke=null,ke=!1},n.isValidAttribute=function(e,t,n){Ke||Ge({});var i=m(e),o=m(t);return nt(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ce[e]=ce[e]||[],p(ce[e],t))},n.removeHook=function(e){ce[e]&&f(ce[e])},n.removeHooks=function(e){ce[e]&&(ce[e]=[])},n.removeAllHooks=function(){ce={}},n}()}()},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={}))},wZXL:function(e,t,n){var i=n("vPd/"),o=n("IX3V"),r=o.each,s=o.isFunction,a=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var o=this.queries,u=n&&this.browserIsIncapable;return o[e]||(o[e]=new i(e,u)),s(t)&&(t={match:t}),a(t)||(t=[t]),r(t,(function(t){s(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=u},wclG:function(e,t,n){var i=n("pFRH"),o=n("88Gu")(i);e.exports=o},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(127).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"))},x1Ya:function(e,t,n){"use strict";var i=n("jo6Y"),o=n.n(i),r=n("QbLZ"),s=n.n(r),a=n("iCc5"),u=n.n(a),l=n("FYw3"),c=n.n(l),d=n("mRg0"),h=n.n(d),f=n("q1tI"),p=n.n(f),g=n("17x9"),m=n.n(g),v=n("TSYQ"),y=n.n(v),_=n("VCL8"),b=function(e){function t(n){u()(this,t);var i=c()(this,e.call(this,n));i.handleChange=function(e){var t=i.props,n=t.disabled,o=t.onChange;n||("checked"in i.props||i.setState({checked:e.target.checked}),o&&o({target:s()({},i.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},i.saveInput=function(e){i.input=e};var o="checked"in n?n.checked:n.defaultChecked;return i.state={checked:o},i}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?s()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,i=t.className,r=t.style,a=t.name,u=t.id,l=t.type,c=t.disabled,d=t.readOnly,h=t.tabIndex,f=t.onClick,g=t.onFocus,m=t.onBlur,v=t.autoFocus,_=t.value,b=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),C=Object.keys(b).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e}),{}),w=this.state.checked,S=y()(n,i,((e={})[n+"-checked"]=w,e[n+"-disabled"]=c,e));return p.a.createElement("span",{className:S,style:r},p.a.createElement("input",s()({name:a,id:u,type:l,readOnly:d,disabled:c,tabIndex:h,className:n+"-input",checked:!!w,onClick:f,onFocus:g,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:_},C)),p.a.createElement("span",{className:n+"-inner"}))},t}(f.Component);b.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},b.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(_.polyfill)(b);var C=b;t.a=C},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(120).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(136).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(124).then(n.bind(null,"YdqL"))}})},yEoX:function(e,t,n){},yP5f:function(e,t,n){var i=n("+K+b");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},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(147).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)}))}))},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,a,o,"string"),(0,s.isEmptyValue)(t,"string")||(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o),r.default.pattern(e,t,i,a,o),!0===e.whitespace&&r.default.whitespace(e,t,i,a,o))}n(a)}},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(114).then(n.bind(null,"On+f"))}})},zSdB:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n("q1tI")),r=i(n("17x9")),s=n("6Ogq"),a=function(e,t){var n,i=t.table,r=i.props,a=r.prefixCls,u=r.expandIconAsCell,l=e.fixed,c=[];return u&&"right"!==l&&c.push(o.createElement("col",{className:"".concat(a,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===l?i.columnManager.leftLeafColumns():"right"===l?i.columnManager.rightLeafColumns():i.columnManager.leafColumns(),c=c.concat(n.map((function(e){var t=e.key,n=e.dataIndex,i=e.width,r=e[s.INTERNAL_COL_DEFINE],a=void 0!==t?t:n;return o.createElement("col",Object.assign({key:a,style:{width:i,minWidth:i}},r))}))),o.createElement("colgroup",null,c)};a.contextTypes={table:r.any},t.default=a},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(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 u(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=c(n("q1tI")),f=n("xI0J"),p=d(n("0hpf")),g=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)}(f,e);var t,n,i,c,d=(t=f,function(){var e,n=l(t);if(u()){var i=l(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function f(){var e;return o(this,f),(e=d.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,i=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!i)},e.handleExpandChange=function(t,n){var i=e.props,o=i.onExpandedChange,r=i.expanded,s=i.rowKey;e.expandable&&o(!r,t,n,s)},e.handleRowClick=function(t,n,i){var o=e.props,r=o.expandRowByClick,s=o.onRowClick;r&&e.handleExpandChange(t,i),s&&s(t,n,i)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,i=t.expanded,o=t.record,r=t.needIndentSpaced,s=t.expandIcon;return s?s({prefixCls:n,expanded:i,record:o,needIndentSpaced:r,expandable:e.expandable,onExpand:e.handleExpandChange}):h.createElement(p.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:r,expanded:i,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(h.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=f,(i=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,i=e.record;this.expandable&&t(!1,i,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,i=e.indentSize,o=e.record,r=e.fixed,s=e.expanded;this.expandIconAsCell="right"!==r&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==r?this.props.expandIconColumnIndex:-1;var a=o[t];this.expandable=!(!a&&!n);var u={indentSize:i,expanded:s,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(u)}}])&&r(n.prototype,i),c&&r(n,c),f}(h.Component);t.default=f.connect((function(e,t){var n=e.expandedRowKeys,i=void 0===n?[]:n,o=t.rowKey;return{expanded:i.includes(o)}}))(g)},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/14.fe8cf690.chunk.js b/static/js/15.4e98ff73.chunk.js similarity index 98% rename from static/js/14.fe8cf690.chunk.js rename to static/js/15.4e98ff73.chunk.js index dd7381407..1e83c2613 100644 --- a/static/js/14.fe8cf690.chunk.js +++ b/static/js/15.4e98ff73.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[14],{fhwZ:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[15],{fhwZ:function(e,t,n){"use strict";n.r(t),n.d(t,"conf",(function(){return i})),n.d(t,"language",(function(){return r}));var i={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},r={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/(ll|LL|u|U|l|L)?(ll|LL|u|U|l|L)?/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}}}}]); \ No newline at end of file diff --git a/static/js/16.6f4225dc.chunk.js b/static/js/16.6f4225dc.chunk.js new file mode 100644 index 000000000..79e3ad7ad --- /dev/null +++ b/static/js/16.6f4225dc.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 16.6f4225dc.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[16,4,5,9,14,20,73,78],{"+B/L":function(e,t,n){},"+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}()},"+K+b":function(e,t,n){var i=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},"+Qka":function(e,t,n){var i=n("fmRc"),o=n("t2Dn"),r=n("cq/+"),s=n("T1AV"),a=n("GoyQ"),u=n("mTTR"),l=n("itsj");e.exports=function e(t,n,c,d,h){t!==n&&r(n,(function(r,u){if(h||(h=new i),a(r))s(t,n,u,c,e,d,h);else{var f=d?d(l(t,u),r,u+"",t,n,h):void 0;void 0===f&&(f=r),o(t,u,f)}}),u)}},"+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(113).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)}))}))}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var i=n("dTAl"),o=n("LcsW"),r=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||r(e)?{}:i(o(e))}},"+kn0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}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=s,t.format=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=1,o=t[0],s=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var a=String(o).replace(r,(function(e){if("%%"===e)return"%";if(i>=s)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}})),u=t[i];i<s;u=t[++i])a+=" "+u;return a}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,i){if(t.first){return a(function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e),n,i)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var r=Object.keys(e),u=r.length,l=0,c=[],d=new Promise((function(t,d){var h=function(e){if(c.push.apply(c,e),++l===u)return i(c),c.length?d({errors:c,fields:s(c)}):t()};r.forEach((function(t){var i=e[t];-1!==o.indexOf(t)?a(i,n,h):function(e,t,n){var i=[],o=0,r=e.length;function s(e){i.push.apply(i,e),++o===r&&n(i)}e.forEach((function(e){t(e,s)}))}(i,n,h)}))}));return d.catch((function(e){return e})),d},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 r=t[n];"object"===(void 0===r?"undefined":o(r))&&"object"===o(e[n])?e[n]=i({},e[n],r):e[n]=r}return e};var r=/%[sdj%]/g;t.warning=function(){};function s(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 a(e,t,n){var i=0,o=e.length;!function r(s){if(s&&s.length)n(s);else{var a=i;i+=1,a<o?t(e[a],r):n([])}}([])}},"/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 N})),n.d(t,"j",(function(){return W})),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 Q}));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),y=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),_=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 O=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),x=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),L=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":_.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),N=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),E=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),D=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:_.stringSet(s.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:null!==(t=s.multipleDefinitions)&&void 0!==t?t:_.stringSet(s.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:null!==(n=s.multipleTypeDefinitions)&&void 0!==n?n:_.stringSet(s.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:null!==(i=s.multipleDeclarations)&&void 0!==i?i:_.stringSet(s.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:null!==(o=s.multipleImplementations)&&void 0!==o?o:_.stringSet(s.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:null!==(r=s.multipleReferences)&&void 0!==r?r:_.stringSet(s.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:y.string(s.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:y.string(s.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:y.string(s.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:y.string(s.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:y.string(s.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},t}(h),M=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),I=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,y=p.renderCharacters,_=c>=2?Math.round(2*p.scale):p.scale,b=0|p.maxColumn,C=e.get(78),w=0|C.verticalScrollbarSize,S=C.verticalHasArrows,O=0|C.arrowSize,x=0|C.horizontalScrollbarSize,L=e.get(48),N=e.get(30);if("string"==typeof L&&/^\d+(\.\d+)?ch$/.test(L)){var E=parseFloat(L.substr(0,L.length-2));n=m.clampedInt(E*a,0,0,1e3)}else n=m.clampedInt(L,0,0,1e3);N&&(n+=16);var D=0;if(h){var k=Math.max(s,f);D=Math.round(k*u)}var M=0;d&&(M=r);var I,T,P,R,A=0,F=A+M,j=F+D,V=j+n,W=i-M-D-n;if(g){var B=_/c;I=y?1:2,(P=Math.max(0,Math.floor((W-w-2)*B/(a+B)))+l)/B>b&&(P=Math.floor(b*B)),R=W-P,"left"===v?(T=0,A+=P,F+=P,j+=P,V+=P):T=i-P-w}else T=0,P=0,I=0,R=W;var H=S?O:0;return{width:i,height:o,glyphMarginLeft:A,glyphMarginWidth:M,lineNumbersLeft:F,lineNumbersWidth:D,decorationsLeft:j,decorationsWidth:n,contentLeft:V,contentWidth:R,renderMinimap:I,minimapLeft:T,minimapWidth:P,viewportColumn:Math.max(1,Math.floor((R-w-2)/a)),verticalScrollbarWidth:w,horizontalScrollbarHeight:x,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),P=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:_.stringSet(t.side,this.defaultValue.side,["right","left"]),showSlider:_.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 A=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),j=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),V=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 W(e){var t=e.get(73);return"editable"===t?e.get(68):"on"!==t}var B=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:_.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 Q={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 _(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 y(4,"ariaLabel",o.a("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:X(new _(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 _(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 _(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 _(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 _(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 x),extraEditorClassName:X(new y(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 L),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 _(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 y(33,"fontFamily",G.fontFamily,{description:o.a("fontFamily","Controls the font family.")})),fontInfo:X(new E),fontLigatures2:X(new N),fontSize:X(new D),fontWeight:X(new y(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 M),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 P),lineNumbers:X(new V),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 _(53,"matchBrackets","always",["always","near","never"],{description:o.a("matchBrackets","Highlight matching brackets.")})),minimap:X(new R),mouseStyle:X(new _(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 _(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 A),peekWidgetDefaultFocus:X(new _(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 j),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 _(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 _(73,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:X(new _(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 B),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 _(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 _(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 _(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 _(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 y(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 _(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 y(98,"wordWrapBreakAfterCharacters"," \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:X(new y(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 _(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 O),pixelRatio:X(new F),tabFocusMode:X(new K),layoutInfo:X(new I),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(120).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(){}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("o/2+"),u=n("H84U");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}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}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 h(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},b=o.oneOfType([o.object,o.number]),C=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,r,b=(t=C,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function C(){var e;return h(this,C),(e=b.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,r=m(e).props,u=r.prefixCls,h=r.span,f=r.order,p=r.offset,g=r.push,v=r.pull,y=r.className,b=r.children,C=_(r,["prefixCls","span","order","offset","push","pull","className","children"]),w=o("col",u),S={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},i=r[e];"number"==typeof i?n.span=i:"object"===d(i)&&(n=i||{}),delete C[e],S=c(c({},S),(l(t={},"".concat(w,"-").concat(e,"-").concat(n.span),void 0!==n.span),l(t,"".concat(w,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),l(t,"".concat(w,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),l(t,"".concat(w,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),l(t,"".concat(w,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var O=s()(w,(l(n={},"".concat(w,"-").concat(h),void 0!==h),l(n,"".concat(w,"-order-").concat(f),f),l(n,"".concat(w,"-offset-").concat(p),p),l(n,"".concat(w,"-push-").concat(g),g),l(n,"".concat(w,"-pull-").concat(v),v),n),y,S);return i.createElement(a.a.Consumer,null,(function(e){var t=e.gutter,n=C.style;return t&&(n=c(c(c({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),n)),i.createElement("div",c({},C,{style:n,className:O}),b)}))},e}return n=C,(o=[{key:"render",value:function(){return i.createElement(u.a,null,this.renderCol)}}])&&f(n.prototype,o),r&&f(n,r),C}(i.Component);C.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:b,sm:b,md:b,lg:b,xl:b,xxl:b}},"0Cz8":function(e,t,n){var i=n("Xi7e"),o=n("ebwN"),r=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof i){var s=n.__data__;if(!o||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new r(s)}return n.set(e,t),this.size=n.size,this}},"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}},"0hpf":function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(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 u(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=c(n("q1tI")),f=d(n("Gytx")),p=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)}(p,e);var t,n,i,c,d=(t=p,function(){var e,n=l(t);if(u()){var i=l(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function p(){return o(this,p),d.apply(this,arguments)}return n=p,(i=[{key:"shouldComponentUpdate",value:function(e){return!f.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,i=e.onExpand,o=e.needIndentSpaced,r=e.expanded,s=e.record;if(t){var a=r?"expanded":"collapsed";return h.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(a),onClick:function(e){return i(s,e)}})}return o?h.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&r(n.prototype,i),c&&r(n,c),p}(h.Component);t.default=p},"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 O})),n.d(t,"CoreNavigationCommands",(function(){return L})),n.d(t,"CoreEditingCommands",(function(){return N}));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),y=u.a.visibleColumnFromColumn2(e,t,new l.a(g,m)),_=u.a.visibleColumnFromColumn2(e,t,new l.a(g,v));if(h){if(y>r)continue;if(_<i)continue}if(d){if(_>i)continue;if(y<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,y=r.lineNumber;if(i.selectionStart.containsPosition(r))v=i.selectionStart.endColumn;else if(r.isBeforeOrEqual(i.selectionStart.getStartPosition())){v=d;var _=new l.a(y,v);i.selectionStart.containsPosition(_)&&(v=i.selectionStart.endColumn)}else{v=h;_=new l.a(y,v);i.selectionStart.containsPosition(_)&&(v=i.selectionStart.startColumn)}return i.move(!0,y,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=y([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=y([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=y([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=y([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 y(e){return e.filter((function(e){return Boolean(e)}))}var _,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=_||(_={})).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,O,x,L,N,E,D,k=n("GR/f"),M=n("iuje"),I=n("wQH0"),T=n("T8No"),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)}}(),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditorCommand(i,n||{})},t}(s.c);function A(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}},(x=O||(O={})).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"]}}}}]},x.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 P(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 P(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 P(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:I.a.textInputFocus,primary:3599,linux:{primary:0}}})||this}return P(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:I.a.textInputFocus,primary:3601,linux:{primary:0}}})||this}return P(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 P(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:I.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:I.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 P(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:I.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:I.a.textInputFocus,primary:3596,linux:{primary:0}}}));var r=function(e){function t(){return e.call(this,{id:"cursorMove",precondition:void 0,description:_.description})||this}return P(t,e),t.prototype.runCoreEditorCommand=function(e,t){var n=_.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 P(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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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:I.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 P(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 P(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 P(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:I.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:I.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:I.a.textInputFocus,primary:0,mac:{primary:287}}})||this}return P(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 P(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:I.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:I.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:I.a.textInputFocus,primary:0,mac:{primary:291}}})||this}return P(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 P(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:I.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:I.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 P(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:I.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:I.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 P(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:I.a.textInputFocus,primary:2064,mac:{primary:267}}})||this}return P(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:I.a.textInputFocus,primary:2059,win:{primary:523},linux:{primary:523}}})||this}return P(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:I.a.textInputFocus,primary:2066,mac:{primary:268}}})||this}return P(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:I.a.textInputFocus,primary:2060,win:{primary:524},linux:{primary:524}}})||this}return P(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 P(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 P(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 y=function(e){function t(t){var n=e.call(this,t)||this;return n._inSelectionMode=t.inSelectionMode,n}return P(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 y({inSelectionMode:!1,id:"_lineSelect",precondition:void 0})),e.LineSelectDrag=Object(s.f)(new y({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 P(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:I.a.textInputFocus,primary:2090}})||this}return P(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:I.a.hasNonEmptySelection,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:9,secondary:[1033]}})||this}return P(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:I.a.hasMultipleSelections,kbOpts:{weight:1,kbExpr:I.a.textInputFocus,primary:9,secondary:[1033]}})||this}return P(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:O.description})||this}return P(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 O.RawAtArgument.Top:s=3;break;case O.RawAtArgument.Center:s=1;break;case O.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 P(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 P(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[u.d.fromModelSelection(t.selection)])},t}(R)))}(L||(L={})),E=N||(N={}),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(s.c),E.CoreEditingCommand=D,E.LineBreakInsert=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return P(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}(D))),E.Outdent=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:1026}})||this}return P(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}(D))),E.Tab=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:T.a.and(I.a.editorTextFocus,I.a.tabDoesNotMoveFocus),primary:2}})||this}return P(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}(D))),E.DeleteLeft=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return P(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}(D))),E.DeleteRight=Object(s.f)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return P(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}(D)));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 P(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),j=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 P(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 V(e,t){A(new j("default:"+e,e)),A(new j(e,e,t))}A(new F({editorHandler:L.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:I.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}})),A(new F({editorHandler:M.b.Undo,inputHandler:"undo",id:M.b.Undo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:o.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),A(new j("default:"+M.b.Undo,M.b.Undo)),A(new F({editorHandler:M.b.Redo,inputHandler:"redo",id:M.b.Redo,precondition:I.a.writable,kbOpts:{weight:0,kbExpr:I.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}})),A(new j("default:"+M.b.Redo,M.b.Redo)),V(M.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),V(M.b.ReplacePreviousChar),V(M.b.CompositionStart),V(M.b.CompositionEnd),V(M.b.Paste),V(M.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(102).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}()},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=n("q1tI"),r=a(o),s=a(n("dF3D"));function a(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 l(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 u(this,t),l(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),i(t,[{key:"render",value:function(){var e=this.props._html;return r.default.createElement("div",{className:"none_panels"},r.default.createElement("div",null,r.default.createElement("img",{src:s.default,alt:""}),r.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},"2MPD":function(e,t,n){},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,i,o,r,s,a){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,i,o,r,s,a],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2Tsy":function(e,t,n){},"2V9f":function(e,t,n){},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2mql":function(e,t,n){"use strict";var i=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},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return i.isMemo(e)?s:a[e.$$typeof]||o}a[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[i.Memo]=s;var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,i){if("string"!=typeof n){if(p){var o=f(n);o&&o!==p&&e(t,o,i)}var s=c(n);d&&(s=s.concat(d(n)));for(var a=u(t),g=u(n),m=0;m<s.length;++m){var v=s[m];if(!(r[v]||i&&i[v]||g&&g[v]||a&&a[v])){var y=h(n,v);try{l(t,v,y)}catch(e){}}}}return t}},"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}))},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("diRs")),o=d(n("W9HT")),r=d(n("5rEg")),s=d(n("14Xm")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("Aosp"),n("04bd"),n("1vPl");var u=n("q1tI"),l=d(u);n("C5VC");var c=n("tnhM");function d(e){return e&&e.__esModule?e:{default:e}}function h(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function i(o,r){try{var s=t[o](r),a=s.value}catch(e){return void n(e)}if(!s.done)return Promise.resolve(a).then((function(e){i("next",e)}),(function(e){i("throw",e)}));e(a)}("next")}))}}t.default=function(e){var t,n,d=(t=h(s.default.mark((function e(t,n){var i;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.getBranch)(t,n);case 2:i=e.sent,U(i),Y(i),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),f=(n=h(s.default.mark((function e(t,n){var i;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.getTag)(t,n);case 2:i=e.sent,U(i),Y(i),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),p=e.projectsId,g=e.branch,m=e.owner,v=e.changeBranch,y=e.branchList,_=e.tagflag,b=void 0===_||_,C=(0,u.useState)(g),w=a(C,2),S=w[0],O=w[1],x=(0,u.useState)(void 0),L=a(x,2),N=L[0],E=L[1],D=(0,u.useState)(0),k=a(D,2),M=k[0],I=k[1],T=(0,u.useState)(!0),P=a(T,2),R=P[0],A=P[1],F=(0,u.useState)(!1),j=a(F,2),V=j[0],W=j[1],B=(0,u.useState)(void 0),H=a(B,2),z=H[0],U=H[1],K=(0,u.useState)(void 0),q=a(K,2),G=q[0],Y=q[1];function Z(e){I(e),A(!0),0===e?d(p,m):f(p,m)}(0,u.useEffect)((function(){O(g)}),[g]),(0,u.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||W(!1)}))})),(0,u.useEffect)((function(){y&&(U(y),Y(y),A(!1))}),[y]);var X=l.default.createElement("div",null,l.default.createElement("div",{className:"padding10 bor-bottom-greyE"},l.default.createElement(r.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:N,onChange:function(e){E(e.target.value);var t=e.target.value?z&&z.length>0&&z.filter((function(t){return t.name.indexOf(e.target.value)>-1})):z;Y(t)},style:{width:"220px"}}),l.default.createElement("ul",{className:"navUl"},l.default.createElement("li",{className:0===M?"navli active":"navli",onClick:function(){return Z(0)}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),b&&l.default.createElement("li",{className:1===M?"navli active":"navli",onClick:function(){return Z(1)}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),l.default.createElement(o.default,{spinning:R},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},G&&G.length>0?G.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void v(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})):l.default.createElement("p",{className:"listTips"},"暂无",N,0===M?"分支":"标签","~"))));return l.default.createElement(i.default,{placement:"bottom",visible:V,content:X,onClick:function(){return W(!V)},overlayClassName:"branch-tagBox-list"},l.default.createElement("div",{className:"branch-tagBox"},l.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===M?"分支":"标签",":"),l.default.createElement("a",{className:"ant-dropdown-link"},S),l.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},"3L66":function(e,t,n){var i=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&i(e)}},"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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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&&f(e,t)}(u,e);var t,n,o,a=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),y(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);_.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},_.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=_;t.default=b},"4rho":function(e,t,n){},"4sDh":function(e,t,n){var i=n("4uTw"),o=n("03A+"),r=n("Z0cm"),s=n("wJg7"),a=n("shjB"),u=n("9Nap");e.exports=function(e,t,n){for(var l=-1,c=(t=i(t,e)).length,d=!1;++l<c;){var h=u(t[l]);if(!(d=null!=e&&n(e,h)))break;e=e[h]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&a(c)&&s(h,c)&&(r(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"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}()},"5Tg0":function(e,t,n){(function(e){var i=n("Kz5y"),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=r&&r.exports===o?i.Buffer:void 0,a=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("YuTi")(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 y(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 _(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 y})),n.d(t,"a",(function(){return _}))},"6Ogq":function(e,t,n){"use strict";var i,o;Object.defineProperty(t,"__esModule",{value:!0});var r={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,s=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var a="vertical"===n;if(a&&i)return i;if(!a&&o)return o;var u=document.createElement("div");Object.keys(r).forEach((function(e){u.style[e]=r[e]})),u.className="".concat(s,"-hide-scrollbar scroll-div-append-to-body"),a?u.style.overflowY="scroll":u.style.overflowX="scroll",document.body.appendChild(u);var l=0;return a?(l=u.offsetWidth-u.clientWidth,i=l):(l=u.offsetHeight-u.clientHeight,o=l),document.body.removeChild(u),l},t.debounce=function(e,t,n){var i;function o(){for(var o=arguments.length,r=new Array(o),s=0;s<o;s++)r[s]=arguments[s];var a=this;r[0]&&r[0].persist&&r[0].persist();var u=function(){i=null,n||e.apply(a,r)},l=n&&!i;clearTimeout(i),i=setTimeout(u,t),l&&e.apply(a,r)}return o.cancel=function(){i&&(clearTimeout(i),i=null)},o},t.remove=function(e,t){var n=e.indexOf(t),i=e.slice(0,n),o=e.slice(n+1,e.length);return i.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n("wCXF")),r=i(n("BC81"));t.Column=r.default;var s=i(n("AHJs"));t.ColumnGroup=s.default;var a=n("6Ogq");t.INTERNAL_COL_DEFINE=a.INTERNAL_COL_DEFINE,t.default=o.default},"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)}},"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 y})),n.d(t,"m",(function(){return _})),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 O}));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 y(e){return typeof e===a}function _(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(y(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 O(e){return void 0===e?null:e}},"77Zs":function(e,t,n){var i=n("Xi7e");e.exports=function(){this.__data__=new i,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"7zd4":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,i=0;return function(){var o=n(),r=16-(o-i);if(i=o,r>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"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 ky})),n.d(t,"Emitter",(function(){return My})),n.d(t,"KeyCode",(function(){return Iy})),n.d(t,"KeyMod",(function(){return Ty})),n.d(t,"Position",(function(){return Py})),n.d(t,"Range",(function(){return Ry})),n.d(t,"Selection",(function(){return Ay})),n.d(t,"SelectionDirection",(function(){return Fy})),n.d(t,"MarkerSeverity",(function(){return jy})),n.d(t,"MarkerTag",(function(){return Vy})),n.d(t,"Uri",(function(){return Wy})),n.d(t,"Token",(function(){return By})),n.d(t,"editor",(function(){return Hy})),n.d(t,"languages",(function(){return zy}));var i,o,r,s,a,u,l,c,d,h,f,p,g,m,v,y,_,b,C,w,S,O,x,L,N,E,D,k,M,I,T,P,R,A,F=n("/UlZ"),j=(n("URDS"),n("JQT/")),V=n("MI8n"),W=n("/kV6"),B=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",_[_.Info=2]="Info",_[_.Warning=4]="Warning",_[_.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"}(O||(O={})),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"}(x||(x={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(L||(L={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(N||(N={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(E||(E={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(D||(D={})),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"}(M||(M={})),function(e){e[e.Deprecated=1]="Deprecated"}(I||(I={})),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"}(P||(P={})),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"}(A||(A={}));var q=function(){function e(){}return e.chord=function(e,t){return Object(W.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:j.a,Emitter:V.a,KeyCode:v,KeyMod:q,Position:H.a,Range:z.a,Selection:U.a,SelectionDirection:D,MarkerSeverity:y,MarkerTag:b,Uri:B.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function Q(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 B.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 J,$=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}}(J||(J={}));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 B.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())}))},ye=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])}}},_e=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 ye(this,(function(i){switch(i.label){case 0:if(!fe(e,$.b.command))return[2,!1];if("string"==typeof e&&(e=B.a.parse(e)),!ae.a.getCommand(e.path))throw new Error("command '"+e.path+"' NOT known");t=[];try{t=Q(decodeURIComponent(e.query))}catch(n){try{t=Q(e.query)}catch(e){}}return Array.isArray(t)||(t=[t]),[4,(n=this._commandService).executeCommand.apply(n,_e([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 ye(this,(function(o){switch(o.label){case 0:return"string"==typeof e&&(e=B.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?B.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 ye(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 ye(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 ye(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 ye(this,(function(o){switch(o.label){case 0:return n="string"==typeof e?B.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"),Oe=n("qj0h"),xe=(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)}),Le={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0},Ne=function(e){function t(t,n){void 0===n&&(n={});var i=e.call(this)||this;return i._onDidUpdate=i._register(new V.a),i._editor=t,i._options=Oe.d(n,Le,!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 xe(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),Ee=new(function(){function e(){this._zoomLevel=0,this._onDidChangeZoomLevel=new V.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}()),De=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,Me=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*Ee.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}(),Ie=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 De(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}(Me),Te=n("iuje"),Pe=n("M1Kb"),Re=n("twdY"),Ae=n("i/Ef"),Fe=Object(ue.c)("editorWorkerService"),je=n("t49l"),Ve=n("X+cX"),We=n("/cxE"),Be=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(We.f)(e.detail)),t._send({vsWorker:t._workerId,seq:s,res:void 0,err:Object(We.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=Be.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(Be.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=Be.b(i,(function(e,t){return o._protocol.sendMessage(e,t)}));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(r),Promise.resolve(Be.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(Be.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"),Qe=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 Je(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Je(149417,t);for(var n=0,i=e.length;n<i;n++)t=Je(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 Qe(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 Qe(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Qe(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 Qe(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 Qe(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,O=-1073741824,x=this.m_forwardHistory.length-1;do{(D=S+e)===C||D<w&&u[D-1]<u[D+1]?(f=(c=u[D+1])-S-i,c<O&&b.MarkNextChange(),O=c,b.AddModifiedElement(c+1,f),S=D+1-e):(f=(c=u[D-1]+1)-S-i,c<O&&b.MarkNextChange(),O=c-1,b.AddOriginalElement(c,f+1),S=D-1-e),x>=0&&(e=(u=this.m_forwardHistory[x])[0],C=1,w=u.length-1)}while(--x>=-1);if(y=b.getReverseChanges(),v[0]){var L=h[0]+1,N=g[0]+1;if(null!==y&&y.length>0){var E=y[y.length-1];L=Math.max(L,E.getOriginalEnd()),N=Math.max(N,E.getModifiedEnd())}_=[new Qe(L,d-L+1,N,p-N+1)]}else{b=new ot,C=r,w=s,S=h[0]-g[0]-a,O=1073741824,x=m?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var D;(D=S+o)===C||D<w&&l[D-1]>=l[D+1]?(f=(c=l[D+1]-1)-S-a,c>O&&b.MarkNextChange(),O=c+1,b.AddOriginalElement(c+1,f+1),S=D+1-o):(f=(c=l[D-1])-S-a,c>O&&b.MarkNextChange(),O=c,b.AddModifiedElement(c+1,f+1),S=D-1-o),x>=0&&(o=(l=this.m_reverseHistory[x])[0],C=1,w=l.length-1)}while(--x>=-1);_=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,y=t-e,_=e-n,b=t-i,C=(y-v)%2==0;g[v]=e,m[y]=t,s[0]=!1;for(var w=1;w<=f/2+1;w++){var S=0,O=0;l=this.ClipDiagonalBound(v-w,w,v,p),c=this.ClipDiagonalBound(v+w,w,v,p);for(var x=l;x<=c;x+=2){u=(a=x===l||x<c&&g[x-1]<g[x+1]?g[x+1]:g[x-1]+1)-(x-v)-_;for(var L=a;a<t&&u<i&&this.ElementsAreEqual(a+1,u+1);)a++,u++;if(g[x]=a,a+u>S+O&&(S=a,O=u),!C&&Math.abs(x-y)<=w-1&&a>=m[x])return o[0]=a,r[0]=u,L<=m[x]&&w<=1448?this.WALKTRACE(v,l,c,_,y,d,h,b,g,m,a,t,o,u,i,r,C,s):null}var N=(S-e+(O-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,N))return s[0]=!0,o[0]=S,r[0]=O,N>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 Qe(e,t-e+1,n,i-n+1)]);d=this.ClipDiagonalBound(y-w,w,y,p),h=this.ClipDiagonalBound(y+w,w,y,p);for(x=d;x<=h;x+=2){u=(a=x===d||x<h&&m[x-1]>=m[x+1]?m[x+1]-1:m[x-1])-(x-y)-b;for(L=a;a>e&&u>n&&this.ElementsAreEqual(a,u);)a--,u--;if(m[x]=a,C&&Math.abs(x-v)<=w&&a<=g[x])return o[0]=a,r[0]=u,L>=g[x]&&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 E=new Int32Array(c-l+2);E[0]=v-l+1,it.Copy2(g,l,E,1,c-l+1),this.m_forwardHistory.push(E),(E=new Int32Array(h-d+2))[0]=y-d+1,it.Copy2(m,d,E,1,h-d+1),this.m_reverseHistory.push(E)}}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 Qe(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),y=pt(p,1),_=f.length+1,b=p.length+1;v<_&&y<b;){if(f.charCodeAt(v-1)!==f.charCodeAt(y-1))break;v++,y++}(v<_||y<b)&&this._pushTrimWhitespaceCharChange(s,a+1,v,_,u+1,y,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},yt=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}(),_t=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 yt(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}(),Ot=null;var xt=null;var Lt=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===Ot&&(Ot=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=Ot);for(var i=function(){if(null===xt){xt=new Ct.a(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)xt.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)xt.set(".,;".charCodeAt(e),2)}return xt}(),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 y=void 0;switch(v){case 40:f=!0,y=0;break;case 41:y=f?0:1;break;case 91:p=!0,y=0;break;case 93:y=p?0:1;break;case 123:g=!0,y=0;break;case 125:y=g?0:1;break;case 39:y=34===d||96===d?0:1;break;case 34:y=39===d||96===d?0:1;break;case 96:y=39===d||34===d?0:1;break;case 42:y=42===d?1:0;break;case 124:y=124===d?1:0;break;default:y=i.get(v)}1===y&&(o.push(e._createLink(i,a,r,c,l)),m=!0)}else if(12===h){y=void 0;91===v?(p=!0,y=0):y=i.get(v),1===y?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 Nt(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Lt.computeLinks(e):[]}var Et=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}(),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)}}(),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())}))},Mt=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])}}},It=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Dt(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}(_t),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 It(B.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 Mt(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 Mt(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],y=i.positionAt(p+v.originalStart),_=i.positionAt(p+v.originalStart+v.originalLength),b={text:c.substr(v.modifiedStart,v.modifiedLength),range:{startLineNumber:y.lineNumber,startColumn:y.column,endLineNumber:_.lineNumber,endColumn:_.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 Mt(this,(function(n){return(t=this._getModel(e))?[2,Nt(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 Mt(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 Mt(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 Mt(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,Et.INSTANCE.navigateValueSet(t,a,u,l,n)]):[2,null]):[2,null]}))}))},e.prototype.loadForeignModule=function(e,t,n){var i=this,o={host:Be.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(Be.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 Pt,Rt=n("G2kB"),At=Object(ue.c)("textResourceConfigurationService"),Ft=Object(ue.c)("textResourcePropertiesService"),jt=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"}(Pt||(Pt={}));var Vt=function(){function e(){}return e.prototype.getLevel=function(){return Pt.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}(),Wt=n("5Y4S"),Bt=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 Bt(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=Wt.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,At),zt(2,jt)],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 Ve.c).cancelAndSet((function(){return n._checkStopIdleWorker()}),Math.round(15e4)),n._register(n._modelService.onModelRemoved((function(e){return n._checkStopEmptyWorker()}))),n}return Bt(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 Ve.c;r.cancelAndSet((function(){return o._checkStopModelSync()}),Math.round(3e4)),o._register(r)}return o}return Bt(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),Qt=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}(),Jt=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 Bt(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 Jt(this)))}catch(e){Ue(e),this._worker=new Qt(new Tt(new Jt(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 Qt(new Tt(new Jt(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?Be.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,y=new pn(s+1,u.length),_=0,b=d,C=0,w=0,S=0;t.appendASCIIString("<span>");for(var O=0,x=u.length;O<x;O++){S+=w;var L=u[O],N=L.endIndex,E=L.type,D=0!==g&&E.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(E),t.appendASCII(34),D){for(var k=0,M=_,I=b;M<N;M++){var T=r.charCodeAt(M);k+=P=0|(9===T?c-I%c:1),M>=l&&(I+=P)}if(!n)!("vs-whitespace"===E)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);_<N;_++){y.setPartData(_,O,C,S);T=r.charCodeAt(_);var P=void 0;if(9===T){P=c-b%c|0,!i||P>1?t.write1(8594):t.write1(65515);for(var R=2;R<=P;R++)t.write1(160)}else P=1,t.write1(v);C+=P,_>=l&&(b+=P)}w=k}else{k=0;for(h&&t.appendASCIIString(' dir="ltr"'),t.appendASCII(62);_<N;_++){y.setPartData(_,O,C,S);T=r.charCodeAt(_);var A=1;P=1;switch(T){case 9:P=A=c-b%c;for(R=1;R<=A;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)&&P++,m&&T<32?t.write1(9216+T):t.write1(T)}C+=A,k+=A,_>=l&&(b+=P)}w=k}t.appendASCIIString("</span>")}y.setPartData(s,u.length-1,C,S),a&&t.appendASCIIString("<span>…</span>");return t.appendASCIIString("</span>"),new gn(y,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 y=!1,_=0,b=u&&u[_],C=s%r,w=o;w<t;w++){var S=e.charCodeAt(w);b&&w>=b.endOffset&&(_++,b=u&&u[_]);var O=void 0;if(w<v||w>c)O=!0;else if(9===S)O=!0;else if(32===S)if(l)if(y)O=!0;else{var x=w+1<t?e.charCodeAt(w+1):0;O=32===x||9===x}else O=!0;else O=!1;O&&u&&(O=!!b&&b.startOffset<=w&&b.endOffset>w),y?(!O||!a&&C>=r)&&(d[h++]=new dn(w,"vs-whitespace"),C%=r):(w===g||O&&w>o)&&(d[h++]=new dn(w,p),C%=r),9===S?C=r:ne.w(S)?C+=2:C++,y=O,w===g&&++f<m&&(p=i[f].type,g=i[f].endIndex)}var L=!1;if(y)if(n&&l){var N=t>0?e.charCodeAt(t-1):0,E=t>1?e.charCodeAt(t-2):0;32===N&&32!==E&&9!==E||(L=!0)}else L=!0;return d[h++]=new dn(t,L?"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 _n(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 yn(e){var t=tn(1e4),n=mn(e,t);return new vn(n.characterMapping,t.build(),n.containsRTL,n.containsForeignElements)}var _n=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}(),On=function(e,t,n){this.range=e,this.inlineClassName=t,this.type=n},xn=function(e,t){this.range=e,this.options=t};function Ln(e){return!function(e){return Array.isArray(e)}(e)}function Nn(e){return"string"==typeof e}function En(e){return!Nn(e)}function Dn(e){return!e}function kn(e,t){return e.ignoreCase&&t?t.toLowerCase():t}function Mn(e){return e.replace(/[&<>'"_]/g,"-")}function In(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 Dn(a)?Dn(u)?!Dn(l)&&l<i.length?kn(e,i[l]):!Dn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!Dn(c)&&c<r.length?kn(e,r[c]):""):kn(e,n):"$"}))}function Pn(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 An(e,t);var n=An.getStackElementId(e);n.length>0&&(n+="|"),n+=t;var i=this._entries[n];return i||(i=new An(e,t),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),An=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}(),jn=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 Vn(e,t);if(null!==e&&e.depth>=this._maxCacheDepth)return new Vn(e,t);var n=An.getStackElementId(e),i=this._entries[n];return i||(i=new Vn(e,null),this._entries[n]=i,i)},e._INSTANCE=new e(5),e}(),Vn=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:jn.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}(),Wn=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}(),Bn=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 jn.create(e,null)},e.prototype.tokenize=function(e,t,n){var i=new Wn,o=this._tokenize(e,t,n,i);return i.finalize(o)},e.prototype.tokenize2=function(e,t,n){var i=new Bn(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=Pn(this._lexer,t.stack.state)))throw In(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(En(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 In(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 jn.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,y=null,_=null,b=null;if(c){m=c.matches;var C=c.groups.shift();v=C.matched,y=C.action,_=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=Pn(this._lexer,g)))throw In(this._lexer,"tokenizer state is not defined: "+g);for(var S=e.substr(l),O=0,x=w;O<x.length;O++){var L=x[O];if((0===l||!L.matchOnlyAtLineStart)&&(m=S.match(L.regex))){v=m[0],y=L.action;break}}}if(m||(m=[""],v=""),y||(l<s&&(v=(m=[e.charAt(l)])[0]),y=this._lexer.defaultToken),null===v)break;for(l+=v.length;Ln(y)&&En(y)&&y.test;)y=y.test(v,m,g,l===s);var N=null;if("string"==typeof y||Array.isArray(y))N=y;else if(y.group)N=y.group;else if(null!==y.token&&void 0!==y.token){if(N=y.tokenSubst?Tn(this._lexer,y.token,v,m,g):y.token,y.nextEmbedded)if("@pop"===y.nextEmbedded){if(!a)throw In(this._lexer,"cannot pop embedded mode if not inside one");a=null}else{if(a)throw In(this._lexer,"cannot enter embedded mode from within an embedded mode");b=Tn(this._lexer,y.nextEmbedded,v,m,g)}if(y.goBack&&(l=Math.max(0,l-y.goBack)),y.switchTo&&"string"==typeof y.switchTo){if("@"===(E=Tn(this._lexer,y.switchTo,v,m,g))[0]&&(E=E.substr(1)),!Pn(this._lexer,E))throw In(this._lexer,"trying to switch to a state '"+E+"' that is undefined in rule: "+this._safeRuleName(_));u=u.switchTo(E)}else{if(y.transform&&"function"==typeof y.transform)throw In(this._lexer,"action.transform not supported");if(y.next)if("@push"===y.next){if(u.depth>=this._lexer.maxStack)throw In(this._lexer,"maximum tokenizer stack size reached: ["+u.state+","+u.parent.state+",...]");u=u.push(g)}else if("@pop"===y.next){if(u.depth<=1)throw In(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(_));u=u.pop()}else if("@popall"===y.next)u=u.popall();else{var E;if("@"===(E=Tn(this._lexer,y.next,v,m,g))[0]&&(E=E.substr(1)),!Pn(this._lexer,E))throw In(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(_));u=u.push(E)}}y.log&&"string"==typeof y.log&&(o=this._lexer,r=this._lexer.languageId+": "+Tn(this._lexer,y.log,v,m,g),console.log(o.languageId+": "+r))}if(null===N)throw In(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(_));if(Array.isArray(N)){if(c&&c.groups.length>0)throw In(this._lexer,"groups cannot be nested: "+this._safeRuleName(_));if(m.length!==N.length+1)throw In(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(_));for(var D=0,k=1;k<m.length;k++)D+=m[k].length;if(D!==v.length)throw In(this._lexer,"with groups, all characters should be matched in consecutive groups in rule: "+this._safeRuleName(_));c={rule:_,matches:m,groups:[]};for(k=0;k<N.length;k++)c.groups[k]={action:N[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===N&&(l-=v.length,v="",m=null,N=""),0===v.length){if(0===s||f!==u.depth||g!==u.state||(c?c.groups.length:0)!==p)continue;throw In(this._lexer,"no progress in tokenizer in rule: "+this._safeRuleName(_))}var M=null;if(Nn(N)&&0===N.indexOf("@brackets")){var I=N.substr("@brackets".length),T=zn(this._lexer,v);if(!T)throw In(this._lexer,"@brackets token returned but no bracket defined as: "+v);M=Mn(T.token+I)}else{M=Mn(""===N?"":N+this._lexer.tokenPostfix)}if(i.emit(h+n,M),null!==b){var P=this._modeService.getModeIdForLanguageName(b);P&&(b=P);var R=this._getNestedEmbeddedModeData(b);if(l<s){S=e.substr(l);return this._nestedTokenize(S,jn.create(u,R),n+l,i)}return jn.create(u,R)}}}return jn.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||Ae.b,Ae.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 Ve.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 yn(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=yn(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=yn(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"),Qn=n("3Rsk"),Jn=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(Qn.a.JSONContribution),ai=function(){function e(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new V.a,this._onDidUpdateConfiguration=new V.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=Be.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;Be.k(a)&&(s.default=li(s.type)),ui.test(r)?s.scope=void 0:s.scope=Be.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(Jn.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 V.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}()),yi=Object.hasOwnProperty,_i=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 _i,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=Oe.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,Oi=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidChange=i._register(new V.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(Ee.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=Me.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(yi.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=Oe.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),xi=Object.freeze({id:"editor",order:5,type:"object",title:Zn.a("editorConfigurationTitle","Editor"),scope:5}),Li=Xn.a.as($n),Ni=mi(mi({},xi),{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 Ei=0,Di=F.i;Ei<Di.length;Ei++){var ki=Di[Ei],Mi=ki.schema;if(void 0!==Mi)if(void 0!==(Si=Mi).type||void 0!==Si.anyOf)Ni.properties["editor."+ki.name]=Mi;else for(var Ii in Mi)yi.call(Mi,Ii)&&(Ni.properties[Ii]=Mi[Ii])}var Ti=null;function Pi(){return null===Ti&&(Ti=Object.create(null),Object.keys(Ni.properties).forEach((function(e){Ti[e]=!0}))),Ti}Li.registerConfiguration(Ni);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}(),Ai=Object(ue.c)("configurationService");function Fi(e,t){var n=Object.create(null);for(var i in e)ji(n,i,e[i],t);return n}function ji(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 Vi(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 Wi(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 Bi(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?Wi(this.contents,e):this.contents},e.prototype.getOverrideValue=function(e,t){var n=this.getContentsForOverrideIdentifer(t);return n?e?Wi(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=Oe.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=Oe.a(this.contents),o=Oe.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(Oe.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&&Be.i(e[o])&&Be.i(t[o])?this.mergeContents(e[o],t[o]):e[o]=Oe.a(t[o])}},e.prototype.checkAndFreeze=function(e){return this.isFrozen&&!Object.isFrozen(e)?Oe.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),ji(this.contents,e,t,(function(e){throw new Error(e)}))},e.prototype.removeValue=function(e){this.removeKey(e)&&Vi(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){ji(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:[Bi(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 Jn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Jn.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 Jn.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 V.a),r._currentChord=null,r._currentChordChecker=new Ve.c,r._currentChordStatusMessage=null,r}return Gi(t,e),Object.defineProperty(t.prototype,"onDidUpdateKeybindings",{get:function(){return this._onDidUpdateKeybindings?this._onDidUpdateKeybindings.event:V.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}(),Qi=n("nrhi"),Ji=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(We.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 W.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}(W.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 W.b.toString(e)},t.prototype._getLabel=function(e){return e.isDuplicateModifierCase()?"":this._keyCodeToUILabel(e.keyCode)},t.prototype._getAriaLabel=function(e){return e.isDuplicateModifierCase()?"":W.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+=W.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&&B.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=Jn.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=Jn.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,yo,_o,bo,Co,wo,So,Oo,xo=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?B.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..."),(yo=vo||(vo={})).ariaLabelEntryWithKey=Zn.a("ariaLabelEntryWithKey","{0}, {1}, commands"),yo.ariaLabelEntry=Zn.a("ariaLabelEntry","{0}, commands"),yo.quickCommandActionInput=Zn.a("quickCommandActionInput","Type the name of an action you want to execute"),yo.quickCommandActionLabel=Zn.a("quickCommandActionLabel","Command Palette"),(bo=_o||(_o={})).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"),(Oo||(Oo={})).bulkEditServiceSummary=Zn.a("bulkEditServiceSummary","Made {0} edits in {1} files");var Lo=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)}}(),No=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},Eo=function(e,t){return function(n,i){t(n,i,e)}},Do=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 V.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 Mo(e,t,n){return(i=e)&&"function"==typeof i.getEditorType&&i.getEditorType()===Te.a.ICodeEditor?t(e):n(e);var i}var Io=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=Mo(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}(),Po=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}(),Ao=function(){function e(e){this._onWillExecuteCommand=new V.a,this._onDidExecuteCommand=new V.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,Do([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 Lo(t,e),t.prototype.addDynamicKeybinding=function(e,t,n,i){var o=this,r=Object(W.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 Ao))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(Qi.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 Ji(d,s.command,s.commandArgs,a,t)}else n[i++]=new Ji(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 W.e(e.ctrlKey,e.shiftKey,e.altKey,e.metaKey,e.keyCode).toChord();return new uo(t,ie.a)},t}(Yi);function jo(e){return e&&"object"==typeof e&&(!e.overrideIdentifier||"string"==typeof e.overrideIdentifier)&&(!e.resource||e.resource instanceof B.a)}var Vo=function(){function e(){this._onDidChangeConfiguration=new V.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=jo(e)?e:jo(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}(),Wo=function(){function e(e){var t=this;this.configurationService=e,this._onDidChangeConfiguration=new V.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}(),Bo=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=No([Eo(0,Ai)],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=B.a.from({scheme:e.SCHEME,authority:"model",path:"/"});this.workspace={id:"4064f6ec-cb38-4ad0-af64-ee6467e63c82",folders:[new xo({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 Vo&&Object.keys(t).forEach((function(i){(function(e){return Pi()["editor."+e]||!1})(i)&&e.updateValue("editor."+i,t[i]),n&&function(e){return Pi()["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(Oo.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=V.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}()),Qo=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 Jo=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 Jo(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 V.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 Ie({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),y=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 Qo(e,t).read()}(e,t);for(var _=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 O=C-n[w].width;if(O<-.001||O>.001){b=!1;break}}var x=!0;b&&v.width!==C&&(x=!1),v.width>m.width&&(x=!1);var L=Yo.b()>2e3;return new Ie({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:x,spaceWidth:r.width,middotWidth:y.width,maxDigitWidth:_},L)},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}(Oi),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),yr=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(){var t=e.call(this)||this;return t._shouldRender=!0,t}return yr(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}(_r),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)}}(),Or=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}()),xr=function(e,t,n){this.outsideRenderedLine=e,this.lineNumber=t,this.ranges=n},Lr=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}(),Nr=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},Er=function(e,t){this.outsideRenderedLine=e,this.ranges=t},Dr=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 Lr(e[0].left,e[0].width)];e.sort(Dr.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 Lr(i,o),i=u,o=l)}return t[n++]=new Lr(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 Dr(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}(),Mr=n("t9D7"),Ir=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),Pr=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}(),Ar=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!(!Pr&&this._options.themeType!==Mr.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(Pr||s.themeType===Mr.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 jr(this._renderedViewLine?this._renderedViewLine.domNode:null,p,g.characterMapping)),m||(m=Br(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 Er(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}(),jr=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 Lr(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}(),Vr=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 Lr(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 Lr(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 Lr(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}(),Wr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ir(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}(Vr),Br=Yo.m?Hr:zr;function Hr(e,t,n,i,o){return new Wr(e,t,n,i,o)}function zr(e,t,n,i,o){return new Vr(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))})),Qr={isAfterLines:!0};function Jr(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,Qr)}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=Jr(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=Jr(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=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Jr(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 Ve.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=Ee.getZoomLevel(),i=t.deltaY>0?1:-1;Ee.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}(_r),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 Ve.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),y=c.intersectRanges(i);s=n.getValueInRange(v,1)+String.fromCharCode(8230)+n.getValueInRange(y,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,ys=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}(),_s=function(e){function t(t,n){var i=e.call(this)||this;i.textArea=n,i._onFocus=i._register(new V.a),i.onFocus=i._onFocus.event,i._onBlur=i._register(new V.a),i.onBlur=i._onBlur.event,i._onKeyDown=i._register(new V.a),i.onKeyDown=i._onKeyDown.event,i._onKeyUp=i._register(new V.a),i.onKeyUp=i._onKeyUp.event,i._onCut=i._register(new V.a),i.onCut=i._onCut.event,i._onPaste=i._register(new V.a),i.onPaste=i._onPaste.event,i._onType=i._register(new V.a),i.onType=i._onType.event,i._onCompositionStart=i._register(new V.a),i.onCompositionStart=i._onCompositionStart.event,i._onCompositionUpdate=i._register(new V.a),i.onCompositionUpdate=i._onCompositionUpdate.event,i._onCompositionEnd=i._register(new V.a),i.onCompositionEnd=i._onCompositionEnd.event,i._onSelectionChangeRequest=i._register(new V.a),i.onSelectionChangeRequest=i._onSelectionChangeRequest.event,i._host=t,i._textArea=i._register(new Cs(n)),i._asyncTriggerCut=i._register(new Ve.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};ys.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=ys.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}(_r),Os=n("zrhQ"),xs=n("MD5Z"),Ls=Object(xs.Eb)("editor.lineHighlightBackground",{dark:null,light:null,hc:null},Zn.a("lineHighlight","Background color for the highlight of line at the cursor position.")),Ns=Object(xs.Eb)("editor.lineHighlightBorder",{dark:"#282828",light:"#eeeeee",hc:"#f38518"},Zn.a("lineHighlightBorderBox","Background color for the border around the line at the cursor position.")),Es=Object(xs.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),Ds=Object(xs.Eb)("editor.rangeHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("rangeHighlightBorder","Background color of the border around highlighted ranges."),!0),ks=Object(xs.Eb)("editor.symbolHighlightBackground",{dark:xs.s,light:xs.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),Ms=Object(xs.Eb)("editor.symbolHighlightBorder",{dark:null,light:null,hc:xs.b},Zn.a("symbolHighlightBorder","Background color of the border around highlighted symbols."),!0),Is=Object(xs.Eb)("editorCursor.foreground",{dark:"#AEAFAD",light:Os.a.black,hc:Os.a.white},Zn.a("caret","Color of the editor cursor.")),Ts=Object(xs.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.")),Ps=Object(xs.Eb)("editorWhitespace.foreground",{dark:"#e3e4e229",light:"#33333333",hc:"#e3e4e229"},Zn.a("editorWhitespaces","Color of whitespace characters in the editor.")),Rs=Object(xs.Eb)("editorIndentGuide.background",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorIndentGuides","Color of the editor indentation guides.")),As=Object(xs.Eb)("editorIndentGuide.activeBackground",{dark:Ps,light:Ps,hc:Ps},Zn.a("editorActiveIndentGuide","Color of the active editor indentation guides.")),Fs=Object(xs.Eb)("editorLineNumber.foreground",{dark:"#858585",light:"#237893",hc:Os.a.white},Zn.a("editorLineNumbers","Color of editor line numbers.")),js=Object(xs.Eb)("editorActiveLineNumber.foreground",{dark:"#c6c6c6",light:"#0B216F",hc:xs.b},Zn.a("editorActiveLineNumber","Color of editor active line number"),!1,Zn.a("deprecatedEditorActiveLineNumber","Id is deprecated. Use 'editorLineNumber.activeForeground' instead.")),Vs=Object(xs.Eb)("editorLineNumber.activeForeground",{dark:js,light:js,hc:js},Zn.a("editorActiveLineNumber","Color of editor active line number")),Ws=Object(xs.Eb)("editorRuler.foreground",{dark:"#5A5A5A",light:Os.a.lightgrey,hc:Os.a.white},Zn.a("editorRuler","Color of the editor rulers.")),Bs=(Object(xs.Eb)("editorCodeLens.foreground",{dark:"#999999",light:"#999999",hc:"#999999"},Zn.a("editorCodeLensForeground","Foreground color of editor code lenses")),Object(xs.Eb)("editorBracketMatch.background",{dark:"#0064001a",light:"#0064001a",hc:"#0064001a"},Zn.a("editorBracketMatchBackground","Background color behind matching brackets")),Object(xs.Eb)("editorBracketMatch.border",{dark:"#888",light:"#B9B9B9",hc:xs.e},Zn.a("editorBracketMatchBorder","Color for matching brackets boxes")),Object(xs.Eb)("editorOverviewRuler.border",{dark:"#7f7f7f4d",light:"#7f7f7f4d",hc:"#7f7f7f4d"},Zn.a("editorOverviewRulerBorder","Color of the overview ruler border."))),Hs=Object(xs.Eb)("editorGutter.background",{dark:xs.n,light:xs.n,hc:xs.n},Zn.a("editorGutter","Background color of the editor gutter. The gutter contains the glyph margins and the line numbers.")),zs=Object(xs.Eb)("editorUnnecessaryCode.border",{dark:null,light:null,hc:Os.a.fromHex("#fff").transparent(.8)},Zn.a("unnecessaryCodeBorder","Border color of unnecessary (unused) source code in the editor.")),Us=Object(xs.Eb)("editorUnnecessaryCode.opacity",{dark:Os.a.fromHex("#000a"),light:Os.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(xs.Eb)("editorOverviewRuler.errorForeground",{dark:new Os.a(new Os.b(255,18,18,.7)),light:new Os.a(new Os.b(255,18,18,.7)),hc:new Os.a(new Os.b(255,50,50,1))},Zn.a("overviewRuleError","Overview ruler marker color for errors.")),qs=Object(xs.Eb)("editorOverviewRuler.warningForeground",{dark:xs.G,light:xs.G,hc:xs.F},Zn.a("overviewRuleWarning","Overview ruler marker color for warnings.")),Gs=Object(xs.Eb)("editorOverviewRuler.infoForeground",{dark:xs.B,light:xs.B,hc:xs.A},Zn.a("overviewRuleInfo","Overview ruler marker color for infos."));Object(Mr.e)((function(e,t){var n=e.getColor(xs.n);n&&t.addRule(".monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: "+n+"; }");var i=e.getColor(xs.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(Es);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(Ds);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(Ms);u&&t.addRule(".monaco-editor .symbolHighlight { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+u+"; }");var l=e.getColor(Ps);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(Mr.e)((function(e,t){var n=e.getColor(Fs);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Vs);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)}}(),Qs=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),Js=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 ya),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++)_a(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),ya=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 _a(e,t){try{e(t)}catch(e){We.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 _s(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(Js.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 "+Qs.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 Oa=n("1YUG"),xa=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(Oa.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(Oa.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(Oa.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(Oa.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(Oa.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}(),La=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)}}(),Na=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 La(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 Ea(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),Ea=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}(),Da=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 Da((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 Ma(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}(),Ma=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}(),Ia=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 Ia(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 Pa(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),Pa=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 Ia(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),Aa=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 Ia(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)}}(),ja=function(e,t){this.top=e,this.left=t},Va=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 Wa(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),Wa=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,y=l+i<=c.height-22;return this._fixedOverflowWidgets?{fitsAbove:v,aboveTop:Math.max(u,22),aboveLeft:f,fitsBelow:y,belowTop:l,belowLeft:m}:{fitsAbove:v,aboveTop:Math.max(r,22),aboveLeft:h,fitsBelow:y,belowTop:s,belowLeft:g}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new ja(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 ja(p,a),m=e.getVerticalOffsetForLineNumber(i.lineNumber)-e.scrollTop;return[g,new ja(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 ja(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 ja(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}(),Ba=(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 Ba(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 Ba(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 Ba(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(Mr.e)((function(e,t){Ha=!1;var n=e.getColor(Ls);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(Ns)){var i=e.getColor(Ns);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 Lr(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(Mr.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(Mr.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(Cr),Qa=(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)}}()),Ja=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 Qa(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 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,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 Ja(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)),y=v?v.left:0,_=1;_<=g;_++){if(m+='<div class="'+(f&&_===l?"cigra":"cigr")+'" style="left:'+y+"px;height:"+r+"px;width:"+i+'px"></div>',(y+=i)>o||this._maxIndentLeft>0&&y>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(Mr.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(As)||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 Ar(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 Ve.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 Ar(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 xr(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 Nr(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 Ja(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 Ja(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 V.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,y=o.b-g,_=e.data,b=d*u*l,C=n*h+4*t,w=0;w<l;w++){for(var S=C,O=0;O<u;O++){var x=c[b++]/255;_[S++]=f+m*x,_[S++]=p+v*x,_[S++]=g+y*x,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 y=m,_=0;_<s;_++)g[y++]=h,g[y++]=f,g[y++]=p,y++;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},yu={1:Object(gu.a)((function(){return vu("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(gu.a)((function(){return vu("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},_u=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=yu[t]?new pu(yu[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 y=t+3840*Math.floor(v),_=1-(v-Math.floor(v)),b=f;b<p;b++){var C=1-(b-Math.floor(b)),w=y+4*Math.floor(b),S=C*_;m+=S,g+=e[w]*e[w+3]/255*S}var O=g/m;u=Math.max(u,O),n[a++]=O}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 _u.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}(),Ou=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 y=(d=Math.min(t.minimapHeight-c,d))/(u-o),_=a*y,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-_*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}(),xu=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}(),Lu=function(){function e(e,t,n){this.renderedLayout=e,this._imageData=t,this._renderedLines=new Da((function(){return xu.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}(),Nu=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}(),Eu=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(xs.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 Nu(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(xs.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=Ou.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 Pe.c.Inline:this.renderDecorationOnLine(l,c,p.range,g,e,f,s,s,u,a);continue;case Pe.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,y=n.endColumn,_=n.startLineNumber,b=n.endLineNumber,C=_===r?d[v-1]:F.f,w=b>r?d.length-1:y-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 Lu(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;_<b;_++)h[_]&&t._renderLine(u,g,m,n,this._tokensColorTracker,i,v,p,f.data[_],this._options.fontScale),y[_]=new xu(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 Lu(e,u,y)},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,y=-1,_=-1,b=-1,C=-1,w=0,S=t;S<=n;S++){var O=S-t,x=S-c,L=x>=0&&x<h?d[x].dy:-1;if(-1!==L){var N=L*f*4,E=(L+i)*f*4,D=w*f*4,k=(w+i)*f*4;_===N&&C===D?(_=E,C=k):(-1!==y&&(p.set(l.subarray(y,_),b),-1===m&&0===y&&y===b&&(m=_),-1===v&&_===g&&y===b&&(v=y)),y=N,_=E,b=D,C=k),r[O]=!1,w+=i}else r[O]=!0,w+=i}return-1!==y&&(p.set(l.subarray(y,_),b),-1===m&&0===y&&y===b&&(m=_),-1===v&&_===g&&y===b&&(v=y)),[-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,y=d.getCount();v<y;v++)for(var _=d.getEndOffset(v),b=d.getForeground(v),C=o.getColor(b);g<_;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 O=ne.w(w)?2:1,x=0;x<O;x++)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(Mr.e)((function(e,t){var n=e.getColor(xs.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(xs.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(xs.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(xs.Gb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Du=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 Du(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),Mu=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)}}(),Iu=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(Bs);this.borderColor=i?i.toString():null,this.hideCursor=n.get(42);var o=t.getColor(Is);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:Os.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 Mu(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new Iu(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,y=0,_=0,b=g.length;_<b;_++){var C=g[3*_],w=g[3*_+1],S=g[3*_+2],O=i.getVerticalOffsetForLineNumber(w)*o|0;if((M=(i.getVerticalOffsetForLineNumber(S)+n)*o|0)-O<s)(D=(O+M)/2|0)<a?D=a:D+a>t&&(D=t-a),O=D-a,M=D+a;O>y+1||C!==m?(0!==_&&u.fillRect(l[m],v,c[m],y-v),m=C,v=O,y=M):M>y&&(y=M)}u.fillRect(l[m],v,c[m],y-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var x=2*this._settings.pixelRatio|0,L=x/2|0,N=this._settings.x[7],E=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,y=-100,_=0,b=this._cursorPositions.length;_<b;_++){var D,k=this._cursorPositions[_];(D=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<L?D=L:D+L>t&&(D=t-L);var M=(O=D-L)+x;O>y+1?(0!==_&&u.fillRect(N,v,E,y-v),v=O,y=M):M>y&&(y=M)}u.fillRect(N,v,E,y-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),Pu=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}(),Au=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 Pu(h-f,h+f,g);u.setColorZone(m),r.push(m)}return this._colorZonesInvalid=!1,r.sort(Pu.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)}}(),ju=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 Au((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}(_r),Vu=(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)}}()),Wu=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 Vu(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(Mr.e)((function(e,t){var n=e.getColor(Ws);n&&t.addRule(".monaco-editor .view-ruler { box-shadow: 1px 0 0 0 "+n+" inset; }")}));n("2MPD");var 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)}}(),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 Bu(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(Mr.e)((function(e,t){var n=e.getColor(xs.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,y=t[a+1].ranges[0].left+t[a+1].ranges[0].width;Xu(d-v)<i?f.bottom=2:v<d&&d<y&&(f.bottom=1),Xu(h-y)<i?p.bottom=2:h<y&&(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;_<b;_++){var C=h.ranges[_];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 O=t.EDITOR_BACKGROUND_CLASS_NAME;1===w.top&&(O+=" "+t.SELECTION_TOP_RIGHT),1===w.bottom&&(O+=" "+t.SELECTION_BOTTOM_RIGHT),v+=this._createSelectionPiece(m,g,O,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 x=t.EDITOR_BACKGROUND_CLASS_NAME;1===S.top&&(x+=" "+t.SELECTION_TOP_LEFT),1===S.bottom&&(x+=" "+t.SELECTION_BOTTOM_LEFT),v+=this._createSelectionPiece(m,g,x,C.left+C.width,t.ROUNDED_PIECE_WIDTH)}}var L=t.SELECTION_CLASS_NAME;if(r){w=C.startStyle,S=C.endStyle;0===w.top&&(L+=" "+t.SELECTION_TOP_LEFT),0===w.bottom&&(L+=" "+t.SELECTION_BOTTOM_LEFT),0===S.top&&(L+=" "+t.SELECTION_TOP_RIGHT),0===S.bottom&&(L+=" "+t.SELECTION_BOTTOM_RIGHT)}y+=this._createSelectionPiece(m,g,L,C.left,C.width)}e[p][0]+=v,e[p][1]+=y}},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(Mr.e)((function(e,t){var n=e.getColor(xs.C);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(xs.z);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(xs.D);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var Qu=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},Ju=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 Qu(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,y=this._lineHeight;return this._cursorStyle!==F.g.Underline&&this._cursorStyle!==F.g.UnderlineThin||(v+=this._lineHeight-2,y=2),new Qu(v,h.left,f,y,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 Ju(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 Ve.e,n._cursorFlatBlinkInterval=new Ve.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 Ju(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(Mr.e)((function(e,t){var n=e.getColor(Is);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(We.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(We.e)(e)}},t.prototype._safeCallOnDomNodeTop=function(e,t){if("function"==typeof e.onDomNodeTop)try{e.onDomNodeTop(t)}catch(e){Object(We.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 xa(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 Aa(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 Qs(a._context);f.getDomNode().appendChild(a.viewZones.marginDomNode),f.getDomNode().appendChild(h.getDomNode()),a.viewParts.push(f),a.contentWidgets=new Va(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 Wu(a._context);a.viewParts.push(p);var g=new Eu(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(Mr.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 Or(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?Na.convertViewToModelMouseTarget(n,this._context.model.coordinatesConverter):null},t.prototype.createOverviewRuler=function(e){return new ju(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}(_r);function ll(e){try{return e()}catch(e){Object(We.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,y=void 0;d===this.lastAddedCursorIndex?(y=m,this.lastAddedCursorIndex=h):y=v;var _=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=_;var b=Ur.d.fromModelSelection(_);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}(),yl=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new V.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new V.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new V.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=_l.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(We.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),_l=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(We.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"),Ol=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}(),xl=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},Ll=function(){function e(t,n){this._instanceId=ne.G(++e.INSTANCE_COUNT),this._pendingChanges=new Ol,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 xl(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,y=t;v<y.length;v++){u=y[v];m.set(u.id,u)}var _=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=_(this._arr).concat(_(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),y=r,_=a;return y<_&&s<e&&y++,y<_&&v+o>t&&_--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:f,centeredLineNumber:g,completelyVisibleStartLineNumber:y,completelyVisibleEndLineNumber:_}},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}(),Nl=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(){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}(),Dl=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new V.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new El(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Nl(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 Ll(n,r.get(49)),o._scrollable=o._register(new Dl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new El(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Nl(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 El(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 El(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 El(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),Ml=n("tX9W"),Il=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 Il(o,t-r)},e}(),Pl=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}(),Al=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 Pl(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:Ml.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 y=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,y)}}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,y=0,_=o.length;y<_;y++){var b=o[y],C=Math.min(g-v,r[y]),w=void 0;w=2===(p=s[y])?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:jl.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}(),jl=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}(),Vl=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=Bl(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=Bl(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}(),Wl=[""];function Bl(e){if(e>=Wl.length)for(var t=1;t<=e;t++)Wl[t]=Hl(t);return Wl[e]}function Hl(e){return new Array(e+1).join(" ")}function zl(e,t){return null===e?t?Fl.INSTANCE:jl.INSTANCE:new Vl(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 xn(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 On(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 On(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 On(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 Ve.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 Al(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!==(O=e.lines.onModelLinesDeleted(s,v.fromLineNumber,v.toLineNumber))&&(n.emit(O),e.viewLayout.onLinesDeleted(O.fromLineNumber,O.toLineNumber)),i=!0;break;case 4:var y=f.slice(p,p+v.detail.length);p+=v.detail.length,null!==(S=e.lines.onModelLinesInserted(s,v.fromLineNumber,v.toLineNumber,y))&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),i=!0;break;case 2:var _=f[p];p++;var b=e.lines.onModelLineChanged(s,v.lineNumber,_),C=b[0],w=b[1],S=b[2],O=b[3];o=C,w&&n.emit(w),S&&(n.emit(S),e.viewLayout.onLinesInserted(S.fromLineNumber,S.toLineNumber)),O&&(n.emit(O),e.viewLayout.onLinesDeleted(O.fromLineNumber,O.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 x=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(x){var L=e.coordinatesConverter.convertModelPositionToViewPosition(x.getStartPosition()),N=e.viewLayout.getVerticalOffsetForLineNumber(L.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:N+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=(_=p[f]).startLineNumber;_.isEmpty()?g!==h&&d.push(this.model.getLineContent(g)):d.push(this.model.getValueInRange(_,n?2:0)),h=g}return 1===d.length?d[0]:d}for(var m=[],v=0,y=e;v<y.length;v++){var _;(_=y[v]).isEmpty()||m.push(this.model.getValueInRange(_,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]=Os.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}(),Ql=Object(ue.c)("accessibilityService"),Jl=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 y=Math.abs(l[v]-g);v+1<m;){if((j=Math.abs(l[v+1]-g))>=y)break;y=j,v++}for(;v<m;){var _=v<0?0:u[v],b=v<0?0:l[v],C=0,w=0,S=0,O=0;if(b<=g){for(var x=b,L=n.charCodeAt(_-1),N=e.get(L),E=!0,D=_;D<a;D++){var k=D,M=n.charCodeAt(D),I=void 0,T=void 0;if(ne.x(M)?(D++,I=0,T=2):(I=e.get(M),T=sc(M,x,i,r)),uc(L,N,M,I)&&(C=k,w=x),(x+=T)>g){S=k,O=x-T,x-w>d&&(C=0),E=!1;break}L=M,N=I}if(E){p>0&&(h[p]=u[u.length-1],f[p]=l[u.length-1],p++);break}}if(0===C){x=b,M=n.charCodeAt(_),I=e.get(M);var P=!1;for(D=_-1;D>=0;D--){k=D+1;if(9===(L=n.charCodeAt(D))){P=!0;break}N=void 0;var R=void 0;if(ne.y(L)?(D--,N=0,R=2):(N=e.get(L),R=ne.w(L)?r:1),x<=g){if(0===S&&(S=k,O=x),x<=g-d)break;if(uc(L,N,M,I)){C=k,w=x;break}}x-=R,M=L,I=N}if(0!==C){var A=d-(O-w);if(A<=i){var F=n.charCodeAt(S);T=void 0;A-(T=ne.x(F)?2:sc(F,O,i,r))<0&&(C=0)}}if(P){v--;continue}}for(0===C&&(C=S,w=O),h[p]=C,f[p]=w,p++,g=w+d;v<0||v<m&&l[v]<w;)v++;for(y=Math.abs(l[v]-g);v+1<m;){var j;if((j=Math.abs(l[v+1]-g))>=y)break;y=j,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),y=1;ne.x(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),y++);for(var _=y;_<s;_++){var b=_,C=t.charCodeAt(_),w=void 0,S=void 0;ne.x(C)?(_++,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,y=0,_=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-y%n:1;y+=C}var w=Math.ceil(t.spaceWidth*y);w+t.typicalFullwidthCharacterWidth>u?(v=0,y=0):_=u-w}var S=m.substr(v),O=dc(S,y,n,_,c);d[s]=v,h[s]=y,f[s]=S,p[s]=O[0],g[s]=O[1]}l.innerHTML=c.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var x=document.createRange(),L=Array.prototype.slice.call(l.children,0),N=[];for(s=0;s<e.length;s++){var E=L[s],D=hc(x,E,f[s],p[s]);if(null!==D){v=d[s],y=h[s];var k=g[s],M=[],I=0;for(a=D.length;I<a;I++)M[I]=k[D[I]];if(0!==v)for(I=0,a=D.length;I<a;I++)D[I]+=v;N[s]=new Tl(D,M,y)}else N[s]=null}return document.body.removeChild(l),N}(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,yc=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}(),_c=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 V.a),d.onDidDispose=d._onDidDispose.event,d._onDidChangeModelContent=d._register(new V.a),d.onDidChangeModelContent=d._onDidChangeModelContent.event,d._onDidChangeModelLanguage=d._register(new V.a),d.onDidChangeModelLanguage=d._onDidChangeModelLanguage.event,d._onDidChangeModelLanguageConfiguration=d._register(new V.a),d.onDidChangeModelLanguageConfiguration=d._onDidChangeModelLanguageConfiguration.event,d._onDidChangeModelOptions=d._register(new V.a),d.onDidChangeModelOptions=d._onDidChangeModelOptions.event,d._onDidChangeModelDecorations=d._register(new V.a),d.onDidChangeModelDecorations=d._onDidChangeModelDecorations.event,d._onDidChangeConfiguration=d._register(new V.a),d.onDidChangeConfiguration=d._onDidChangeConfiguration.event,d._onDidChangeModel=d._register(new V.a),d.onDidChangeModel=d._onDidChangeModel.event,d._onDidChangeCursorPosition=d._register(new V.a),d.onDidChangeCursorPosition=d._onDidChangeCursorPosition.event,d._onDidChangeCursorSelection=d._register(new V.a),d.onDidChangeCursorSelection=d._onDidChangeCursorSelection.event,d._onDidAttemptReadOnlyEdit=d._register(new V.a),d.onDidAttemptReadOnlyEdit=d._onDidAttemptReadOnlyEdit.event,d._onDidLayoutChange=d._register(new V.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 V.a),d.onWillType=d._onWillType.event,d._onDidType=d._register(new V.a),d.onDidType=d._onDidType.event,d._onDidCompositionStart=d._register(new V.a),d.onDidCompositionStart=d._onDidCompositionStart.event,d._onDidCompositionEnd=d._register(new V.a),d.onDidCompositionEnd=d._onDidCompositionEnd.event,d._onDidPaste=d._register(new V.a),d.onDidPaste=d._onDidPaste.event,d._onMouseUp=d._register(new V.a),d.onMouseUp=d._onMouseUp.event,d._onMouseDown=d._register(new V.a),d.onMouseDown=d._onMouseDown.event,d._onMouseDrag=d._register(new V.a),d.onMouseDrag=d._onMouseDrag.event,d._onMouseDrop=d._register(new V.a),d.onMouseDrop=d._onMouseDrop.event,d._onContextMenu=d._register(new V.a),d.onContextMenu=d._onContextMenu.event,d._onMouseMove=d._register(new V.a),d.onMouseMove=d._onMouseMove.event,d._onMouseLeave=d._register(new V.a),d.onMouseLeave=d._onMouseLeave.event,d._onMouseWheel=d._register(new V.a),d.onMouseWheel=d._onMouseWheel.event,d._onKeyUp=d._register(new V.a),d.onKeyUp=d._onKeyUp.event,d._onKeyDown=d._register(new V.a),d.onKeyDown=d._onKeyDown.event,d._onDidContentSizeChange=d._register(new V.a),d.onDidContentSizeChange=d._onDidContentSizeChange.event,d._onDidScrollChange=d._register(new V.a),d.onDidScrollChange=d._onDidScrollChange.event,d._onDidChangeViewZones=d._register(new V.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(We.e)(e)}}return or.d.getEditorActions().forEach((function(e){var t=new bl(e.id,e.label,e.alias,Object(Be.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,We.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,We.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 yl(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}.",yl.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 yc(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 Na(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,Mr.c),mc(8,lo.a),mc(9,Ql)],t)}(le.a),bc=function(e){function t(){var t=e.call(this)||this;return t._onDidChangeToTrue=t._register(new V.a),t.onDidChangeToTrue=t._onDidChangeToTrue.event,t._onDidChangeToFalse=t._register(new V.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 V.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),Oc=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='"),xc=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 Lc(e){return Oc+encodeURIComponent(e.toString())+xc}var Nc=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Ec=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(Mr.e)((function(e,t){var n=e.getColor(xs.o);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(xs.p);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Lc(i)+'") repeat-x bottom left; }');var o=e.getColor(xs.F);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(xs.G);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Lc(r)+'") repeat-x bottom left; }');var s=e.getColor(xs.A);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(xs.B);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Lc(a)+'") repeat-x bottom left; }');var u=e.getColor(xs.x);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(xs.y);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Nc+encodeURIComponent(l.toString())+Ec+'") 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(xs.w)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}));n("lKfe");var Dc=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},Mc=[];var Ic,Tc,Pc,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)}}(),Ac=Object(ue.c)("IEditorCancelService"),Fc=new Zi.d("cancellableOperation",!1);Ic=Ac,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}(),Pc=!0,Mc.push([Ic,new kc(Tc,[],Pc)]);var jc=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(Ac).add(t,i)})),i}return Rc(t,e),t.prototype.dispose=function(){this._unregister(),e.prototype.dispose.call(this)},t}(j.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(Ac).cancel(t)},t}(or.c)));var Vc=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)}}(),Wc=(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}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(jc),function(e){function t(t,n){var i=e.call(this,n)||this;return i._listener=t.onDidChangeContent((function(){return i.cancel()})),i}Vc(t,e),t.prototype.dispose=function(){this._listener.dispose(),e.prototype.dispose.call(this)}}(j.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}()),Bc=(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 Bc.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 y=e[r-1];m=0===y.originalEndLineNumber?y.originalStartLineNumber+1:y.originalEndLineNumber+1,v=0===y.modifiedEndLineNumber?y.modifiedStartLineNumber+1:y.modifiedEndLineNumber+1}var _=p-3+1,b=g-3+1;if(_<m)_+=L=m-_,b+=L;if(b<v)_+=L=v-b,b+=L;h[f++]=new Uc(_,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,O=n;if(r+1<s){var x=e[r+1];S=0===x.originalEndLineNumber?x.originalStartLineNumber:x.originalStartLineNumber-1,O=0===x.modifiedEndLineNumber?x.modifiedStartLineNumber:x.modifiedStartLineNumber-1}var L,N=C+3-1,E=w+3-1;if(N>S)N+=L=S-N,E+=L;if(E>O)N+=L=O-E,E+=L;h[f++]=new Uc(C,N,w,E),i[o++]=new Kc(h)}var D=i[0].entries,k=[],M=0;for(r=1,s=i.length;r<s;r++){var I=i[r].entries,T=D[D.length-1],P=I[0];0===T.getType()&&0===P.getType()&&P.originalLineStart<=T.originalLineEnd?(D[D.length-1]=new Uc(T.originalLineStart,P.originalLineEnd,T.modifiedLineStart,P.modifiedLineEnd),D=D.concat(I.slice(1))):(k[M++]=new Kc(D),D=I)}return k[M++]=new Kc(D),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=(E=u[p]).originalLineStart,v=E.originalLineEnd,y=E.modifiedLineStart,_=E.modifiedLineEnd;0!==m&&(0===c||m<c)&&(c=m),0!==v&&(0===d||v>d)&&(d=v),0!==y&&(0===h||y<h)&&(h=y),0!==_&&(0===f||_>f)&&(f=_)}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 O=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)},x=O(w),L=O(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,x,h,L)),b.appendChild(C),b.setAttribute("role","listitem"),l.appendChild(b);var N=h;for(p=0,g=u.length;p<g;p++){var E=u[p];t._renderSection(l,E,N,this._width,e,i,r,n,o,s),0!==E.modifiedLineStart&&(N=E.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,y=Math.max(v-m,g-p),_=o.get(107),b=_.glyphMarginWidth+_.lineNumbersWidth,C=a.get(107),w=10+C.glyphMarginWidth+C.lineNumbersWidth,S=0;S<=y;S++){var O=0===p?0:p+S,x=0===m?0:m+S,L=document.createElement("div");L.style.minWidth=i+"px",L.className=d,L.setAttribute("role","listitem"),0!==x&&(n=x),L.setAttribute("data-line",String(n));var N=document.createElement("div");N.className="diff-review-cell",L.appendChild(N);var E=document.createElement("span");E.style.width=b+"px",E.style.minWidth=b+"px",E.className="diff-review-line-number"+h,0!==O?E.appendChild(document.createTextNode(String(O))):E.innerHTML=" ",N.appendChild(E);var D=document.createElement("span");D.style.width=w+"px",D.style.minWidth=w+"px",D.style.paddingRight="10px",D.className="diff-review-line-number"+h,0!==x?D.appendChild(document.createTextNode(String(x))):D.innerHTML=" ",N.appendChild(D);var k=document.createElement("span");k.className=f,k.innerHTML="  ",N.appendChild(k);var M=void 0;0!==x?(N.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,x)),M=u.getLineContent(x)):(N.insertAdjacentHTML("beforeend",this._renderLine(r,o,s.tabSize,O)),M=r.getLineContent(O)),0===M.length&&(M=Zn.a("blankLine","blank"));var I="";switch(c){case 0:I=Zn.a("equalLine","original {0}, modified {1}: {2}",O,x,M);break;case 1:I=Zn.a("insertLine","+ modified {0}: {1}",x,M);break;case 2:I=Zn.a("deleteLine","- original {0}: {1}",O,M)}L.setAttribute("aria-label",I),e.appendChild(L)}},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 yn(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(Mr.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(xs.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"),Qc=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)}}(),Jc=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 Jc(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 Jc(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 Jc(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 Qc(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?Wc.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 V.a),f.onDidDispose=f._onDidDispose.event,f._onDidUpdateDiff=f._register(new V.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 Ve.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 y=new Xl;y.set(Zi.c,v);var _=a.createChild(y);f.originalEditor=f._createLeftHandSideEditor(i,m),f.modifiedEditor=f._createRightHandSideEditor(i,_),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(We.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(Mr.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(_c,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=Oe.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,Mr.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(xs.j)||xs.g).transparent(2),n=(e.getColor(xs.l)||xs.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=[],y=[];d.current&&d.current.afterLineNumber<=u;){var _=void 0;_=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:_,heightInLines:d.current.height/this.modifiedLineHeight,domNode:null,marginDomNode:b}),d.advance()}for(;h.current&&h.current.afterLineNumber<=a;){_=void 0;_=h.current.afterLineNumber<=r?s-r+h.current.afterLineNumber:u,y.push({afterLineNumber:_,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&&yd(g))(m=this._produceModifiedFromDiff(g,o,i))&&y.push(m);var C=0,w=0;for(v=v.sort(l),y=y.sort(l);C<v.length&&w<y.length;){var S=v[C],O=y[w],x=S.afterLineNumber-r,L=O.afterLineNumber-s;x<L?(c(t,S),C++):L<x?(c(n,O),w++):S.shouldNotShrink?(c(t,S),C++):O.shouldNotShrink?(c(n,O),w++):S.heightInLines>=O.heightInLines?(S.heightInLines-=O.heightInLines,w++):(O.heightInLines-=S.heightInLines,C++)}for(;C<v.length;)c(t,v[C]),C++;for(;w<y.length;)c(n,y[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:Ml.a.register({className:"char-delete"}),charDeleteWholeLine:Ml.a.register({className:"char-delete",isWholeLine:!0}),charInsert:Ml.a.register({className:"char-insert"}),charInsertWholeLine:Ml.a.register({className:"char-insert",isWholeLine:!0}),lineInsert:Ml.a.register({className:"line-insert",marginClassName:"line-insert",isWholeLine:!0}),lineInsertWithSign:Ml.a.register({className:"line-insert",linesDecorationsClassName:"insert-sign codicon codicon-add",marginClassName:"line-insert",isWholeLine:!0}),lineDelete:Ml.a.register({className:"line-delete",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteWithSign:Ml.a.register({className:"line-delete",linesDecorationsClassName:"delete-sign codicon codicon-remove",marginClassName:"line-delete",isWholeLine:!0}),lineDeleteMargin:Ml.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 Dc.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(yd(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(yd(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}),yd(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];yd(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];yd(s)&&i.push(new On(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 y=document.createElement("div");y.className="view-lines line-delete",y.innerHTML=a.build(),ir.applyFontInfoSlow(y,c);var _=document.createElement("div");return _.className="inline-deleted-margin-view-zone",_.innerHTML=u.join(""),ir.applyFontInfoSlow(_,c),{shouldNotShrink:!0,afterLineNumber:0===e.modifiedEndLineNumber?e.modifiedStartLineNumber:e.modifiedStartLineNumber-1,heightInLines:t,minWidthInPx:p*f,domNode:y,marginDomNode:_,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 yd(e){return e.originalEndLineNumber>0}Object(Mr.e)((function(e,t){var n=e.getColor(xs.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(xs.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(xs.k);o&&t.addRule(".monaco-editor .line-insert, .monaco-editor .char-insert { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+o+"; }");var r=e.getColor(xs.m);r&&t.addRule(".monaco-editor .line-delete, .monaco-editor .char-delete { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+r+"; }");var s=e.getColor(xs.Gb);s&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { box-shadow: -6px 0 5px -5px "+s+"; }");var a=e.getColor(xs.i);a&&t.addRule(".monaco-diff-editor.side-by-side .editor.modified { border-left: 1px solid "+a+"; }")}));var _d=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)}}(),Od=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},xd=function(e,t){return function(n,i){t(n,i,e)}},Ld=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},Nd=0,Ed=!1;var Dd=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,Ed||(Ed=!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_"+ ++Nd,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,Ld([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=Od([xd(2,ue.a),xd(3,Y.a),xd(4,ae.b),xd(5,Zi.c),xd(6,Cd.a),xd(7,Mr.c),xd(8,lo.a),xd(9,Ql)],t)}(_c),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 y={oldModelUrl:null,newModelUrl:m.uri};p._onDidChangeModel.fire(y)}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=Od([xd(3,ue.a),xd(4,Y.a),xd(5,ae.b),xd(6,Zi.c),xd(7,Cd.a),xd(8,Xc.b),xd(9,_d),xd(10,lo.a),xd(11,Ai),xd(12,Ql)],t)}(Dd),Md=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(Dd,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=Od([xd(3,ue.a),xd(4,Zi.c),xd(5,Cd.a),xd(6,Xc.b),xd(7,Fe),xd(8,Y.a),xd(9,_d),xd(10,lo.a),xd(11,Ai),xd(12,Xc.a),xd(13,td),xd(14,Object(ue.d)(wd.a))],t)}(ad),Id=Object(ue.c)("IWorkspaceEditService"),Td=Object(ue.c)("modeService"),Pd=function(){function e(e){this._languageIdentifier=e}return e.prototype.getId=function(){return this._languageIdentifier.language},e}(),Rd=n("l2gE"),Ad=[],Fd=[],jd=[];function Vd(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);Ad.push(n),n.userConfigured?jd.push(n):Fd.push(n),t&&!n.userConfigured&&Ad.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 Wd(e,t){var n;if(e)switch(e.scheme){case $.b.file:n=e.fsPath;break;case $.b.data:n=J.parseMetaData(e).get(J.META_DATA_LABEL);break;default:n=e.path}if(!n)return["application/unknown"];n=n.toLowerCase();var i=Object(te.basename)(n),o=Bd(n,i,jd);if(o)return[o,"text/plain"];var r=Bd(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=Ad.length-1;t>=0;t--){var n=Ad[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 Bd(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 V.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 V.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];Vd({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];Vd({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++){Vd({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)||Vd({id:i,mime:o,firstline:p},this._warnOnOverwrite)}catch(e){Object(We.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 y=v[m];y&&0!==y.length&&e.aliases.push(y)}var _=null!==g&&g.length>0;if(_&&null===g[0]);else{var b=(_?g[0]:null)||i;!_&&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===Ae.b||0===e)return Ae.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=Wd(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 V.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 V.a,this.onDidCreateMode=this._onDidCreateMode.event,this._onLanguagesMaybeChanged=new V.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")||Ae.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)||Ae.a;this._instantiatedModes[e]=new Pd(t),this._onDidCreateMode.fire(this._instantiatedModes[e])}return this._instantiatedModes[e]},e}(),Xd=n("QRHv"),Qd=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)}}(),Jd=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 V.a),r.onModelAdded=r._onModelAdded.event,r._onModelRemoved=r._register(new V.a),r.onModelRemoved=r._onModelRemoved.event,r._onModelModeChanged=r._register(new V.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 Qd(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 Ml.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=Jd([$d(0,Ai),$d(1,Ft),$d(2,Mr.c),$d(3,jt)],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 Qd(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 Qd(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()===Pt.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 Ve.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 Qd(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 j.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")||We.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;_<m;){var w=_,S=Math.min(w+v,m);if(S<m){for(var O=S;O-1>w&&0===l[5*O];)O--;if(O-1===w){for(var x=S;x+1<m&&0===l[5*x];)x++;S=x}else S=O}c=new Uint32Array(4*(S-w));for(var L=0,N=0;_<S;){var E=5*_,D=l[E],k=l[E+1],M=b+D,I=0===D?C+k:k,T=l[E+2],P=l[E+3],R=l[E+4],A=i.getMetadata(P,R);2147483647!==A&&(0===N&&(N=M),c[L]=M-N,c[L+1]=I,c[L+2]=I+T,c[L+3]=A,L+=4),b=M,C=I,_++}L!==c.length&&(c=c.subarray(0,L));var F=new Xd.a(N,new Xd.c(c));y.push(F)}if(o.length>0){for(var j=0,V=o;j<V.length;j++)for(var W=V[j],B=0,H=y;B<H.length;B++)for(var z=H[B],U=0,K=W.changes;U<K.length;U++){var q=K[U];z.applyEdit(q.range,q.text)}this._fetchSemanticTokens.isScheduled()||this._fetchSemanticTokens.schedule()}this._model.setSemanticTokens(y)}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 V.a),t.onCodeEditorAdd=t._onCodeEditorAdd.event,t._onCodeEditorRemove=t._register(new V.a),t.onCodeEditorRemove=t._onCodeEditorRemove.event,t._onDiffEditorAdd=t._register(new V.a),t._onDiffEditorRemove=t._register(new V.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}(),yh=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 _h(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,Mr.c)],t)}(hh),_h=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||Pe.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(B.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(B.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}(),Oh=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)}}(),xh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Oh(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}(yh),Lh=function(e,t,n,i,o){this.token=e,this.index=t,this.fontStyle=n,this.foreground=i,this.background=o};function Nh(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 Dh,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 Ah(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 Eh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,Dh=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(Eh);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]=Os.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 Lh(r.token||"",i,s,c,d)}return t}(e),t)},e.createFromParsedTokenTheme=function(e,t){return Nh(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(Mh);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}(),Mh=/\b(comment|string|regex|regexp)\b/;var Ih,Th,Ph,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}(),Ah=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:(Ih={},Ih[xs.n]="#FFFFFE",Ih[xs.w]="#000000",Ih[xs.z]="#E5EBF1",Ih[Rs]="#D3D3D3",Ih[As]="#939393",Ih[xs.E]="#ADD6FF4D",Ih)},jh={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[xs.n]="#1E1E1E",Th[xs.w]="#D4D4D4",Th[xs.z]="#3A3D41",Th[Rs]="#404040",Th[As]="#707070",Th[xs.E]="#ADD6FF26",Th)},Vh={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:(Ph={},Ph[xs.n]="#000000",Ph[xs.w]="#FFFFFF",Ph[Rs]="#FFFFFF",Ph[As]="#FFFFFF",Ph)},Wh=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)}}(),Bh=Xn.a.as(xs.a.ColorContribution),Hh=Xn.a.as(Mr.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,Os.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,Os.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=Bh.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 jh;case"hc-black":return Vh}}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 V.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 Wh(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)}},Qh=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}(),Jh=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}(Qh),$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(Jn.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}(Qh),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 V.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?Jh.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?Jh.INSTANCE:this._contexts.get(e)||Jh.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 Qh(t,this.getContextValuesContainer(e))),t},t.prototype.disposeContext=function(e){this._isDisposed||this._contexts.delete(e)},t=Zh([Xh(0,Ai)],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 V.b.any(this._parent.onDidChangeContext,this._onDidChangeContext.event)},enumerable:!0,configurable:!0}),t.prototype.getContextValuesContainer=function(e){return this._isDisposed?Jh.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 Bc.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}(Bc.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 Ve.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===Bc.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}(Bc.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 Ve.d((function(){r.mouseOver&&(r.cleanupExistingSubmenu(!1),r.createSubmenu(!1))}),250),r.hideScheduler=new Ve.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}(Bc.b);var yf=function(){return(yf=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 _f(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(xs.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 _f(t,yf(yf({},Cf),n||{}),e)}var Cf={listFocusBackground:xs.ib,listFocusForeground:xs.jb,listActiveSelectionBackground:Object(xs.f)(xs.cb,.1),listActiveSelectionForeground:xs.db,listFocusAndSelectionBackground:xs.cb,listFocusAndSelectionForeground:xs.db,listInactiveSelectionBackground:xs.nb,listInactiveSelectionForeground:xs.ob,listInactiveFocusBackground:xs.mb,listHoverBackground:xs.kb,listHoverForeground:xs.lb,listDropBackground:xs.eb,listFocusOutline:xs.b,listSelectionOutline:xs.b,listHoverOutline:xs.b,listFilterWidgetBackground:xs.fb,listFilterWidgetOutline:xs.hb,listFilterWidgetNoMatchesOutline:xs.gb,listMatchesShadow:xs.Lb,treeIndentGuidesStroke:xs.Kb},wf={shadowColor:xs.Lb,borderColor:xs.qb,foregroundColor:xs.rb,backgroundColor:xs.pb,selectionForegroundColor:xs.ub,selectionBackgroundColor:xs.sb,selectionBorderColor:xs.tb,separatorColor:xs.vb};var Sf,Of=n("4y0V"),xf=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,_f(n.themeService,yf(yf({},wf),a),s))),t.onDidCancel((function(){return n.contextViewService.hideContextView(!0)}),null,u),t.onDidBlur((function(){return n.contextViewService.hideContextView(!0)}),null,u),Object(Of.a)(window,Z.c.BLUR)((function(){n.contextViewService.hideContextView(!0)}),null,u),Object(Of.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}(),Lf=n("XXUj"),Nf=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)}}(),Ef=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},Df=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 V.a),s.contextMenuHandler=new xf(i,t,n,o,r),s}return Nf(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=Ef([Df(0,Lf.a),Df(1,lo.a),Df(2,Xc.b),Df(3,Cd.a),Df(4,Mr.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 Mf=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 If(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 Mf(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=If(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=If(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),Pf=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)}}(),Af=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)}},jf=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=Af([Ff(0,Pf)],t)}(le.a),Vf=Object(ue.c)("dialogService");var Wf,Bf=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(Be.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(We.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 Bf((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 Ve.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"}(Wf||(Wf={}));var Qf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Jf(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=Jf({start:0,end:e},this.groups),r=Jf({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 Ve.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 V.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(Oe.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(Oe.c)(o,(function(e){return e.verticalScrollMode}),sp.verticalScrollMode),useShadows:Object(Oe.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(Of.a)(this.rowsContainer,sr.a.Change)(this.onTouchChange,this,this.disposables),Object(Of.a)(this.scrollableElement.getDomNode(),"scroll")((function(e){return e.target.scrollTop=0}),null,this.disposables),V.b.map(Object(Of.a)(this.domNode,"dragover"),(function(e){return r.toDragEvent(e)}))(this.onDragOver,this,this.disposables),V.b.map(Object(Of.a)(this.domNode,"drop"),(function(e){return r.toDragEvent(e)}))(this.onDrop,this,this.disposables),Object(Of.a)(this.domNode,"dragleave")(this.onDragLeave,this,this.disposables),Object(Of.a)(window,"dragend")(this.onDragEnd,this,this.disposables),this.setRowLineHeight=Object(Oe.c)(o,(function(e){return e.setRowLineHeight}),sp.setRowLineHeight),this.supportDynamicHeights=Object(Oe.c)(o,(function(e){return e.supportDynamicHeights}),sp.supportDynamicHeights),this.dnd=Object(Oe.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 y=0,_=Sf.relativeComplement(m,g);y<_.length;y++)for(u=(L=_[y]).start;u<L.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),O=0,x=w;O<x.length;O++){var L;for(u=(L=x[O]).start;u<L.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(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.filter(V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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 V.b.map(Object(Of.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(Ve.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(Ve.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 yp(e){return 32===e||9===e||10===e||13===e}var _p=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 Op(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++,yp(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 _p.add(e.charCodeAt(0))}));fp(pp,Op,(function(e,t){var n=t.toLowerCase().indexOf(e.toLowerCase());return-1===n?null:[{start:n,end:n+e.length}]})),fp(pp,Op,(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 Jn.a(1e4);var xp=128;function Lp(){for(var e=[],t=[0],n=1;n<=xp;n++)t.push(-n);for(n=0;n<=xp;n++){var i=t.slice(0);i[0]=-n,e.push(i)}return e}var Np,Ep=Lp(),Dp=Lp(),kp=Lp();function Mp(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 Ip(e,t,n){return t[e]!==n[e]}function Tp(e,t,n,i,o,r,s){var a=e.length>xp?xp:e.length,u=i.length>xp?xp: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=Pp(e,t,d,n,i,o,h);Dp[l][c]=f;var p=Ep[l-1][c-1]+(f>1?1:f),g=Ep[l-1][c]+-1,m=Ep[l][c-1]+-1;m>=g?m>p?(Ep[l][c]=m,kp[l][c]=4):m===p?(Ep[l][c]=m,kp[l][c]=6):(Ep[l][c]=p,kp[l][c]=2):g>p?(Ep[l][c]=g,kp[l][c]=1):g===p?(Ep[l][c]=g,kp[l][c]=3):(Ep[l][c]=p,kp[l][c]=2)}if(Rp=0,Fp=-100,jp=r,Vp=s,function e(t,n,i,o,r){if(Rp>=10||i<-25)return;var s=0;for(;t>0&&n>0;){var a=Dp[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+jp),1===a){if(s+=1,0===t&&!Vp)return}else i+=1+s*(a-1),s=0}}Rp+=1,(i-=n>=3?9:3*n)>Fp&&(Fp=i,Ap=o)}(l-1,c-1,a===u?1:0,0,!1),0!==Rp)return[Fp,Ap,r]}}function Pp(e,t,n,i,o,r,s){return t[n]!==r[s]?-1:s===n-i?e[n]===o[s]?7:5:!Ip(s,o,r)||0!==s&&Ip(s-1,o,r)?!Mp(r,s)||0!==s&&Mp(r,s-1)?Mp(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]}}(Np||(Np={}));var Rp=0,Ap=0,Fp=0,jp=0,Vp=!1;var Wp=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)}}(),Bp=function(){return(Bp=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 V.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 Wp(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=V.b.chain(Object(Of.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 Qp=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}()),Jp=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=V.b.chain(Object(Of.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=V.b.debounce(t,(function(){return null}),800);V.b.reduce(V.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,V.b.chain(Object(Of.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:Os.a.fromHex("#7FB0D0"),listActiveSelectionBackground:Os.a.fromHex("#0E639C"),listActiveSelectionForeground:Os.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:Os.a.fromHex("#094771"),listFocusAndSelectionForeground:Os.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:Os.a.fromHex("#3F3F46"),listHoverBackground:Os.a.fromHex("#2A2D2E"),listDropBackground:Os.a.fromHex("#383B3D"),treeIndentGuidesStroke:Os.a.fromHex("#a9a9a9")},ug={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI:function(){return null},onDragStart:function(){},onDragOver:function(){return!1},drop:function(){}},ariaRootRole:Wf.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 V.c,this.disposables=new le.b,this._onDidOpen=new V.a,this.onDidOpen=this._onDidOpen.event,this._onDidPin=new V.a,this.didJustPressContextMenuKey=!1,this._onDidDispose=new V.a,this.onDidDispose=this._onDidDispose.event,this.focus=new qp,this.selection=new Kp("selected"),Object(Oe.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=Bp(Bp({},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",Wf.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=V.b.map(Object(Of.a)(this.view.domNode,"focus",!0),(function(){return null})),this.onDidBlur=V.b.map(Object(Of.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||Qp;this.typeLabelController=new Jp(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 V.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 V.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=V.b.chain(Object(Of.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=V.b.chain(Object(Of.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=V.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 V.b.any(t,n,i)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onKeyDown",{get:function(){return Object(Of.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=Bp(Bp({},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 Qf(this.user,"Invalid start index: "+e);if(t<0)throw new Qf(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 Qf(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 Qf(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 Qf(this.user,"Invalid index "+e);var n=this.view.getScrollTop(),i=this.view.elementTop(e),o=this.view.elementHeight(e);if(Object(Be.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 Qf(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 Qf(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 Qf(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}(),yg=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 _g(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 V.c,this._onDidChangeCollapseState=new V.a,this.onDidChangeCollapseState=this.eventBufferer.wrapEvent(this._onDidChangeCollapseState.event),this._onDidChangeRenderNodeCount=new V.a,this.onDidChangeRenderNodeCount=this.eventBufferer.wrapEvent(this._onDidChangeRenderNodeCount.event),this._onDidSplice=new V.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((O=u.children[m]).visible){g=O.visibleChildIndex;break}}var v=[],y=0,_=0;st.c.forEach(f,(function(e){v.push(e),_+=e.renderNodeCount,e.visible&&(e.visibleChildIndex=g+y++)}));for(var b=(r=u.children).splice.apply(r,yg([p,t],v)),C=0,w=0,S=b;w<S.length;w++){(O=S[w]).visible&&C++}if(0!==C)for(m=p+v.length;m<u.children.length;m++){var O;(O=u.children[m]).visible&&(O.visibleChildIndex-=C)}if(u.visibleChildrenCount+=y-C,c&&d){var x=b.reduce((function(e,t){return e+(t.visible?t.renderNodeCount:0)}),0);this._updateAncestorsRenderNodeCount(u,_-x),this.list.splice(l,x,h)}if(b.length>0&&o){var L=function(e){o(e),e.children.forEach(L)};b.forEach(L)}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(yg(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):_g(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)}}(),Og=function(){return(Og=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)},xg=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},Lg=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 Ng(e){return e instanceof ap?new Lg(e):e}var Eg=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(Ng(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Ng(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(Ve.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 Og(Og({},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(Ng(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var Dg,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"}(Dg||(Dg={}));var Mg=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this._elements=t,this.onDidChange=V.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}(),Ig=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),V.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!==Dg.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:_g(n)?bg(n.visibility):n))return!1}if(this._totalCount++,this.tree.options.simpleKeyboardNavigation||!this._pattern)return this._matchCount++,{data:Np.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Np.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:Np.Default,visibility:!0}},e.prototype.reset=function(){this._totalCount=0,this._matchCount=0},e.prototype.dispose=function(){Object(le.e)(this.disposables)},e}(),Pg=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 V.a,this.positionClassName="ne",this.automaticKeyboardNavigation=!0,this.triggered=!1,this._onDidChangePattern=new V.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(Of.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(Of.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=V.b.chain(Object(Of.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(Of.a)(this.clearDomNode,"click");V.b.chain(V.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!Np.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(Of.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(Of.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||!Np.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 Ag(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 jg=function(){function e(e){this.identityProvider=e,this.nodes=[],this._onDidChange=new V.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=xg(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}))),xg(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(Jn.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}(),Vg=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),Wg=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 Vg(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)(xg(e.prototype.getFocus.call(this),r))),s.length>0&&e.prototype.setSelection.call(this,Object(Xe.e)(xg(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),Bg=function(){function e(e,t,n,i,o){var r=this;void 0===o&&(o={}),this._options=o,this.eventBufferer=new V.c,this.disposables=new le.b,this._onWillRefilter=new V.a,this.onWillRefilter=this._onWillRefilter.event,this._onDidUpdateOptions=new V.a;var s,a,u,l=new kg(n),c=new V.e,d=new V.e,h=new Mg(d.event);this.renderers=i.map((function(e){return new Ig(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=Og(Og({},o),{filter:s}),this.disposables.add(s)),this.focus=new jg(o.identityProvider),this.selection=new jg(o.identityProvider),this.view=new Wg(e,t,l,this.renderers,this.focus,this.selection,Og(Og({},(a=function(){return r.model},(u=o)&&Og(Og({},u),{identityProvider:u.identityProvider&&{getId:function(e){return u.identityProvider.getId(e.element)}},dnd:u.dnd&&new Eg(a,u.dnd),multipleSelectionController:u.multipleSelectionController&&{isSelectionSingleChangeEvent:function(e){return u.multipleSelectionController.isSelectionSingleChangeEvent(Og(Og({},e),{element:e.element}))},isSelectionRangeChangeEvent:function(e){return u.multipleSelectionController.isSelectionRangeChangeEvent(Og(Og({},e),{element:e.element}))}},accessibilityProvider:u.accessibilityProvider&&Og(Og({},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&&Og(Og({},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=V.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=V.b.chain(V.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=V.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 y=o.keyboardNavigationDelegate||Qp;this.typeFilterController=new Pg(this,this.model,this.view,s,y),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===Dg.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 V.b.map(this.view.onDidOpen,Ag)},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=Og(Og({},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===Dg.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]},Qg=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 Jg=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 Qg(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 V.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 V.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}(Bg),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 Jg(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 ym(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 _m(e,t){t(e),e.children.forEach((function(e){return _m(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 V.a,this._onDidChangeNodeSlowState=new V.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 V.b.map(this.tree.onDidChangeFocus,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidChangeSelection",{get:function(){return V.b.map(this.tree.onDidChangeSelection,pm)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onDidOpen",{get:function(){return V.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=ym(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,V.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,V.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,V.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,V.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(Ve.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(We.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(Ve.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(We.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 _m(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(Jn.e)(s);p<g.length;p++){_m(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&&ym(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:_g(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 Om,xm=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)}}(),Lm=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 xm(t,e),t.prototype.createModel=function(e,t,n){return new Ug(e,t,n)},t}(Bg),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)}}(),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)},Dm=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)}},Mm=Object(ue.c)("listService"),Im=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=Dm([km(0,Mr.c)],e)}(),Tm=new Zi.d("listFocus",!0),Pm=new Zi.d("listSupportsMultiselect",!0),Rm=(Zi.a.and(Tm,Zi.a.not("inputFocus")),new Zi.d("listHasSelectionOrFocus",!1)),Am=new Zi.d("listDoubleSelection",!1),Fm=new Zi.d("listMultiSelection",!1),jm=new Zi.d("listSupportsKeyboardNavigation",!0),Vm=new Zi.d("listAutomaticKeyboardNavigation",!0),Wm=!1;var Bm="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 Nm(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 Nm(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}Nm(t,e),t=Dm([km(5,Zi.c),km(6,Mm),km(7,Mr.c),km(8,Ai),km(9,Cd.a),km(10,Ql)],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}Nm(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=Dm([km(6,Zi.c),km(7,Mm),km(8,Mr.c),km(9,Ai),km(10,Cd.a),km(11,Ql)],t)}(Lm),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}Nm(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=Dm([km(6,Zi.c),km(7,Mm),km(8,Mr.c),km(9,Ai),km(10,Cd.a),km(11,Ql)],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,y=g.disposable;return(p=e.call(this,t,n,i,o,r,s,m)||this).disposables.add(y),p.internals=new Xm(p,m,v,a.overrideStyles,u,l,c,d,f),p.disposables.add(p.internals),p}Nm(t,e),t=Dm([km(7,Zi.c),km(8,Mm),km(9,Mr.c),km(10,Ai),km(11,Cd.a),km(12,Ql)],t)}(Sm);function Gm(e,t,n,i,o,r){jm.bindTo(n),Wm||(Vm.bindTo(n),Wm=!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=Em({},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:Em(Em({keyboardSupport:!1},d),{indent:i.getValue(Bm),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),Pm.bindTo(this.contextKeyService).set(!(!1===t.multipleSelectionSupport)),this.hasSelectionOrFocus=Rm.bindTo(this.contextKeyService),this.hasDoubleSelection=Am.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(Bm)){var i=a.getValue(Bm);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=Dm([km(4,Zi.c),km(5,Mm),km(6,Mr.c),km(7,Ai),km(8,Ql)],e)}();Xn.a.as($n).registerConfiguration({id:"workbench",order:7,title:Object(Zn.a)("workbenchConfigurationTitle","Workbench"),type:"object",properties:(Om={},Om["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.")},Om["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. ")},Om["workbench.list.horizontalScrolling"]={type:"boolean",default:!1,description:Object(Zn.a)("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench.")},Om["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")},Om[Bm]={type:"number",default:8,minimum:0,maximum:40,description:Object(Zn.a)("tree indent setting","Controls tree indentation in pixels.")},Om["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.")},Om["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.")},Om["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.")},Om)}),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 Qm,Jm,$m=Object(ue.c)("markerService");(Jm=Qm||(Qm={})).get=function(e,t,n){if(e[t])return e[t][n]},Jm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Jm.remove=function(e,t,n){return!(!e[t]||!e[t][n]||(delete e[t][n],Object(Be.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 V.a,this._onMarkerChangedEvent=V.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=Qm.remove(this._byResource,n.toString(),t),r=Qm.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)}Qm.set(this._byResource,n.toString(),t,s),Qm.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(_=Qm.get(this._byResource,i.toString(),n)){for(var s=[],a=0,u=_;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++){_=p[f];if(e._accept(_,o)){c=s.push(_);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,y=this._byResource[g][m];v<y.length;v++){var _=y[v];if(e._accept(_,o)){var c=s.push(_);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 V.a,this._dispoables=new le.b,this._menuGroups=[],this._contextKeys=new Set,this._build(),this._dispoables.add(V.b.debounce(V.b.filter(bd.c.onDidChangeMenu,(function(e){return e===i._id})),(function(){}),50)(this._build,this)),this._dispoables.add(V.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(Jn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Jn.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 V.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(Be.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(Mr.f)(qs),n=20,i={color:Object(Mr.f)(xs.zb),position:Pe.c.Inline};break;case Ym.Info:t="squiggly-info",o=Object(Mr.f)(Gs),n=10;break;case Ym.Error:default:t="squiggly-error",o=Object(Mr.f)(Ks),n=30,i={color:Object(Mr.f)(xs.wb),position:Pe.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:Pe.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)}},yv=function(e){function t(t,n){var i=e.call(this)||this;i._contextKeyService=t,i._configurationService=n,i._accessibilitySupport=0,i._onDidChangeScreenReaderOptimized=new V.a,i._accessibilityModeEnabledContext=Jl.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,Ai)],t)}(le.a),_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){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=Mc;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 Vo;e.configurationService=o(Ai,(function(){return r})),e.resourceConfigurationService=o(At,(function(){return new Wo(r)})),e.resourcePropertiesService=o(Ft,(function(){return new Bo(r)})),e.contextService=o(co,(function(){return new zo})),e.labelService=o(Yf,(function(){return new qo})),e.telemetryService=o(Lf.a,(function(){return new Ho})),e.dialogService=o(Vf,(function(){return new Po})),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(_d,(function(){return new Gh})),e.logService=o(jt,(function(){return new Vt})),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 xh(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(Ai),u=i.get(lo.a),l=i.get(Lf.a),c=i.get(Mr.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(Ql,(function(){return new yv(h,a)})),d(Mm,(function(){return new Im(c)}));var f=d(ae.b,(function(){return new Ao(i._instantiationService)})),p=d(Cd.a,(function(){return i._register(new Fo(h,f,l,u,t))})),g=d(Pf,(function(){return new Go(t)})),m=d(Xc.b,(function(){return i._register(new jf(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(Id,(function(){return new Ko(hv.modelService.get(Rt.a))})),i}return _v(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(je.a)||(o=new Io(hv.modelService.get()),i.set(je.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(_d),n.get(lo.a),n.get(Ai),n.get(Ql))}))}function Sv(e){return hv.codeEditorService.get().onCodeEditorAdd((function(t){e(t)}))}function Ov(e,t,n){return Cv(e,n||{},(function(n){return new Md(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(_d),n.get(lo.a),n.get(Ai),n.get(Xc.a),n.get(td),null)}))}function xv(e,t){return new Ne(e,t)}function Lv(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Nv(e,t,n){if(e=e||"",!t){var i=e.indexOf("\n"),o=e;return-1!==i&&(o=e.substring(0,i)),Lv(e,hv.modeService.get().createByFilepathOrFirstLine(n||null,o),n)}return Lv(e,hv.modeService.get().create(t),n)}function Ev(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function Dv(e,t,n){e&&hv.markerService.get().changeOne(t,e.uri,n)}function kv(e){return hv.markerService.get().read(e)}function Mv(e){return hv.modelService.get().getModel(e)}function Iv(){return hv.modelService.get().getModels()}function Tv(e){return hv.modelService.get().onModelAdded(e)}function Pv(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 Av(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 jv(e,t,n){return Un.colorize(hv.modeService.get(),e,t,n)}function Vv(e,t,n){return void 0===n&&(n=4),Un.colorizeModelLine(e,t,n)}function Wv(e,t){hv.modeService.get().triggerMode(t);for(var n=function(e){var t=Re.y.get(e);return t||{getInitialState:function(){return Ae.c},tokenize:function(t,n,i){return Object(Ae.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 Bv(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]?In(e,"language definition does not contain attribute '"+i+"', used at: "+t):In(e,"attribute reference '"+i+"' must be a string, used at: "+t);o=e[i].source}return Dn(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 In(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 In(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 In(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 In(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 In(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 In(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 In(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 In(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 Qv(){var e=[];return e=e.concat(Hd.getLanguages())}function Jv(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 ey(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 ty=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}(),ny=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 iy(e){return e&&"function"==typeof e.then}function oy(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 ty(e):new ny(hv.standaloneThemeService.get(),n,e)};return iy(t)?Re.y.registerPromise(e,t.then((function(e){return i(e)}))):Re.y.register(e,i(t))}function ry(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 In(n,"an 'include' attribute must be a string at: "+e);if("@"===c[0]&&(c=c.substr(1)),!t.tokenizer[c])throw In(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 In(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 In(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 In(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 In(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 In(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 In(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 iy(t)?Re.y.registerPromise(e,t.then((function(e){return n(e)}))):Re.y.register(e,n(t))}function sy(e,t){return Re.t.register(e,t)}function ay(e,t){return Re.u.register(e,t)}function uy(e,t){return Re.w.register(e,t)}function ly(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 cy(e,t){return Re.l.register(e,t)}function dy(e,t){return Re.h.register(e,t)}function hy(e,t){return Re.f.register(e,t)}function fy(e,t){return Re.p.register(e,t)}function py(e,t){return Re.z.register(e,t)}function gy(e,t){return Re.b.register(e,t)}function my(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 vy(e,t){return Re.g.register(e,t)}function yy(e,t){return Re.i.register(e,t)}function _y(e,t){return Re.s.register(e,t)}function by(e,t){return Re.r.register(e,t)}function Cy(e,t){return Re.d.register(e,t)}function wy(e,t){return Re.c.register(e,t)}function Sy(e,t){return Re.n.register(e,t)}function Oy(e,t){return Re.e.register(e,t)}function xy(e,t){return Re.v.register(e,t)}function Ly(e,t){return Re.k.register(e,t)}function Ny(e,t){return Re.j.register(e,t)}var Ey=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var Dy=G();Dy.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Ov,createDiffNavigator:xv,createModel:Nv,setModelLanguage:Ev,setModelMarkers:Dv,getModelMarkers:kv,getModels:Iv,getModel:Mv,onDidCreateModel:Tv,onWillDisposeModel:Pv,onDidChangeModelLanguage:Rv,createWebWorker:Av,colorizeElement:Fv,colorize:jv,colorizeModelLine:Vv,tokenize:Wv,defineTheme:Bv,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:O,RenderLineNumbersType:x,RenderMinimap:L,ScrollbarVisibility:E,ScrollType:N,TextEditorCursorBlinkingStyle:T,TextEditorCursorStyle:P,TrackedRangeStickiness:R,WrappingIndent:A,ConfigurationChangedEvent:F.a,BareFontInfo:Me,FontInfo:Ie,TextModelResolvedOptions:Pe.e,FindMatch:Pe.b,EditorType:Te.a,EditorOptions:F.e},Dy.languages={register:Xv,getLanguages:Qv,onLanguage:$v,getEncodedLanguageId:Jv,setLanguageConfiguration:ey,setTokensProvider:oy,setMonarchTokensProvider:ry,registerReferenceProvider:sy,registerRenameProvider:ay,registerCompletionItemProvider:Cy,registerSignatureHelpProvider:uy,registerHoverProvider:ly,registerDocumentSymbolProvider:cy,registerDocumentHighlightProvider:dy,registerDefinitionProvider:hy,registerImplementationProvider:fy,registerTypeDefinitionProvider:py,registerCodeLensProvider:gy,registerCodeActionProvider:my,registerDocumentFormattingEditProvider:vy,registerDocumentRangeFormattingEditProvider:yy,registerOnTypeFormattingEditProvider:_y,registerLinkProvider:by,registerColorProvider:wy,registerFoldingRangeProvider:Sy,registerDeclarationProvider:Oy,registerSelectionRangeProvider:xy,registerDocumentSemanticTokensProvider:Ly,registerDocumentRangeSemanticTokensProvider:Ny,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:M,SymbolTag:I,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var ky=Dy.CancellationTokenSource,My=Dy.Emitter,Iy=Dy.KeyCode,Ty=Dy.KeyMod,Py=Dy.Position,Ry=Dy.Range,Ay=Dy.Selection,Fy=Dy.SelectionDirection,jy=Dy.MarkerSeverity,Vy=Dy.MarkerTag,Wy=Dy.Uri,By=Dy.Token,Hy=Dy.editor,zy=Dy.languages;Ey.monaco=Dy,void 0!==Ey.require&&"function"==typeof Ey.require.config&&Ey.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(109).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(93).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")},"9yH6":function(e,t,n){"use strict";n.r(t);var i=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var r=n("KNH7");n.d(t,"Button",(function(){return r.a})),i.a.Button=r.a,i.a.Group=o.a,t.default=i.a},"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)},AHJs:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var c=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)}(i,e);var t,n=(t=i,function(){var e,n=u(t);if(a()){var i=u(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return s(this,e)});function i(){return o(this,i),n.apply(this,arguments)}return i}(l(n("q1tI")).Component);t.default=c,c.isTableColumnGroup=!0},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,y=g;v<y.length;v++){var _=y[v];this._hooks.add(i.j(_,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(_,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}()},AU0A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){(/^\s+$/.test(t)||""===t)&&o.push(i.format(r.messages.whitespace,e.fullField))}},AbCa:function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},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(105).then(n.bind(null,"AoeA"))}})},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},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(146).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)}},BjZs:function(e,t,n){"use strict";function i(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n("q1tI")),d=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var r=[],a=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(u,l){var c=s({},u);o[n].push(c),i.colSpan=i.colSpan||0,c.children&&c.children.length>0?(c.children=e(c.children,n+1,c,o),i.colSpan+=c.colSpan):i.colSpan+=1;for(var d=0;d<o[n].length-1;d+=1)a(o[n][d]);l+1===t.length&&a(c),r.push(c)})),r}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return c.Children.forEach(e,(function(e){if(c.isValidElement(e)){var i=s({},e.props);e.key&&(i.key=e.key),e.type.isTableColumnGroup&&(i.children=t.normalize(i.children)),n.push(i)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,i(t._leafColumns(e.children))):n.push(e)})),n}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=d},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("W9HT")),o=g(n("2/Rp")),r=g(n("CtXQ")),s=g(n("9yH6")),a=g(n("Vl3Y")),u=g(n("5rEg")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),d=g(c),h=n("sYIF"),f=n("eO8H");n("XmZk");var p=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var m=u.default.TextArea,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.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,i=e.content,o=e.editor_type,r=n.props.match.params,s=r.branch,a=r.projectsId,u=r.owner,l=n.state,c=l.submitType,d=l.filename;n.setState({isSpin:!0});var h="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+a+"/create_file.json";p.default.post(o,{filepath:d||h,branch:s,new_branch:"1"===c?t.branchname:void 0,content:i,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var i=n.props.getTopCount;i&&i(t.branchname)}var o="/projects/"+u+"/"+a+(t.branchname?"/branch/"+t.branchname:s?"/branch/"+s:"");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,i=e.detail,o=e.content,r=e.currentBranch,s=n.props.match.params,a=s.projectsId,u=s.owner,l=n.state.submitType,c="/"+u+"/"+a+"/update_file.json";n.props.form.validateFieldsAndScroll((function(e,s){e?n.setState({isSpin:!1}):p.default.put(c,{filepath:i.path,branch:"1"===l?void 0:r||t,new_branch:"1"===l?s.branchname:void 0,content:o,sha:i.sha,message:s.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var i="/projects/"+u+"/"+a+(s.branchname?"/branch/"+s.branchname:r||t?"/branch/"+(r||t):"");n.props.history.push(i),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),l(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,l=t.filename,c=t.isSpin,p=this.props.form.getFieldDecorator,g=this.props.match.params,v=g.branch,y=g.projectsId,_=g.owner,b=this.props,C=b.current_user,w=b.filepath,S=b.projectDetail,O=b.currentBranch,x=this.props.editor_type;return d.default.createElement("div",null,d.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},d.default.createElement(f.Link,{to:"/users/"+(C&&C.login),className:"show-user-link"},d.default.createElement("img",{src:(0,h.getImageUrl)("images/"+(C&&C.image_url)),alt:"",className:"screwImg"}),d.default.createElement("span",{className:"color-grey-3 ver-middle"},C&&C.username,":")),d.default.createElement("span",{className:"color-grey-8"},"提交变更")),d.default.createElement(i.default,{spinning:c},d.default.createElement("div",{className:"userScrew"},d.default.createElement("div",{className:"screwPanel"},d.default.createElement(a.default,null,d.default.createElement(a.default.Item,{style:{display:"upload"===x?"block":"none"}},p("path",{rules:[]})(d.default.createElement("div",{className:"setInputAddon"},d.default.createElement(u.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:l||w,onChange:this.changeFileName,placeholder:"文件路径..."})))),d.default.createElement(a.default.Item,null,p("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(d.default.createElement(m,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),d.default.createElement(s.default.Group,{value:n,onChange:this.changeSubmittype},d.default.createElement(s.default,{value:"0",className:"mb10"},d.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",d.default.createElement("span",{className:"color-orange"},O||v),"分支"),d.default.createElement(s.default,{value:"1"},d.default.createElement(r.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",d.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?d.default.createElement("div",{className:"mt15"},d.default.createElement(a.default.Item,{style:{paddingLeft:"24px"}},p("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(d.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),d.default.createElement("div",{className:"mt20"},d.default.createElement(o.default,{type:"primary",onClick:"update"===x?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),d.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+_+"/"+y)},className:"mr20"},"取消"))))}}]),t}(c.Component),y=a.default.create({name:"UserSubmitForm"})(v);t.default=y},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return We}));var i=n("q1tI"),o=n("1j5w"),r=n("TSYQ"),s=n.n(r),a=n("BGR+"),u=n("VCL8"),l=n("17x9"),c=n("foW8"),d=n.n(c),h=d()({inlineCollapsed:!1});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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function g(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 _(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=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)}(l,e);var t,n,r,a,u=(t=l,function(){var e,n=b(t);if(_()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return y(this,e)});function l(){var e;return g(this,l),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=l,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,r=t.popupClassName;return i.createElement(h.Consumer,null,(function(t){var a=t.antdMenuTheme;return i.createElement(o.d,p({},e.props,{ref:e.saveSubMenu,popupClassName:s()("".concat(n,"-").concat(a),r)}))}))}}])&&m(n.prototype,r),a&&m(n,a),l}(i.Component);C.contextTypes={antdMenuTheme:l.string},C.isSubMenu=1;var w=C,S=n("3S7+"),O=n("H84U");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 L(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),e}function I(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)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){return function(){var t,n=F(e);if(A()){var i=F(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return R(this,t)}}function R(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 A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},V=d()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function W(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var r;return(r=function(o){I(s,o);var r=P(s);function s(){var o;return D(this,s),(o=r.apply(this,arguments)).renderComponent=function(r){var s=r.getPrefixCls,a=o.props.prefixCls,u=s(t,a);return i.createElement(e,E({prefixCls:u,tagName:n},o.props))},o}return M(s,[{key:"render",value:function(){return i.createElement(O.a,null,this.renderComponent)}}]),s}(i.Component)).displayName=o,r}}var B=function(e){var t=e.prefixCls,n=e.className,o=e.children,r=e.tagName,a=j(e,["prefixCls","className","children","tagName"]),u=s()(n,t);return i.createElement(r,E({className:u},a),o)},H=function(e){I(n,e);var t=P(n);function n(){var e;return D(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return M(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(L(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,r=o.prefixCls,a=o.className,u=o.children,l=o.hasSider,c=o.tagName,d=j(o,["prefixCls","className","children","hasSider","tagName"]),h=s()(a,r,(e={},t="".concat(r,"-has-sider"),n="boolean"==typeof l?l: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 i.createElement(V.Provider,{value:{siderHook:this.getSiderHook()}},i.createElement(c,E({className:h},d),u))}}]),n}(i.Component),z=W({suffixCls:"layout",tagName:"section",displayName:"Layout"})(H),U=W({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(B),K=W({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(B),q=W({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(B);z.Header=U,z.Footer=K,z.Content=q;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 ie(e){return function(){var t,n=se(e);if(re()){var i=se(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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 re(){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 se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ae=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ue,le={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ce=d()({}),de=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),he=function(e){te(n,e);var t=ie(n);function n(e){var o,r,u;return J(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,r=o.props,u=r.prefixCls,l=r.className,c=r.theme,d=r.collapsible,h=r.reverseArrow,f=r.trigger,p=r.style,g=r.width,m=r.collapsedWidth,v=r.zeroWidthTriggerStyle,y=ae(r,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),_=n("layout-sider",u),b=Object(a.a)(y,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),C=o.state.collapsed?m:g,w=Y(C)?"".concat(C,"px"):String(C),S=0===parseFloat(String(m||0))?i.createElement("span",{onClick:o.toggle,className:"".concat(_,"-zero-width-trigger ").concat(_,"-zero-width-trigger-").concat(h?"right":"left"),style:v},i.createElement(G.default,{type:"bars"})):null,O={expanded:h?i.createElement(G.default,{type:"right"}):i.createElement(G.default,{type:"left"}),collapsed:h?i.createElement(G.default,{type:"left"}):i.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],x=null!==f?S||i.createElement("div",{className:"".concat(_,"-trigger"),onClick:o.toggle,style:{width:w}},f||O):null,L=Q(Q({},p),{flex:"0 0 ".concat(w),maxWidth:w,minWidth:w,width:w}),N=s()(l,_,"".concat(_,"-").concat(c),(X(t={},"".concat(_,"-collapsed"),!!o.state.collapsed),X(t,"".concat(_,"-has-trigger"),d&&null!==f&&!S),X(t,"".concat(_,"-below"),!!o.state.below),X(t,"".concat(_,"-zero-width"),0===parseFloat(w)),t));return i.createElement("aside",Q({className:N},b,{style:L}),i.createElement("div",{className:"".concat(_,"-children")},o.props.children),d||o.state.below&&S?x:null)},o.uniqueId=de("ant-sider-"),"undefined"!=typeof window&&(r=window.matchMedia),r&&e.breakpoint&&e.breakpoint in le&&(o.mql=r("(max-width: ".concat(le[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(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 i.createElement(ce.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},i.createElement(O.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(i.Component);he.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(he);i.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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function ge(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(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 _e(){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 be(e){return(be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ce=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&ve(e,t)}(u,e);var t,n,r,s,a=(t=u,function(){var e,n=be(t);if(_e()){var i=be(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return ye(this,e)});function u(){var e;return ge(this,u),(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,r=e.props,s=r.level,a=r.children,u=r.rootPrefixCls,l=e.props,c=l.title,d=Ce(l,["title"]);return i.createElement(h.Consumer,null,(function(t){var r=t.inlineCollapsed,l={title:c||(1===s?a:"")};return n||r||(l.title=null,l.visible=!1),i.createElement(S.default,pe({},l,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),i.createElement(o.b,pe({},d,{title:c,ref:e.saveMenuItem})))}))},e}return n=u,(r=[{key:"render",value:function(){return i.createElement(ce.Consumer,null,this.renderItem)}}])&&me(n.prototype,r),s&&me(n,s),u}(i.Component);we.isMenuItem=!0;var Se=n("6CfX"),Oe=n("oHiP"),xe=function(){return{height:0,opacity:0}},Le=function(e){return{height:e.scrollHeight,opacity:1}},Ne={motionName:"ant-motion-collapse",onAppearStart:xe,onEnterStart:xe,onAppearActive:Le,onEnterActive:Le,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:xe};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 De(){return(De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function ke(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ie(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function Te(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)}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){return function(){var t,n=je(e);if(Fe()){var i=je(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Fe(){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 je(e){return(je=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Te(n,e);var t=Re(n);function n(e){var r,u;return ke(this,n),(r=t.call(this,e)).handleMouseEnter=function(e){r.restoreModeVerticalFromInline();var t=r.props.onMouseEnter;t&&t(e)},r.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,n=e.target.className,i="[object SVGAnimatedString]"===Object.prototype.toString.call(n)?n.animVal:n,o="font-size"===e.propertyName&&i.indexOf("anticon")>=0;(t||o)&&r.restoreModeVerticalFromInline()},r.handleClick=function(e){r.handleOpenChange([]);var t=r.props.onClick;t&&t(e)},r.handleOpenChange=function(e){r.setOpenKeys(e);var t=r.props.onOpenChange;t&&t(e)},r.renderMenu=function(e){var t,n,u,l=e.getPopupContainer,c=e.getPrefixCls,d=r.props,h=d.prefixCls,f=d.className,p=d.theme,g=d.collapsedWidth,m=Object(a.a)(r.props,["collapsedWidth","siderCollapsed"]),v=r.getRealMenuMode(),y=r.getOpenMotionProps(v),_=c("menu",h),b=s()(f,"".concat(_,"-").concat(p),(t={},n="".concat(_,"-inline-collapsed"),u=r.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[n]=u,t)),C=De({openKeys:r.state.openKeys,onOpenChange:r.handleOpenChange,className:b,mode:v},y);return"inline"!==v&&(C.onClick=r.handleClick),r.getInlineCollapsed()&&(0===g||"0"===g||"0px"===g)&&(C.openKeys=[]),i.createElement(o.e,De({getPopupContainer:l},m,C,{prefixCls:_,onTransitionEnd:r.handleTransitionEnd,onMouseEnter:r.handleMouseEnter}))},Object(Se.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(Se.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Se.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),r.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},r}return Ie(n,[{key:"componentWillUnmount",value:function(){Oe.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,i=t.openAnimation,o=t.motion;return o?{motion:o}:i?(Object(Se.a)("string"==typeof i,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:i}):n?{openTransitionName:n}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:Ne}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return i.createElement(h.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},i.createElement(O.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i={prevProps:e};return"inline"===n.mode&&"inline"!==e.mode&&(i.switchingModeFromInline=!0),"openKeys"in e?i.openKeys=e.openKeys:((e.inlineCollapsed&&!n.inlineCollapsed||e.siderCollapsed&&!n.siderCollapsed)&&(i.switchingModeFromInline=!0,i.inlineOpenKeys=t.openKeys,i.openKeys=[]),(!e.inlineCollapsed&&n.inlineCollapsed||!e.siderCollapsed&&n.siderCollapsed)&&(i.openKeys=t.inlineOpenKeys,i.inlineOpenKeys=[])),i}}]),n}(i.Component);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Ve);var We=function(e){Te(n,e);var t=Re(n);function n(){return ke(this,n),t.apply(this,arguments)}return Ie(n,[{key:"render",value:function(){var e=this;return i.createElement(ce.Consumer,null,(function(t){return i.createElement(Ve,De({},e.props,t))}))}}]),n}(i.Component);We.Divider=o.a,We.Item=we,We.SubMenu=w,We.ItemGroup=o.c},"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}))},C5VC:function(e,t,n){},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)}}},Cit5:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("q1tI")),s=i(n("17x9")),a=o(n("TSYQ")),u=n("6Ogq"),l=o(n("UNrv"));function c(e,t){var n,i,o,s=t.table,c=s.props,d=c.prefixCls,h=c.scroll,f=c.showHeader,p=e.columns,g=e.fixed,m=e.tableClassName,v=e.handleBodyScrollLeft,y=e.expander,_=s.saveRef,b=s.props.useFixedHeader,C={},w=u.measureScrollbar({direction:"vertical"});if(h.y){b=!0;var S=u.measureScrollbar({direction:"horizontal",prefixCls:d});S>0&&!g&&(C.marginBottom="-".concat(S,"px"),C.paddingBottom="0px",C.minWidth="".concat(w,"px"),C.overflowX="scroll",C.overflowY=0===w?"hidden":"scroll")}return b&&f?r.createElement("div",{key:"headTable",ref:g?null:_("headTable"),className:a.default("".concat(d,"-header"),(n={},i="".concat(d,"-hide-scrollbar"),o=w>0,i in n?Object.defineProperty(n,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[i]=o,n)),style:C,onScroll:v},r.createElement(l.default,{tableClassName:m,hasHead:!0,hasBody:!1,fixed:g,columns:p,expander:y})):null}t.default=c,c.contextTypes={table:s.any}},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)}},D1y2:function(e,t,n){var i=n("FZoo");e.exports=function(e,t,n){return null==e?e:i(e,t,n)}},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 y})),n.d(t,"g",(function(){return _})),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,y=l.indexOf("iPad")>=0||m&&navigator.maxTouchPoints>0,_=d&&l.indexOf("WebView/")>=0,b=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches},DSRE:function(e,t,n){(function(e){var i=n("Kz5y"),o=n("B8du"),r=t&&!t.nodeType&&t,s=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=s&&s.exports===r?i.Buffer:void 0,u=(a?a.isBuffer:void 0)||o;e.exports=u}).call(this,n("YuTi")(e))},DTDp:function(e,t,n){},DVfl:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==i(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var g=f(n("q1tI")),m=p(n("TSYQ")),v=p(n("mwIZ"));function y(e){return e&&!g.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}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&&l(e,t)}(p,e);var t,n,i,o,f=(t=p,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});function p(){var e;return a(this,p),(e=f.apply(this,arguments)).handleClick=function(t){var n=e.props,i=n.record,o=n.column.onCellClick;o&&o(i,t)},e}return n=p,(i=[{key:"render",value:function(){var e,t,n=this.props,i=n.record,o=n.indentSize,a=n.prefixCls,u=n.indent,l=n.index,c=n.expandIcon,d=n.column,h=n.component,f=d.dataIndex,p=d.render,_=d.className,b=void 0===_?"":_;t="number"==typeof f||f&&0!==f.length?v.default(i,f):i;var C,w,S={};if(p&&y(t=p(t,i,l))){var O=S=t.props||S;C=O.colSpan,w=O.rowSpan,t=t.children}d.onCell&&(S=r({},S,{},d.onCell(i,l))),y(t)&&(t=null);var x=c?g.createElement("span",{style:{paddingLeft:"".concat(o*u,"px")},className:"".concat(a,"-indent indent-level-").concat(u)}):null;if(0===w||0===C)return null;d.align&&(S.style=r({textAlign:d.align},S.style));var L=m.default(b,(s(e={},"".concat(a,"-cell-ellipsis"),!!d.ellipsis),s(e,"".concat(a,"-cell-break-word"),!!d.width),e));if(d.ellipsis)if("string"==typeof t)S.title=t;else if(t){var N=t.props;N&&N.children&&"string"==typeof N.children&&(S.title=N.children)}return g.createElement(h,Object.assign({className:L,onClick:this.handleClick},S),x,c,t)}}])&&u(n.prototype,i),o&&u(n,o),p}(g.Component);t.default=_},"Dt+G":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(108).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(147).then(n.bind(null,"EaLm"))}})},EA7m:function(e,t,n){var i=n("zZ0H"),o=n("Ioao"),r=n("wclG");e.exports=function(e,t){return r(o(e,t,i),e+"")}},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(144).then(n.bind(null,"87dK"))}})},EffR:function(e,t,n){"use strict";n.d(t,"o",(function(){return y})),n.d(t,"L",(function(){return _})),n.d(t,"G",(function(){return b})),n.d(t,"C",(function(){return O})),n.d(t,"e",(function(){return x})),n.d(t,"f",(function(){return L})),n.d(t,"J",(function(){return N})),n.d(t,"K",(function(){return E})),n.d(t,"S",(function(){return D})),n.d(t,"g",(function(){return M})),n.d(t,"k",(function(){return T})),n.d(t,"h",(function(){return P})),n.d(t,"i",(function(){return R})),n.d(t,"O",(function(){return A})),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 J})),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 ye})),n.d(t,"T",(function(){return be})),n.d(t,"m",(function(){return Ce})),n.d(t,"a",(function(){return xe})),n.d(t,"R",(function(){return Le})),n.d(t,"D",(function(){return Ne})),n.d(t,"M",(function(){return Ee})),n.d(t,"x",(function(){return De})),n.d(t,"p",(function(){return ke})),n.d(t,"U",(function(){return Me})),n.d(t,"l",(function(){return Ie})),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 y(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function _(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,O=S.hasClass.bind(S),x=S.addClass.bind(S),L=S.addClasses.bind(S),N=S.removeClass.bind(S),E=S.removeClasses.bind(S),D=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 M(e,t,n,i){return new k(e,t,n,i)}function I(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=I(n):"keydown"!==t&&"keypress"!==t&&"keyup"!==t||(o=function(e){return function(t){return e(new s.a(t))}}(n)),M(e,t,o,i)};function P(e,t){return M(e,"mouseout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}function R(e,t){return M(e,"pointerout",(function(n){for(var i=n.relatedTarget;i&&i!==e;)i=i.parentNode;i!==e&&t(n)}))}var A,F,j=null;var V,W,B,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}();V=[],W=null,B=!1,H=!1,z=function(){for(B=!1,W=V,V=[],H=!0;W.length>0;)W.sort(U.sort),W.shift().execute();H=!1},F=function(e,t){void 0===t&&(t=0);var n,i=new U(e,t);return V.push(i),B||(B=!0,n=z,j||(j=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||function(e){return setTimeout((function(){return e((new Date).getTime())}),0)}),j.call(self,n)),i},A=function(e,t){if(H){var n=new U(e,t);return W.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(M(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 Q(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new Q(t,n)}if(window.innerWidth&&window.innerHeight)return new Q(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Q(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Q(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}(),Q=function(e,t){this.width=e,this.height=t};function J(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(O(e,t))return e;if(n)if("string"==typeof n){if(O(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 ye(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 _e=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 _e(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 Oe(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 xe(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Oe.apply(void 0,v([we.HTML,e,t],n))}function Le(){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 Ne(){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 Ee(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 De(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 Me(e){if(h.f||o.g)window.open(e);else{var t=window.open();t&&(t.opener=null,t.location.href=e)}}function Ie(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={})),xe.SVG=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Oe.apply(void 0,v([we.SVG,e,t],n))},p.a.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http")},Eitf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n("NJEC")),o=h(n("2fM7")),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("k994"),n("8QGh");var a=n("q1tI"),u=h(a);n("3cxI");var l=h(n("vDqi")),c=h(n("R/Rt")),d=h(n("bjH3"));function h(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.componentDidMount=function(){var e=n.props.detail;n.setState({value:e.content}),n.languages_total()},n.languages_total=function(){var e=n.props.detail.path.split("/").pop().split(".").pop(),t=[],i="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 r in o){t.push(r),-1!==o[r].indexOf(e)&&(i=r)}n.setState({languages:t,language:i})},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,i){n.setState({value:i})},n.deleteFile=function(){var e=n.props,t=e.branch,i=e.detail,o=n.props.match.params,r=o.projectsId,s=o.owner,a="/"+s+"/"+r+"/delete_file.json";l.default.delete(a,{params:{filepath:i.path,branch:t,sha:i.sha}}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.props.history.push("/projects/"+s+"/"+r))})).catch((function(e){console.log(e)}))},n.updateCode=function(e){n.setState({value:e})},n.onContentChange=function(e){n.setState({description:e})},n.state={value:void 0,language:void 0,languages:void 0,description:e.detail.content},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.props,n=t.readOnly,s=t.detail,a=t.current_user,l=t.isManager,h=t.isDeveloper,f=t.md,p=t.currentBranch,g=t.platform,m=this.state,v=m.language,y=m.languages,_=m.description,b=a&&a.login&&(l||h),C=o.default.Option;return u.default.createElement("div",{className:"mb20"},u.default.createElement("div",{className:"grid-item branchTitle"},u.default.createElement("div",{className:"grid-item"},u.default.createElement("span",{className:"ml20 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]}(s&&s.size))),u.default.createElement("p",{className:"text-right"},b&&g&&u.default.createElement("div",null,n?u.default.createElement("span",null,s.direct_download?"":u.default.createElement("span",null,u.default.createElement("a",{onClick:function(){return e.DownLoadFile(s.download_url)},className:"ml20"},u.default.createElement("i",{className:"iconfont icon-xiazai1 font-15 color-grey-6"})),u.default.createElement("a",{onClick:function(){return e.EditFile(!1)},className:"ml20"},u.default.createElement("i",{className:"iconfont icon-bianji1 font-15 color-grey-6"})))):u.default.createElement(u.default.Fragment,null,u.default.createElement(o.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:v,onChange:this.select_language},u.default.createElement(C,{value:void 0},"请选择文本语言"),y&&y.map((function(e,t){return u.default.createElement(C,{value:e,key:t},e)}))),u.default.createElement("button",{type:"button",className:"ant-btn ant-btn-sm ml20",onClick:function(){return e.EditFile(!0)}},u.default.createElement("span",null,"取 消"))),u.default.createElement(i.default,{title:"确认删除这个文件?",className:"ml20",okText:"确定",cancelText:"取消",onConfirm:this.deleteFile},u.default.createElement("a",null,u.default.createElement("i",{className:"iconfont icon-shanchu font-15 color-grey-6"})))))),u.default.createElement("div",null,s.image_type?u.default.createElement("div",{className:"edu-txt-center pt20 pb20"},u.default.createElement("img",{alt:"",src:s.download_url,style:{maxWidth:"80%"}})):s.direct_download?u.default.createElement("div",{className:"mt20 text-center"},u.default.createElement("a",{href:s.download_url,className:"color-blue font-15"},"下载原始文件")):f&&n?u.default.createElement("div",{className:"files-md"},u.default.createElement(d.default,{className:"file-md imageLayerParent",value:_,url:this.props.history.location})):u.default.createElement(c.default,r({},this.props,this.state,{language:v||"javascript",filepath:"/"+s.path,content:s.content,readOnly:n,editorType:"update",currentBranch:p}))))}}]),t}(a.Component);t.default=f},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("+kn0"),r=n("Gv54"),s=(i=r)&&i.__esModule?i:{default:i};t.default=function(e,t,n,i,r){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();s.default.required(e,t,i,a,r),void 0!==t&&s.default.type(e,t,i,a,r)}n(a)}},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}))},FZoo:function(e,t,n){var i=n("MrPd"),o=n("4uTw"),r=n("wJg7"),s=n("GoyQ"),a=n("9Nap");e.exports=function(e,t,n,u){if(!s(e))return e;for(var l=-1,c=(t=o(t,e)).length,d=c-1,h=e;null!=h&&++l<c;){var f=a(t[l]),p=n;if(l!=d){var g=h[f];void 0===(p=u?u(g,f,h):void 0)&&(p=s(g)?g:r(t[l+1])?[]:{})}i(h,f,p),h=h[f]}return e}},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(117).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 M})),n.d(t,"a",(function(){return I}));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)}}(),y=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),_=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 _(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}(y),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 _(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}(y),O=n("MI8n"),x=n("QuOb"),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)}}(),N=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},E=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 N(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}(),D=function(e){function t(t,n,i){var o=e.call(this)||this;o._onScroll=o._register(new O.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 L(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=E.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 x.a(0,(function(e){return r.Q(e)}));return(i=e.call(this,t,n,o)||this)._register(o),i}return L(t,e),t.prototype.setScrollPosition=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.getScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t}(D),M=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return L(t,e),t}(D),I=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 L(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 y})),n.d(t,"b",(function(){return _}));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 y=t.getLineContent(v),_=o.o(y);if((!this._opts.isUnshift||0!==y.length&&0!==_)&&(p||this._opts.isUnshift||0!==y.length)){if(-1===_&&(_=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!==_&&32===y.charCodeAt(_-1));C++)_--}}if(!this._opts.isUnshift||0!==_){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,_+1),S),v!==i||this._selection.isEmpty()||(this._selectionStartColumnStaysPut=this._selection.startColumn<=_+1)}}}else{var O=f?d(" ",h):"\t";for(v=i;v<=r;v++){y=t.getLineContent(v),_=o.o(y);if((!this._opts.isUnshift||0!==y.length&&0!==_)&&((p||this._opts.isUnshift||0!==y.length)&&(-1===_&&(_=y.length),!this._opts.isUnshift||0!==_)))if(this._opts.isUnshift){_=Math.min(_,h);for(var x=0;x<_;x++){if(9===y.charCodeAt(x)){_=x+1;break}}this._addEditOperation(n,new a.a(v,1,v,_+1),"")}else this._addEditOperation(n,new a.a(v,1,v,1),O),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)}),y=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 y=n.getLineContent(u.startLineNumber),_=o.r(y).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";_!==t.normalizeIndentation(b.beforeEnter)&&(S=t.normalizeIndentation(b.beforeEnter)+y.substring(_.length,u.startColumn-1)+"\n",u=new a.a(u.startLineNumber,1,u.endLineNumber,u.endColumn));var O=n.getLineContent(u.endLineNumber),x=o.o(O);if(u=x>=0?u.setEndPosition(u.endLineNumber,Math.max(u.endColumn,x+1)):u.setEndPosition(u.endLineNumber,n.getLineMaxColumn(u.endLineNumber)),i)return new r.d(u,S+t.normalizeIndentation(b.afterEnter),!0);var L=0;return w<=x+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),L=Math.min(C+1-t.normalizeIndentation(b.afterEnter).length-1,0)),new r.c(u,S+t.normalizeIndentation(b.afterEnter),0,L,!0)}}return e._typeCommand(u,"\n"+t.normalizeIndentation(_),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(),y=n.getLineContent(v.lineNumber);if(y.length>v.column-1){var _=y.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,d,_)&&!h(_))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(y.charCodeAt(v.column-2)))return null;if(!a&&v.column>2&&0===b.get(y.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 _(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),y=t.normalizeIndentation(v),_=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}(),_=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)},GZbg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(i.format(r.messages.enum,e.fullField,e.enum.join(", ")))}},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(140).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(136).then(n.bind(null,"ynbn"))}})},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("l1rO")),o=l(n("AU0A")),r=l(n("oEMi")),s=l(n("l8PK")),a=l(n("GZbg")),u=l(n("moXY"));function l(e){return e&&e.__esModule?e:{default:e}}t.default={required:i.default,whitespace:o.default,type:r.default,range:s.default,enum:a.default,pattern:u.default}},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(124).then(n.bind(null,"lXEz"))}})},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),(0,s.isEmptyValue)(t)||r.default.type(e,t,i,a,o)}n(a)}},"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(111).then(n.bind(null,"yswY"))}})},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,i=e.length;n<i&&!1!==t(e[n],n);n++);}}},Ioao:function(e,t,n){var i=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,s=-1,a=o(r.length-t,0),u=Array(a);++s<a;)u[s]=r[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=r[s];return l[t]=n(u),i(e,this,l)}}},"J+ZK":function(e,t,n){},JHRd:function(e,t,n){var i=n("Kz5y").Uint8Array;e.exports=i},"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(126).then(n.bind(null,"W1QP"))}})},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(){}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},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}()},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("q1tI"),o=n("17x9"),r=n("oOh1"),s=n("H84U");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(v,e);var t,n,o,a,m=(t=v,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function v(){var e;return l(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,s=o.prefixCls,a=g(o,["prefixCls"]),l=n("radio-button",s);return e.context.radioGroup&&(a.checked=e.props.value===e.context.radioGroup.value,a.disabled=e.props.disabled||e.context.radioGroup.disabled),i.createElement(r.a,u({prefixCls:l},a))},e}return n=v,(o=[{key:"render",value:function(){return i.createElement(s.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),a&&c(n,a),v}(i.Component);m.contextTypes={radioGroup:o.any}},Krc3:function(e,t,n){},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,a,o),(0,s.isEmptyValue)(t,"string")||r.default.pattern(e,t,i,a,o)}n(a)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,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(143).then(n.bind(null,"05+/"))}})},LcsW:function(e,t,n){var i=n("kekF")(Object.getPrototypeOf,Object);e.exports=i},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(112).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 _})),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},y=function(e){this.modelState=null,this.viewState=e},_=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 y(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}},LsHQ:function(e,t,n){var i=n("EA7m"),o=n("mv/X");e.exports=function(e){return i((function(t,n){var i=-1,r=n.length,s=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(s=e.length>3&&"function"==typeof s?(r--,s):void 0,a&&o(n[0],n[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++i<r;){var u=n[i];u&&e(t,u,i,s)}return t}))}},"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 y})),n.d(t,"Lb",(function(){return _})),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 O})),n.d(t,"W",(function(){return x})),n.d(t,"Y",(function(){return L})),n.d(t,"X",(function(){return N})),n.d(t,"Z",(function(){return E})),n.d(t,"bb",(function(){return D})),n.d(t,"ab",(function(){return k})),n.d(t,"T",(function(){return M})),n.d(t,"V",(function(){return I})),n.d(t,"U",(function(){return T})),n.d(t,"Cb",(function(){return A})),n.d(t,"Bb",(function(){return F})),n.d(t,"c",(function(){return j})),n.d(t,"d",(function(){return V})),n.d(t,"Gb",(function(){return W})),n.d(t,"Ib",(function(){return B})),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 Q})),n.d(t,"x",(function(){return J})),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 ye})),n.d(t,"l",(function(){return _e})),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 Oe})),n.d(t,"cb",(function(){return xe})),n.d(t,"db",(function(){return Le})),n.d(t,"nb",(function(){return Ne})),n.d(t,"ob",(function(){return Ee})),n.d(t,"mb",(function(){return De})),n.d(t,"kb",(function(){return ke})),n.d(t,"lb",(function(){return Me})),n.d(t,"eb",(function(){return Ie})),n.d(t,"fb",(function(){return Te})),n.d(t,"hb",(function(){return Pe})),n.d(t,"gb",(function(){return Re})),n.d(t,"Kb",(function(){return Ae})),n.d(t,"qb",(function(){return Fe})),n.d(t,"rb",(function(){return je})),n.d(t,"pb",(function(){return Ve})),n.d(t,"ub",(function(){return We})),n.d(t,"sb",(function(){return Be})),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 Je}));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 Je(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.")),y=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.")),_=(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.")),O=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.")),x=d("inputValidation.infoBackground",{dark:"#063B49",light:"#D6ECF2",hc:o.a.black},s.a("inputValidationInfoBackground","Input validation background color for information severity.")),L=d("inputValidation.infoForeground",{dark:null,light:null,hc:null},s.a("inputValidationInfoForeground","Input validation foreground color for information severity.")),N=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),E=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),D=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.")),M=d("inputValidation.errorBackground",{dark:"#5A1D1D",light:"#F2DEDE",hc:o.a.black},s.a("inputValidationErrorBackground","Input validation background color for error severity.")),I=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.")),P=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.")),A=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.")),j=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.")),V=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.")),W=d("scrollbar.shadow",{dark:"#000000",light:"#DDDDDD",hc:null},s.a("scrollbarShadow","Scrollbar shadow to indicate that the view is scrolled.")),B=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.")),Q=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.")),J=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:Qe(re,$,.3,.6),dark:Qe(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:y},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:y},s.a("editorFindMatchBorder","Border color of the current search match.")),fe=d("editor.findMatchHighlightBorder",{light:null,dark:null,hc:y},s.a("findMatchHighlightBorder","Border color of the other search matches.")),pe=d("editor.findRangeHighlightBorder",{dark:null,light:null,hc:Xe(y,.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=Je(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)),ye=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),_e=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.")),Oe=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.")),xe=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.")),Le=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.")),Ne=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.")),Ee=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.")),De=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.")),Me=d("list.hoverForeground",{dark:null,light:null,hc:null},s.a("listHoverForeground","List/Tree foreground when hovering over items using the mouse.")),Ie=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."))),Pe=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.")),Ae=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.")),je=d("menu.foreground",{dark:R,light:p,hc:R},s.a("menuForeground","Foreground color of menu items.")),Ve=d("menu.background",{dark:P,light:P,hc:P},s.a("menuBackground","Background color of menu items.")),We=d("menu.selectionForeground",{dark:Le,light:Le,hc:Le},s.a("menuSelectionForeground","Foreground color of the selected menu item in menus.")),Be=d("menu.selectionBackground",{dark:xe,light:xe,hc:xe},s.a("menuSelectionBackground","Background color of the selected menu item in menus.")),He=d("menu.selectionBorder",{dark:null,light:null,hc:y},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=Je(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Je(e,n);if(i)return i.transparent(t)}}function Qe(e,t,n,i){return function(r){var s=Je(e,r);if(s){var a=Je(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 Je(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}()},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var i=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!i(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 y})),n.d(t,"g",(function(){return _})),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,y=a,_=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)}}()},MibV:function(e,t,n){"use strict";function i(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),c=n("xI0J"),d=u(n("TSYQ"));function h(e,t){var n=e.fixedColumnsHeadRowsHeight,i=t.columns,o=t.rows,r=t.fixed,s=n[0];return r&&s&&i?"auto"===s?"auto":s/o.length:null}t.default=c.connect((function(e,t){return{height:h(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,a=e.components,u=e.onHeaderRow,c=e.prefixCls,h=a.header.row,f=a.header.cell,p=u(t.map((function(e){return e.column})),n),g=p?p.style:{},m=r({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},g);return l.createElement(h,Object.assign({},p,{style:m}),t.map((function(e,t){var n,o=e.column,a=e.isLast,u=i(e,["column","isLast"]),h=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(h.style=r({},h.style,{textAlign:o.align})),h.className=d.default(h.className,o.className,(s(n={},"".concat(c,"-align-").concat(o.align),!!o.align),s(n,"".concat(c,"-row-cell-ellipsis"),!!o.ellipsis),s(n,"".concat(c,"-row-cell-break-word"),!!o.width),s(n,"".concat(c,"-row-cell-last"),a),n)),l.createElement(f,Object.assign({},u,h,{key:o.key||o.dataIndex||t}))})))}))},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 y})),n.d(t,"basename",(function(){return _})),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,y=v;v<h&&!u(l.charCodeAt(v));++v);if(v<h&&v!==y){var _=l.slice(y,v);for(y=v;v<h&&u(l.charCodeAt(v));++v);if(v<h&&v!==y){for(y=v;v<h&&!u(l.charCodeAt(v));++v);v===h?(p="\\\\"+_+"\\"+l.slice(y),f=v):v!==y&&(p="\\\\"+_+"\\"+l.slice(y,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,y="win32"===o.c?f.dirname:p.dirname,_="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(130).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(139).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 y})),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 O})),n.d(t,"x",(function(){return x})),n.d(t,"y",(function(){return L})),n.d(t,"s",(function(){return N})),n.d(t,"C",(function(){return D})),n.d(t,"D",(function(){return k})),n.d(t,"g",(function(){return I})),n.d(t,"e",(function(){return P})),n.d(t,"t",(function(){return A})),n.d(t,"f",(function(){return F})),n.d(t,"w",(function(){return j})),n.d(t,"u",(function(){return V})),n.d(t,"a",(function(){return W})),n.d(t,"J",(function(){return B})),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 y(e){return e>=65&&e<=90}function _(e){return v(e)||y(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(_(o)&&_(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 O(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 x(e){return 55296<=e&&e<=56319}function L(e){return 56320<=e&&e<=57343}function N(e,t,n){var i=e.charCodeAt(n);if(x(i)&&n+1<t){var o=e.charCodeAt(n+1);if(L(o))return o-56320+(i-55296<<10)+65536}return i}function E(e,t){var n=e.charCodeAt(t-1);if(L(n)&&t>1){var i=e.charCodeAt(t-2);if(x(i))return n-56320+(i-55296<<10)+65536}return n}function D(e,t){var n=q.getInstance(),i=t,o=e.length,r=N(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=N(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=E(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=E(e,t),a=n.getGraphemeBreakType(s);if(K(a,r))break;t-=s>=65536?2:1,r=a}return i-t}var M=/(?:[\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 I(e){return M.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 P(e){return T.test(e)}var R=/^[\t\n\r\x20-\x7E]*$/;function A(e){return R.test(e)}function F(e){for(var t=0,n=e.length;t<n;t++)if(j(e.charCodeAt(t)))return!0;return!1}function j(e){return(e=+e)>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function V(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 W=String.fromCharCode(65279);function B(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}()},NJEC:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("VCL8"),r=n("3S7+"),s=n("CtXQ"),a=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),c=n("H84U");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 h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(b,e);var t,n,o,s,d=(t=b,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});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=d.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,r=o.okButtonProps,s=o.cancelButtonProps,u=o.title,l=o.cancelText,c=o.okText,d=o.okType,f=o.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},f,i.createElement("div",{className:"".concat(e,"-message-title")},u)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(a.default,h({onClick:t.onCancel,size:"small"},s),l||n.cancelText),i.createElement(a.default,h({onClick:t.onConfirm,type:d,size:"small"},r),c||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,s=o.prefixCls,a=o.placement,c=_(o,["prefixCls","placement"]),d=n("popover",s),f=i.createElement(u.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},(function(e){return t.renderOverlay(d,e)}));return i.createElement(r.default,h({},c,{prefixCls:d,placement:a,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:f,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=b,s=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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 i=n.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderConfirm)}}])&&f(n.prototype,o),s&&f(n,s),b}(i.Component);b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(s.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(b),t.default=b},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"}}},OFL0:function(e,t,n){var i=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,i)}},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(103).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}},PZDY:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(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(e){return function(e){if(Array.isArray(e))return a(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 a(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(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 a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==i(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var g=f(n("q1tI")),m=n("xI0J"),v=n("VCL8"),y=p(n("Gytx")),_=p(n("XaS2")),b=n("6Ogq"),C=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&&l(e,t)}(p,e);var t,n,i,a,f=(t=p,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});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=f.call(this,e)).handleExpandChange=function(e,n,i,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];i&&i.stopPropagation();var a=t.props,u=a.onExpandedRowsChange,l=a.onExpand,c=t.store.getState(),d=c.expandedRowKeys;if(e)d=[].concat(s(d),[o]);else{var h=d.indexOf(o);-1!==h&&(d=b.remove(d,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:d}),t.latestExpandedRows&&y.default(t.latestExpandedRows,d)||(t.latestExpandedRows=d,u(d)),r||l(e,n)},t.renderExpandIndentCell=function(e,n){var i=t.props,s=i.prefixCls;if(i.expandIconAsCell&&"right"!==n&&e.length){var a={key:"rc-table-expand-icon-cell",className:"".concat(s,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a,{column:a}))}},t.renderRows=function(e,n,i,o,r,a,u,l){var c=t.props,d=c.expandedRowClassName,h=c.expandedRowRender,f=i[c.childrenColumnName],p=[].concat(s(l),[u]),g=r+1;h&&n.push(t.renderExpandedRow(i,o,h,d(i,o,r),p,g,a)),f&&n.push.apply(n,s(e(f,g,p)))};var n=e.data,i=e.childrenColumnName,a=e.defaultExpandAllRows,u=e.expandedRowKeys,l=e.defaultExpandedRowKeys,c=e.getRowKey,d=[],h=s(n);if(a)for(var g=0;g<h.length;g+=1){var m=h[g];d.push(c(m,g)),h=h.concat(m[i]||[])}else d=u||l;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:d}),t}return n=p,(i=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,i,o,r,s){var a,u=this,l=this.props,c=l.prefixCls,d=l.expandIconAsCell,h=l.indentSize,f=o[o.length-1],p="".concat(f,"-extra-row");a="left"===s?this.columnManager.leftLeafColumns().length:"right"===s?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var m=[{key:"extra-row",render:function(){var i=u.store.getState().expandedRowKeys,o=(void 0===i?[]:i).includes(f);return{props:{colSpan:a},children:"right"!==s?n(e,t,r,o):" "}}}];return d&&"right"!==s&&m.unshift({key:"expand-icon-placeholder",render:function(){return null}}),g.createElement(_.default,{key:p,columns:m,className:i,rowKey:p,ancestorKeys:o,prefixCls:"".concat(c,"-expanded-row"),indentSize:h,indent:r,fixed:s,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,i=e.children,o=t.some((function(e){return e[n]}));return i({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&u(n.prototype,i),a&&u(n,a),p}(g.Component);C.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(C),t.default=m.connect()(C)},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}},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},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(119).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 y=Math.min(Math.max(0,l-1),a-1);c[d++]=p,c[d++]=n.getMetadata(y)&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}()},QcOe:function(e,t,n){var i=n("GoyQ"),o=n("6sVZ"),r=n("7Ix3"),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!i(e))return r(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&s.call(e,a))&&n.push(a);return n}},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(132).then(n.bind(null,"j6Xs"))}})},QkVN:function(e,t,n){var i=n("+Qka"),o=n("LsHQ")((function(e,t,n){i(e,t,n)}));e.exports=o},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}()},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("q1tI"),s=l(r),a=l(n("gL5p")),u=l(n("BtkW"));function l(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.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content},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.state.editorValue,t=this.props,n=t.readOnly,o=t.editorType,r=t.language,l=t.currentBranch,c={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:n,cursorStyle:n?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",null,s.default.createElement("div",{className:"branchTable"},s.default.createElement(a.default,{height:"400px",language:r||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:e,options:c,onChange:this.changeEditor,editorWillMount:this.editorWillMount})),!n&&s.default.createElement(u.default,i({},this.props,this.state,{filepath:""+this.props.filepath,content:e,editor_type:o,currentBranch:l}))))}}]),t}(r.Component);t.default=c},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},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"],i=[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"],r=[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"],s=[n,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],a="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",u=[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"],l=[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"],c=[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 h(e,t,n,i,o){if(n){var r={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};i(r),o.push.apply(o,r.decorations)}}var f=/\S/;function p(e){for(var t=void 0,n=e.firstChild;n;n=n.nextSibling){var i=n.nodeType;t=1===i?t?e:n:3===i&&f.test(n.nodeValue)?e:t}return t===e?void 0:t}function g(e,t){var n,i={};!function(){for(var o=e.concat(t),r=[],s={},a=0,u=o.length;a<u;++a){var l=o[a],c=l[3];if(c)for(var d=c.length;--d>=0;)i[c.charAt(d)]=l;var h=l[1],f=""+h;s.hasOwnProperty(f)||(r.push(h),s[f]=null)}r.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,i=!1,o=0,r=e.length;o<r;++o){if((h=e[o]).ignoreCase)i=!0;else if(/[a-z]/i.test(h.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){n=!0,i=!1;break}}var s={b:8,t:9,n:10,v:11,f:12,r:13};function a(e){var t=e.charCodeAt(0);if(92!==t)return t;var n=e.charAt(1);return(t=s[n])||("0"<=n&&n<="7"?parseInt(e.substring(1),8):"u"===n||"x"===n?parseInt(e.substring(2),16):e.charCodeAt(1))}function u(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 l(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=[],i="^"===t[0],o=["["];i&&o.push("^");for(var r=i?1:0,s=t.length;r<s;++r){var l=t[r];if(/\\[bdsw]/i.test(l))o.push(l);else{var c,d=a(l);r+2<s&&"-"===t[r+1]?(c=a(t[r+2]),r+=2):c=d,n.push([d,c]),c<65||d>122||(c<65||d>90||n.push([32|Math.max(65,d),32|Math.min(c,90)]),c<97||d>122||n.push([-33&Math.max(97,d),-33&Math.min(c,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var h=[],f=[];for(r=0;r<n.length;++r){(p=n[r])[0]<=f[1]+1?f[1]=Math.max(f[1],p[1]):h.push(f=p)}for(r=0;r<h.length;++r){var p=h[r];o.push(u(p[0])),p[1]>p[0]&&(p[1]+1>p[0]&&o.push("-"),o.push(u(p[1])))}return o.push("]"),o.join("")}function c(e){for(var i=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=i.length,r=[],s=0,a=0;s<o;++s){if("("===(d=i[s]))++a;else if("\\"===d.charAt(0)){(c=+d.substring(1))&&(c<=a?r[c]=-1:i[s]=u(c))}}for(s=1;s<r.length;++s)-1===r[s]&&(r[s]=++t);for(s=0,a=0;s<o;++s){if("("===(d=i[s]))r[++a]||(i[s]="(?:");else if("\\"===d.charAt(0)){var c;(c=+d.substring(1))&&c<=a&&(i[s]="\\"+r[c])}}for(s=0;s<o;++s)"^"===i[s]&&"^"!==i[s+1]&&(i[s]="");if(e.ignoreCase&&n)for(s=0;s<o;++s){var d,h=(d=i[s]).charAt(0);d.length>=2&&"["===h?i[s]=l(d):"\\"!==h&&(i[s]=d.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return i.join("")}var d=[];for(o=0,r=e.length;o<r;++o){var h;if((h=e[o]).global||h.multiline)throw new Error(""+h);d.push("(?:"+c(h)+")")}return new RegExp(d.join("|"),i?"gi":"g")}(r)}();var o=t.length,r=function(e){for(var s=e.sourceCode,a=e.basePos,u=e.sourceNode,l=[a,"pln"],c=0,d=s.match(n)||[],f={},p=0,g=d.length;p<g;++p){var m,v=d[p],y=f[v],_=void 0;if("string"==typeof y)m=!1;else{var b=i[v.charAt(0)];if(b)_=v.match(b[1]),y=b[0];else{for(var w=0;w<o;++w)if(b=t[w],_=v.match(b[1])){y=b[0];break}_||(y="pln")}!(m=y.length>=5&&"lang-"===y.substring(0,5))||_&&"string"==typeof _[1]||(m=!1,y="src"),m||(f[v]=y)}var S=c;if(c+=v.length,m){var O=_[1],x=v.indexOf(O),L=x+O.length;_[2]&&(x=(L=v.length-_[2].length)-O.length);var N=y.substring(5);h(u,a+S,v.substring(0,x),r,l),h(u,a+S+x,O,C(N,O),l),h(u,a+S+L,v.substring(L),r,l)}else l.push(a+S,y)}e.decorations=l};return r}function m(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 i=e.hashComments;i&&(e.cStyleComments?(i>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 r=o>1?"":"\n\r",s=r?".":"[\\S\\s]",a="/(?=[^/*"+r+"])(?:[^/\\x5B\\x5C"+r+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+r+"]|\\x5C"+s+")*(?:\\x5D|$))+/";n.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+a+")")])}var u=e.types;u&&n.push(["typ",u]);var l=(""+e.keywords).replace(/^ | $/g,"");l.length&&n.push(["kwd",new RegExp("^(?:"+l.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push(["pln",/^\s+/,null," \r\n\t "]);var c="^.[^\\s\\w.$@'\"`/\\\\]*";return e.regexLiterals&&(c+="(?!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(c),null]),g(t,n)}var v=m({keywords:[i,r,o,s,a,u,l,c],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function y(e,t,n){for(var i=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,r=e.ownerDocument,s=r.createElement("li");e.firstChild;)s.appendChild(e.firstChild);var a=[s];function u(e){var t=e.nodeType;if(1!=t||i.test(e.className)){if((3==t||4==t)&&n){var s=e.nodeValue,a=s.match(o);if(a){var c=s.substring(0,a.index);e.nodeValue=c;var d=s.substring(a.index+a[0].length);if(d)e.parentNode.insertBefore(r.createTextNode(d),e.nextSibling);l(e),c||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)l(e),e.parentNode&&e.parentNode.removeChild(e);else for(var h=e.firstChild;h;h=h.nextSibling)u(h)}function l(e){for(;!e.nextSibling;)if(!(e=e.parentNode))return;for(var t,n=function e(t,n){var i=n?t.cloneNode(!1):t,o=t.parentNode;if(o){var r=e(o,1),s=t.nextSibling;r.appendChild(i);for(var a=s;a;a=s)s=a.nextSibling,r.appendChild(a)}return i}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;a.push(n)}for(var c=0;c<a.length;++c)u(a[c]);t===(0|t)&&a[0].setAttribute("value",t);var d=r.createElement("ol");d.className="linenums";for(var h=Math.max(0,t-1|0)||0,f=(c=0,a.length);c<f;++c)(s=a[c]).className="L"+(c+h)%10,s.firstChild||s.appendChild(r.createTextNode(" ")),d.appendChild(s);e.appendChild(d)}var _={};function b(t,n){for(var i=n.length;--i>=0;){var o=n[i];_.hasOwnProperty(o)?e.console&&console.warn("cannot override language handler %s",o):_[o]=t}}function C(e,t){return e&&_.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),_[e]}function w(t){var n,i,o,r,s,a,u,l=t.langExtension;try{var c=(n=t.sourceNode,i=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,r=[],s=0,a=[],u=0,function e(t){var n=t.nodeType;if(1==n){if(o.test(t.className))return;for(var l=t.firstChild;l;l=l.nextSibling)e(l);var c=t.nodeName.toLowerCase();"br"!==c&&"li"!==c||(r[u]="\n",a[u<<1]=s++,a[u++<<1|1]=t)}else if(3==n||4==n){var d=t.nodeValue;d.length&&(d=i?d.replace(/\r\n?/g,"\n"):d.replace(/[ \t\r\n]+/g," "),r[u]=d,a[u<<1]=s,s+=d.length,a[u++<<1|1]=t)}}(n),{sourceCode:r.join("").replace(/\n$/,""),spans:a}),d=c.sourceCode;t.sourceCode=d,t.spans=c.spans,t.basePos=0,C(l,d)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,i,o=/\n/g,r=e.sourceCode,s=r.length,a=0,u=e.spans,l=u.length,c=0,d=e.decorations,h=d.length,f=0;for(d[h]=s,i=n=0;i<h;)d[i]!==d[i+2]?(d[n++]=d[i++],d[n++]=d[i++]):i+=2;for(h=n,i=n=0;i<h;){for(var p=d[i],g=d[i+1],m=i+2;m+2<=h&&d[m+1]===g;)m+=2;d[n++]=p,d[n++]=g,i=m}h=d.length=n;var v=e.sourceNode,y="";v&&(y=v.style.display,v.style.display="none");try{for(;c<l;){u[c];var _,b=u[c+2]||s,C=d[f+2]||s,w=(m=Math.min(b,C),u[c+1]);if(1!==w.nodeType&&(_=r.substring(a,m))){t&&(_=_.replace(o,"\r")),w.nodeValue=_;var S=w.ownerDocument,O=S.createElement("span");O.className=d[f+1];var x=w.parentNode;x.replaceChild(O,w),O.appendChild(w),a<b&&(u[c+1]=w=S.createTextNode(r.substring(m,b)),x.insertBefore(w,O.nextSibling))}(a=m)>=b&&(c+=2),a>=C&&(f+=2)}}finally{v&&(v.style.display=y)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(e,t,n){var i=n||!1,o=t||null,r=document.createElement("div");return r.innerHTML="<pre>"+e+"</pre>",r=r.firstChild,i&&y(r,i,!0),w({langExtension:o,numberLines:i,sourceNode:r,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),r.innerHTML}function O(t,n){var i=n||document.body,o=i.ownerDocument||document;function r(e){return i.getElementsByTagName(e)}for(var s=[r("pre"),r("code"),r("xmp")],a=[],u=0;u<s.length;++u)for(var l=0,c=s[u].length;l<c;++l)a.push(s[u][l]);s=null;var d=Date;d.now||(d={now:function(){return+new Date}});var h=0,f=/\blang(?:uage)?-([\w.]+)(?!\S)/,g=/\bprettyprint\b/,m=/\bprettyprinted\b/,v=/pre|xmp/i,_=/^code$/i,b=/^(?:pre|code|xmp)$/i,C={};!function n(){for(var i=e.PR_SHOULD_USE_CONTINUATION?d.now()+250:1/0;h<a.length&&d.now()<i;h++){for(var r=a[h],s=C,u=r;u=u.previousSibling;){var l=u.nodeType,c=(7===l||8===l)&&u.nodeValue;if(c?!/^\??prettify\b/.test(c):3!==l||/\S/.test(u.nodeValue))break;if(c){s={},c.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){s[t]=n}));break}}var S=r.className;if((s!==C||g.test(S))&&!m.test(S)){for(var O=!1,x=r.parentNode;x;x=x.parentNode){var L=x.tagName;if(b.test(L)&&x.className&&g.test(x.className)){O=!0;break}}if(!O){r.className+=" prettyprinted";var N,E,D=s.lang;if(!D)!(D=S.match(f))&&(N=p(r))&&_.test(N.tagName)&&(D=N.className.match(f)),D&&(D=D[1]);if(v.test(r.tagName))E=1;else{var k=r.currentStyle,M=o.defaultView,I=k?k.whiteSpace:M&&M.getComputedStyle?M.getComputedStyle(r,null).getPropertyValue("white-space"):0;E=I&&"pre"===I.substring(0,3)}var T=s.linenums;(T="true"===T||+T)||(T=!!(T=S.match(/\blinenums\b(?::(\d+))?/))&&(!T[1]||!T[1].length||+T[1])),T&&y(r,T,E),w({langExtension:D,sourceNode:r,numberLines:T,pre:E,sourceCode:null,basePos:null,spans:null,decorations:null})}}}h<a.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}b(v,["default-code"]),b(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"]),b(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"]),b(g([],[["atv",/^[\s\S]+/]]),["uq.val"]),b(m({keywords:i,hashComments:!0,cStyleComments:!0,types:d}),["c","cc","cpp","cxx","cyc","m"]),b(m({keywords:"null,true,false"}),["json"]),b(m({keywords:r,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:d}),["cs"]),b(m({keywords:o,cStyleComments:!0}),["java"]),b(m({keywords:c,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),b(m({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),b(m({keywords:a,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),b(m({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),b(m({keywords:s,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),b(m({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"]),b(g([],[["str",/^[\s\S]+/]]),["regex"]);var x=e.PR={createSimpleLexer:g,registerLangHandler:b,sourceDecorator:m,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:O},L=e.define;"function"==typeof L&&L.amd&&L("google-code-prettify",[],(function(){return x}))}()},"SiX+":function(e,t,n){"use strict";var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("Gytx"),u=n.n(a),l=n("VCL8"),c=n("oOh1"),d=n("H84U");function h(e){return(h="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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e){var t=null,n=!1;return i.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,r,a=(t=l,function(){var e,n=y(t);if(v()){var i=y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onRadioChange=function(e){var n=t.state.value,i=e.target.value;"value"in t.props||t.setState({value:i});var o=t.props.onChange;o&&i!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,r=o.prefixCls,a=o.className,u=void 0===a?"":a,l=o.options,d=o.buttonStyle,h=n("radio",r),f="".concat(h,"-group"),p=s()(f,"".concat(f,"-").concat(d),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(f,"-").concat(o.size),o.size),u),g=o.children;return l&&l.length>0&&(g=l.map((function(e){return"string"==typeof e?i.createElement(c.a,{key:e,prefixCls:h,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):i.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:h,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),i.createElement("div",{className:p,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},g)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=_(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=_(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&f(n.prototype,o),r&&f(n,r),l}(i.Component);b.defaultProps={buttonStyle:"outline"},b.childContextTypes={radioGroup:o.any},Object(l.polyfill)(b),t.a=b},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(110).then(n.bind(null,"Dsrv"))}})},T1AV:function(e,t,n){var i=n("t2Dn"),o=n("5Tg0"),r=n("yP5f"),s=n("Q1l4"),a=n("+iFO"),u=n("03A+"),l=n("Z0cm"),c=n("3L66"),d=n("DSRE"),h=n("lSCD"),f=n("GoyQ"),p=n("YO3V"),g=n("c6wG"),m=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,y,_,b,C){var w=m(e,n),S=m(t,n),O=C.get(S);if(O)i(e,n,O);else{var x=b?b(w,S,n+"",e,t,C):void 0,L=void 0===x;if(L){var N=l(S),E=!N&&d(S),D=!N&&!E&&g(S);x=S,N||E||D?l(w)?x=w:c(w)?x=s(w):E?(L=!1,x=o(S,!0)):D?(L=!1,x=r(S,!0)):x=[]:p(S)||u(S)?(x=w,u(w)?x=v(w):f(w)&&!h(w)||(x=a(S))):L=!1}L&&(C.set(S,x),_(x,S,y,b,C),C.delete(S)),i(e,n,x)}}},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 y})),n.d(t,"e",(function(){return _}));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),y=Object(r.c)("contextKeyService"),_="setContext"},TT2d:function(e,t,n){},TZyB: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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}},UNrv:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(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(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==i(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(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=h(n("q1tI")),g=h(n("17x9")),m=n("xI0J"),v=f(n("TSYQ")),y=f(n("zSdB")),_=f(n("VMSz")),b=f(n("XaS2")),C=f(n("zgq8")),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&&u(e,t)}(g,e);var t,n,i,h,f=(t=g,function(){var e,n=d(t);if(c()){var i=d(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return l(this,e)});function g(){var e;return s(this,g),(e=f.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,r=o.columnManager,s=o.components,a=o.props,u=a.prefixCls,l=a.childrenColumnName,c=a.rowClassName,d=a.rowRef,h=a.onRowClick,f=a.onRowDoubleClick,g=a.onRowContextMenu,m=a.onRowMouseEnter,v=a.onRowMouseLeave,y=a.onRow,_=e.props,w=_.getRowKey,S=_.fixed,O=_.expander,x=_.isAnyColumnsFixed,L=[],N=function(o){var a=t[o],_=w(a,o),N="string"==typeof c?c:c(a,o,n),E={};r.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var D=void 0;D="left"===S?r.leftLeafColumns():"right"===S?r.rightLeafColumns():e.getColumns(r.leafColumns());var k="".concat(u,"-row"),M=p.createElement(C.default,Object.assign({},O.props,{fixed:S,index:o,prefixCls:k,record:a,key:_,rowKey:_,onRowClick:h,needIndentSpaced:O.needIndentSpaced,onExpandedChange:O.handleExpandChange}),(function(e){return p.createElement(b.default,Object.assign({fixed:S,indent:n,className:N,record:a,index:o,prefixCls:k,childrenColumnName:l,columns:D,onRow:y,onRowDoubleClick:f,onRowContextMenu:g,onRowMouseEnter:m,onRowMouseLeave:v},E,{rowKey:_,ancestorKeys:i,ref:d(a,o,n),components:s,isAnyColumnsFixed:x},e))}));L.push(M),O.renderRows(e.renderRows,L,a,o,n,S,_,i)},E=0;E<t.length;E+=1)N(E);return L},e}return n=g,(i=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,i=void 0===n?[]:n,s=t.fixed,a=this.context.table.props.prefixCls;return(e||i).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!s?v.default("".concat(a,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,i=n.prefixCls,o=n.scroll,r=n.data,s=n.getBodyWrapper,a=this.props,u=a.expander,l=a.tableClassName,c=a.hasHead,d=a.hasBody,h=a.fixed,f=a.isAnyColumnsFixed,g={};if(!h&&o.x){var m=f?"max-content":"auto";g.width=!0===o.x?m:o.x}var v,b=d?t.table:"table",C=t.body.wrapper;d&&(v=p.createElement(C,{className:"".concat(i,"-tbody")},this.renderRows(r,0)),s&&(v=s(v)));var w=this.getColumns();return p.createElement(b,{className:l,style:g,key:"table"},p.createElement(y.default,{columns:w,fixed:h}),c&&p.createElement(_.default,{expander:u,columns:w,fixed:h}),v)}}])&&a(n.prototype,i),h&&a(n,h),g}(p.Component);w.contextTypes={table:g.any},t.default=m.connect()(w)},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"))},UeuU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,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},r=n("Gv54"),s=(i=r)&&i.__esModule?i:{default:i};t.default=function(e,t,n,i,r){var a=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);s.default.required(e,t,i,a,r,u),n(a)}},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")},VMSz:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("q1tI")),s=i(n("17x9")),a=o(n("MibV"));var u=function(e,t){var n=t.table,i=n.components,o=n.props,s=o.prefixCls,u=o.showHeader,l=o.onHeaderRow,c=e.expander,d=e.columns,h=e.fixed;if(!u)return null;var f=function e(t){var n=t.columns,i=void 0===n?[]:n,o=t.currentRow,r=void 0===o?0:o,s=t.rows,a=void 0===s?[]:s,u=t.isLast,l=void 0===u||u;return a[r]=a[r]||[],i.forEach((function(t,n){if(t.rowSpan&&a.length<t.rowSpan)for(;a.length<t.rowSpan;)a.push([]);var o=l&&n===i.length-1,s={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:r+1,rows:a,isLast:o}),"colSpan"in t&&(s.colSpan=t.colSpan),"rowSpan"in t&&(s.rowSpan=t.rowSpan),0!==s.colSpan&&a[r].push(s)})),a.filter((function(e){return e.length>0}))}({columns:d});c.renderExpandIndentCell(f,h);var p=i.header.wrapper;return r.createElement(p,{className:"".concat(s,"-thead")},f.map((function(e,t){return r.createElement(a.default,{prefixCls:s,key:t,index:t,fixed:h,columns:d,rows:f,row:e,components:i,onHeaderRow:l})})))};u.contextTypes={table:s.any},t.default=u},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n.n(i),r=n("17x9"),s=n("TSYQ"),a=n.n(s),u=n("QbLZ"),l=n.n(u),c=n("i8i4"),d=n.n(c),h=n("9Do8"),f=n.n(h),p=n("OFL0"),g=n.n(p),m=n("jo6Y"),v=n.n(m),y=n("YEIV"),_=n.n(y),b=n("m1cH"),C=n.n(b),w=n("fhzG"),S=n.n(w),O=n("aGtg"),x=n("oV5b"),L=n.n(x),N=n("2W6z"),E=n.n(N),D=n("mwIZ"),k=n.n(D),M=n("D1y2"),I=n.n(M),T=n("ljhN"),P=n.n(T),R=n("iCc5"),A=n.n(R),F=n("V7oC"),j=n.n(F),V=function e(t){A()(this,e),l()(this,t)};function W(e){return e instanceof V}function B(e){return W(e)?e:new V(e)}var H=n("2mql"),z=n.n(H);function U(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function K(e){return e}function q(e){return Array.prototype.concat.apply([],e)}function G(e,t,n){var i={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],i=arguments[2],o=arguments[3],r=arguments[4];if(i(t,n))r(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,s){return e(t+"["+s+"]",n,i,o,r)}));else{if("object"!=typeof n)return void E()(!1,o);Object.keys(n).forEach((function(s){var a=n[s];e(t+(t?".":"")+s,a,i,o,r)}))}}(void 0,e,t,n,(function(e,t){i[e]=t})),i}function Y(e,t,n){var i=e.map((function(e){var t=l()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&i.push({trigger:n?[].concat(n):[],rules:t}),i}function Z(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 X(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Q(e,t,n){var i=e,o=t,r=n;return void 0===n&&("function"==typeof i?(r=i,o={},i=void 0):Array.isArray(i)?"function"==typeof o?(r=o,o={}):o=o||{}:(r=o,o=i||{},i=void 0)),{names:i,options:o,callback:r}}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 W(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){A()(this,e),ie.call(this),this.fields=te(t),this.fieldsMeta={}}return j()(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,i=l()({},this.fields,e),o={};Object.keys(n).forEach((function(e){o[e]=t.getValueFromFields(e,i)})),Object.keys(o).forEach((function(e){var n=o[e],r=t.getFieldMeta(e);if(r&&r.normalize){var s=r.normalize(n,t.getValueFromFields(e,t.fields),o);s!==n&&(i[e]=l()({},i[e],{value:s}))}})),this.fields=i}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,n){var i=t[n];return i&&"value"in i&&(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],i=e.fieldsMeta[t];n&&i&&$(i.validate)&&(e.fields[t]=l()({},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 i=this.getFieldMeta(e);return i&&i.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,i=e.valuePropName,o=this.getField(t),r="value"in o?o.value:e.initialValue;return n?n(r):_()({},i,r)}},{key:"getField",value:function(e){return l()({},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 I()(e,t.name,B(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return I()(t,n,B(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 I()(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 i="["===n[0][e.length],o=i?e.length:e.length+1;return n.reduce((function(e,n){return I()(e,n.slice(o),t(n))}),i?[]:{})}},{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}(),ie=function(){var e=this;this.setFieldsInitialValue=function(t){var n=e.flattenRegisteredFields(t),i=e.fieldsMeta;Object.keys(n).forEach((function(t){i[t]&&e.setFieldMeta(t,l()({},e.getFieldMeta(t),{initialValue:n[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,n=e.fields;return Object.keys(t).reduce((function(t,i){return I()(t,i,e.getValueFromFields(i,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 re=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,i=e.onFieldsChange,r=e.onValuesChange,s=e.mapProps,a=void 0===s?K:s,u=e.mapPropsToFields,c=e.fieldNameProp,d=e.fieldMetaProp,h=e.fieldDataProp,f=e.formPropName,p=void 0===f?"form":f,g=e.name,m=e.withRef;return function(e){var s=S()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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){u&&this.fieldsStore.updateFields(u(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,n){var i=this.fieldsStore.getFieldMeta(e);if(i[t])i[t].apply(i,C()(n));else if(i.originalProps&&i.originalProps[t]){var o;(o=i.originalProps)[t].apply(o,C()(n))}var s=i.getValueFromEvent?i.getValueFromEvent.apply(i,C()(n)):X.apply(void 0,C()(n));if(r&&s!==this.fieldsStore.getFieldValue(e)){var a=this.fieldsStore.getAllValues(),u={};a[e]=s,Object.keys(a).forEach((function(e){return I()(u,e,a[e])})),r(l()(_()({},p,this.getForm()),this.props),I()({},e,s),u)}var c=this.fieldsStore.getField(e);return{name:e,field:l()({},c,{value:s,touched:!0}),fieldMeta:i}},onCollect:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=this.onCollectCommon(e,t,i),s=r.name,a=r.field,u=r.fieldMeta,c=u.validate;this.fieldsStore.setFieldsAsDirty();var d=l()({},a,{dirty:$(c)});this.setFields(_()({},s,d))},onCollectValidate:function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=this.onCollectCommon(e,t,i),s=r.field,a=r.fieldMeta,u=l()({},s,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{action:t,options:{firstFields:!!a.validateFirst}})},getCacheBind:function(e,t,n){this.cachedBind[e]||(this.cachedBind[e]={});var i=this.cachedBind[e];return i[t]&&i[t].oriFn===n||(i[t]={fn:n.bind(this,e,t),oriFn:n}),i[t].fn},getFieldDecorator:function(e,t){var n=this,i=this.getFieldProps(e,t);return function(t){n.renderFields[e]=!0;var r=n.fieldsStore.getFieldMeta(e),s=t.props;return r.originalProps=s,r.ref=t.ref,o.a.cloneElement(t,l()({},i,n.fieldsStore.getFieldValuePropValue(r)))}},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 i=l()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},n),o=i.rules,r=i.trigger,s=i.validateTrigger,a=void 0===s?r:s,u=i.validate,f=this.fieldsStore.getFieldMeta(e);"initialValue"in i&&(f.initialValue=i.initialValue);var p=l()({},this.fieldsStore.getFieldValuePropValue(i),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});c&&(p[c]=g?g+"_"+e:e);var m=Y(u,o,a),v=Z(m);v.forEach((function(n){p[n]||(p[n]=t.getCacheBind(e,n,t.onCollectValidate))})),r&&-1===v.indexOf(r)&&(p[r]=this.getCacheBind(e,r,this.onCollect));var y=l()({},f,i,{validate:m});return this.fieldsStore.setFieldMeta(e,y),d&&(p[d]=y),h&&(p[h]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,p},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return q(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),i){var r=Object.keys(o).reduce((function(e,t){return I()(e,t,n.fieldsStore.getField(t))}),{});i(l()(_()({},p,this.getForm()),this.props),r,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var n=this.fieldsStore.fieldsMeta,i=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(i).reduce((function(e,t){if(n[t]){var o=i[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),r){var s=this.fieldsStore.getAllValues();r(l()(_()({},p,this.getForm()),this.props),e,s)}},saveRef:function(e,t,n){if(!n){var i=this.fieldsStore.getFieldMeta(e);return i.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:i},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var r=o.ref;if(r){if("string"==typeof r)throw new Error("can not set ref string for "+e);"function"==typeof r?r(n):Object.prototype.hasOwnProperty.call(r,"current")&&(r.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(_()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,i){var o=this,r=t.fieldNames,s=t.action,a=t.options,u=void 0===a?{}:a,c={},d={},h={},f={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),i=l()({},e);i.errors=void 0,i.validating=!0,i.dirty=!0,c[t]=o.getRules(n,s),d[t]=i.value,h[t]=i}else e.errors&&I()(f,t,{errors:e.errors})})),this.setFields(h),Object.keys(d).forEach((function(e){d[e]=o.fieldsStore.getFieldValue(e)})),i&&J(h))i(J(f)?null:f,this.fieldsStore.getFieldsValue(r));else{var p=new L.a(c);n&&p.messages(n),p.validate(d,u,(function(e){var t=l()({},f);e&&e.length&&e.forEach((function(e){var n=e.field,i=n;Object.keys(c).some((function(e){var t=c[e]||[];if(e===n)return i=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)&&(i=e,!0)}));var o=k()(t,i);("object"!=typeof o||Array.isArray(o))&&I()(t,i,{errors:[]}),k()(t,i.concat(".errors")).push(e)}));var n=[],s={};Object.keys(c).forEach((function(e){var i=k()(t,e),r=o.fieldsStore.getField(e);P()(r.value,d[e])?(r.errors=i&&i.errors,r.value=d[e],r.validating=!1,r.dirty=!1,s[e]=r):n.push({name:e})})),o.setFields(s),i&&(n.length&&n.forEach((function(e){var n=e.name,i=[{message:n+" need to revalidate",field:n}];I()(t,n,{expired:!0,errors:i})})),i(J(t)?null:t,o.fieldsStore.getFieldsValue(r)))}))}},validateFields:function(e,t,n){var i=this,o=new Promise((function(o,r){var s=Q(e,t,n),a=s.names,u=s.options,l=Q(e,t,n).callback;if(!l||"function"==typeof l){var c=l;l=function(e,t){c&&c(e,t),e?r({errors:e,values:t}):o(t)}}var d=a?i.fieldsStore.getValidFieldsFullName(a):i.fieldsStore.getValidFieldsName(),h=d.filter((function(e){return $(i.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=i.fieldsStore.getField(e);return t.value=i.fieldsStore.getFieldValue(e),t}));h.length?("firstFields"in u||(u.firstFields=d.filter((function(e){return!!i.fieldsStore.getFieldMeta(e).validateFirst}))),i.validateFieldsInternal(h,{fieldNames:d,options:u},l)):l(null,i.fieldsStore.getFieldsValue(d))}));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,i=v()(t,["wrappedComponentRef"]),r=_()({},p,this.getForm());m?r.ref="wrappedComponent":n&&(r.ref=n);var s=a.call(this,l()({},r,i));return o.a.createElement(e,s)}});return U(Object(O.a)(s),e)}},se={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 ae(e,t){var n=window.getComputedStyle,i=n?n(e):e.currentStyle;if(i)return i[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var ue={getForm:function(){return l()({},se.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var i=this,o=Q(e,t,n),r=o.names,s=o.callback,a=o.options;return this.validateFields(r,a,(function(e,t){if(e){var n=i.fieldsStore.getValidFieldsName(),o=void 0,r=void 0;if(n.forEach((function(t){if(g()(e,t)){var n=i.getFieldInstance(t);if(n){var s=d.a.findDOMNode(n),a=s.getBoundingClientRect().top;"hidden"!==s.type&&(void 0===r||r>a)&&(r=a,o=s)}}})),o){var u=a.container||function(e){for(var t=e,n=void 0;"body"!==(n=t.nodeName.toLowerCase());){var i=ae(t,"overflowY");if(t!==e&&("auto"===i||"scroll"===i)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===n?t.ownerDocument:t}(o);f()(o,u,l()({onlyScrollIfNeeded:!0},a.scroll))}}"function"==typeof s&&s(e,t)}))}};var le=function(e){return re(l()({},e),[ue])},ce=n("BGR+"),de=n("H84U"),he=n("CWQg"),fe=n("6CfX"),pe=n("MFj2"),ge=n("qrJ5"),me=n("/kpp"),ve=n("CtXQ"),ye=n("foW8"),_e=n.n(ye)()({labelAlign:"right",vertical:!1});function be(e){return(be="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(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Se(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xe(e,t){return(xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?Ne(e):t}function Ne(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(){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 De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ke(e){return function(e){if(Array.isArray(e))return Me(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 Me(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Me(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 Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ie=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},Te=Object(he.a)("success","warning","error","validating","");Object(he.a)("left","right");var Pe=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&&xe(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=De(t);if(Ee()){var i=De(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return Le(this,e)});function u(){var e;return Se(this,u),(e=s.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=c.findDOMNode(Ne(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,r=e.props,s=r.prefixCls,u=r.style,l=r.className,c=Ie(r,["prefixCls","style","className"]),d=o("form",s),h=e.renderChildren(d),f=(we(n={},"".concat(d,"-item"),!0),we(n,"".concat(d,"-item-with-help"),e.helpShow),we(n,"".concat(l),!!l),n);return i.createElement(ge.a,Ce({className:a()(f),style:u},Object(ce.a)(c,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),h)},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,i=e.validateStatus,o=e.id;Object(fe.a)(this.getControls(t,!0).length<=1||void 0!==n||void 0!==i,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(fe.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 i.isValidElement(e)?n=e:i.isValidElement(e.message)&&(n=e.message),n?i.cloneElement(n,{key:t}):e.message})).reduce((function(e,t){return[].concat(ke(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=i.Children.toArray(e),r=0;r<o.length&&(t||!(n.length>0));r++){var s=o[r];(!s.type||s.type!==u&&"FormItem"!==s.type.displayName)&&s.props&&("data-__meta"in s.props?n.push(s):s.props.children&&(n=n.concat(this.getControls(s.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?i.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return n&&(this.helpShow=!!n),i.createElement(pe.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?i.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,n,o){var r=this.props,s=this.getOnlyControl,u=void 0===r.validateStatus&&s?this.getValidateStatus():r.validateStatus,l="".concat(e,"-item-control");u&&(l=a()("".concat(e,"-item-control"),{"has-feedback":r.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var c="";switch(u){case"success":c="check-circle";break;case"warning":c="exclamation-circle";break;case"error":c="close-circle";break;case"validating":c="loading";break;default:c=""}var d=r.hasFeedback&&c?i.createElement("span",{className:"".concat(e,"-item-children-icon")},i.createElement(ve.default,{type:c,theme:"loading"===c?"outlined":"filled"})):null;return i.createElement("div",{className:l},i.createElement("span",{className:"".concat(e,"-item-children")},t,d),n,o)}},{key:"renderWrapper",value:function(e,t){var n=this;return i.createElement(_e.Consumer,{key:"wrapper"},(function(o){var r=o.wrapperCol,s=o.vertical,u=n.props.wrapperCol,l=("wrapperCol"in n.props?u:r)||{},c=a()("".concat(e,"-item-control-wrapper"),l.className);return i.createElement(_e.Provider,{value:{vertical:s}},i.createElement(me.a,Ce({},l,{className:c}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return i.createElement(_e.Consumer,{key:"label"},(function(n){var o,r=n.vertical,s=n.labelAlign,u=n.labelCol,l=n.colon,c=t.props,d=c.label,h=c.labelCol,f=c.labelAlign,p=c.colon,g=c.id,m=c.htmlFor,v=t.isRequired(),y=("labelCol"in t.props?h:u)||{},_="labelAlign"in t.props?f:s,b="".concat(e,"-item-label"),C=a()(b,"left"===_&&"".concat(b,"-left"),y.className),w=d,S=!0===p||!1!==l&&!1!==p;S&&!r&&"string"==typeof d&&""!==d.trim()&&(w=d.replace(/[::]\s*$/,""));var O=a()((we(o={},"".concat(e,"-item-required"),v),we(o,"".concat(e,"-item-no-colon"),!S),o));return d?i.createElement(me.a,Ce({},y,{className:C}),i.createElement("label",{htmlFor:m||g||t.getId(),className:O,title:"string"==typeof d?d:"",onClick:t.onLabelClick},w)):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 i.createElement(de.a,null,this.renderFormItem)}}])&&Oe(n.prototype,o),r&&Oe(n,r),u}(i.Component);function Re(e){return(Re="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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function je(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function We(e,t){return!t||"object"!==Re(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(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Pe.defaultProps={hasFeedback:!1},Pe.propTypes={prefixCls:r.string,label:r.oneOfType([r.string,r.node]),labelCol:r.object,help:r.oneOfType([r.node,r.bool]),validateStatus:r.oneOf(Te),hasFeedback:r.bool,wrapperCol:r.object,className:r.string,id:r.string,children:r.node,colon:r.bool};var ze=Object(he.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=He(t);if(Be()){var i=He(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return We(this,e)});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=s.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,r=t.props,s=r.prefixCls,u=r.hideRequiredMark,l=r.className,c=void 0===l?"":l,d=r.layout,h=o("form",s),f=a()(h,(Fe(n={},"".concat(h,"-horizontal"),"horizontal"===d),Fe(n,"".concat(h,"-vertical"),"vertical"===d),Fe(n,"".concat(h,"-inline"),"inline"===d),Fe(n,"".concat(h,"-hide-required-mark"),u),n),c),p=Object(ce.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return i.createElement("form",Ae({},p,{className:f}))},Object(fe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,r=e.layout,s=e.colon;return i.createElement(_e.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===r,colon:s}},i.createElement(de.a,null,this.renderForm))}}])&&je(n.prototype,o),r&&je(n,r),u}(i.Component);Ue.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ue.propTypes={prefixCls:r.string,layout:r.oneOf(ze),children:r.any,onSubmit:r.func,hideRequiredMark:r.bool,colon:r.bool},Ue.Item=Pe,Ue.createFormField=B,Ue.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return le(Ae(Ae({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=Ue},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")},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,i=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(i)return i.call(e,t);for(var r=o.querySelectorAll(t),s=r.length,a=0;a<s;a++)if(r[a]===e)return!0;return!1}},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 y})),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),y=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),_={orientation:0,context:null,triggerKeys:{keys:[3,10],keyDown:!1}},b=function(e){function t(t,n){void 0===n&&(n=_);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=_.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 y(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(135).then(n.bind(null,"/0xJ"))}})},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},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")},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&r.default.type(e,t,i,a,o)}n(a)}},XaS2:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!==i(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 h(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},g=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var m=p(n("q1tI")),v=g(n("i8i4")),y=g(n("cOkC")),_=n("xI0J"),b=n("VCL8"),C=g(n("TSYQ")),w=g(n("DVfl")),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&&c(e,t)}(g,e);var t,n,i,r,p=(t=g,function(){var e,n=f(t);if(h()){var i=f(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return d(this,e)});function g(){var e;return u(this,g),(e=p.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,i){var o=e.props,r=o.record,s=o.index;return function(){i&&i();for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var u=o[0];n&&n(r,s,u),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=g,r=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(i=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,i=t.getState().expandedRowsHeight;i=s({},i,a({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:i})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,i=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:s({},i,a({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=s({},this.style,{height:t})),n||this.style.display||(this.style=s({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,i=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&i&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,i=e.record,r=e.rowKey,a=e.index,u=e.onRow,l=e.indent,c=e.indentSize,d=e.hovered,h=e.height,f=e.visible,p=e.components,g=e.hasExpandIcon,v=e.renderExpandIcon,_=e.renderExpandIconCell,b=e.onRowClick,S=e.onRowDoubleClick,O=e.onRowMouseEnter,x=e.onRowMouseLeave,L=e.onRowContextMenu,N=p.body.row,E=p.body.cell,D=this.props.className;d&&(D+=" ".concat(t,"-hover"));var k=[];_(k);for(var M=0;M<n.length;M+=1){var I=n[M];y.default(void 0===I.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),k.push(m.createElement(w.default,{prefixCls:t,record:i,indentSize:c,indent:l,index:a,column:I,key:I.key||I.dataIndex,expandIcon:g(M)&&v(),component:E}))}var T=u(i,a)||{},P=T.className,R=T.style,A=o(T,["className","style"]),F={height:h};f||(F.display="none"),F=s({},F,{},R);var j=C.default(t,D,"".concat(t,"-level-").concat(l),P);return m.createElement(N,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,b),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,S),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,O,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,x,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,L),className:j,style:F,"data-row-key":r}),k)}}])&&l(n.prototype,i),r&&l(n,r),g}(m.Component);function O(e,t){var n=e.expandedRowsHeight,i=e.fixedColumnsBodyRowsHeight,o=t.fixed,r=t.rowKey;return o?n[r]?n[r]:i[r]?i[r]:null:null}S.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},b.polyfill(S),t.default=_.connect((function(e,t){var n=e.currentHoverKey,i=e.expandedRowKeys,o=void 0===i?[]:i,r=t.rowKey,s=t.ancestorKeys;return{visible:0===s.length||s.every((function(e){return o.includes(e)})),hovered:n===r,height:O(e,t)}}))(S)},XmZk:function(e,t,n){},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"))},YO3V:function(e,t,n){var i=n("NykK"),o=n("LcsW"),r=n("ExA7"),s=Function.prototype,a=Object.prototype,u=s.toString,l=a.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!r(e)||"[object Object]"!=i(e))return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==c}},Yf6U:function(e,t,n){var i=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(i(e,t))return e}},YqDF:function(e,t,n){"use strict";function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function r(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=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=s(n("q1tI")),l=s(n("17x9")),c=n("6Ogq"),d=a(n("UNrv"));function h(e,t){var n=t.table,i=n.props,r=i.prefixCls,s=i.scroll,a=e.columns,l=e.fixed,h=e.tableClassName,f=e.getRowKey,p=e.handleBodyScroll,g=e.handleWheel,m=e.expander,v=e.isAnyColumnsFixed,y=n.saveRef,_=n.props.useFixedHeader,b=o({},n.props.bodyStyle),C={};if((s.x||l)&&(b.overflowX=b.overflowX||"scroll",b.WebkitTransform="translate3d (0, 0, 0)"),s.y){l?(C.maxHeight=b.maxHeight||s.y,C.overflowY=b.overflowY||"scroll"):b.maxHeight=b.maxHeight||s.y,b.overflowY=b.overflowY||"scroll",_=!0;var w=c.measureScrollbar({direction:"vertical"});w>0&&l&&(b.marginBottom="-".concat(w,"px"),b.paddingBottom="0px")}var S,O=u.createElement(d.default,{tableClassName:h,hasHead:!_,hasBody:!0,fixed:l,columns:a,expander:m,getRowKey:f,isAnyColumnsFixed:v});if(l&&a.length)return"left"===a[0].fixed||!0===a[0].fixed?S="fixedColumnsBodyLeft":"right"===a[0].fixed&&(S="fixedColumnsBodyRight"),delete b.overflowX,delete b.overflowY,u.createElement("div",{key:"bodyTable",className:"".concat(r,"-body-outer"),style:o({},b)},u.createElement("div",{className:"".concat(r,"-body-inner"),style:C,ref:y(S),onWheel:g,onScroll:p},O));var x=s&&(s.x||s.y);return u.createElement("div",{tabIndex:x?-1:void 0,key:"bodyTable",className:"".concat(r,"-body"),style:b,ref:y("bodyTable"),onWheel:g,onScroll:p},O)}t.default=h,h.contextTypes={table:l.any}},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}},Zcga:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("wCAj")),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("mbEz");var r=n("q1tI"),s=a(r);function a(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 l(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 u(this,t),l(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:"render",value:function(){var e=this.props,t=e.columns,n=e.data,o=e.title;return s.default.createElement(i.default,{className:"mt20 wrap-commit-table",columns:t,dataSource:n,showHeader:!1,size:"small",pagination:!1,title:o})}}]),t}(r.Component);t.default=c},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(118).then(n.bind(null,"yUwd"))}})},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},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(131).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}()},b80T:function(e,t,n){var i=n("UNi/"),o=n("03A+"),r=n("Z0cm"),s=n("DSRE"),a=n("wJg7"),u=n("c6wG"),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=r(e),c=!n&&o(e),d=!n&&!c&&s(e),h=!n&&!c&&!d&&u(e),f=n||c||d||h,p=f?i(e.length,String):[],g=p.length;for(var m in e)!t&&!l.call(e,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||a(m,g))||p.push(m);return p}},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 y(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),_(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=y(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?_(this,!0):(this._formatted||(this._formatted=_(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 y(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 _(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")},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("q1tI"),o=l(i);n("vg9a");var r=n("ud8/"),s=l(r);n("SJMd");var a=l(n("wMS7")),u=n("Oy/b");function l(e){return e&&e.__esModule?e:{default:e}}var c=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,l=e.className,d=e.style,h=void 0===d?{}:d,f=e.url,p=String(n),g=(0,i.useMemo)((function(){var e=(0,s.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 i=t[n],o=i.type,r=i.expression;return(0,u.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(r)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,r.resetMathExpressions)(),a.default.sanitize(e)}),[p]);(0,i.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+220)}}}),[f]);var m=(0,i.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var i=document.getElementById(n.replace("#",""));i&&i.scrollIntoView(!0)}}}return(0,i.useEffect)((function(){if(m.current&&g&&g.match(c)&&window.PR.prettyPrint(),m.current)return m.current.addEventListener("click",v),function(){m.current.removeEventListener("click",v),(0,r.resetMathExpressions)(),(0,r.cleanToc)()}}),[g,m.current,v]),o.default.createElement("div",{ref:m,style:h,className:(l||"")+" markdown-body",dangerouslySetInnerHTML:{__html:g}})}},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(94).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)}))}))},c6wG:function(e,t,n){var i=n("dD9F"),o=n("sEf8"),r=n("mdPL"),s=r&&r.isTypedArray,a=s?o(s):i;e.exports=a},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(138).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 y=Object(d.q)(this.el),_=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",y.innerHTML="* { cursor: "+e+" !important; }"},b=new o.b;_(),n||this.onDidEnablementChange(_,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(y),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()),y=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!y){var _=h?v:g;return{beforeEnter:_,afterEnter:_}}var b=h?v:y.indentation;return y.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}())},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=e.type,u=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,a)&&!e.required)return n();r.default.required(e,t,i,u,o,a),(0,s.isEmptyValue)(t,a)||r.default.type(e,t,i,u,o)}n(u)}},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(92).then(n.bind(null,"7Xl7"))}})},"cq/+":function(e,t,n){var i=n("mc0g")();e.exports=i},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"array")&&!e.required)return n();r.default.required(e,t,i,a,o,"array"),(0,s.isEmptyValue)(t,"array")||(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},dD9F:function(e,t,n){var i=n("NykK"),o=n("shjB"),r=n("ExA7"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return r(e)&&o(e.length)&&!!s[i(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var i=n("GoyQ"),o=Object.create,r=function(){function e(){}return function(t){if(!i(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=r},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return m}));var i=n("q1tI"),o=n("3S7+"),r=n("H84U"),s=n("6CfX");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(y,e);var t,n,a,m,v=(t=y,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function y(){var e;return l(this,y),(e=v.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,r=e.props,s=r.prefixCls,a=g(r,["prefixCls"]);delete a.title;var l=n("popover",s);return i.createElement(o.default,u({},a,{prefixCls:l,ref:e.saveTooltip,overlay:e.getOverlay(l)}))},e}return n=y,(a=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(s.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),i.createElement("div",null,n&&i.createElement("div",{className:"".concat(e,"-title")},n),i.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return i.createElement(r.a,null,this.renderPopover)}}])&&c(n.prototype,a),m&&c(n,m),y}(i.Component);m.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},eC1c:function(e,t,n){},eizg:function(e,t,n){},eq1K:function(e,t,n){},fhzG:function(e,t,n){"use strict";var i=n("q1tI"),o=n("lT4e");if(void 0===i)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 r=(new i.Component).updater;e.exports=o(i.Component,i.isValidElement,r)},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 y}));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),y=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)},fmRc:function(e,t,n){var i=n("Xi7e"),o=n("77Zs"),r=n("L8xA"),s=n("gCq4"),a=n("VaNO"),u=n("0Cz8");function l(e){var t=this.__data__=new i(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=s,l.prototype.has=a,l.prototype.set=u,e.exports=l},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)},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var i=n("q1tI"),o=n("4IlW");function r(e){return(r="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(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},p={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},g=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&&l(e,t)}(v,e);var t,n,r,g,m=(t=v,function(){var e,n=h(t);if(d()){var i=h(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});function v(){var e;return a(this,v),(e=m.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,i=e.props.onClick;n===o.a.ENTER&&i&&i()},e.setRef=function(t){e.div=t},e}return n=v,(r=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=f(e,["style","noStyle"]);return i.createElement("div",s({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:s(s({},n?null:p),t)}))}}])&&u(n.prototype,r),g&&u(n,g),v}(i.Component);t.a=g},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(15).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(15).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(114).then(n.bind(null,"tpLM"))}})},hHjc:function(e,t,n){},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(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){},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o))}n(a)}},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(129).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(134).then(n.bind(null,"3MdH"))}})},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},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(127).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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}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)}(u,e);var t,n,o,a=g(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(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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);_.reset(0);do{if((y=_.next(t))&&(r[o++]=c(new s.a(n,y.index+1+i,n,y.index+1+y[0].length+i),y,u),o>=l))return o}while(y);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}()},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=v(n("zP+q")),o=v(n("rNsS")),r=v(n("iHzq")),s=v(n("EtQh")),a=v(n("HOVM")),u=v(n("XR+G")),l=v(n("Ejpc")),c=v(n("cwxS")),d=v(n("XZDd")),h=v(n("rjwK")),f=v(n("L2wI")),p=v(n("myOp")),g=v(n("UeuU")),m=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:i.default,method:o.default,number:r.default,boolean:s.default,regexp:a.default,integer:u.default,float:l.default,array:c.default,object:d.default,enum:h.default,pattern:f.default,date:p.default,url:m.default,hex:m.default,email:m.default,required:g.default}},jeLo:function(e,t,n){var i=n("juv8"),o=n("mTTR");e.exports=function(e){return i(e,o(e))}},jpXb:function(e,t,n){var i=n("wZXL");e.exports=new i},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(106).then(n.bind(null,"2ZXa"))}})},"jsC+":function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n.n(i),r=n("17x9"),s=n.n(r),a=n("i8i4"),u=n.n(a),l=n("uciX"),c=n("TSYQ"),d=n.n(c),h={adjustX:1,adjustY:1},f=[0,0],p={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:f},topCenter:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:f},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:f},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:f},bottomCenter:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:f},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:f}},g=n("VCL8"),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=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,e.call(this,n));return y.call(i),i.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},i}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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=d()(n.className,this.getOpenClassName());return t&&e?Object(i.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,i=e.animation,r=e.align,s=e.placement,a=e.getPopupContainer,u=e.showAction,c=e.hideAction,d=e.overlayClassName,h=e.overlayStyle,f=e.trigger,g=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=c;return v||-1===f.indexOf("contextMenu")||(v=["click"]),o.a.createElement(l.a,m({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:d,popupStyle:h,builtinPlacements:p,action:f,showAction:u,hideAction:v||[],popupPlacement:s,popupAlign:r,popupTransitionName:n,popupAnimation:i,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:a}),this.renderChildren())},t}(i.Component);v.propTypes={minOverlayWidthMatchTrigger:s.a.bool,onVisibleChange:s.a.func,onOverlayClick:s.a.func,prefixCls:s.a.string,children:s.a.any,transitionName:s.a.string,overlayClassName:s.a.string,openClassName:s.a.string,animation:s.a.any,align:s.a.object,overlayStyle:s.a.object,placement:s.a.string,overlay:s.a.oneOfType([s.a.node,s.a.func]),trigger:s.a.array,alignPoint:s.a.bool,showAction:s.a.array,hideAction:s.a.array,getPopupContainer:s.a.func,visible:s.a.bool,defaultVisible:s.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var y=function(){var e=this;this.onClick=function(t){var n=e.props,i=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),i.onClick&&i.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,i=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!i},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),i={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete i.prefixCls,o.a.cloneElement(n,i)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),i=u.a.findDOMNode(e);i&&n&&i.offsetWidth>n.offsetWidth&&(n.style.minWidth=i.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(v);var _=v,b=n("H84U"),C=n("6CfX"),w=n("CtXQ"),S=n("CWQg");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 x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function L(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 k(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(S.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=M(t);if(k()){var i=M(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return D(this,e)});function a(){var e;return L(this,a),(e=s.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var r=(n=i.Children.only(n)).props;Object(C.a)(!r.mode||"vertical"===r.mode,"Dropdown",'mode="'.concat(r.mode,"\" is not supported for Dropdown's Menu."));var s=r.selectable,a=void 0!==s&&s,u=r.focusable,l=void 0===u||u,c=i.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},i.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:i.cloneElement(n,{mode:"vertical",selectable:a,focusable:l,expandIcon:c})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,r=t.getPrefixCls,s=e.props,a=s.prefixCls,u=s.children,l=s.trigger,c=s.disabled,h=s.getPopupContainer,f=r("dropdown",a),p=i.Children.only(u),g=i.cloneElement(p,{className:d()(p.props.className,"".concat(f,"-trigger")),disabled:c}),m=c?[]:l;return m&&-1!==m.indexOf("contextMenu")&&(n=!0),i.createElement(_,x({alignPoint:n},e.props,{prefixCls:f,getPopupContainer:h||o,transitionName:e.getTransitionName(),trigger:m,overlay:function(){return e.renderOverlay(f)}}),g)},e}return n=a,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,i=e.transitionName;return void 0!==i?i:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return i.createElement(b.a,null,this.renderDropDown)}}])&&N(n.prototype,o),r&&N(n,r),a}(i.Component);I.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function A(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(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 W(){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 B(e){return(B=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},z=T.default.Group,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&&j(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=B(t);if(W()){var i=B(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return V(this,e)});function a(){var e;return A(this,a),(e=s.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,r=e.props,s=r.prefixCls,a=r.type,u=r.disabled,l=r.onClick,c=r.htmlType,h=r.children,f=r.className,p=r.overlay,g=r.trigger,m=r.align,v=r.visible,y=r.onVisibleChange,_=r.placement,b=r.getPopupContainer,C=r.href,S=r.icon,O=void 0===S?i.createElement(w.default,{type:"ellipsis"}):S,x=r.title,L=H(r,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),N=o("dropdown-button",s),E={align:m,overlay:p,disabled:u,trigger:u?[]:g,onVisibleChange:y,placement:_,getPopupContainer:b||n};return"visible"in e.props&&(E.visible=v),i.createElement(z,R({},L,{className:d()(N,f)}),i.createElement(T.default,{type:a,disabled:u,onClick:l,htmlType:c,href:C,title:x},h),i.createElement(I,E,i.createElement(T.default,{type:a},O)))},e}return n=a,(o=[{key:"render",value:function(){return i.createElement(b.a,null,this.renderButton)}}])&&F(n.prototype,o),r&&F(n,r),a}(i.Component);U.defaultProps={placement:"bottomRight",type:"default"},I.Button=U;t.default=I},juv8:function(e,t,n){var i=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,r){var s=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var l=t[a],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),s?o(n,l,c):i(n,l,c)}return n}},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(116).then(n.bind(null,"BjZ/"))}})},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},kaz8:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("17x9"),r=n("VCL8"),s=n("TSYQ"),a=n.n(s),u=n("x1Ya"),l=n("Gytx"),c=n.n(l),d=n("H84U"),h=n("6CfX");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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function m(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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(e,t){return!t||"object"!==f(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 C(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[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&&y(e,t)}(l,e);var t,n,o,r,s=(t=l,function(){var e,n=w(t);if(C()){var i=w(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return m(this,l),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,r=b(e),s=r.props,l=r.context,c=s.prefixCls,d=s.className,h=s.children,f=s.indeterminate,m=s.style,v=s.onMouseEnter,y=s.onMouseLeave,_=S(s,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),C=l.checkboxGroup,w=o("checkbox",c),O=g({},_);C&&(O.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),C.toggleOption({label:h,value:s.value})},O.name=C.name,O.checked=-1!==C.value.indexOf(s.value),O.disabled=s.disabled||C.disabled);var x=a()(d,(p(n={},"".concat(w,"-wrapper"),!0),p(n,"".concat(w,"-wrapper-checked"),O.checked),p(n,"".concat(w,"-wrapper-disabled"),O.disabled),n)),L=a()(p({},"".concat(w,"-indeterminate"),f));return i.createElement("label",{className:x,style:m,onMouseEnter:v,onMouseLeave:y},i.createElement(u.a,g({},O,{prefixCls:w,className:L,ref:e.saveCheckbox})),void 0!==h&&i.createElement("span",null,h))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(h.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,i=(this.context||{}).checkboxGroup,o=void 0===i?{}:i;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),r&&v(n,r),l}(i.Component);O.__ANT_CHECKBOX=!0,O.defaultProps={indeterminate:!1},O.contextTypes={checkboxGroup:o.any},Object(r.polyfill)(O);var x=O,L=n("BGR+");function N(e){return(N="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 i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function D(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(n);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,i=new Array(t);n<t;n++)i[n]=e[n];return i}function M(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?P(e):t}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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&&I(e,t)}(u,e);var t,n,o,r,s=(t=u,function(){var e,n=A(t);if(R()){var i=A(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return T(this,e)});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=s.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(D(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,i=t.state.value.indexOf(e.value),o=D(t.state.value);-1===i?o.push(e.value):o.splice(i,1),"value"in t.props||t.setState({value:o});var r=t.props.onChange;if(r){var s=t.getOptions();r(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return s.findIndex((function(t){return t.value===e}))-s.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=P(t),r=o.props,s=o.state,u=r.prefixCls,l=r.className,c=r.style,d=r.options,h=F(r,["prefixCls","className","style","options"]),f=n("checkbox",u),p="".concat(f,"-group"),g=Object(L.a)(h,["children","defaultValue","value","onChange","disabled"]),m=r.children;d&&d.length>0&&(m=t.getOptions().map((function(e){return i.createElement(x,{prefixCls:f,key:e.value.toString(),disabled:"disabled"in e?e.disabled:r.disabled,value:e.value,checked:-1!==s.value.indexOf(e.value),onChange:e.onChange,className:"".concat(p,"-item")},e.label)})));var v=a()(p,l);return i.createElement("div",E({className:v,style:c},g),m)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&M(n.prototype,o),r&&M(n,r),u}(i.Component);j.defaultProps={options:[]},j.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},j.childContextTypes={checkboxGroup:o.any},Object(r.polyfill)(j);var V=j;x.Group=V;t.default=x},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"kw+w":function(e,t,n){},l1rO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r,s){!e.required||n.hasOwnProperty(e.field)&&!i.isEmptyValue(t,s||e.type)||o.push(i.format(r.messages.required,e.fullField))}},l2gE:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));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\.-]+)*)\/?$/,y=new a.a(1e4),_=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=y.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=L(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)))?O(r[1].substr(1),n,!0):(r=v.exec(S(n,t)))?O(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 y.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 O(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 x(e,t,n){return!(!e||"string"!=typeof t)&&function(e,t){void 0===t&&(t={});if(!e)return _;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 _;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=L(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 L(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}},l8PK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){var s="number"==typeof e.len,a="number"==typeof e.min,u="number"==typeof e.max,l=t,c=null,d="number"==typeof t,h="string"==typeof t,f=Array.isArray(t);if(d?c="number":h?c="string":f&&(c="array"),!c)return!1;f&&(l=t.length),h&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),s?l!==e.len&&o.push(i.format(r.messages[c].len,e.fullField,e.len)):a&&!u&&l<e.min?o.push(i.format(r.messages[c].min,e.fullField,e.min)):u&&!a&&l>e.max?o.push(i.format(r.messages[c].max,e.fullField,e.max)):a&&u&&(l<e.min||l>e.max)&&o.push(i.format(r.messages[c].range,e.fullField,e.min,e.max))}},lH0x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("jsC+")),o=l(n("CtXQ")),r=l(n("3S7+")),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("aIZi"),n("2oDE"),n("TfFZ");var a=n("q1tI"),u=l(a);function l(e){return e&&e.__esModule?e:{default:e}}function c(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}n("C5VC");var h=function(e){function t(){var e,n,i;c(this,t);for(var o=arguments.length,r=Array(o),s=0;s<o;s++)r[s]=arguments[s];return n=i=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r))),i.jsCopy=function(){document.getElementById("copy_rep_content").select(),document.execCommand("Copy")},d(i,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.props,n=t.http_url,s=t.downloadUrl;return u.default.createElement("div",{className:"gitAddressClone"},n&&u.default.createElement("span",null,"HTTP"),u.default.createElement("input",{type:"text",id:"copy_rep_content",value:n}),u.default.createElement(r.default,{title:"复制链接"},u.default.createElement("span",{className:"color-blue",onClick:function(){return e.jsCopy()}},u.default.createElement("i",{className:"iconfont icon-fuzhi"}))),s&&u.default.createElement("span",null,u.default.createElement(i.default,{overlay:s,trigger:["click"],placement:"bottomRight"},u.default.createElement("a",{className:"ant-dropdown-link"},u.default.createElement(o.default,{type:"cloud-download",className:"font-18 fl color-blue"})))))}}]),t}(a.Component);t.default=h},lKfe:function(e,t,n){},lT4e:function(e,t,n){"use strict";var i=n("MgzW"),o=n("t33a"),r=n("2NuI");e.exports=function(e,t,n){var s=[],a={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"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},l={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=f(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var i=t[n];if(t.hasOwnProperty(n)){if(r(!(n in l),'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=u.hasOwnProperty(n)?u[n]:null;return r("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]=f(e[n],i))}e[n]=i}}}(e,t)},autobind:function(){}};function c(e,t){var n=a.hasOwnProperty(t)?a[t]:null;y.hasOwnProperty(t)&&r("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&&r("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 d(e,n){if(n){r("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),r(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var i=e.prototype,o=i.__reactAutoBindPairs;for(var s in n.hasOwnProperty("mixins")&&l.mixins(e,n.mixins),n)if(n.hasOwnProperty(s)&&"mixins"!==s){var u=n[s],d=i.hasOwnProperty(s);if(c(d,s),l.hasOwnProperty(s))l[s](e,u);else{var h=a.hasOwnProperty(s);if("function"==typeof u&&!h&&!d&&!1!==n.autobind)o.push(s,u),i[s]=u;else if(d){var g=a[s];r(h&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,s),"DEFINE_MANY_MERGED"===g?i[s]=f(i[s],u):"DEFINE_MANY"===g&&(i[s]=p(i[s],u))}else i[s]=u}}}else;}function h(e,t){for(var n in r(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(r(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 f(e,t){return function(){var n=e.apply(this,arguments),i=t.apply(this,arguments);if(null==n)return i;if(null==i)return n;var o={};return h(o,n),h(o,i),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var m={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},_=function(){};return i(_.prototype,e.prototype,y),function(e){var t=function(e,i,s){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var i=t[n],o=t[n+1];e[i]=g(e,o)}}(this),this.props=e,this.context=i,this.refs=o,this.updater=s||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;r("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a};for(var i in t.prototype=new _,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],s.forEach(d.bind(null,t)),d(t,m),d(t,e),d(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),r(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),a)t.prototype[i]||(t.prototype[i]=null);return t}}},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(104).then(n.bind(null,"7s2V"))}})},lr0e:function(e,t,n){},lrmC:function(e,t,n){},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var i,o=n("rfXi"),r=(i=o)&&i.__esModule?i:{default:i};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,r.default)(e)}},mTTR:function(e,t,n){var i=n("b80T"),o=n("QcOe"),r=n("MMmD");e.exports=function(e){return r(e)?i(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,i){for(var o=-1,r=Object(t),s=i(t),a=s.length;a--;){var u=s[e?a:++o];if(!1===n(r[u],u,r))break}return t}}},mdPL:function(e,t,n){(function(e){var i=n("WFqU"),o=t&&!t.nodeType&&t,r=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=r&&r.exports===o&&i.process,a=function(){try{var e=r&&r.require&&r.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},moXY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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"));t.default=function(e,t,n,o,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(i.format(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(i.format(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,n){var i=n("ljhN"),o=n("MMmD"),r=n("wJg7"),s=n("GoyQ");e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return!!("number"==a?o(n)&&r(t,n.length):"string"==a&&t in n)&&i(n[t],e)}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();if(r.default.required(e,t,i,a,o),!(0,s.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,r.default.type(e,u,i,a,o),u&&r.default.range(e,u.getTime(),i,a,o)}}n(a)}},nEr6:function(e,t,n){"use strict";function i(){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=i;t.messages=i()},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(145).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)},"o/2+":function(e,t,n){"use strict";var i=n("foW8"),o=n.n(i)()({});t.a=o},oEMi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,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},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")),s=n("l1rO"),a=(i=s)&&i.__esModule?i:{default:i};var u={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},l={integer:function(e){return l.number(e)&&parseInt(e,10)===e},float:function(e){return l.number(e)&&!l.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))&&!l.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,n,i,s){if(e.required&&void 0===t)(0,a.default)(e,t,n,i,s);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?l[u](t)||i.push(r.format(s.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&i.push(r.format(s.messages.types[u],e.fullField,e.type))}}},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(123).then(n.bind(null,"HGU1"))}})},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("q1tI"),o=n("17x9"),r=n("x1Ya"),s=n("TSYQ"),a=n.n(s),u=n("Gytx"),l=n.n(u),c=n("H84U");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 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 f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==d(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 _(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(d,e);var t,n,o,s,u=(t=d,function(){var e,n=b(t);if(_()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return v(this,e)});function d(){var e;return p(this,d),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,s=y(e),u=s.props,l=s.context,c=u.prefixCls,d=u.className,p=u.children,g=u.style,m=C(u,["prefixCls","className","children","style"]),v=l.radioGroup,_=o("radio",c),b=f({},m);v&&(b.name=v.name,b.onChange=e.onChange,b.checked=u.value===v.value,b.disabled=u.disabled||v.disabled);var w=a()(d,(h(n={},"".concat(_,"-wrapper"),!0),h(n,"".concat(_,"-wrapper-checked"),b.checked),h(n,"".concat(_,"-wrapper-disabled"),b.disabled),n));return i.createElement("label",{className:w,style:g,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},i.createElement(r.a,f({},b,{prefixCls:_,ref:e.saveCheckbox})),void 0!==p?i.createElement("span",null,p):null)},e}return n=d,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderRadio)}}])&&g(n.prototype,o),s&&g(n,s),d}(i.Component);w.defaultProps={type:"radio"},w.contextTypes={radioGroup:o.any}},oQaD:function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return kt})),n.d(t,"CommonFindController",(function(){return Mt})),n.d(t,"FindController",(function(){return It})),n.d(t,"StartFindAction",(function(){return Tt})),n.d(t,"StartFindWithSelectionAction",(function(){return Pt})),n.d(t,"MatchFindAction",(function(){return Rt})),n.d(t,"NextMatchFindAction",(function(){return At})),n.d(t,"NextMatchFindAction2",(function(){return Ft})),n.d(t,"PreviousMatchFindAction",(function(){return jt})),n.d(t,"PreviousMatchFindAction2",(function(){return Vt})),n.d(t,"SelectionMatchFindAction",(function(){return Wt})),n.d(t,"NextSelectionMatchFindAction",(function(){return Bt})),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"),y=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}(),_=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},O=function(e){this.pieces=e,this.kind=1},x=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 O(e):this._state=new S("")}return e.fromStaticValue=function(t){return new e([L.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}(),L=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}(),N=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++]=L.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),this._result[this._resultLen++]=L.matchIndex(e),this._lastCharIndex=t},e.prototype.finalize=function(){return this.emitUnchanged(this._source.length),0!==this._currentStaticPiece.length&&(this._result[this._resultLen++]=L.staticValue(this._currentStaticPiece),this._currentStaticPiece=""),new x(this._result)},e}();var E,D=n("T8No"),k=new D.d("findWidgetVisible",!1),M=new D.d("findInputFocussed",!1),I=new D.d("replaceInputFocussed",!1),T={primary:545,mac:{primary:2593}},P={primary:565,mac:{primary:2613}},R={primary:560,mac:{primary:2608}},A={primary:554,mac:{primary:2602}},F="actions.find",j="actions.findWithSelection",V="editor.action.nextMatchFindAction",W="editor.action.previousMatchFindAction",B="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",Q="editor.action.selectAllMatches",J=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 y(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 x(null);for(var t=new N(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):x.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 _(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=(E=function(e,t){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])})(e,t)},function(e,t){function n(){this.constructor=e}E(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 ye=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),_e=(n("AbCa"),n("OBOq")),be=n("cMOf"),Ce=n("/cxE"),we=n("MNsG"),Se=(n("yqFB"),n("i/Rh"),n("D3Dy"));function Oe(e,t){void 0===t&&(t={});var n=xe(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 Le(e);for(;!r.eos();){var s=r.next(),a="\\"===s&&0!==Ne(r.peek());if(a&&(s=r.next()),a||0===Ne(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=Ne(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 xe(e){var t=e.inline?"span":"div",n=document.createElement(t);return e.className&&(n.className=e.className),n}var Le=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 Ne(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var Ee=n("WqXY"),De=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 De.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}(),Me=n("GJhM"),Ie=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)}}(),Pe=$.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")},Ae=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,_e.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,_e.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,Pe(".monaco-inputbox.idle"));var r=o.options.flexibleHeight?"textarea":"input",s=$.m(o.element,Pe(".wrapper"));if(o.input=$.m(s,Pe(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,Pe("div.mirror")),o.mirror.innerHTML=" ",o.scrollableElement=new Me.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(Ie.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 Ee.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),_e.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,Pe(".monaco-inputbox-container")),n();var o={inline:!0,className:"monaco-inputbox-message"},r=e.message.formatContent?Oe(e.message.content,o):function(e,t){void 0===t&&(t={});var n=xe(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)}}(),je=i.a("defaultLabel","input"),Ve=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||je,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 Ae(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),We=n("nrhi"),Be=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 Be(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 Ae(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 Be(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 D.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new D.d("historyNavigationEnabled",!0).bindTo(n)}}var 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,D.c)],t)}(Ve),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,D.c)],t)}(Ke);We.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:D.a.and(D.a.has("historyNavigationWidget"),D.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(D.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),We.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:D.a.and(D.a.has("historyNavigationWidget"),D.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(D.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 yt(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionEnd<n.value.length&&e.stopPropagation()}var _t=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=M.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=I.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(_e.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)?yt(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)?yt(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 Qe(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(W),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(W).run().then(void 0,Ce.e)}})),this._nextBtn=this._register(new bt({label:it+this._keybindingLabelFor(V),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(V).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 Je(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"),Ot=n("bexQ"),xt=n("A+jI"),Lt=n("sM1p"),Nt=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=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},Dt=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 Mt=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 ye),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 Nt(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!!M.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 J(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=Et([Dt(1,D.c),Dt(2,xt.a),Dt(3,Ct.a)],t)}(r.a),It=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 Nt(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 _t(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=Et([Dt(1,wt.b),Dt(2,D.c),Dt(3,Ot.a),Dt(4,v.c),Dt(5,Lt.a),Dt(6,xt.a),Dt(7,Object(St.d)(Ct.a))],t)}(Mt),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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),Pt=function(e){function t(){return e.call(this,{id:j,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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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 Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),At=function(e){function t(){return e.call(this,{id:V,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 Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),Ft=function(e){function t(){return e.call(this,{id:V,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:D.a.and(u.a.focus,M),primary:3,weight:100}})||this}return Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Rt),jt=function(e){function t(){return e.call(this,{id:W,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 Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Vt=function(e){function t(){return e.call(this,{id:W,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:D.a.and(u.a.focus,M),primary:1027,weight:100}})||this}return Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Rt),Wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Nt(t,e),t.prototype.run=function(e,t){var n=Mt.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),Bt=function(e){function t(){return e.call(this,{id:B,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 Nt(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(Wt),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 Nt(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(Wt),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 Nt(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=Mt.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)(Mt.ID,It),Object(a.e)(Tt),Object(a.e)(Pt),Object(a.e)(At),Object(a.e)(Ft),Object(a.e)(jt),Object(a.e)(Vt),Object(a.e)(Bt),Object(a.e)(Ht),Object(a.e)(zt);var Ut=a.c.bindToContribution(Mt.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:P.primary,mac:P.mac,win:P.win,linux:P.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:A.primary,mac:A.mac,win:A.win,linux:A.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:D.a.and(u.a.focus,I),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:D.a.and(u.a.focus,I),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:Q,precondition:k,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},oV5b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r="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},s=n("+kn0"),a=n("jESh"),u=(i=a)&&i.__esModule?i:{default:i},l=n("nEr6");function c(e){this.rules=null,this._messages=l.messages,this.define(e)}c.prototype={messages:function(e){return e&&(this._messages=(0,s.deepMerge)((0,l.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":r(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]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},a=e,u=n,d=i;if("function"==typeof u&&(d=u,u={}),!this.rules||0===Object.keys(this.rules).length)return d&&d(),Promise.resolve();function h(e){var t,n,i=void 0,o=[],r={};for(i=0;i<e.length;i++)t=e[i],n=void 0,Array.isArray(t)?o=(n=o).concat.apply(n,t):o.push(t);o.length?r=(0,s.convertFieldsError)(o):(o=null,r=null),d(o,r)}if(u.messages){var f=this.messages();f===l.messages&&(f=(0,l.newMessages)()),(0,s.deepMerge)(f,u.messages),u.messages=f}else u.messages=this.messages();var p=void 0,g=void 0,m={},v=u.keys||Object.keys(this.rules);v.forEach((function(n){p=t.rules[n],g=a[n],p.forEach((function(i){var r=i;"function"==typeof r.transform&&(a===e&&(a=o({},a)),g=a[n]=r.transform(g)),(r="function"==typeof r?{validator:r}:o({},r)).validator=t.getValidationMethod(r),r.field=n,r.fullField=r.fullField||n,r.type=t.getType(r),r.validator&&(m[n]=m[n]||[],m[n].push({rule:r,value:g,source:a,field:n}))}))}));var y={};return(0,s.asyncMap)(m,u,(function(e,t){var n=e.rule,i=!("object"!==n.type&&"array"!==n.type||"object"!==r(n.fields)&&"object"!==r(n.defaultField));function a(e,t){return o({},t,{fullField:n.fullField+"."+e})}function l(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=r;if(Array.isArray(l)||(l=[l]),!u.suppressWarning&&l.length&&c.warning("async-validator:",l),l.length&&n.message&&(l=[].concat(n.message)),l=l.map((0,s.complementError)(n)),u.first&&l.length)return y[n.field]=1,t(l);if(i){if(n.required&&!e.value)return l=n.message?[].concat(n.message).map((0,s.complementError)(n)):u.error?[u.error(n,(0,s.format)(u.messages.required,n.field))]:[],t(l);var d={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(d[h]=n.defaultField);for(var f in d=o({},d,e.rule.fields))if(d.hasOwnProperty(f)){var p=Array.isArray(d[f])?d[f]:[d[f]];d[f]=p.map(a.bind(null,f))}var g=new c(d);g.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),g.validate(e.value,e.rule.options||u,(function(e){var n=[];l&&l.length&&n.push.apply(n,l),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(l)}i=i&&(n.required||!n.required&&e.value),n.field=e.field;var d=void 0;n.asyncValidator?d=n.asyncValidator(n,e.value,l,e.source,u):n.validator&&(!0===(d=n.validator(n,e.value,l,e.source,u))?l():!1===d?l(n.message||n.field+" fails"):d instanceof Array?l(d):d instanceof Error&&l(d.message)),d&&d.then&&d.then((function(){return l()}),(function(e){return l(e)}))}),(function(e){h(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.default.hasOwnProperty(e.type))throw new Error((0,s.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]?u.default.required:u.default[this.getType(e)]||!1}},c.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},c.warning=s.warning,c.messages=l.messages,t.default=c},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(107).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(95).then(n.bind(null,"R7lK")).then((function(e){return e.setupMode(r)}))}))},pFRH:function(e,t,n){var i=n("cvCv"),o=n("O0oS"),r=n("zZ0H"),s=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:i(t),writable:!0})}:r;e.exports=s},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(133).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],y=a.targets.filter((function(e){return c.initialTarget instanceof Node&&e.contains(c.initialTarget)}));a.inertia(y,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}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return M}));var i,o=n("q1tI"),r=n("TSYQ"),s=n.n(r),a=n("17x9"),u=n("H84U"),l=n("o/2+"),c=n("CWQg");function d(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(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),i=n("jpXb")}var f=["xxl","xl","lg","md","sm","xs"],p={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},g=[],m=-1,v={},y={dispatch:function(e){return v=e,!(g.length<1)&&(g.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===g.length&&this.register();var t=(++m).toString();return g.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(g=g.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(p).map((function(e){return i.unregister(p[e])}))},register:function(){var e=this;Object.keys(p).map((function(t){return i.register(p[t],{match:function(){var n=h(h({},v),d({},t,!0));e.dispatch(n)},unmatch:function(){var n=h(h({},v),d({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};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 b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}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}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(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 L(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},D=Object(c.a)("top","middle","bottom","stretch"),k=Object(c.a)("start","end","center","space-around","space-between"),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&&O(e,t)}(c,e);var t,n,i,r,a=(t=c,function(){var e,n=N(t);if(L()){var i=N(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return x(this,e)});function c(){var e;return w(this,c),(e=a.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,i=t.getPrefixCls,r=e.props,a=r.prefixCls,u=r.type,c=r.justify,d=r.align,h=r.className,f=r.style,p=r.children,g=E(r,["prefixCls","type","justify","align","className","style","children"]),m=i("row",a),v=e.getGutter(),y=s()((C(n={},m,!u),C(n,"".concat(m,"-").concat(u),u),C(n,"".concat(m,"-").concat(u,"-").concat(c),u&&c),C(n,"".concat(m,"-").concat(u,"-").concat(d),u&&d),n),h),_=b(b(b({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),f),w=b({},g);return delete w.gutter,o.createElement(l.a.Provider,{value:{gutter:v}},o.createElement("div",b({},w,{className:y,style:_}),p))},e}return n=c,(i=[{key:"componentDidMount",value:function(){var e=this;this.token=y.subscribe((function(t){var n=e.props.gutter;("object"===_(n)||Array.isArray(n)&&("object"===_(n[0])||"object"===_(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){y.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,i){if("object"===_(t))for(var o=0;o<f.length;o++){var r=f[o];if(n[r]&&void 0!==t[r]){e[i]=t[r];break}}else e[i]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&S(n.prototype,i),r&&S(n,r),c}(o.Component);M.defaultProps={gutter:0},M.propTypes={type:a.oneOf(["flex"]),align:a.oneOf(D),justify:a.oneOf(k),className:a.string,children:a.node,gutter:a.oneOfType([a.object,a.number,a.array]),prefixCls:a.string}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),void 0!==t&&r.default.type(e,t,i,a,o)}n(a)}},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 i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t)&&!e.required)return n();r.default.required(e,t,i,a,o),t&&r.default.enum(e,t,i,a,o)}n(a)}},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){var s=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,i.default)(e,t,s,r)};var i=r(n("LIAx")),o=r(n("i8i4"));function r(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},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(122).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),y=-1===v?m.length+1:v+1;if(g.column<=y){var _=r.a.visibleColumnFromColumn2(t,n,g),b=r.a.prevIndentTabStop(_,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 y})),n.d(t,"g",(function(){return _})),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 y(e){b.INSTANCE.registerEditorAction(new e)}function _(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)},t2Dn:function(e,t,n){var i=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&i(e,t,n)}},t33a:function(e,t,n){"use strict";e.exports={}},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)},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},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 y(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 _(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,_=0,b=0,C=d;b<C;b++){var w=f?h.charCodeAt(b):e.getLineCharCode(c,b);if(9===w)_++;else{if(32!==w){p=!0,g=b;break}m++}}if(p&&(_>0?o++:m>1&&r++,y(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=o<r);var x=t;if(O){var L=O?0:.1*i;[2,4,6,8,3,5,7].forEach((function(e){var t=u[e];t>L&&(L=t,x=e)})),4===x&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(x=2)}return{insertSpaces:O,tabSize:x}}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 O(e){return(4&e.metadata)>>>2==1}function x(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function L(e){return(8&e.metadata)>>>3==1}function N(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function E(e,t){e.metadata=207&e.metadata|t<<4}function D(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,x(this,!1),E(this,1),N(this,!1),D(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;x(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),E(this,this.options.stickiness),N(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),D(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}(),M=new k(null,0,0);M.parent=M,M.left=M,M.right=M,C(M,0);var I=function(){function e(){this.root=M,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===M?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==M;)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!==M){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&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===M||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===M?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==M;)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===M||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&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===M||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!==M;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===M||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===M||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!==M;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===M||w(t.left)?t.right===M||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){A(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!==M;)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!==M){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===M||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++){A(this,a=o[r])}this._normalizeDeltaIfNecessary(),function(e,t,n,i){var o=e.root,r=0,s=i-(n-t);for(;o!==M;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),B(o),o=o.parent;else{if(!w(o.left)){if(r+o.maxEnd<t){S(o,!0);continue}if(o.left!==M){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===M||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,P(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!==M;)t.left===M||w(t.left)?t.right===M||w(t.right)?(t.start=n+t.start,t.end=n+t.end,t.delta=0,B(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 P(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===M)return t.parent=M,t.left=M,t.right=M,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===M){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===M){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=M,t.right=M,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&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),V(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&&V(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===M?(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===M?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==M;)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(),B(n),void(e.root.parent=M);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!==M&&(i.left.parent=i),i.right!==M&&(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),j(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),V(e,o),o=n.parent.right),C(o,b(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===b(o=n.parent.left)&&(C(o,0),C(n.parent,1),V(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),j(e,o),o=n.parent.left),C(o,b(n.parent)),C(n.parent,0),C(o.left,0),V(e,n.parent),n=e.root));C(n,0),F()}function F(){M.parent=M,M.delta=0,M.start=0,M.end=0}function j(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!==M&&(n.left.parent=t),n.parent=t.parent,t.parent===M?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function V(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!==M&&(n.right.parent=t),n.parent=t.parent,t.parent===M?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function W(e){var t=e.end;if(e.left!==M){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==M){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=W(e)}function H(e){for(;e!==M;){var t=W(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 Q(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 J(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,Q(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,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(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,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(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&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(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&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(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),y=this.offsetInBuffer(e.piece.bufferIndex,r),_={line:0,column:0};t._wordSeparators?(f=g.buffer.substring(v,y),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)>=y)return l;this.positionInBuffer(e,p(h.index)-m,_);var b=this.getLineFeedCnt(e.piece.bufferIndex,o,_),C=_.line===o.line?_.column-o.column+i:_.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>=y)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 y=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var _=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,_,e.endLineNumber,y,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(y),d,y,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;_=this.getLineContent(d).substring(b,e.endColumn-1);return r=this._findMatchesInLine(t,s,_,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 y=m[u];if(n&&l.isAutoWhitespaceEdit&&l.range.isEmpty())for(var _=y.startLineNumber;_<=y.endLineNumber;_++){var b="";_===y.startLineNumber&&(b=this.getLineContent(l.range.startLineNumber),-1!==s.o(b))||v.push({lineNumber:_,oldContent:b})}}var C=[];for(u=0;u<a.length;u++){l=a[u],y=m[u];C[u]={sortIndex:l.sortIndex,identifier:l.identifier,range:y,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 O=v.length;u<O;u++){_=v[u].lineNumber;if(!(u>0&&v[u-1].lineNumber===_)){var x=v[u].oldContent,L=this.getLineContent(_);0!==L.length&&L!==x&&-1===s.o(L)&&S.push(_)}}}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},ye=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},_e=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"),Oe=n("twdY"),xe=n("i/Ef"),Le=n("5Y4S"),Ne=n("QRHv"),Ee=n("MNsG"),De=(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}(),Me=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(Oe.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(Ne.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 De(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:Oe.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()&&Ee.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new Ne.b,n=Le.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 Ne.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 Ne.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=Ie(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=Ie(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Ie(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Ie(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(xe.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),Ve=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 We(e){var t=new pe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?We(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=Be(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||xe.a,l._languageRegistryListener=Pe.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 Ne.d,l._tokens2=new Ne.e,l._tokenization=new Me(l),l}return Ve(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=_(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=Be(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 _e],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,B(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=_(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=(y=o[d].range).startLineNumber>u.endLineNumber,p=u.startLineNumber>y.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 y=o[d].range,_=o[d].text;if(!(g<y.startLineNumber||g>y.endLineNumber)&&!(g===y.startLineNumber&&y.startColumn===m&&y.isEmpty()&&_&&_.length>0&&"\n"===_.charAt(0)||g===y.startLineNumber&&1===y.startColumn&&y.isEmpty()&&_&&_.length>0&&"\n"===_.charAt(_.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(Ne.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,y=Math.min(m,v),_=v-m,b=y;b>=0;b--){var C=p+b,w=r-u-_+C;a.push(new me(C,this.getLineContent(w)))}if(y<m){var S=p+y;a.push(new ve(S+1,g))}if(y<v){for(var O=p+y,x=v-y,L=r-u-x+O+1,N=[],E=0;E<x;E++){var D=L+E;N[D-L]=this.getLineContent(D)}a.push(new ye(O+1,p+v,N))}u+=_}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,Je(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:Qe[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(Qe[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=Je(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,Pe.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,Pe.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=Pe.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=Pe.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=Ae.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=Pe.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=Ae.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=Ae.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=Ae.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=Pe.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=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=!1}n=h,i=Pe.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=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,f);d=p}if(i&&d&&l!==c)if(f=Ae.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=Pe.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=Ae.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=!1}i=f,o=Pe.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=Ae.a.findNextBracketInRange(o.forwardRegex,r,u,c,d))return this._toFoundBracket(o,p);h=g}if(o&&h&&c!==d)if(p=Ae.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=Ae.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,y=0;if(h===i.lineNumber)m=f.findTokenIndexAtOffset(i.column-1),v=i.column-1,y=i.column-1,l!==(b=f.getLanguageId(m))&&a(l=b,c=Pe.a.getBracketsSupport(l));for(var _=!0;m<p;m++){var b;if(l!==(b=f.getLanguageId(m))){if(c&&_&&v!==y){if(C=u(c,h,g,v,y))return C;_=!1}a(l=b,c=Pe.a.getBracketsSupport(l))}var C,w=!!c&&!Object(Re.b)(f.getStandardTokenType(m));if(w)_||(v=f.getStartOffset(m)),y=f.getEndOffset(m);else if(c&&_&&v!==y)if(C=u(c,h,g,v,y))return C;_=w}if(c&&_&&v!==y)if(C=u(c,h,g,v,y))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=Pe.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,y=!0,_=0,b=!0,C=0,w=0;y||b;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||S<t)&&(y=!1),0!==w&&(O>o||O>n)&&(b=!1),w>5e4&&(y=!1,b=!1),y){var x=void 0;if((L=this._computeIndentLevel(S-1))>=0?(l=S-1,c=L,x=Math.ceil(L/this._options.indentSize)):(d(S),x=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,_=O,0===(C=x))return{startLineNumber:v,endLineNumber:_,indent:C};continue}x>=C?v=S:y=!1}if(b){var L,N=void 0;(L=this._computeIndentLevel(O-1))>=0?(h=O-1,f=L,N=Math.ceil(L/this._options.indentSize)):(m(O),N=this._getIndentLevelForWhitespaceLine(s,f,g)),N>=C?_=O:b=!1}}return{startLineNumber:v,endLineNumber:_,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=Pe.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 I,this._decorationsTree1=new I}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){L(e)?this._decorationsTree1.insert(e):this._decorationsTree0.insert(e)},e.prototype.delete=function(e){L(e)?this._decorationsTree1.delete(e):this._decorationsTree0.delete(e)},e.prototype.resolveNode=function(e,t){L(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 Ve(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 Ve(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?je.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 Qe=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Je(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 Ve(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 Ve(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}())},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var i=r(n("14Xm")),o=r(n("vDqi"));function r(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function i(o,r){try{var s=t[o](r),a=s.value}catch(e){return void n(e)}if(!s.done)return Promise.resolve(a).then((function(e){i("next",e)}),(function(e){i("throw",e)}));e(a)}("next")}))}}var a,u,l;t.getBranch=(a=s(i.default.mark((function e(t,n){return i.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 a.apply(this,arguments)}),t.getTag=(u=s(i.default.mark((function e(t,n){return i.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 u.apply(this,arguments)}),t.getHooks=(l=s(i.default.mark((function e(t,n){return i.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 l.apply(this,arguments)})},twdY:function(e,t,n){"use strict";n.d(t,"q",(function(){return y})),n.d(t,"x",(function(){return _})),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 O})),n.d(t,"d",(function(){return x})),n.d(t,"w",(function(){return L})),n.d(t,"o",(function(){return N})),n.d(t,"l",(function(){return E})),n.d(t,"h",(function(){return D})),n.d(t,"f",(function(){return k})),n.d(t,"e",(function(){return M})),n.d(t,"p",(function(){return I})),n.d(t,"z",(function(){return T})),n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return R})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return F})),n.d(t,"s",(function(){return j})),n.d(t,"r",(function(){return V})),n.d(t,"c",(function(){return W})),n.d(t,"v",(function(){return B})),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}(),y=function(e,t){this.language=e,this.id=t},_=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,O=new g,x=new g,L=new g,N=new g,E=new g,D=new g,k=new g,M=new g,I=new g,T=new g,P=new g,R=new g,A=new g,F=new g,j=new g,V=new g,W=new g,B=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(142).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},"vPd/":function(e,t,n){var i=n("kCCV"),o=n("IX3V").each;function r(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)}r.prototype={constuctor:r,addHandler:function(e){var t=new i(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,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=r},vXNv:function(e,t,n){},vg9a:function(e,t,n){},"vj+l":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=_(n("W9HT")),o=_(n("BvKs")),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("2WkQ");var a=n("q1tI"),u=_(a),l=n("sYIF"),c=n("eO8H");n("3cxI");var d=_(n("3Diz")),h=_(n("lH0x")),f=_(n("Zcga")),p=_(n("Eitf")),g=n("PhNK"),m=_(n("bjH3")),v=_(n("2CTR")),y=(n("tnhM"),_(n("vDqi")));function _(e){return e&&e.__esModule?e:{default: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.changeAddress=function(e){n.setState({address:e})},n.componentDidMount=function(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,i=e.owner;y.default.get("/"+i+"/"+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.setState({isSpin:!0}),n.Init())},n.Init=function(){var e=n.props.history.location.search,t=n.props.match.params.branchName,i=n.props.defaultBranch,o=t||i;if(e&&(e.indexOf("?url=")>-1||e.indexOf("&url=")>-1)){var r=e.split("url=")[1];r&&decodeURI(r).indexOf("&")&&(r=decodeURI(r).split("&")[0]),n.getFileDetail(decodeURI(r),o)}else n.getProjectRoot(o)},n.returnMain=function(e){var t=n.props.match.params,i=t.projectsId,o=t.owner,r=t.branchName;n.setState({readOnly:!0}),n.props.history.push("/projects/"+o+"/"+i+(r?"/branch/"+r:"")),n.getProjectRoot(e)},n.getProjectRoot=function(e){var t=n.props.match.params,i=t.projectsId,o="/"+t.owner+"/"+i+"/entries.json";y.default.get(o,{params:{ref:e}}).then((function(e){if(e){var t=e.data&&e.data.last_commit,i=e.data&&e.data.entries;n.setState({filePath:void 0,fileDetail:void 0,isSpin:!1,branchLastCommit:t&&t.commit,lastCommitAuthor:t&&(t.author||t.commit&&t.commit.author),zip_url:e.data.zip_url,tar_url:e.data.tar_url}),i&&i.length>0&&n.renderData(i),n.setState({rootList:i,subFileType:!0})}})).catch((function(e){}))},n.ChangeFile=function(e,t){var i=n.props.match.params,o=i.projectsId,r=i.owner;n.props.history.push("/projects/"+r+"/"+o+"?url="+e.path),n.setState({readOnly:t,chooseType:"file"})},n.renderUrl=function(e,t,i){var o=[],r=n.state.filePath;if(t.indexOf("/")){var s=t.split("/"),a="";s.map((function(e,t){return a+="/"+e,o.push({key:t,index:t,name:e,path:a.substr(1),type:r&&r.length>0&&r[t]?r[t].type:i})}));var u=n.props.match.params,l=u.projectsId,c=u.owner;n.props.history.push("/projects/"+c+"/"+l+"?url="+a.substr(1))}else o.push({index:0,name:e,path:t,type:i});n.setState({filePath:o})},n.getFileDetail=function(e,t){n.setState({filePath:decodeURI(e)});var i=n.props.match.params,o=i.projectsId,r=i.owner,s=i.branchName,a=n.state.chooseType,u="/"+r+"/"+o+"/sub_entries.json";y.default.get(u,{params:{filepath:e,ref:t||s,type:a}}).then((function(e){var t=e.data&&e.data.entries;n.setState({isSpin:!1}),e&&(t?t.type?n.setState({fileDetail:[t],rootList:void 0,subFileType:!1}):(n.setState({fileDetail:void 0,rootList:t,branchLastCommit:e.data.last_commit&&e.data.last_commit.commit,lastCommitAuthor:e.data.last_commit&&(e.data.last_commit.author||e.data.last_commit.commit&&e.data.last_commit.commit.author)}),n.renderData(t)):n.setState({fileDetail:void 0,rootList:void 0,isSpin:!1,subFileType:!1}))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.renderData=function(e){var t=[],i=[],o=[];e&&e.map((function(e,n){t.push(r({key:n,message:e.commit&&e.commit.message},e)),e.is_readme_file&&(i.push(r({},e)),o.push(r({},e)))})),n.setState({rootList:t,readMeContent:i,readMeFile:o})},n.goToSubRoot=function(e,t,i){n.setState({chooseType:t});var o=n.props.match.params,r=o.projectsId,s=o.owner,a=o.branchName;n.props.history.push("/projects/"+s+"/"+r+(a?"/branch/"+a:"")+"?url="+e),".md"===i.substring(i.length-3)?n.setState({md:!0}):n.setState({md:!1})},n.renderReadMeContent=function(e,t){var i=n.state,o=i.fileDetail,r=i.readMeFile;if(!o)return e&&e.length>0?u.default.createElement("div",{className:"commonBox"},u.default.createElement("div",{className:"commonBox-title"},u.default.createElement("span",{className:"mr10"},u.default.createElement("i",{className:"iconfont icon-wenjian1 font-16 color-grey-9 fl mt3"})),u.default.createElement("span",{className:"commonBox-title-read"},e[0].name),t?u.default.createElement("a",{onClick:function(){return n.ChangeFile(r[0],!1)},className:"ml20 pull-right"},u.default.createElement("i",{className:"iconfont icon-bianji6 font-16 color-blue"})):""),u.default.createElement("div",{className:"commonBox-info"},e[0].content?u.default.createElement(m.default,{className:"break_word_comments imageLayerParent",value:e[0].content,url:n.props.history.location}):u.default.createElement("span",null,"暂无~"))):void 0},n.changeBranch=function(e){var t=n.props.history.location.search,i=n.props.match.params,o=i.projectsId,r="/projects/"+i.owner+"/"+o+(e&&"/branch/"+e);if(t&&(t.indexOf("?url=")>-1||t.indexOf("&url=")>-1)){var s=t.split("url=")[1];s&&decodeURI(s).indexOf("&")&&(s=decodeURI(s).split("&")[0]),r+="?url="+s}n.props.history.push(r)},n.returnUlr=function(e){n.setState({chooseType:"dir",readOnly:!0});var t=n.props.match.params,i=t.projectsId,o=t.owner;n.props.history.push("/projects/"+o+"/"+i+"?url="+e)},n.onEdit=function(e){n.setState({readOnly:e})},n.downloadUrl=function(e,t){return u.default.createElement(o.default,null,e&&u.default.createElement(o.default.Item,null,u.default.createElement("a",{href:e},"ZIP")),t&&u.default.createElement(o.default.Item,null,u.default.createElement("a",{href:t},"TAR.GZ")))},n.title=function(e,t){if(e){var i=n.props.match.params,o=i.projectsId,r=i.owner;return u.default.createElement("div",{className:"f-wrap-alignCenter"},t?u.default.createElement(u.default.Fragment,null,t.login?u.default.createElement(c.Link,{to:"/users/"+t.login+"/projects",className:"show-user-link"},u.default.createElement("img",{src:(0,l.getImageUrl)("images/"+t.image_url),className:"radius mr10",width:"32",height:"32",alt:""}),u.default.createElement("span",{className:"mr15"},t.name)):u.default.createElement("span",{className:"mr15"},t.name)):"",u.default.createElement(c.Link,{to:"/projects/"+r+"/"+o+"/commits/"+(0,g.truncateCommitId)(""+e.sha),className:"color-blue flex-1 hide-1"},e.message),u.default.createElement("span",null,e.time_from_now),u.default.createElement(c.Link,{to:"/projects/"+r+"/"+o+"/commits/"+(0,g.truncateCommitId)(""+e.sha),className:"commitKey"},(0,g.truncateCommitId)(e.sha)))}return!1},n.state={address:"http",filePath:void 0,subFileType:void 0,readMeContent:void 0,readMeFile:void 0,isSpin:!0,branchList:void 0,fileDetail:void 0,branchLastCommit:void 0,lastCommitAuthor:void 0,rootList:void 0,readOnly:!0,zip_url:void 0,tar_url:void 0,chooseType:void 0,md:!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.branchLastCommit,o=t.lastCommitAuthor,s=t.rootList,a=t.filePath,l=t.fileDetail,m=t.subFileType,y=t.readMeContent,_=t.isSpin,b=t.zip_url,C=t.tar_url,w=t.branchList,S=this.props,O=S.isManager,x=S.isDeveloper,L=S.projectDetail,N=S.platform,E=S.defaultBranch,D=this.props.match.params,k=D.projectsId,M=D.owner,I=D.branchName||E,T=[{key:"name",dataIndex:"name",width:"30%",render:function(t,n){return u.default.createElement("a",{onClick:function(){return e.goToSubRoot(n.path,n.type,t)},className:"ml12 task-hide",style:{display:"block",maxWidth:"345px"}},u.default.createElement("i",{className:"file"===n.type?"iconfont icon-wenjia font-15 color-green-file mr5":"iconfont icon-wenjianjia1 color-green-file font-15 mr5"}),t)}},{key:"message",dataIndex:"message",width:"60%",render:function(e,t){return t.commit&&t.commit.message?u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/commits/"+(0,g.truncateCommitId)(""+t.commit.sha),title:t.commit.message,className:"task-hide",style:{display:"block",maxWidth:"670px"}},t.commit.message):""}},{key:"time_from_now",dataIndex:"time_from_now",width:"10%",className:"edu-txt-right",render:function(e,t){return t.commit&&t.commit.time_from_now?u.default.createElement("a",{title:t.commit.created_at,className:"mr12",style:{cursor:"default",color:"#888"}},t.commit.time_from_now):""}}],P=void 0===a?"":"/"+a,R=a&&a.split("/");return u.default.createElement(i.default,{spinning:_},u.default.createElement("div",{className:"main"},u.default.createElement("div",{className:"f-wrap-between mb20"},u.default.createElement("div",{className:"f-wrap-alignCenter"},N?u.default.createElement(d.default,{repo_id:L&&L.repo_id,projectsId:k,branch:I,changeBranch:this.changeBranch,owner:M,history:this.props.history,branchList:w}):u.default.createElement("span",null,"分支:",u.default.createElement("span",{className:"color-grey-6"},"master")),a&&u.default.createElement("span",{className:"ml20 font-16"},u.default.createElement("a",{onClick:function(){return e.returnMain(I)},className:"color-blue"},L&&L.identifier),R&&R.map((function(t,n){return u.default.createElement(u.default.Fragment,null,n===R.length-1?u.default.createElement("span",{className:"color-grey-6 subFileName",key:n},t):u.default.createElement("a",{onClick:function(){return e.returnUlr(""+function(e,t){if(e&&e.length>0&&t){for(var n="",i=0;i<t;i++)n+="/"+e[i];return n.substr(1)}}(R,n+1))},className:"color-blue subFileName"},t))})))),u.default.createElement("div",{className:"f-wrap-alignCenter"},m&&2!==(L&&parseInt(L.type))&&(O||x)&&N&&u.default.createElement("div",null,u.default.createElement("span",null,u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/"+I+"/uploadfile"+P},u.default.createElement("span",{className:"color-green mr30"},"上传文件"))),u.default.createElement("span",{className:"mr30"},u.default.createElement(c.Link,{to:"/projects/"+M+"/"+k+"/"+I+"/newfile"+P},u.default.createElement("span",{className:"color-blue"},"新建文件")))),L&&L.clone_url&&u.default.createElement(h.default,{http_url:L.clone_url,downloadUrl:this.downloadUrl(b,C),showNotification:this.props.showNotification}))),s&&u.default.createElement(f.default,{columns:T,data:s,title:function(){return e.title(n,o)}}),l&&l.length>0&&u.default.createElement(p.default,r({detail:l[0]},this.props,this.state,{readOnly:this.state.readOnly,onEdit:this.onEdit,currentBranch:I})),!s&&!l&&u.default.createElement(v.default,{_html:"暂未发现当前文件!"}),s&&this.renderReadMeContent(y,O||x)))}}]),t}(a.Component);t.default=b},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(141).then(n.bind(null,"Czvm"))}})},wCAj:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("BGR+"),r=n("6RRn"),s=n.n(r),a=n("17x9"),u=n("TSYQ"),l=n.n(u),c=n("Gytx"),d=n.n(c),h=n("VCL8"),f=n("i8i4"),p=n("1j5w"),g=n("Yf6U"),m=n.n(g),v=n("jsC+"),y=n("CtXQ"),_=n("kaz8"),b=n("9yH6"),C=function(e){return i.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function w(e){return function(e){if(Array.isArray(e))return S(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 S(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],i=function e(i){i.forEach((function(i){if(i[t]){var o=O({},i);delete o[t],n.push(o),i[t].length>0&&e(i[t])}else n.push(i)}))};return i(e),n}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,i){var o={};return e[n]&&(o[n]=L(e[n],t,n)),O(O({},t(e,i)),o)}))}function N(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var i=N(n.children,t);e.push.apply(e,w(i))}return e}),[])}function E(e){var t=[];return i.Children.forEach(e,(function(e){if(i.isValidElement(e)){var n=O({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function D(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,i=e.children;t[n.toString()]=n,D(i,t)})),t}function k(e){return(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})(e)}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 I(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var V=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&&T(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=F(t);if(A()){var i=F(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return P(this,e)});function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=s.call(this,e)).setNeverShown=function(e){var n=f.findDOMNode(R(t));!!m()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var i=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete i[e.key]:i[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:i})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,r=n.locale,s=n.prefixCls,a=n.selectedKeys,u=a&&a.length>0,c=o.filterIcon;"function"==typeof c&&(c=c(u));var d=l()((M(e={},"".concat(s,"-selected"),"filtered"in o?o.filtered:u),M(e,"".concat(s,"-open"),t.getDropdownVisible()),e));return c?i.isValidElement(c)?i.cloneElement(c,{title:c.props.title||r.filterTitle,className:l()("".concat(s,"-icon"),d,c.props.className),onClick:j}):i.createElement("span",{className:l()("".concat(s,"-icon"),d)},c):i.createElement(y.default,{title:r.filterTitle,type:"filter",theme:"filled",className:d,onClick:j})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:D(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,i=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!d()(i.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),d()((i.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=D(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,i=e.confirmFilter,o=this.state,r=o.selectedKeys,s=o.valueKeys,a=t.filterDropdown;d()(r,n)||i(t,a?r:r.map((function(e){return s[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,r=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,s=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),a=l()("".concat(r,"-dropdown-submenu"),M({},"".concat(o,"-submenu-contain-selected"),s));return i.createElement(p.d,{title:e.text,popupClassName:a,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,r=(n||[]).map((function(e){return e.toString()})),s=o?i.createElement(_.default,{checked:r.indexOf(e.value.toString())>=0}):i.createElement(b.default,{checked:r.indexOf(e.value.toString())>=0});return i.createElement(p.b,{key:e.value},s,i.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,r=n.locale,s=n.prefixCls,a=n.dropdownPrefixCls,u=n.getPopupContainer,c=!("filterMultiple"in o)||o.filterMultiple,d=l()(M({},"".concat(a,"-menu-without-submenu"),!this.hasSubMenu())),h=o.filterDropdown;h instanceof Function&&(h=h({prefixCls:"".concat(a,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var f=h?i.createElement(C,{className:"".concat(s,"-dropdown")},h):i.createElement(C,{className:"".concat(s,"-dropdown")},i.createElement(p.e,{multiple:c,onClick:this.handleMenuItemClick,prefixCls:"".concat(a,"-menu"),className:d,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:u},this.renderMenus(o.filters)),i.createElement("div",{className:"".concat(s,"-dropdown-btns")},i.createElement("a",{className:"".concat(s,"-dropdown-link confirm"),onClick:this.handleConfirm},r.filterConfirm),i.createElement("a",{className:"".concat(s,"-dropdown-link clear"),onClick:this.handleClearFilters},r.filterReset)));return i.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:f,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:u,forceRender:!0},this.renderFilterIcon())}}])&&I(n.prototype,o),r&&I(n,r),a}(i.Component);V.defaultProps={column:{}},Object(h.polyfill)(V);var W=V;function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function H(e){return(H="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 z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function U(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function q(e,t){return!t||"object"!==H(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(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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&&K(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=Y(t);if(G()){var i=Y(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return q(this,e)});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=s.call(this,e)).state={checked:t.getCheckState(e)},t}return n=a,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,i=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(i)>=0:t.getState().selectedRowKeys.indexOf(i)>=0||n.indexOf(i)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Z(e,["type","rowIndex"]),r=this.state.checked;return"radio"===t?i.createElement(b.default,z({checked:r,value:n},o)):i.createElement(_.default,z({checked:r},o))}}])&&U(n.prototype,o),r&&U(n,r),a}(i.Component),Q=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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)}function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function re(e){var t=e.store,n=e.getCheckboxPropsByItem,i=e.getRecordKey,o=e.data,r=e.type;return e.byDefaultChecked?o[r]((function(e,t){return n(e,t).defaultChecked})):o[r]((function(e,n){return t.getState().selectedRowKeys.indexOf(i(e,n))>=0}))}function se(e){var t=e.store,n=e.data;if(!n.length)return!1;var i=re(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=re(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?i:i||o}function ae(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||re(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(a,e);var t,n,o,r,s=(t=a,function(){var e,n=ie(t);if(ne()){var i=ie(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return te(this,e)});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=s.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ae(e),i=se(e),o={};return i!==t.indeterminate&&(o.indeterminate=i),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ae(e),n=se(e);this.setState((function(e){var i={};return n!==e.indeterminate&&(i.indeterminate=n),t!==e.checked&&(i.checked=t),i}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return i.createElement(Q.default.Item,{key:e.key||n},i.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,r=o.disabled,s=o.prefixCls,a=o.selections,u=o.getPopupContainer,c=this.state,d=c.checked,h=c.indeterminate,f="".concat(s,"-selection"),p=null;if(a){var g=Array.isArray(a)?this.defaultSelections.concat(a):this.defaultSelections,m=i.createElement(Q.default,{className:"".concat(f,"-menu"),selectedKeys:[]},this.renderMenus(g));p=g.length>0?i.createElement(v.default,{overlay:m,getPopupContainer:u},i.createElement("div",{className:"".concat(f,"-down")},i.createElement(y.default,{type:"down"}))):null}return i.createElement("div",{className:f},i.createElement(_.default,{className:l()((e={},t="".concat(f,"-select-all-custom"),n=p,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:d,indeterminate:h,disabled:r,onChange:this.handleSelectAllChange}),p)}}])&&$(n.prototype,o),r&&$(n,r),a}(i.Component);Object(h.polyfill)(ue);var le=ue;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 de(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fe(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 pe(){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 ge(e){return(ge=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&&he(e,t)}(i,e);var t,n=(t=i,function(){var e,n=ge(t);if(pe()){var i=ge(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return fe(this,e)});function i(){return de(this,i),n.apply(this,arguments)}return i}(i.Component);function ve(e){return(ve="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 ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _e(e,t){return(_e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function be(e,t){return!t||"object"!==ve(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(){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 we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Se=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)}(i,e);var t,n=(t=i,function(){var e,n=we(t);if(Ce()){var i=we(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return be(this,e)});function i(){return ye(this,i),n.apply(this,arguments)}return i}(i.Component);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 xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function Le(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 Ee(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function De(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Re(e);if(Pe()){var i=Re(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return Te(this,t)}}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 Pe(){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 Re(e){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){ke(r,t);var n=Ie(r);function r(e){var t;Ne(this,r),(t=n.call(this,e)).store=e.store;var i=t.store.getState().selectedRowKeys;return t.state={selected:i.indexOf(e.rowKey)>=0},t}return De(r,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,i=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(i)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=l()(this.props.className,Le({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return i.createElement(e,xe(xe({},t),{className:n}),this.props.children)}}]),r}(i.Component);return t}Se.__ANT_TABLE_COLUMN_GROUP=!0;var Fe=n("61SU"),je=n.n(Fe);function Ve(e,t){if("undefined"==typeof window)return 0;var n=t?"scrollTop":"scrollLeft",i=e===window,o=i?e[t?"pageYOffset":"pageXOffset"]:e[n];return i&&"number"!=typeof o&&(o=document.documentElement[n]),o}function We(e,t,n,i){var o=n-t;return(e/=i/2)<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}var Be=n("NUBc"),He=n("W9HT"),ze=n("gDlH"),Ue=n("YMnH"),Ke=n("ZvpZ"),qe=n("H84U"),Ge=n("6CfX");function Ye(e){return(Ye="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 Ze(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 Qe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Je(e,t,n){return t&&Qe(e.prototype,t),n&&Qe(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(it()){var i=ot(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 it(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rt(){return(rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var st=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};function at(){}function ut(e){e.stopPropagation()}function lt(e){return e.rowSelection||{}}function ct(e,t){return e.key||e.dataIndex||t}function dt(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||d()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||d()(e,t):void 0})))}var ht={onChange:at,onShowSizeChange:at},ft={},pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return rt(rt({},e),{body:rt(rt({},e.body),{row:Ae(t)})})};function gt(e,t){return N(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return gt(e,t).forEach((function(e){var t=ct(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r;Xe(this,n),(r=t.call(this,e)).setTableRef=function(e){r.rcTable=e},r.getCheckboxPropsByItem=function(e,t){var n=lt(r.props);if(!n.getCheckboxProps)return{};var i=r.getRecordKey(e,t);if(!r.props.checkboxPropsCache[i]){r.props.checkboxPropsCache[i]=n.getCheckboxProps(e)||{};var o=r.props.checkboxPropsCache[i];Object(Ge.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return r.props.checkboxPropsCache[i]},r.getRecordKey=function(e,t){var n=r.props.rowKey,i="function"==typeof n?n(e,t):e[n];return Object(Ge.a)(void 0!==i,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===i?t:i},r.onRow=function(e,t,n){var i=r.props.onRow;return rt(rt({},i?i(t,n):{}),{prefixCls:e,store:r.props.store,rowKey:r.getRecordKey(t,n)})},r.generatePopupContainerFunc=function(e){var t=r.props.scroll,n=r.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},r.scrollToFirstRow=function(){var e=r.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,i=void 0===n?function(){return window}:n,o=t.callback,r=t.duration,s=void 0===r?450:r,a=i(),u=Ve(a,!0),l=Date.now(),c=function t(){var n=Date.now()-l,i=We(n>s?s:n,u,e,s);a===window?window.scrollTo(window.pageXOffset,i):a.scrollTop=i,n<s?je()(t):"function"==typeof o&&o()};je()(c)}(0,{getContainer:function(){return r.rcTable.bodyTable}})},r.handleFilter=function(e,t){var n=r.props,i=rt({},r.state.pagination),o=rt(rt({},r.state.filters),Ze({},ct(e),t)),s=[];L(r.state.columns,(function(e){e.children||s.push(ct(e))})),Object.keys(o).forEach((function(e){s.indexOf(e)<0&&delete o[e]})),n.pagination&&(i.current=1,i.onChange(i.current));var a={pagination:i,filters:{}},u=rt({},o);gt(r.state).forEach((function(e){var t=ct(e);t&&delete u[t]})),Object.keys(u).length>0&&(a.filters=u),"object"===Ye(n.pagination)&&"current"in n.pagination&&(a.pagination=rt(rt({},i),{current:r.state.pagination.current})),r.setState(a,(function(){r.scrollToFirstRow(),r.props.store.setState({selectionDirty:!1});var e=r.props.onChange;e&&e.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{selectionDirty:!1,filters:o,pagination:i})))}))},r.handleSelect=function(e,t,n){var i=n.target.checked,o=n.nativeEvent,s=r.props.store.getState().selectionDirty?[]:r.getDefaultSelection(),a=r.props.store.getState().selectedRowKeys.concat(s),u=r.getRecordKey(e,t),l=r.state.pivot,c=r.getFlatCurrentPageData(),d=t;if(r.props.expandedRowRender&&(d=c.findIndex((function(e){return r.getRecordKey(e,t)===u}))),o.shiftKey&&void 0!==l&&d!==l){for(var h=[],f=Math.sign(l-d),p=Math.abs(l-d),g=0,m=function(){var e=d+g*f;g+=1;var t=c[e],n=r.getRecordKey(t,e);r.getCheckboxPropsByItem(t,e).disabled||(a.includes(n)?i||(a=a.filter((function(e){return n!==e})),h.push(n)):i&&(a.push(n),h.push(n)))};g<=p;)m();r.setState({pivot:d}),r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(a,{selectWay:"onSelectMultiple",record:e,checked:i,changeRowKeys:h,nativeEvent:o})}else i?a.push(r.getRecordKey(e,d)):a=a.filter((function(e){return u!==e})),r.setState({pivot:d}),r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:o})},r.handleRadioSelect=function(e,t,n){var i=n.target.checked,o=n.nativeEvent,s=[r.getRecordKey(e,t)];r.props.store.setState({selectionDirty:!0}),r.setSelectedRowKeys(s,{selectWay:"onSelect",record:e,checked:i,changeRowKeys:void 0,nativeEvent:o})},r.handleSelectRow=function(e,t,n){var i,o=r.getFlatCurrentPageData(),s=r.props.store.getState().selectionDirty?[]:r.getDefaultSelection(),a=r.props.store.getState().selectedRowKeys.concat(s),u=o.filter((function(e,t){return!r.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return r.getRecordKey(e,t)})),l=[],c="onSelectAll";switch(e){case"all":u.forEach((function(e){a.indexOf(e)<0&&(a.push(e),l.push(e))})),c="onSelectAll",i=!0;break;case"removeAll":u.forEach((function(e){a.indexOf(e)>=0&&(a.splice(a.indexOf(e),1),l.push(e))})),c="onSelectAll",i=!1;break;case"invert":u.forEach((function(e){a.indexOf(e)<0?a.push(e):a.splice(a.indexOf(e),1),l.push(e),c="onSelectInvert"}))}r.props.store.setState({selectionDirty:!0});var d=r.props.rowSelection,h=2;if(d&&d.hideDefaultSelections&&(h=0),t>=h&&"function"==typeof n)return n(u);r.setSelectedRowKeys(a,{selectWay:c,checked:i,changeRowKeys:l})},r.handlePageChange=function(e){var t=r.props,n=rt({},r.state.pagination);n.current=e||(n.current||1);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];n.onChange.apply(n,[n.current].concat(o));var a={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(a.pagination=rt(rt({},n),{current:r.state.pagination.current})),r.setState(a,r.scrollToFirstRow),r.props.store.setState({selectionDirty:!1});var u=r.props.onChange;u&&u.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{selectionDirty:!1,pagination:n})))},r.handleShowSizeChange=function(e,t){var n=r.state.pagination;n.onShowSizeChange(e,t);var i=rt(rt({},n),{pageSize:t,current:e});r.setState({pagination:i},r.scrollToFirstRow);var o=r.props.onChange;o&&o.apply(null,r.prepareParamsArguments(rt(rt({},r.state),{pagination:i})))},r.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,r=t.needIndentSpaced,s=t.record,a=t.onExpand;return n?i.createElement(Ue.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(t){var n;return i.createElement(ze.a,{className:l()("".concat(e,"-row-expand-icon"),(n={},Ze(n,"".concat(e,"-row-collapsed"),!o),Ze(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){a(s,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):r?i.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},r.renderSelectionBox=function(e){return function(t,n,o){var s=r.getRecordKey(n,o),a=r.getCheckboxPropsByItem(n,o);return i.createElement("span",{onClick:ut},i.createElement(X,rt({type:e,store:r.props.store,rowIndex:s,onChange:function(t){return"radio"===e?r.handleRadioSelect(n,o,t):r.handleSelect(n,o,t)},defaultSelection:r.getDefaultSelection()},a)))}},r.renderTable=function(e){var t,n=e.prefixCls,a=e.renderEmpty,u=e.dropdownPrefixCls,c=e.contextLocale,d=e.getPopupContainer,h=r.props,f=h.showHeader,p=h.locale,g=h.getPopupContainer,m=st(h,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(m,["style"]),y=r.getCurrentPageData(),_=r.props.expandedRowRender&&!1!==r.props.expandIconAsCell,b=g||d,C=rt(rt({},c),p);p&&p.emptyText||(C.emptyText=a("Table"));var w=l()("".concat(n,"-").concat(r.props.size),(Ze(t={},"".concat(n,"-bordered"),r.props.bordered),Ze(t,"".concat(n,"-empty"),!y.length),Ze(t,"".concat(n,"-without-column-header"),!f),t)),S=r.renderRowSelection({prefixCls:n,locale:C,getPopupContainer:b}),O=r.renderColumnsDropdown({columns:S,prefixCls:n,dropdownPrefixCls:u,locale:C,getPopupContainer:b}).map((function(e,t){var n=rt({},e);return n.key=ct(n,t),n})),x=O[0]&&"selection-column"===O[0].key?1:0;return"expandIconColumnIndex"in v&&(x=v.expandIconColumnIndex),i.createElement(s.a,rt({ref:r.setTableRef,key:"table",expandIcon:r.renderExpandIcon(n)},v,{onRow:function(e,t){return r.onRow(n,e,t)},components:r.state.components,prefixCls:n,data:y,columns:O,showHeader:f,className:w,expandIconColumnIndex:x,expandIconAsCell:_,emptyText:C.emptyText}))},r.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,s=r.props,a=s.prefixCls,u=s.dropdownPrefixCls,c=s.style,d=s.className,h=r.getCurrentPageData(),f=r.props.loading;"boolean"==typeof f&&(f={spinning:f});var p=t("table",a),g=t("dropdown",u),m=i.createElement(Ue.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(e){return r.renderTable({prefixCls:p,renderEmpty:n,dropdownPrefixCls:g,contextLocale:e,getPopupContainer:o})})),v=r.hasPagination()&&h&&0!==h.length?"".concat(p,"-with-pagination"):"".concat(p,"-without-pagination");return i.createElement("div",{className:l()("".concat(p,"-wrapper"),d),style:c},i.createElement(He.default,rt({},f,{className:f.spinning?"".concat(v," ").concat(p,"-spin-holder"):""}),r.renderPagination(p,"top"),m,r.renderPagination(p,"bottom")))};var a=e.expandedRowRender,u=e.columns;Object(Ge.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),a&&(u||[]).some((function(e){return!!e.fixed}))&&Object(Ge.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var c=u||E(e.children);return r.state=rt(rt({},r.getDefaultSortOrder(c||[])),{filters:r.getDefaultFilters(c),pagination:r.getDefaultPagination(e),pivot:void 0,prevProps:e,components:pt(e.components),columns:c}),r}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,i=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);dt(o.sortColumn,n)&&o.sortOrder===i||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return lt(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,i="object"===Ye(e.pagination)?e.pagination:{};return"current"in i?t=i.current:"defaultCurrent"in i&&(t=i.defaultCurrent),"pageSize"in i?n=i.pageSize:"defaultPageSize"in i&&(n=i.defaultPageSize),this.hasPagination(e)?rt(rt(rt({},ht),i),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return N(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=mt(this.state,e);return rt(rt({},N(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[ct(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=N(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,i=t.pageSize;return(n-1)*i>=e?Math.floor((e-1)/i)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,i=t.sortColumn;if(n&&i&&"function"==typeof i.sorter)return function(e,t){var o=i.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),i=this.state;return this.hasPagination()?(t=i.pagination.pageSize,e=this.getMaxCurrent(i.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return x(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return x(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e||this.state,o=this.props.dataSource,r=o||[];r=r.slice(0);var s=this.getSorterFn(i);return s&&(r=this.recursiveSort(r,s)),n&&i.filters&&Object.keys(i.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=i.filters[e]||[];if(0!==o.length){var s=n.onFilter;r=s?r.filter((function(e){return o.some((function(t){return s(t,e)}))})):r}}})),r}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,i=t.selectWay,o=t.record,r=t.checked,s=t.changeRowKeys,a=t.nativeEvent,u=lt(this.props);u&&!("selectedRowKeys"in u)&&this.props.store.setState({selectedRowKeys:e});var l=this.getFlatData();if(u.onChange||u[i]){var c=l.filter((function(t,i){return e.indexOf(n.getRecordKey(t,i))>=0}));if(u.onChange&&u.onChange(e,c),"onSelect"===i&&u.onSelect)u.onSelect(o,r,c,a);else if("onSelectMultiple"===i&&u.onSelectMultiple){var d=l.filter((function(e,t){return s.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectMultiple(r,c,d)}else if("onSelectAll"===i&&u.onSelectAll){var h=l.filter((function(e,t){return s.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectAll(r,c,h)}else"onSelectInvert"===i&&u.onSelectInvert&&u.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,i=this.state,o=i.sortOrder;if(dt(i.sortColumn,e)&&void 0!==o){var r=n.indexOf(o)+1;t=r===n.length?void 0:n[r]}else t=n[0];var s={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(s,this.scrollToFirstRow);var a=this.props.onChange;a&&a.apply(null,this.prepareParamsArguments(rt(rt({},this.state),s),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&ct(t)===ct(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=rt({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var i=e.filters,o={},r=t;return e.sortColumn&&e.sortOrder&&(r=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),r&&(o.field=r.dataIndex,o.columnKey=ct(r)),[n,i,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return L(this.state.columns,(function(n){ct(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,i=this.props.childrenColumnName,o=void 0===i?"children":i;return e.sort(t).map((function(e){return e[o]?rt(rt({},e),Ze({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var r=o.position||"bottom",s=o.total||this.getLocalData().length;return s>0&&(r===t||"both"===r)?i.createElement(Be.default,rt({key:"pagination-".concat(t)},o,{className:l()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:s,size:n,current:this.getMaxCurrent(s),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,s=e.getPopupContainer,a=this.props.rowSelection,u=this.state.columns.concat();if(a){var c=this.getFlatCurrentPageData().filter((function(e,n){return!a.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),d=l()("".concat(n,"-selection-column"),Ze({},"".concat(n,"-selection-column-custom"),a.selections)),h=Ze({key:"selection-column",render:this.renderSelectionBox(a.type),className:d,fixed:a.fixed,width:a.columnWidth,title:a.columnTitle},r.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==a.type){var f=c.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));h.title=h.title||i.createElement(le,{store:this.props.store,locale:o,data:c,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:f,prefixCls:n,onSelect:this.handleSelectRow,selections:a.selections,hideDefaultSelections:a.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(s)})}"fixed"in a?h.fixed=a.fixed:u.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(h.fixed="left"),u[0]&&"selection-column"===u[0].key?u[0]=h:u.unshift(h)}return u}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,r=e.columns,s=e.locale,a=e.getPopupContainer,u=this.state,c=u.sortOrder,d=u.filters;return L(r,(function(e,r){var u,h,f,p=ct(e,r),g=e.onHeaderCell,m=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=p in d?d[p]:[];h=i.createElement(W,{locale:s,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(a),key:"filter-dropdown"})}if(e.sorter){var _=e.sortDirections||t.props.sortDirections,b=m&&"ascend"===c,C=m&&"descend"===c,w=-1!==_.indexOf("ascend")&&i.createElement(y.default,{className:"".concat(n,"-column-sorter-up ").concat(b?"on":"off"),type:"caret-up",theme:"filled"}),S=-1!==_.indexOf("descend")&&i.createElement(y.default,{className:"".concat(n,"-column-sorter-down ").concat(C?"on":"off"),type:"caret-down",theme:"filled"});f=i.createElement("div",{title:s.sortTitle,className:l()("".concat(n,"-column-sorter-inner"),w&&S&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},w,S),g=function(n){var i={};e.onHeaderCell&&(i=rt({},e.onHeaderCell(n)));var o=i.onClick;return i.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},i}}return rt(rt({},e),{className:l()(e.className,(u={},Ze(u,"".concat(n,"-column-has-actions"),f||h),Ze(u,"".concat(n,"-column-has-filters"),h),Ze(u,"".concat(n,"-column-has-sorters"),f),Ze(u,"".concat(n,"-column-sort"),m&&c),u)),title:[i.createElement("span",{key:"title",className:"".concat(n,"-header-column")},i.createElement("div",{className:f?"".concat(n,"-column-sorters"):void 0},i.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),i.createElement("span",{className:"".concat(n,"-column-sorter")},f))),h],onHeaderCell:g})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,i=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:i,sortColumn:o}):e}},{key:"render",value:function(){return i.createElement(qe.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,i,o=t.prevProps,r=e.columns||E(e.children),s=rt(rt({},t),{prevProps:e,columns:r});if("pagination"in e||"pagination"in o){var a=rt(rt(rt({},ht),t.pagination),e.pagination);a.current=a.current||1,a.pageSize=a.pageSize||10,s=rt(rt({},s),{pagination:!1!==e.pagination?a:ft})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),gt(s,s.columns).length>0){var u=mt(s,s.columns),l=rt({},s.filters);Object.keys(u).forEach((function(e){l[e]=u[e]})),n=s,i=l,(Object.keys(i).length!==Object.keys(n.filters).length||Object.keys(i).some((function(e){return i[e]!==n.filters[e]})))&&(s=rt(rt({},s),{filters:l}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return d()(e[n],t[n])}))}(e.components,o.components)){var c=pt(e.components);s=rt(rt({},s),{components:c})}return s}}]),n}(i.Component);vt.propTypes={dataSource:a.array,columns:a.array,prefixCls:a.string,useFixedHeader:a.bool,rowSelection:a.object,className:a.string,size:a.string,loading:a.oneOfType([a.bool,a.object]),bordered:a.bool,onChange:a.func,locale:a.object,dropdownPrefixCls:a.string,sortDirections:a.array,getPopupContainer:a.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(h.polyfill)(vt);var yt=function(e){$e(n,e);var t=tt(n);function n(e){var i,o,r,s;return Xe(this,n),(i=t.call(this,e)).setCheckboxPropsCache=function(e){return i.CheckboxPropsCache=e},i.CheckboxPropsCache={},i.store=(o={selectedRowKeys:lt(e).selectedRowKeys||[],selectionDirty:!1},r=o,s=[],{setState:function(e){r=B(B({},r),e);for(var t=0;t<s.length;t++)s[t]()},getState:function(){return r},subscribe:function(e){return s.push(e),function(){var t=s.indexOf(e);s.splice(t,1)}}}),i}return Je(n,[{key:"render",value:function(){return i.createElement(vt,rt({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(i.Component);yt.displayName="withStore(Table)",yt.Column=me,yt.ColumnGroup=Se;var _t=yt;t.default=_t},wCXF:function(e,t,n){"use strict";function i(e){return(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})(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 r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){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 d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var f=d(n("q1tI")),p=d(n("17x9")),g=h(n("Gytx")),m=h(n("rsGM")),v=h(n("cOkC")),y=n("xI0J"),_=h(n("QkVN")),b=h(n("PFWz")),C=h(n("TSYQ")),w=n("VCL8"),S=n("6Ogq"),O=h(n("BjZs")),x=h(n("Cit5")),L=h(n("YqDF")),N=h(n("BC81")),E=h(n("AHJs")),D=h(n("PZDY")),k=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)}(p,e);var t,n,i,d,h=(t=p,function(){var e,n=c(t);if(l()){var i=c(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=h.call(this,e)).state={},t.getRowKey=function(e,n){var i=t.props.rowKey,o="function"==typeof i?i(e,n):e[i];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,i=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],r=[].map.call(i,(function(e){return e.getBoundingClientRect().height||"auto"})),s=t.store.getState(),a=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),i=t.getBoundingClientRect().height||s.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=i,e}),{});g.default(s.fixedColumnsHeadRowsHeight,r)&&g.default(s.fixedColumnsBodyRowsHeight,a)||t.store.setState({fixedColumnsHeadRowsHeight:r,fixedColumnsBodyRowsHeight:a})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,i=t.props.scroll,o=void 0===i?{}:i,r=u(t),s=r.headTable,a=r.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===a&&s?s.scrollLeft=n.scrollLeft:n===s&&a&&(a.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var i=t.props.scroll,o=void 0===i?{}:i,r=u(t),s=r.headTable,a=r.bodyTable,l=r.fixedColumnsBodyLeft,c=r.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==s){var d=n.scrollTop;l&&n!==l&&(l.scrollTop=d),c&&n!==c&&(c.scrollTop=d),a&&n!==a&&(a.scrollTop=d)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,i=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&i.y){var o=e.deltaY,r=e.target,s=u(t),a=s.bodyTable,l=s.fixedColumnsBodyLeft,c=s.fixedColumnsBodyRight,d=0;d=t.lastScrollTop?t.lastScrollTop+o:o,l&&r!==l&&(e.preventDefault(),l.scrollTop=d),c&&r!==c&&(e.preventDefault(),c.scrollTop=d),a&&r!==a&&(e.preventDefault(),a.scrollTop=d)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new O.default(e.columns,e.children),t.store=y.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=S.debounce(t.handleWindowResize,150),t}return n=p,d=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(i=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:_.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=m.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=m.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?b.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):b.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,i=void 0===n?[]:n,o=e.useFixedHeader,r=e.scroll,s=void 0===r?{}:r;return void 0!==t?"fixed"===t:!!(i.some((function(e){return!!e.ellipsis}))||o||s.y||s.x&&!0!==s.x&&"max-content"!==s.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,i=this.columnManager.isAnyColumnsFixed(),o=i||t.x||t.y,r=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:i}),this.renderEmptyText(),this.renderFooter()];return o?f.createElement("div",{className:"".concat(n,"-scroll")},r):r}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return f.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return f.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,i=e.isAnyColumnsFixed,o=this.props,r=o.prefixCls,s=o.scroll,a=(void 0===s?{}:s).x||n?"".concat(r,"-fixed"):"";return[f.createElement(x.default,{key:"head",columns:t,fixed:n,tableClassName:a,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),f.createElement(L.default,{key:"body",columns:t,fixed:n,tableClassName:a,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:i})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?f.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?f.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var i="".concat(n,"-placeholder");return f.createElement("div",{className:i,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,i=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var r=C.default(n.prefixCls,n.className,(o(e={},"".concat(i,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(i,"-scroll-position-left ").concat(i,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(i,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(i,"-layout-fixed"),this.isTableLayoutFixed()),e)),s=this.columnManager.isAnyColumnsLeftFixed(),a=this.columnManager.isAnyColumnsRightFixed(),u=S.getDataAndAriaProps(n);return f.createElement(y.Provider,{store:this.store},f.createElement(D.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,f.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:r,style:n.style,id:n.id},u),t.renderTitle(),f.createElement("div",{className:"".concat(i,"-content")},t.renderMainTable(),s&&t.renderLeftFixedTable(),a&&t.renderRightFixedTable()))})))}}])&&r(n.prototype,i),d&&r(n,d),p}(f.Component);k.childContextTypes={table:p.any,components:p.any},k.Column=N.default,k.ColumnGroup=E.default,k.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},w.polyfill(k),t.default=k},wMS7:function(e,t,n){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,n=Object.isFrozen,i=Object.keys,o=Object.freeze,r=Object.seal,s=Object.create,a="undefined"!=typeof Reflect&&Reflect,u=a.apply,l=a.construct;u||(u=function(e,t,n){return e.apply(t,n)}),o||(o=function(e){return e}),r||(r=function(e){return e}),l||(l=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 c=O(Array.prototype.forEach),d=O(Array.prototype.indexOf),h=O(Array.prototype.join),f=O(Array.prototype.pop),p=O(Array.prototype.push),g=O(Array.prototype.slice),m=O(String.prototype.toLowerCase),v=O(String.prototype.match),y=O(String.prototype.replace),_=O(String.prototype.indexOf),b=O(String.prototype.trim),C=O(RegExp.prototype.test),w=x(RegExp),S=x(TypeError);function O(e){return function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return u(e,t,i)}}function x(e){return function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return l(e,n)}}function L(e,i){t&&t(e,null);for(var o=i.length;o--;){var r=i[o];if("string"==typeof r){var s=m(r);s!==r&&(n(i)||(i[o]=s),r=s)}e[r]=!0}return e}function N(t){var n=s(null),i=void 0;for(i in t)u(e,t,[i])&&(n[i]=t[i]);return n}var E=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"]),D=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"]),k=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=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"]),I=o(["#text"]),T=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"]),P=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"]),R=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"]),F=r(/\{\{[\s\S]*|[\s\S]*\}\}/gm),j=r(/<%[\s\S]*|[\s\S]*%>/gm),V=r(/^data-[\-\w.\u00B7-\uFFFF]/),W=r(/^aria-[\-\w]+$/),B=r(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=r(/^(?:\w+script|data):/i),z=r(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),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};function K(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":U(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 i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" 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 r=t.document,s=!1,a=t.document,u=t.DocumentFragment,l=t.HTMLTemplateElement,O=t.Node,x=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,X=t.Text,Q=t.Comment,J=t.DOMParser,$=t.trustedTypes;if("function"==typeof l){var ee=a.createElement("template");ee.content&&ee.content.ownerDocument&&(a=ee.content.ownerDocument)}var te=G($,r),ne=te&&Re?te.createHTML(""):"",ie=a,oe=ie.implementation,re=ie.createNodeIterator,se=ie.getElementsByTagName,ae=ie.createDocumentFragment,ue=r.importNode,le=N(a).documentMode?a.documentMode:{},ce={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==le;var de=F,he=j,fe=V,pe=W,ge=H,me=z,ve=B,ye=null,_e=L({},[].concat(K(E),K(D),K(k),K(M),K(I))),be=null,Ce=L({},[].concat(K(T),K(P),K(R),K(A))),we=null,Se=null,Oe=!0,xe=!0,Le=!1,Ne=!1,Ee=!1,De=!1,ke=!1,Me=!1,Ie=!1,Te=!1,Pe=!1,Re=!1,Ae=!0,Fe=!0,je=!1,Ve={},We=L({},["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"]),Be=null,He=L({},["audio","video","img","source","image","track"]),ze=null,Ue=L({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ke=null,qe=a.createElement("form"),Ge=function(e){Ke&&Ke===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=N(e),ye="ALLOWED_TAGS"in e?L({},e.ALLOWED_TAGS):_e,be="ALLOWED_ATTR"in e?L({},e.ALLOWED_ATTR):Ce,ze="ADD_URI_SAFE_ATTR"in e?L(N(Ue),e.ADD_URI_SAFE_ATTR):Ue,Be="ADD_DATA_URI_TAGS"in e?L(N(He),e.ADD_DATA_URI_TAGS):He,we="FORBID_TAGS"in e?L({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?L({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Oe=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Le=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ne=e.SAFE_FOR_JQUERY||!1,Ee=e.SAFE_FOR_TEMPLATES||!1,De=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Pe=e.RETURN_DOM_IMPORT||!1,Re=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Ae=!1!==e.SANITIZE_DOM,Fe=!1!==e.KEEP_CONTENT,je=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Ee&&(xe=!1),Te&&(Ie=!0),Ve&&(ye=L({},[].concat(K(I))),be=[],!0===Ve.html&&(L(ye,E),L(be,T)),!0===Ve.svg&&(L(ye,D),L(be,P),L(be,A)),!0===Ve.svgFilters&&(L(ye,k),L(be,P),L(be,A)),!0===Ve.mathMl&&(L(ye,M),L(be,R),L(be,A))),e.ADD_TAGS&&(ye===_e&&(ye=N(ye)),L(ye,e.ADD_TAGS)),e.ADD_ATTR&&(be===Ce&&(be=N(be)),L(be,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&L(ze,e.ADD_URI_SAFE_ATTR),Fe&&(ye["#text"]=!0),De&&L(ye,["html","head","body"]),ye.table&&(L(ye,["tbody"]),delete we.tbody),o&&o(e),Ke=e)},Ye=function(e){p(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ze=function(e,t){try{p(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(n.removed,{attribute:null,from:t})}t.removeAttribute(e)},Xe=function(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var i=v(e,/^[\r\n\t ]+/);n=i&&i[0]}var o=te?te.createHTML(e):e;try{t=(new J).parseFromString(o,"text/html")}catch(e){}if(s&&L(we,["title"]),!t||!t.documentElement){var r=(t=oe.createHTMLDocument("")).body;r.parentNode.removeChild(r.parentNode.firstElementChild),r.outerHTML=o}return e&&n&&t.body.insertBefore(a.createTextNode(n),t.body.childNodes[0]||null),se.call(t,De?"html":"body")[0]};n.isSupported&&function(){try{var e=Xe("<x/><title></title><img>");C(/<\/title/,e.querySelector("title").innerHTML)&&(s=!0)}catch(e){}}();var Qe=function(e){return re.call(e.ownerDocument||e,e,x.SHOW_ELEMENT|x.SHOW_COMMENT|x.SHOW_TEXT,(function(){return x.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof X||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===O?"undefined":U(O))?e instanceof O:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},et=function(e,t,i){ce[e]&&c(ce[e],(function(e){e.call(n,t,i,Ke)}))},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 i=m(e.nodeName);if(et("uponSanitizeElement",e,{tagName:i,allowedTags:ye}),("svg"===i||"math"===i)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ye[i]||we[i]){if(Fe&&!We[i]&&"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"===i&&C(/<\/noscript/i,e.innerHTML)||"noembed"===i&&C(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ne||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!C(/</g,e.textContent)||(p(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=y(e.innerHTML,/</g,"<"):e.innerHTML=y(e.textContent,/</g,"<")),Ee&&3===e.nodeType&&(t=e.textContent,t=y(t,de," "),t=y(t,he," "),e.textContent!==t&&(p(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 a||n in qe))return!1;if(xe&&C(fe,t));else if(Oe&&C(pe,t));else{if(!be[t]||Se[t])return!1;if(ze[t]);else if(C(ve,y(n,me,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==_(n,"data:")||!Be[e])if(Le&&!C(ge,y(n,me,"")));else if(n)return!1}return!0},it=function(e){var t=void 0,o=void 0,r=void 0,s=void 0,a=void 0;et("beforeSanitizeAttributes",e,null);var u=e.attributes;if(u){var l={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:be};for(a=u.length;a--;){var c=t=u[a],p=c.name,v=c.namespaceURI;if(o=b(t.value),r=m(p),l.attrName=r,l.attrValue=o,l.keepAttr=!0,l.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,l),o=l.attrValue,!l.forceKeepAttr){if("name"===r&&"IMG"===e.nodeName&&u.id)s=u.id,u=g(u,[]),Ze("id",e),Ze(p,e),d(u,s)>a&&e.setAttribute("id",s.value);else{if("INPUT"===e.nodeName&&"type"===r&&"file"===o&&l.keepAttr&&(be[r]||!Se[r]))continue;"id"===p&&e.setAttribute(p,""),Ze(p,e)}if(l.keepAttr)if(Ne&&C(/\/>/i,o))Ze(p,e);else if(C(/svg|math/i,e.namespaceURI)&&C(w("</("+h(i(We),"|")+")","i"),o))Ze(p,e);else{Ee&&(o=y(o,de," "),o=y(o,he," "));var _=e.nodeName.toLowerCase();if(nt(_,r,o))try{v?e.setAttributeNS(v,p,o):e.setAttribute(p,o),f(n.removed)}catch(e){}}}}et("afterSanitizeAttributes",e,null)}},ot=function e(t){var n=void 0,i=Qe(t);for(et("beforeSanitizeShadowDOM",t,null);n=i.nextNode();)et("uponSanitizeShadowNode",n,null),tt(n)||(n.content instanceof u&&e(n.content),it(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,i){var o=void 0,s=void 0,a=void 0,l=void 0,c=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"===U(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(ke||Ge(i),n.removed=[],"string"==typeof e&&(je=!1),je);else if(e instanceof O)1===(s=(o=Xe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?o=s:o.appendChild(s);else{if(!Ie&&!Ee&&!De&&-1===e.indexOf("<"))return te&&Re?te.createHTML(e):e;if(!(o=Xe(e)))return Ie?null:ne}o&&Me&&Ye(o.firstChild);for(var d=Qe(je?e:o);a=d.nextNode();)3===a.nodeType&&a===l||tt(a)||(a.content instanceof u&&ot(a.content),it(a),l=a);if(l=null,je)return e;if(Ie){if(Te)for(c=ae.call(o.ownerDocument);o.firstChild;)c.appendChild(o.firstChild);else c=o;return Pe&&(c=ue.call(r,c,!0)),c}var h=De?o.outerHTML:o.innerHTML;return Ee&&(h=y(h,de," "),h=y(h,he," ")),te&&Re?te.createHTML(h):h},n.setConfig=function(e){Ge(e),ke=!0},n.clearConfig=function(){Ke=null,ke=!1},n.isValidAttribute=function(e,t,n){Ke||Ge({});var i=m(e),o=m(t);return nt(i,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ce[e]=ce[e]||[],p(ce[e],t))},n.removeHook=function(e){ce[e]&&f(ce[e])},n.removeHooks=function(e){ce[e]&&(ce[e]=[])},n.removeAllHooks=function(){ce={}},n}()}()},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={}))},wZXL:function(e,t,n){var i=n("vPd/"),o=n("IX3V"),r=o.each,s=o.isFunction,a=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var o=this.queries,u=n&&this.browserIsIncapable;return o[e]||(o[e]=new i(e,u)),s(t)&&(t={match:t}),a(t)||(t=[t]),r(t,(function(t){s(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=u},wclG:function(e,t,n){var i=n("pFRH"),o=n("88Gu")(i);e.exports=o},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(128).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"))},x1Ya:function(e,t,n){"use strict";var i=n("jo6Y"),o=n.n(i),r=n("QbLZ"),s=n.n(r),a=n("iCc5"),u=n.n(a),l=n("FYw3"),c=n.n(l),d=n("mRg0"),h=n.n(d),f=n("q1tI"),p=n.n(f),g=n("17x9"),m=n.n(g),v=n("TSYQ"),y=n.n(v),_=n("VCL8"),b=function(e){function t(n){u()(this,t);var i=c()(this,e.call(this,n));i.handleChange=function(e){var t=i.props,n=t.disabled,o=t.onChange;n||("checked"in i.props||i.setState({checked:e.target.checked}),o&&o({target:s()({},i.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},i.saveInput=function(e){i.input=e};var o="checked"in n?n.checked:n.defaultChecked;return i.state={checked:o},i}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?s()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,i=t.className,r=t.style,a=t.name,u=t.id,l=t.type,c=t.disabled,d=t.readOnly,h=t.tabIndex,f=t.onClick,g=t.onFocus,m=t.onBlur,v=t.autoFocus,_=t.value,b=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),C=Object.keys(b).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e}),{}),w=this.state.checked,S=y()(n,i,((e={})[n+"-checked"]=w,e[n+"-disabled"]=c,e));return p.a.createElement("span",{className:S,style:r},p.a.createElement("input",s()({name:a,id:u,type:l,readOnly:d,disabled:c,tabIndex:h,className:n+"-input",checked:!!w,onClick:f,onFocus:g,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:_},C)),p.a.createElement("span",{className:n+"-inner"}))},t}(f.Component);b.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},b.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(_.polyfill)(b);var C=b;t.a=C},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(121).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(137).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(125).then(n.bind(null,"YdqL"))}})},yEoX:function(e,t,n){},yP5f:function(e,t,n){var i=n("+K+b");e.exports=function(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},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(148).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)}))}))},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,o=n("Gv54"),r=(i=o)&&i.__esModule?i:{default:i},s=n("+kn0");t.default=function(e,t,n,i,o){var a=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if((0,s.isEmptyValue)(t,"string")&&!e.required)return n();r.default.required(e,t,i,a,o,"string"),(0,s.isEmptyValue)(t,"string")||(r.default.type(e,t,i,a,o),r.default.range(e,t,i,a,o),r.default.pattern(e,t,i,a,o),!0===e.whitespace&&r.default.whitespace(e,t,i,a,o))}n(a)}},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(115).then(n.bind(null,"On+f"))}})},zSdB:function(e,t,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=i(n("q1tI")),r=i(n("17x9")),s=n("6Ogq"),a=function(e,t){var n,i=t.table,r=i.props,a=r.prefixCls,u=r.expandIconAsCell,l=e.fixed,c=[];return u&&"right"!==l&&c.push(o.createElement("col",{className:"".concat(a,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===l?i.columnManager.leftLeafColumns():"right"===l?i.columnManager.rightLeafColumns():i.columnManager.leafColumns(),c=c.concat(n.map((function(e){var t=e.key,n=e.dataIndex,i=e.width,r=e[s.INTERNAL_COL_DEFINE],a=void 0!==t?t:n;return o.createElement("col",Object.assign({key:a,style:{width:i,minWidth:i}},r))}))),o.createElement("colgroup",null,c)};a.contextTypes={table:r.any},t.default=a},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function i(e){return(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})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==i(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 u(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=c(n("q1tI")),f=n("xI0J"),p=d(n("0hpf")),g=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)}(f,e);var t,n,i,c,d=(t=f,function(){var e,n=l(t);if(u()){var i=l(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return a(this,e)});function f(){var e;return o(this,f),(e=d.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,i=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!i)},e.handleExpandChange=function(t,n){var i=e.props,o=i.onExpandedChange,r=i.expanded,s=i.rowKey;e.expandable&&o(!r,t,n,s)},e.handleRowClick=function(t,n,i){var o=e.props,r=o.expandRowByClick,s=o.onRowClick;r&&e.handleExpandChange(t,i),s&&s(t,n,i)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,i=t.expanded,o=t.record,r=t.needIndentSpaced,s=t.expandIcon;return s?s({prefixCls:n,expanded:i,record:o,needIndentSpaced:r,expandable:e.expandable,onExpand:e.handleExpandChange}):h.createElement(p.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:r,expanded:i,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(h.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=f,(i=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,i=e.record;this.expandable&&t(!1,i,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,i=e.indentSize,o=e.record,r=e.fixed,s=e.expanded;this.expandIconAsCell="right"!==r&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==r?this.props.expandIconColumnIndex:-1;var a=o[t];this.expandable=!(!a&&!n);var u={indentSize:i,expanded:s,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(u)}}])&&r(n.prototype,i),c&&r(n,c),f}(h.Component);t.default=f.connect((function(e,t){var n=e.expandedRowKeys,i=void 0===n?[]:n,o=t.rowKey;return{expanded:i.includes(o)}}))(g)},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/20.e595aac6.chunk.js.LICENSE.txt b/static/js/16.6f4225dc.chunk.js.LICENSE.txt similarity index 100% rename from static/js/20.e595aac6.chunk.js.LICENSE.txt rename to static/js/16.6f4225dc.chunk.js.LICENSE.txt diff --git a/static/js/16.e1f149fb.chunk.js b/static/js/17.f07abe6a.chunk.js similarity index 99% rename from static/js/16.e1f149fb.chunk.js rename to static/js/17.f07abe6a.chunk.js index e0b9062d7..80cb9d742 100644 --- a/static/js/16.e1f149fb.chunk.js +++ b/static/js/17.f07abe6a.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[16,4,5,9,71,77],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),a=n("cq/+"),i=n("T1AV"),l=n("GoyQ"),u=n("mTTR"),c=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&a(n,(function(a,u){if(p||(p=new r),l(a))i(t,n,u,s,e,f,p);else{var d=f?f(c(t,u),a,u+"",t,n,p):void 0;void 0===d&&(d=a),o(t,u,d)}}),u)}},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),a=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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}})),u=t[r];r<i;u=t[++r])l+=" "+u;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 a=Object.keys(e),u=a.length,c=0,s=[],f=new Promise((function(t,f){var p=function(e){if(s.push.apply(s,e),++c===u)return r(s),s.length?f({errors:s,fields:i(s)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/FUP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n("W3HW")),o=c(n("lreK")),a=c(n("KfSR")),i=c(n("VYtm")),l=c(n("XQvf")),u=c(n("B5Mt"));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=i.default,t.handleHover=i.default,t.handleActive=l.default,t.loop=u.default;var s=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var l=(0,r.default)(n),u=(0,o.default)(e,l);return(0,a.default)(u)};t.default=s},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),l=n("o/2+"),u=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 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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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},x=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&&h(e,t)}(w,e);var t,n,o,a,x=(t=w,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function w(){var e;return p(this,w),(e=x.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=b(e).props,u=a.prefixCls,p=a.span,d=a.order,h=a.offset,y=a.push,v=a.pull,m=a.className,x=a.children,w=g(a,["prefixCls","span","order","offset","push","pull","className","children"]),O=o("col",u),C={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],C=s(s({},C),(c(t={},"".concat(O,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(O,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(O,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(O,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(O,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var E=i()(O,(c(n={},"".concat(O,"-").concat(p),void 0!==p),c(n,"".concat(O,"-order-").concat(d),d),c(n,"".concat(O,"-offset-").concat(h),h),c(n,"".concat(O,"-push-").concat(y),y),c(n,"".concat(O,"-pull-").concat(v),v),n),m,C);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=w.style;return t&&(n=s(s(s({},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",s({},w,{style:n,className:E}),x)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(u.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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:x,sm:x,md:x,lg:x,xl:x,xxl:x}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(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 u(){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 s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),h=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)}(h,e);var t,n,r,s,f=(t=h,function(){var e,n=c(t);if(u()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function h(){return o(this,h),f.apply(this,arguments)}return n=h,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,a=e.expanded,i=e.record;if(t){var l=a?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(l),onClick:function(e){return r(i,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&a(n.prototype,r),s&&a(n,s),h}(p.Component);t.default=h},"0ycA":function(e,t){e.exports=function(){return[]}},"1+5i":function(e,t,n){var r=n("w/wX"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isSet,l=i?o(i):r;e.exports=l},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(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 c(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 s=function(e){function t(){return u(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=s},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var u;if(void 0===t)u=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,a,i,l],s=0;(u=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var i=s(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),b=0;b<i.length;++b){var v=i[b];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var m=p(n,v);try{c(t,v,m)}catch(e){}}}}return t}},"2zpl":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,a=(0,o.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.default.createElement("div",null,r.default.createElement("div",{style:a.label},"new"),r.default.createElement("div",{style:a.swatches},r.default.createElement("div",{style:a.new}),r.default.createElement("div",{style:a.current})),r.default.createElement("div",{style:a.label},"current"))};t.default=i},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"3WF5":function(e,t,n){var r=n("eUgh"),o=n("ut/Y"),a=n("l9OW"),i=n("Z0cm");e.exports=function(e,t){return(i(e)?r:a)(e,o(t,3))}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4qC0":function(e,t,n){var r=n("NykK"),o=n("Z0cm"),a=n("ExA7");e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=n("wJg7"),l=n("shjB"),u=n("9Nap");e.exports=function(e,t,n){for(var c=-1,s=(t=r(t,e)).length,f=!1;++c<s;){var p=u(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=s?f:!!(s=null==e?0:e.length)&&l(s)&&i(p,s)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6JOy":function(e,t,n){},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var a={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,i=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var l="vertical"===n;if(l&&r)return r;if(!l&&o)return o;var u=document.createElement("div");Object.keys(a).forEach((function(e){u.style[e]=a[e]})),u.className="".concat(i,"-hide-scrollbar scroll-div-append-to-body"),l?u.style.overflowY="scroll":u.style.overflowX="scroll",document.body.appendChild(u);var c=0;return l?(c=u.offsetWidth-u.clientWidth,r=c):(c=u.offsetHeight-u.clientHeight,o=c),document.body.removeChild(u),c},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=this;a[0]&&a[0].persist&&a[0].persist();var u=function(){r=null,n||e.apply(l,a)},c=n&&!r;clearTimeout(r),r=setTimeout(u,t),c&&e.apply(l,a)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),a=r(n("BC81"));t.Column=a.default;var i=r(n("AHJs"));t.ColumnGroup=i.default;var l=n("6Ogq");t.INTERNAL_COL_DEFINE=l.INTERNAL_COL_DEFINE,t.default=o.default},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"7dW+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var r=f(n("q1tI")),o=f(n("17x9")),a=f(n("/FUP")),i=f(n("3WF5")),l=f(n("QkVN")),u=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("wME1")),c=n("TM95"),s=f(n("xbjo"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Circle=function(e){var t=e.width,n=e.onChange,o=e.onSwatchHover,u=e.colors,c=e.hex,f=e.circleSize,p=e.styles,d=void 0===p?{}:p,h=e.circleSpacing,y=e.className,b=void 0===y?"":y,v=(0,a.default)((0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},d)),m=function(e,t){return n({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:v.card,className:"circle-picker "+b},(0,i.default)(u,(function(e){return r.default.createElement(s.default,{key:e,color:e,onClick:m,onSwatchHover:o,active:c===e.toLowerCase(),circleSize:f,circleSpacing:h})})))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),circleSize:o.default.number,circleSpacing:o.default.number,styles:o.default.object},p.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[u.red[500],u.pink[500],u.purple[500],u.deepPurple[500],u.indigo[500],u.blue[500],u.lightBlue[500],u.cyan[500],u.teal[500],u.green[500],u.lightGreen[500],u.lime[500],u.yellow[500],u.amber[500],u.orange[500],u.deepOrange[500],u.brown[500],u.blueGrey[500]],styles:{}},t.default=(0,c.ColorWrap)(p)},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"81by":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,l=e.hsv,u=e.hex,c=(0,o.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,r){e["#"]?a.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||l.h,s:e.s||l.s,v:e.v||l.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(l.h),onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*l.s),onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*l.v),onChange:s}),r.default.createElement("div",{style:c.divider}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:s}),r.default.createElement("div",{style:c.divider}),r.default.createElement(i.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:u.replace("#",""),onChange:s}),r.default.createElement("div",{style:c.fieldSymbols},r.default.createElement("div",{style:c.symbol},"°"),r.default.createElement("div",{style:c.symbol},"%"),r.default.createElement("div",{style:c.symbol},"%")))};t.default=u},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"8J/B":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=n("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactFields=function(e){var t=e.hex,n=e.rgb,i=e.onChange,l=(0,o.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),u=function(e,t){e.r||e.g||e.b?i({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return r.default.createElement("div",{style:l.fields,className:"flexbox-fix"},r.default.createElement("div",{style:l.active}),r.default.createElement(a.EditableInput,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:t,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:n.r,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:n.g,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:n.b,onChange:u}))};t.default=l},"9F0J":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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,l=e.height,u=void 0===l?24:l,c=e.style,s=void 0===c?{}:c,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:a,height:u},s)},f),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&a(e,t)}(r,e);var t,n=(t=r,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return i(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(c(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},Ag8Z:function(e,t,n){var r=n("JC6p"),o=n("EwQA");e.exports=function(e,t){return e&&r(e,o(t))}},AnK5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var r=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"),a=l(o),i=l(n("/FUP"));function l(e){return e&&e.__esModule?e:{default:e}}var u=[38,40],c=t.EditableInput=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));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,u.indexOf(t)>-1)){var o=n.getArrowOffset(),a=38===e.keyCode?r+o:r-o;n.setUpdatedValue(a,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},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),r(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t);var r,o=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:o?(r=e,r+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,i.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return a.default.createElement("div",{style:t.wrap},a.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?a.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=c},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B5Mt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BKMn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return r.default.createElement("div",{style:n.picker})};t.default=i},Ba7A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 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=u(n("q1tI")),a=u(n("/FUP")),i=n("japM"),l=u(n("Nq3d"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.Swatch=function(e){var t=e.color,n=e.style,i=e.onClick,u=void 0===i?function(){}:i,c=e.onHover,s=e.title,f=void 0===s?t:s,p=e.children,d=e.focus,h=e.focusStyle,y=void 0===h?{}:h,b="transparent"===t,v=(0,a.default)({default:{swatch:r({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?y:{})}}),m={};return c&&(m.onMouseOver=function(e){return c(t,e)}),o.default.createElement("div",r({style:v.swatch,onClick:function(e){return u(t,e)},title:f,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},m),p,b&&o.default.createElement(l.default,{borderRadius:v.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,i.handleFocus)(c)},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 a(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=c(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var a=[],l=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(u,c){var s=i({},u);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)l(o[n][f]);c+1===t.length&&l(s),a.push(s)})),a}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=i({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=f},BkRI:function(e,t,n){var r=n("OBhP");e.exports=function(e){return r(e,5)}},BmQL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var r=u(n("q1tI")),o=u(n("/FUP")),a=u(n("p8yl")),i=n("TM95"),l=u(n("ql/k"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,u=void 0===n?function(){}:n,c=e.onSwatchHover,s=e.first,f=e.last,p=e.active,d=(0,o.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:a.default.getContrastingColor(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:f,active:p,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{color:t,style:d.color,onClick:u,onHover:c,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:d.check},r.default.createElement(l.default,null)))};t.default=c},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Le}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),l=n("BGR+"),u=n("VCL8"),c=n("17x9"),s=n("foW8"),f=n.n(s),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 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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 m(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 g(){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 x(e){return(x=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)}(c,e);var t,n,a,l,u=(t=c,function(){var e,n=x(t);if(g()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function c(){var e;return y(this,c),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=t.popupClassName;return r.createElement(p.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:i()("".concat(n,"-").concat(l),a)}))}))}}])&&b(n.prototype,a),l&&b(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var O=w,C=n("3S7+"),E=n("H84U");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 j(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(n);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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 F(e,t,n){return t&&R(e.prototype,t),n&&R(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&&N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){return function(){var t,n=I(e);if(A()){var r=I(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return T(this,t)}}function T(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 A(){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 I(e){return(I=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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function L(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){M(i,o);var a=D(i);function i(){var o;return _(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,u=i(t,l);return r.createElement(e,k({prefixCls:u,tagName:n},o.props))},o}return F(i,[{key:"render",value:function(){return r.createElement(E.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var H=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=B(e,["prefixCls","className","children","tagName"]),u=i()(n,t);return r.createElement(a,k({className:u},l),o)},q=function(e){M(n,e);var t=D(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return F(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,a=o.prefixCls,l=o.className,u=o.children,c=o.hasSider,s=o.tagName,f=B(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(s,k({className:p},f),u))}}]),n}(r.Component),z=L({suffixCls:"layout",tagName:"section",displayName:"Layout"})(q),G=L({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),K=L({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),W=L({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);z.Header=G,z.Footer=K,z.Content=W;var U=n("CtXQ"),X=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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 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,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 ue,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,u;return J(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,a=o.props,u=a.prefixCls,c=a.className,s=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,h=a.style,y=a.width,b=a.collapsedWidth,v=a.zeroWidthTriggerStyle,m=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",u),x=Object(l.a)(m,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:y,O=X(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(b||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(U.default,{type:"bars"})):null,E={expanded:p?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:p?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==d?C||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:O}},d||E):null,j=Z(Z({},h),{flex:"0 0 ".concat(O),maxWidth:O,minWidth:O,width:O}),P=i()(c,g,"".concat(g,"-").concat(s),(Q(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(g,"-has-trigger"),f&&null!==d&&!C),Q(t,"".concat(g,"-below"),!!o.state.below),Q(t,"".concat(g,"-zero-width"),0===parseFloat(O)),t));return r.createElement("aside",Z({className:P},x,{style:j}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&C?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(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(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(pe);r.Component;function de(e){return(de="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(){return(he=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){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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e,t){return!t||"object"!==de(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 ge(){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 xe(e){return(xe=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},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&&ve(e,t)}(u,e);var t,n,a,i,l=(t=u,function(){var e,n=xe(t);if(ge()){var r=xe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return me(this,e)});function u(){var e;return ye(this,u),(e=l.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,a=e.props,i=a.level,l=a.children,u=a.rootPrefixCls,c=e.props,s=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:s||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(C.default,he({},c,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),r.createElement(o.b,he({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=u,(a=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,a),i&&be(n,i),u}(r.Component);Oe.isMenuItem=!0;var Ce=n("6CfX"),Ee=n("oHiP"),Se=function(){return{height:0,opacity:0}},je=function(e){return{height:e.scrollHeight,opacity:1}},Pe={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:je,onEnterActive:je,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};function ke(e){return(ke="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 Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t){for(var n=0;n<t.length;n++){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 Me(e,t,n){return t&&Fe(e.prototype,t),n&&Fe(e,n),e}function Ne(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)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){return function(){var t,n=Be(e);if(Ie()){var r=Be(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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 Ie(){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 Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ne(n,e);var t=Te(n);function n(e){var a,u;return Re(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,u,c=e.getPopupContainer,s=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,h=f.theme,y=f.collapsedWidth,b=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),m=a.getOpenMotionProps(v),g=s("menu",p),x=i()(d,"".concat(g,"-").concat(h),(t={},n="".concat(g,"-inline-collapsed"),u=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[n]=u,t)),w=_e({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:x,mode:v},m);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===y||"0"===y||"0px"===y)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:c},b,w,{prefixCls:g,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),a.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Me(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(Ce.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:Pe}:{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(E.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Ve);var Le=function(e){Ne(n,e);var t=Te(n);function n(){return Re(this,n),t.apply(this,arguments)}return Me(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Ve,_e({},e.props,t))}))}}]),n}(r.Component);Le.Divider=o.a,Le.Item=Oe,Le.SubMenu=O,Le.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("q1tI")),i=r(n("17x9")),l=o(n("TSYQ")),u=n("6Ogq"),c=o(n("UNrv"));function s(e,t){var n,r,o,i=t.table,s=i.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,h=e.columns,y=e.fixed,b=e.tableClassName,v=e.handleBodyScrollLeft,m=e.expander,g=i.saveRef,x=i.props.useFixedHeader,w={},O=u.measureScrollbar({direction:"vertical"});if(p.y){x=!0;var C=u.measureScrollbar({direction:"horizontal",prefixCls:f});C>0&&!y&&(w.marginBottom="-".concat(C,"px"),w.paddingBottom="0px",w.minWidth="".concat(O,"px"),w.overflowX="scroll",w.overflowY=0===O?"hidden":"scroll")}return x&&d?a.createElement("div",{key:"headTable",ref:y?null:g("headTable"),className:l.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=O>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:v},a.createElement(c.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:y,columns:h,expander:m})):null}t.default=s,s.contextTypes={table:i.any}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DRdP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopButton=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopButton=function(e){var t=e.onClick,n=e.label,a=e.children,i=e.active,l=(0,o.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return r.default.createElement("div",{style:l.button,onClick:t},n||a)};t.default=i},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,u=(l?l.isBuffer:void 0)||o;e.exports=u}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=d(n("q1tI")),b=h(n("TSYQ")),v=h(n("mwIZ"));function m(e){return e&&!y.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&c(e,t)}(h,e);var t,n,r,o,d=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function h(){var e;return l(this,h),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=h,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,l=n.prefixCls,u=n.indent,c=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,h=f.render,g=f.className,x=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?v.default(r,d):r;var w,O,C={};if(h&&m(t=h(t,r,c))){var E=C=t.props||C;w=E.colSpan,O=E.rowSpan,t=t.children}f.onCell&&(C=a({},C,{},f.onCell(r,c))),m(t)&&(t=null);var S=s?y.createElement("span",{style:{paddingLeft:"".concat(o*u,"px")},className:"".concat(l,"-indent indent-level-").concat(u)}):null;if(0===O||0===w)return null;f.align&&(C.style=a({textAlign:f.align},C.style));var j=b.default(x,(i(e={},"".concat(l,"-cell-ellipsis"),!!f.ellipsis),i(e,"".concat(l,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)C.title=t;else if(t){var P=t.props;P&&P.children&&"string"==typeof P.children&&(C.title=P.children)}return y.createElement(p,Object.assign({className:j,onClick:this.handleClick},C),S,s,t)}}])&&u(n.prototype,r),o&&u(n,o),h}(y.Component);t.default=g},"Dt+G":function(e,t,n){},"Dw+G":function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e,t){return e&&r(t,o(t),e)}},DzJC:function(e,t,n){var r=n("sEfC"),o=n("GoyQ");e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),a=n("wclG");e.exports=function(e,t){return a(o(e,t,r),e+"")}},EEGq:function(e,t,n){var r=n("juv8"),o=n("oCl/");e.exports=function(e,t){return r(e,o(e),t)}},Efrf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("3WF5")),i=l(n("BmQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,l=e.group,u=e.active,c=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.default.createElement("div",{style:c.group},(0,a.default)(l,(function(e,o){return r.default.createElement(i.default,{key:e,color:e,active:e.toLowerCase()===u,first:0===o,last:o===l.length-1,onClick:t,onSwatchHover:n})})))};t.default=u},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},EwQA:function(e,t,n){var r=n("zZ0H");e.exports=function(e){return"function"==typeof e?e:r}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,u){if(!i(e))return e;for(var c=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++c<s;){var d=l(t[c]),h=n;if(c!=f){var y=p[d];void 0===(h=u?u(y,d,p):void 0)&&(h=i(y)?y:a(t[c+1])?[]:{})}r(p,d,h),p=p[d]}return e}},"FbP/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var r=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=h(n("q1tI")),a=h(n("17x9")),i=h(n("/FUP")),l=h(n("QkVN")),u=n("TM95"),c=h(n("81by")),s=h(n("BKMn")),f=h(n("sVjb")),p=h(n("DRdP")),d=h(n("2zpl"));function h(e){return e&&e.__esModule?e:{default:e}}var y=t.Photoshop=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));return n.state={currentColor:e.hex},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),r(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,r=e.className,a=void 0===r?"":r,h=(0,i.default)((0,l.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return o.default.createElement("div",{style:h.picker,className:"photoshop-picker "+a},o.default.createElement("div",{style:h.head},this.props.header),o.default.createElement("div",{style:h.body,className:"flexbox-fix"},o.default.createElement("div",{style:h.saturation},o.default.createElement(u.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:s.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.hue},o.default.createElement(u.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.controls},o.default.createElement("div",{style:h.top,className:"flexbox-fix"},o.default.createElement("div",{style:h.previews},o.default.createElement(d.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.default.createElement("div",{style:h.actions},o.default.createElement(p.default,{label:"OK",onClick:this.props.onAccept,active:!0}),o.default.createElement(p.default,{label:"Cancel",onClick:this.props.onCancel}),o.default.createElement(c.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.default.Component);y.propTypes={header:a.default.string,styles:a.default.object},y.defaultProps={header:"Color Picker",styles:{}},t.default=(0,u.ColorWrap)(y)},G6z8:function(e,t,n){var r=n("fR/l"),o=n("oCl/"),a=n("mTTR");e.exports=function(e){return r(e,a,o)}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),u=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?u(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.messages.enum,e.fullField,e.enum.join(", ")))}},Gi0A:function(e,t,n){var r=n("QqLw"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},GiOz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SketchFields=function(e){var t=e.onChange,n=e.rgb,l=e.hsl,u=e.hex,c=e.disableAlpha,s=(0,o.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:c}),f=function(e,r){e.hex?a.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},r))};return r.default.createElement("div",{style:s.fields,className:"flexbox-fix"},r.default.createElement("div",{style:s.double},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"hex",value:u.replace("#",""),onChange:f})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.alpha},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=u},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("l1rO")),o=c(n("AU0A")),a=c(n("oEMi")),i=c(n("l8PK")),l=c(n("GZbg")),u=c(n("moXY"));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:a.default,range:i.default,enum:l.default,pattern:u.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),u=n("rEGp"),c=r?r.prototype:void 0,s=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=u),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;r|=2,p.set(e,t);var b=i(d(e),d(t),r,c,f,p);return p.delete(e),b;case"[object Symbol]":if(s)return s.call(e)==s.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},HTXX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 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=f(n("q1tI")),a=f(n("17x9")),i=f(n("/FUP")),l=f(n("QkVN")),u=n("TM95"),c=f(n("GiOz")),s=f(n("eHBW"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Sketch=function(e){var t=e.width,n=e.rgb,a=e.hex,f=e.hsv,p=e.hsl,d=e.onChange,h=e.onSwatchHover,y=e.disableAlpha,b=e.presetColors,v=e.renderers,m=e.styles,g=void 0===m?{}:m,x=e.className,w=void 0===x?"":x,O=(0,i.default)((0,l.default)({default:r({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},g),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},g),{disableAlpha:y});return o.default.createElement("div",{style:O.picker,className:"sketch-picker "+w},o.default.createElement("div",{style:O.saturation},o.default.createElement(u.Saturation,{style:O.Saturation,hsl:p,hsv:f,onChange:d})),o.default.createElement("div",{style:O.controls,className:"flexbox-fix"},o.default.createElement("div",{style:O.sliders},o.default.createElement("div",{style:O.hue},o.default.createElement(u.Hue,{style:O.Hue,hsl:p,onChange:d})),o.default.createElement("div",{style:O.alpha},o.default.createElement(u.Alpha,{style:O.Alpha,rgb:n,hsl:p,renderers:v,onChange:d}))),o.default.createElement("div",{style:O.color},o.default.createElement(u.Checkboard,null),o.default.createElement("div",{style:O.activeColor}))),o.default.createElement(c.default,{rgb:n,hsl:p,hex:a,onChange:d,disableAlpha:y}),o.default.createElement(s.default,{colors:b,onClick:d,onSwatchHover:h}))};p.propTypes={disableAlpha:a.default.bool,width:a.default.oneOfType([a.default.string,a.default.number]),styles:a.default.object},p.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,u.ColorWrap)(p)},HlQe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var r=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"),a=u(o),i=u(n("/FUP")),l=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("srvI"));function u(e){return e&&e.__esModule?e:{default:e}}function c(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 f=t.Hue=function(e){function t(){var e,n,r;c(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=l.calculateChange(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},s(r,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),r(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,i.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return a.default.createElement("div",{style:r.hue},a.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),a.default.createElement("div",{style:r.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=f},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,l=o(a.length-t,0),u=Array(l);++i<l;)u[i]=a[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=a[i];return c[t]=n(u),r(e,this,c)}}},JC6p:function(e,t,n){var r=n("cq/+"),o=n("7GkX");e.exports=function(e,t){return e&&r(e,t,o)}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},JI00:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var r=f(n("q1tI")),o=f(n("17x9")),a=f(n("/FUP")),i=f(n("QkVN")),l=n("TM95"),u=f(n("Rkpk")),c=f(n("NSvM")),s=f(n("tu5P"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Chrome=function(e){var t=e.width,n=e.onChange,o=e.disableAlpha,f=e.rgb,p=e.hsl,d=e.hsv,h=e.hex,y=e.renderers,b=e.styles,v=void 0===b?{}:b,m=e.className,g=void 0===m?"":m,x=e.defaultView,w=(0,a.default)((0,i.default)({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+f.r+", "+f.g+", "+f.b+", "+f.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},v),{disableAlpha:o});return r.default.createElement("div",{style:w.picker,className:"chrome-picker "+g},r.default.createElement("div",{style:w.saturation},r.default.createElement(l.Saturation,{style:w.Saturation,hsl:p,hsv:d,pointer:s.default,onChange:n})),r.default.createElement("div",{style:w.body},r.default.createElement("div",{style:w.controls,className:"flexbox-fix"},r.default.createElement("div",{style:w.color},r.default.createElement("div",{style:w.swatch},r.default.createElement("div",{style:w.active}),r.default.createElement(l.Checkboard,{renderers:y}))),r.default.createElement("div",{style:w.toggles},r.default.createElement("div",{style:w.hue},r.default.createElement(l.Hue,{style:w.Hue,hsl:p,pointer:c.default,onChange:n})),r.default.createElement("div",{style:w.alpha},r.default.createElement(l.Alpha,{style:w.Alpha,rgb:f,hsl:p,pointer:c.default,renderers:y,onChange:n})))),r.default.createElement(u.default,{rgb:f,hsl:p,hex:h,view:x,onChange:n,disableAlpha:o})))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),disableAlpha:o.default.bool,styles:o.default.object,defaultView:o.default.oneOf(["hex","rgb","hsl"])},p.defaultProps={width:225,disableAlpha:!1,styles:{}},t.default=(0,l.ColorWrap)(p)},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},Jxpl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var r=u(n("q1tI")),o=u(n("/FUP")),a=u(n("QkVN")),i=u(n("p8yl")),l=n("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var c=t.Material=function(e){var t=e.onChange,n=e.hex,u=e.rgb,c=e.styles,s=void 0===c?{}:c,f=e.className,p=void 0===f?"":f,d=(0,o.default)((0,a.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),h=function(e,n){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||u.r,g:e.g||u.g,b:e.b||u.b,source:"rgb"},n)};return r.default.createElement(l.Raised,{styles:s},r.default.createElement("div",{style:d.material,className:"material-picker "+p},r.default.createElement(l.EditableInput,{style:{wrap:d.HEXwrap,input:d.HEXinput,label:d.HEXlabel},label:"hex",value:n,onChange:h}),r.default.createElement("div",{style:d.split,className:"flexbox-fix"},r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"r",value:u.r,onChange:h})),r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"g",value:u.g,onChange:h})),r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"b",value:u.b,onChange:h})))))};t.default=(0,l.ColorWrap)(c)},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),i=n("H84U");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)}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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 d(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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){!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&&f(e,t)}(v,e);var t,n,o,l,b=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return c(this,v),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,l=y(o,["prefixCls"]),c=n("radio-button",i);return e.context.radioGroup&&(l.checked=e.props.value===e.context.radioGroup.value,l.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,u({prefixCls:c},l))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(i.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),l&&s(n,l),v}(r.Component);b.contextTypes={radioGroup:o.any}},KfSR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n("Ag8Z"),a=(r=o)&&r.__esModule?r:{default:r},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};var l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,a.default)(e,(function(e,n){var r={};(0,a.default)(e,(function(e,t){var n=l[t];n?r=i({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=u},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,l=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(n[0],n[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var u=n[r];u&&e(t,u,r,i)}return t}))}},Lwbf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={},o=t.render=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null};t.get=function(e,t,n,a){var i=e+"-"+t+"-"+n+(a?"-server":"");if(r[i])return r[i];var l=o(e,t,n,a);return r[i]=l,l}},"Lx/H":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("3WF5")),l=s(n("QkVN")),u=n("TM95"),c=s(n("iGDq"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Github=function(e){var t=e.width,n=e.colors,o=e.onChange,u=e.onSwatchHover,s=e.triangle,f=e.styles,p=void 0===f?{}:f,d=e.className,h=void 0===d?"":d,y=(0,a.default)((0,l.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},p),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),b=function(e,t){return o({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:y.card,className:"github-picker "+h},r.default.createElement("div",{style:y.triangleShadow}),r.default.createElement("div",{style:y.triangle}),(0,i.default)(n,(function(e){return r.default.createElement(c.default,{color:e,key:e,onClick:b,onSwatchHover:u})})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:o.default.object},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},t.default=(0,u.ColorWrap)(f)},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n("q1tI")),s=n("xI0J"),f=u(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,a=t.fixed,i=n[0];return a&&i&&r?"auto"===i?"auto":i/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,l=e.components,u=e.onHeaderRow,s=e.prefixCls,p=l.header.row,d=l.header.cell,h=u(t.map((function(e){return e.column})),n),y=h?h.style:{},b=a({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},y);return c.createElement(p,Object.assign({},h,{style:b}),t.map((function(e,t){var n,o=e.column,l=e.isLast,u=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=a({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(i(n={},"".concat(s,"-align-").concat(o.align),!!o.align),i(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),i(n,"".concat(s,"-row-cell-break-word"),!!o.width),i(n,"".concat(s,"-row-cell-last"),l),n)),c.createElement(d,Object.assign({},u,p,{key:o.key||o.dataIndex||t}))})))}))},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),u=n("YMnH"),c=n("ZvpZ"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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},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&&h(e,t)}(x,e);var t,n,o,i,f=(t=x,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,a=o.okButtonProps,i=o.cancelButtonProps,u=o.title,c=o.cancelText,s=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")},u)),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"},a),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(u.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.default,p({},s,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=x,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),i&&d(n,i),x}(r.Component);x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(x),t.default=x},NSvM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointer=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},Nq3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=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("Lwbf"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,n=e.grey,i=e.size,l=e.renderers,u=e.borderRadius,c=e.boxShadow,s=(0,o.default)({default:{grid:{borderRadius:u,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+a.get(t,n,i,l.canvas)+") center left"}}});return r.default.createElement("div",{style:s.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},OBhP:function(e,t,n){var r=n("fmRc"),o=n("gFfm"),a=n("MrPd"),i=n("WwFo"),l=n("Dw+G"),u=n("5Tg0"),c=n("Q1l4"),s=n("VOtZ"),f=n("EEGq"),p=n("qZTm"),d=n("G6z8"),h=n("QqLw"),y=n("yHx3"),b=n("wrZu"),v=n("+iFO"),m=n("Z0cm"),g=n("DSRE"),x=n("zEVN"),w=n("GoyQ"),O=n("1+5i"),C=n("7GkX"),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,S,j,P,k){var _,R=1&n,F=2&n,M=4&n;if(S&&(_=P?S(t,j,P,k):S(t)),void 0!==_)return _;if(!w(t))return t;var N=m(t);if(N){if(_=y(t),!R)return c(t,_)}else{var D=h(t),T="[object Function]"==D||"[object GeneratorFunction]"==D;if(g(t))return u(t,R);if("[object Object]"==D||"[object Arguments]"==D||T&&!P){if(_=F||T?{}:v(t),!R)return F?f(t,l(_,t)):s(t,i(_,t))}else{if(!E[D])return P?t:{};_=b(t,D,R)}}k||(k=new r);var A=k.get(t);if(A)return A;k.set(t,_),O(t)?t.forEach((function(r){_.add(e(r,n,S,r,t,k))})):x(t)&&t.forEach((function(r,o){_.set(o,e(r,n,S,o,t,k))}));var I=M?F?d:p:F?keysIn:C,B=N?void 0:I(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(_,o,e(r,n,S,o,t,k))})),_}},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},OYk8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=i(n("PGcv"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,i=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return r.default.createElement("div",{style:i.swatches},r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<.1&&Math.abs(n.s-.5)<.1,onClick:t,first:!0})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<.1&&Math.abs(n.s-.5)<.1,onClick:t,last:!0})),r.default.createElement("div",{style:i.clear}))};t.default=l},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},Ojt5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var r=l(n("q1tI")),o=l(n("17x9")),a=l(n("/FUP")),i=l(n("QkVN"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.Raised=function(e){var t=e.zDepth,n=e.radius,o=e.background,l=e.children,u=e.styles,c=void 0===u?{}:u,s=(0,a.default)((0,i.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},c),{"zDepth-1":1===t});return r.default.createElement("div",{style:s.wrap},r.default.createElement("div",{style:s.bg}),r.default.createElement("div",{style:s.content},l))};u.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},u.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=u},PGcv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,a=e.onClick,i=void 0===a?function(){}:a,l=e.active,u=e.first,c=e.last,s=(0,o.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:c});return r.default.createElement("div",{style:s.swatch,onClick:function(e){return i({h:t.h,s:.5,l:n,source:"hsl"},e)}})};t.default=i},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return function(e){if(Array.isArray(e))return l(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 l(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(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 l(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 u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=d(n("q1tI")),b=n("xI0J"),v=n("VCL8"),m=h(n("Gytx")),g=h(n("XaS2")),x=n("6Ogq"),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&&c(e,t)}(h,e);var t,n,r,l,d=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function h(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var l=t.props,u=l.onExpandedRowsChange,c=l.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(i(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=x.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&m.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,u(f)),a||c(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,i=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var l={key:"rc-table-expand-icon-cell",className:"".concat(i,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l,{column:l}))}},t.renderRows=function(e,n,r,o,a,l,u,c){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],h=[].concat(i(c),[u]),y=a+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,a),h,y,l)),d&&n.push.apply(n,i(e(d,y,h)))};var n=e.data,r=e.childrenColumnName,l=e.defaultExpandAllRows,u=e.expandedRowKeys,c=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=i(n);if(l)for(var y=0;y<p.length;y+=1){var b=p[y];f.push(s(b,y)),p=p.concat(b[r]||[])}else f=u||c;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=h,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,a,i){var l,u=this,c=this.props,s=c.prefixCls,f=c.expandIconAsCell,p=c.indentSize,d=o[o.length-1],h="".concat(d,"-extra-row");l="left"===i?this.columnManager.leftLeafColumns().length:"right"===i?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=u.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:l},children:"right"!==i?n(e,t,a,o):" "}}}];return f&&"right"!==i&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),y.createElement(g.default,{key:h,columns:b,className:r,rowKey:h,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:a,fixed:i,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&u(n.prototype,r),l&&u(n,l),h}(y.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(w),t.default=b.connect()(w)},Pzom:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("QkVN")),l=n("TM95"),u=s(n("OYk8")),c=s(n("dATH"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Slider=function(e){var t=e.hsl,n=e.onChange,o=e.pointer,c=e.styles,s=void 0===c?{}:c,f=e.className,p=void 0===f?"":f,d=(0,a.default)((0,i.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return r.default.createElement("div",{style:d.wrap||{},className:"slider-picker "+p},r.default.createElement("div",{style:d.hue},r.default.createElement(l.Hue,{style:d.Hue,hsl:t,pointer:o,onChange:n})),r.default.createElement("div",{style:d.swatches},r.default.createElement(u.default,{hsl:t,onClick:n})))};f.propTypes={styles:o.default.object},f.defaultProps={pointer:c.default,styles:{}},t.default=(0,l.ColorWrap)(f)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),a=n("7Ix3"),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),u=n("NykK"),c=n("3Fdi"),s=c(r),f=c(o),p=c(a),d=c(i),h=c(l),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||a&&"[object Promise]"!=y(a.resolve())||i&&"[object Set]"!=y(new i)||l&&"[object WeakMap]"!=y(new l))&&(y=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case s:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},Rkpk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var r=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=c(n("q1tI")),a=c(n("/FUP")),i=c(n("p8yl")),l=n("TM95"),u=c(n("9F0J"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.ChromeFields=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));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?i.default.isValidHex(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(e.s&&e.s||n.props.hsl.s),l:Number(e.l&&e.l||n.props.hsl.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},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),r(t,[{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,o.default.createElement("div",{style:t.toggle},o.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.default.Component);s.defaultProps={view:"hex"},t.default=s},SKAX:function(e,t,n){var r=n("JC6p"),o=n("lQqw")(r);e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),l=n("Gytx"),u=n.n(l),c=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,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 v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&h(e,t)}(c,e);var t,n,o,a,l=(t=c,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function c(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,a=o.prefixCls,l=o.className,u=void 0===l?"":l,c=o.options,f=o.buttonStyle,p=n("radio",a),d="".concat(p,"-group"),h=i()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),u),y=o.children;return c&&c.length>0&&(y=c.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=c,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),c}(r.Component);x.defaultProps={buttonStyle:"outline"},x.childContextTypes={radioGroup:o.any},Object(c.polyfill)(x),t.a=x},Syy6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.AlphaPointer=function(e){var t=e.direction,n=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.default.createElement("div",{style:n.picker})};t.default=i},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),a=n("yP5f"),i=n("Q1l4"),l=n("+iFO"),u=n("03A+"),c=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),h=n("YO3V"),y=n("c6wG"),b=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,m,g,x,w){var O=b(e,n),C=b(t,n),E=w.get(C);if(E)r(e,n,E);else{var S=x?x(O,C,n+"",e,t,w):void 0,j=void 0===S;if(j){var P=c(C),k=!P&&f(C),_=!P&&!k&&y(C);S=C,P||k||_?c(O)?S=O:s(O)?S=i(O):k?(j=!1,S=o(C,!0)):_?(j=!1,S=a(C,!0)):S=[]:h(C)||u(C)?(S=O,u(O)?S=v(O):d(O)&&!p(O)||(S=l(C))):j=!1}j&&(w.set(C,S),g(S,C,m,x,w),w.delete(C)),r(e,n,S)}}},THLb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r,o){var a=o.clientWidth,i=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=l-(o.getBoundingClientRect().left+window.pageXOffset),s=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var f=void 0;if(f=s<0?0:s>i?1:Math.round(100*s/i)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var p=void 0;if(r!==(p=c<0?0:c>a?1:Math.round(100*c/a)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}},TM95:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(r).default}});var o=n("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(o).default}});var a=n("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(a).default}});var i=n("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(i).default}});var l=n("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return f(l).default}});var u=n("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(u).default}});var c=n("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(c).default}});var s=n("Ba7A");function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(s).default}})},TZyB:function(e,t,n){},UGzO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 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=c(a),l=c(n("sEfC")),u=c(n("p8yl"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(u.default.simpleCheckForValidColor(e)){var r=u.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(u.default.simpleCheckForValidColor(e)){var r=u.default.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},u.default.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,n){e(t,n)}),100),t}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)}(n,t),o(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return r({},u.default.toState(e.color,t.oldHue))}}]),n}(a.PureComponent||a.Component);return t.propTypes=r({},e.propTypes),t.defaultProps=r({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=s},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=p(n("q1tI")),y=p(n("17x9")),b=n("xI0J"),v=d(n("TSYQ")),m=d(n("zSdB")),g=d(n("VMSz")),x=d(n("XaS2")),w=d(n("zgq8")),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&&u(e,t)}(y,e);var t,n,r,p,d=(t=y,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){var e;return i(this,y),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,a=o.columnManager,i=o.components,l=o.props,u=l.prefixCls,c=l.childrenColumnName,s=l.rowClassName,f=l.rowRef,p=l.onRowClick,d=l.onRowDoubleClick,y=l.onRowContextMenu,b=l.onRowMouseEnter,v=l.onRowMouseLeave,m=l.onRow,g=e.props,O=g.getRowKey,C=g.fixed,E=g.expander,S=g.isAnyColumnsFixed,j=[],P=function(o){var l=t[o],g=O(l,o),P="string"==typeof s?s:s(l,o,n),k={};a.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var _=void 0;_="left"===C?a.leftLeafColumns():"right"===C?a.rightLeafColumns():e.getColumns(a.leafColumns());var R="".concat(u,"-row"),F=h.createElement(w.default,Object.assign({},E.props,{fixed:C,index:o,prefixCls:R,record:l,key:g,rowKey:g,onRowClick:p,needIndentSpaced:E.needIndentSpaced,onExpandedChange:E.handleExpandChange}),(function(e){return h.createElement(x.default,Object.assign({fixed:C,indent:n,className:P,record:l,index:o,prefixCls:R,childrenColumnName:c,columns:_,onRow:m,onRowDoubleClick:d,onRowContextMenu:y,onRowMouseEnter:b,onRowMouseLeave:v},k,{rowKey:g,ancestorKeys:r,ref:f(l,o,n),components:i,isAnyColumnsFixed:S},e))}));j.push(F),E.renderRows(e.renderRows,j,l,o,n,C,g,r)},k=0;k<t.length;k+=1)P(k);return j},e}return n=y,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,i=t.fixed,l=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!i?v.default("".concat(l,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,a=n.data,i=n.getBodyWrapper,l=this.props,u=l.expander,c=l.tableClassName,s=l.hasHead,f=l.hasBody,p=l.fixed,d=l.isAnyColumnsFixed,y={};if(!p&&o.x){var b=d?"max-content":"auto";y.width=!0===o.x?b:o.x}var v,x=f?t.table:"table",w=t.body.wrapper;f&&(v=h.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(a,0)),i&&(v=i(v)));var O=this.getColumns();return h.createElement(x,{className:c,style:y,key:"table"},h.createElement(m.default,{columns:O,fixed:p}),s&&h.createElement(g.default,{expander:u,columns:O,fixed:p}),v)}}])&&l(n.prototype,r),p&&l(n,p),y}(h.Component);O.contextTypes={table:y.any},t.default=b.connect()(O)},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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,u),n(l)}},Un2r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=C(n("kLXV")),o=C(n("W9HT")),a=C(n("Vl3Y")),i=C(n("5rEg")),l=C(n("2/Rp")),u=C(n("wCAj")),c=C(n("jsC+")),s=C(n("CtXQ")),f=C(n("NUBc")),p=C(n("NJEC")),d=C(n("BvKs")),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},y=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("tULf"),n("1vPl"),n("L/Qf"),n("mbEz"),n("aIZi"),n("2oDE"),n("YQTV"),n("k994"),n("2WkQ");var b=n("q1tI"),v=C(b);n("6JOy"),n("NzgE");var m=C(n("2CTR")),g=n("WFjJ"),x=C(n("/FUP")),w=C(n("vDqi")),O=n("spEH");function C(e){return e&&e.__esModule?e:{default:e}}var 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.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getList()},n.getList=function(e,t,r){var o=n.props.match.params,a=o.projectsId,i=o.owner,l=n.state.limit,u="/"+i+"/"+a+"/labels.json";w.default.get(u,{params:{page:e,limit:l,order_name:t,order_type:r}}).then((function(e){e&&n.setState({data:e.data})})).catch((function(e){console.log(e)}))},n.createtagpost=function(){n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.match.params,o=r.projectsId,a="/"+r.owner+"/"+o+"/labels.json";w.default.post(a,h({},t,{project_id:o,color:n.state.textcolor})).then((function(e){e&&(n.props.form.setFieldsValue({name:"",description:""}),n.setState({color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",display:"none"}),n.getList())})).catch((function(e){console.log(e)}))}}))},n.ChangePage=function(e){n.setState({page:e}),n.getList(e)},n.arrayList=function(e){n.setState({order_name:e.key,order_type:e.item.props.value}),n.getList(1,e.key,e.item.props.value)},n.handleClick=function(){n.setState({displayColorPicker:!n.state.displayColorPicker})},n.handleClose=function(){n.setState({displayColorPicker:!1})},n.handleChange=function(e){n.setState({color:e.rgb,textcolor:e.hex,newcolor:e.hex})},n.newshow=function(){n.setState({display:"block"})},n.newclose=function(){n.setState({display:"none"})},n.handleok=function(){n.updatetag()},n.updatetag=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=n.state.id,a="/"+r+"/"+t+"/labels/"+o+".json",i=n.state.name,l=n.state.description,u=n.state.newcolor;w.default.put(a,{project_id:t,id:o,name:i,description:l,color:u}).then((function(e){e&&(n.setState({isShow:!1}),n.getList())})).catch((function(e){console.log(e)}))},n.deletetag=function(e){var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/labels/"+e+".json";w.default.delete(o,{data:{project_id:r,id:e}}).then((function(e){e&&n.getList()})).catch((function(e){console.log(e)}))},n.handleCancel=function(){n.setState({isShow:!1})},n.changmodelname=function(e){n.setState({name:e.target.value})},n.changdescription=function(e){n.setState({description:e.target.value})},n.editshow=function(e){n.setState({isShow:!0,newcolor:e.color,name:e.name,description:e.description,id:e.id})},n.state={data:void 0,limit:15,page:1,order_name:void 0,order_type:void 0,display:"none",displayColorPicker:!1,color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",isShow:!1,newcolor:"",name:"",description:"",id:"",modelname:"",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),y(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.data,h=t.limit,y=t.page,b=t.isSpin,w=(this.props.match.params.projectsId,this.props.form.getFieldDecorator),C=v.default.createElement(d.default,{onClick:this.arrayList},v.default.createElement(d.default.Item,{key:"created_at",value:"desc"},"按创建时间降序排序"),v.default.createElement(d.default.Item,{key:"created_at",value:"asc"},"按创建时间升序排序"),v.default.createElement(d.default.Item,{key:"issues_count",value:"desc"},"按issue个数降序排序"),v.default.createElement(d.default.Item,{key:"issues_count",value:"asc"},"按issue个数升序排序")),E=(0,x.default)({default:{color:{width:"20px",height:"20px",borderRadius:"2px",background:"rgba("+this.state.color.r+", "+this.state.color.g+", "+this.state.color.b+", "+this.state.color.a+")"},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",width:"100px",marginTop:"5px",height:"28px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"flex",cursor:"pointer"},popover:{position:"absolute",zIndex:"2"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"},modalcolor:{width:"20px",height:"20px",borderRadius:"2px",background:this.state.newcolor}}}),S=[{title:"颜色代码",width:"20%",dataIndex:"color",render:function(e,t){return v.default.createElement("span",{className:"grid-item"},v.default.createElement("span",{style:{backgroundColor:""+t.color},className:"tagColor"}),v.default.createElement("span",{className:"ml15"},t.name))}},{title:"描述",width:"30%",dataIndex:"description",render:function(e){return v.default.createElement("span",null,e)}},{title:"问题数量",width:"30%",dataIndex:"issues_count",render:function(e){return v.default.createElement("span",null,e,"个开启的任务")}},{title:"操作",width:"20%",dataIndex:"action",render:function(t,n){return v.default.createElement("span",{style:{justifyContent:"center"}},v.default.createElement("a",{onClick:function(){return e.editshow(n)},className:"topWrapper_success_btn fr"},"编辑"),v.default.createElement(p.default,{placement:"bottom",title:"删除标签会将其从所有引用中删除。继续?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletetag(n.id)}},v.default.createElement("a",{className:"a_btn delete_btn fr"},"删除")))}}],j=v.default.createElement(v.default.Fragment,null,n&&n.issue_tags_count>h?v.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},v.default.createElement(f.default,{simple:!0,defaultCurrent:y,total:n&&n.issue_tags_count,pageSize:h,onChange:this.ChangePage})):"");return v.default.createElement(O.WhiteBack,null,v.default.createElement("div",{className:"flex-a-center baseForm bbr",style:{"justify-content":"space-between"}},v.default.createElement("span",{className:"font-18 text-black"},"项目标签"),n&&n.user_admin_or_member?v.default.createElement(l.default,{type:"primary",ghost:!0,onClick:this.newshow},v.default.createElement(s.default,{type:"plus"}),"创建标签"):""),v.default.createElement("div",null,v.default.createElement("div",{style:{display:this.state.display},className:"padding15"},v.default.createElement(a.default,null,v.default.createElement("div",{className:"new-tag-div"},v.default.createElement(a.default.Item,{className:"inptwidth"},w("name",{rules:[{required:!0,message:"请填写标签名字"}]})(v.default.createElement(i.default,{placeholder:"标签名字",maxLength:"10"}))),v.default.createElement(a.default.Item,{className:"inputcount"},w("description",{rules:[{required:!0,message:"描述不能为空"}]})(v.default.createElement(i.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),v.default.createElement("div",null,v.default.createElement("div",{style:E.swatch,onClick:this.handleClick},v.default.createElement("div",{style:E.color},v.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?v.default.createElement("div",{style:E.popover},v.default.createElement("div",{style:E.cover,onClick:this.handleClose}),v.default.createElement(g.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),v.default.createElement("div",{className:"fr",style:{marginTop:5}},v.default.createElement(o.default,{spinning:b},v.default.createElement(l.default,{type:"primary",onClick:this.createtagpost,className:"fr"},"创建标签"),v.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消")))))),v.default.createElement("div",{className:"padding20-30"},n&&n.issue_tags&&n.issue_tags.length>0?v.default.createElement("div",null,v.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},v.default.createElement("span",null,"共",n&&n.issue_tags_count,"个标签"),v.default.createElement("ul",{className:"topWrapper_select"},v.default.createElement("li",null,v.default.createElement(c.default,{className:"topWrapperSelect",overlay:C,trigger:["click"],placement:"bottomCenter"},v.default.createElement("span",null,"标签",v.default.createElement(s.default,{type:"caret-down",className:"ml5"})))))),v.default.createElement("div",null,v.default.createElement(u.default,{className:"setTables",showHeader:!1,pagination:!1,columns:S,dataSource:n.issue_tags,rowKey:function(e){return e.id}}))):v.default.createElement(m.default,{_html:"暂时还没有相关数据!"}),j)),v.default.createElement(r.default,{title:"编辑标签",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"600px",closable:!1},v.default.createElement("div",{className:"dialogdiv"},v.default.createElement(i.default,{placeholder:"标签名字",maxLength:"10",className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),v.default.createElement(i.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),v.default.createElement("div",null,v.default.createElement("div",{style:E.swatch,onClick:this.handleClick},v.default.createElement("div",{style:E.modalcolor},v.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?v.default.createElement("div",{style:E.popover},v.default.createElement("div",{style:E.cover,onClick:this.handleClose}),v.default.createElement(g.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(b.Component),S=a.default.create({name:"tageFrom"})(E);t.default=S},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("q1tI")),i=r(n("17x9")),l=o(n("MibV"));var u=function(e,t){var n=t.table,r=n.components,o=n.props,i=o.prefixCls,u=o.showHeader,c=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!u)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,a=void 0===o?0:o,i=t.rows,l=void 0===i?[]:i,u=t.isLast,c=void 0===u||u;return l[a]=l[a]||[],r.forEach((function(t,n){if(t.rowSpan&&l.length<t.rowSpan)for(;l.length<t.rowSpan;)l.push([]);var o=c&&n===r.length-1,i={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:a+1,rows:l,isLast:o}),"colSpan"in t&&(i.colSpan=t.colSpan),"rowSpan"in t&&(i.rowSpan=t.rowSpan),0!==i.colSpan&&l[a].push(i)})),l.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var h=r.header.wrapper;return a.createElement(h,{className:"".concat(i,"-thead")},d.map((function(e,t){return a.createElement(l.default,{prefixCls:i,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:c})})))};u.contextTypes={table:i.any},t.default=u},VOtZ:function(e,t,n){var r=n("juv8"),o=n("MvSz");e.exports=function(e,t){return r(e,o(e),t)}},VVms:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,a=r.height,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),c=l-(n.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),c<0?c=0:c>a&&(c=a);var s=u/o,f=1-c/a;return{h:t.h,s:s,v:f,a:t.a,source:"rgb"}}},VYtm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(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 s=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,c;l(this,r);for(var s=arguments.length,f=Array(s),p=0;p<s;p++)f[p]=arguments[p];return a=c=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(f))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return i.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},i.default.createElement(e,o({},c.props,c.state)))},u(c,a)}return c(r,n),r}(i.default.Component)};t.default=s},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),u=n("QbLZ"),c=n.n(u),s=n("i8i4"),f=n.n(s),p=n("9Do8"),d=n.n(p),h=n("OFL0"),y=n.n(h),b=n("jo6Y"),v=n.n(b),m=n("YEIV"),g=n.n(m),x=n("m1cH"),w=n.n(x),O=n("fhzG"),C=n.n(O),E=n("aGtg"),S=n("oV5b"),j=n.n(S),P=n("2W6z"),k=n.n(P),_=n("mwIZ"),R=n.n(_),F=n("D1y2"),M=n.n(F),N=n("ljhN"),D=n.n(N),T=n("iCc5"),A=n.n(T),I=n("V7oC"),B=n.n(I),V=function e(t){A()(this,e),c()(this,t)};function L(e){return e instanceof V}function H(e){return L(e)?e:new V(e)}var q=n("2mql"),z=n.n(q);function G(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function K(e){return e}function W(e){return Array.prototype.concat.apply([],e)}function U(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(void 0,e,t,n,(function(e,t){r[e]=t})),r}function X(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 Y(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 Q(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Z(e,t,n){var r=e,o=t,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 U(e,(function(e,t){return L(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 B()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return U(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):g()({},r,a)}},{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,H(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,H(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?K:i,u=e.mapPropsToFields,s=e.fieldNameProp,f=e.fieldMetaProp,p=e.fieldDataProp,d=e.formPropName,h=void 0===d?"form":d,y=e.name,b=e.withRef;return function(e){var i=C()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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){u&&this.fieldsStore.updateFields(u(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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),u={};l[e]=i,Object.keys(l).forEach((function(e){return M()(u,e,l[e])})),a(c()(g()({},h,this.getForm()),this.props),M()({},e,i),u)}var s=this.fieldsStore.getField(e);return{name:e,field:c()({},s,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,u=a.fieldMeta,s=u.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(s)});this.setFields(g()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,u=c()({},i,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,u=r.validate,d=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(d.initialValue=r.initialValue);var h=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});s&&(h[s]=y?y+"_"+e:e);var b=X(u,o,l),v=Y(b);v.forEach((function(n){h[n]||(h[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(h[a]=this.getCacheBind(e,a,this.onCollect));var m=c()({},d,r,{validate:b});return this.fieldsStore.setFieldMeta(e,m),f&&(h[f]=m),p&&(h[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return W(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 a=Object.keys(o).reduce((function(e,t){return M()(e,t,n.fieldsStore.getField(t))}),{});r(c()(g()({},h,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(g()({},h,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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,a=t.fieldNames,i=t.action,l=t.options,u=void 0===l?{}:l,s={},f={},p={},d={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),r=c()({},e);r.errors=void 0,r.validating=!0,r.dirty=!0,s[t]=o.getRules(n,i),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(a));else{var h=new j.a(s);n&&h.messages(n),h.validate(f,u,(function(e){var t=c()({},d);e&&e.length&&e.forEach((function(e){var n=e.field,r=n;Object.keys(s).some((function(e){var t=s[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=R()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),R()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(s).forEach((function(e){var r=R()(t,e),a=o.fieldsStore.getField(e);D()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),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(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=Z(e,t,n),l=i.names,u=i.options,c=Z(e,t,n).callback;if(!c||"function"==typeof c){var s=c;c=function(e,t){s&&s(e,t),e?a({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 u||(u.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(p,{fieldNames:f,options:u},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"]),a=g()({},h,this.getForm());b?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return G(Object(E.a)(i),e)}},ie={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 ue={getForm:function(){return c()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=Z(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(y()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),o){var u=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,u,c()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof i&&i(e,t)}))}};var ce=function(e){return ae(c()({},e),[ue])},se=n("BGR+"),fe=n("H84U"),pe=n("CWQg"),de=n("6CfX"),he=n("MFj2"),ye=n("qrJ5"),be=n("/kpp"),ve=n("CtXQ"),me=n("foW8"),ge=n.n(me)()({labelAlign:"right",vertical:!1});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 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 Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t){return!t||"object"!==xe(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(){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 _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){return function(e){if(Array.isArray(e))return Fe(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 Fe(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(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 Fe(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},Ne=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");var 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&&Se(e,t)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=_e(t);if(ke()){var r=_e(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return je(this,e)});function u(){var e;return Ce(this,u),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=s.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,a=e.props,i=a.prefixCls,u=a.style,c=a.className,s=Me(a,["prefixCls","style","className"]),f=o("form",i),p=e.renderChildren(f),d=(Oe(n={},"".concat(f,"-item"),!0),Oe(n,"".concat(f,"-item-with-help"),e.helpShow),Oe(n,"".concat(c),!!c),n);return r.createElement(ye.a,we({className:l()(d),style:u},Object(se.a)(s,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),p)},e}return n=u,(o=[{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(Re(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=r.Children.toArray(e),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==u&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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(he.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 a=this.props,i=this.getOnlyControl,u=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");u&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var s="";switch(u){case"success":s="check-circle";break;case"warning":s="exclamation-circle";break;case"error":s="close-circle";break;case"validating":s="loading";break;default:s=""}var f=a.hasFeedback&&s?r.createElement("span",{className:"".concat(e,"-item-children-icon")},r.createElement(ve.default,{type:s,theme:"loading"===s?"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 a=o.wrapperCol,i=o.vertical,u=n.props.wrapperCol,c=("wrapperCol"in n.props?u:a)||{},s=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(ge.Provider,{value:{vertical:i}},r.createElement(be.a,we({},c,{className:s}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(ge.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=n.labelAlign,u=n.labelCol,c=n.colon,s=t.props,f=s.label,p=s.labelCol,d=s.labelAlign,h=s.colon,y=s.id,b=s.htmlFor,v=t.isRequired(),m=("labelCol"in t.props?p:u)||{},g="labelAlign"in t.props?d:i,x="".concat(e,"-item-label"),w=l()(x,"left"===g&&"".concat(x,"-left"),m.className),O=f,C=!0===h||!1!==c&&!1!==h;C&&!a&&"string"==typeof f&&""!==f.trim()&&(O=f.replace(/[::]\s*$/,""));var E=l()((Oe(o={},"".concat(e,"-item-required"),v),Oe(o,"".concat(e,"-item-no-colon"),!C),o));return f?r.createElement(be.a,we({},m,{className:w}),r.createElement("label",{htmlFor:b||y||t.getId(),className:E,title:"string"==typeof f?f:"",onClick:t.onLabelClick},O)):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)}}])&&Ee(n.prototype,o),a&&Ee(n,a),u}(r.Component);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 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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(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 He(){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 qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}De.defaultProps={hasFeedback:!1},De.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ne),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(pe.a)("horizontal","inline","vertical"),Ge=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&&Ve(e,t)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=qe(t);if(He()){var r=qe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Le(this,e)});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=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,u=a.hideRequiredMark,c=a.className,s=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(n,"".concat(p,"-hide-required-mark"),u),n),s),h=Object(se.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Ae({},h,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(ge.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Be(n.prototype,o),a&&Be(n,a),u}(r.Component);Ge.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ge.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},Ge.Item=De,Ge.createFormField=H,Ge.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=Ge},W3HW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n("4qC0")),o=l(n("Ag8Z")),a=l(n("YO3V")),i=l(n("3WF5"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,a.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=u},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var a=o.querySelectorAll(t),i=a.length,l=0;l<i;l++)if(a[l]===e)return!0;return!1}},WFjJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var r=n("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return m(r).default}});var o=n("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return m(o).default}});var a=n("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return m(a).default}});var i=n("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return m(i).default}});var l=n("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return m(l).default}});var u=n("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return m(u).default}});var c=n("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return m(c).default}});var s=n("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return m(s).default}});var f=n("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return m(f).default}});var p=n("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return m(p).default}});var d=n("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return m(d).default}});var h=n("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return m(h).default}});var y=n("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return m(y).default}});var b=n("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return m(b).default}});var v=m(i);function m(e){return e&&e.__esModule?e:{default:e}}t.default=v.default},WwFo:function(e,t,n){var r=n("juv8"),o=n("7GkX");e.exports=function(e,t){return e&&r(t,o(t),e)}},XQvf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(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 s=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,c;l(this,r);for(var s=arguments.length,f=Array(s),p=0;p<s;p++)f[p]=arguments[p];return a=c=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(f))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return i.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},i.default.createElement(e,o({},c.props,c.state)))},u(c,a)}return c(r,n),r}(i.default.Component)};t.default=s},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},XYm9:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 a(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=h(n("q1tI")),v=y(n("i8i4")),m=y(n("cOkC")),g=n("xI0J"),x=n("VCL8"),w=y(n("TSYQ")),O=y(n("DVfl")),C=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)}(y,e);var t,n,r,a,h=(t=y,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function y(){var e;return u(this,y),(e=h.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,a=o.record,i=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];var u=o[0];n&&n(a,i,u),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=y,a=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=i({},r,l({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:i({},r,l({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=i({},this.style,{height:t})),n||this.style.display||(this.style=i({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,a=e.rowKey,l=e.index,u=e.onRow,c=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,h=e.components,y=e.hasExpandIcon,v=e.renderExpandIcon,g=e.renderExpandIconCell,x=e.onRowClick,C=e.onRowDoubleClick,E=e.onRowMouseEnter,S=e.onRowMouseLeave,j=e.onRowContextMenu,P=h.body.row,k=h.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var F=0;F<n.length;F+=1){var M=n[F];m.default(void 0===M.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(O.default,{prefixCls:t,record:r,indentSize:s,indent:c,index:l,column:M,key:M.key||M.dataIndex,expandIcon:y(F)&&v(),component:k}))}var N=u(r,l)||{},D=N.className,T=N.style,A=o(N,["className","style"]),I={height:p};d||(I.display="none"),I=i({},I,{},T);var B=w.default(t,_,"".concat(t,"-level-").concat(c),D);return b.createElement(P,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,x),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,C),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,E,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,S,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,j),className:B,style:I,"data-row-key":a}),R)}}])&&c(n.prototype,r),a&&c(n,a),y}(b.Component);function E(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,a=t.rowKey;return o?n[a]?n[a]:r[a]?r[a]:null:null}C.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},x.polyfill(C),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,a=t.rowKey,i=t.ancestorKeys;return{visible:0===i.length||i.every((function(e){return o.includes(e)})),hovered:n===a,height:E(e,t)}}))(C)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),a=n("ExA7"),i=Function.prototype,l=Object.prototype,u=i.toString,c=l.hasOwnProperty,s=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(n("q1tI")),c=i(n("17x9")),s=n("6Ogq"),f=l(n("UNrv"));function p(e,t){var n=t.table,r=n.props,a=r.prefixCls,i=r.scroll,l=e.columns,c=e.fixed,p=e.tableClassName,d=e.getRowKey,h=e.handleBodyScroll,y=e.handleWheel,b=e.expander,v=e.isAnyColumnsFixed,m=n.saveRef,g=n.props.useFixedHeader,x=o({},n.props.bodyStyle),w={};if((i.x||c)&&(x.overflowX=x.overflowX||"scroll",x.WebkitTransform="translate3d (0, 0, 0)"),i.y){c?(w.maxHeight=x.maxHeight||i.y,w.overflowY=x.overflowY||"scroll"):x.maxHeight=x.maxHeight||i.y,x.overflowY=x.overflowY||"scroll",g=!0;var O=s.measureScrollbar({direction:"vertical"});O>0&&c&&(x.marginBottom="-".concat(O,"px"),x.paddingBottom="0px")}var C,E=u.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:c,columns:l,expander:b,getRowKey:d,isAnyColumnsFixed:v});if(c&&l.length)return"left"===l[0].fixed||!0===l[0].fixed?C="fixedColumnsBodyLeft":"right"===l[0].fixed&&(C="fixedColumnsBodyRight"),delete x.overflowX,delete x.overflowY,u.createElement("div",{key:"bodyTable",className:"".concat(a,"-body-outer"),style:o({},x)},u.createElement("div",{className:"".concat(a,"-body-inner"),style:w,ref:m(C),onWheel:y,onScroll:h},E));var S=i&&(i.x||i.y);return u.createElement("div",{tabIndex:S?-1:void 0,key:"bodyTable",className:"".concat(a,"-body"),style:x,ref:m("bodyTable"),onWheel:y,onScroll:h},E)}t.default=p,p.contextTypes={table:c.any}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},"ZQT/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CompactColor=function(e){var t=e.color,n=e.onClick,l=void 0===n?function(){}:n,u=e.onSwatchHover,c=e.active,s=(0,o.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:a.default.getContrastingColor(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{style:s.color,color:t,onClick:l,onHover:u,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:s.dot}))};t.default=u},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b2z7:function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),u=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),s=!n&&o(e),f=!n&&!s&&i(e),p=!n&&!s&&!f&&u(e),d=n||s||f||p,h=d?r(e.length,String):[],y=h.length;for(var b in e)!t&&!c.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,y))||h.push(b);return h}},bNQv:function(e,t,n){var r=n("gFfm"),o=n("SKAX"),a=n("EwQA"),i=n("Z0cm");e.exports=function(e,t){return(i(e)?r:o)(e,a(t))}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},ccyi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var r=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"),a=c(o),i=c(n("/FUP")),l=c(n("DzJC")),u=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("VVms"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.Saturation=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.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,u.calculateChange(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,l.default)((function(e,t,n){e(t,n)}),50),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),r(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,l=t.pointer,u=t.circle,c=(0,i.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:l,circle:u}},{custom:!!this.props.style});return a.default.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),a.default.createElement("div",{style:c.white,className:"saturation-white"},a.default.createElement("div",{style:c.black,className:"saturation-black"}),a.default.createElement("div",{style:c.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:c.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=s},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=e.type,u=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,u,o,l),(0,i.isEmptyValue)(t,l)||a.default.type(e,t,r,u,o)}n(u)}},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dATH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(){var e=(0,o.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),u=n("Z0cm"),c=n("DSRE"),s=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,y){var b=u(e),v=u(t),m=b?"[object Array]":l(e),g=v?"[object Array]":l(t),x=(m="[object Arguments]"==m?f:m)==f,w=(g="[object Arguments]"==g?f:g)==f,O=m==g;if(O&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(O&&!x)return y||(y=new r),b||s(e)?o(e,t,n,d,h,y):a(e,t,m,n,d,h,y);if(!(1&n)){var C=x&&p.call(e,"__wrapped__"),E=w&&p.call(t,"__wrapped__");if(C||E){var S=C?e.value():e,j=E?t.value():t;return y||(y=new r),h(S,j,n,d,y)}}return!!O&&(y||(y=new r),i(e,t,n,d,h,y))}},eHBW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 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=u(n("q1tI")),a=u(n("17x9")),i=u(n("/FUP")),l=n("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var c=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,a=void 0===n?function(){}:n,u=e.onSwatchHover,c=(0,i.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){a({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return o.default.createElement("div",{key:n,style:c.swatchWrap},o.default.createElement(l.Swatch,r({},t,{style:c.swatch,onClick:s,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};c.propTypes={colors:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.shape({color:a.default.string,title:a.default.string})])).isRequired},t.default=c},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),u=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=u,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function a(e){return(a="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 i(){return(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}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},h={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},y=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&&c(e,t)}(v,e);var t,n,a,y,b=(t=v,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function v(){var e;return l(this,v),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=v,(a=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",i({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:i(i({},n?null:h),t)}))}}])&&u(n.prototype,a),y&&u(n,y),v}(r.Component);t.a=y},gFfm:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iGDq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var r=l(n("q1tI")),o=n("/FUP"),a=l(o),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.GithubSwatch=function(e){var t=e.hover,n=e.color,o=e.onClick,l=e.onSwatchHover,u={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,a.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:u}},{hover:t});return r.default.createElement("div",{style:c.swatch},r.default.createElement(i.Swatch,{color:n,onClick:o,onHover:l,focusStyle:u}))};t.default=(0,o.handleHover)(u)},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=v(n("EtQh")),l=v(n("HOVM")),u=v(n("XR+G")),c=v(n("Ejpc")),s=v(n("cwxS")),f=v(n("XZDd")),p=v(n("rjwK")),d=v(n("L2wI")),h=v(n("myOp")),y=v(n("UeuU")),b=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:a.default,boolean:i.default,regexp:l.default,integer:u.default,float:c.default,array:s.default,object:f.default,enum:p.default,pattern:d.default,date:h.default,url:b.default,hex:b.default,email:b.default,required:y.default}},japM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 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},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}}(),i=n("q1tI"),l=(r=i)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 s(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.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;u(this,r);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=n=c(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},c(n,t)}return s(r,n),a(r,[{key:"render",value:function(){return l.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},l.default.createElement(e,o({},this.props,this.state)))}}]),r}(l.default.Component)}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},"jsC+":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("i8i4"),u=n.n(l),c=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],h={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),b=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return m.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,u=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=s;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(c.a,b({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:h,action:d,showAction:u,hideAction:v||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var m=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=u.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(v);var g=v,x=n("H84U"),w=n("6CfX"),O=n("CtXQ"),C=n("CWQg");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 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 j(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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 R(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=F(t);if(R()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,u=a.focusable,c=void 0===u||u,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(O.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,u=i.children,c=i.trigger,s=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),h=r.Children.only(u),y=r.cloneElement(h,{className:f()(h.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:c;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,S({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(x.a,null,this.renderDropDown)}}])&&P(n.prototype,o),a&&P(n,a),l}(r.Component);M.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var N=n("2/Rp");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(){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 A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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 V(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 L(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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},z=N.default.Group,G=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,a,i=(t=l,function(){var e,n=H(t);if(L()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function l(){var e;return A(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,u=a.disabled,c=a.onClick,s=a.htmlType,p=a.children,d=a.className,h=a.overlay,y=a.trigger,b=a.align,v=a.visible,m=a.onVisibleChange,g=a.placement,x=a.getPopupContainer,w=a.href,C=a.icon,E=void 0===C?r.createElement(O.default,{type:"ellipsis"}):C,S=a.title,j=q(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),P=o("dropdown-button",i),k={align:b,overlay:h,disabled:u,trigger:u?[]:y,onVisibleChange:m,placement:g,getPopupContainer:x||n};return"visible"in e.props&&(k.visible=v),r.createElement(z,T({},j,{className:f()(P,d)}),r.createElement(N.default,{type:l,disabled:u,onClick:c,htmlType:s,href:w,title:S},p),r.createElement(M,k,r.createElement(N.default,{type:l},E)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(x.a,null,this.renderButton)}}])&&I(n.prototype,o),a&&I(n,a),l}(r.Component);G.defaultProps={placement:"bottomRight",type:"default"},M.Button=G;t.default=M},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var l=-1,u=t.length;++l<u;){var c=t[l],s=a?a(n[c],e[c],c,n,e):void 0;void 0===s&&(s=e[c]),i?o(n,c,s):r(n,c,s)}return n}},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),u=n("x1Ya"),c=n("Gytx"),s=n.n(c),f=n("H84U"),p=n("6CfX");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 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(){return(y=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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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,a,i=(t=c,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return b(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=x(e),i=a.props,c=a.context,s=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,b=i.style,v=i.onMouseEnter,m=i.onMouseLeave,g=C(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=c.checkboxGroup,O=o("checkbox",s),E=y({},g);w&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:i.value})},E.name=w.name,E.checked=-1!==w.value.indexOf(i.value),E.disabled=i.disabled||w.disabled);var S=l()(f,(h(n={},"".concat(O,"-wrapper"),!0),h(n,"".concat(O,"-wrapper-checked"),E.checked),h(n,"".concat(O,"-wrapper-disabled"),E.disabled),n)),j=l()(h({},"".concat(O,"-indeterminate"),d));return r.createElement("label",{className:S,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(u.a,y({},E,{prefixCls:O,className:j,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(E);var S=E,j=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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){!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)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=A(t);if(T()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=D(t),a=o.props,i=o.state,u=a.prefixCls,c=a.className,s=a.style,f=a.options,p=I(a,["prefixCls","className","style","options"]),d=n("checkbox",u),h="".concat(d,"-group"),y=Object(j.a)(p,["children","defaultValue","value","onChange","disabled"]),b=a.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var v=l()(h,c);return r.createElement("div",k({className:v,style:s},y),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&F(n.prototype,o),a&&F(n,a),u}(r.Component);B.defaultProps={options:[]},B.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},B.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(B);var V=B;S.Group=V;t.default=S},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="number"==typeof e.len,l="number"==typeof e.min,u="number"==typeof e.max,c=t,s=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?s="number":p?s="string":d&&(s="array"),!s)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&o.push(r.format(a.messages[s].len,e.fullField,e.len)):l&&!u&&c<e.min?o.push(r.format(a.messages[s].min,e.fullField,e.min)):u&&!l&&c>e.max?o.push(r.format(a.messages[s].max,e.fullField,e.max)):l&&u&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[s].range,e.fullField,e.min,e.max))}},l9OW:function(e,t,n){var r=n("SKAX"),o=n("MMmD");e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},lQqw:function(e,t,n){var r=n("MMmD");e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,l=Object(n);(t?i--:++i<a)&&!1!==o(l[i],i,l););return n}}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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"},u={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(a(!(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=u.hasOwnProperty(n)?u[n]:null;return a("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 s(e,t){var n=l.hasOwnProperty(t)?l[t]:null;m.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var u=n[i],f=r.hasOwnProperty(i);if(s(f,i),c.hasOwnProperty(i))c[i](e,u);else{var p=l.hasOwnProperty(i);if("function"==typeof u&&!p&&!f&&!1!==n.autobind)o.push(i,u),r[i]=u;else if(f){var y=l[i];a(p&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,i),"DEFINE_MANY_MERGED"===y?r[i]=d(r[i],u):"DEFINE_MANY"===y&&(r[i]=h(r[i],u))}else r[i]=u}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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 h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}var b={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},m={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},g=function(){};return r(g.prototype,e.prototype,m),function(e){var t=function(e,r,i){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]=y(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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=[],i.forEach(f.bind(null,t)),f(t,b),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,u=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var s=(c=n[i])[0],f=e[s],p=c[1];if(u&&c[2]){if(void 0===f&&!(s in e))return!1}else{var d=new r;if(a)var h=a(f,p,s,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},lreK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=i(n("Ag8Z")),o=i(n("BkRI")),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};function i(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=a({},n[t],o[t])})),t})),n};t.default=l},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),a=n("MMmD");e.exports=function(e){return a(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),l=i.length;l--;){var u=i[e?l:++o];if(!1===n(a[u],u,a))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),a=n("wJg7"),i=n("GoyQ");e.exports=function(e,t,n){if(!i(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&a(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,a.default.type(e,u,r,l,o),u&&a.default.range(e,u.getTime(),r,l,o)}}n(l)}},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()},"nW7/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("3WF5")),l=s(n("QkVN")),u=s(n("p8yl")),c=n("TM95");function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.hex,s=e.colors,f=e.width,p=e.triangle,d=e.styles,h=void 0===d?{}:d,y=e.className,b=void 0===y?"":y,v=(0,a.default)((0,l.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===p,"top-left-triangle":"top-left"===p,"top-right-triangle":"top-right"===p}),m=function(e,n){u.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return r.default.createElement("div",{style:v.card,className:"twitter-picker "+b},r.default.createElement("div",{style:v.triangleShadow}),r.default.createElement("div",{style:v.triangle}),r.default.createElement("div",{style:v.body},(0,i.default)(s,(function(e,t){return r.default.createElement(c.Swatch,{key:t,color:e,hex:e,style:v.swatch,onClick:m,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.default.createElement("div",{style:v.hash},"#"),r.default.createElement(c.EditableInput,{label:null,style:{input:v.input},value:o.replace("#",""),onChange:m}),r.default.createElement("div",{style:v.clear})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),triangle:o.default.oneOf(["hide","top-left","top-right"]),colors:o.default.arrayOf(o.default.string),styles:o.default.object},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,c.ColorWrap)(f)},"o/2+":function(e,t,n){"use strict";var r=n("foW8"),o=n.n(r)()({});t.a=o},"oCl/":function(e,t,n){var r=n("CH3K"),o=n("LcsW"),a=n("MvSz"),i=n("0ycA"),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=l},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},a=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")),i=n("l1rO"),l=(r=i)&&r.__esModule?r:{default:r};var u={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(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,n,r,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?c[u](t)||r.push(a.format(i.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.messages.types[u],e.fullField,e.type))}}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),i=n("TSYQ"),l=n.n(i),u=n("Gytx"),c=n.n(u),s=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(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(){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 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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&b(e,t)}(f,e);var t,n,o,i,u=(t=f,function(){var e,n=x(t);if(g()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,i=m(e),u=i.props,c=i.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,b=w(u,["prefixCls","className","children","style"]),v=c.radioGroup,g=o("radio",s),x=d({},b);v&&(x.name=v.name,x.onChange=e.onChange,x.checked=u.value===v.value,x.disabled=u.disabled||v.disabled);var O=l()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),x.checked),p(n,"".concat(g,"-wrapper-disabled"),x.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(a.a,d({},x,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,o),i&&y(n,i),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:o.any}},oPLb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var r=p(n("q1tI")),o=p(n("17x9")),a=p(n("/FUP")),i=p(n("3WF5")),l=p(n("QkVN")),u=p(n("p8yl")),c=n("TM95"),s=p(n("ZQT/")),f=p(n("8J/B"));function p(e){return e&&e.__esModule?e:{default:e}}var d=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.colors,p=e.hex,d=e.rgb,h=e.styles,y=void 0===h?{}:h,b=e.className,v=void 0===b?"":b,m=(0,a.default)((0,l.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},y)),g=function(e,n){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.default.createElement(c.Raised,{style:m.Compact,styles:y},r.default.createElement("div",{style:m.compact,className:"compact-picker "+v},r.default.createElement("div",null,(0,i.default)(o,(function(e){return r.default.createElement(s.default,{key:e,color:e,active:e.toLowerCase()===p,onClick:g,onSwatchHover:n})})),r.default.createElement("div",{style:m.clear})),r.default.createElement(f.default,{hex:p,rgb:d,onChange:g})))};d.propTypes={colors:o.default.arrayOf(o.default.string),styles:o.default.object},d.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,c.ColorWrap)(d)},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},a="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("+kn0"),l=n("jESh"),u=(r=l)&&r.__esModule?r:{default:r},c=n("nEr6");function s(e){this.rules=null,this._messages=c.messages,this.define(e)}s.prototype={messages:function(e){return e&&(this._messages=(0,i.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":a(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,u=n,f=r;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(u.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.deepMerge)(d,u.messages),u.messages=d}else u.messages=this.messages();var h=void 0,y=void 0,b={},v=u.keys||Object.keys(this.rules);v.forEach((function(n){h=t.rules[n],y=l[n],h.forEach((function(r){var a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),y=l[n]=a.transform(y)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(b[n]=b[n]||[],b[n].push({rule:a,value:y,source:l,field:n}))}))}));var m={};return(0,i.asyncMap)(b,u,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),!u.suppressWarning&&c.length&&s.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,i.complementError)(n)),u.first&&c.length)return m[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):u.error?[u.error(n,(0,i.format)(u.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 h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(l.bind(null,d))}var y=new s(f);y.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),y.validate(e.value,e.rule.options||u,(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,u):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,u))?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&&!u.default.hasOwnProperty(e.type))throw new Error((0,i.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]?u.default.required:u.default[this.getType(e)]||!1}},s.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},s.warning=i.warning,s.messages=c.messages,t.default=s},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,u){var c=1&n,s=e.length,f=t.length;if(s!=f&&!(c&&f>s))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<s;){var b=e[d],v=t[d];if(i)var m=c?i(v,b,d,t,e,u):i(b,v,d,e,t,u);if(void 0!==m){if(m)continue;h=!1;break}if(y){if(!o(t,(function(e,t){if(!a(y,t)&&(b===e||l(b,e,n,i,u)))return y.push(t)}))){h=!1;break}}else if(b!==v&&!l(b,v,n,i,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},"otv/":function(e,t,n){var r=n("nmnc"),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},p8yl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var r=a(n("xkGU")),o=a(n("Zss7"));function a(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e};var i=t.toState=function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),a=n.toHsv(),i=n.toRgb(),l=n.toHex();return 0===r.s&&(r.h=t||0,a.h=t||0),{hsl:r,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:a,oldHue:e.h||t||r.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=i(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),a=n("zZ0H"),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;e.exports=i},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},"ql/k":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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,l=e.height,u=void 0===l?24:l,c=e.style,s=void 0===c?{}:c,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:a,height:u},s)},f),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 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=u(n("q1tI")),a=u(n("/FUP")),i=n("TM95"),l=u(n("Syy6"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,l=e.width,u=e.height,c=e.onChange,s=e.direction,f=e.style,p=e.renderers,d=e.pointer,h=e.className,y=void 0===h?"":h,b=(0,a.default)({default:{picker:{position:"relative",width:l,height:u},alpha:{radius:"2px",style:f}}});return o.default.createElement("div",{style:b.picker,className:"alpha-picker "+y},o.default.createElement(i.Alpha,r({},b.alpha,{rgb:t,hsl:n,pointer:d,renderers:p,onChange:c,direction:s})))};c.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(c)},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),l=n("17x9"),u=n("H84U"),c=n("o/2+"),s=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"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},y=[],b=-1,v={},m={dispatch:function(e){return v=e,!(y.length<1)&&(y.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===y.length&&this.register();var t=(++b).toString();return y.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(y=y.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return r.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return r.register(h[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 x(){return(x=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 O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(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 j(){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 P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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},_=Object(s.a)("top","middle","bottom","stretch"),R=Object(s.a)("start","end","center","space-around","space-between"),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&&E(e,t)}(s,e);var t,n,r,a,l=(t=s,function(){var e,n=P(t);if(j()){var r=P(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function s(){var e;return O(this,s),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,u=a.type,s=a.justify,f=a.align,p=a.className,d=a.style,h=a.children,y=k(a,["prefixCls","type","justify","align","className","style","children"]),b=r("row",l),v=e.getGutter(),m=i()((w(n={},b,!u),w(n,"".concat(b,"-").concat(u),u),w(n,"".concat(b,"-").concat(u,"-").concat(s),u&&s),w(n,"".concat(b,"-").concat(u,"-").concat(f),u&&f),n),p),g=x(x(x({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),O=x({},y);return delete O.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",x({},O,{className:m,style:g}),h))},e}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=m.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(){m.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 a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&C(n.prototype,r),a&&C(n,a),s}(o.Component);F.defaultProps={gutter:0},F.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(_),justify:l.oneOf(R),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rJ8t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("QkVN")),l=s(n("p8yl")),u=n("TM95"),c=s(n("uDUr"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.hex,s=e.colors,f=e.width,p=e.triangle,d=e.styles,h=void 0===d?{}:d,y=e.className,b=void 0===y?"":y,v="transparent"===o,m=function(e,n){l.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},g=(0,a.default)((0,i.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:l.default.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===p});return r.default.createElement("div",{style:g.card,className:"block-picker "+b},r.default.createElement("div",{style:g.triangle}),r.default.createElement("div",{style:g.head},v&&r.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),r.default.createElement("div",{style:g.label},o)),r.default.createElement("div",{style:g.body},r.default.createElement(c.default,{colors:s,onClick:m,onSwatchHover:n}),r.default.createElement(u.EditableInput,{style:{input:g.input},value:o,onChange:m})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["top","hide"]),styles:o.default.object},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},t.default=(0,u.ColorWrap)(f)},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,i,a)};var r=a(n("LIAx")),o=a(n("i8i4"));function a(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},sVjb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(){var e=(0,o.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.default.createElement("div",{style:e.pointer},r.default.createElement("div",{style:e.left},r.default.createElement("div",{style:e.leftInside})),r.default.createElement("div",{style:e.right},r.default.createElement("div",{style:e.rightInside})))};t.default=i},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var u=1&n,c=r(e),s=c.length;if(s!=r(t).length&&!u)return!1;for(var f=s;f--;){var p=c[f];if(!(u?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var y=u;++f<s;){var b=e[p=c[f]],v=t[p];if(a)var m=u?a(v,b,p,t,e,l):a(b,v,p,e,t,l);if(!(void 0===m?b===v||i(b,v,n,a,l):m)){h=!1;break}y||(y="constructor"==p)}if(h&&!y){var g=e.constructor,x=t.constructor;g==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof x&&x instanceof x||(h=!1)}return l.delete(e),l.delete(t),h}},srvI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){var o=r.clientWidth,a=r.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(r.getBoundingClientRect().left+window.pageXOffset),c=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var s=void 0;if(c<0)s=359;else if(c>a)s=0;else{s=360*(-100*c/a+100)/100}if(n.h!==s)return{h:s,s:n.s,l:n.l,a:n.a,source:"rgb"}}else{var f=void 0;if(u<0)f=0;else if(u>o)f=359;else{f=360*(100*u/o)/100}if(n.h!==f)return{h:f,s:n.s,l:n.l,a:n.a,source:"rgb"}}return null}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},t33a:function(e,t,n){"use strict";e.exports={}},t8r4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var r=p(n("q1tI")),o=p(n("17x9")),a=p(n("/FUP")),i=p(n("3WF5")),l=p(n("QkVN")),u=p(n("p8yl")),c=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("wME1")),s=n("TM95"),f=p(n("Efrf"));function p(e){return e&&e.__esModule?e:{default:e}}var d=t.Swatches=function(e){var t=e.width,n=e.height,o=e.onChange,c=e.onSwatchHover,p=e.colors,d=e.hex,h=e.styles,y=void 0===h?{}:h,b=e.className,v=void 0===b?"":b,m=(0,a.default)((0,l.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},y)),g=function(e,t){u.default.isValidHex(e)&&o({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:m.picker,className:"swatches-picker "+v},r.default.createElement(s.Raised,null,r.default.createElement("div",{style:m.overflow},r.default.createElement("div",{style:m.body},(0,i.default)(p,(function(e){return r.default.createElement(f.default,{key:e.toString(),group:e,active:d,onClick:g,onSwatchHover:c})})),r.default.createElement("div",{style:m.clear})))))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.arrayOf(o.default.string)),styles:o.default.object},d.defaultProps={width:320,height:240,colors:[[c.red[900],c.red[700],c.red[500],c.red[300],c.red[100]],[c.pink[900],c.pink[700],c.pink[500],c.pink[300],c.pink[100]],[c.purple[900],c.purple[700],c.purple[500],c.purple[300],c.purple[100]],[c.deepPurple[900],c.deepPurple[700],c.deepPurple[500],c.deepPurple[300],c.deepPurple[100]],[c.indigo[900],c.indigo[700],c.indigo[500],c.indigo[300],c.indigo[100]],[c.blue[900],c.blue[700],c.blue[500],c.blue[300],c.blue[100]],[c.lightBlue[900],c.lightBlue[700],c.lightBlue[500],c.lightBlue[300],c.lightBlue[100]],[c.cyan[900],c.cyan[700],c.cyan[500],c.cyan[300],c.cyan[100]],[c.teal[900],c.teal[700],c.teal[500],c.teal[300],c.teal[100]],["#194D33",c.green[700],c.green[500],c.green[300],c.green[100]],[c.lightGreen[900],c.lightGreen[700],c.lightGreen[500],c.lightGreen[300],c.lightGreen[100]],[c.lime[900],c.lime[700],c.lime[500],c.lime[300],c.lime[100]],[c.yellow[900],c.yellow[700],c.yellow[500],c.yellow[300],c.yellow[100]],[c.amber[900],c.amber[700],c.amber[500],c.amber[300],c.amber[100]],[c.orange[900],c.orange[700],c.orange[500],c.orange[300],c.orange[100]],[c.deepOrange[900],c.deepOrange[700],c.deepOrange[500],c.deepOrange[300],c.deepOrange[100]],[c.brown[900],c.brown[700],c.brown[500],c.brown[300],c.brown[100]],[c.blueGrey[900],c.blueGrey[700],c.blueGrey[500],c.blueGrey[300],c.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,s.ColorWrap)(d)},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},trA2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(e){var t=e.direction,n=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.default.createElement("div",{style:n.picker})};t.default=i},tu5P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointerCircle=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},uDUr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("3WF5")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,l=e.onSwatchHover,u=(0,o.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.default.createElement("div",{style:u.swatches},(0,a.default)(t,(function(e){return r.default.createElement(i.Swatch,{key:e,color:e,style:u.swatch,onClick:n,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.default.createElement("div",{style:u.clear}))};t.default=u},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vXNv:function(e,t,n){},"w/wX":function(e,t,n){var r=n("QqLw"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),a=n("6RRn"),i=n.n(a),l=n("17x9"),u=n("TSYQ"),c=n.n(u),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),h=n("1j5w"),y=n("Yf6U"),b=n.n(y),v=n("jsC+"),m=n("CtXQ"),g=n("kaz8"),x=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function O(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(n);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 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 S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=E({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=j(e[n],t,n)),E(E({},t(e,r)),o)}))}function P(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=P(n.children,t);e.push.apply(e,O(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=E({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var V=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&&N(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=I(t);if(A()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(T(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,a=n.locale,i=n.prefixCls,l=n.selectedKeys,u=l&&l.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(u));var f=c()((F(e={},"".concat(i,"-selected"),"filtered"in o?o.filtered:u),F(e,"".concat(i,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||a.filterTitle,className:c()("".concat(i,"-icon"),f,s.props.className),onClick:B}):r.createElement("span",{className:c()("".concat(i,"-icon"),f)},s):r.createElement(m.default,{title:a.filterTitle,type:"filter",theme:"filled",className:f,onClick:B})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,a=o.selectedKeys,i=o.valueKeys,l=t.filterDropdown;f()(a,n)||r(t,l?a:a.map((function(e){return i[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,a=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,i=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),l=c()("".concat(a,"-dropdown-submenu"),F({},"".concat(o,"-submenu-contain-selected"),i));return r.createElement(h.d,{title:e.text,popupClassName:l,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,a=(n||[]).map((function(e){return e.toString()})),i=o?r.createElement(g.default,{checked:a.indexOf(e.value.toString())>=0}):r.createElement(x.default,{checked:a.indexOf(e.value.toString())>=0});return r.createElement(h.b,{key:e.value},i,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,a=n.locale,i=n.prefixCls,l=n.dropdownPrefixCls,u=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=c()(F({},"".concat(l,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(l,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(i,"-dropdown")},p):r.createElement(w,{className:"".concat(i,"-dropdown")},r.createElement(h.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(l,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:u},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(i,"-dropdown-btns")},r.createElement("a",{className:"".concat(i,"-dropdown-link confirm"),onClick:this.handleConfirm},a.filterConfirm),r.createElement("a",{className:"".concat(i,"-dropdown-link clear"),onClick:this.handleClearFilters},a.filterReset)));return r.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:u,forceRender:!0},this.renderFilterIcon())}}])&&M(n.prototype,o),a&&M(n,a),l}(r.Component);V.defaultProps={column:{}},Object(p.polyfill)(V);var L=V;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 q(e){return(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})(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 G(e,t){for(var n=0;n<t.length;n++){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 W(e,t){return!t||"object"!==q(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 U(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y=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=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=X(t);if(U()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return W(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).state={checked:t.getCheckState(e)},t}return n=l,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Y(e,["type","rowIndex"]),a=this.state.checked;return"radio"===t?r.createElement(x.default,z({checked:a,value:n},o)):r.createElement(g.default,z({checked:a},o))}}])&&G(n.prototype,o),a&&G(n,a),l}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ae(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,a=e.type;return e.byDefaultChecked?o[a]((function(e,t){return n(e,t).defaultChecked})):o[a]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ie(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ae(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ae(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function le(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=le(e),r=ie(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=le(e),n=ie(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,a=o.disabled,i=o.prefixCls,l=o.selections,u=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(i,"-selection"),h=null;if(l){var y=Array.isArray(l)?this.defaultSelections.concat(l):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(y));h=y.length>0?r.createElement(v.default,{overlay:b,getPopupContainer:u},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(m.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:c()((e={},t="".concat(d,"-select-all-custom"),n=h,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:a,onChange:this.handleSelectAllChange}),h)}}])&&$(n.prototype,o),a&&$(n,a),l}(r.Component);Object(p.polyfill)(ue);var ce=ue;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 he(){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 ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=ye(t);if(he()){var r=ye(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);function ve(e){return(ve="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 me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e,t){return!t||"object"!==ve(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(){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 Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ge(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Oe(t);if(we()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xe(this,e)});function r(){return me(this,r),n.apply(this,arguments)}return r}(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 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 je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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 t&&ke(e.prototype,t),n&&ke(e,n),e}function Re(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&&Fe(e,t)}function Fe(e,t){return(Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Te(e);if(De()){var r=Te(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ne(this,t)}}function Ne(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 De(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(a,t);var n=Me(a);function a(e){var t;Pe(this,a),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(a,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=c()(this.props.className,je({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,Se(Se({},t),{className:n}),this.props.children)}}]),a}(r.Component);return t}Ce.__ANT_TABLE_COLUMN_GROUP=!0;var Ie=n("61SU"),Be=n.n(Ie);function Ve(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}function Le(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}var He=n("NUBc"),qe=n("W9HT"),ze=n("gDlH"),Ge=n("YMnH"),Ke=n("ZvpZ"),We=n("H84U"),Ue=n("6CfX");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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function at(){return(at=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 it=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 lt(){}function ut(e){e.stopPropagation()}function ct(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:lt,onShowSizeChange:lt},dt={},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return at(at({},e),{body:at(at({},e.body),{row:Ae(t)})})};function yt(e,t){return P(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return yt(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var a;Qe(this,n),(a=t.call(this,e)).setTableRef=function(e){a.rcTable=e},a.getCheckboxPropsByItem=function(e,t){var n=ct(a.props);if(!n.getCheckboxProps)return{};var r=a.getRecordKey(e,t);if(!a.props.checkboxPropsCache[r]){a.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=a.props.checkboxPropsCache[r];Object(Ue.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return a.props.checkboxPropsCache[r]},a.getRecordKey=function(e,t){var n=a.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Ue.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},a.onRow=function(e,t,n){var r=a.props.onRow;return at(at({},r?r(t,n):{}),{prefixCls:e,store:a.props.store,rowKey:a.getRecordKey(t,n)})},a.generatePopupContainerFunc=function(e){var t=a.props.scroll,n=a.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},a.scrollToFirstRow=function(){var e=a.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,a=t.duration,i=void 0===a?450:a,l=r(),u=Ve(l,!0),c=Date.now(),s=function t(){var n=Date.now()-c,r=Le(n>i?i:n,u,e,i);l===window?window.scrollTo(window.pageXOffset,r):l.scrollTop=r,n<i?Be()(t):"function"==typeof o&&o()};Be()(s)}(0,{getContainer:function(){return a.rcTable.bodyTable}})},a.handleFilter=function(e,t){var n=a.props,r=at({},a.state.pagination),o=at(at({},a.state.filters),Ye({},st(e),t)),i=[];j(a.state.columns,(function(e){e.children||i.push(st(e))})),Object.keys(o).forEach((function(e){i.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var l={pagination:r,filters:{}},u=at({},o);yt(a.state).forEach((function(e){var t=st(e);t&&delete u[t]})),Object.keys(u).length>0&&(l.filters=u),"object"===Xe(n.pagination)&&"current"in n.pagination&&(l.pagination=at(at({},r),{current:a.state.pagination.current})),a.setState(l,(function(){a.scrollToFirstRow(),a.props.store.setState({selectionDirty:!1});var e=a.props.onChange;e&&e.apply(null,a.prepareParamsArguments(at(at({},a.state),{selectionDirty:!1,filters:o,pagination:r})))}))},a.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,i=a.props.store.getState().selectionDirty?[]:a.getDefaultSelection(),l=a.props.store.getState().selectedRowKeys.concat(i),u=a.getRecordKey(e,t),c=a.state.pivot,s=a.getFlatCurrentPageData(),f=t;if(a.props.expandedRowRender&&(f=s.findIndex((function(e){return a.getRecordKey(e,t)===u}))),o.shiftKey&&void 0!==c&&f!==c){for(var p=[],d=Math.sign(c-f),h=Math.abs(c-f),y=0,b=function(){var e=f+y*d;y+=1;var t=s[e],n=a.getRecordKey(t,e);a.getCheckboxPropsByItem(t,e).disabled||(l.includes(n)?r||(l=l.filter((function(e){return n!==e})),p.push(n)):r&&(l.push(n),p.push(n)))};y<=h;)b();a.setState({pivot:f}),a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(l,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?l.push(a.getRecordKey(e,f)):l=l.filter((function(e){return u!==e})),a.setState({pivot:f}),a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(l,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},a.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,i=[a.getRecordKey(e,t)];a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},a.handleSelectRow=function(e,t,n){var r,o=a.getFlatCurrentPageData(),i=a.props.store.getState().selectionDirty?[]:a.getDefaultSelection(),l=a.props.store.getState().selectedRowKeys.concat(i),u=o.filter((function(e,t){return!a.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return a.getRecordKey(e,t)})),c=[],s="onSelectAll";switch(e){case"all":u.forEach((function(e){l.indexOf(e)<0&&(l.push(e),c.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":u.forEach((function(e){l.indexOf(e)>=0&&(l.splice(l.indexOf(e),1),c.push(e))})),s="onSelectAll",r=!1;break;case"invert":u.forEach((function(e){l.indexOf(e)<0?l.push(e):l.splice(l.indexOf(e),1),c.push(e),s="onSelectInvert"}))}a.props.store.setState({selectionDirty:!0});var f=a.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(u);a.setSelectedRowKeys(l,{selectWay:s,checked:r,changeRowKeys:c})},a.handlePageChange=function(e){var t=a.props,n=at({},a.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n.onChange.apply(n,[n.current].concat(o));var l={pagination:n};t.pagination&&"object"===Xe(t.pagination)&&"current"in t.pagination&&(l.pagination=at(at({},n),{current:a.state.pagination.current})),a.setState(l,a.scrollToFirstRow),a.props.store.setState({selectionDirty:!1});var u=a.props.onChange;u&&u.apply(null,a.prepareParamsArguments(at(at({},a.state),{selectionDirty:!1,pagination:n})))},a.handleShowSizeChange=function(e,t){var n=a.state.pagination;n.onShowSizeChange(e,t);var r=at(at({},n),{pageSize:t,current:e});a.setState({pagination:r},a.scrollToFirstRow);var o=a.props.onChange;o&&o.apply(null,a.prepareParamsArguments(at(at({},a.state),{pagination:r})))},a.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,a=t.needIndentSpaced,i=t.record,l=t.onExpand;return n?r.createElement(Ge.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(t){var n;return r.createElement(ze.a,{className:c()("".concat(e,"-row-expand-icon"),(n={},Ye(n,"".concat(e,"-row-collapsed"),!o),Ye(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){l(i,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):a?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},a.renderSelectionBox=function(e){return function(t,n,o){var i=a.getRecordKey(n,o),l=a.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:ut},r.createElement(Q,at({type:e,store:a.props.store,rowIndex:i,onChange:function(t){return"radio"===e?a.handleRadioSelect(n,o,t):a.handleSelect(n,o,t)},defaultSelection:a.getDefaultSelection()},l)))}},a.renderTable=function(e){var t,n=e.prefixCls,l=e.renderEmpty,u=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=a.props,d=p.showHeader,h=p.locale,y=p.getPopupContainer,b=it(p,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(b,["style"]),m=a.getCurrentPageData(),g=a.props.expandedRowRender&&!1!==a.props.expandIconAsCell,x=y||f,w=at(at({},s),h);h&&h.emptyText||(w.emptyText=l("Table"));var O=c()("".concat(n,"-").concat(a.props.size),(Ye(t={},"".concat(n,"-bordered"),a.props.bordered),Ye(t,"".concat(n,"-empty"),!m.length),Ye(t,"".concat(n,"-without-column-header"),!d),t)),C=a.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:x}),E=a.renderColumnsDropdown({columns:C,prefixCls:n,dropdownPrefixCls:u,locale:w,getPopupContainer:x}).map((function(e,t){var n=at({},e);return n.key=st(n,t),n})),S=E[0]&&"selection-column"===E[0].key?1:0;return"expandIconColumnIndex"in v&&(S=v.expandIconColumnIndex),r.createElement(i.a,at({ref:a.setTableRef,key:"table",expandIcon:a.renderExpandIcon(n)},v,{onRow:function(e,t){return a.onRow(n,e,t)},components:a.state.components,prefixCls:n,data:m,columns:E,showHeader:d,className:O,expandIconColumnIndex:S,expandIconAsCell:g,emptyText:w.emptyText}))},a.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,i=a.props,l=i.prefixCls,u=i.dropdownPrefixCls,s=i.style,f=i.className,p=a.getCurrentPageData(),d=a.props.loading;"boolean"==typeof d&&(d={spinning:d});var h=t("table",l),y=t("dropdown",u),b=r.createElement(Ge.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(e){return a.renderTable({prefixCls:h,renderEmpty:n,dropdownPrefixCls:y,contextLocale:e,getPopupContainer:o})})),v=a.hasPagination()&&p&&0!==p.length?"".concat(h,"-with-pagination"):"".concat(h,"-without-pagination");return r.createElement("div",{className:c()("".concat(h,"-wrapper"),f),style:s},r.createElement(qe.default,at({},d,{className:d.spinning?"".concat(v," ").concat(h,"-spin-holder"):""}),a.renderPagination(h,"top"),b,a.renderPagination(h,"bottom")))};var l=e.expandedRowRender,u=e.columns;Object(Ue.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),l&&(u||[]).some((function(e){return!!e.fixed}))&&Object(Ue.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=u||k(e.children);return a.state=at(at({},a.getDefaultSortOrder(s||[])),{filters:a.getDefaultFilters(s),pagination:a.getDefaultPagination(e),pivot:void 0,prevProps:e,components:ht(e.components),columns:s}),a}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ct(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Xe(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?at(at(at({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return P(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return at(at({},P(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=P(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return S(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return S(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,a=o||[];a=a.slice(0);var i=this.getSorterFn(r);return i&&(a=this.recursiveSort(a,i)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var i=n.onFilter;a=i?a.filter((function(e){return o.some((function(t){return i(t,e)}))})):a}}})),a}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,a=t.checked,i=t.changeRowKeys,l=t.nativeEvent,u=ct(this.props);u&&!("selectedRowKeys"in u)&&this.props.store.setState({selectedRowKeys:e});var c=this.getFlatData();if(u.onChange||u[r]){var s=c.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(u.onChange&&u.onChange(e,s),"onSelect"===r&&u.onSelect)u.onSelect(o,a,s,l);else if("onSelectMultiple"===r&&u.onSelectMultiple){var f=c.filter((function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectMultiple(a,s,f)}else if("onSelectAll"===r&&u.onSelectAll){var p=c.filter((function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectAll(a,s,p)}else"onSelectInvert"===r&&u.onSelectInvert&&u.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var a=n.indexOf(o)+1;t=a===n.length?void 0:n[a]}else t=n[0];var i={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(i,this.scrollToFirstRow);var l=this.props.onChange;l&&l.apply(null,this.prepareParamsArguments(at(at({},this.state),i),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=at({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},a=t;return e.sortColumn&&e.sortOrder&&(a=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),a&&(o.field=a.dataIndex,o.columnKey=st(a)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return j(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?at(at({},e),Ye({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var a=o.position||"bottom",i=o.total||this.getLocalData().length;return i>0&&(a===t||"both"===a)?r.createElement(He.default,at({key:"pagination-".concat(t)},o,{className:c()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:i,size:n,current:this.getMaxCurrent(i),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,i=e.getPopupContainer,l=this.props.rowSelection,u=this.state.columns.concat();if(l){var s=this.getFlatCurrentPageData().filter((function(e,n){return!l.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=c()("".concat(n,"-selection-column"),Ye({},"".concat(n,"-selection-column-custom"),l.selections)),p=Ye({key:"selection-column",render:this.renderSelectionBox(l.type),className:f,fixed:l.fixed,width:l.columnWidth,title:l.columnTitle},a.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==l.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ce,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:l.selections,hideDefaultSelections:l.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(i)})}"fixed"in l?p.fixed=l.fixed:u.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),u[0]&&"selection-column"===u[0].key?u[0]=p:u.unshift(p)}return u}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,a=e.columns,i=e.locale,l=e.getPopupContainer,u=this.state,s=u.sortOrder,f=u.filters;return j(a,(function(e,a){var u,p,d,h=st(e,a),y=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=h in f?f[h]:[];p=r.createElement(L,{locale:i,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(l),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,x=b&&"ascend"===s,w=b&&"descend"===s,O=-1!==g.indexOf("ascend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-up ").concat(x?"on":"off"),type:"caret-up",theme:"filled"}),C=-1!==g.indexOf("descend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:i.sortTitle,className:c()("".concat(n,"-column-sorter-inner"),O&&C&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},O,C),y=function(n){var r={};e.onHeaderCell&&(r=at({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return at(at({},e),{className:c()(e.className,(u={},Ye(u,"".concat(n,"-column-has-actions"),d||p),Ye(u,"".concat(n,"-column-has-filters"),p),Ye(u,"".concat(n,"-column-has-sorters"),d),Ye(u,"".concat(n,"-column-sort"),b&&s),u)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:y})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(We.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,a=e.columns||k(e.children),i=at(at({},t),{prevProps:e,columns:a});if("pagination"in e||"pagination"in o){var l=at(at(at({},pt),t.pagination),e.pagination);l.current=l.current||1,l.pageSize=l.pageSize||10,i=at(at({},i),{pagination:!1!==e.pagination?l:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),yt(i,i.columns).length>0){var u=bt(i,i.columns),c=at({},i.filters);Object.keys(u).forEach((function(e){c[e]=u[e]})),n=i,r=c,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(i=at(at({},i),{filters:c}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=ht(e.components);i=at(at({},i),{components:s})}return i}}]),n}(r.Component);vt.propTypes={dataSource:l.array,columns:l.array,prefixCls:l.string,useFixedHeader:l.bool,rowSelection:l.object,className:l.string,size:l.string,loading:l.oneOfType([l.bool,l.object]),bordered:l.bool,onChange:l.func,locale:l.object,dropdownPrefixCls:l.string,sortDirections:l.array,getPopupContainer:l.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(vt);var mt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,a,i;return Qe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ct(e).selectedRowKeys||[],selectionDirty:!1},a=o,i=[],{setState:function(e){a=H(H({},a),e);for(var t=0;t<i.length;t++)i[t]()},getState:function(){return a},subscribe:function(e){return i.push(e),function(){var t=i.indexOf(e);i.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(vt,at({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);mt.displayName="withStore(Table)",mt.Column=be,mt.ColumnGroup=Ce;var gt=mt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),h=f(n("17x9")),y=p(n("Gytx")),b=p(n("rsGM")),v=p(n("cOkC")),m=n("xI0J"),g=p(n("QkVN")),x=p(n("PFWz")),w=p(n("TSYQ")),O=n("VCL8"),C=n("6Ogq"),E=p(n("BjZs")),S=p(n("Cit5")),j=p(n("YqDF")),P=p(n("BC81")),k=p(n("AHJs")),_=p(n("PZDY")),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&&i(e,t)}(h,e);var t,n,r,f,p=(t=h,function(){var e,n=s(t);if(c()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],a=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),i=t.store.getState(),l=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||i.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});y.default(i.fixedColumnsHeadRowsHeight,a)&&y.default(i.fixedColumnsBodyRowsHeight,l)||t.store.setState({fixedColumnsHeadRowsHeight:a,fixedColumnsBodyRowsHeight:l})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,a=u(t),i=a.headTable,l=a.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===l&&i?i.scrollLeft=n.scrollLeft:n===i&&l&&(l.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,a=u(t),i=a.headTable,l=a.bodyTable,c=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==i){var f=n.scrollTop;c&&n!==c&&(c.scrollTop=f),s&&n!==s&&(s.scrollTop=f),l&&n!==l&&(l.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,a=e.target,i=u(t),l=i.bodyTable,c=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,c&&a!==c&&(e.preventDefault(),c.scrollTop=f),s&&a!==s&&(e.preventDefault(),s.scrollTop=f),l&&a!==l&&(e.preventDefault(),l.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new E.default(e.columns,e.children),t.store=m.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=C.debounce(t.handleWindowResize,150),t}return n=h,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?x.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):x.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,a=e.scroll,i=void 0===a?{}:a;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||i.y||i.x&&!0!==i.x&&"max-content"!==i.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,a=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},a):a}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,a=o.prefixCls,i=o.scroll,l=(void 0===i?{}:i).x||n?"".concat(a,"-fixed"):"";return[d.createElement(S.default,{key:"head",columns:t,fixed:n,tableClassName:l,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(j.default,{key:"body",columns:t,fixed:n,tableClassName:l,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var a=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),i=this.columnManager.isAnyColumnsLeftFixed(),l=this.columnManager.isAnyColumnsRightFixed(),u=C.getDataAndAriaProps(n);return d.createElement(m.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:a,style:n.style,id:n.id},u),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),i&&t.renderLeftFixedTable(),l&&t.renderRightFixedTable()))})))}}])&&a(n.prototype,r),f&&a(n,f),h}(d.Component);R.childContextTypes={table:h.any,components:h.any},R.Column=P.default,R.ColumnGroup=k.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},O.polyfill(R),t.default=R},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},wME1:function(e,t,n){"use strict";n.r(t),n.d(t,"red",(function(){return r})),n.d(t,"pink",(function(){return o})),n.d(t,"purple",(function(){return a})),n.d(t,"deepPurple",(function(){return i})),n.d(t,"indigo",(function(){return l})),n.d(t,"blue",(function(){return u})),n.d(t,"lightBlue",(function(){return c})),n.d(t,"cyan",(function(){return s})),n.d(t,"teal",(function(){return f})),n.d(t,"green",(function(){return p})),n.d(t,"lightGreen",(function(){return d})),n.d(t,"lime",(function(){return h})),n.d(t,"yellow",(function(){return y})),n.d(t,"amber",(function(){return b})),n.d(t,"orange",(function(){return v})),n.d(t,"deepOrange",(function(){return m})),n.d(t,"brown",(function(){return g})),n.d(t,"grey",(function(){return x})),n.d(t,"blueGrey",(function(){return w})),n.d(t,"darkText",(function(){return O})),n.d(t,"lightText",(function(){return C})),n.d(t,"darkIcons",(function(){return E})),n.d(t,"lightIcons",(function(){return S})),n.d(t,"white",(function(){return j})),n.d(t,"black",(function(){return P}));var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},a={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},s={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},y={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},b={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},m={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},g={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},O={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},C={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},S={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},j="#ffffff",P="#000000";t.default={red:r,pink:o,purple:a,deepPurple:i,indigo:l,blue:u,lightBlue:c,cyan:s,teal:f,green:p,lightGreen:d,lime:h,yellow:y,amber:b,orange:v,deepOrange:m,brown:g,grey:x,blueGrey:w,darkText:O,lightText:C,darkIcons:E,lightIcons:S,white:j,black:P}},wZXL:function(e,t,n){var r=n("vPd/"),o=n("IX3V"),a=o.each,i=o.isFunction,l=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var o=this.queries,u=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,u)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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=u},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},wkyg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 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=s(n("q1tI")),a=s(n("17x9")),i=s(n("/FUP")),l=s(n("QkVN")),u=n("TM95"),c=s(n("trA2"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.HuePicker=function(e){var t=e.width,n=e.height,a=e.onChange,c=e.hsl,s=e.direction,f=e.pointer,p=e.styles,d=void 0===p?{}:p,h=e.className,y=void 0===h?"":h,b=(0,i.default)((0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},d));return o.default.createElement("div",{style:b.picker,className:"hue-picker "+y},o.default.createElement(u.Hue,r({},b.hue,{hsl:c,pointer:f,onChange:function(e){return a({a:1,h:e.h,l:.5,s:1})},direction:s})))};f.propTypes={styles:a.default.object},f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:c.default,styles:{}},t.default=(0,u.ColorWrap)(f)},wrZu:function(e,t,n){var r=n("+K+b"),o=n("XYm9"),a=n("b2z7"),i=n("otv/"),l=n("yP5f");e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return a(e);case"[object Set]":return new u;case"[object Symbol]":return i(e)}}},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),u=n.n(l),c=n("FYw3"),s=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),b=n.n(y),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),x=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,u=t.id,c=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,x=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(x).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=x[t]),e}),{}),O=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:C,style:a},h.a.createElement("input",i()({name:l,id:u,type:c,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},w)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);x.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},x.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(x);var w=x;t.a=w},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},xbjo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var r=l(n("q1tI")),o=n("/FUP"),a=l(o),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,o=e.onSwatchHover,l=e.hover,u=e.active,c=e.circleSize,s=e.circleSpacing,f=(0,a.default)({default:{swatch:{width:c,height:c,marginRight:s,marginBottom:s,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:l,active:u});return r.default.createElement("div",{style:f.swatch},r.default.createElement(i.Swatch,{style:f.Swatch,color:t,onClick:n,onHover:o,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,o.handleHover)(u)},xkGU:function(e,t,n){e.exports=n("bNQv")},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},yHx3:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},yOY4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 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=s(a),l=s(n("/FUP")),u=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("THLb")),c=s(n("Nq3d"));function s(e){return e&&e.__esModule?e:{default:e}}function f(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 d=t.Alpha=function(e){function t(){var e,n,r;f(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=u.calculateChange(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},p(r,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:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.default.createElement("div",{style:n.alpha},i.default.createElement("div",{style:n.checkboard},i.default.createElement(c.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:n.gradient}),i.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:n.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:n.slider}))))}}]),t}(a.PureComponent||a.Component);t.default=d},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zEVN:function(e,t,n){var r=n("Gi0A"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isMap,l=i?o(i):r;e.exports=l},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),a=r(n("17x9")),i=n("6Ogq"),l=function(e,t){var n,r=t.table,a=r.props,l=a.prefixCls,u=a.expandIconAsCell,c=e.fixed,s=[];return u&&"right"!==c&&s.push(o.createElement("col",{className:"".concat(l,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===c?r.columnManager.leftLeafColumns():"right"===c?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,a=e[i.INTERNAL_COL_DEFINE],l=void 0!==t?t:n;return o.createElement("col",Object.assign({key:l,style:{width:r,minWidth:r}},a))}))),o.createElement("colgroup",null,s)};l.contextTypes={table:a.any},t.default=l},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(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 u(){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 s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),h=f(n("0hpf")),y=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)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=c(t);if(u()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,a=r.expanded,i=r.rowKey;e.expandable&&o(!a,t,n,i)},e.handleRowClick=function(t,n,r){var o=e.props,a=o.expandRowByClick,i=o.onRowClick;a&&e.handleExpandChange(t,r),i&&i(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,a=t.needIndentSpaced,i=t.expandIcon;return i?i({prefixCls:n,expanded:r,record:o,needIndentSpaced:a,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(h.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:a,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,a=e.fixed,i=e.expanded;this.expandIconAsCell="right"!==a&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==a?this.props.expandIconColumnIndex:-1;var l=o[t];this.expandable=!(!l&&!n);var u={indentSize:r,expanded:i,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(u)}}])&&a(n.prototype,r),s&&a(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(y)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[17,4,5,9,73,78],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),a=n("cq/+"),i=n("T1AV"),l=n("GoyQ"),u=n("mTTR"),c=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&a(n,(function(a,u){if(p||(p=new r),l(a))i(t,n,u,s,e,f,p);else{var d=f?f(c(t,u),a,u+"",t,n,p):void 0;void 0===d&&(d=a),o(t,u,d)}}),u)}},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),a=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:r(o(e))}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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}})),u=t[r];r<i;u=t[++r])l+=" "+u;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 a=Object.keys(e),u=a.length,c=0,s=[],f=new Promise((function(t,f){var p=function(e){if(s.push.apply(s,e),++c===u)return r(s),s.length?f({errors:s,fields:i(s)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/FUP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=c(n("W3HW")),o=c(n("lreK")),a=c(n("KfSR")),i=c(n("VYtm")),l=c(n("XQvf")),u=c(n("B5Mt"));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=i.default,t.handleHover=i.default,t.handleActive=l.default,t.loop=u.default;var s=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var l=(0,r.default)(n),u=(0,o.default)(e,l);return(0,a.default)(u)};t.default=s},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),l=n("o/2+"),u=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 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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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},x=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&&h(e,t)}(w,e);var t,n,o,a,x=(t=w,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function w(){var e;return p(this,w),(e=x.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=b(e).props,u=a.prefixCls,p=a.span,d=a.order,h=a.offset,y=a.push,v=a.pull,m=a.className,x=a.children,w=g(a,["prefixCls","span","order","offset","push","pull","className","children"]),O=o("col",u),C={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],C=s(s({},C),(c(t={},"".concat(O,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(O,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(O,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(O,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(O,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var E=i()(O,(c(n={},"".concat(O,"-").concat(p),void 0!==p),c(n,"".concat(O,"-order-").concat(d),d),c(n,"".concat(O,"-offset-").concat(h),h),c(n,"".concat(O,"-push-").concat(y),y),c(n,"".concat(O,"-pull-").concat(v),v),n),m,C);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=w.style;return t&&(n=s(s(s({},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",s({},w,{style:n,className:E}),x)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(u.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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:x,sm:x,md:x,lg:x,xl:x,xxl:x}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(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 u(){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 s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),h=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)}(h,e);var t,n,r,s,f=(t=h,function(){var e,n=c(t);if(u()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function h(){return o(this,h),f.apply(this,arguments)}return n=h,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,a=e.expanded,i=e.record;if(t){var l=a?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(l),onClick:function(e){return r(i,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&a(n.prototype,r),s&&a(n,s),h}(p.Component);t.default=h},"0ycA":function(e,t){e.exports=function(){return[]}},"1+5i":function(e,t,n){var r=n("w/wX"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isSet,l=i?o(i):r;e.exports=l},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(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 c(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 s=function(e){function t(){return u(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=s},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,l){if(!e){var u;if(void 0===t)u=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,a,i,l],s=0;(u=new Error(t.replace(/%s/g,(function(){return c[s++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var i=s(n);f&&(i=i.concat(f(n)));for(var l=u(t),y=u(n),b=0;b<i.length;++b){var v=i[b];if(!(a[v]||r&&r[v]||y&&y[v]||l&&l[v])){var m=p(n,v);try{c(t,v,m)}catch(e){}}}}return t}},"2zpl":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,a=(0,o.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.default.createElement("div",null,r.default.createElement("div",{style:a.label},"new"),r.default.createElement("div",{style:a.swatches},r.default.createElement("div",{style:a.new}),r.default.createElement("div",{style:a.current})),r.default.createElement("div",{style:a.label},"current"))};t.default=i},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"3WF5":function(e,t,n){var r=n("eUgh"),o=n("ut/Y"),a=n("l9OW"),i=n("Z0cm");e.exports=function(e,t){return(i(e)?r:a)(e,o(t,3))}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4qC0":function(e,t,n){var r=n("NykK"),o=n("Z0cm"),a=n("ExA7");e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==r(e)}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=n("wJg7"),l=n("shjB"),u=n("9Nap");e.exports=function(e,t,n){for(var c=-1,s=(t=r(t,e)).length,f=!1;++c<s;){var p=u(t[c]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++c!=s?f:!!(s=null==e?0:e.length)&&l(s)&&i(p,s)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?r.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6JOy":function(e,t,n){},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var a={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,i=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var l="vertical"===n;if(l&&r)return r;if(!l&&o)return o;var u=document.createElement("div");Object.keys(a).forEach((function(e){u.style[e]=a[e]})),u.className="".concat(i,"-hide-scrollbar scroll-div-append-to-body"),l?u.style.overflowY="scroll":u.style.overflowX="scroll",document.body.appendChild(u);var c=0;return l?(c=u.offsetWidth-u.clientWidth,r=c):(c=u.offsetHeight-u.clientHeight,o=c),document.body.removeChild(u),c},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var l=this;a[0]&&a[0].persist&&a[0].persist();var u=function(){r=null,n||e.apply(l,a)},c=n&&!r;clearTimeout(r),r=setTimeout(u,t),c&&e.apply(l,a)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),a=r(n("BC81"));t.Column=a.default;var i=r(n("AHJs"));t.ColumnGroup=i.default;var l=n("6Ogq");t.INTERNAL_COL_DEFINE=l.INTERNAL_COL_DEFINE,t.default=o.default},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"7dW+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var r=f(n("q1tI")),o=f(n("17x9")),a=f(n("/FUP")),i=f(n("3WF5")),l=f(n("QkVN")),u=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("wME1")),c=n("TM95"),s=f(n("xbjo"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Circle=function(e){var t=e.width,n=e.onChange,o=e.onSwatchHover,u=e.colors,c=e.hex,f=e.circleSize,p=e.styles,d=void 0===p?{}:p,h=e.circleSpacing,y=e.className,b=void 0===y?"":y,v=(0,a.default)((0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},d)),m=function(e,t){return n({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:v.card,className:"circle-picker "+b},(0,i.default)(u,(function(e){return r.default.createElement(s.default,{key:e,color:e,onClick:m,onSwatchHover:o,active:c===e.toLowerCase(),circleSize:f,circleSpacing:h})})))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),circleSize:o.default.number,circleSpacing:o.default.number,styles:o.default.object},p.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[u.red[500],u.pink[500],u.purple[500],u.deepPurple[500],u.indigo[500],u.blue[500],u.lightBlue[500],u.cyan[500],u.teal[500],u.green[500],u.lightGreen[500],u.lime[500],u.yellow[500],u.amber[500],u.orange[500],u.deepOrange[500],u.brown[500],u.blueGrey[500]],styles:{}},t.default=(0,c.ColorWrap)(p)},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"81by":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,l=e.hsv,u=e.hex,c=(0,o.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,r){e["#"]?a.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||l.h,s:e.s||l.s,v:e.v||l.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(l.h),onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*l.s),onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*l.v),onChange:s}),r.default.createElement("div",{style:c.divider}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:s}),r.default.createElement(i.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:s}),r.default.createElement("div",{style:c.divider}),r.default.createElement(i.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:u.replace("#",""),onChange:s}),r.default.createElement("div",{style:c.fieldSymbols},r.default.createElement("div",{style:c.symbol},"°"),r.default.createElement("div",{style:c.symbol},"%"),r.default.createElement("div",{style:c.symbol},"%")))};t.default=u},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"8J/B":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=n("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactFields=function(e){var t=e.hex,n=e.rgb,i=e.onChange,l=(0,o.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),u=function(e,t){e.r||e.g||e.b?i({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return r.default.createElement("div",{style:l.fields,className:"flexbox-fix"},r.default.createElement("div",{style:l.active}),r.default.createElement(a.EditableInput,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:t,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:n.r,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:n.g,onChange:u}),r.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:n.b,onChange:u}))};t.default=l},"9F0J":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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,l=e.height,u=void 0===l?24:l,c=e.style,s=void 0===c?{}:c,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:a,height:u},s)},f),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&a(e,t)}(r,e);var t,n=(t=r,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return i(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(c(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},Ag8Z:function(e,t,n){var r=n("JC6p"),o=n("EwQA");e.exports=function(e,t){return e&&r(e,o(t))}},AnK5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var r=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"),a=l(o),i=l(n("/FUP"));function l(e){return e&&e.__esModule?e:{default:e}}var u=[38,40],c=t.EditableInput=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));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.setUpdatedValue(e.target.value,e)},n.handleKeyDown=function(e){var t,r=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(r)&&(t=e.keyCode,u.indexOf(t)>-1)){var o=n.getArrowOffset(),a=38===e.keyCode?r+o:r-o;n.setUpdatedValue(a,e)}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},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),r(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t);var r,o=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:o?(r=e,r+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,i.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return a.default.createElement("div",{style:t.wrap},a.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?a.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=c},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B5Mt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n}},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BKMn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return r.default.createElement("div",{style:n.picker})};t.default=i},Ba7A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 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=u(n("q1tI")),a=u(n("/FUP")),i=n("japM"),l=u(n("Nq3d"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.Swatch=function(e){var t=e.color,n=e.style,i=e.onClick,u=void 0===i?function(){}:i,c=e.onHover,s=e.title,f=void 0===s?t:s,p=e.children,d=e.focus,h=e.focusStyle,y=void 0===h?{}:h,b="transparent"===t,v=(0,a.default)({default:{swatch:r({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?y:{})}}),m={};return c&&(m.onMouseOver=function(e){return c(t,e)}),o.default.createElement("div",r({style:v.swatch,onClick:function(e){return u(t,e)},title:f,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},m),p,b&&o.default.createElement(l.default,{borderRadius:v.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,i.handleFocus)(c)},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 a(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=c(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var a=[],l=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(u,c){var s=i({},u);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)l(o[n][f]);c+1===t.length&&l(s),a.push(s)})),a}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=i({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&u(t.prototype,n),o&&u(t,o),e}();t.default=f},BkRI:function(e,t,n){var r=n("OBhP");e.exports=function(e){return r(e,5)}},BmQL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var r=u(n("q1tI")),o=u(n("/FUP")),a=u(n("p8yl")),i=n("TM95"),l=u(n("ql/k"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,u=void 0===n?function(){}:n,c=e.onSwatchHover,s=e.first,f=e.last,p=e.active,d=(0,o.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:a.default.getContrastingColor(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:s,last:f,active:p,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{color:t,style:d.color,onClick:u,onHover:c,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:d.check},r.default.createElement(l.default,null)))};t.default=c},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Le}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),l=n("BGR+"),u=n("VCL8"),c=n("17x9"),s=n("foW8"),f=n.n(s),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 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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 m(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 g(){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 x(e){return(x=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)}(c,e);var t,n,a,l,u=(t=c,function(){var e,n=x(t);if(g()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function c(){var e;return y(this,c),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=t.popupClassName;return r.createElement(p.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:i()("".concat(n,"-").concat(l),a)}))}))}}])&&b(n.prototype,a),l&&b(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var O=w,C=n("3S7+"),E=n("H84U");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 j(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(n);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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 F(e,t,n){return t&&R(e.prototype,t),n&&R(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&&N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e){return function(){var t,n=I(e);if(A()){var r=I(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return T(this,t)}}function T(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 A(){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 I(e){return(I=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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function L(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){M(i,o);var a=D(i);function i(){var o;return _(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,u=i(t,l);return r.createElement(e,k({prefixCls:u,tagName:n},o.props))},o}return F(i,[{key:"render",value:function(){return r.createElement(E.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var H=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=B(e,["prefixCls","className","children","tagName"]),u=i()(n,t);return r.createElement(a,k({className:u},l),o)},q=function(e){M(n,e);var t=D(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return F(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,a=o.prefixCls,l=o.className,u=o.children,c=o.hasSider,s=o.tagName,f=B(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(s,k({className:p},f),u))}}]),n}(r.Component),z=L({suffixCls:"layout",tagName:"section",displayName:"Layout"})(q),G=L({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),K=L({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),W=L({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);z.Header=G,z.Footer=K,z.Content=W;var U=n("CtXQ"),X=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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 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,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 ue,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,u;return J(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,a=o.props,u=a.prefixCls,c=a.className,s=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,h=a.style,y=a.width,b=a.collapsedWidth,v=a.zeroWidthTriggerStyle,m=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",u),x=Object(l.a)(m,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:y,O=X(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(b||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(U.default,{type:"bars"})):null,E={expanded:p?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:p?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==d?C||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:O}},d||E):null,j=Z(Z({},h),{flex:"0 0 ".concat(O),maxWidth:O,minWidth:O,width:O}),P=i()(c,g,"".concat(g,"-").concat(s),(Q(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(g,"-has-trigger"),f&&null!==d&&!C),Q(t,"".concat(g,"-below"),!!o.state.below),Q(t,"".concat(g,"-zero-width"),0===parseFloat(O)),t));return r.createElement("aside",Z({className:P},x,{style:j}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&C?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(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(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(pe);r.Component;function de(e){return(de="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(){return(he=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){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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e,t){return!t||"object"!==de(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 ge(){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 xe(e){return(xe=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},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&&ve(e,t)}(u,e);var t,n,a,i,l=(t=u,function(){var e,n=xe(t);if(ge()){var r=xe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return me(this,e)});function u(){var e;return ye(this,u),(e=l.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,a=e.props,i=a.level,l=a.children,u=a.rootPrefixCls,c=e.props,s=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:s||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(C.default,he({},c,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),r.createElement(o.b,he({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=u,(a=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,a),i&&be(n,i),u}(r.Component);Oe.isMenuItem=!0;var Ce=n("6CfX"),Ee=n("oHiP"),Se=function(){return{height:0,opacity:0}},je=function(e){return{height:e.scrollHeight,opacity:1}},Pe={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:je,onEnterActive:je,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};function ke(e){return(ke="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 Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fe(e,t){for(var n=0;n<t.length;n++){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 Me(e,t,n){return t&&Fe(e.prototype,t),n&&Fe(e,n),e}function Ne(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)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){return function(){var t,n=Be(e);if(Ie()){var r=Be(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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 Ie(){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 Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ne(n,e);var t=Te(n);function n(e){var a,u;return Re(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,u,c=e.getPopupContainer,s=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,h=f.theme,y=f.collapsedWidth,b=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),m=a.getOpenMotionProps(v),g=s("menu",p),x=i()(d,"".concat(g,"-").concat(h),(t={},n="".concat(g,"-inline-collapsed"),u=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[n]=u,t)),w=_e({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:x,mode:v},m);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===y||"0"===y||"0px"===y)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:c},b,w,{prefixCls:g,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),a.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Me(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(Ce.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:Pe}:{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(E.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Ve);var Le=function(e){Ne(n,e);var t=Te(n);function n(){return Re(this,n),t.apply(this,arguments)}return Me(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Ve,_e({},e.props,t))}))}}]),n}(r.Component);Le.Divider=o.a,Le.Item=Oe,Le.SubMenu=O,Le.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("q1tI")),i=r(n("17x9")),l=o(n("TSYQ")),u=n("6Ogq"),c=o(n("UNrv"));function s(e,t){var n,r,o,i=t.table,s=i.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,h=e.columns,y=e.fixed,b=e.tableClassName,v=e.handleBodyScrollLeft,m=e.expander,g=i.saveRef,x=i.props.useFixedHeader,w={},O=u.measureScrollbar({direction:"vertical"});if(p.y){x=!0;var C=u.measureScrollbar({direction:"horizontal",prefixCls:f});C>0&&!y&&(w.marginBottom="-".concat(C,"px"),w.paddingBottom="0px",w.minWidth="".concat(O,"px"),w.overflowX="scroll",w.overflowY=0===O?"hidden":"scroll")}return x&&d?a.createElement("div",{key:"headTable",ref:y?null:g("headTable"),className:l.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=O>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:v},a.createElement(c.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:y,columns:h,expander:m})):null}t.default=s,s.contextTypes={table:i.any}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DRdP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopButton=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopButton=function(e){var t=e.onClick,n=e.label,a=e.children,i=e.active,l=(0,o.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return r.default.createElement("div",{style:l.button,onClick:t},n||a)};t.default=i},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,u=(l?l.isBuffer:void 0)||o;e.exports=u}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=d(n("q1tI")),b=h(n("TSYQ")),v=h(n("mwIZ"));function m(e){return e&&!y.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&c(e,t)}(h,e);var t,n,r,o,d=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function h(){var e;return l(this,h),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=h,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,l=n.prefixCls,u=n.indent,c=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,h=f.render,g=f.className,x=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?v.default(r,d):r;var w,O,C={};if(h&&m(t=h(t,r,c))){var E=C=t.props||C;w=E.colSpan,O=E.rowSpan,t=t.children}f.onCell&&(C=a({},C,{},f.onCell(r,c))),m(t)&&(t=null);var S=s?y.createElement("span",{style:{paddingLeft:"".concat(o*u,"px")},className:"".concat(l,"-indent indent-level-").concat(u)}):null;if(0===O||0===w)return null;f.align&&(C.style=a({textAlign:f.align},C.style));var j=b.default(x,(i(e={},"".concat(l,"-cell-ellipsis"),!!f.ellipsis),i(e,"".concat(l,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)C.title=t;else if(t){var P=t.props;P&&P.children&&"string"==typeof P.children&&(C.title=P.children)}return y.createElement(p,Object.assign({className:j,onClick:this.handleClick},C),S,s,t)}}])&&u(n.prototype,r),o&&u(n,o),h}(y.Component);t.default=g},"Dt+G":function(e,t,n){},"Dw+G":function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e,t){return e&&r(t,o(t),e)}},DzJC:function(e,t,n){var r=n("sEfC"),o=n("GoyQ");e.exports=function(e,t,n){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(a="leading"in n?!!n.leading:a,i="trailing"in n?!!n.trailing:i),r(e,t,{leading:a,maxWait:t,trailing:i})}},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),a=n("wclG");e.exports=function(e,t){return a(o(e,t,r),e+"")}},EEGq:function(e,t,n){var r=n("juv8"),o=n("oCl/");e.exports=function(e,t){return r(e,o(e),t)}},Efrf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("3WF5")),i=l(n("BmQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,l=e.group,u=e.active,c=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.default.createElement("div",{style:c.group},(0,a.default)(l,(function(e,o){return r.default.createElement(i.default,{key:e,color:e,active:e.toLowerCase()===u,first:0===o,last:o===l.length-1,onClick:t,onSwatchHover:n})})))};t.default=u},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},EwQA:function(e,t,n){var r=n("zZ0H");e.exports=function(e){return"function"==typeof e?e:r}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,u){if(!i(e))return e;for(var c=-1,s=(t=o(t,e)).length,f=s-1,p=e;null!=p&&++c<s;){var d=l(t[c]),h=n;if(c!=f){var y=p[d];void 0===(h=u?u(y,d,p):void 0)&&(h=i(y)?y:a(t[c+1])?[]:{})}r(p,d,h),p=p[d]}return e}},"FbP/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var r=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=h(n("q1tI")),a=h(n("17x9")),i=h(n("/FUP")),l=h(n("QkVN")),u=n("TM95"),c=h(n("81by")),s=h(n("BKMn")),f=h(n("sVjb")),p=h(n("DRdP")),d=h(n("2zpl"));function h(e){return e&&e.__esModule?e:{default:e}}var y=t.Photoshop=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));return n.state={currentColor:e.hex},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),r(t,[{key:"render",value:function(){var e=this.props,t=e.styles,n=void 0===t?{}:t,r=e.className,a=void 0===r?"":r,h=(0,i.default)((0,l.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return o.default.createElement("div",{style:h.picker,className:"photoshop-picker "+a},o.default.createElement("div",{style:h.head},this.props.header),o.default.createElement("div",{style:h.body,className:"flexbox-fix"},o.default.createElement("div",{style:h.saturation},o.default.createElement(u.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:s.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.hue},o.default.createElement(u.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.controls},o.default.createElement("div",{style:h.top,className:"flexbox-fix"},o.default.createElement("div",{style:h.previews},o.default.createElement(d.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.default.createElement("div",{style:h.actions},o.default.createElement(p.default,{label:"OK",onClick:this.props.onAccept,active:!0}),o.default.createElement(p.default,{label:"Cancel",onClick:this.props.onCancel}),o.default.createElement(c.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.default.Component);y.propTypes={header:a.default.string,styles:a.default.object},y.defaultProps={header:"Color Picker",styles:{}},t.default=(0,u.ColorWrap)(y)},G6z8:function(e,t,n){var r=n("fR/l"),o=n("oCl/"),a=n("mTTR");e.exports=function(e){return r(e,a,o)}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),u=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?u(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.messages.enum,e.fullField,e.enum.join(", ")))}},Gi0A:function(e,t,n){var r=n("QqLw"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},GiOz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SketchFields=function(e){var t=e.onChange,n=e.rgb,l=e.hsl,u=e.hex,c=e.disableAlpha,s=(0,o.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:c}),f=function(e,r){e.hex?a.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},r):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},r))};return r.default.createElement("div",{style:s.fields,className:"flexbox-fix"},r.default.createElement("div",{style:s.double},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"hex",value:u.replace("#",""),onChange:f})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.single},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:s.alpha},r.default.createElement(i.EditableInput,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=u},Gv54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("l1rO")),o=c(n("AU0A")),a=c(n("oEMi")),i=c(n("l8PK")),l=c(n("GZbg")),u=c(n("moXY"));function c(e){return e&&e.__esModule?e:{default:e}}t.default={required:r.default,whitespace:o.default,type:a.default,range:i.default,enum:l.default,pattern:u.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),u=n("rEGp"),c=r?r.prototype:void 0,s=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=u),e.size!=t.size&&!h)return!1;var y=p.get(e);if(y)return y==t;r|=2,p.set(e,t);var b=i(d(e),d(t),r,c,f,p);return p.delete(e),b;case"[object Symbol]":if(s)return s.call(e)==s.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},HTXX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 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=f(n("q1tI")),a=f(n("17x9")),i=f(n("/FUP")),l=f(n("QkVN")),u=n("TM95"),c=f(n("GiOz")),s=f(n("eHBW"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Sketch=function(e){var t=e.width,n=e.rgb,a=e.hex,f=e.hsv,p=e.hsl,d=e.onChange,h=e.onSwatchHover,y=e.disableAlpha,b=e.presetColors,v=e.renderers,m=e.styles,g=void 0===m?{}:m,x=e.className,w=void 0===x?"":x,O=(0,i.default)((0,l.default)({default:r({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},g),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},g),{disableAlpha:y});return o.default.createElement("div",{style:O.picker,className:"sketch-picker "+w},o.default.createElement("div",{style:O.saturation},o.default.createElement(u.Saturation,{style:O.Saturation,hsl:p,hsv:f,onChange:d})),o.default.createElement("div",{style:O.controls,className:"flexbox-fix"},o.default.createElement("div",{style:O.sliders},o.default.createElement("div",{style:O.hue},o.default.createElement(u.Hue,{style:O.Hue,hsl:p,onChange:d})),o.default.createElement("div",{style:O.alpha},o.default.createElement(u.Alpha,{style:O.Alpha,rgb:n,hsl:p,renderers:v,onChange:d}))),o.default.createElement("div",{style:O.color},o.default.createElement(u.Checkboard,null),o.default.createElement("div",{style:O.activeColor}))),o.default.createElement(c.default,{rgb:n,hsl:p,hex:a,onChange:d,disableAlpha:y}),o.default.createElement(s.default,{colors:b,onClick:d,onSwatchHover:h}))};p.propTypes={disableAlpha:a.default.bool,width:a.default.oneOfType([a.default.string,a.default.number]),styles:a.default.object},p.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,u.ColorWrap)(p)},HlQe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var r=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"),a=u(o),i=u(n("/FUP")),l=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("srvI"));function u(e){return e&&e.__esModule?e:{default:e}}function c(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 f=t.Hue=function(e){function t(){var e,n,r;c(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=l.calculateChange(e,r.props.direction,r.props.hsl,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},s(r,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),r(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,i.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return a.default.createElement("div",{style:r.hue},a.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),a.default.createElement("div",{style:r.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:r.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=f},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,l=o(a.length-t,0),u=Array(l);++i<l;)u[i]=a[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=a[i];return c[t]=n(u),r(e,this,c)}}},JC6p:function(e,t,n){var r=n("cq/+"),o=n("7GkX");e.exports=function(e,t){return e&&r(e,t,o)}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},JI00:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var r=f(n("q1tI")),o=f(n("17x9")),a=f(n("/FUP")),i=f(n("QkVN")),l=n("TM95"),u=f(n("Rkpk")),c=f(n("NSvM")),s=f(n("tu5P"));function f(e){return e&&e.__esModule?e:{default:e}}var p=t.Chrome=function(e){var t=e.width,n=e.onChange,o=e.disableAlpha,f=e.rgb,p=e.hsl,d=e.hsv,h=e.hex,y=e.renderers,b=e.styles,v=void 0===b?{}:b,m=e.className,g=void 0===m?"":m,x=e.defaultView,w=(0,a.default)((0,i.default)({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+f.r+", "+f.g+", "+f.b+", "+f.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},v),{disableAlpha:o});return r.default.createElement("div",{style:w.picker,className:"chrome-picker "+g},r.default.createElement("div",{style:w.saturation},r.default.createElement(l.Saturation,{style:w.Saturation,hsl:p,hsv:d,pointer:s.default,onChange:n})),r.default.createElement("div",{style:w.body},r.default.createElement("div",{style:w.controls,className:"flexbox-fix"},r.default.createElement("div",{style:w.color},r.default.createElement("div",{style:w.swatch},r.default.createElement("div",{style:w.active}),r.default.createElement(l.Checkboard,{renderers:y}))),r.default.createElement("div",{style:w.toggles},r.default.createElement("div",{style:w.hue},r.default.createElement(l.Hue,{style:w.Hue,hsl:p,pointer:c.default,onChange:n})),r.default.createElement("div",{style:w.alpha},r.default.createElement(l.Alpha,{style:w.Alpha,rgb:f,hsl:p,pointer:c.default,renderers:y,onChange:n})))),r.default.createElement(u.default,{rgb:f,hsl:p,hex:h,view:x,onChange:n,disableAlpha:o})))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),disableAlpha:o.default.bool,styles:o.default.object,defaultView:o.default.oneOf(["hex","rgb","hsl"])},p.defaultProps={width:225,disableAlpha:!1,styles:{}},t.default=(0,l.ColorWrap)(p)},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},Jxpl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var r=u(n("q1tI")),o=u(n("/FUP")),a=u(n("QkVN")),i=u(n("p8yl")),l=n("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var c=t.Material=function(e){var t=e.onChange,n=e.hex,u=e.rgb,c=e.styles,s=void 0===c?{}:c,f=e.className,p=void 0===f?"":f,d=(0,o.default)((0,a.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},s)),h=function(e,n){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||u.r,g:e.g||u.g,b:e.b||u.b,source:"rgb"},n)};return r.default.createElement(l.Raised,{styles:s},r.default.createElement("div",{style:d.material,className:"material-picker "+p},r.default.createElement(l.EditableInput,{style:{wrap:d.HEXwrap,input:d.HEXinput,label:d.HEXlabel},label:"hex",value:n,onChange:h}),r.default.createElement("div",{style:d.split,className:"flexbox-fix"},r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"r",value:u.r,onChange:h})),r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"g",value:u.g,onChange:h})),r.default.createElement("div",{style:d.third},r.default.createElement(l.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"b",value:u.b,onChange:h})))))};t.default=(0,l.ColorWrap)(c)},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),i=n("H84U");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)}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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 d(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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){!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&&f(e,t)}(v,e);var t,n,o,l,b=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return c(this,v),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,l=y(o,["prefixCls"]),c=n("radio-button",i);return e.context.radioGroup&&(l.checked=e.props.value===e.context.radioGroup.value,l.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,u({prefixCls:c},l))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(i.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),l&&s(n,l),v}(r.Component);b.contextTypes={radioGroup:o.any}},KfSR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r,o=n("Ag8Z"),a=(r=o)&&r.__esModule?r:{default:r},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};var l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,a.default)(e,(function(e,n){var r={};(0,a.default)(e,(function(e,t){var n=l[t];n?r=i({},r,n(e)):r[t]=e})),t[n]=r})),t};t.default=u},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,l=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(n[0],n[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var u=n[r];u&&e(t,u,r,i)}return t}))}},Lwbf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={},o=t.render=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=2*n,o.height=2*n;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null};t.get=function(e,t,n,a){var i=e+"-"+t+"-"+n+(a?"-server":"");if(r[i])return r[i];var l=o(e,t,n,a);return r[i]=l,l}},"Lx/H":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("3WF5")),l=s(n("QkVN")),u=n("TM95"),c=s(n("iGDq"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Github=function(e){var t=e.width,n=e.colors,o=e.onChange,u=e.onSwatchHover,s=e.triangle,f=e.styles,p=void 0===f?{}:f,d=e.className,h=void 0===d?"":d,y=(0,a.default)((0,l.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},p),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s,"bottom-left-triangle":"bottom-left"===s,"bottom-right-triangle":"bottom-right"===s}),b=function(e,t){return o({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:y.card,className:"github-picker "+h},r.default.createElement("div",{style:y.triangleShadow}),r.default.createElement("div",{style:y.triangle}),(0,i.default)(n,(function(e){return r.default.createElement(c.default,{color:e,key:e,onClick:b,onSwatchHover:u})})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:o.default.object},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},t.default=(0,u.ColorWrap)(f)},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(n("q1tI")),s=n("xI0J"),f=u(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,a=t.fixed,i=n[0];return a&&i&&r?"auto"===i?"auto":i/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,l=e.components,u=e.onHeaderRow,s=e.prefixCls,p=l.header.row,d=l.header.cell,h=u(t.map((function(e){return e.column})),n),y=h?h.style:{},b=a({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},y);return c.createElement(p,Object.assign({},h,{style:b}),t.map((function(e,t){var n,o=e.column,l=e.isLast,u=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=a({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(i(n={},"".concat(s,"-align-").concat(o.align),!!o.align),i(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),i(n,"".concat(s,"-row-cell-break-word"),!!o.width),i(n,"".concat(s,"-row-cell-last"),l),n)),c.createElement(d,Object.assign({},u,p,{key:o.key||o.dataIndex||t}))})))}))},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),u=n("YMnH"),c=n("ZvpZ"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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},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&&h(e,t)}(x,e);var t,n,o,i,f=(t=x,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,a=o.okButtonProps,i=o.cancelButtonProps,u=o.title,c=o.cancelText,s=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")},u)),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"},a),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(u.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.default,p({},s,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=x,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),i&&d(n,i),x}(r.Component);x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(x),t.default=x},NSvM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointer=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},Nq3d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=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("Lwbf"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,n=e.grey,i=e.size,l=e.renderers,u=e.borderRadius,c=e.boxShadow,s=(0,o.default)({default:{grid:{borderRadius:u,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+a.get(t,n,i,l.canvas)+") center left"}}});return r.default.createElement("div",{style:s.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},OBhP:function(e,t,n){var r=n("fmRc"),o=n("gFfm"),a=n("MrPd"),i=n("WwFo"),l=n("Dw+G"),u=n("5Tg0"),c=n("Q1l4"),s=n("VOtZ"),f=n("EEGq"),p=n("qZTm"),d=n("G6z8"),h=n("QqLw"),y=n("yHx3"),b=n("wrZu"),v=n("+iFO"),m=n("Z0cm"),g=n("DSRE"),x=n("zEVN"),w=n("GoyQ"),O=n("1+5i"),C=n("7GkX"),E={};E["[object Arguments]"]=E["[object Array]"]=E["[object ArrayBuffer]"]=E["[object DataView]"]=E["[object Boolean]"]=E["[object Date]"]=E["[object Float32Array]"]=E["[object Float64Array]"]=E["[object Int8Array]"]=E["[object Int16Array]"]=E["[object Int32Array]"]=E["[object Map]"]=E["[object Number]"]=E["[object Object]"]=E["[object RegExp]"]=E["[object Set]"]=E["[object String]"]=E["[object Symbol]"]=E["[object Uint8Array]"]=E["[object Uint8ClampedArray]"]=E["[object Uint16Array]"]=E["[object Uint32Array]"]=!0,E["[object Error]"]=E["[object Function]"]=E["[object WeakMap]"]=!1,e.exports=function e(t,n,S,j,P,k){var _,R=1&n,F=2&n,M=4&n;if(S&&(_=P?S(t,j,P,k):S(t)),void 0!==_)return _;if(!w(t))return t;var N=m(t);if(N){if(_=y(t),!R)return c(t,_)}else{var D=h(t),T="[object Function]"==D||"[object GeneratorFunction]"==D;if(g(t))return u(t,R);if("[object Object]"==D||"[object Arguments]"==D||T&&!P){if(_=F||T?{}:v(t),!R)return F?f(t,l(_,t)):s(t,i(_,t))}else{if(!E[D])return P?t:{};_=b(t,D,R)}}k||(k=new r);var A=k.get(t);if(A)return A;k.set(t,_),O(t)?t.forEach((function(r){_.add(e(r,n,S,r,t,k))})):x(t)&&t.forEach((function(r,o){_.set(o,e(r,n,S,o,t,k))}));var I=M?F?d:p:F?keysIn:C,B=N?void 0:I(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),a(_,o,e(r,n,S,o,t,k))})),_}},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},OYk8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var r=i(n("q1tI")),o=i(n("/FUP")),a=i(n("PGcv"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,i=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return r.default.createElement("div",{style:i.swatches},r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".80",active:Math.abs(n.l-.8)<.1&&Math.abs(n.s-.5)<.1,onClick:t,first:!0})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".65",active:Math.abs(n.l-.65)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".50",active:Math.abs(n.l-.5)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".35",active:Math.abs(n.l-.35)<.1&&Math.abs(n.s-.5)<.1,onClick:t})),r.default.createElement("div",{style:i.swatch},r.default.createElement(a.default,{hsl:n,offset:".20",active:Math.abs(n.l-.2)<.1&&Math.abs(n.s-.5)<.1,onClick:t,last:!0})),r.default.createElement("div",{style:i.clear}))};t.default=l},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},Ojt5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var r=l(n("q1tI")),o=l(n("17x9")),a=l(n("/FUP")),i=l(n("QkVN"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.Raised=function(e){var t=e.zDepth,n=e.radius,o=e.background,l=e.children,u=e.styles,c=void 0===u?{}:u,s=(0,a.default)((0,i.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},c),{"zDepth-1":1===t});return r.default.createElement("div",{style:s.wrap},r.default.createElement("div",{style:s.bg}),r.default.createElement("div",{style:s.content},l))};u.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},u.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=u},PGcv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,a=e.onClick,i=void 0===a?function(){}:a,l=e.active,u=e.first,c=e.last,s=(0,o.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:c});return r.default.createElement("div",{style:s.swatch,onClick:function(e){return i({h:t.h,s:.5,l:n,source:"hsl"},e)}})};t.default=i},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return function(e){if(Array.isArray(e))return l(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 l(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(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 l(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 u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=d(n("q1tI")),b=n("xI0J"),v=n("VCL8"),m=h(n("Gytx")),g=h(n("XaS2")),x=n("6Ogq"),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&&c(e,t)}(h,e);var t,n,r,l,d=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function h(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var l=t.props,u=l.onExpandedRowsChange,c=l.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(i(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=x.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&m.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,u(f)),a||c(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,i=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var l={key:"rc-table-expand-icon-cell",className:"".concat(i,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},l,{column:l}))}},t.renderRows=function(e,n,r,o,a,l,u,c){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],h=[].concat(i(c),[u]),y=a+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,a),h,y,l)),d&&n.push.apply(n,i(e(d,y,h)))};var n=e.data,r=e.childrenColumnName,l=e.defaultExpandAllRows,u=e.expandedRowKeys,c=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=i(n);if(l)for(var y=0;y<p.length;y+=1){var b=p[y];f.push(s(b,y)),p=p.concat(b[r]||[])}else f=u||c;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=h,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,a,i){var l,u=this,c=this.props,s=c.prefixCls,f=c.expandIconAsCell,p=c.indentSize,d=o[o.length-1],h="".concat(d,"-extra-row");l="left"===i?this.columnManager.leftLeafColumns().length:"right"===i?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=u.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:l},children:"right"!==i?n(e,t,a,o):" "}}}];return f&&"right"!==i&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),y.createElement(g.default,{key:h,columns:b,className:r,rowKey:h,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:a,fixed:i,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&u(n.prototype,r),l&&u(n,l),h}(y.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(w),t.default=b.connect()(w)},Pzom:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("QkVN")),l=n("TM95"),u=s(n("OYk8")),c=s(n("dATH"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Slider=function(e){var t=e.hsl,n=e.onChange,o=e.pointer,c=e.styles,s=void 0===c?{}:c,f=e.className,p=void 0===f?"":f,d=(0,a.default)((0,i.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},s));return r.default.createElement("div",{style:d.wrap||{},className:"slider-picker "+p},r.default.createElement("div",{style:d.hue},r.default.createElement(l.Hue,{style:d.Hue,hsl:t,pointer:o,onChange:n})),r.default.createElement("div",{style:d.swatches},r.default.createElement(u.default,{hsl:t,onClick:n})))};f.propTypes={styles:o.default.object},f.defaultProps={pointer:c.default,styles:{}},t.default=(0,l.ColorWrap)(f)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),a=n("7Ix3"),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t=o(e),n=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&n.push(l);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),u=n("NykK"),c=n("3Fdi"),s=c(r),f=c(o),p=c(a),d=c(i),h=c(l),y=u;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||a&&"[object Promise]"!=y(a.resolve())||i&&"[object Set]"!=y(new i)||l&&"[object WeakMap]"!=y(new l))&&(y=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case s:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},Rkpk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var r=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=c(n("q1tI")),a=c(n("/FUP")),i=c(n("p8yl")),l=n("TM95"),u=c(n("9F0J"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.ChromeFields=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));return n.toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?i.default.isValidHex(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),n.props.onChange({h:e.h||n.props.hsl.h,s:Number(e.s&&e.s||n.props.hsl.s),l:Number(e.l&&e.l||n.props.hsl.l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},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),r(t,[{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,o.default.createElement("div",{style:t.toggle},o.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.default.Component);s.defaultProps={view:"hex"},t.default=s},SKAX:function(e,t,n){var r=n("JC6p"),o=n("lQqw")(r);e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),l=n("Gytx"),u=n.n(l),c=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,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 v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&h(e,t)}(c,e);var t,n,o,a,l=(t=c,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function c(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,a=o.prefixCls,l=o.className,u=void 0===l?"":l,c=o.options,f=o.buttonStyle,p=n("radio",a),d="".concat(p,"-group"),h=i()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),u),y=o.children;return c&&c.length>0&&(y=c.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=c,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),c}(r.Component);x.defaultProps={buttonStyle:"outline"},x.childContextTypes={radioGroup:o.any},Object(c.polyfill)(x),t.a=x},Syy6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.AlphaPointer=function(e){var t=e.direction,n=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.default.createElement("div",{style:n.picker})};t.default=i},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),a=n("yP5f"),i=n("Q1l4"),l=n("+iFO"),u=n("03A+"),c=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),h=n("YO3V"),y=n("c6wG"),b=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,m,g,x,w){var O=b(e,n),C=b(t,n),E=w.get(C);if(E)r(e,n,E);else{var S=x?x(O,C,n+"",e,t,w):void 0,j=void 0===S;if(j){var P=c(C),k=!P&&f(C),_=!P&&!k&&y(C);S=C,P||k||_?c(O)?S=O:s(O)?S=i(O):k?(j=!1,S=o(C,!0)):_?(j=!1,S=a(C,!0)):S=[]:h(C)||u(C)?(S=O,u(O)?S=v(O):d(O)&&!p(O)||(S=l(C))):j=!1}j&&(w.set(C,S),g(S,C,m,x,w),w.delete(C)),r(e,n,S)}}},THLb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r,o){var a=o.clientWidth,i=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=l-(o.getBoundingClientRect().left+window.pageXOffset),s=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){var f=void 0;if(f=s<0?0:s>i?1:Math.round(100*s/i)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var p=void 0;if(r!==(p=c<0?0:c>a?1:Math.round(100*c/a)/100))return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}return null}},TM95:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(r).default}});var o=n("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(o).default}});var a=n("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(a).default}});var i=n("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(i).default}});var l=n("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return f(l).default}});var u=n("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(u).default}});var c=n("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(c).default}});var s=n("Ba7A");function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(s).default}})},TZyB:function(e,t,n){},UGzO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 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=c(a),l=c(n("sEfC")),u=c(n("p8yl"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.ColorWrap=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=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,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(u.default.simpleCheckForValidColor(e)){var r=u.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(u.default.simpleCheckForValidColor(e)){var r=u.default.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=r({},u.default.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,n){e(t,n)}),100),t}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)}(n,t),o(n,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.default.createElement(e,r({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return r({},u.default.toState(e.color,t.oldHue))}}]),n}(a.PureComponent||a.Component);return t.propTypes=r({},e.propTypes),t.defaultProps=r({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=s},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=p(n("q1tI")),y=p(n("17x9")),b=n("xI0J"),v=d(n("TSYQ")),m=d(n("zSdB")),g=d(n("VMSz")),x=d(n("XaS2")),w=d(n("zgq8")),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&&u(e,t)}(y,e);var t,n,r,p,d=(t=y,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){var e;return i(this,y),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,a=o.columnManager,i=o.components,l=o.props,u=l.prefixCls,c=l.childrenColumnName,s=l.rowClassName,f=l.rowRef,p=l.onRowClick,d=l.onRowDoubleClick,y=l.onRowContextMenu,b=l.onRowMouseEnter,v=l.onRowMouseLeave,m=l.onRow,g=e.props,O=g.getRowKey,C=g.fixed,E=g.expander,S=g.isAnyColumnsFixed,j=[],P=function(o){var l=t[o],g=O(l,o),P="string"==typeof s?s:s(l,o,n),k={};a.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var _=void 0;_="left"===C?a.leftLeafColumns():"right"===C?a.rightLeafColumns():e.getColumns(a.leafColumns());var R="".concat(u,"-row"),F=h.createElement(w.default,Object.assign({},E.props,{fixed:C,index:o,prefixCls:R,record:l,key:g,rowKey:g,onRowClick:p,needIndentSpaced:E.needIndentSpaced,onExpandedChange:E.handleExpandChange}),(function(e){return h.createElement(x.default,Object.assign({fixed:C,indent:n,className:P,record:l,index:o,prefixCls:R,childrenColumnName:c,columns:_,onRow:m,onRowDoubleClick:d,onRowContextMenu:y,onRowMouseEnter:b,onRowMouseLeave:v},k,{rowKey:g,ancestorKeys:r,ref:f(l,o,n),components:i,isAnyColumnsFixed:S},e))}));j.push(F),E.renderRows(e.renderRows,j,l,o,n,C,g,r)},k=0;k<t.length;k+=1)P(k);return j},e}return n=y,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,i=t.fixed,l=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!i?v.default("".concat(l,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,a=n.data,i=n.getBodyWrapper,l=this.props,u=l.expander,c=l.tableClassName,s=l.hasHead,f=l.hasBody,p=l.fixed,d=l.isAnyColumnsFixed,y={};if(!p&&o.x){var b=d?"max-content":"auto";y.width=!0===o.x?b:o.x}var v,x=f?t.table:"table",w=t.body.wrapper;f&&(v=h.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(a,0)),i&&(v=i(v)));var O=this.getColumns();return h.createElement(x,{className:c,style:y,key:"table"},h.createElement(m.default,{columns:O,fixed:p}),s&&h.createElement(g.default,{expander:u,columns:O,fixed:p}),v)}}])&&l(n.prototype,r),p&&l(n,p),y}(h.Component);O.contextTypes={table:y.any},t.default=b.connect()(O)},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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,u),n(l)}},Un2r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=C(n("kLXV")),o=C(n("W9HT")),a=C(n("Vl3Y")),i=C(n("5rEg")),l=C(n("2/Rp")),u=C(n("wCAj")),c=C(n("jsC+")),s=C(n("CtXQ")),f=C(n("NUBc")),p=C(n("NJEC")),d=C(n("BvKs")),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},y=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("tULf"),n("1vPl"),n("L/Qf"),n("mbEz"),n("aIZi"),n("2oDE"),n("YQTV"),n("k994"),n("2WkQ");var b=n("q1tI"),v=C(b);n("6JOy"),n("NzgE");var m=C(n("2CTR")),g=n("WFjJ"),x=C(n("/FUP")),w=C(n("vDqi")),O=n("spEH");function C(e){return e&&e.__esModule?e:{default:e}}var 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.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getList()},n.getList=function(e,t,r){var o=n.props.match.params,a=o.projectsId,i=o.owner,l=n.state.limit,u="/"+i+"/"+a+"/labels.json";w.default.get(u,{params:{page:e,limit:l,order_name:t,order_type:r}}).then((function(e){e&&n.setState({data:e.data})})).catch((function(e){console.log(e)}))},n.createtagpost=function(){n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.match.params,o=r.projectsId,a="/"+r.owner+"/"+o+"/labels.json";w.default.post(a,h({},t,{project_id:o,color:n.state.textcolor})).then((function(e){e&&(n.props.form.setFieldsValue({name:"",description:""}),n.setState({color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",display:"none"}),n.getList())})).catch((function(e){console.log(e)}))}}))},n.ChangePage=function(e){n.setState({page:e}),n.getList(e)},n.arrayList=function(e){n.setState({order_name:e.key,order_type:e.item.props.value}),n.getList(1,e.key,e.item.props.value)},n.handleClick=function(){n.setState({displayColorPicker:!n.state.displayColorPicker})},n.handleClose=function(){n.setState({displayColorPicker:!1})},n.handleChange=function(e){n.setState({color:e.rgb,textcolor:e.hex,newcolor:e.hex})},n.newshow=function(){n.setState({display:"block"})},n.newclose=function(){n.setState({display:"none"})},n.handleok=function(){n.updatetag()},n.updatetag=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=n.state.id,a="/"+r+"/"+t+"/labels/"+o+".json",i=n.state.name,l=n.state.description,u=n.state.newcolor;w.default.put(a,{project_id:t,id:o,name:i,description:l,color:u}).then((function(e){e&&(n.setState({isShow:!1}),n.getList())})).catch((function(e){console.log(e)}))},n.deletetag=function(e){var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/labels/"+e+".json";w.default.delete(o,{data:{project_id:r,id:e}}).then((function(e){e&&n.getList()})).catch((function(e){console.log(e)}))},n.handleCancel=function(){n.setState({isShow:!1})},n.changmodelname=function(e){n.setState({name:e.target.value})},n.changdescription=function(e){n.setState({description:e.target.value})},n.editshow=function(e){n.setState({isShow:!0,newcolor:e.color,name:e.name,description:e.description,id:e.id})},n.state={data:void 0,limit:15,page:1,order_name:void 0,order_type:void 0,display:"none",displayColorPicker:!1,color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",isShow:!1,newcolor:"",name:"",description:"",id:"",modelname:"",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),y(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.data,h=t.limit,y=t.page,b=t.isSpin,w=(this.props.match.params.projectsId,this.props.form.getFieldDecorator),C=v.default.createElement(d.default,{onClick:this.arrayList},v.default.createElement(d.default.Item,{key:"created_at",value:"desc"},"按创建时间降序排序"),v.default.createElement(d.default.Item,{key:"created_at",value:"asc"},"按创建时间升序排序"),v.default.createElement(d.default.Item,{key:"issues_count",value:"desc"},"按issue个数降序排序"),v.default.createElement(d.default.Item,{key:"issues_count",value:"asc"},"按issue个数升序排序")),E=(0,x.default)({default:{color:{width:"20px",height:"20px",borderRadius:"2px",background:"rgba("+this.state.color.r+", "+this.state.color.g+", "+this.state.color.b+", "+this.state.color.a+")"},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",width:"100px",marginTop:"5px",height:"28px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"flex",cursor:"pointer"},popover:{position:"absolute",zIndex:"2"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"},modalcolor:{width:"20px",height:"20px",borderRadius:"2px",background:this.state.newcolor}}}),S=[{title:"颜色代码",width:"20%",dataIndex:"color",render:function(e,t){return v.default.createElement("span",{className:"grid-item"},v.default.createElement("span",{style:{backgroundColor:""+t.color},className:"tagColor"}),v.default.createElement("span",{className:"ml15"},t.name))}},{title:"描述",width:"30%",dataIndex:"description",render:function(e){return v.default.createElement("span",null,e)}},{title:"问题数量",width:"30%",dataIndex:"issues_count",render:function(e){return v.default.createElement("span",null,e,"个开启的任务")}},{title:"操作",width:"20%",dataIndex:"action",render:function(t,n){return v.default.createElement("span",{style:{justifyContent:"center"}},v.default.createElement("a",{onClick:function(){return e.editshow(n)},className:"topWrapper_success_btn fr"},"编辑"),v.default.createElement(p.default,{placement:"bottom",title:"删除标签会将其从所有引用中删除。继续?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletetag(n.id)}},v.default.createElement("a",{className:"a_btn delete_btn fr"},"删除")))}}],j=v.default.createElement(v.default.Fragment,null,n&&n.issue_tags_count>h?v.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},v.default.createElement(f.default,{simple:!0,defaultCurrent:y,total:n&&n.issue_tags_count,pageSize:h,onChange:this.ChangePage})):"");return v.default.createElement(O.WhiteBack,null,v.default.createElement("div",{className:"flex-a-center baseForm bbr",style:{"justify-content":"space-between"}},v.default.createElement("span",{className:"font-18 text-black"},"项目标签"),n&&n.user_admin_or_member?v.default.createElement(l.default,{type:"primary",ghost:!0,onClick:this.newshow},v.default.createElement(s.default,{type:"plus"}),"创建标签"):""),v.default.createElement("div",null,v.default.createElement("div",{style:{display:this.state.display},className:"padding15"},v.default.createElement(a.default,null,v.default.createElement("div",{className:"new-tag-div"},v.default.createElement(a.default.Item,{className:"inptwidth"},w("name",{rules:[{required:!0,message:"请填写标签名字"}]})(v.default.createElement(i.default,{placeholder:"标签名字",maxLength:"10"}))),v.default.createElement(a.default.Item,{className:"inputcount"},w("description",{rules:[{required:!0,message:"描述不能为空"}]})(v.default.createElement(i.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),v.default.createElement("div",null,v.default.createElement("div",{style:E.swatch,onClick:this.handleClick},v.default.createElement("div",{style:E.color},v.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?v.default.createElement("div",{style:E.popover},v.default.createElement("div",{style:E.cover,onClick:this.handleClose}),v.default.createElement(g.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),v.default.createElement("div",{className:"fr",style:{marginTop:5}},v.default.createElement(o.default,{spinning:b},v.default.createElement(l.default,{type:"primary",onClick:this.createtagpost,className:"fr"},"创建标签"),v.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消")))))),v.default.createElement("div",{className:"padding20-30"},n&&n.issue_tags&&n.issue_tags.length>0?v.default.createElement("div",null,v.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},v.default.createElement("span",null,"共",n&&n.issue_tags_count,"个标签"),v.default.createElement("ul",{className:"topWrapper_select"},v.default.createElement("li",null,v.default.createElement(c.default,{className:"topWrapperSelect",overlay:C,trigger:["click"],placement:"bottomCenter"},v.default.createElement("span",null,"标签",v.default.createElement(s.default,{type:"caret-down",className:"ml5"})))))),v.default.createElement("div",null,v.default.createElement(u.default,{className:"setTables",showHeader:!1,pagination:!1,columns:S,dataSource:n.issue_tags,rowKey:function(e){return e.id}}))):v.default.createElement(m.default,{_html:"暂时还没有相关数据!"}),j)),v.default.createElement(r.default,{title:"编辑标签",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"600px",closable:!1},v.default.createElement("div",{className:"dialogdiv"},v.default.createElement(i.default,{placeholder:"标签名字",maxLength:"10",className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),v.default.createElement(i.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),v.default.createElement("div",null,v.default.createElement("div",{style:E.swatch,onClick:this.handleClick},v.default.createElement("div",{style:E.modalcolor},v.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?v.default.createElement("div",{style:E.popover},v.default.createElement("div",{style:E.cover,onClick:this.handleClose}),v.default.createElement(g.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(b.Component),S=a.default.create({name:"tageFrom"})(E);t.default=S},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(n("q1tI")),i=r(n("17x9")),l=o(n("MibV"));var u=function(e,t){var n=t.table,r=n.components,o=n.props,i=o.prefixCls,u=o.showHeader,c=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!u)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,a=void 0===o?0:o,i=t.rows,l=void 0===i?[]:i,u=t.isLast,c=void 0===u||u;return l[a]=l[a]||[],r.forEach((function(t,n){if(t.rowSpan&&l.length<t.rowSpan)for(;l.length<t.rowSpan;)l.push([]);var o=c&&n===r.length-1,i={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:a+1,rows:l,isLast:o}),"colSpan"in t&&(i.colSpan=t.colSpan),"rowSpan"in t&&(i.rowSpan=t.rowSpan),0!==i.colSpan&&l[a].push(i)})),l.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var h=r.header.wrapper;return a.createElement(h,{className:"".concat(i,"-thead")},d.map((function(e,t){return a.createElement(l.default,{prefixCls:i,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:c})})))};u.contextTypes={table:i.any},t.default=u},VOtZ:function(e,t,n){var r=n("juv8"),o=n("MvSz");e.exports=function(e,t){return r(e,o(e),t)}},VVms:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n){var r=n.getBoundingClientRect(),o=r.width,a=r.height,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),c=l-(n.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),c<0?c=0:c>a&&(c=a);var s=u/o,f=1-c/a;return{h:t.h,s:s,v:f,a:t.a,source:"rgb"}}},VYtm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(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 s=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,c;l(this,r);for(var s=arguments.length,f=Array(s),p=0;p<s;p++)f[p]=arguments[p];return a=c=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(f))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return i.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},i.default.createElement(e,o({},c.props,c.state)))},u(c,a)}return c(r,n),r}(i.default.Component)};t.default=s},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),u=n("QbLZ"),c=n.n(u),s=n("i8i4"),f=n.n(s),p=n("9Do8"),d=n.n(p),h=n("OFL0"),y=n.n(h),b=n("jo6Y"),v=n.n(b),m=n("YEIV"),g=n.n(m),x=n("m1cH"),w=n.n(x),O=n("fhzG"),C=n.n(O),E=n("aGtg"),S=n("oV5b"),j=n.n(S),P=n("2W6z"),k=n.n(P),_=n("mwIZ"),R=n.n(_),F=n("D1y2"),M=n.n(F),N=n("ljhN"),D=n.n(N),T=n("iCc5"),A=n.n(T),I=n("V7oC"),B=n.n(I),V=function e(t){A()(this,e),c()(this,t)};function L(e){return e instanceof V}function H(e){return L(e)?e:new V(e)}var q=n("2mql"),z=n.n(q);function G(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function K(e){return e}function W(e){return Array.prototype.concat.apply([],e)}function U(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(void 0,e,t,n,(function(e,t){r[e]=t})),r}function X(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 Y(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 Q(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Z(e,t,n){var r=e,o=t,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 U(e,(function(e,t){return L(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 B()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return U(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):g()({},r,a)}},{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,H(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,H(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?K:i,u=e.mapPropsToFields,s=e.fieldNameProp,f=e.fieldMetaProp,p=e.fieldDataProp,d=e.formPropName,h=void 0===d?"form":d,y=e.name,b=e.withRef;return function(e){var i=C()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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){u&&this.fieldsStore.updateFields(u(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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),u={};l[e]=i,Object.keys(l).forEach((function(e){return M()(u,e,l[e])})),a(c()(g()({},h,this.getForm()),this.props),M()({},e,i),u)}var s=this.fieldsStore.getField(e);return{name:e,field:c()({},s,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,u=a.fieldMeta,s=u.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(s)});this.setFields(g()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,u=c()({},i,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,u=r.validate,d=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(d.initialValue=r.initialValue);var h=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});s&&(h[s]=y?y+"_"+e:e);var b=X(u,o,l),v=Y(b);v.forEach((function(n){h[n]||(h[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(h[a]=this.getCacheBind(e,a,this.onCollect));var m=c()({},d,r,{validate:b});return this.fieldsStore.setFieldMeta(e,m),f&&(h[f]=m),p&&(h[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return W(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 a=Object.keys(o).reduce((function(e,t){return M()(e,t,n.fieldsStore.getField(t))}),{});r(c()(g()({},h,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(g()({},h,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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,a=t.fieldNames,i=t.action,l=t.options,u=void 0===l?{}:l,s={},f={},p={},d={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var n=o.fieldsStore.getFieldMeta(t),r=c()({},e);r.errors=void 0,r.validating=!0,r.dirty=!0,s[t]=o.getRules(n,i),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(a));else{var h=new j.a(s);n&&h.messages(n),h.validate(f,u,(function(e){var t=c()({},d);e&&e.length&&e.forEach((function(e){var n=e.field,r=n;Object.keys(s).some((function(e){var t=s[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=R()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),R()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(s).forEach((function(e){var r=R()(t,e),a=o.fieldsStore.getField(e);D()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),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(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=Z(e,t,n),l=i.names,u=i.options,c=Z(e,t,n).callback;if(!c||"function"==typeof c){var s=c;c=function(e,t){s&&s(e,t),e?a({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 u||(u.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(p,{fieldNames:f,options:u},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"]),a=g()({},h,this.getForm());b?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return G(Object(E.a)(i),e)}},ie={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 ue={getForm:function(){return c()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=Z(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(y()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),o){var u=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,u,c()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof i&&i(e,t)}))}};var ce=function(e){return ae(c()({},e),[ue])},se=n("BGR+"),fe=n("H84U"),pe=n("CWQg"),de=n("6CfX"),he=n("MFj2"),ye=n("qrJ5"),be=n("/kpp"),ve=n("CtXQ"),me=n("foW8"),ge=n.n(me)()({labelAlign:"right",vertical:!1});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 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 Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t){return!t||"object"!==xe(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(){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 _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){return function(e){if(Array.isArray(e))return Fe(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 Fe(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(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 Fe(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},Ne=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");var 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&&Se(e,t)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=_e(t);if(ke()){var r=_e(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return je(this,e)});function u(){var e;return Ce(this,u),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=s.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,a=e.props,i=a.prefixCls,u=a.style,c=a.className,s=Me(a,["prefixCls","style","className"]),f=o("form",i),p=e.renderChildren(f),d=(Oe(n={},"".concat(f,"-item"),!0),Oe(n,"".concat(f,"-item-with-help"),e.helpShow),Oe(n,"".concat(c),!!c),n);return r.createElement(ye.a,we({className:l()(d),style:u},Object(se.a)(s,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),p)},e}return n=u,(o=[{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(Re(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var n=[],o=r.Children.toArray(e),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==u&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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(he.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 a=this.props,i=this.getOnlyControl,u=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");u&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var s="";switch(u){case"success":s="check-circle";break;case"warning":s="exclamation-circle";break;case"error":s="close-circle";break;case"validating":s="loading";break;default:s=""}var f=a.hasFeedback&&s?r.createElement("span",{className:"".concat(e,"-item-children-icon")},r.createElement(ve.default,{type:s,theme:"loading"===s?"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 a=o.wrapperCol,i=o.vertical,u=n.props.wrapperCol,c=("wrapperCol"in n.props?u:a)||{},s=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(ge.Provider,{value:{vertical:i}},r.createElement(be.a,we({},c,{className:s}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(ge.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=n.labelAlign,u=n.labelCol,c=n.colon,s=t.props,f=s.label,p=s.labelCol,d=s.labelAlign,h=s.colon,y=s.id,b=s.htmlFor,v=t.isRequired(),m=("labelCol"in t.props?p:u)||{},g="labelAlign"in t.props?d:i,x="".concat(e,"-item-label"),w=l()(x,"left"===g&&"".concat(x,"-left"),m.className),O=f,C=!0===h||!1!==c&&!1!==h;C&&!a&&"string"==typeof f&&""!==f.trim()&&(O=f.replace(/[::]\s*$/,""));var E=l()((Oe(o={},"".concat(e,"-item-required"),v),Oe(o,"".concat(e,"-item-no-colon"),!C),o));return f?r.createElement(be.a,we({},m,{className:w}),r.createElement("label",{htmlFor:b||y||t.getId(),className:E,title:"string"==typeof f?f:"",onClick:t.onLabelClick},O)):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)}}])&&Ee(n.prototype,o),a&&Ee(n,a),u}(r.Component);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 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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(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 He(){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 qe(e){return(qe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}De.defaultProps={hasFeedback:!1},De.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ne),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(pe.a)("horizontal","inline","vertical"),Ge=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&&Ve(e,t)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=qe(t);if(He()){var r=qe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Le(this,e)});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=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,u=a.hideRequiredMark,c=a.className,s=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(n,"".concat(p,"-hide-required-mark"),u),n),s),h=Object(se.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Ae({},h,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(ge.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Be(n.prototype,o),a&&Be(n,a),u}(r.Component);Ge.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ge.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},Ge.Item=De,Ge.createFormField=H,Ge.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=Ge},W3HW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n("4qC0")),o=l(n("Ag8Z")),a=l(n("YO3V")),i=l(n("3WF5"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return n.push(e)})):(0,a.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)})):(0,r.default)(t)&&n.push(t)})),n};t.default=u},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var a=o.querySelectorAll(t),i=a.length,l=0;l<i;l++)if(a[l]===e)return!0;return!1}},WFjJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var r=n("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return m(r).default}});var o=n("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return m(o).default}});var a=n("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return m(a).default}});var i=n("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return m(i).default}});var l=n("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return m(l).default}});var u=n("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return m(u).default}});var c=n("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return m(c).default}});var s=n("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return m(s).default}});var f=n("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return m(f).default}});var p=n("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return m(p).default}});var d=n("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return m(d).default}});var h=n("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return m(h).default}});var y=n("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return m(y).default}});var b=n("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return m(b).default}});var v=m(i);function m(e){return e&&e.__esModule?e:{default:e}}t.default=v.default},WwFo:function(e,t,n){var r=n("juv8"),o=n("7GkX");e.exports=function(e,t){return e&&r(t,o(t),e)}},XQvf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(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 s=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,c;l(this,r);for(var s=arguments.length,f=Array(s),p=0;p<s;p++)f[p]=arguments[p];return a=c=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(f))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return i.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},i.default.createElement(e,o({},c.props,c.state)))},u(c,a)}return c(r,n),r}(i.default.Component)};t.default=s},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},XYm9:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},XZDd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 a(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=h(n("q1tI")),v=y(n("i8i4")),m=y(n("cOkC")),g=n("xI0J"),x=n("VCL8"),w=y(n("TSYQ")),O=y(n("DVfl")),C=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)}(y,e);var t,n,r,a,h=(t=y,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function y(){var e;return u(this,y),(e=h.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,a=o.record,i=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),l=0;l<e;l++)o[l]=arguments[l];var u=o[0];n&&n(a,i,u),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=y,a=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=i({},r,l({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:i({},r,l({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=i({},this.style,{height:t})),n||this.style.display||(this.style=i({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,a=e.rowKey,l=e.index,u=e.onRow,c=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,h=e.components,y=e.hasExpandIcon,v=e.renderExpandIcon,g=e.renderExpandIconCell,x=e.onRowClick,C=e.onRowDoubleClick,E=e.onRowMouseEnter,S=e.onRowMouseLeave,j=e.onRowContextMenu,P=h.body.row,k=h.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var F=0;F<n.length;F+=1){var M=n[F];m.default(void 0===M.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(O.default,{prefixCls:t,record:r,indentSize:s,indent:c,index:l,column:M,key:M.key||M.dataIndex,expandIcon:y(F)&&v(),component:k}))}var N=u(r,l)||{},D=N.className,T=N.style,A=o(N,["className","style"]),I={height:p};d||(I.display="none"),I=i({},I,{},T);var B=w.default(t,_,"".concat(t,"-level-").concat(c),D);return b.createElement(P,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,x),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,C),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,E,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,S,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,j),className:B,style:I,"data-row-key":a}),R)}}])&&c(n.prototype,r),a&&c(n,a),y}(b.Component);function E(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,a=t.rowKey;return o?n[a]?n[a]:r[a]?r[a]:null:null}C.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},x.polyfill(C),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,a=t.rowKey,i=t.ancestorKeys;return{visible:0===i.length||i.every((function(e){return o.includes(e)})),hovered:n===a,height:E(e,t)}}))(C)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),a=n("ExA7"),i=Function.prototype,l=Object.prototype,u=i.toString,c=l.hasOwnProperty,s=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=i(n("q1tI")),c=i(n("17x9")),s=n("6Ogq"),f=l(n("UNrv"));function p(e,t){var n=t.table,r=n.props,a=r.prefixCls,i=r.scroll,l=e.columns,c=e.fixed,p=e.tableClassName,d=e.getRowKey,h=e.handleBodyScroll,y=e.handleWheel,b=e.expander,v=e.isAnyColumnsFixed,m=n.saveRef,g=n.props.useFixedHeader,x=o({},n.props.bodyStyle),w={};if((i.x||c)&&(x.overflowX=x.overflowX||"scroll",x.WebkitTransform="translate3d (0, 0, 0)"),i.y){c?(w.maxHeight=x.maxHeight||i.y,w.overflowY=x.overflowY||"scroll"):x.maxHeight=x.maxHeight||i.y,x.overflowY=x.overflowY||"scroll",g=!0;var O=s.measureScrollbar({direction:"vertical"});O>0&&c&&(x.marginBottom="-".concat(O,"px"),x.paddingBottom="0px")}var C,E=u.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:c,columns:l,expander:b,getRowKey:d,isAnyColumnsFixed:v});if(c&&l.length)return"left"===l[0].fixed||!0===l[0].fixed?C="fixedColumnsBodyLeft":"right"===l[0].fixed&&(C="fixedColumnsBodyRight"),delete x.overflowX,delete x.overflowY,u.createElement("div",{key:"bodyTable",className:"".concat(a,"-body-outer"),style:o({},x)},u.createElement("div",{className:"".concat(a,"-body-inner"),style:w,ref:m(C),onWheel:y,onScroll:h},E));var S=i&&(i.x||i.y);return u.createElement("div",{tabIndex:S?-1:void 0,key:"bodyTable",className:"".concat(a,"-body"),style:x,ref:m("bodyTable"),onWheel:y,onScroll:h},E)}t.default=p,p.contextTypes={table:c.any}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},"ZQT/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("p8yl")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CompactColor=function(e){var t=e.color,n=e.onClick,l=void 0===n?function(){}:n,u=e.onSwatchHover,c=e.active,s=(0,o.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:a.default.getContrastingColor(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:c,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return r.default.createElement(i.Swatch,{style:s.color,color:t,onClick:l,onHover:u,focusStyle:{boxShadow:"0 0 4px "+t}},r.default.createElement("div",{style:s.dot}))};t.default=u},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b2z7:function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),u=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),s=!n&&o(e),f=!n&&!s&&i(e),p=!n&&!s&&!f&&u(e),d=n||s||f||p,h=d?r(e.length,String):[],y=h.length;for(var b in e)!t&&!c.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||l(b,y))||h.push(b);return h}},bNQv:function(e,t,n){var r=n("gFfm"),o=n("SKAX"),a=n("EwQA"),i=n("Z0cm");e.exports=function(e,t){return(i(e)?r:o)(e,a(t))}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},ccyi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var r=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"),a=c(o),i=c(n("/FUP")),l=c(n("DzJC")),u=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("VVms"));function c(e){return e&&e.__esModule?e:{default:e}}var s=t.Saturation=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.handleChange=function(e){"function"==typeof n.props.onChange&&n.throttle(n.props.onChange,u.calculateChange(e,n.props.hsl,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,l.default)((function(e,t,n){e(t,n)}),50),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),r(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,o=t.black,l=t.pointer,u=t.circle,c=(0,i.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:o,pointer:l,circle:u}},{custom:!!this.props.style});return a.default.createElement("div",{style:c.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),a.default.createElement("div",{style:c.white,className:"saturation-white"},a.default.createElement("div",{style:c.black,className:"saturation-black"}),a.default.createElement("div",{style:c.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:c.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=s},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=e.type,u=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,u,o,l),(0,i.isEmptyValue)(t,l)||a.default.type(e,t,r,u,o)}n(u)}},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dATH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(){var e=(0,o.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=a},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),u=n("Z0cm"),c=n("DSRE"),s=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,y){var b=u(e),v=u(t),m=b?"[object Array]":l(e),g=v?"[object Array]":l(t),x=(m="[object Arguments]"==m?f:m)==f,w=(g="[object Arguments]"==g?f:g)==f,O=m==g;if(O&&c(e)){if(!c(t))return!1;b=!0,x=!1}if(O&&!x)return y||(y=new r),b||s(e)?o(e,t,n,d,h,y):a(e,t,m,n,d,h,y);if(!(1&n)){var C=x&&p.call(e,"__wrapped__"),E=w&&p.call(t,"__wrapped__");if(C||E){var S=C?e.value():e,j=E?t.value():t;return y||(y=new r),h(S,j,n,d,y)}}return!!O&&(y||(y=new r),i(e,t,n,d,h,y))}},eHBW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 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=u(n("q1tI")),a=u(n("17x9")),i=u(n("/FUP")),l=n("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var c=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,a=void 0===n?function(){}:n,u=e.onSwatchHover,c=(0,i.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){a({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return o.default.createElement("div",{key:n,style:c.swatchWrap},o.default.createElement(l.Swatch,r({},t,{style:c.swatch,onClick:s,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};c.propTypes={colors:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.shape({color:a.default.string,title:a.default.string})])).isRequired},t.default=c},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),u=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=u,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function a(e){return(a="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 i(){return(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}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},h={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},y=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&&c(e,t)}(v,e);var t,n,a,y,b=(t=v,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function v(){var e;return l(this,v),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=v,(a=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",i({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:i(i({},n?null:h),t)}))}}])&&u(n.prototype,a),y&&u(n,y),v}(r.Component);t.a=y},gFfm:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iGDq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var r=l(n("q1tI")),o=n("/FUP"),a=l(o),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.GithubSwatch=function(e){var t=e.hover,n=e.color,o=e.onClick,l=e.onSwatchHover,u={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,a.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:u}},{hover:t});return r.default.createElement("div",{style:c.swatch},r.default.createElement(i.Swatch,{color:n,onClick:o,onHover:l,focusStyle:u}))};t.default=(0,o.handleHover)(u)},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=v(n("EtQh")),l=v(n("HOVM")),u=v(n("XR+G")),c=v(n("Ejpc")),s=v(n("cwxS")),f=v(n("XZDd")),p=v(n("rjwK")),d=v(n("L2wI")),h=v(n("myOp")),y=v(n("UeuU")),b=v(n("chzT"));function v(e){return e&&e.__esModule?e:{default:e}}t.default={string:r.default,method:o.default,number:a.default,boolean:i.default,regexp:l.default,integer:u.default,float:c.default,array:s.default,object:f.default,enum:p.default,pattern:d.default,date:h.default,url:b.default,hex:b.default,email:b.default,required:y.default}},japM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 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},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}}(),i=n("q1tI"),l=(r=i)&&r.__esModule?r:{default:r};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 s(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.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var e,t,n;u(this,r);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=n=c(this,(e=r.__proto__||Object.getPrototypeOf(r)).call.apply(e,[this].concat(a))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},c(n,t)}return s(r,n),a(r,[{key:"render",value:function(){return l.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},l.default.createElement(e,o({},this.props,this.state)))}}]),r}(l.default.Component)}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},"jsC+":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("i8i4"),u=n.n(l),c=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],h={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),b=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return m.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,u=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=s;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(c.a,b({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:h,action:d,showAction:u,hideAction:v||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var m=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=u.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(v);var g=v,x=n("H84U"),w=n("6CfX"),O=n("CtXQ"),C=n("CWQg");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 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 j(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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 R(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=F(t);if(R()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,u=a.focusable,c=void 0===u||u,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(O.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,u=i.children,c=i.trigger,s=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),h=r.Children.only(u),y=r.cloneElement(h,{className:f()(h.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:c;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,S({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(x.a,null,this.renderDropDown)}}])&&P(n.prototype,o),a&&P(n,a),l}(r.Component);M.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var N=n("2/Rp");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(){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 A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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 V(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 L(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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},z=N.default.Group,G=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,a,i=(t=l,function(){var e,n=H(t);if(L()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function l(){var e;return A(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,u=a.disabled,c=a.onClick,s=a.htmlType,p=a.children,d=a.className,h=a.overlay,y=a.trigger,b=a.align,v=a.visible,m=a.onVisibleChange,g=a.placement,x=a.getPopupContainer,w=a.href,C=a.icon,E=void 0===C?r.createElement(O.default,{type:"ellipsis"}):C,S=a.title,j=q(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),P=o("dropdown-button",i),k={align:b,overlay:h,disabled:u,trigger:u?[]:y,onVisibleChange:m,placement:g,getPopupContainer:x||n};return"visible"in e.props&&(k.visible=v),r.createElement(z,T({},j,{className:f()(P,d)}),r.createElement(N.default,{type:l,disabled:u,onClick:c,htmlType:s,href:w,title:S},p),r.createElement(M,k,r.createElement(N.default,{type:l},E)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(x.a,null,this.renderButton)}}])&&I(n.prototype,o),a&&I(n,a),l}(r.Component);G.defaultProps={placement:"bottomRight",type:"default"},M.Button=G;t.default=M},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,a){var i=!n;n||(n={});for(var l=-1,u=t.length;++l<u;){var c=t[l],s=a?a(n[c],e[c],c,n,e):void 0;void 0===s&&(s=e[c]),i?o(n,c,s):r(n,c,s)}return n}},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),u=n("x1Ya"),c=n("Gytx"),s=n.n(c),f=n("H84U"),p=n("6CfX");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 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(){return(y=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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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,a,i=(t=c,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return b(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=x(e),i=a.props,c=a.context,s=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,b=i.style,v=i.onMouseEnter,m=i.onMouseLeave,g=C(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=c.checkboxGroup,O=o("checkbox",s),E=y({},g);w&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:i.value})},E.name=w.name,E.checked=-1!==w.value.indexOf(i.value),E.disabled=i.disabled||w.disabled);var S=l()(f,(h(n={},"".concat(O,"-wrapper"),!0),h(n,"".concat(O,"-wrapper-checked"),E.checked),h(n,"".concat(O,"-wrapper-disabled"),E.disabled),n)),j=l()(h({},"".concat(O,"-indeterminate"),d));return r.createElement("label",{className:S,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(u.a,y({},E,{prefixCls:O,className:j,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(E);var S=E,j=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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){!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)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=A(t);if(T()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=D(t),a=o.props,i=o.state,u=a.prefixCls,c=a.className,s=a.style,f=a.options,p=I(a,["prefixCls","className","style","options"]),d=n("checkbox",u),h="".concat(d,"-group"),y=Object(j.a)(p,["children","defaultValue","value","onChange","disabled"]),b=a.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var v=l()(h,c);return r.createElement("div",k({className:v,style:s},y),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=u,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&F(n.prototype,o),a&&F(n,a),u}(r.Component);B.defaultProps={options:[]},B.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},B.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(B);var V=B;S.Group=V;t.default=S},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="number"==typeof e.len,l="number"==typeof e.min,u="number"==typeof e.max,c=t,s=null,f="number"==typeof t,p="string"==typeof t,d=Array.isArray(t);if(f?s="number":p?s="string":d&&(s="array"),!s)return!1;d&&(c=t.length),p&&(c=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?c!==e.len&&o.push(r.format(a.messages[s].len,e.fullField,e.len)):l&&!u&&c<e.min?o.push(r.format(a.messages[s].min,e.fullField,e.min)):u&&!l&&c>e.max?o.push(r.format(a.messages[s].max,e.fullField,e.max)):l&&u&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[s].range,e.fullField,e.min,e.max))}},l9OW:function(e,t,n){var r=n("SKAX"),o=n("MMmD");e.exports=function(e,t){var n=-1,a=o(e)?Array(e.length):[];return r(e,(function(e,r,o){a[++n]=t(e,r,o)})),a}},lQqw:function(e,t,n){var r=n("MMmD");e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var a=n.length,i=t?a:-1,l=Object(n);(t?i--:++i<a)&&!1!==o(l[i],i,l););return n}}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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"},u={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(a(!(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=u.hasOwnProperty(n)?u[n]:null;return a("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 s(e,t){var n=l.hasOwnProperty(t)?l[t]:null;m.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var u=n[i],f=r.hasOwnProperty(i);if(s(f,i),c.hasOwnProperty(i))c[i](e,u);else{var p=l.hasOwnProperty(i);if("function"==typeof u&&!p&&!f&&!1!==n.autobind)o.push(i,u),r[i]=u;else if(f){var y=l[i];a(p&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,i),"DEFINE_MANY_MERGED"===y?r[i]=d(r[i],u):"DEFINE_MANY"===y&&(r[i]=h(r[i],u))}else r[i]=u}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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 h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}var b={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},m={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},g=function(){};return r(g.prototype,e.prototype,m),function(e){var t=function(e,r,i){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]=y(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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=[],i.forEach(f.bind(null,t)),f(t,b),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,u=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var s=(c=n[i])[0],f=e[s],p=c[1];if(u&&c[2]){if(void 0===f&&!(s in e))return!1}else{var d=new r;if(a)var h=a(f,p,s,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},lreK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var r=i(n("Ag8Z")),o=i(n("BkRI")),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};function i(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,r.default)(o,(function(e,t){n[t]||(n[t]={}),n[t]=a({},n[t],o[t])})),t})),n};t.default=l},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),a=n("MMmD");e.exports=function(e){return a(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),l=i.length;l--;){var u=i[e?l:++o];if(!1===n(a[u],u,a))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),a=n("wJg7"),i=n("GoyQ");e.exports=function(e,t,n){if(!i(n))return!1;var l=typeof t;return!!("number"==l?o(n)&&a(t,n.length):"string"==l&&t in n)&&r(n[t],e)}},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,a.default.type(e,u,r,l,o),u&&a.default.range(e,u.getTime(),r,l,o)}}n(l)}},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()},"nW7/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("3WF5")),l=s(n("QkVN")),u=s(n("p8yl")),c=n("TM95");function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.hex,s=e.colors,f=e.width,p=e.triangle,d=e.styles,h=void 0===d?{}:d,y=e.className,b=void 0===y?"":y,v=(0,a.default)((0,l.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===p,"top-left-triangle":"top-left"===p,"top-right-triangle":"top-right"===p}),m=function(e,n){u.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return r.default.createElement("div",{style:v.card,className:"twitter-picker "+b},r.default.createElement("div",{style:v.triangleShadow}),r.default.createElement("div",{style:v.triangle}),r.default.createElement("div",{style:v.body},(0,i.default)(s,(function(e,t){return r.default.createElement(c.Swatch,{key:t,color:e,hex:e,style:v.swatch,onClick:m,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.default.createElement("div",{style:v.hash},"#"),r.default.createElement(c.EditableInput,{label:null,style:{input:v.input},value:o.replace("#",""),onChange:m}),r.default.createElement("div",{style:v.clear})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),triangle:o.default.oneOf(["hide","top-left","top-right"]),colors:o.default.arrayOf(o.default.string),styles:o.default.object},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,c.ColorWrap)(f)},"o/2+":function(e,t,n){"use strict";var r=n("foW8"),o=n.n(r)()({});t.a=o},"oCl/":function(e,t,n){var r=n("CH3K"),o=n("LcsW"),a=n("MvSz"),i=n("0ycA"),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;e.exports=l},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},a=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")),i=n("l1rO"),l=(r=i)&&r.__esModule?r:{default:r};var u={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(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,n,r,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?c[u](t)||r.push(a.format(i.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.messages.types[u],e.fullField,e.type))}}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),i=n("TSYQ"),l=n.n(i),u=n("Gytx"),c=n.n(u),s=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(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(){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 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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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&&b(e,t)}(f,e);var t,n,o,i,u=(t=f,function(){var e,n=x(t);if(g()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,i=m(e),u=i.props,c=i.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,b=w(u,["prefixCls","className","children","style"]),v=c.radioGroup,g=o("radio",s),x=d({},b);v&&(x.name=v.name,x.onChange=e.onChange,x.checked=u.value===v.value,x.disabled=u.disabled||v.disabled);var O=l()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),x.checked),p(n,"".concat(g,"-wrapper-disabled"),x.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(a.a,d({},x,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,o),i&&y(n,i),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:o.any}},oPLb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var r=p(n("q1tI")),o=p(n("17x9")),a=p(n("/FUP")),i=p(n("3WF5")),l=p(n("QkVN")),u=p(n("p8yl")),c=n("TM95"),s=p(n("ZQT/")),f=p(n("8J/B"));function p(e){return e&&e.__esModule?e:{default:e}}var d=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.colors,p=e.hex,d=e.rgb,h=e.styles,y=void 0===h?{}:h,b=e.className,v=void 0===b?"":b,m=(0,a.default)((0,l.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},y)),g=function(e,n){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return r.default.createElement(c.Raised,{style:m.Compact,styles:y},r.default.createElement("div",{style:m.compact,className:"compact-picker "+v},r.default.createElement("div",null,(0,i.default)(o,(function(e){return r.default.createElement(s.default,{key:e,color:e,active:e.toLowerCase()===p,onClick:g,onSwatchHover:n})})),r.default.createElement("div",{style:m.clear})),r.default.createElement(f.default,{hex:p,rgb:d,onChange:g})))};d.propTypes={colors:o.default.arrayOf(o.default.string),styles:o.default.object},d.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,c.ColorWrap)(d)},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},a="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("+kn0"),l=n("jESh"),u=(r=l)&&r.__esModule?r:{default:r},c=n("nEr6");function s(e){this.rules=null,this._messages=c.messages,this.define(e)}s.prototype={messages:function(e){return e&&(this._messages=(0,i.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":a(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,u=n,f=r;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function p(e){var t,n,r=void 0,o=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(u.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.deepMerge)(d,u.messages),u.messages=d}else u.messages=this.messages();var h=void 0,y=void 0,b={},v=u.keys||Object.keys(this.rules);v.forEach((function(n){h=t.rules[n],y=l[n],h.forEach((function(r){var a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),y=l[n]=a.transform(y)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(b[n]=b[n]||[],b[n].push({rule:a,value:y,source:l,field:n}))}))}));var m={};return(0,i.asyncMap)(b,u,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;if(Array.isArray(c)||(c=[c]),!u.suppressWarning&&c.length&&s.warning("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map((0,i.complementError)(n)),u.first&&c.length)return m[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):u.error?[u.error(n,(0,i.format)(u.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 h=Array.isArray(f[d])?f[d]:[f[d]];f[d]=h.map(l.bind(null,d))}var y=new s(f);y.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),y.validate(e.value,e.rule.options||u,(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,u):n.validator&&(!0===(f=n.validator(n,e.value,c,e.source,u))?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&&!u.default.hasOwnProperty(e.type))throw new Error((0,i.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]?u.default.required:u.default[this.getType(e)]||!1}},s.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},s.warning=i.warning,s.messages=c.messages,t.default=s},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,u){var c=1&n,s=e.length,f=t.length;if(s!=f&&!(c&&f>s))return!1;var p=u.get(e);if(p&&u.get(t))return p==t;var d=-1,h=!0,y=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++d<s;){var b=e[d],v=t[d];if(i)var m=c?i(v,b,d,t,e,u):i(b,v,d,e,t,u);if(void 0!==m){if(m)continue;h=!1;break}if(y){if(!o(t,(function(e,t){if(!a(y,t)&&(b===e||l(b,e,n,i,u)))return y.push(t)}))){h=!1;break}}else if(b!==v&&!l(b,v,n,i,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},"otv/":function(e,t,n){var r=n("nmnc"),o=r?r.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},p8yl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var r=a(n("xkGU")),o=a(n("Zss7"));function a(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,n=0;return(0,r.default)(["r","g","b","a","h","s","l","v"],(function(r){if(e[r]&&(t+=1,isNaN(e[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(e[r])&&(n+=1)}})),t===n&&e};var i=t.toState=function(e,t){var n=e.hex?(0,o.default)(e.hex):(0,o.default)(e),r=n.toHsl(),a=n.toHsv(),i=n.toRgb(),l=n.toHex();return 0===r.s&&(r.h=t||0,a.h=t||0),{hsl:r,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:a,oldHue:e.h||t||r.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=i(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),a=n("zZ0H"),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;e.exports=i},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},"ql/k":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},a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,a=void 0===r?24:r,l=e.height,u=void 0===l?24:l,c=e.style,s=void 0===c?{}:c,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:a,height:u},s)},f),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 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=u(n("q1tI")),a=u(n("/FUP")),i=n("TM95"),l=u(n("Syy6"));function u(e){return e&&e.__esModule?e:{default:e}}var c=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,l=e.width,u=e.height,c=e.onChange,s=e.direction,f=e.style,p=e.renderers,d=e.pointer,h=e.className,y=void 0===h?"":h,b=(0,a.default)({default:{picker:{position:"relative",width:l,height:u},alpha:{radius:"2px",style:f}}});return o.default.createElement("div",{style:b.picker,className:"alpha-picker "+y},o.default.createElement(i.Alpha,r({},b.alpha,{rgb:t,hsl:n,pointer:d,renderers:p,onChange:c,direction:s})))};c.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(c)},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),l=n("17x9"),u=n("H84U"),c=n("o/2+"),s=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"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},y=[],b=-1,v={},m={dispatch:function(e){return v=e,!(y.length<1)&&(y.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===y.length&&this.register();var t=(++b).toString();return y.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(y=y.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return r.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return r.register(h[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 x(){return(x=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 O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(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 j(){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 P(e){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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},_=Object(s.a)("top","middle","bottom","stretch"),R=Object(s.a)("start","end","center","space-around","space-between"),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&&E(e,t)}(s,e);var t,n,r,a,l=(t=s,function(){var e,n=P(t);if(j()){var r=P(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function s(){var e;return O(this,s),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,u=a.type,s=a.justify,f=a.align,p=a.className,d=a.style,h=a.children,y=k(a,["prefixCls","type","justify","align","className","style","children"]),b=r("row",l),v=e.getGutter(),m=i()((w(n={},b,!u),w(n,"".concat(b,"-").concat(u),u),w(n,"".concat(b,"-").concat(u,"-").concat(s),u&&s),w(n,"".concat(b,"-").concat(u,"-").concat(f),u&&f),n),p),g=x(x(x({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),O=x({},y);return delete O.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",x({},O,{className:m,style:g}),h))},e}return n=s,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=m.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(){m.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 a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&C(n.prototype,r),a&&C(n,a),s}(o.Component);F.defaultProps={gutter:0},F.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(_),justify:l.oneOf(R),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rJ8t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var r=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),i=s(n("QkVN")),l=s(n("p8yl")),u=n("TM95"),c=s(n("uDUr"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,o=e.hex,s=e.colors,f=e.width,p=e.triangle,d=e.styles,h=void 0===d?{}:d,y=e.className,b=void 0===y?"":y,v="transparent"===o,m=function(e,n){l.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},g=(0,a.default)((0,i.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:l.default.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===p});return r.default.createElement("div",{style:g.card,className:"block-picker "+b},r.default.createElement("div",{style:g.triangle}),r.default.createElement("div",{style:g.head},v&&r.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),r.default.createElement("div",{style:g.label},o)),r.default.createElement("div",{style:g.body},r.default.createElement(c.default,{colors:s,onClick:m,onSwatchHover:n}),r.default.createElement(u.EditableInput,{style:{input:g.input},value:o,onChange:m})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["top","hide"]),styles:o.default.object},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},t.default=(0,u.ColorWrap)(f)},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){var i=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,i,a)};var r=a(n("LIAx")),o=a(n("i8i4"));function a(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},sVjb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(){var e=(0,o.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.default.createElement("div",{style:e.pointer},r.default.createElement("div",{style:e.left},r.default.createElement("div",{style:e.leftInside})),r.default.createElement("div",{style:e.right},r.default.createElement("div",{style:e.rightInside})))};t.default=i},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var u=1&n,c=r(e),s=c.length;if(s!=r(t).length&&!u)return!1;for(var f=s;f--;){var p=c[f];if(!(u?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var y=u;++f<s;){var b=e[p=c[f]],v=t[p];if(a)var m=u?a(v,b,p,t,e,l):a(b,v,p,e,t,l);if(!(void 0===m?b===v||i(b,v,n,a,l):m)){h=!1;break}y||(y="constructor"==p)}if(h&&!y){var g=e.constructor,x=t.constructor;g==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof x&&x instanceof x||(h=!1)}return l.delete(e),l.delete(t),h}},srvI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){var o=r.clientWidth,a=r.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(r.getBoundingClientRect().left+window.pageXOffset),c=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var s=void 0;if(c<0)s=359;else if(c>a)s=0;else{s=360*(-100*c/a+100)/100}if(n.h!==s)return{h:s,s:n.s,l:n.l,a:n.a,source:"rgb"}}else{var f=void 0;if(u<0)f=0;else if(u>o)f=359;else{f=360*(100*u/o)/100}if(n.h!==f)return{h:f,s:n.s,l:n.l,a:n.a,source:"rgb"}}return null}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},t33a:function(e,t,n){"use strict";e.exports={}},t8r4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var r=p(n("q1tI")),o=p(n("17x9")),a=p(n("/FUP")),i=p(n("3WF5")),l=p(n("QkVN")),u=p(n("p8yl")),c=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("wME1")),s=n("TM95"),f=p(n("Efrf"));function p(e){return e&&e.__esModule?e:{default:e}}var d=t.Swatches=function(e){var t=e.width,n=e.height,o=e.onChange,c=e.onSwatchHover,p=e.colors,d=e.hex,h=e.styles,y=void 0===h?{}:h,b=e.className,v=void 0===b?"":b,m=(0,a.default)((0,l.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},y)),g=function(e,t){u.default.isValidHex(e)&&o({hex:e,source:"hex"},t)};return r.default.createElement("div",{style:m.picker,className:"swatches-picker "+v},r.default.createElement(s.Raised,null,r.default.createElement("div",{style:m.overflow},r.default.createElement("div",{style:m.body},(0,i.default)(p,(function(e){return r.default.createElement(f.default,{key:e.toString(),group:e,active:d,onClick:g,onSwatchHover:c})})),r.default.createElement("div",{style:m.clear})))))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.arrayOf(o.default.string)),styles:o.default.object},d.defaultProps={width:320,height:240,colors:[[c.red[900],c.red[700],c.red[500],c.red[300],c.red[100]],[c.pink[900],c.pink[700],c.pink[500],c.pink[300],c.pink[100]],[c.purple[900],c.purple[700],c.purple[500],c.purple[300],c.purple[100]],[c.deepPurple[900],c.deepPurple[700],c.deepPurple[500],c.deepPurple[300],c.deepPurple[100]],[c.indigo[900],c.indigo[700],c.indigo[500],c.indigo[300],c.indigo[100]],[c.blue[900],c.blue[700],c.blue[500],c.blue[300],c.blue[100]],[c.lightBlue[900],c.lightBlue[700],c.lightBlue[500],c.lightBlue[300],c.lightBlue[100]],[c.cyan[900],c.cyan[700],c.cyan[500],c.cyan[300],c.cyan[100]],[c.teal[900],c.teal[700],c.teal[500],c.teal[300],c.teal[100]],["#194D33",c.green[700],c.green[500],c.green[300],c.green[100]],[c.lightGreen[900],c.lightGreen[700],c.lightGreen[500],c.lightGreen[300],c.lightGreen[100]],[c.lime[900],c.lime[700],c.lime[500],c.lime[300],c.lime[100]],[c.yellow[900],c.yellow[700],c.yellow[500],c.yellow[300],c.yellow[100]],[c.amber[900],c.amber[700],c.amber[500],c.amber[300],c.amber[100]],[c.orange[900],c.orange[700],c.orange[500],c.orange[300],c.orange[100]],[c.deepOrange[900],c.deepOrange[700],c.deepOrange[500],c.deepOrange[300],c.deepOrange[100]],[c.brown[900],c.brown[700],c.brown[500],c.brown[300],c.brown[100]],[c.blueGrey[900],c.blueGrey[700],c.blueGrey[500],c.blueGrey[300],c.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,s.ColorWrap)(d)},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},trA2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(e){var t=e.direction,n=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return r.default.createElement("div",{style:n.picker})};t.default=i},tu5P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var r=a(n("q1tI")),o=a(n("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointerCircle=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.default.createElement("div",{style:e.picker})};t.default=i},uDUr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var r=l(n("q1tI")),o=l(n("/FUP")),a=l(n("3WF5")),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,l=e.onSwatchHover,u=(0,o.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.default.createElement("div",{style:u.swatches},(0,a.default)(t,(function(e){return r.default.createElement(i.Swatch,{key:e,color:e,style:u.swatch,onClick:n,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}})})),r.default.createElement("div",{style:u.clear}))};t.default=u},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vXNv:function(e,t,n){},"w/wX":function(e,t,n){var r=n("QqLw"),o=n("ExA7");e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),a=n("6RRn"),i=n.n(a),l=n("17x9"),u=n("TSYQ"),c=n.n(u),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),h=n("1j5w"),y=n("Yf6U"),b=n.n(y),v=n("jsC+"),m=n("CtXQ"),g=n("kaz8"),x=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function O(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(n);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 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 S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=E({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function j(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=j(e[n],t,n)),E(E({},t(e,r)),o)}))}function P(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=P(n.children,t);e.push.apply(e,O(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=E({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?T(e):t}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var V=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&&N(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=I(t);if(A()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(T(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,a=n.locale,i=n.prefixCls,l=n.selectedKeys,u=l&&l.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(u));var f=c()((F(e={},"".concat(i,"-selected"),"filtered"in o?o.filtered:u),F(e,"".concat(i,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||a.filterTitle,className:c()("".concat(i,"-icon"),f,s.props.className),onClick:B}):r.createElement("span",{className:c()("".concat(i,"-icon"),f)},s):r.createElement(m.default,{title:a.filterTitle,type:"filter",theme:"filled",className:f,onClick:B})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,a=o.selectedKeys,i=o.valueKeys,l=t.filterDropdown;f()(a,n)||r(t,l?a:a.map((function(e){return i[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,a=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,i=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),l=c()("".concat(a,"-dropdown-submenu"),F({},"".concat(o,"-submenu-contain-selected"),i));return r.createElement(h.d,{title:e.text,popupClassName:l,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,a=(n||[]).map((function(e){return e.toString()})),i=o?r.createElement(g.default,{checked:a.indexOf(e.value.toString())>=0}):r.createElement(x.default,{checked:a.indexOf(e.value.toString())>=0});return r.createElement(h.b,{key:e.value},i,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,a=n.locale,i=n.prefixCls,l=n.dropdownPrefixCls,u=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=c()(F({},"".concat(l,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(l,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(i,"-dropdown")},p):r.createElement(w,{className:"".concat(i,"-dropdown")},r.createElement(h.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(l,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:u},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(i,"-dropdown-btns")},r.createElement("a",{className:"".concat(i,"-dropdown-link confirm"),onClick:this.handleConfirm},a.filterConfirm),r.createElement("a",{className:"".concat(i,"-dropdown-link clear"),onClick:this.handleClearFilters},a.filterReset)));return r.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:u,forceRender:!0},this.renderFilterIcon())}}])&&M(n.prototype,o),a&&M(n,a),l}(r.Component);V.defaultProps={column:{}},Object(p.polyfill)(V);var L=V;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 q(e){return(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})(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 G(e,t){for(var n=0;n<t.length;n++){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 W(e,t){return!t||"object"!==q(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 U(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Y=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=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=X(t);if(U()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return W(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).state={checked:t.getCheckState(e)},t}return n=l,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Y(e,["type","rowIndex"]),a=this.state.checked;return"radio"===t?r.createElement(x.default,z({checked:a,value:n},o)):r.createElement(g.default,z({checked:a},o))}}])&&G(n.prototype,o),a&&G(n,a),l}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ae(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,a=e.type;return e.byDefaultChecked?o[a]((function(e,t){return n(e,t).defaultChecked})):o[a]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ie(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ae(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ae(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function le(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ae(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=le(e),r=ie(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=le(e),n=ie(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,a=o.disabled,i=o.prefixCls,l=o.selections,u=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(i,"-selection"),h=null;if(l){var y=Array.isArray(l)?this.defaultSelections.concat(l):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(y));h=y.length>0?r.createElement(v.default,{overlay:b,getPopupContainer:u},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(m.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:c()((e={},t="".concat(d,"-select-all-custom"),n=h,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:a,onChange:this.handleSelectAllChange}),h)}}])&&$(n.prototype,o),a&&$(n,a),l}(r.Component);Object(p.polyfill)(ue);var ce=ue;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 he(){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 ye(e){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=ye(t);if(he()){var r=ye(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);function ve(e){return(ve="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 me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e,t){return!t||"object"!==ve(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(){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 Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ge(e,t)}(r,e);var t,n=(t=r,function(){var e,n=Oe(t);if(we()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xe(this,e)});function r(){return me(this,r),n.apply(this,arguments)}return r}(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 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 je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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 t&&ke(e.prototype,t),n&&ke(e,n),e}function Re(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&&Fe(e,t)}function Fe(e,t){return(Fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Te(e);if(De()){var r=Te(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ne(this,t)}}function Ne(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 De(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(a,t);var n=Me(a);function a(e){var t;Pe(this,a),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(a,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=c()(this.props.className,je({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,Se(Se({},t),{className:n}),this.props.children)}}]),a}(r.Component);return t}Ce.__ANT_TABLE_COLUMN_GROUP=!0;var Ie=n("61SU"),Be=n.n(Ie);function Ve(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}function Le(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}var He=n("NUBc"),qe=n("W9HT"),ze=n("gDlH"),Ge=n("YMnH"),Ke=n("ZvpZ"),We=n("H84U"),Ue=n("6CfX");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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function at(){return(at=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 it=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 lt(){}function ut(e){e.stopPropagation()}function ct(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:lt,onShowSizeChange:lt},dt={},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return at(at({},e),{body:at(at({},e.body),{row:Ae(t)})})};function yt(e,t){return P(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return yt(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var a;Qe(this,n),(a=t.call(this,e)).setTableRef=function(e){a.rcTable=e},a.getCheckboxPropsByItem=function(e,t){var n=ct(a.props);if(!n.getCheckboxProps)return{};var r=a.getRecordKey(e,t);if(!a.props.checkboxPropsCache[r]){a.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=a.props.checkboxPropsCache[r];Object(Ue.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return a.props.checkboxPropsCache[r]},a.getRecordKey=function(e,t){var n=a.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Ue.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},a.onRow=function(e,t,n){var r=a.props.onRow;return at(at({},r?r(t,n):{}),{prefixCls:e,store:a.props.store,rowKey:a.getRecordKey(t,n)})},a.generatePopupContainerFunc=function(e){var t=a.props.scroll,n=a.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},a.scrollToFirstRow=function(){var e=a.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,a=t.duration,i=void 0===a?450:a,l=r(),u=Ve(l,!0),c=Date.now(),s=function t(){var n=Date.now()-c,r=Le(n>i?i:n,u,e,i);l===window?window.scrollTo(window.pageXOffset,r):l.scrollTop=r,n<i?Be()(t):"function"==typeof o&&o()};Be()(s)}(0,{getContainer:function(){return a.rcTable.bodyTable}})},a.handleFilter=function(e,t){var n=a.props,r=at({},a.state.pagination),o=at(at({},a.state.filters),Ye({},st(e),t)),i=[];j(a.state.columns,(function(e){e.children||i.push(st(e))})),Object.keys(o).forEach((function(e){i.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var l={pagination:r,filters:{}},u=at({},o);yt(a.state).forEach((function(e){var t=st(e);t&&delete u[t]})),Object.keys(u).length>0&&(l.filters=u),"object"===Xe(n.pagination)&&"current"in n.pagination&&(l.pagination=at(at({},r),{current:a.state.pagination.current})),a.setState(l,(function(){a.scrollToFirstRow(),a.props.store.setState({selectionDirty:!1});var e=a.props.onChange;e&&e.apply(null,a.prepareParamsArguments(at(at({},a.state),{selectionDirty:!1,filters:o,pagination:r})))}))},a.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,i=a.props.store.getState().selectionDirty?[]:a.getDefaultSelection(),l=a.props.store.getState().selectedRowKeys.concat(i),u=a.getRecordKey(e,t),c=a.state.pivot,s=a.getFlatCurrentPageData(),f=t;if(a.props.expandedRowRender&&(f=s.findIndex((function(e){return a.getRecordKey(e,t)===u}))),o.shiftKey&&void 0!==c&&f!==c){for(var p=[],d=Math.sign(c-f),h=Math.abs(c-f),y=0,b=function(){var e=f+y*d;y+=1;var t=s[e],n=a.getRecordKey(t,e);a.getCheckboxPropsByItem(t,e).disabled||(l.includes(n)?r||(l=l.filter((function(e){return n!==e})),p.push(n)):r&&(l.push(n),p.push(n)))};y<=h;)b();a.setState({pivot:f}),a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(l,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?l.push(a.getRecordKey(e,f)):l=l.filter((function(e){return u!==e})),a.setState({pivot:f}),a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(l,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},a.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,i=[a.getRecordKey(e,t)];a.props.store.setState({selectionDirty:!0}),a.setSelectedRowKeys(i,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},a.handleSelectRow=function(e,t,n){var r,o=a.getFlatCurrentPageData(),i=a.props.store.getState().selectionDirty?[]:a.getDefaultSelection(),l=a.props.store.getState().selectedRowKeys.concat(i),u=o.filter((function(e,t){return!a.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return a.getRecordKey(e,t)})),c=[],s="onSelectAll";switch(e){case"all":u.forEach((function(e){l.indexOf(e)<0&&(l.push(e),c.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":u.forEach((function(e){l.indexOf(e)>=0&&(l.splice(l.indexOf(e),1),c.push(e))})),s="onSelectAll",r=!1;break;case"invert":u.forEach((function(e){l.indexOf(e)<0?l.push(e):l.splice(l.indexOf(e),1),c.push(e),s="onSelectInvert"}))}a.props.store.setState({selectionDirty:!0});var f=a.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(u);a.setSelectedRowKeys(l,{selectWay:s,checked:r,changeRowKeys:c})},a.handlePageChange=function(e){var t=a.props,n=at({},a.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n.onChange.apply(n,[n.current].concat(o));var l={pagination:n};t.pagination&&"object"===Xe(t.pagination)&&"current"in t.pagination&&(l.pagination=at(at({},n),{current:a.state.pagination.current})),a.setState(l,a.scrollToFirstRow),a.props.store.setState({selectionDirty:!1});var u=a.props.onChange;u&&u.apply(null,a.prepareParamsArguments(at(at({},a.state),{selectionDirty:!1,pagination:n})))},a.handleShowSizeChange=function(e,t){var n=a.state.pagination;n.onShowSizeChange(e,t);var r=at(at({},n),{pageSize:t,current:e});a.setState({pagination:r},a.scrollToFirstRow);var o=a.props.onChange;o&&o.apply(null,a.prepareParamsArguments(at(at({},a.state),{pagination:r})))},a.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,a=t.needIndentSpaced,i=t.record,l=t.onExpand;return n?r.createElement(Ge.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(t){var n;return r.createElement(ze.a,{className:c()("".concat(e,"-row-expand-icon"),(n={},Ye(n,"".concat(e,"-row-collapsed"),!o),Ye(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){l(i,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):a?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},a.renderSelectionBox=function(e){return function(t,n,o){var i=a.getRecordKey(n,o),l=a.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:ut},r.createElement(Q,at({type:e,store:a.props.store,rowIndex:i,onChange:function(t){return"radio"===e?a.handleRadioSelect(n,o,t):a.handleSelect(n,o,t)},defaultSelection:a.getDefaultSelection()},l)))}},a.renderTable=function(e){var t,n=e.prefixCls,l=e.renderEmpty,u=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=a.props,d=p.showHeader,h=p.locale,y=p.getPopupContainer,b=it(p,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(b,["style"]),m=a.getCurrentPageData(),g=a.props.expandedRowRender&&!1!==a.props.expandIconAsCell,x=y||f,w=at(at({},s),h);h&&h.emptyText||(w.emptyText=l("Table"));var O=c()("".concat(n,"-").concat(a.props.size),(Ye(t={},"".concat(n,"-bordered"),a.props.bordered),Ye(t,"".concat(n,"-empty"),!m.length),Ye(t,"".concat(n,"-without-column-header"),!d),t)),C=a.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:x}),E=a.renderColumnsDropdown({columns:C,prefixCls:n,dropdownPrefixCls:u,locale:w,getPopupContainer:x}).map((function(e,t){var n=at({},e);return n.key=st(n,t),n})),S=E[0]&&"selection-column"===E[0].key?1:0;return"expandIconColumnIndex"in v&&(S=v.expandIconColumnIndex),r.createElement(i.a,at({ref:a.setTableRef,key:"table",expandIcon:a.renderExpandIcon(n)},v,{onRow:function(e,t){return a.onRow(n,e,t)},components:a.state.components,prefixCls:n,data:m,columns:E,showHeader:d,className:O,expandIconColumnIndex:S,expandIconAsCell:g,emptyText:w.emptyText}))},a.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,i=a.props,l=i.prefixCls,u=i.dropdownPrefixCls,s=i.style,f=i.className,p=a.getCurrentPageData(),d=a.props.loading;"boolean"==typeof d&&(d={spinning:d});var h=t("table",l),y=t("dropdown",u),b=r.createElement(Ge.a,{componentName:"Table",defaultLocale:Ke.a.Table},(function(e){return a.renderTable({prefixCls:h,renderEmpty:n,dropdownPrefixCls:y,contextLocale:e,getPopupContainer:o})})),v=a.hasPagination()&&p&&0!==p.length?"".concat(h,"-with-pagination"):"".concat(h,"-without-pagination");return r.createElement("div",{className:c()("".concat(h,"-wrapper"),f),style:s},r.createElement(qe.default,at({},d,{className:d.spinning?"".concat(v," ").concat(h,"-spin-holder"):""}),a.renderPagination(h,"top"),b,a.renderPagination(h,"bottom")))};var l=e.expandedRowRender,u=e.columns;Object(Ue.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),l&&(u||[]).some((function(e){return!!e.fixed}))&&Object(Ue.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=u||k(e.children);return a.state=at(at({},a.getDefaultSortOrder(s||[])),{filters:a.getDefaultFilters(s),pagination:a.getDefaultPagination(e),pivot:void 0,prevProps:e,components:ht(e.components),columns:s}),a}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ct(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Xe(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?at(at(at({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return P(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return at(at({},P(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=P(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return S(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return S(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,a=o||[];a=a.slice(0);var i=this.getSorterFn(r);return i&&(a=this.recursiveSort(a,i)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var i=n.onFilter;a=i?a.filter((function(e){return o.some((function(t){return i(t,e)}))})):a}}})),a}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,a=t.checked,i=t.changeRowKeys,l=t.nativeEvent,u=ct(this.props);u&&!("selectedRowKeys"in u)&&this.props.store.setState({selectedRowKeys:e});var c=this.getFlatData();if(u.onChange||u[r]){var s=c.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(u.onChange&&u.onChange(e,s),"onSelect"===r&&u.onSelect)u.onSelect(o,a,s,l);else if("onSelectMultiple"===r&&u.onSelectMultiple){var f=c.filter((function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectMultiple(a,s,f)}else if("onSelectAll"===r&&u.onSelectAll){var p=c.filter((function(e,t){return i.indexOf(n.getRecordKey(e,t))>=0}));u.onSelectAll(a,s,p)}else"onSelectInvert"===r&&u.onSelectInvert&&u.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var a=n.indexOf(o)+1;t=a===n.length?void 0:n[a]}else t=n[0];var i={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(i,this.scrollToFirstRow);var l=this.props.onChange;l&&l.apply(null,this.prepareParamsArguments(at(at({},this.state),i),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=at({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},a=t;return e.sortColumn&&e.sortOrder&&(a=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),a&&(o.field=a.dataIndex,o.columnKey=st(a)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return j(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?at(at({},e),Ye({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var a=o.position||"bottom",i=o.total||this.getLocalData().length;return i>0&&(a===t||"both"===a)?r.createElement(He.default,at({key:"pagination-".concat(t)},o,{className:c()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:i,size:n,current:this.getMaxCurrent(i),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,i=e.getPopupContainer,l=this.props.rowSelection,u=this.state.columns.concat();if(l){var s=this.getFlatCurrentPageData().filter((function(e,n){return!l.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=c()("".concat(n,"-selection-column"),Ye({},"".concat(n,"-selection-column-custom"),l.selections)),p=Ye({key:"selection-column",render:this.renderSelectionBox(l.type),className:f,fixed:l.fixed,width:l.columnWidth,title:l.columnTitle},a.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==l.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ce,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:l.selections,hideDefaultSelections:l.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(i)})}"fixed"in l?p.fixed=l.fixed:u.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),u[0]&&"selection-column"===u[0].key?u[0]=p:u.unshift(p)}return u}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,a=e.columns,i=e.locale,l=e.getPopupContainer,u=this.state,s=u.sortOrder,f=u.filters;return j(a,(function(e,a){var u,p,d,h=st(e,a),y=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=h in f?f[h]:[];p=r.createElement(L,{locale:i,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(l),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,x=b&&"ascend"===s,w=b&&"descend"===s,O=-1!==g.indexOf("ascend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-up ").concat(x?"on":"off"),type:"caret-up",theme:"filled"}),C=-1!==g.indexOf("descend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:i.sortTitle,className:c()("".concat(n,"-column-sorter-inner"),O&&C&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},O,C),y=function(n){var r={};e.onHeaderCell&&(r=at({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return at(at({},e),{className:c()(e.className,(u={},Ye(u,"".concat(n,"-column-has-actions"),d||p),Ye(u,"".concat(n,"-column-has-filters"),p),Ye(u,"".concat(n,"-column-has-sorters"),d),Ye(u,"".concat(n,"-column-sort"),b&&s),u)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:y})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(We.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,a=e.columns||k(e.children),i=at(at({},t),{prevProps:e,columns:a});if("pagination"in e||"pagination"in o){var l=at(at(at({},pt),t.pagination),e.pagination);l.current=l.current||1,l.pageSize=l.pageSize||10,i=at(at({},i),{pagination:!1!==e.pagination?l:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),yt(i,i.columns).length>0){var u=bt(i,i.columns),c=at({},i.filters);Object.keys(u).forEach((function(e){c[e]=u[e]})),n=i,r=c,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(i=at(at({},i),{filters:c}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=ht(e.components);i=at(at({},i),{components:s})}return i}}]),n}(r.Component);vt.propTypes={dataSource:l.array,columns:l.array,prefixCls:l.string,useFixedHeader:l.bool,rowSelection:l.object,className:l.string,size:l.string,loading:l.oneOfType([l.bool,l.object]),bordered:l.bool,onChange:l.func,locale:l.object,dropdownPrefixCls:l.string,sortDirections:l.array,getPopupContainer:l.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(vt);var mt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,a,i;return Qe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ct(e).selectedRowKeys||[],selectionDirty:!1},a=o,i=[],{setState:function(e){a=H(H({},a),e);for(var t=0;t<i.length;t++)i[t]()},getState:function(){return a},subscribe:function(e){return i.push(e),function(){var t=i.indexOf(e);i.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(vt,at({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);mt.displayName="withStore(Table)",mt.Column=be,mt.ColumnGroup=Ce;var gt=mt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),h=f(n("17x9")),y=p(n("Gytx")),b=p(n("rsGM")),v=p(n("cOkC")),m=n("xI0J"),g=p(n("QkVN")),x=p(n("PFWz")),w=p(n("TSYQ")),O=n("VCL8"),C=n("6Ogq"),E=p(n("BjZs")),S=p(n("Cit5")),j=p(n("YqDF")),P=p(n("BC81")),k=p(n("AHJs")),_=p(n("PZDY")),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&&i(e,t)}(h,e);var t,n,r,f,p=(t=h,function(){var e,n=s(t);if(c()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],a=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),i=t.store.getState(),l=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||i.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});y.default(i.fixedColumnsHeadRowsHeight,a)&&y.default(i.fixedColumnsBodyRowsHeight,l)||t.store.setState({fixedColumnsHeadRowsHeight:a,fixedColumnsBodyRowsHeight:l})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,a=u(t),i=a.headTable,l=a.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===l&&i?i.scrollLeft=n.scrollLeft:n===i&&l&&(l.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,a=u(t),i=a.headTable,l=a.bodyTable,c=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==i){var f=n.scrollTop;c&&n!==c&&(c.scrollTop=f),s&&n!==s&&(s.scrollTop=f),l&&n!==l&&(l.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,a=e.target,i=u(t),l=i.bodyTable,c=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,c&&a!==c&&(e.preventDefault(),c.scrollTop=f),s&&a!==s&&(e.preventDefault(),s.scrollTop=f),l&&a!==l&&(e.preventDefault(),l.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new E.default(e.columns,e.children),t.store=m.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=C.debounce(t.handleWindowResize,150),t}return n=h,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?x.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):x.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,a=e.scroll,i=void 0===a?{}:a;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||i.y||i.x&&!0!==i.x&&"max-content"!==i.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,a=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},a):a}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,a=o.prefixCls,i=o.scroll,l=(void 0===i?{}:i).x||n?"".concat(a,"-fixed"):"";return[d.createElement(S.default,{key:"head",columns:t,fixed:n,tableClassName:l,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(j.default,{key:"body",columns:t,fixed:n,tableClassName:l,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var a=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),i=this.columnManager.isAnyColumnsLeftFixed(),l=this.columnManager.isAnyColumnsRightFixed(),u=C.getDataAndAriaProps(n);return d.createElement(m.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:a,style:n.style,id:n.id},u),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),i&&t.renderLeftFixedTable(),l&&t.renderRightFixedTable()))})))}}])&&a(n.prototype,r),f&&a(n,f),h}(d.Component);R.childContextTypes={table:h.any,components:h.any},R.Column=P.default,R.ColumnGroup=k.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},O.polyfill(R),t.default=R},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},wME1:function(e,t,n){"use strict";n.r(t),n.d(t,"red",(function(){return r})),n.d(t,"pink",(function(){return o})),n.d(t,"purple",(function(){return a})),n.d(t,"deepPurple",(function(){return i})),n.d(t,"indigo",(function(){return l})),n.d(t,"blue",(function(){return u})),n.d(t,"lightBlue",(function(){return c})),n.d(t,"cyan",(function(){return s})),n.d(t,"teal",(function(){return f})),n.d(t,"green",(function(){return p})),n.d(t,"lightGreen",(function(){return d})),n.d(t,"lime",(function(){return h})),n.d(t,"yellow",(function(){return y})),n.d(t,"amber",(function(){return b})),n.d(t,"orange",(function(){return v})),n.d(t,"deepOrange",(function(){return m})),n.d(t,"brown",(function(){return g})),n.d(t,"grey",(function(){return x})),n.d(t,"blueGrey",(function(){return w})),n.d(t,"darkText",(function(){return O})),n.d(t,"lightText",(function(){return C})),n.d(t,"darkIcons",(function(){return E})),n.d(t,"lightIcons",(function(){return S})),n.d(t,"white",(function(){return j})),n.d(t,"black",(function(){return P}));var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},a={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},s={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},y={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},b={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},m={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},g={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},O={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},C={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},E={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},S={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},j="#ffffff",P="#000000";t.default={red:r,pink:o,purple:a,deepPurple:i,indigo:l,blue:u,lightBlue:c,cyan:s,teal:f,green:p,lightGreen:d,lime:h,yellow:y,amber:b,orange:v,deepOrange:m,brown:g,grey:x,blueGrey:w,darkText:O,lightText:C,darkIcons:E,lightIcons:S,white:j,black:P}},wZXL:function(e,t,n){var r=n("vPd/"),o=n("IX3V"),a=o.each,i=o.isFunction,l=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var o=this.queries,u=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,u)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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=u},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},wkyg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 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=s(n("q1tI")),a=s(n("17x9")),i=s(n("/FUP")),l=s(n("QkVN")),u=n("TM95"),c=s(n("trA2"));function s(e){return e&&e.__esModule?e:{default:e}}var f=t.HuePicker=function(e){var t=e.width,n=e.height,a=e.onChange,c=e.hsl,s=e.direction,f=e.pointer,p=e.styles,d=void 0===p?{}:p,h=e.className,y=void 0===h?"":h,b=(0,i.default)((0,l.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},d));return o.default.createElement("div",{style:b.picker,className:"hue-picker "+y},o.default.createElement(u.Hue,r({},b.hue,{hsl:c,pointer:f,onChange:function(e){return a({a:1,h:e.h,l:.5,s:1})},direction:s})))};f.propTypes={styles:a.default.object},f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:c.default,styles:{}},t.default=(0,u.ColorWrap)(f)},wrZu:function(e,t,n){var r=n("+K+b"),o=n("XYm9"),a=n("b2z7"),i=n("otv/"),l=n("yP5f");e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return a(e);case"[object Set]":return new u;case"[object Symbol]":return i(e)}}},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),u=n.n(l),c=n("FYw3"),s=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),b=n.n(y),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),x=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,u=t.id,c=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,x=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(x).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=x[t]),e}),{}),O=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:C,style:a},h.a.createElement("input",i()({name:l,id:u,type:c,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},w)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);x.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},x.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(x);var w=x;t.a=w},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},xbjo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var r=l(n("q1tI")),o=n("/FUP"),a=l(o),i=n("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,o=e.onSwatchHover,l=e.hover,u=e.active,c=e.circleSize,s=e.circleSpacing,f=(0,a.default)({default:{swatch:{width:c,height:c,marginRight:s,marginBottom:s,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:l,active:u});return r.default.createElement("div",{style:f.swatch},r.default.createElement(i.Swatch,{style:f.Swatch,color:t,onClick:n,onHover:o,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,o.handleHover)(u)},xkGU:function(e,t,n){e.exports=n("bNQv")},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},yHx3:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},yOY4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 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=s(a),l=s(n("/FUP")),u=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("THLb")),c=s(n("Nq3d"));function s(e){return e&&e.__esModule?e:{default:e}}function f(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 d=t.Alpha=function(e){function t(){var e,n,r;f(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.handleChange=function(e){var t=u.calculateChange(e,r.props.hsl,r.props.direction,r.props.a,r.container);t&&"function"==typeof r.props.onChange&&r.props.onChange(t,e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},p(r,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:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.default.createElement("div",{style:n.alpha},i.default.createElement("div",{style:n.checkboard},i.default.createElement(c.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:n.gradient}),i.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:n.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:n.slider}))))}}]),t}(a.PureComponent||a.Component);t.default=d},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zEVN:function(e,t,n){var r=n("Gi0A"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isMap,l=i?o(i):r;e.exports=l},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),a=r(n("17x9")),i=n("6Ogq"),l=function(e,t){var n,r=t.table,a=r.props,l=a.prefixCls,u=a.expandIconAsCell,c=e.fixed,s=[];return u&&"right"!==c&&s.push(o.createElement("col",{className:"".concat(l,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===c?r.columnManager.leftLeafColumns():"right"===c?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,a=e[i.INTERNAL_COL_DEFINE],l=void 0!==t?t:n;return o.createElement("col",Object.assign({key:l,style:{width:r,minWidth:r}},a))}))),o.createElement("colgroup",null,s)};l.contextTypes={table:a.any},t.default=l},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e,t){return!t||"object"!==r(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 u(){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 s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),h=f(n("0hpf")),y=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)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=c(t);if(u()){var r=c(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return l(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,a=r.expanded,i=r.rowKey;e.expandable&&o(!a,t,n,i)},e.handleRowClick=function(t,n,r){var o=e.props,a=o.expandRowByClick,i=o.onRowClick;a&&e.handleExpandChange(t,r),i&&i(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,a=t.needIndentSpaced,i=t.expandIcon;return i?i({prefixCls:n,expanded:r,record:o,needIndentSpaced:a,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(h.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:a,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,a=e.fixed,i=e.expanded;this.expandIconAsCell="right"!==a&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==a?this.props.expandIconColumnIndex:-1;var l=o[t];this.expandable=!(!l&&!n);var u={indentSize:r,expanded:i,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(u)}}])&&a(n.prototype,r),s&&a(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(y)}}]); \ No newline at end of file diff --git a/static/js/17.0f8b2e98.chunk.js b/static/js/18.aba475e1.chunk.js similarity index 99% rename from static/js/17.0f8b2e98.chunk.js rename to static/js/18.aba475e1.chunk.js index 96808fbab..617f82206 100644 --- a/static/js/17.0f8b2e98.chunk.js +++ b/static/js/18.aba475e1.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[17,4,5,77],{"+B/L":function(e,t,r){},"+K+b":function(e,t,r){var n=r("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},"+Qka":function(e,t,r){var n=r("fmRc"),o=r("t2Dn"),a=r("cq/+"),i=r("T1AV"),l=r("GoyQ"),u=r("mTTR"),s=r("itsj");e.exports=function e(t,r,c,f,d){t!==r&&a(r,(function(a,u){if(d||(d=new n),l(a))i(t,r,u,c,e,f,d);else{var p=f?f(s(t,u),a,u+"",t,r,d):void 0;void 0===p&&(p=a),o(t,u,p)}}),u)}},"+c4W":function(e,t,r){var n=r("711d"),o=r("4/ic"),a=r("9ggG"),i=r("9Nap");e.exports=function(e){return a(e)?n(i(e)):o(e)}},"+iFO":function(e,t,r){var n=r("dTAl"),o=r("LcsW"),a=r("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},"+kn0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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=i,t.format=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(e){return"[Circular]"}break;default:return e}})),u=t[n];n<i;u=t[++n])l+=" "+u;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,r,n){if(t.first){return l(function(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r])})),t}(e),r,n)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),u=a.length,s=0,c=[],f=new Promise((function(t,f){var d=function(e){if(c.push.apply(c,e),++s===u)return n(c),c.length?f({errors:c,fields:i(c)}):t()};a.forEach((function(t){var n=e[t];-1!==o.indexOf(t)?l(n,r,d):function(e,t,r){var n=[],o=0,a=e.length;function i(e){n.push.apply(n,e),++o===a&&r(n)}e.forEach((function(e){t(e,i)}))}(n,r,d)}))}));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 r in t)if(t.hasOwnProperty(r)){var a=t[r];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[r])?e[r]=n({},e[r],a):e[r]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function l(e,t,r){var n=0,o=e.length;!function a(i){if(i&&i.length)r(i);else{var l=n;n+=1,l<o?t(e[l],a):r([])}}([])}},"/FUP":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var n=s(r("W3HW")),o=s(r("lreK")),a=s(r("KfSR")),i=s(r("VYtm")),l=s(r("XQvf")),u=s(r("B5Mt"));function s(e){return e&&e.__esModule?e:{default:e}}t.hover=i.default,t.handleHover=i.default,t.handleActive=l.default,t.loop=u.default;var c=t.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var l=(0,n.default)(r),u=(0,o.default)(e,l);return(0,a.default)(u)};t.default=c},"/kpp":function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var n=r("q1tI"),o=r("17x9"),a=r("TSYQ"),i=r.n(a),l=r("o/2+"),u=r("H84U");function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 y(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},x=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&&h(e,t)}(w,e);var t,r,o,a,x=(t=w,function(){var e,r=g(t);if(y()){var n=g(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return b(this,e)});function w(){var e;return d(this,w),(e=x.apply(this,arguments)).renderCol=function(t){var r,o=t.getPrefixCls,a=v(e).props,u=a.prefixCls,d=a.span,p=a.order,h=a.offset,b=a.push,y=a.pull,g=a.className,x=a.children,w=m(a,["prefixCls","span","order","offset","push","pull","className","children"]),O=o("col",u),E={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,r={},n=a[e];"number"==typeof n?r.span=n:"object"===f(n)&&(r=n||{}),delete w[e],E=c(c({},E),(s(t={},"".concat(O,"-").concat(e,"-").concat(r.span),void 0!==r.span),s(t,"".concat(O,"-").concat(e,"-order-").concat(r.order),r.order||0===r.order),s(t,"".concat(O,"-").concat(e,"-offset-").concat(r.offset),r.offset||0===r.offset),s(t,"".concat(O,"-").concat(e,"-push-").concat(r.push),r.push||0===r.push),s(t,"".concat(O,"-").concat(e,"-pull-").concat(r.pull),r.pull||0===r.pull),t))}));var C=i()(O,(s(r={},"".concat(O,"-").concat(d),void 0!==d),s(r,"".concat(O,"-order-").concat(p),p),s(r,"".concat(O,"-offset-").concat(h),h),s(r,"".concat(O,"-push-").concat(b),b),s(r,"".concat(O,"-pull-").concat(y),y),r),g,E);return n.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,r=w.style;return t&&(r=c(c(c({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),r)),n.createElement("div",c({},w,{style:r,className:C}),x)}))},e}return r=w,(o=[{key:"render",value:function(){return n.createElement(u.a,null,this.renderCol)}}])&&p(r.prototype,o),a&&p(r,a),w}(n.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:x,sm:x,md:x,lg:x,xl:x,xxl:x}},"008G":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n},l=r("eO8H");function u(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}r("6JOy");var c=function(e){function t(){return u(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:"render",value:function(){var e=this.props.match.params,t=e.projectsId,r=e.owner;return i.default.createElement("p",{className:"topWrapper_nav"},i.default.createElement(l.NavLink,{activeClassName:"active",className:"issue-type-button",to:"/projects/"+r+"/"+t+"/issues/tags"},"标签"),i.default.createElement(l.NavLink,{activeClassName:"active",className:"issue-type-button",to:"/projects/"+r+"/"+t+"/milestones"},"里程碑"))}}]),t}(a.Component);t.default=c},"0Cz8":function(e,t,r){var n=r("Xi7e"),o=r("ebwN"),a=r("e4Nc");e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},"0ycA":function(e,t){e.exports=function(){return[]}},"1+5i":function(e,t,r){var n=r("w/wX"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isSet,l=i?o(i):n;e.exports=l},"1hJj":function(e,t,r){var n=r("e4Nc"),o=r("ftKO"),a=r("3A9y");function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2CTR":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=l(o),i=l(r("dF3D"));function l(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 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 u(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),n(t,[{key:"render",value:function(){var e=this.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},"2NuI":function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,a,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,o,a,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2WkQ":function(e,t,r){"use strict";r.r(t);r("SchZ"),r("+B/L"),r("TfFZ")},"2mql":function(e,t,r){"use strict";var n=r("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?i:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=c(r);f&&(i=i.concat(f(r)));for(var l=u(t),b=u(r),v=0;v<i.length;++v){var y=i[v];if(!(a[y]||n&&n[y]||b&&b[y]||l&&l[y])){var g=d(r,y);try{s(t,y,g)}catch(e){}}}}return t}},"2zpl":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPreviews=function(e){var t=e.rgb,r=e.currentColor,a=(0,o.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n.default.createElement("div",null,n.default.createElement("div",{style:a.label},"new"),n.default.createElement("div",{style:a.swatches},n.default.createElement("div",{style:a.new}),n.default.createElement("div",{style:a.current})),n.default.createElement("div",{style:a.label},"current"))};t.default=i},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"3L66":function(e,t,r){var n=r("MMmD"),o=r("ExA7");e.exports=function(e){return o(e)&&n(e)}},"3WF5":function(e,t,r){var n=r("eUgh"),o=r("ut/Y"),a=r("l9OW"),i=r("Z0cm");e.exports=function(e,t){return(i(e)?n:a)(e,o(t,3))}},"4/ic":function(e,t,r){var n=r("ZWtO");e.exports=function(e){return function(t){return n(t,e)}}},"4qC0":function(e,t,r){var n=r("NykK"),o=r("Z0cm"),a=r("ExA7");e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==n(e)}},"4sDh":function(e,t,r){var n=r("4uTw"),o=r("03A+"),a=r("Z0cm"),i=r("wJg7"),l=r("shjB"),u=r("9Nap");e.exports=function(e,t,r){for(var s=-1,c=(t=n(t,e)).length,f=!1;++s<c;){var d=u(t[s]);if(!(f=null!=e&&r(e,d)))break;e=e[d]}return f||++s!=c?f:!!(c=null==e?0:e.length)&&l(c)&&i(d,c)&&(a(e)||o(e))}},"4t1q":function(e,t,r){"use strict";r("SchZ"),r("TZyB")},"5Tg0":function(e,t,r){(function(e){var n=r("Kz5y"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}}).call(this,r("YuTi")(e))},"6JOy":function(e,t,r){},"6sVZ":function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,r){var n=r("Xi7e");e.exports=function(){this.__data__=new n,this.size=0}},"7GkX":function(e,t,r){var n=r("b80T"),o=r("A90E"),a=r("MMmD");e.exports=function(e){return a(e)?n(e):o(e)}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},"7Lfq":function(e,t,r){},"7dW+":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var n=f(r("q1tI")),o=f(r("17x9")),a=f(r("/FUP")),i=f(r("3WF5")),l=f(r("QkVN")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),s=r("TM95"),c=f(r("xbjo"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Circle=function(e){var t=e.width,r=e.onChange,o=e.onSwatchHover,u=e.colors,s=e.hex,f=e.circleSize,d=e.styles,p=void 0===d?{}:d,h=e.circleSpacing,b=e.className,v=void 0===b?"":b,y=(0,a.default)((0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},p)),g=function(e,t){return r({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:y.card,className:"circle-picker "+v},(0,i.default)(u,(function(e){return n.default.createElement(c.default,{key:e,color:e,onClick:g,onSwatchHover:o,active:s===e.toLowerCase(),circleSize:f,circleSpacing:h})})))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),circleSize:o.default.number,circleSpacing:o.default.number,styles:o.default.object},d.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[u.red[500],u.pink[500],u.purple[500],u.deepPurple[500],u.indigo[500],u.blue[500],u.lightBlue[500],u.cyan[500],u.teal[500],u.green[500],u.lightGreen[500],u.lime[500],u.yellow[500],u.amber[500],u.orange[500],u.deepOrange[500],u.brown[500],u.blueGrey[500]],styles:{}},t.default=(0,s.ColorWrap)(d)},"7fqy":function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},"81by":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.PhotoshopPicker=function(e){var t=e.onChange,r=e.rgb,l=e.hsv,u=e.hex,s=(0,o.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),c=function(e,n){e["#"]?a.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||l.h,s:e.s||l.s,v:e.v||l.v,source:"hsv"},n)};return n.default.createElement("div",{style:s.fields},n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(l.h),onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*l.s),onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*l.v),onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:u.replace("#",""),onChange:c}),n.default.createElement("div",{style:s.fieldSymbols},n.default.createElement("div",{style:s.symbol},"°"),n.default.createElement("div",{style:s.symbol},"%"),n.default.createElement("div",{style:s.symbol},"%")))};t.default=u},"88Gu":function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),a=16-(o-n);if(n=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"8J/B":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=r("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactFields=function(e){var t=e.hex,r=e.rgb,i=e.onChange,l=(0,o.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),u=function(e,t){e.r||e.g||e.b?i({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return n.default.createElement("div",{style:l.fields,className:"flexbox-fix"},n.default.createElement("div",{style:l.active}),n.default.createElement(a.EditableInput,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:t,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:u}))};t.default=l},"9F0J":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,f=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:u},c)},f),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},A90E:function(e,t,r){var n=r("6sVZ"),o=r("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},AU0A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){(/^\s+$/.test(t)||""===t)&&o.push(n.format(a.messages.whitespace,e.fullField))}},Ag8Z:function(e,t,r){var n=r("JC6p"),o=r("EwQA");e.exports=function(e,t){return e&&n(e,o(t))}},AnK5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=l(o),i=l(r("/FUP"));function l(e){return e&&e.__esModule?e:{default:e}}var u=[38,40],s=t.EditableInput=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t,n=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(n)&&(t=e.keyCode,u.indexOf(t)>-1)){var o=r.getArrowOffset(),a=38===e.keyCode?n+o:n-o;r.setUpdatedValue(a,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},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)}(t,e),n(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t);var n,o=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:o?(n=e,n+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,i.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return a.default.createElement("div",{style:t.wrap},a.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?a.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=s},Aosp:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("Dt+G")},B5Mt:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},B8du:function(e,t){e.exports=function(){return!1}},BKMn:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(e){var t=e.hsl,r=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return n.default.createElement("div",{style:r.picker})};t.default=i},Ba7A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("/FUP")),i=r("japM"),l=u(r("Nq3d"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Swatch=function(e){var t=e.color,r=e.style,i=e.onClick,u=void 0===i?function(){}:i,s=e.onHover,c=e.title,f=void 0===c?t:c,d=e.children,p=e.focus,h=e.focusStyle,b=void 0===h?{}:h,v="transparent"===t,y=(0,a.default)({default:{swatch:n({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,p?b:{})}}),g={};return s&&(g.onMouseOver=function(e){return s(t,e)}),o.default.createElement("div",n({style:y.swatch,onClick:function(e){return u(t,e)},title:f,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},g),d,v&&o.default.createElement(l.default,{borderRadius:y.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,i.handleFocus)(s)},BkRI:function(e,t,r){var n=r("OBhP");e.exports=function(e){return n(e,5)}},BmQL:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var n=u(r("q1tI")),o=u(r("/FUP")),a=u(r("p8yl")),i=r("TM95"),l=u(r("ql/k"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.SwatchesColor=function(e){var t=e.color,r=e.onClick,u=void 0===r?function(){}:r,s=e.onSwatchHover,c=e.first,f=e.last,d=e.active,p=(0,o.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:a.default.getContrastingColor(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:c,last:f,active:d,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(i.Swatch,{color:t,style:p.color,onClick:u,onHover:s,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:p.check},n.default.createElement(l.default,null)))};t.default=s},BvKs:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return qe}));var n=r("q1tI"),o=r("1j5w"),a=r("TSYQ"),i=r.n(a),l=r("BGR+"),u=r("VCL8"),s=r("17x9"),c=r("foW8"),f=r.n(c),d=f()({inlineCollapsed:!1});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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 m(){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 x(e){return(x=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&&y(e,t)}(s,e);var t,r,a,l,u=(t=s,function(){var e,r=x(t);if(m()){var n=x(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return g(this,e)});function s(){var e;return b(this,s),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return r=s,(a=[{key:"render",value:function(){var e=this,t=this.props,r=t.rootPrefixCls,a=t.popupClassName;return n.createElement(d.Consumer,null,(function(t){var l=t.antdMenuTheme;return n.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:i()("".concat(r,"-").concat(l),a)}))}))}}])&&v(r.prototype,a),l&&v(r,l),s}(n.Component);w.contextTypes={antdMenuTheme:s.string},w.isSubMenu=1;var O=w,E=r("3S7+"),C=r("H84U");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 P(e){return function(e){if(Array.isArray(e))return S(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 S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M(e,t,r){return t&&F(e.prototype,t),r&&F(e,r),e}function A(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&&N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,r=I(e);if(D()){var n=I(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return T(this,t)}}function T(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},B=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,r=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){A(i,o);var a=R(i);function i(){var o;return k(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,u=i(t,l);return n.createElement(e,_({prefixCls:u,tagName:r},o.props))},o}return M(i,[{key:"render",value:function(){return n.createElement(C.a,null,this.renderComponent)}}]),i}(n.Component)).displayName=o,a}}var H=function(e){var t=e.prefixCls,r=e.className,o=e.children,a=e.tagName,l=V(e,["prefixCls","className","children","tagName"]),u=i()(r,t);return n.createElement(a,_({className:u},l),o)},L=function(e){A(r,e);var t=R(r);function r(){var e;return k(this,r),(e=t.apply(this,arguments)).state={siders:[]},e}return M(r,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,r,o=this.props,a=o.prefixCls,l=o.className,u=o.children,s=o.hasSider,c=o.tagName,f=V(o,["prefixCls","className","children","hasSider","tagName"]),d=i()(l,a,(e={},t="".concat(a,"-has-sider"),r="boolean"==typeof s?s:this.state.siders.length>0,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e));return n.createElement(B.Provider,{value:{siderHook:this.getSiderHook()}},n.createElement(c,_({className:d},f),u))}}]),r}(n.Component),z=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(L),G=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),U=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);z.Header=G,z.Footer=W,z.Content=U;var X=r("CtXQ"),Q=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(e)}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ee(e,t,r){return t&&$(e.prototype,t),r&&$(e,r),e}function te(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)}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ne(e){return function(){var t,r=ie(e);if(ae()){var n=ie(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ue,se={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ce=f()({}),fe=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),de=function(e){te(r,e);var t=ne(r);function r(e){var o,a,u;return J(this,r),(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 r=o.props.onCollapse;r&&r(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,r=e.getPrefixCls,a=o.props,u=a.prefixCls,s=a.className,c=a.theme,f=a.collapsible,d=a.reverseArrow,p=a.trigger,h=a.style,b=a.width,v=a.collapsedWidth,y=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),m=r("layout-sider",u),x=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?v:b,O=Q(w)?"".concat(w,"px"):String(w),E=0===parseFloat(String(v||0))?n.createElement("span",{onClick:o.toggle,className:"".concat(m,"-zero-width-trigger ").concat(m,"-zero-width-trigger-").concat(d?"right":"left"),style:y},n.createElement(X.default,{type:"bars"})):null,C={expanded:d?n.createElement(X.default,{type:"right"}):n.createElement(X.default,{type:"left"}),collapsed:d?n.createElement(X.default,{type:"left"}):n.createElement(X.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==p?E||n.createElement("div",{className:"".concat(m,"-trigger"),onClick:o.toggle,style:{width:O}},p||C):null,P=K(K({},h),{flex:"0 0 ".concat(O),maxWidth:O,minWidth:O,width:O}),S=i()(s,m,"".concat(m,"-").concat(c),(Y(t={},"".concat(m,"-collapsed"),!!o.state.collapsed),Y(t,"".concat(m,"-has-trigger"),f&&null!==p&&!E),Y(t,"".concat(m,"-below"),!!o.state.below),Y(t,"".concat(m,"-zero-width"),0===parseFloat(O)),t));return n.createElement("aside",K({className:S},x,{style:P}),n.createElement("div",{className:"".concat(m,"-children")},o.props.children),f||o.state.below&&E?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in se&&(o.mql=a("(max-width: ".concat(se[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(r,[{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 n.createElement(ce.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},n.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),r}(n.Component);de.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(de);n.Component;function pe(e){return(pe="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(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==pe(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 me(){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 xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},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&&ye(e,t)}(u,e);var t,r,a,i,l=(t=u,function(){var e,r=xe(t);if(me()){var n=xe(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return ge(this,e)});function u(){var e;return be(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e.renderItem=function(t){var r=t.siderCollapsed,a=e.props,i=a.level,l=a.children,u=a.rootPrefixCls,s=e.props,c=s.title,f=we(s,["title"]);return n.createElement(d.Consumer,null,(function(t){var a=t.inlineCollapsed,s={title:c||(1===i?l:"")};return r||a||(s.title=null,s.visible=!1),n.createElement(E.default,he({},s,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),n.createElement(o.b,he({},f,{title:c,ref:e.saveMenuItem})))}))},e}return r=u,(a=[{key:"render",value:function(){return n.createElement(ce.Consumer,null,this.renderItem)}}])&&ve(r.prototype,a),i&&ve(r,i),u}(n.Component);Oe.isMenuItem=!0;var Ee=r("6CfX"),Ce=r("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Se={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ae(e,t,r){return t&&Me(e.prototype,t),r&&Me(e,r),e}function Ne(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){return function(){var t,r=Ve(e);if(Ie()){var n=Ve(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return De(this,t)}}function De(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 Ie(){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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Be=function(e){Ne(r,e);var t=Te(r);function r(e){var a,u;return Fe(this,r),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,r=e.target.className,n="[object SVGAnimatedString]"===Object.prototype.toString.call(r)?r.animVal:r,o="font-size"===e.propertyName&&n.indexOf("anticon")>=0;(t||o)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,r,u,s=e.getPopupContainer,c=e.getPrefixCls,f=a.props,d=f.prefixCls,p=f.className,h=f.theme,b=f.collapsedWidth,v=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),y=a.getRealMenuMode(),g=a.getOpenMotionProps(y),m=c("menu",d),x=i()(p,"".concat(m,"-").concat(h),(t={},r="".concat(m,"-inline-collapsed"),u=a.getInlineCollapsed(),r in t?Object.defineProperty(t,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[r]=u,t)),w=ke({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:x,mode:y},g);return"inline"!==y&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===b||"0"===b||"0px"===b)&&(w.openKeys=[]),n.createElement(o.e,ke({getPopupContainer:s},v,w,{prefixCls:m,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ee.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(Ee.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ee.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),a.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Ae(r,[{key:"componentWillUnmount",value:function(){Ce.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,r=t.openTransitionName,n=t.openAnimation,o=t.motion;return o?{motion:o}:n?(Object(Ee.a)("string"==typeof n,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:n}):r?{openTransitionName:r}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:Se}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return n.createElement(d.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},n.createElement(C.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n={prevProps:e};return"inline"===r.mode&&"inline"!==e.mode&&(n.switchingModeFromInline=!0),"openKeys"in e?n.openKeys=e.openKeys:((e.inlineCollapsed&&!r.inlineCollapsed||e.siderCollapsed&&!r.siderCollapsed)&&(n.switchingModeFromInline=!0,n.inlineOpenKeys=t.openKeys,n.openKeys=[]),(!e.inlineCollapsed&&r.inlineCollapsed||!e.siderCollapsed&&r.siderCollapsed)&&(n.openKeys=t.inlineOpenKeys,n.inlineOpenKeys=[])),n}}]),r}(n.Component);Be.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Be);var qe=function(e){Ne(r,e);var t=Te(r);function r(){return Fe(this,r),t.apply(this,arguments)}return Ae(r,[{key:"render",value:function(){var e=this;return n.createElement(ce.Consumer,null,(function(t){return n.createElement(Be,ke({},e.props,t))}))}}]),r}(n.Component);qe.Divider=o.a,qe.Item=Oe,qe.SubMenu=O,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},CMye:function(e,t,r){var n=r("GoyQ");e.exports=function(e){return e==e&&!n(e)}},D1y2:function(e,t,r){var n=r("FZoo");e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},DRdP:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopButton=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopButton=function(e){var t=e.onClick,r=e.label,a=e.children,i=e.active,l=(0,o.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n.default.createElement("div",{style:l.button,onClick:t},r||a)};t.default=i},DSRE:function(e,t,r){(function(e){var n=r("Kz5y"),o=r("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?n.Buffer:void 0,u=(l?l.isBuffer:void 0)||o;e.exports=u}).call(this,r("YuTi")(e))},DTGX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=x(r("kLXV")),o=x(r("NUBc")),a=x(r("NJEC")),i=x(r("jsC+")),l=x(r("CtXQ")),u=x(r("Vl3Y")),s=x(r("5rEg")),c=x(r("BvKs")),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();r("k3Gp"),r("YQTV"),r("k994"),r("aIZi"),r("2oDE"),r("tULf"),r("1vPl"),r("2WkQ");var p=r("q1tI"),h=x(p),b=x(r("008G")),v=x(r("2CTR")),y=r("WFjJ"),g=x(r("/FUP")),m=x(r("vDqi"));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,g.default)({default:{color:{width:"20px",height:"20px",borderRadius:"2px",background:"rgba("+(void 0).state.color.r+", "+(void 0).state.color.g+", "+(void 0).state.color.b+", "+(void 0).state.color.a+")"},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",width:"100px",marginTop:"5px",height:"28px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"flex",cursor:"pointer"},popover:{position:"absolute",zIndex:"2"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"},modalcolor:{width:"20px",height:"20px",borderRadius:"2px",background:(void 0).state.newcolor}}}),O=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentDidMount=function(){r.getList()},r.getList=function(e,t,n){var o=r.props.match.params,a=o.projectsId,i=o.owner,l=r.state.limit,u="/projects/"+i+"/"+a+"/labels.json";m.default.get(u,{params:{page:e,limit:l,order_name:t,order_type:n}}).then((function(e){e&&r.setState({data:e.data})})).catch((function(e){console.log(e)}))},r.createtagpost=function(){r.props.form.validateFieldsAndScroll((function(e,t){if(!e){var n=r.props.match.params,o=n.projectsId,a="/projects/"+n.owner+"/"+o+"/labels.json";m.default.post(a,f({},t,{project_id:o,color:r.state.textcolor})).then((function(e){e&&(r.props.form.setFieldsValue({name:"",description:""}),r.setState({color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",display:"none"}),r.getList())})).catch((function(e){console.log(e)}))}}))},r.ChangePage=function(e){r.setState({page:e}),r.getList(e)},r.arrayList=function(e){r.setState({order_name:e.key,order_type:e.item.props.value}),r.getList(1,e.key,e.item.props.value)},r.handleClick=function(){r.setState({displayColorPicker:!r.state.displayColorPicker})},r.handleClose=function(){r.setState({displayColorPicker:!1})},r.handleChange=function(e){r.setState({color:e.rgb,textcolor:e.hex,newcolor:e.hex})},r.newshow=function(){r.setState({display:"block"})},r.newclose=function(){r.setState({display:"none"})},r.handleok=function(){r.updatetag()},r.updatetag=function(){var e=r.props.match.params,t=e.projectsId,n=e.owner,o=r.state.id,a="/projects/"+n+"/"+t+"/labels/"+o+".json",i=r.state.name,l=r.state.description,u=r.state.newcolor;m.default.put(a,{project_id:t,id:o,name:i,description:l,color:u}).then((function(e){e&&(r.setState({isShow:!1}),r.getList())})).catch((function(e){console.log(e)}))},r.deletetag=function(e){var t=r.props.match.params,n=t.projectsId,o="/projects/"+t.owner+"/"+n+"/labels/"+e+".json";m.default.delete(o,{data:{project_id:n,id:e}}).then((function(e){e&&r.getList()})).catch((function(e){console.log(e)}))},r.handleCancel=function(){r.setState({isShow:!1})},r.changmodelname=function(e){r.setState({name:e.target.value})},r.changdescription=function(e){r.setState({description:e.target.value})},r.editshow=function(e){r.setState({isShow:!0,newcolor:e.color,name:e.name,description:e.description,id:e.id})},r.menu=function(){return h.default.createElement(c.default,{onClick:r.arrayList},h.default.createElement(c.default.Item,{key:"created_at",value:"desc"},"按创建时间降序排序"),h.default.createElement(c.default.Item,{key:"created_at",value:"asc"},"按创建时间升序排序"),h.default.createElement(c.default.Item,{key:"issues_count",value:"desc"},"按issue个数降序排序"),h.default.createElement(c.default.Item,{key:"issues_count",value:"asc"},"按issue个数升序排序"))},r.state={data:void 0,limit:15,page:1,order_name:void 0,order_type:void 0,display:"none",displayColorPicker:!1,color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",isShow:!1,newcolor:"",name:"",description:"",id:"",modelname:""},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)}(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.data,c=t.limit,d=t.page,p=this.props.form.getFieldDecorator;return h.default.createElement("div",{className:"main"},h.default.createElement("div",null,h.default.createElement("div",{className:"topWrapper"},h.default.createElement(b.default,f({},this.props,this.state)),r&&r.user_admin_or_member?h.default.createElement("a",{onClick:this.newshow,className:"topWrapper_btn"},"创建标签"):""),h.default.createElement("div",{style:{display:this.state.display}},h.default.createElement(u.default,null,h.default.createElement("div",{className:"tagdiv"},h.default.createElement(u.default.Item,{className:"inptwidth"},p("name",{rules:[{required:!0,message:"请填写标签名字"}]})(h.default.createElement(s.default,{placeholder:"标签名字",maxLength:"10"}))),h.default.createElement(u.default.Item,{className:"inputcount"},p("description",{rules:[{required:!0,message:"描述不能为空"}]})(h.default.createElement(s.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),h.default.createElement("div",null,h.default.createElement("div",{style:w.swatch,onClick:this.handleClick},h.default.createElement("div",{style:w.color},h.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?h.default.createElement("div",{style:w.popover},h.default.createElement("div",{style:w.cover,onClick:this.handleClose}),h.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),h.default.createElement("div",{className:"fr",style:{marginTop:5}},h.default.createElement("a",{onClick:this.createtagpost,className:"topWrapper_btn fr"},"创建标签"),h.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消"))))),r&&r.issue_tags&&r.issue_tags.length>0?h.default.createElement("div",null,h.default.createElement("div",{className:"topWrapper"},h.default.createElement("span",null,"共",r&&r.issue_tags_count,"个标签"),h.default.createElement("ul",{className:"topWrapper_select"},h.default.createElement("li",null,h.default.createElement(i.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,"标签",h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),h.default.createElement("div",{className:"tagList"},r.issue_tags.map((function(t,n){return h.default.createElement("div",{key:n},h.default.createElement("span",{className:"width20 mr10"},h.default.createElement("span",{style:{backgroundColor:""+t.color},className:"tagColor"}),t.name),h.default.createElement("span",{className:"hide-1 width50 mr10"},t.description),h.default.createElement("span",{className:"width15 mr10"},t.issues_count,"个开启的任务"),r&&r.user_admin_or_member?h.default.createElement("div",{className:"width15 text-right"},h.default.createElement("a",{onClick:function(){return e.editshow(t)},className:"topWrapper_btn fr"},"编辑"),h.default.createElement(a.default,{placement:"bottom",title:"删除标签会将其从所有引用中删除。继续?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletetag(t.id)}},h.default.createElement("a",{className:"a_btn delete_btn fr"},"删除"))):"")})))):h.default.createElement(v.default,{_html:"暂时还没有相关数据!"}),r&&r.issue_tags_count>c?h.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},h.default.createElement(o.default,{simple:!0,defaultCurrent:d,total:r&&r.issue_tags_count,pageSize:c,onChange:this.ChangePage})):""),h.default.createElement(n.default,{title:"编辑标签",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"60%"},h.default.createElement("div",{className:"dialogdiv"},h.default.createElement(s.default,{placeholder:"标签名字",maxLength:"10",className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),h.default.createElement(s.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),h.default.createElement("div",null,h.default.createElement("div",{style:w.swatch,onClick:this.handleClick},h.default.createElement("div",{style:w.modalcolor},h.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?h.default.createElement("div",{style:w.popover},h.default.createElement("div",{style:w.cover,onClick:this.handleClose}),h.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(p.Component),E=u.default.create({name:"tageFrom"})(O);t.default=E},"Dt+G":function(e,t,r){},"Dw+G":function(e,t,r){var n=r("juv8"),o=r("mTTR");e.exports=function(e,t){return e&&n(t,o(t),e)}},DzJC:function(e,t,r){var n=r("sEfC"),o=r("GoyQ");e.exports=function(e,t,r){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(a="leading"in r?!!r.leading:a,i="trailing"in r?!!r.trailing:i),n(e,t,{leading:a,maxWait:t,trailing:i})}},EA7m:function(e,t,r){var n=r("zZ0H"),o=r("Ioao"),a=r("wclG");e.exports=function(e,t){return a(o(e,t,n),e+"")}},EEGq:function(e,t,r){var n=r("juv8"),o=r("oCl/");e.exports=function(e,t){return n(e,o(e),t)}},Efrf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("3WF5")),i=l(r("BmQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SwatchesGroup=function(e){var t=e.onClick,r=e.onSwatchHover,l=e.group,u=e.active,s=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n.default.createElement("div",{style:s.group},(0,a.default)(l,(function(e,o){return n.default.createElement(i.default,{key:e,color:e,active:e.toLowerCase()===u,first:0===o,last:o===l.length-1,onClick:t,onSwatchHover:r})})))};t.default=u},Ejpc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},EtQh:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("+kn0"),a=r("Gv54"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e,t,r,n,a){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();i.default.required(e,t,n,l,a),void 0!==t&&i.default.type(e,t,n,l,a)}r(l)}},EwQA:function(e,t,r){var n=r("zZ0H");e.exports=function(e){return"function"==typeof e?e:n}},FZoo:function(e,t,r){var n=r("MrPd"),o=r("4uTw"),a=r("wJg7"),i=r("GoyQ"),l=r("9Nap");e.exports=function(e,t,r,u){if(!i(e))return e;for(var s=-1,c=(t=o(t,e)).length,f=c-1,d=e;null!=d&&++s<c;){var p=l(t[s]),h=r;if(s!=f){var b=d[p];void 0===(h=u?u(b,p,d):void 0)&&(h=i(b)?b:a(t[s+1])?[]:{})}n(d,p,h),d=d[p]}return e}},"FbP/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=h(r("q1tI")),a=h(r("17x9")),i=h(r("/FUP")),l=h(r("QkVN")),u=r("TM95"),s=h(r("81by")),c=h(r("BKMn")),f=h(r("sVjb")),d=h(r("DRdP")),p=h(r("2zpl"));function h(e){return e&&e.__esModule?e:{default:e}}var b=t.Photoshop=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:e.hex},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)}(t,e),n(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=void 0===t?{}:t,n=e.className,a=void 0===n?"":n,h=(0,i.default)((0,l.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return o.default.createElement("div",{style:h.picker,className:"photoshop-picker "+a},o.default.createElement("div",{style:h.head},this.props.header),o.default.createElement("div",{style:h.body,className:"flexbox-fix"},o.default.createElement("div",{style:h.saturation},o.default.createElement(u.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:c.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.hue},o.default.createElement(u.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.controls},o.default.createElement("div",{style:h.top,className:"flexbox-fix"},o.default.createElement("div",{style:h.previews},o.default.createElement(p.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.default.createElement("div",{style:h.actions},o.default.createElement(d.default,{label:"OK",onClick:this.props.onAccept,active:!0}),o.default.createElement(d.default,{label:"Cancel",onClick:this.props.onCancel}),o.default.createElement(s.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.default.Component);b.propTypes={header:a.default.string,styles:a.default.object},b.defaultProps={header:"Color Picker",styles:{}},t.default=(0,u.ColorWrap)(b)},G6z8:function(e,t,r){var n=r("fR/l"),o=r("oCl/"),a=r("mTTR");e.exports=function(e){return n(e,a,o)}},GDhZ:function(e,t,r){var n=r("wF/u"),o=r("mwIZ"),a=r("hgQt"),i=r("9ggG"),l=r("CMye"),u=r("IOzZ"),s=r("9Nap");e.exports=function(e,t){return i(e)&&l(t)?u(s(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?a(r,e):n(t,i,3)}}},GZbg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(n.format(a.messages.enum,e.fullField,e.enum.join(", ")))}},Gi0A:function(e,t,r){var n=r("QqLw"),o=r("ExA7");e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},GiOz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SketchFields=function(e){var t=e.onChange,r=e.rgb,l=e.hsl,u=e.hex,s=e.disableAlpha,c=(0,o.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),f=function(e,n){e.hex?a.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},n))};return n.default.createElement("div",{style:c.fields,className:"flexbox-fix"},n.default.createElement("div",{style:c.double},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"hex",value:u.replace("#",""),onChange:f})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"r",value:r.r,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"g",value:r.g,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"b",value:r.b,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.alpha},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"a",value:Math.round(100*r.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=u},Gv54:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r("l1rO")),o=s(r("AU0A")),a=s(r("oEMi")),i=s(r("l8PK")),l=s(r("GZbg")),u=s(r("moXY"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={required:n.default,whitespace:o.default,type:a.default,range:i.default,enum:l.default,pattern:u.default}},HDyB:function(e,t,r){var n=r("nmnc"),o=r("JHRd"),a=r("ljhN"),i=r("or5M"),l=r("7fqy"),u=r("rEGp"),s=n?n.prototype:void 0,c=s?s.valueOf:void 0;e.exports=function(e,t,r,n,s,f,d){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=l;case"[object Set]":var h=1&n;if(p||(p=u),e.size!=t.size&&!h)return!1;var b=d.get(e);if(b)return b==t;n|=2,d.set(e,t);var v=i(p(e),p(t),n,s,f,d);return d.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},HOVM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,n,l,o)}r(l)}},HOxn:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"Promise");e.exports=n},HTXX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=f(r("q1tI")),a=f(r("17x9")),i=f(r("/FUP")),l=f(r("QkVN")),u=r("TM95"),s=f(r("GiOz")),c=f(r("eHBW"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Sketch=function(e){var t=e.width,r=e.rgb,a=e.hex,f=e.hsv,d=e.hsl,p=e.onChange,h=e.onSwatchHover,b=e.disableAlpha,v=e.presetColors,y=e.renderers,g=e.styles,m=void 0===g?{}:g,x=e.className,w=void 0===x?"":x,O=(0,i.default)((0,l.default)({default:n({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},m),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},m),{disableAlpha:b});return o.default.createElement("div",{style:O.picker,className:"sketch-picker "+w},o.default.createElement("div",{style:O.saturation},o.default.createElement(u.Saturation,{style:O.Saturation,hsl:d,hsv:f,onChange:p})),o.default.createElement("div",{style:O.controls,className:"flexbox-fix"},o.default.createElement("div",{style:O.sliders},o.default.createElement("div",{style:O.hue},o.default.createElement(u.Hue,{style:O.Hue,hsl:d,onChange:p})),o.default.createElement("div",{style:O.alpha},o.default.createElement(u.Alpha,{style:O.Alpha,rgb:r,hsl:d,renderers:y,onChange:p}))),o.default.createElement("div",{style:O.color},o.default.createElement(u.Checkboard,null),o.default.createElement("div",{style:O.activeColor}))),o.default.createElement(s.default,{rgb:r,hsl:d,hex:a,onChange:p,disableAlpha:b}),o.default.createElement(c.default,{colors:v,onClick:p,onSwatchHover:h}))};d.propTypes={disableAlpha:a.default.bool,width:a.default.oneOfType([a.default.string,a.default.number]),styles:a.default.object},d.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,u.ColorWrap)(d)},HlQe:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=u(o),i=u(r("/FUP")),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("srvI"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f=t.Hue=function(e){function t(){var e,r,n;s(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.handleChange=function(e){var t=l.calculateChange(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},c(n,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)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=(0,i.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return a.default.createElement("div",{style:n.hue},a.default.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=f},IOzZ:function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},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 r=0,n=e.length;r<n&&!1!==t(e[r],r);r++);}}},Ioao:function(e,t,r){var n=r("heNW"),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,l=o(a.length-t,0),u=Array(l);++i<l;)u[i]=a[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=a[i];return s[t]=r(u),n(e,this,s)}}},JC6p:function(e,t,r){var n=r("cq/+"),o=r("7GkX");e.exports=function(e,t){return e&&n(e,t,o)}},JHRd:function(e,t,r){var n=r("Kz5y").Uint8Array;e.exports=n},JI00:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var n=f(r("q1tI")),o=f(r("17x9")),a=f(r("/FUP")),i=f(r("QkVN")),l=r("TM95"),u=f(r("Rkpk")),s=f(r("NSvM")),c=f(r("tu5P"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Chrome=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,f=e.rgb,d=e.hsl,p=e.hsv,h=e.hex,b=e.renderers,v=e.styles,y=void 0===v?{}:v,g=e.className,m=void 0===g?"":g,x=e.defaultView,w=(0,a.default)((0,i.default)({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+f.r+", "+f.g+", "+f.b+", "+f.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},y),{disableAlpha:o});return n.default.createElement("div",{style:w.picker,className:"chrome-picker "+m},n.default.createElement("div",{style:w.saturation},n.default.createElement(l.Saturation,{style:w.Saturation,hsl:d,hsv:p,pointer:c.default,onChange:r})),n.default.createElement("div",{style:w.body},n.default.createElement("div",{style:w.controls,className:"flexbox-fix"},n.default.createElement("div",{style:w.color},n.default.createElement("div",{style:w.swatch},n.default.createElement("div",{style:w.active}),n.default.createElement(l.Checkboard,{renderers:b}))),n.default.createElement("div",{style:w.toggles},n.default.createElement("div",{style:w.hue},n.default.createElement(l.Hue,{style:w.Hue,hsl:d,pointer:s.default,onChange:r})),n.default.createElement("div",{style:w.alpha},n.default.createElement(l.Alpha,{style:w.Alpha,rgb:f,hsl:d,pointer:s.default,renderers:b,onChange:r})))),n.default.createElement(u.default,{rgb:f,hsl:d,hex:h,view:x,onChange:r,disableAlpha:o})))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),disableAlpha:o.default.bool,styles:o.default.object,defaultView:o.default.oneOf(["hex","rgb","hsl"])},d.defaultProps={width:225,disableAlpha:!1,styles:{}},t.default=(0,l.ColorWrap)(d)},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},Jxpl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var n=u(r("q1tI")),o=u(r("/FUP")),a=u(r("QkVN")),i=u(r("p8yl")),l=r("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Material=function(e){var t=e.onChange,r=e.hex,u=e.rgb,s=e.styles,c=void 0===s?{}:s,f=e.className,d=void 0===f?"":f,p=(0,o.default)((0,a.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},c)),h=function(e,r){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||u.r,g:e.g||u.g,b:e.b||u.b,source:"rgb"},r)};return n.default.createElement(l.Raised,{styles:c},n.default.createElement("div",{style:p.material,className:"material-picker "+d},n.default.createElement(l.EditableInput,{style:{wrap:p.HEXwrap,input:p.HEXinput,label:p.HEXlabel},label:"hex",value:r,onChange:h}),n.default.createElement("div",{style:p.split,className:"flexbox-fix"},n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"r",value:u.r,onChange:h})),n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"g",value:u.g,onChange:h})),n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"b",value:u.b,onChange:h})))))};t.default=(0,l.ColorWrap)(s)},"KM+8":function(e,t,r){},KfSR:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,o=r("Ag8Z"),a=(n=o)&&n.__esModule?n:{default:n},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,a.default)(e,(function(e,r){var n={};(0,a.default)(e,(function(e,t){var r=l[t];r?n=i({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=u},L2wI:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return r();a.default.required(e,t,n,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,n,l,o)}r(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},LXxW:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}},LcsW:function(e,t,r){var n=r("kekF")(Object.getPrototypeOf,Object);e.exports=n},LsHQ:function(e,t,r){var n=r("EA7m"),o=r("mv/X");e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var u=r[n];u&&e(t,u,n,i)}return t}))}},Lwbf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},o=t.render=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null};t.get=function(e,t,r,a){var i=e+"-"+t+"-"+r+(a?"-server":"");if(n[i])return n[i];var l=o(e,t,r,a);return n[i]=l,l}},"Lx/H":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("3WF5")),l=c(r("QkVN")),u=r("TM95"),s=c(r("iGDq"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Github=function(e){var t=e.width,r=e.colors,o=e.onChange,u=e.onSwatchHover,c=e.triangle,f=e.styles,d=void 0===f?{}:f,p=e.className,h=void 0===p?"":p,b=(0,a.default)((0,l.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},d),{"hide-triangle":"hide"===c,"top-left-triangle":"top-left"===c,"top-right-triangle":"top-right"===c,"bottom-left-triangle":"bottom-left"===c,"bottom-right-triangle":"bottom-right"===c}),v=function(e,t){return o({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:b.card,className:"github-picker "+h},n.default.createElement("div",{style:b.triangleShadow}),n.default.createElement("div",{style:b.triangle}),(0,i.default)(r,(function(e){return n.default.createElement(s.default,{color:e,key:e,onClick:v,onSwatchHover:u})})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:o.default.object},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},t.default=(0,u.ColorWrap)(f)},MMmD:function(e,t,r){var n=r("lSCD"),o=r("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},MvSz:function(e,t,r){var n=r("LXxW"),o=r("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r("VCL8"),a=r("3S7+"),i=r("CtXQ"),l=r("2/Rp"),u=r("YMnH"),s=r("ZvpZ"),c=r("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 d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 y(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},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&&h(e,t)}(x,e);var t,r,o,i,f=(t=x,function(){var e,r=g(t);if(y()){var n=g(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return b(this,e)});function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var r=t.props.onConfirm;r&&r.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var r=t.props.onCancel;r&&r.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,r){var o=t.props,a=o.okButtonProps,i=o.cancelButtonProps,u=o.title,s=o.cancelText,c=o.okText,f=o.okType,p=o.icon;return n.createElement("div",null,n.createElement("div",{className:"".concat(e,"-inner-content")},n.createElement("div",{className:"".concat(e,"-message")},p,n.createElement("div",{className:"".concat(e,"-message-title")},u)),n.createElement("div",{className:"".concat(e,"-buttons")},n.createElement(l.default,d({onClick:t.onCancel,size:"small"},i),s||r.cancelText),n.createElement(l.default,d({onClick:t.onConfirm,type:f,size:"small"},a),c||r.okText))))},t.renderConfirm=function(e){var r=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,c=m(o,["prefixCls","placement"]),f=r("popover",i),p=n.createElement(u.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return n.createElement(a.default,d({},c,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:p,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return r=x,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var r=this.props;"visible"in r||this.setState({visible:e});var n=r.onVisibleChange;n&&n(e,t)}},{key:"render",value:function(){return n.createElement(c.a,null,this.renderConfirm)}}])&&p(r.prototype,o),i&&p(r,i),x}(n.Component);x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:n.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(x),t.default=x},NSvM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointer=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},Nq3d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("Lwbf"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,r=e.grey,i=e.size,l=e.renderers,u=e.borderRadius,s=e.boxShadow,c=(0,o.default)({default:{grid:{borderRadius:u,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+a.get(t,r,i,l.canvas)+") center left"}}});return n.default.createElement("div",{style:c.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},O7RO:function(e,t,r){var n=r("CMye"),o=r("7GkX");e.exports=function(e){for(var t=o(e),r=t.length;r--;){var a=t[r],i=e[a];t[r]=[a,i,n(i)]}return t}},OBhP:function(e,t,r){var n=r("fmRc"),o=r("gFfm"),a=r("MrPd"),i=r("WwFo"),l=r("Dw+G"),u=r("5Tg0"),s=r("Q1l4"),c=r("VOtZ"),f=r("EEGq"),d=r("qZTm"),p=r("G6z8"),h=r("QqLw"),b=r("yHx3"),v=r("wrZu"),y=r("+iFO"),g=r("Z0cm"),m=r("DSRE"),x=r("zEVN"),w=r("GoyQ"),O=r("1+5i"),E=r("7GkX"),C={};C["[object Arguments]"]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C["[object Object]"]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C["[object Function]"]=C["[object WeakMap]"]=!1,e.exports=function e(t,r,j,P,S,_){var k,F=1&r,M=2&r,A=4&r;if(j&&(k=S?j(t,P,S,_):j(t)),void 0!==k)return k;if(!w(t))return t;var N=g(t);if(N){if(k=b(t),!F)return s(t,k)}else{var R=h(t),T="[object Function]"==R||"[object GeneratorFunction]"==R;if(m(t))return u(t,F);if("[object Object]"==R||"[object Arguments]"==R||T&&!S){if(k=M||T?{}:y(t),!F)return M?f(t,l(k,t)):c(t,i(k,t))}else{if(!C[R])return S?t:{};k=v(t,R,F)}}_||(_=new n);var D=_.get(t);if(D)return D;_.set(t,k),O(t)?t.forEach((function(n){k.add(e(n,r,j,n,t,_))})):x(t)&&t.forEach((function(n,o){k.set(o,e(n,r,j,o,t,_))}));var I=A?M?p:d:M?keysIn:E,V=N?void 0:I(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),a(k,o,e(n,r,j,o,t,_))})),k}},OFL0:function(e,t,r){var n=r("lvO4"),o=r("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,n)}},OYk8:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=i(r("PGcv"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderSwatches=function(e){var t=e.onClick,r=e.hsl,i=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return n.default.createElement("div",{style:i.swatches},n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<.1&&Math.abs(r.s-.5)<.1,onClick:t,first:!0})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<.1&&Math.abs(r.s-.5)<.1,onClick:t,last:!0})),n.default.createElement("div",{style:i.clear}))};t.default=l},"Of+w":function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"WeakMap");e.exports=n},Ojt5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var n=l(r("q1tI")),o=l(r("17x9")),a=l(r("/FUP")),i=l(r("QkVN"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.Raised=function(e){var t=e.zDepth,r=e.radius,o=e.background,l=e.children,u=e.styles,s=void 0===u?{}:u,c=(0,a.default)((0,i.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return n.default.createElement("div",{style:c.wrap},n.default.createElement("div",{style:c.bg}),n.default.createElement("div",{style:c.content},l))};u.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},u.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=u},PGcv:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderSwatch=function(e){var t=e.hsl,r=e.offset,a=e.onClick,i=void 0===a?function(){}:a,l=e.active,u=e.first,s=e.last,c=(0,o.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:s});return n.default.createElement("div",{style:c.swatch,onClick:function(e){return i({h:t.h,s:.5,l:r,source:"hsl"},e)}})};t.default=i},Pzom:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("QkVN")),l=r("TM95"),u=c(r("OYk8")),s=c(r("dATH"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Slider=function(e){var t=e.hsl,r=e.onChange,o=e.pointer,s=e.styles,c=void 0===s?{}:s,f=e.className,d=void 0===f?"":f,p=(0,a.default)((0,i.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},c));return n.default.createElement("div",{style:p.wrap||{},className:"slider-picker "+d},n.default.createElement("div",{style:p.hue},n.default.createElement(l.Hue,{style:p.Hue,hsl:t,pointer:o,onChange:r})),n.default.createElement("div",{style:p.swatches},n.default.createElement(u.default,{hsl:t,onClick:r})))};f.propTypes={styles:o.default.object},f.defaultProps={pointer:s.default,styles:{}},t.default=(0,l.ColorWrap)(f)},Q1l4:function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},QcOe:function(e,t,r){var n=r("GoyQ"),o=r("6sVZ"),a=r("7Ix3"),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&r.push(l);return r}},QkVN:function(e,t,r){var n=r("+Qka"),o=r("LsHQ")((function(e,t,r){n(e,t,r)}));e.exports=o},QoRX:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},QqLw:function(e,t,r){var n=r("tadb"),o=r("ebwN"),a=r("HOxn"),i=r("yGk4"),l=r("Of+w"),u=r("NykK"),s=r("3Fdi"),c=s(n),f=s(o),d=s(a),p=s(i),h=s(l),b=u;(n&&"[object DataView]"!=b(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||a&&"[object Promise]"!=b(a.resolve())||i&&"[object Set]"!=b(new i)||l&&"[object WeakMap]"!=b(new l))&&(b=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?s(r):"";if(n)switch(n){case c:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=b},Rkpk:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=s(r("q1tI")),a=s(r("/FUP")),i=s(r("p8yl")),l=r("TM95"),u=s(r("9F0J"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.ChromeFields=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?i.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},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)}(t,e),n(t,[{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,o.default.createElement("div",{style:t.toggle},o.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.default.Component);c.defaultProps={view:"hex"},t.default=c},SKAX:function(e,t,r){var n=r("JC6p"),o=r("lQqw")(n);e.exports=o},Syy6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.AlphaPointer=function(e){var t=e.direction,r=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},T1AV:function(e,t,r){var n=r("t2Dn"),o=r("5Tg0"),a=r("yP5f"),i=r("Q1l4"),l=r("+iFO"),u=r("03A+"),s=r("Z0cm"),c=r("3L66"),f=r("DSRE"),d=r("lSCD"),p=r("GoyQ"),h=r("YO3V"),b=r("c6wG"),v=r("itsj"),y=r("jeLo");e.exports=function(e,t,r,g,m,x,w){var O=v(e,r),E=v(t,r),C=w.get(E);if(C)n(e,r,C);else{var j=x?x(O,E,r+"",e,t,w):void 0,P=void 0===j;if(P){var S=s(E),_=!S&&f(E),k=!S&&!_&&b(E);j=E,S||_||k?s(O)?j=O:c(O)?j=i(O):_?(P=!1,j=o(E,!0)):k?(P=!1,j=a(E,!0)):j=[]:h(E)||u(E)?(j=O,u(O)?j=y(O):p(O)&&!d(O)||(j=l(E))):P=!1}P&&(w.set(E,j),m(j,E,g,x,w),w.delete(E)),n(e,r,j)}}},THLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n,o){var a=o.clientWidth,i=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=l-(o.getBoundingClientRect().left+window.pageXOffset),c=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var f=void 0;if(f=c<0?0:c>i?1:Math.round(100*c/i)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var d=void 0;if(n!==(d=s<0?0:s>a?1:Math.round(100*s/a)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}},TM95:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(n).default}});var o=r("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(o).default}});var a=r("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(a).default}});var i=r("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(i).default}});var l=r("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return f(l).default}});var u=r("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(u).default}});var s=r("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(s).default}});var c=r("Ba7A");function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(c).default}})},TZyB:function(e,t,r){},UGzO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=s(a),l=s(r("sEfC")),u=s(r("p8yl"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.ColorWrap=function(e){var t=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=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,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=n({},u.default.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,r){e(t,r)}),100),t}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)}(r,t),o(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.default.createElement(e,n({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return n({},u.default.toState(e.color,t.oldHue))}}]),r}(a.PureComponent||a.Component);return t.propTypes=n({},e.propTypes),t.defaultProps=n({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=c},"UNi/":function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},UeuU:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,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},a=r("Gv54"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e,t,r,n,a){var l=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,n,l,a,u),r(l)}},V6Ve:function(e,t,r){var n=r("kekF")(Object.keys,Object);e.exports=n},VOtZ:function(e,t,r){var n=r("juv8"),o=r("MvSz");e.exports=function(e,t){return n(e,o(e),t)}},VVms:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r){var n=r.getBoundingClientRect(),o=n.width,a=n.height,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(r.getBoundingClientRect().left+window.pageXOffset),s=l-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),s<0?s=0:s>a&&(s=a);var c=u/o,f=1-s/a;return{h:t.h,s:c,v:f,a:t.a,source:"rgb"}}},VYtm:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(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 c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,a,s;l(this,n);for(var c=arguments.length,f=Array(c),d=0;d<c;d++)f[d]=arguments[d];return a=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return i.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},i.default.createElement(e,o({},s.props,s.state)))},u(s,a)}return s(n,r),n}(i.default.Component)};t.default=c},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r.n(n),a=r("17x9"),i=r("TSYQ"),l=r.n(i),u=r("QbLZ"),s=r.n(u),c=r("i8i4"),f=r.n(c),d=r("9Do8"),p=r.n(d),h=r("OFL0"),b=r.n(h),v=r("jo6Y"),y=r.n(v),g=r("YEIV"),m=r.n(g),x=r("m1cH"),w=r.n(x),O=r("fhzG"),E=r.n(O),C=r("aGtg"),j=r("oV5b"),P=r.n(j),S=r("2W6z"),_=r.n(S),k=r("mwIZ"),F=r.n(k),M=r("D1y2"),A=r.n(M),N=r("ljhN"),R=r.n(N),T=r("iCc5"),D=r.n(T),I=r("V7oC"),V=r.n(I),B=function e(t){D()(this,e),s()(this,t)};function q(e){return e instanceof B}function H(e){return q(e)?e:new B(e)}var L=r("2mql"),z=r.n(L);function G(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function W(e){return e}function U(e){return Array.prototype.concat.apply([],e)}function X(e,t,r){var n={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments[1],n=arguments[2],o=arguments[3],a=arguments[4];if(n(t,r))a(t,r);else if(null==r);else if(Array.isArray(r))r.forEach((function(r,i){return e(t+"["+i+"]",r,n,o,a)}));else{if("object"!=typeof r)return void _()(!1,o);Object.keys(r).forEach((function(i){var l=r[i];e(t+(t?".":"")+i,l,n,o,a)}))}}(void 0,e,t,r,(function(e,t){n[e]=t})),n}function Q(e,t,r){var n=e.map((function(e){var t=s()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&n.push({trigger:r?[].concat(r):[],rules:t}),n}function Z(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 Y(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function K(e,t,r){var n=e,o=t,a=r;return void 0===r&&("function"==typeof n?(a=n,o={},n=void 0):Array.isArray(n)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=n||{},n=void 0)),{names:n,options:o,callback:a}}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 X(e,(function(e,t){return q(t)}),"You must wrap field data with `createFormField`.")}var re=function(){function e(t){D()(this,e),ne.call(this),this.fields=te(t),this.fieldsMeta={}}return V()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return X(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,r=this.fieldsMeta,n=s()({},this.fields,e),o={};Object.keys(r).forEach((function(e){o[e]=t.getValueFromFields(e,n)})),Object.keys(o).forEach((function(e){var r=o[e],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(r,t.getValueFromFields(e,t.fields),o);i!==r&&(n[e]=s()({},n[e],{value:i}))}})),this.fields=n}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,r){var n=t[r];return n&&"value"in n&&(e[r]={}),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 r=e.fields[t],n=e.fieldsMeta[t];r&&n&&$(n.validate)&&(e.fields[t]=s()({},r,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var r=t[e];if(r&&"value"in r)return r.value;var n=this.getFieldMeta(e);return n&&n.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||(r=t,0===e.lastIndexOf(r,0)&&[".","["].indexOf(e[t.length])>=0);var r}))}))}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,r=e.getValueProps,n=e.valuePropName,o=this.getField(t),a="value"in o?o.value:e.initialValue;return r?r(a):m()({},n,a)}},{key:"getField",value:function(e){return s()({},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 A()(e,t.name,H(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,r){return A()(t,r,H(e.fields[r]))}),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,r){return A()(e,r,t(r))}),{})}},{key:"getNestedField",value:function(e,t){var r=this.getValidFieldsFullName(e);if(0===r.length||1===r.length&&r[0]===e)return t(e);var n="["===r[0][e.length],o=n?e.length:e.length+1;return r.reduce((function(e,r){return A()(e,r.slice(o),t(r))}),n?[]:{})}},{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}(),ne=function(){var e=this;this.setFieldsInitialValue=function(t){var r=e.flattenRegisteredFields(t),n=e.fieldsMeta;Object.keys(r).forEach((function(t){n[t]&&e.setFieldMeta(t,s()({},e.getFieldMeta(t),{initialValue:r[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,r=e.fields;return Object.keys(t).reduce((function(t,n){return A()(t,n,e.getValueFromFields(n,r))}),{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var r=e.fields;return e.getNestedField(t,(function(t){return e.getValueFromFields(t,r)}))},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,(function(t){return(r=e.getFieldMember(t,"errors"))?r.map((function(e){return e&&e.message?e.message:e})):r;var r}))},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 re(e)}var ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.validateMessages,n=e.onFieldsChange,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,u=e.mapPropsToFields,c=e.fieldNameProp,f=e.fieldMetaProp,d=e.fieldDataProp,p=e.formPropName,h=void 0===p?"form":p,b=e.name,v=e.withRef;return function(e){var i=E()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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 r;return(r=e.fieldsStore)[t].apply(r,arguments)}})),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(e){u&&this.fieldsStore.updateFields(u(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,r){var n=this.fieldsStore.getFieldMeta(e);if(n[t])n[t].apply(n,w()(r));else if(n.originalProps&&n.originalProps[t]){var o;(o=n.originalProps)[t].apply(o,w()(r))}var i=n.getValueFromEvent?n.getValueFromEvent.apply(n,w()(r)):Y.apply(void 0,w()(r));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),u={};l[e]=i,Object.keys(l).forEach((function(e){return A()(u,e,l[e])})),a(s()(m()({},h,this.getForm()),this.props),A()({},e,i),u)}var c=this.fieldsStore.getField(e);return{name:e,field:s()({},c,{value:i,touched:!0}),fieldMeta:n}},onCollect:function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=this.onCollectCommon(e,t,n),i=a.name,l=a.field,u=a.fieldMeta,c=u.validate;this.fieldsStore.setFieldsAsDirty();var f=s()({},l,{dirty:$(c)});this.setFields(m()({},i,f))},onCollectValidate:function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=this.onCollectCommon(e,t,n),i=a.field,l=a.fieldMeta,u=s()({},i,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{action:t,options:{firstFields:!!l.validateFirst}})},getCacheBind:function(e,t,r){this.cachedBind[e]||(this.cachedBind[e]={});var n=this.cachedBind[e];return n[t]&&n[t].oriFn===r||(n[t]={fn:r.bind(this,e,t),oriFn:r}),n[t].fn},getFieldDecorator:function(e,t){var r=this,n=this.getFieldProps(e,t);return function(t){r.renderFields[e]=!0;var a=r.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,s()({},n,r.fieldsStore.getFieldValuePropValue(a)))}},getFieldProps:function(e){var t=this,r=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 n=s()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},r),o=n.rules,a=n.trigger,i=n.validateTrigger,l=void 0===i?a:i,u=n.validate,p=this.fieldsStore.getFieldMeta(e);"initialValue"in n&&(p.initialValue=n.initialValue);var h=s()({},this.fieldsStore.getFieldValuePropValue(n),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});c&&(h[c]=b?b+"_"+e:e);var v=Q(u,o,l),y=Z(v);y.forEach((function(r){h[r]||(h[r]=t.getCacheBind(e,r,t.onCollectValidate))})),a&&-1===y.indexOf(a)&&(h[a]=this.getCacheBind(e,a,this.onCollect));var g=s()({},p,n,{validate:v});return this.fieldsStore.setFieldMeta(e,g),f&&(h[f]=g),d&&(h[d]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return U(e.validate.filter((function(e){return!t||e.trigger.indexOf(t)>=0})).map((function(e){return e.rules})))},setFields:function(e,t){var r=this,o=this.fieldsStore.flattenRegisteredFields(e);if(this.fieldsStore.setFields(o),n){var a=Object.keys(o).reduce((function(e,t){return A()(e,t,r.fieldsStore.getField(t))}),{});n(s()(m()({},h,this.getForm()),this.props),a,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var r=this.fieldsStore.fieldsMeta,n=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(n).reduce((function(e,t){if(r[t]){var o=n[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),a){var i=this.fieldsStore.getAllValues();a(s()(m()({},h,this.getForm()),this.props),e,i)}},saveRef:function(e,t,r){if(!r){var n=this.fieldsStore.getFieldMeta(e);return n.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:n},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(r):Object.prototype.hasOwnProperty.call(a,"current")&&(a.current=r)}}this.instances[e]=r},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName().filter((function(t){var r=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!r.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,r=this.fieldsStore.resetFields(e);(Object.keys(r).length>0&&this.setFields(r),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(m()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,n){var o=this,a=t.fieldNames,i=t.action,l=t.options,u=void 0===l?{}:l,c={},f={},d={},p={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var r=o.fieldsStore.getFieldMeta(t),n=s()({},e);n.errors=void 0,n.validating=!0,n.dirty=!0,c[t]=o.getRules(r,i),f[t]=n.value,d[t]=n}else e.errors&&A()(p,t,{errors:e.errors})})),this.setFields(d),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),n&&J(d))n(J(p)?null:p,this.fieldsStore.getFieldsValue(a));else{var h=new P.a(c);r&&h.messages(r),h.validate(f,u,(function(e){var t=s()({},p);e&&e.length&&e.forEach((function(e){var r=e.field,n=r;Object.keys(c).some((function(e){var t=c[e]||[];if(e===r)return n=e,!0;if(t.every((function(e){return"array"!==e.type}))||0!==r.indexOf(e+"."))return!1;var o=r.slice(e.length+1);return!!/^\d+$/.test(o)&&(n=e,!0)}));var o=F()(t,n);("object"!=typeof o||Array.isArray(o))&&A()(t,n,{errors:[]}),F()(t,n.concat(".errors")).push(e)}));var r=[],i={};Object.keys(c).forEach((function(e){var n=F()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=n&&n.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):r.push({name:e})})),o.setFields(i),n&&(r.length&&r.forEach((function(e){var r=e.name,n=[{message:r+" need to revalidate",field:r}];A()(t,r,{expired:!0,errors:n})})),n(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,r){var n=this,o=new Promise((function(o,a){var i=K(e,t,r),l=i.names,u=i.options,s=K(e,t,r).callback;if(!s||"function"==typeof s){var c=s;s=function(e,t){c&&c(e,t),e?a({errors:e,values:t}):o(t)}}var f=l?n.fieldsStore.getValidFieldsFullName(l):n.fieldsStore.getValidFieldsName(),d=f.filter((function(e){return $(n.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=n.fieldsStore.getField(e);return t.value=n.fieldsStore.getFieldValue(e),t}));d.length?("firstFields"in u||(u.firstFields=f.filter((function(e){return!!n.fieldsStore.getFieldMeta(e).validateFirst}))),n.validateFieldsInternal(d,{fieldNames:f,options:u},s)):s(null,n.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,r=t.wrappedComponentRef,n=y()(t,["wrappedComponentRef"]),a=m()({},h,this.getForm());v?a.ref="wrappedComponent":r&&(a.ref=r);var i=l.call(this,s()({},a,n));return o.a.createElement(e,i)}});return G(Object(C.a)(i),e)}},ie={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 r=window.getComputedStyle,n=r?r(e):e.currentStyle;if(n)return n[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var ue={getForm:function(){return s()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,r){var n=this,o=K(e,t,r),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var r=n.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(r.forEach((function(t){if(b()(e,t)){var r=n.getFieldInstance(t);if(r){var i=f.a.findDOMNode(r),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),o){var u=l.container||function(e){for(var t=e,r=void 0;"body"!==(r=t.nodeName.toLowerCase());){var n=le(t,"overflowY");if(t!==e&&("auto"===n||"scroll"===n)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===r?t.ownerDocument:t}(o);p()(o,u,s()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof i&&i(e,t)}))}};var se=function(e){return ae(s()({},e),[ue])},ce=r("BGR+"),fe=r("H84U"),de=r("CWQg"),pe=r("6CfX"),he=r("MFj2"),be=r("qrJ5"),ve=r("/kpp"),ye=r("CtXQ"),ge=r("foW8"),me=r.n(ge)()({labelAlign:"right",vertical:!1});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 we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?Se(e):t}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(){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 ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fe(e){return function(e){if(Array.isArray(e))return Me(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 Me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Me(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 Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ae=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Ne=Object(de.a)("success","warning","error","validating","");Object(de.a)("left","right");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&&je(e,t)}(u,e);var t,r,o,a,i=(t=u,function(){var e,r=ke(t);if(_e()){var n=ke(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Pe(this,e)});function u(){var e;return Ee(this,u),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var r=c.findDOMNode(Se(e)).querySelector('[id="'.concat(t,'"]'));r&&r.focus&&r.focus()}},e.onHelpAnimEnd=function(t,r){e.helpShow=r,r||e.setState({})},e.renderFormItem=function(t){var r,o=t.getPrefixCls,a=e.props,i=a.prefixCls,u=a.style,s=a.className,c=Ae(a,["prefixCls","style","className"]),f=o("form",i),d=e.renderChildren(f),p=(Oe(r={},"".concat(f,"-item"),!0),Oe(r,"".concat(f,"-item-with-help"),e.helpShow),Oe(r,"".concat(s),!!s),r);return n.createElement(be.a,we({className:l()(p),style:u},Object(ce.a)(c,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),d)},e}return r=u,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,r=e.help,n=e.validateStatus,o=e.id;Object(pe.a)(this.getControls(t,!0).length<=1||void 0!==r||void 0!==n,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(pe.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 r=null;return n.isValidElement(e)?r=e:n.isValidElement(e.message)&&(r=e.message),r?n.cloneElement(r,{key:t}):e.message})).reduce((function(e,t){return[].concat(Fe(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var r=[],o=n.Children.toArray(e),a=0;a<o.length&&(t||!(r.length>0));a++){var i=o[a];(!i.type||i.type!==u&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?r.push(i):i.props.children&&(r=r.concat(this.getControls(i.props.children,t))))}return r}},{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(),r=t?n.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return r&&(this.helpShow=!!r),n.createElement(he.a,{transitionName:"show-help",component:"",transitionAppear:!0,key:"help",onEnd:this.onHelpAnimEnd},r)}},{key:"renderExtra",value:function(e){var t=this.props.extra;return t?n.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,r,o){var a=this.props,i=this.getOnlyControl,u=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,s="".concat(e,"-item-control");u&&(s=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var c="";switch(u){case"success":c="check-circle";break;case"warning":c="exclamation-circle";break;case"error":c="close-circle";break;case"validating":c="loading";break;default:c=""}var f=a.hasFeedback&&c?n.createElement("span",{className:"".concat(e,"-item-children-icon")},n.createElement(ye.default,{type:c,theme:"loading"===c?"outlined":"filled"})):null;return n.createElement("div",{className:s},n.createElement("span",{className:"".concat(e,"-item-children")},t,f),r,o)}},{key:"renderWrapper",value:function(e,t){var r=this;return n.createElement(me.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,u=r.props.wrapperCol,s=("wrapperCol"in r.props?u:a)||{},c=l()("".concat(e,"-item-control-wrapper"),s.className);return n.createElement(me.Provider,{value:{vertical:i}},n.createElement(ve.a,we({},s,{className:c}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return n.createElement(me.Consumer,{key:"label"},(function(r){var o,a=r.vertical,i=r.labelAlign,u=r.labelCol,s=r.colon,c=t.props,f=c.label,d=c.labelCol,p=c.labelAlign,h=c.colon,b=c.id,v=c.htmlFor,y=t.isRequired(),g=("labelCol"in t.props?d:u)||{},m="labelAlign"in t.props?p:i,x="".concat(e,"-item-label"),w=l()(x,"left"===m&&"".concat(x,"-left"),g.className),O=f,E=!0===h||!1!==s&&!1!==h;E&&!a&&"string"==typeof f&&""!==f.trim()&&(O=f.replace(/[::]\s*$/,""));var C=l()((Oe(o={},"".concat(e,"-item-required"),y),Oe(o,"".concat(e,"-item-no-colon"),!E),o));return f?n.createElement(ve.a,we({},g,{className:w}),n.createElement("label",{htmlFor:v||b||t.getId(),className:C,title:"string"==typeof f?f:"",onClick:t.onLabelClick},O)):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 n.createElement(fe.a,null,this.renderFormItem)}}])&&Ce(r.prototype,o),a&&Ce(r,a),u}(n.Component);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 De(){return(De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Be(e,t){return(Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 He(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ne),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(de.a)("horizontal","inline","vertical"),Ge=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)}(u,e);var t,r,o,a,i=(t=u,function(){var e,r=Le(t);if(He()){var n=Le(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return qe(this,e)});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=i.call(this,e)).renderForm=function(e){var r,o=e.getPrefixCls,a=t.props,i=a.prefixCls,u=a.hideRequiredMark,s=a.className,c=void 0===s?"":s,f=a.layout,d=o("form",i),p=l()(d,(Ie(r={},"".concat(d,"-horizontal"),"horizontal"===f),Ie(r,"".concat(d,"-vertical"),"vertical"===f),Ie(r,"".concat(d,"-inline"),"inline"===f),Ie(r,"".concat(d,"-hide-required-mark"),u),r),c),h=Object(ce.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return n.createElement("form",De({},h,{className:p}))},Object(pe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return r=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,r=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return n.createElement(me.Provider,{value:{wrapperCol:t,labelAlign:r,labelCol:o,vertical:"vertical"===a,colon:i}},n.createElement(fe.a,null,this.renderForm))}}])&&Ve(r.prototype,o),a&&Ve(r,a),u}(n.Component);Ge.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ge.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},Ge.Item=Re,Ge.createFormField=H,Ge.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return se(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=Ge},W3HW:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=l(r("4qC0")),o=l(r("Ag8Z")),a=l(r("YO3V")),i=l(r("3WF5"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,a.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=u},WFjJ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var n=r("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return g(n).default}});var o=r("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return g(o).default}});var a=r("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return g(a).default}});var i=r("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return g(i).default}});var l=r("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return g(l).default}});var u=r("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return g(u).default}});var s=r("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return g(s).default}});var c=r("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return g(c).default}});var f=r("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return g(f).default}});var d=r("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return g(d).default}});var p=r("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return g(p).default}});var h=r("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return g(h).default}});var b=r("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return g(b).default}});var v=r("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return g(v).default}});var y=g(i);function g(e){return e&&e.__esModule?e:{default:e}}t.default=y.default},WwFo:function(e,t,r){var n=r("juv8"),o=r("7GkX");e.exports=function(e,t){return e&&n(t,o(t),e)}},XQvf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(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 c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,a,s;l(this,n);for(var c=arguments.length,f=Array(c),d=0;d<c;d++)f[d]=arguments[d];return a=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return i.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},i.default.createElement(e,o({},s.props,s.state)))},u(s,a)}return s(n,r),n}(i.default.Component)};t.default=c},"XR+G":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},XYm9:function(e,t,r){var n=r("+K+b");e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},XZDd:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&a.default.type(e,t,n,l,o)}r(l)}},YO3V:function(e,t,r){var n=r("NykK"),o=r("LcsW"),a=r("ExA7"),i=Function.prototype,l=Object.prototype,u=i.toString,s=l.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==c}},ZCpW:function(e,t,r){var n=r("lm/5"),o=r("O7RO"),a=r("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},"ZQT/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CompactColor=function(e){var t=e.color,r=e.onClick,l=void 0===r?function(){}:r,u=e.onSwatchHover,s=e.active,c=(0,o.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:a.default.getContrastingColor(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(i.Swatch,{style:c.color,color:t,onClick:l,onHover:u,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:c.dot}))};t.default=u},aIZi:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("7Lfq"),r("L/Qf")},b2z7:function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},b80T:function(e,t,r){var n=r("UNi/"),o=r("03A+"),a=r("Z0cm"),i=r("DSRE"),l=r("wJg7"),u=r("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),c=!r&&o(e),f=!r&&!c&&i(e),d=!r&&!c&&!f&&u(e),p=r||c||f||d,h=p?n(e.length,String):[],b=h.length;for(var v in e)!t&&!s.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,b))||h.push(v);return h}},bNQv:function(e,t,r){var n=r("gFfm"),o=r("SKAX"),a=r("EwQA"),i=r("Z0cm");e.exports=function(e,t){return(i(e)?n:o)(e,a(t))}},c6wG:function(e,t,r){var n=r("dD9F"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isTypedArray,l=i?o(i):n;e.exports=l},ccyi:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=s(o),i=s(r("/FUP")),l=s(r("DzJC")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("VVms"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.Saturation=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,u.calculateChange(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=(0,l.default)((function(e,t,r){e(t,r)}),50),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)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,o=t.black,l=t.pointer,u=t.circle,s=(0,i.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:o,pointer:l,circle:u}},{custom:!!this.props.style});return a.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),a.default.createElement("div",{style:s.white,className:"saturation-white"},a.default.createElement("div",{style:s.black,className:"saturation-black"}),a.default.createElement("div",{style:s.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:s.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=c},chzT:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=e.type,u=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,l)&&!e.required)return r();a.default.required(e,t,n,u,o,l),(0,i.isEmptyValue)(t,l)||a.default.type(e,t,n,u,o)}r(u)}},"cq/+":function(e,t,r){var n=r("mc0g")();e.exports=n},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return r();a.default.required(e,t,n,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},dATH:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(){var e=(0,o.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},dD9F:function(e,t,r){var n=r("NykK"),o=r("shjB"),a=r("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 a(e)&&o(e.length)&&!!i[n(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,r){var n=r("GoyQ"),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},e5cp:function(e,t,r){var n=r("fmRc"),o=r("or5M"),a=r("HDyB"),i=r("seXi"),l=r("QqLw"),u=r("Z0cm"),s=r("DSRE"),c=r("c6wG"),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,p,h,b){var v=u(e),y=u(t),g=v?"[object Array]":l(e),m=y?"[object Array]":l(t),x=(g="[object Arguments]"==g?f:g)==f,w=(m="[object Arguments]"==m?f:m)==f,O=g==m;if(O&&s(e)){if(!s(t))return!1;v=!0,x=!1}if(O&&!x)return b||(b=new n),v||c(e)?o(e,t,r,p,h,b):a(e,t,g,r,p,h,b);if(!(1&r)){var E=x&&d.call(e,"__wrapped__"),C=w&&d.call(t,"__wrapped__");if(E||C){var j=E?e.value():e,P=C?t.value():t;return b||(b=new n),h(j,P,r,p,b)}}return!!O&&(b||(b=new n),i(e,t,r,p,h,b))}},eHBW:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("17x9")),i=u(r("/FUP")),l=r("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var s=t.SketchPresetColors=function(e){var t=e.colors,r=e.onClick,a=void 0===r?function(){}:r,u=e.onSwatchHover,s=(0,i.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),c=function(e,t){a({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,r=""+t.color+(t.title||"");return o.default.createElement("div",{key:r,style:s.swatchWrap},o.default.createElement(l.Swatch,n({},t,{style:s.swatch,onClick:c,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};s.propTypes={colors:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.shape({color:a.default.string,title:a.default.string})])).isRequired},t.default=s},"fR/l":function(e,t,r){var n=r("CH3K"),o=r("Z0cm");e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},fhzG:function(e,t,r){"use strict";var n=r("q1tI"),o=r("lT4e");if(void 0===n)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 a=(new n.Component).updater;e.exports=o(n.Component,n.isValidElement,a)},fmRc:function(e,t,r){var n=r("Xi7e"),o=r("77Zs"),a=r("L8xA"),i=r("gCq4"),l=r("VaNO"),u=r("0Cz8");function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=u,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gFfm:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},heNW:function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},hgQt:function(e,t,r){var n=r("Juji"),o=r("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,n)}},iGDq:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var n=l(r("q1tI")),o=r("/FUP"),a=l(o),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.GithubSwatch=function(e){var t=e.hover,r=e.color,o=e.onClick,l=e.onSwatchHover,u={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,a.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:u}},{hover:t});return n.default.createElement("div",{style:s.swatch},n.default.createElement(i.Swatch,{color:r,onClick:o,onHover:l,focusStyle:u}))};t.default=(0,o.handleHover)(u)},iHzq:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jESh:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=y(r("zP+q")),o=y(r("rNsS")),a=y(r("iHzq")),i=y(r("EtQh")),l=y(r("HOVM")),u=y(r("XR+G")),s=y(r("Ejpc")),c=y(r("cwxS")),f=y(r("XZDd")),d=y(r("rjwK")),p=y(r("L2wI")),h=y(r("myOp")),b=y(r("UeuU")),v=y(r("chzT"));function y(e){return e&&e.__esModule?e:{default:e}}t.default={string:n.default,method:o.default,number:a.default,boolean:i.default,regexp:l.default,integer:u.default,float:s.default,array:c.default,object:f.default,enum:d.default,pattern:p.default,date:h.default,url:v.default,hex:v.default,email:v.default,required:b.default}},japM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("q1tI"),l=(n=i)&&n.__esModule?n:{default:n};function u(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}function c(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.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var e,t,r;u(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=r=s(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},s(r,t)}return c(n,r),a(n,[{key:"render",value:function(){return l.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},l.default.createElement(e,o({},this.props,this.state)))}}]),n}(l.default.Component)}},jeLo:function(e,t,r){var n=r("juv8"),o=r("mTTR");e.exports=function(e){return n(e,o(e))}},jpXb:function(e,t,r){var n=r("wZXL");e.exports=new n},"jsC+":function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r.n(n),a=r("17x9"),i=r.n(a),l=r("i8i4"),u=r.n(l),s=r("uciX"),c=r("TSYQ"),f=r.n(c),d={adjustX:1,adjustY:1},p=[0,0],h={topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:p}},b=r("VCL8"),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var y=function(e){function t(r){!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,e.call(this,r));return g.call(n),n.state="visible"in r?{visible:r.visible}:{visible:r.defaultVisible},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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,r=e.prefixCls;return void 0!==t?t:r+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,r=e.props?e.props:{},o=f()(r.className,this.getOpenClassName());return t&&e?Object(n.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,r=e.transitionName,n=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,u=e.showAction,c=e.hideAction,f=e.overlayClassName,d=e.overlayStyle,p=e.trigger,b=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),y=c;return y||-1===p.indexOf("contextMenu")||(y=["click"]),o.a.createElement(s.a,v({},b,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:d,builtinPlacements:h,action:p,showAction:u,hideAction:y||[],popupPlacement:i,popupAlign:a,popupTransitionName:r,popupAnimation:n,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(n.Component);y.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},y.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var g=function(){var e=this;this.onClick=function(t){var r=e.props,n=e.getOverlayElement().props;"visible"in r||e.setState({visible:!1}),r.onOverlayClick&&r.onOverlayClick(t),n.onClick&&n.onClick(t)},this.onVisibleChange=function(t){var r=e.props;"visible"in r||e.setState({visible:t}),r.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,r=t.minOverlayWidthMatchTrigger,n=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?r:!n},this.getMenuElement=function(){var t=e.props.prefixCls,r=e.getOverlayElement(),n={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof r.type&&delete n.prefixCls,o.a.cloneElement(r,n)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var r=e.getPopupDomNode(),n=u.a.findDOMNode(e);n&&r&&n.offsetWidth>r.offsetWidth&&(r.style.minWidth=n.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(b.polyfill)(y);var m=y,x=r("H84U"),w=r("6CfX"),O=r("CtXQ"),E=r("CWQg");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(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 F(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(E.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var A=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,t)}(l,e);var t,r,o,a,i=(t=l,function(){var e,r=M(t);if(F()){var n=M(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return k(this,e)});function l(){var e;return P(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var r,o=e.props.overlay;r="function"==typeof o?o():o;var a=(r=n.Children.only(r)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,u=a.focusable,s=void 0===u||u,c=n.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},n.createElement(O.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof r.type?o:n.cloneElement(r,{mode:"vertical",selectable:l,focusable:s,expandIcon:c})},e.renderDropDown=function(t){var r,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,u=i.children,s=i.trigger,c=i.disabled,d=i.getPopupContainer,p=a("dropdown",l),h=n.Children.only(u),b=n.cloneElement(h,{className:f()(h.props.className,"".concat(p,"-trigger")),disabled:c}),v=c?[]:s;return v&&-1!==v.indexOf("contextMenu")&&(r=!0),n.createElement(m,j({alignPoint:r},e.props,{prefixCls:p,getPopupContainer:d||o,transitionName:e.getTransitionName(),trigger:v,overlay:function(){return e.renderOverlay(p)}}),b)},e}return r=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,r=void 0===t?"":t,n=e.transitionName;return void 0!==n?n:r.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return n.createElement(x.a,null,this.renderDropDown)}}])&&S(r.prototype,o),a&&S(r,a),l}(n.Component);A.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var N=r("2/Rp");function R(e){return(R="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(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t){return!t||"object"!==R(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 q(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},z=N.default.Group,G=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)}(l,e);var t,r,o,a,i=(t=l,function(){var e,r=H(t);if(q()){var n=H(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return B(this,e)});function l(){var e;return D(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var r=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,u=a.disabled,s=a.onClick,c=a.htmlType,d=a.children,p=a.className,h=a.overlay,b=a.trigger,v=a.align,y=a.visible,g=a.onVisibleChange,m=a.placement,x=a.getPopupContainer,w=a.href,E=a.icon,C=void 0===E?n.createElement(O.default,{type:"ellipsis"}):E,j=a.title,P=L(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),S=o("dropdown-button",i),_={align:v,overlay:h,disabled:u,trigger:u?[]:b,onVisibleChange:g,placement:m,getPopupContainer:x||r};return"visible"in e.props&&(_.visible=y),n.createElement(z,T({},P,{className:f()(S,p)}),n.createElement(N.default,{type:l,disabled:u,onClick:s,htmlType:c,href:w,title:j},d),n.createElement(A,_,n.createElement(N.default,{type:l},C)))},e}return r=l,(o=[{key:"render",value:function(){return n.createElement(x.a,null,this.renderButton)}}])&&I(r.prototype,o),a&&I(r,a),l}(n.Component);G.defaultProps={placement:"bottomRight",type:"default"},A.Button=G;t.default=A},juv8:function(e,t,r){var n=r("MrPd"),o=r("hypo");e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var l=-1,u=t.length;++l<u;){var s=t[l],c=a?a(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),i?o(r,s,c):n(r,s,c)}return r}},k994:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("Aosp"),r("L/Qf")},kCCV:function(e,t){function r(e){this.options=e,!e.deferSetup&&this.setup()}r.prototype={constructor:r,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=r},kekF:function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},l1rO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a,i){!e.required||r.hasOwnProperty(e.field)&&!n.isEmptyValue(t,i||e.type)||o.push(n.format(a.messages.required,e.fullField))}},l8PK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){var i="number"==typeof e.len,l="number"==typeof e.min,u="number"==typeof e.max,s=t,c=null,f="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(f?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(s=t.length),d&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&o.push(n.format(a.messages[c].len,e.fullField,e.len)):l&&!u&&s<e.min?o.push(n.format(a.messages[c].min,e.fullField,e.min)):u&&!l&&s>e.max?o.push(n.format(a.messages[c].max,e.fullField,e.max)):l&&u&&(s<e.min||s>e.max)&&o.push(n.format(a.messages[c].range,e.fullField,e.min,e.max))}},l9OW:function(e,t,r){var n=r("SKAX"),o=r("MMmD");e.exports=function(e,t){var r=-1,a=o(e)?Array(e.length):[];return n(e,(function(e,n,o){a[++r]=t(e,n,o)})),a}},lQqw:function(e,t,r){var n=r("MMmD");e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var a=r.length,i=t?a:-1,l=Object(r);(t?i--:++i<a)&&!1!==o(l[i],i,l););return r}}},lT4e:function(e,t,r){"use strict";var n=r("MgzW"),o=r("t33a"),a=r("2NuI");e.exports=function(e,t,r){var i=[],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"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},s={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var r=0;r<t.length;r++)f(e,t[r])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var r in t){var n=t[r];if(t.hasOwnProperty(r)){if(a(!(r in s),'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.',r),r in e){var o=u.hasOwnProperty(r)?u[r]:null;return a("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.",r),void(e[r]=p(e[r],n))}e[r]=n}}}(e,t)},autobind:function(){}};function c(e,t){var r=l.hasOwnProperty(t)?l[t]:null;g.hasOwnProperty(t)&&a("OVERRIDE_BASE"===r,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&a("DEFINE_MANY"===r||"DEFINE_MANY_MERGED"===r,"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,r){if(r){a("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!t(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,o=n.__reactAutoBindPairs;for(var i in r.hasOwnProperty("mixins")&&s.mixins(e,r.mixins),r)if(r.hasOwnProperty(i)&&"mixins"!==i){var u=r[i],f=n.hasOwnProperty(i);if(c(f,i),s.hasOwnProperty(i))s[i](e,u);else{var d=l.hasOwnProperty(i);if("function"==typeof u&&!d&&!f&&!1!==r.autobind)o.push(i,u),n[i]=u;else if(f){var b=l[i];a(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,i),"DEFINE_MANY_MERGED"===b?n[i]=p(n[i],u):"DEFINE_MANY"===b&&(n[i]=h(n[i],u))}else n[i]=u}}}else;}function d(e,t){for(var r in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(r)&&(a(void 0===e[r],"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.",r),e[r]=t[r]);return e}function p(e,t){return function(){var r=e.apply(this,arguments),n=t.apply(this,arguments);if(null==r)return n;if(null==n)return r;var o={};return d(o,r),d(o,n),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},y={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},m=function(){};return n(m.prototype,e.prototype,g),function(e){var t=function(e,n,i){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,r=0;r<t.length;r+=2){var n=t[r],o=t[r+1];e[n]=b(e,o)}}(this),this.props=e,this.context=n,this.refs=o,this.updater=i||r,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var n in t.prototype=new m,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,v),f(t,e),f(t,y),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[n]||(t.prototype[n]=null);return t}}},"lm/5":function(e,t,r){var n=r("fmRc"),o=r("wF/u");e.exports=function(e,t,r,a){var i=r.length,l=i,u=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=r[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var c=(s=r[i])[0],f=e[c],d=s[1];if(u&&s[2]){if(void 0===f&&!(c in e))return!1}else{var p=new n;if(a)var h=a(f,d,c,e,t,p);if(!(void 0===h?o(d,f,3,a,p):h))return!1}}return!0}},lreK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=i(r("Ag8Z")),o=i(r("BkRI")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,n.default)(o,(function(e,t){r[t]||(r[t]={}),r[t]=a({},r[t],o[t])})),t})),r};t.default=l},lvO4:function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},m1cH:function(e,t,r){"use strict";t.__esModule=!0;var n,o=r("rfXi"),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,a.default)(e)}},mTTR:function(e,t,r){var n=r("b80T"),o=r("QcOe"),a=r("MMmD");e.exports=function(e){return a(e)?n(e,!0):o(e)}},mc0g:function(e,t){e.exports=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),l=i.length;l--;){var u=i[e?l:++o];if(!1===r(a[u],u,a))break}return t}}},mdPL:function(e,t,r){(function(e){var n=r("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,r("YuTi")(e))},moXY:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(n.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(n.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,r){var n=r("ljhN"),o=r("MMmD"),a=r("wJg7"),i=r("GoyQ");e.exports=function(e,t,r){if(!i(r))return!1;var l=typeof t;return!!("number"==l?o(r)&&a(t,r.length):"string"==l&&t in r)&&n(r[t],e)}},myOp:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();if(a.default.required(e,t,n,l,o),!(0,i.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,a.default.type(e,u,n,l,o),u&&a.default.range(e,u.getTime(),n,l,o)}}r(l)}},nEr6:function(e,t,r){"use strict";function n(){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=n;t.messages=n()},"nW7/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("3WF5")),l=c(r("QkVN")),u=c(r("p8yl")),s=r("TM95");function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Twitter=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,c=e.colors,f=e.width,d=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,y=(0,a.default)((0,l.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===d,"top-left-triangle":"top-left"===d,"top-right-triangle":"top-right"===d}),g=function(e,r){u.default.isValidHex(e)&&t({hex:e,source:"hex"},r)};return n.default.createElement("div",{style:y.card,className:"twitter-picker "+v},n.default.createElement("div",{style:y.triangleShadow}),n.default.createElement("div",{style:y.triangle}),n.default.createElement("div",{style:y.body},(0,i.default)(c,(function(e,t){return n.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:y.swatch,onClick:g,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:y.hash},"#"),n.default.createElement(s.EditableInput,{label:null,style:{input:y.input},value:o.replace("#",""),onChange:g}),n.default.createElement("div",{style:y.clear})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),triangle:o.default.oneOf(["hide","top-left","top-right"]),colors:o.default.arrayOf(o.default.string),styles:o.default.object},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,s.ColorWrap)(f)},"o/2+":function(e,t,r){"use strict";var n=r("foW8"),o=r.n(n)()({});t.a=o},"oCl/":function(e,t,r){var n=r("CH3K"),o=r("LcsW"),a=r("MvSz"),i=r("0ycA"),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=l},oEMi:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,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},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0")),i=r("l1rO"),l=(n=i)&&n.__esModule?n:{default:n};var u={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},s={integer:function(e){return s.number(e)&&parseInt(e,10)===e},float:function(e){return s.number(e)&&!s.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))&&!s.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,r,n,i){if(e.required&&void 0===t)(0,l.default)(e,t,r,n,i);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?s[u](t)||n.push(a.format(i.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&n.push(a.format(i.messages.types[u],e.fullField,e.type))}}},oPLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var n=d(r("q1tI")),o=d(r("17x9")),a=d(r("/FUP")),i=d(r("3WF5")),l=d(r("QkVN")),u=d(r("p8yl")),s=r("TM95"),c=d(r("ZQT/")),f=d(r("8J/B"));function d(e){return e&&e.__esModule?e:{default:e}}var p=t.Compact=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,d=e.hex,p=e.rgb,h=e.styles,b=void 0===h?{}:h,v=e.className,y=void 0===v?"":v,g=(0,a.default)((0,l.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},b)),m=function(e,r){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n.default.createElement(s.Raised,{style:g.Compact,styles:b},n.default.createElement("div",{style:g.compact,className:"compact-picker "+y},n.default.createElement("div",null,(0,i.default)(o,(function(e){return n.default.createElement(c.default,{key:e,color:e,active:e.toLowerCase()===d,onClick:m,onSwatchHover:r})})),n.default.createElement("div",{style:g.clear})),n.default.createElement(f.default,{hex:d,rgb:p,onChange:m})))};p.propTypes={colors:o.default.arrayOf(o.default.string),styles:o.default.object},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,s.ColorWrap)(p)},oV5b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a="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=r("+kn0"),l=r("jESh"),u=(n=l)&&n.__esModule?n:{default:n},s=r("nEr6");function c(e){this.rules=null,this._messages=s.messages,this.define(e)}c.prototype={messages:function(e){return e&&(this._messages=(0,i.deepMerge)((0,s.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":a(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,r=void 0;for(t in e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,u=r,f=n;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function d(e){var t,r,n=void 0,o=[],a={};for(n=0;n<e.length;n++)t=e[n],r=void 0,Array.isArray(t)?o=(r=o).concat.apply(r,t):o.push(t);o.length?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(u.messages){var p=this.messages();p===s.messages&&(p=(0,s.newMessages)()),(0,i.deepMerge)(p,u.messages),u.messages=p}else u.messages=this.messages();var h=void 0,b=void 0,v={},y=u.keys||Object.keys(this.rules);y.forEach((function(r){h=t.rules[r],b=l[r],h.forEach((function(n){var a=n;"function"==typeof a.transform&&(l===e&&(l=o({},l)),b=l[r]=a.transform(b)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=t.getType(a),a.validator&&(v[r]=v[r]||[],v[r].push({rule:a,value:b,source:l,field:r}))}))}));var g={};return(0,i.asyncMap)(v,u,(function(e,t){var r=e.rule,n=!("object"!==r.type&&"array"!==r.type||"object"!==a(r.fields)&&"object"!==a(r.defaultField));function l(e,t){return o({},t,{fullField:r.fullField+"."+e})}function s(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=a;if(Array.isArray(s)||(s=[s]),!u.suppressWarning&&s.length&&c.warning("async-validator:",s),s.length&&r.message&&(s=[].concat(r.message)),s=s.map((0,i.complementError)(r)),u.first&&s.length)return g[r.field]=1,t(s);if(n){if(r.required&&!e.value)return s=r.message?[].concat(r.message).map((0,i.complementError)(r)):u.error?[u.error(r,(0,i.format)(u.messages.required,r.field))]:[],t(s);var f={};if(r.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(f[d]=r.defaultField);for(var p in f=o({},f,e.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(l.bind(null,p))}var b=new c(f);b.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),b.validate(e.value,e.rule.options||u,(function(e){var r=[];s&&s.length&&r.push.apply(r,s),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(s)}n=n&&(r.required||!r.required&&e.value),r.field=e.field;var f=void 0;r.asyncValidator?f=r.asyncValidator(r,e.value,s,e.source,u):r.validator&&(!0===(f=r.validator(r,e.value,s,e.source,u))?s():!1===f?s(r.message||r.field+" fails"):f instanceof Array?s(f):f instanceof Error&&s(f.message)),f&&f.then&&f.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){d(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.default.hasOwnProperty(e.type))throw new Error((0,i.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),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?u.default.required:u.default[this.getType(e)]||!1}},c.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},c.warning=i.warning,c.messages=s.messages,t.default=c},or5M:function(e,t,r){var n=r("1hJj"),o=r("QoRX"),a=r("xYSL");e.exports=function(e,t,r,i,l,u){var s=1&r,c=e.length,f=t.length;if(c!=f&&!(s&&f>c))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var p=-1,h=!0,b=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var v=e[p],y=t[p];if(i)var g=s?i(y,v,p,t,e,u):i(v,y,p,e,t,u);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!o(t,(function(e,t){if(!a(b,t)&&(v===e||l(v,e,r,i,u)))return b.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,r,i,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},"otv/":function(e,t,r){var n=r("nmnc"),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},p8yl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var n=a(r("xkGU")),o=a(r("Zss7"));function a(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,r=0;return(0,n.default)(["r","g","b","a","h","s","l","v"],(function(n){if(e[n]&&(t+=1,isNaN(e[n])||(r+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(r+=1)}})),t===r&&e};var i=t.toState=function(e,t){var r=e.hex?(0,o.default)(e.hex):(0,o.default)(e),n=r.toHsl(),a=r.toHsv(),i=r.toRgb(),l=r.toHex();return 0===n.s&&(n.h=t||0,a.h=t||0),{hsl:n,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:a,oldHue:e.h||t||n.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=i(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},pFRH:function(e,t,r){var n=r("cvCv"),o=r("O0oS"),a=r("zZ0H"),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=i},qZTm:function(e,t,r){var n=r("fR/l"),o=r("MvSz"),a=r("7GkX");e.exports=function(e){return n(e,a,o)}},"ql/k":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,f=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:u},c)},f),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("/FUP")),i=r("TM95"),l=u(r("Syy6"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.AlphaPicker=function(e){var t=e.rgb,r=e.hsl,l=e.width,u=e.height,s=e.onChange,c=e.direction,f=e.style,d=e.renderers,p=e.pointer,h=e.className,b=void 0===h?"":h,v=(0,a.default)({default:{picker:{position:"relative",width:l,height:u},alpha:{radius:"2px",style:f}}});return o.default.createElement("div",{style:v.picker,className:"alpha-picker "+b},o.default.createElement(i.Alpha,n({},v.alpha,{rgb:t,hsl:r,pointer:p,renderers:d,onChange:s,direction:c})))};s.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(s)},qrJ5:function(e,t,r){"use strict";r.d(t,"a",(function(){return M}));var n,o=r("q1tI"),a=r("TSYQ"),i=r.n(a),l=r("17x9"),u=r("H84U"),s=r("o/2+"),c=r("CWQg");function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),n=r("jpXb")}var p=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},b=[],v=-1,y={},g={dispatch:function(e){return y=e,!(b.length<1)&&(b.forEach((function(e){e.func(y)})),!0)},subscribe:function(e){0===b.length&&this.register();var t=(++v).toString();return b.push({token:t,func:e}),e(y),t},unsubscribe:function(e){0===(b=b.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return n.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return n.register(h[t],{match:function(){var r=d(d({},y),f({},t,!0));e.dispatch(r)},unmatch:function(){var r=d(d({},y),f({},t,!1));e.dispatch(r)},destroy:function(){}})}))}};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 x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(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 P(){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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},k=Object(c.a)("top","middle","bottom","stretch"),F=Object(c.a)("start","end","center","space-around","space-between"),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&&C(e,t)}(c,e);var t,r,n,a,l=(t=c,function(){var e,r=S(t);if(P()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return j(this,e)});function c(){var e;return O(this,c),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var r,n=t.getPrefixCls,a=e.props,l=a.prefixCls,u=a.type,c=a.justify,f=a.align,d=a.className,p=a.style,h=a.children,b=_(a,["prefixCls","type","justify","align","className","style","children"]),v=n("row",l),y=e.getGutter(),g=i()((w(r={},v,!u),w(r,"".concat(v,"-").concat(u),u),w(r,"".concat(v,"-").concat(u,"-").concat(c),u&&c),w(r,"".concat(v,"-").concat(u,"-").concat(f),u&&f),r),d),m=x(x(x({},y[0]>0?{marginLeft:y[0]/-2,marginRight:y[0]/-2}:{}),y[1]>0?{marginTop:y[1]/-2,marginBottom:y[1]/-2}:{}),p),O=x({},b);return delete O.gutter,o.createElement(s.a.Provider,{value:{gutter:y}},o.createElement("div",x({},O,{className:g,style:m}),h))},e}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var r=e.props.gutter;("object"===m(r)||Array.isArray(r)&&("object"===m(r[0])||"object"===m(r[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,r=this.state.screens;return(Array.isArray(t)?t:[t,0]).forEach((function(t,n){if("object"===m(t))for(var o=0;o<p.length;o++){var a=p[o];if(r[a]&&void 0!==t[a]){e[n]=t[a];break}}else e[n]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&E(r.prototype,n),a&&E(r,a),c}(o.Component);M.defaultProps={gutter:0},M.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(k),justify:l.oneOf(F),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},rJ8t:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("QkVN")),l=c(r("p8yl")),u=r("TM95"),s=c(r("uDUr"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Block=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,c=e.colors,f=e.width,d=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,y="transparent"===o,g=function(e,r){l.default.isValidHex(e)&&t({hex:e,source:"hex"},r)},m=(0,a.default)((0,i.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:l.default.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===d});return n.default.createElement("div",{style:m.card,className:"block-picker "+v},n.default.createElement("div",{style:m.triangle}),n.default.createElement("div",{style:m.head},y&&n.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),n.default.createElement("div",{style:m.label},o)),n.default.createElement("div",{style:m.body},n.default.createElement(s.default,{colors:c,onClick:g,onSwatchHover:r}),n.default.createElement(u.EditableInput,{style:{input:m.input},value:o,onChange:g})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["top","hide"]),styles:o.default.object},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},t.default=(0,u.ColorWrap)(f)},rNsS:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&a.default.type(e,t,n,l,o)}r(l)}},rfXi:function(e,t,r){e.exports={default:r("0tVQ"),__esModule:!0}},rjwK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),t&&a.default.enum(e,t,n,l,o)}r(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},sVjb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(){var e=(0,o.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.default.createElement("div",{style:e.pointer},n.default.createElement("div",{style:e.left},n.default.createElement("div",{style:e.leftInside})),n.default.createElement("div",{style:e.right},n.default.createElement("div",{style:e.rightInside})))};t.default=i},seXi:function(e,t,r){var n=r("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,i,l){var u=1&r,s=n(e),c=s.length;if(c!=n(t).length&&!u)return!1;for(var f=c;f--;){var d=s[f];if(!(u?d in t:o.call(t,d)))return!1}var p=l.get(e);if(p&&l.get(t))return p==t;var h=!0;l.set(e,t),l.set(t,e);for(var b=u;++f<c;){var v=e[d=s[f]],y=t[d];if(a)var g=u?a(y,v,d,t,e,l):a(v,y,d,e,t,l);if(!(void 0===g?v===y||i(v,y,r,a,l):g)){h=!1;break}b||(b="constructor"==d)}if(h&&!b){var m=e.constructor,x=t.constructor;m==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x||(h=!1)}return l.delete(e),l.delete(t),h}},srvI:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n){var o=n.clientWidth,a=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),s=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(s<0)c=359;else if(s>a)c=0;else{c=360*(-100*s/a+100)/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"rgb"}}else{var f=void 0;if(u<0)f=0;else if(u>o)f=359;else{f=360*(100*u/o)/100}if(r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"rgb"}}return null}},t2Dn:function(e,t,r){var n=r("hypo"),o=r("ljhN");e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},t33a:function(e,t,r){"use strict";e.exports={}},t8r4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var n=d(r("q1tI")),o=d(r("17x9")),a=d(r("/FUP")),i=d(r("3WF5")),l=d(r("QkVN")),u=d(r("p8yl")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),c=r("TM95"),f=d(r("Efrf"));function d(e){return e&&e.__esModule?e:{default:e}}var p=t.Swatches=function(e){var t=e.width,r=e.height,o=e.onChange,s=e.onSwatchHover,d=e.colors,p=e.hex,h=e.styles,b=void 0===h?{}:h,v=e.className,y=void 0===v?"":v,g=(0,a.default)((0,l.default)({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},b)),m=function(e,t){u.default.isValidHex(e)&&o({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:g.picker,className:"swatches-picker "+y},n.default.createElement(c.Raised,null,n.default.createElement("div",{style:g.overflow},n.default.createElement("div",{style:g.body},(0,i.default)(d,(function(e){return n.default.createElement(f.default,{key:e.toString(),group:e,active:p,onClick:m,onSwatchHover:s})})),n.default.createElement("div",{style:g.clear})))))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.arrayOf(o.default.string)),styles:o.default.object},p.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,c.ColorWrap)(p)},tULf:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("KM+8"),r("4t1q")},tadb:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"DataView");e.exports=n},trA2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(e){var t=e.direction,r=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},tu5P:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointerCircle=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},uDUr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("3WF5")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,r=e.onClick,l=e.onSwatchHover,u=(0,o.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n.default.createElement("div",{style:u.swatches},(0,a.default)(t,(function(e){return n.default.createElement(i.Swatch,{key:e,color:e,style:u.swatch,onClick:r,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:u.clear}))};t.default=u},"ut/Y":function(e,t,r){var n=r("ZCpW"),o=r("GDhZ"),a=r("zZ0H"),i=r("Z0cm"),l=r("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):l(e)}},"vPd/":function(e,t,r){var n=r("kCCV"),o=r("IX3V").each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,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=a},"w/wX":function(e,t,r){var n=r("QqLw"),o=r("ExA7");e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},"wF/u":function(e,t,r){var n=r("e5cp"),o=r("ExA7");e.exports=function e(t,r,a,i,l){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,a,i,e,l))}},wME1:function(e,t,r){"use strict";r.r(t),r.d(t,"red",(function(){return n})),r.d(t,"pink",(function(){return o})),r.d(t,"purple",(function(){return a})),r.d(t,"deepPurple",(function(){return i})),r.d(t,"indigo",(function(){return l})),r.d(t,"blue",(function(){return u})),r.d(t,"lightBlue",(function(){return s})),r.d(t,"cyan",(function(){return c})),r.d(t,"teal",(function(){return f})),r.d(t,"green",(function(){return d})),r.d(t,"lightGreen",(function(){return p})),r.d(t,"lime",(function(){return h})),r.d(t,"yellow",(function(){return b})),r.d(t,"amber",(function(){return v})),r.d(t,"orange",(function(){return y})),r.d(t,"deepOrange",(function(){return g})),r.d(t,"brown",(function(){return m})),r.d(t,"grey",(function(){return x})),r.d(t,"blueGrey",(function(){return w})),r.d(t,"darkText",(function(){return O})),r.d(t,"lightText",(function(){return E})),r.d(t,"darkIcons",(function(){return C})),r.d(t,"lightIcons",(function(){return j})),r.d(t,"white",(function(){return P})),r.d(t,"black",(function(){return S}));var n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},a={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},s={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},c={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},g={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},m={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},O={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},E={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},C={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},j={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},P="#ffffff",S="#000000";t.default={red:n,pink:o,purple:a,deepPurple:i,indigo:l,blue:u,lightBlue:s,cyan:c,teal:f,green:d,lightGreen:p,lime:h,yellow:b,amber:v,orange:y,deepOrange:g,brown:m,grey:x,blueGrey:w,darkText:O,lightText:E,darkIcons:C,lightIcons:j,white:P,black:S}},wZXL:function(e,t,r){var n=r("vPd/"),o=r("IX3V"),a=o.each,i=o.isFunction,l=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,r){var o=this.queries,u=r&&this.browserIsIncapable;return o[e]||(o[e]=new n(e,u)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=u},wclG:function(e,t,r){var n=r("pFRH"),o=r("88Gu")(n);e.exports=o},wkyg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=c(r("q1tI")),a=c(r("17x9")),i=c(r("/FUP")),l=c(r("QkVN")),u=r("TM95"),s=c(r("trA2"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.HuePicker=function(e){var t=e.width,r=e.height,a=e.onChange,s=e.hsl,c=e.direction,f=e.pointer,d=e.styles,p=void 0===d?{}:d,h=e.className,b=void 0===h?"":h,v=(0,i.default)((0,l.default)({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},p));return o.default.createElement("div",{style:v.picker,className:"hue-picker "+b},o.default.createElement(u.Hue,n({},v.hue,{hsl:s,pointer:f,onChange:function(e){return a({a:1,h:e.h,l:.5,s:1})},direction:c})))};f.propTypes={styles:a.default.object},f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:s.default,styles:{}},t.default=(0,u.ColorWrap)(f)},wrZu:function(e,t,r){var n=r("+K+b"),o=r("XYm9"),a=r("b2z7"),i=r("otv/"),l=r("yP5f");e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,r);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return a(e);case"[object Set]":return new u;case"[object Symbol]":return i(e)}}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},xbjo:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var n=l(r("q1tI")),o=r("/FUP"),a=l(o),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CircleSwatch=function(e){var t=e.color,r=e.onClick,o=e.onSwatchHover,l=e.hover,u=e.active,s=e.circleSize,c=e.circleSpacing,f=(0,a.default)({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+s/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:l,active:u});return n.default.createElement("div",{style:f.swatch},n.default.createElement(i.Swatch,{style:f.Swatch,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,o.handleHover)(u)},xkGU:function(e,t,r){e.exports=r("bNQv")},yGk4:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"Set");e.exports=n},yHx3:function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},yOY4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=c(a),l=c(r("/FUP")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("THLb")),s=c(r("Nq3d"));function c(e){return e&&e.__esModule?e:{default:e}}function f(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}var p=t.Alpha=function(e){function t(){var e,r,n;f(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.handleChange=function(e){var t=u.calculateChange(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},d(n,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)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:n({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.default.createElement("div",{style:r.alpha},i.default.createElement("div",{style:r.checkboard},i.default.createElement(s.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:r.gradient}),i.default.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}(a.PureComponent||a.Component);t.default=p},yP5f:function(e,t,r){var n=r("+K+b");e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},zEVN:function(e,t,r){var n=r("Gi0A"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isMap,l=i?o(i):n;e.exports=l},"zP+q":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return r();a.default.required(e,t,n,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o),a.default.pattern(e,t,n,l,o),!0===e.whitespace&&a.default.whitespace(e,t,n,l,o))}r(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[18,4,5,78],{"+B/L":function(e,t,r){},"+K+b":function(e,t,r){var n=r("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},"+Qka":function(e,t,r){var n=r("fmRc"),o=r("t2Dn"),a=r("cq/+"),i=r("T1AV"),l=r("GoyQ"),u=r("mTTR"),s=r("itsj");e.exports=function e(t,r,c,f,d){t!==r&&a(r,(function(a,u){if(d||(d=new n),l(a))i(t,r,u,c,e,f,d);else{var p=f?f(s(t,u),a,u+"",t,r,d):void 0;void 0===p&&(p=a),o(t,u,p)}}),u)}},"+c4W":function(e,t,r){var n=r("711d"),o=r("4/ic"),a=r("9ggG"),i=r("9Nap");e.exports=function(e){return a(e)?n(i(e)):o(e)}},"+iFO":function(e,t,r){var n=r("dTAl"),o=r("LcsW"),a=r("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},"+kn0":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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=i,t.format=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(e){return"[Circular]"}break;default:return e}})),u=t[n];n<i;u=t[++n])l+=" "+u;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,r,n){if(t.first){return l(function(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r])})),t}(e),r,n)}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),u=a.length,s=0,c=[],f=new Promise((function(t,f){var d=function(e){if(c.push.apply(c,e),++s===u)return n(c),c.length?f({errors:c,fields:i(c)}):t()};a.forEach((function(t){var n=e[t];-1!==o.indexOf(t)?l(n,r,d):function(e,t,r){var n=[],o=0,a=e.length;function i(e){n.push.apply(n,e),++o===a&&r(n)}e.forEach((function(e){t(e,i)}))}(n,r,d)}))}));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 r in t)if(t.hasOwnProperty(r)){var a=t[r];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[r])?e[r]=n({},e[r],a):e[r]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function l(e,t,r){var n=0,o=e.length;!function a(i){if(i&&i.length)r(i);else{var l=n;n+=1,l<o?t(e[l],a):r([])}}([])}},"/FUP":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var n=s(r("W3HW")),o=s(r("lreK")),a=s(r("KfSR")),i=s(r("VYtm")),l=s(r("XQvf")),u=s(r("B5Mt"));function s(e){return e&&e.__esModule?e:{default:e}}t.hover=i.default,t.handleHover=i.default,t.handleActive=l.default,t.loop=u.default;var c=t.ReactCSS=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];var l=(0,n.default)(r),u=(0,o.default)(e,l);return(0,a.default)(u)};t.default=c},"/kpp":function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var n=r("q1tI"),o=r("17x9"),a=r("TSYQ"),i=r.n(a),l=r("o/2+"),u=r("H84U");function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 y(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},x=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&&h(e,t)}(w,e);var t,r,o,a,x=(t=w,function(){var e,r=g(t);if(y()){var n=g(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return b(this,e)});function w(){var e;return d(this,w),(e=x.apply(this,arguments)).renderCol=function(t){var r,o=t.getPrefixCls,a=v(e).props,u=a.prefixCls,d=a.span,p=a.order,h=a.offset,b=a.push,y=a.pull,g=a.className,x=a.children,w=m(a,["prefixCls","span","order","offset","push","pull","className","children"]),O=o("col",u),E={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,r={},n=a[e];"number"==typeof n?r.span=n:"object"===f(n)&&(r=n||{}),delete w[e],E=c(c({},E),(s(t={},"".concat(O,"-").concat(e,"-").concat(r.span),void 0!==r.span),s(t,"".concat(O,"-").concat(e,"-order-").concat(r.order),r.order||0===r.order),s(t,"".concat(O,"-").concat(e,"-offset-").concat(r.offset),r.offset||0===r.offset),s(t,"".concat(O,"-").concat(e,"-push-").concat(r.push),r.push||0===r.push),s(t,"".concat(O,"-").concat(e,"-pull-").concat(r.pull),r.pull||0===r.pull),t))}));var C=i()(O,(s(r={},"".concat(O,"-").concat(d),void 0!==d),s(r,"".concat(O,"-order-").concat(p),p),s(r,"".concat(O,"-offset-").concat(h),h),s(r,"".concat(O,"-push-").concat(b),b),s(r,"".concat(O,"-pull-").concat(y),y),r),g,E);return n.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,r=w.style;return t&&(r=c(c(c({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),r)),n.createElement("div",c({},w,{style:r,className:C}),x)}))},e}return r=w,(o=[{key:"render",value:function(){return n.createElement(u.a,null,this.renderCol)}}])&&p(r.prototype,o),a&&p(r,a),w}(n.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:x,sm:x,md:x,lg:x,xl:x,xxl:x}},"008G":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n},l=r("eO8H");function u(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}r("6JOy");var c=function(e){function t(){return u(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:"render",value:function(){var e=this.props.match.params,t=e.projectsId,r=e.owner;return i.default.createElement("p",{className:"topWrapper_nav"},i.default.createElement(l.NavLink,{activeClassName:"active",className:"issue-type-button",to:"/projects/"+r+"/"+t+"/issues/tags"},"标签"),i.default.createElement(l.NavLink,{activeClassName:"active",className:"issue-type-button",to:"/projects/"+r+"/"+t+"/milestones"},"里程碑"))}}]),t}(a.Component);t.default=c},"0Cz8":function(e,t,r){var n=r("Xi7e"),o=r("ebwN"),a=r("e4Nc");e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},"0ycA":function(e,t){e.exports=function(){return[]}},"1+5i":function(e,t,r){var n=r("w/wX"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isSet,l=i?o(i):n;e.exports=l},"1hJj":function(e,t,r){var n=r("e4Nc"),o=r("ftKO"),a=r("3A9y");function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2CTR":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=l(o),i=l(r("dF3D"));function l(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 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 u(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),n(t,[{key:"render",value:function(){var e=this.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},"2NuI":function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,a,i,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[r,n,o,a,i,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"2WkQ":function(e,t,r){"use strict";r.r(t);r("SchZ"),r("+B/L"),r("TfFZ")},"2mql":function(e,t,r){"use strict";var n=r("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return n.isMemo(e)?i:l[e.$$typeof]||o}l[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[n.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=c(r);f&&(i=i.concat(f(r)));for(var l=u(t),b=u(r),v=0;v<i.length;++v){var y=i[v];if(!(a[y]||n&&n[y]||b&&b[y]||l&&l[y])){var g=d(r,y);try{s(t,y,g)}catch(e){}}}}return t}},"2zpl":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPreviews=function(e){var t=e.rgb,r=e.currentColor,a=(0,o.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n.default.createElement("div",null,n.default.createElement("div",{style:a.label},"new"),n.default.createElement("div",{style:a.swatches},n.default.createElement("div",{style:a.new}),n.default.createElement("div",{style:a.current})),n.default.createElement("div",{style:a.label},"current"))};t.default=i},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"3L66":function(e,t,r){var n=r("MMmD"),o=r("ExA7");e.exports=function(e){return o(e)&&n(e)}},"3WF5":function(e,t,r){var n=r("eUgh"),o=r("ut/Y"),a=r("l9OW"),i=r("Z0cm");e.exports=function(e,t){return(i(e)?n:a)(e,o(t,3))}},"4/ic":function(e,t,r){var n=r("ZWtO");e.exports=function(e){return function(t){return n(t,e)}}},"4qC0":function(e,t,r){var n=r("NykK"),o=r("Z0cm"),a=r("ExA7");e.exports=function(e){return"string"==typeof e||!o(e)&&a(e)&&"[object String]"==n(e)}},"4sDh":function(e,t,r){var n=r("4uTw"),o=r("03A+"),a=r("Z0cm"),i=r("wJg7"),l=r("shjB"),u=r("9Nap");e.exports=function(e,t,r){for(var s=-1,c=(t=n(t,e)).length,f=!1;++s<c;){var d=u(t[s]);if(!(f=null!=e&&r(e,d)))break;e=e[d]}return f||++s!=c?f:!!(c=null==e?0:e.length)&&l(c)&&i(d,c)&&(a(e)||o(e))}},"4t1q":function(e,t,r){"use strict";r("SchZ"),r("TZyB")},"5Tg0":function(e,t,r){(function(e){var n=r("Kz5y"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,l=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}}).call(this,r("YuTi")(e))},"6JOy":function(e,t,r){},"6sVZ":function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,r){var n=r("Xi7e");e.exports=function(){this.__data__=new n,this.size=0}},"7GkX":function(e,t,r){var n=r("b80T"),o=r("A90E"),a=r("MMmD");e.exports=function(e){return a(e)?n(e):o(e)}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},"7Lfq":function(e,t,r){},"7dW+":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var n=f(r("q1tI")),o=f(r("17x9")),a=f(r("/FUP")),i=f(r("3WF5")),l=f(r("QkVN")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),s=r("TM95"),c=f(r("xbjo"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Circle=function(e){var t=e.width,r=e.onChange,o=e.onSwatchHover,u=e.colors,s=e.hex,f=e.circleSize,d=e.styles,p=void 0===d?{}:d,h=e.circleSpacing,b=e.className,v=void 0===b?"":b,y=(0,a.default)((0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-h,marginBottom:-h}}},p)),g=function(e,t){return r({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:y.card,className:"circle-picker "+v},(0,i.default)(u,(function(e){return n.default.createElement(c.default,{key:e,color:e,onClick:g,onSwatchHover:o,active:s===e.toLowerCase(),circleSize:f,circleSpacing:h})})))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),circleSize:o.default.number,circleSpacing:o.default.number,styles:o.default.object},d.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[u.red[500],u.pink[500],u.purple[500],u.deepPurple[500],u.indigo[500],u.blue[500],u.lightBlue[500],u.cyan[500],u.teal[500],u.green[500],u.lightGreen[500],u.lime[500],u.yellow[500],u.amber[500],u.orange[500],u.deepOrange[500],u.brown[500],u.blueGrey[500]],styles:{}},t.default=(0,s.ColorWrap)(d)},"7fqy":function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},"81by":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.PhotoshopPicker=function(e){var t=e.onChange,r=e.rgb,l=e.hsv,u=e.hex,s=(0,o.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),c=function(e,n){e["#"]?a.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||l.h,s:e.s||l.s,v:e.v||l.v,source:"hsv"},n)};return n.default.createElement("div",{style:s.fields},n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"h",value:Math.round(l.h),onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"s",value:Math.round(100*l.s),onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"v",value:Math.round(100*l.v),onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:c}),n.default.createElement(i.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:c}),n.default.createElement("div",{style:s.divider}),n.default.createElement(i.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"#",value:u.replace("#",""),onChange:c}),n.default.createElement("div",{style:s.fieldSymbols},n.default.createElement("div",{style:s.symbol},"°"),n.default.createElement("div",{style:s.symbol},"%"),n.default.createElement("div",{style:s.symbol},"%")))};t.default=u},"88Gu":function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),a=16-(o-n);if(n=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"8J/B":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=r("TM95");function i(e){return e&&e.__esModule?e:{default:e}}var l=t.CompactFields=function(e){var t=e.hex,r=e.rgb,i=e.onChange,l=(0,o.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),u=function(e,t){e.r||e.g||e.b?i({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):i({hex:e.hex,source:"hex"},t)};return n.default.createElement("div",{style:l.fields,className:"flexbox-fix"},n.default.createElement("div",{style:l.active}),n.default.createElement(a.EditableInput,{style:{wrap:l.HEXwrap,input:l.HEXinput,label:l.HEXlabel},label:"hex",value:t,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"r",value:r.r,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"g",value:r.g,onChange:u}),n.default.createElement(a.EditableInput,{style:{wrap:l.RGBwrap,input:l.RGBinput,label:l.RGBlabel},label:"b",value:r.b,onChange:u}))};t.default=l},"9F0J":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,f=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:u},c)},f),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},A90E:function(e,t,r){var n=r("6sVZ"),o=r("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},AU0A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){(/^\s+$/.test(t)||""===t)&&o.push(n.format(a.messages.whitespace,e.fullField))}},Ag8Z:function(e,t,r){var n=r("JC6p"),o=r("EwQA");e.exports=function(e,t){return e&&n(e,o(t))}},AnK5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=l(o),i=l(r("/FUP"));function l(e){return e&&e.__esModule?e:{default:e}}var u=[38,40],s=t.EditableInput=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t,n=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(n)&&(t=e.keyCode,u.indexOf(t)>-1)){var o=r.getArrowOffset(),a=38===e.keyCode?n+o:n-o;r.setUpdatedValue(a,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},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)}(t,e),n(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t);var n,o=function(e){return String(e).indexOf("%")>-1}(t.target.value);this.setState({value:o?(n=e,n+"%"):e})}},{key:"render",value:function(){var e=this,t=(0,i.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return a.default.createElement("div",{style:t.wrap},a.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?a.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(o.PureComponent||o.Component);t.default=s},Aosp:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("Dt+G")},B5Mt:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},B8du:function(e,t){e.exports=function(){return!1}},BKMn:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(e){var t=e.hsl,r=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return n.default.createElement("div",{style:r.picker})};t.default=i},Ba7A:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("/FUP")),i=r("japM"),l=u(r("Nq3d"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Swatch=function(e){var t=e.color,r=e.style,i=e.onClick,u=void 0===i?function(){}:i,s=e.onHover,c=e.title,f=void 0===c?t:c,d=e.children,p=e.focus,h=e.focusStyle,b=void 0===h?{}:h,v="transparent"===t,y=(0,a.default)({default:{swatch:n({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,p?b:{})}}),g={};return s&&(g.onMouseOver=function(e){return s(t,e)}),o.default.createElement("div",n({style:y.swatch,onClick:function(e){return u(t,e)},title:f,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&u(t,e)}},g),d,v&&o.default.createElement(l.default,{borderRadius:y.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,i.handleFocus)(s)},BkRI:function(e,t,r){var n=r("OBhP");e.exports=function(e){return n(e,5)}},BmQL:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var n=u(r("q1tI")),o=u(r("/FUP")),a=u(r("p8yl")),i=r("TM95"),l=u(r("ql/k"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.SwatchesColor=function(e){var t=e.color,r=e.onClick,u=void 0===r?function(){}:r,s=e.onSwatchHover,c=e.first,f=e.last,d=e.active,p=(0,o.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:a.default.getContrastingColor(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:c,last:f,active:d,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(i.Swatch,{color:t,style:p.color,onClick:u,onHover:s,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:p.check},n.default.createElement(l.default,null)))};t.default=s},BvKs:function(e,t,r){"use strict";r.r(t),r.d(t,"default",(function(){return qe}));var n=r("q1tI"),o=r("1j5w"),a=r("TSYQ"),i=r.n(a),l=r("BGR+"),u=r("VCL8"),s=r("17x9"),c=r("foW8"),f=r.n(c),d=f()({inlineCollapsed:!1});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 r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 m(){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 x(e){return(x=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&&y(e,t)}(s,e);var t,r,a,l,u=(t=s,function(){var e,r=x(t);if(m()){var n=x(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return g(this,e)});function s(){var e;return b(this,s),(e=u.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return r=s,(a=[{key:"render",value:function(){var e=this,t=this.props,r=t.rootPrefixCls,a=t.popupClassName;return n.createElement(d.Consumer,null,(function(t){var l=t.antdMenuTheme;return n.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:i()("".concat(r,"-").concat(l),a)}))}))}}])&&v(r.prototype,a),l&&v(r,l),s}(n.Component);w.contextTypes={antdMenuTheme:s.string},w.isSubMenu=1;var O=w,E=r("3S7+"),C=r("H84U");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 P(e){return function(e){if(Array.isArray(e))return S(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 S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return S(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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M(e,t,r){return t&&F(e.prototype,t),r&&F(e,r),e}function A(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&&N(e,t)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,r=I(e);if(D()){var n=I(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return T(this,t)}}function T(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var V=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},B=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,r=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){A(i,o);var a=R(i);function i(){var o;return k(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,u=i(t,l);return n.createElement(e,_({prefixCls:u,tagName:r},o.props))},o}return M(i,[{key:"render",value:function(){return n.createElement(C.a,null,this.renderComponent)}}]),i}(n.Component)).displayName=o,a}}var H=function(e){var t=e.prefixCls,r=e.className,o=e.children,a=e.tagName,l=V(e,["prefixCls","className","children","tagName"]),u=i()(r,t);return n.createElement(a,_({className:u},l),o)},L=function(e){A(r,e);var t=R(r);function r(){var e;return k(this,r),(e=t.apply(this,arguments)).state={siders:[]},e}return M(r,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,r,o=this.props,a=o.prefixCls,l=o.className,u=o.children,s=o.hasSider,c=o.tagName,f=V(o,["prefixCls","className","children","hasSider","tagName"]),d=i()(l,a,(e={},t="".concat(a,"-has-sider"),r="boolean"==typeof s?s:this.state.siders.length>0,t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e));return n.createElement(B.Provider,{value:{siderHook:this.getSiderHook()}},n.createElement(c,_({className:d},f),u))}}]),r}(n.Component),z=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(L),G=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),U=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);z.Header=G,z.Footer=W,z.Content=U;var X=r("CtXQ"),Q=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(e)}function Y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ee(e,t,r){return t&&$(e.prototype,t),r&&$(e,r),e}function te(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)}function re(e,t){return(re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ne(e){return function(){var t,r=ie(e);if(ae()){var n=ie(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}})}var ue,se={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ce=f()({}),fe=(ue=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return ue+=1,"".concat(e).concat(ue)}),de=function(e){te(r,e);var t=ne(r);function r(e){var o,a,u;return J(this,r),(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 r=o.props.onCollapse;r&&r(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,r=e.getPrefixCls,a=o.props,u=a.prefixCls,s=a.className,c=a.theme,f=a.collapsible,d=a.reverseArrow,p=a.trigger,h=a.style,b=a.width,v=a.collapsedWidth,y=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),m=r("layout-sider",u),x=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?v:b,O=Q(w)?"".concat(w,"px"):String(w),E=0===parseFloat(String(v||0))?n.createElement("span",{onClick:o.toggle,className:"".concat(m,"-zero-width-trigger ").concat(m,"-zero-width-trigger-").concat(d?"right":"left"),style:y},n.createElement(X.default,{type:"bars"})):null,C={expanded:d?n.createElement(X.default,{type:"right"}):n.createElement(X.default,{type:"left"}),collapsed:d?n.createElement(X.default,{type:"left"}):n.createElement(X.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==p?E||n.createElement("div",{className:"".concat(m,"-trigger"),onClick:o.toggle,style:{width:O}},p||C):null,P=K(K({},h),{flex:"0 0 ".concat(O),maxWidth:O,minWidth:O,width:O}),S=i()(s,m,"".concat(m,"-").concat(c),(Y(t={},"".concat(m,"-collapsed"),!!o.state.collapsed),Y(t,"".concat(m,"-has-trigger"),f&&null!==p&&!E),Y(t,"".concat(m,"-below"),!!o.state.below),Y(t,"".concat(m,"-zero-width"),0===parseFloat(O)),t));return n.createElement("aside",K({className:S},x,{style:P}),n.createElement("div",{className:"".concat(m,"-children")},o.props.children),f||o.state.below&&E?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in se&&(o.mql=a("(max-width: ".concat(se[e.breakpoint],")"))),u="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:u,below:!1},o}return ee(r,[{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 n.createElement(ce.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},n.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),r}(n.Component);de.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(u.polyfill)(de);n.Component;function pe(e){return(pe="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(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ye(e,t){return(ye=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==pe(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 me(){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 xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var we=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},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&&ye(e,t)}(u,e);var t,r,a,i,l=(t=u,function(){var e,r=xe(t);if(me()){var n=xe(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return ge(this,e)});function u(){var e;return be(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.menuItem.onKeyDown(t)},e.saveMenuItem=function(t){e.menuItem=t},e.renderItem=function(t){var r=t.siderCollapsed,a=e.props,i=a.level,l=a.children,u=a.rootPrefixCls,s=e.props,c=s.title,f=we(s,["title"]);return n.createElement(d.Consumer,null,(function(t){var a=t.inlineCollapsed,s={title:c||(1===i?l:"")};return r||a||(s.title=null,s.visible=!1),n.createElement(E.default,he({},s,{placement:"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),n.createElement(o.b,he({},f,{title:c,ref:e.saveMenuItem})))}))},e}return r=u,(a=[{key:"render",value:function(){return n.createElement(ce.Consumer,null,this.renderItem)}}])&&ve(r.prototype,a),i&&ve(r,i),u}(n.Component);Oe.isMenuItem=!0;var Ee=r("6CfX"),Ce=r("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Se={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ae(e,t,r){return t&&Me(e.prototype,t),r&&Me(e,r),e}function Ne(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Te(e){return function(){var t,r=Ve(e);if(Ie()){var n=Ve(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return De(this,t)}}function De(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 Ie(){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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Be=function(e){Ne(r,e);var t=Te(r);function r(e){var a,u;return Fe(this,r),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.handleTransitionEnd=function(e){var t="width"===e.propertyName&&e.target===e.currentTarget,r=e.target.className,n="[object SVGAnimatedString]"===Object.prototype.toString.call(r)?r.animVal:r,o="font-size"===e.propertyName&&n.indexOf("anticon")>=0;(t||o)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,r,u,s=e.getPopupContainer,c=e.getPrefixCls,f=a.props,d=f.prefixCls,p=f.className,h=f.theme,b=f.collapsedWidth,v=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),y=a.getRealMenuMode(),g=a.getOpenMotionProps(y),m=c("menu",d),x=i()(p,"".concat(m,"-").concat(h),(t={},r="".concat(m,"-inline-collapsed"),u=a.getInlineCollapsed(),r in t?Object.defineProperty(t,r,{value:u,enumerable:!0,configurable:!0,writable:!0}):t[r]=u,t)),w=ke({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:x,mode:y},g);return"inline"!==y&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===b||"0"===b||"0px"===b)&&(w.openKeys=[]),n.createElement(o.e,ke({getPopupContainer:s},v,w,{prefixCls:m,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ee.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(Ee.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ee.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?u=e.openKeys:"defaultOpenKeys"in e&&(u=e.defaultOpenKeys),a.state={openKeys:u||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Ae(r,[{key:"componentWillUnmount",value:function(){Ce.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,r=t.openTransitionName,n=t.openAnimation,o=t.motion;return o?{motion:o}:n?(Object(Ee.a)("string"==typeof n,"Menu","`openAnimation` do not support object. Please use `motion` instead."),{openAnimation:n}):r?{openTransitionName:r}:"horizontal"===e?{motion:{motionName:"slide-up"}}:"inline"===e?{motion:Se}:{motion:{motionName:this.state.switchingModeFromInline?"":"zoom-big"}}}},{key:"restoreModeVerticalFromInline",value:function(){this.state.switchingModeFromInline&&this.setState({switchingModeFromInline:!1})}},{key:"render",value:function(){return n.createElement(d.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},n.createElement(C.a,null,this.renderMenu))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n={prevProps:e};return"inline"===r.mode&&"inline"!==e.mode&&(n.switchingModeFromInline=!0),"openKeys"in e?n.openKeys=e.openKeys:((e.inlineCollapsed&&!r.inlineCollapsed||e.siderCollapsed&&!r.siderCollapsed)&&(n.switchingModeFromInline=!0,n.inlineOpenKeys=t.openKeys,n.openKeys=[]),(!e.inlineCollapsed&&r.inlineCollapsed||!e.siderCollapsed&&r.siderCollapsed)&&(n.openKeys=t.inlineOpenKeys,n.inlineOpenKeys=[])),n}}]),r}(n.Component);Be.defaultProps={className:"",theme:"light",focusable:!1},Object(u.polyfill)(Be);var qe=function(e){Ne(r,e);var t=Te(r);function r(){return Fe(this,r),t.apply(this,arguments)}return Ae(r,[{key:"render",value:function(){var e=this;return n.createElement(ce.Consumer,null,(function(t){return n.createElement(Be,ke({},e.props,t))}))}}]),r}(n.Component);qe.Divider=o.a,qe.Item=Oe,qe.SubMenu=O,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},CMye:function(e,t,r){var n=r("GoyQ");e.exports=function(e){return e==e&&!n(e)}},D1y2:function(e,t,r){var n=r("FZoo");e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},DRdP:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopButton=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopButton=function(e){var t=e.onClick,r=e.label,a=e.children,i=e.active,l=(0,o.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n.default.createElement("div",{style:l.button,onClick:t},r||a)};t.default=i},DSRE:function(e,t,r){(function(e){var n=r("Kz5y"),o=r("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?n.Buffer:void 0,u=(l?l.isBuffer:void 0)||o;e.exports=u}).call(this,r("YuTi")(e))},DTGX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=x(r("kLXV")),o=x(r("NUBc")),a=x(r("NJEC")),i=x(r("jsC+")),l=x(r("CtXQ")),u=x(r("Vl3Y")),s=x(r("5rEg")),c=x(r("BvKs")),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();r("k3Gp"),r("YQTV"),r("k994"),r("aIZi"),r("2oDE"),r("tULf"),r("1vPl"),r("2WkQ");var p=r("q1tI"),h=x(p),b=x(r("008G")),v=x(r("2CTR")),y=r("WFjJ"),g=x(r("/FUP")),m=x(r("vDqi"));function x(e){return e&&e.__esModule?e:{default:e}}var w=(0,g.default)({default:{color:{width:"20px",height:"20px",borderRadius:"2px",background:"rgba("+(void 0).state.color.r+", "+(void 0).state.color.g+", "+(void 0).state.color.b+", "+(void 0).state.color.a+")"},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",width:"100px",marginTop:"5px",height:"28px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"flex",cursor:"pointer"},popover:{position:"absolute",zIndex:"2"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"},modalcolor:{width:"20px",height:"20px",borderRadius:"2px",background:(void 0).state.newcolor}}}),O=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.componentDidMount=function(){r.getList()},r.getList=function(e,t,n){var o=r.props.match.params,a=o.projectsId,i=o.owner,l=r.state.limit,u="/projects/"+i+"/"+a+"/labels.json";m.default.get(u,{params:{page:e,limit:l,order_name:t,order_type:n}}).then((function(e){e&&r.setState({data:e.data})})).catch((function(e){console.log(e)}))},r.createtagpost=function(){r.props.form.validateFieldsAndScroll((function(e,t){if(!e){var n=r.props.match.params,o=n.projectsId,a="/projects/"+n.owner+"/"+o+"/labels.json";m.default.post(a,f({},t,{project_id:o,color:r.state.textcolor})).then((function(e){e&&(r.props.form.setFieldsValue({name:"",description:""}),r.setState({color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",display:"none"}),r.getList())})).catch((function(e){console.log(e)}))}}))},r.ChangePage=function(e){r.setState({page:e}),r.getList(e)},r.arrayList=function(e){r.setState({order_name:e.key,order_type:e.item.props.value}),r.getList(1,e.key,e.item.props.value)},r.handleClick=function(){r.setState({displayColorPicker:!r.state.displayColorPicker})},r.handleClose=function(){r.setState({displayColorPicker:!1})},r.handleChange=function(e){r.setState({color:e.rgb,textcolor:e.hex,newcolor:e.hex})},r.newshow=function(){r.setState({display:"block"})},r.newclose=function(){r.setState({display:"none"})},r.handleok=function(){r.updatetag()},r.updatetag=function(){var e=r.props.match.params,t=e.projectsId,n=e.owner,o=r.state.id,a="/projects/"+n+"/"+t+"/labels/"+o+".json",i=r.state.name,l=r.state.description,u=r.state.newcolor;m.default.put(a,{project_id:t,id:o,name:i,description:l,color:u}).then((function(e){e&&(r.setState({isShow:!1}),r.getList())})).catch((function(e){console.log(e)}))},r.deletetag=function(e){var t=r.props.match.params,n=t.projectsId,o="/projects/"+t.owner+"/"+n+"/labels/"+e+".json";m.default.delete(o,{data:{project_id:n,id:e}}).then((function(e){e&&r.getList()})).catch((function(e){console.log(e)}))},r.handleCancel=function(){r.setState({isShow:!1})},r.changmodelname=function(e){r.setState({name:e.target.value})},r.changdescription=function(e){r.setState({description:e.target.value})},r.editshow=function(e){r.setState({isShow:!0,newcolor:e.color,name:e.name,description:e.description,id:e.id})},r.menu=function(){return h.default.createElement(c.default,{onClick:r.arrayList},h.default.createElement(c.default.Item,{key:"created_at",value:"desc"},"按创建时间降序排序"),h.default.createElement(c.default.Item,{key:"created_at",value:"asc"},"按创建时间升序排序"),h.default.createElement(c.default.Item,{key:"issues_count",value:"desc"},"按issue个数降序排序"),h.default.createElement(c.default.Item,{key:"issues_count",value:"asc"},"按issue个数升序排序"))},r.state={data:void 0,limit:15,page:1,order_name:void 0,order_type:void 0,display:"none",displayColorPicker:!1,color:{r:"241",g:"112",b:"19",a:"1"},textcolor:"#F17013",isShow:!1,newcolor:"",name:"",description:"",id:"",modelname:""},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)}(t,e),d(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.data,c=t.limit,d=t.page,p=this.props.form.getFieldDecorator;return h.default.createElement("div",{className:"main"},h.default.createElement("div",null,h.default.createElement("div",{className:"topWrapper"},h.default.createElement(b.default,f({},this.props,this.state)),r&&r.user_admin_or_member?h.default.createElement("a",{onClick:this.newshow,className:"topWrapper_btn"},"创建标签"):""),h.default.createElement("div",{style:{display:this.state.display}},h.default.createElement(u.default,null,h.default.createElement("div",{className:"tagdiv"},h.default.createElement(u.default.Item,{className:"inptwidth"},p("name",{rules:[{required:!0,message:"请填写标签名字"}]})(h.default.createElement(s.default,{placeholder:"标签名字",maxLength:"10"}))),h.default.createElement(u.default.Item,{className:"inputcount"},p("description",{rules:[{required:!0,message:"描述不能为空"}]})(h.default.createElement(s.default,{placeholder:"描述, 30字以内",maxLength:"30"}))),h.default.createElement("div",null,h.default.createElement("div",{style:w.swatch,onClick:this.handleClick},h.default.createElement("div",{style:w.color},h.default.createElement("p",{style:{paddingLeft:25}},this.state.textcolor))),this.state.displayColorPicker?h.default.createElement("div",{style:w.popover},h.default.createElement("div",{style:w.cover,onClick:this.handleClose}),h.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null),h.default.createElement("div",{className:"fr",style:{marginTop:5}},h.default.createElement("a",{onClick:this.createtagpost,className:"topWrapper_btn fr"},"创建标签"),h.default.createElement("a",{onClick:this.newclose,className:"a_btn cancel_btn fr"},"取消"))))),r&&r.issue_tags&&r.issue_tags.length>0?h.default.createElement("div",null,h.default.createElement("div",{className:"topWrapper"},h.default.createElement("span",null,"共",r&&r.issue_tags_count,"个标签"),h.default.createElement("ul",{className:"topWrapper_select"},h.default.createElement("li",null,h.default.createElement(i.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,"标签",h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),h.default.createElement("div",{className:"tagList"},r.issue_tags.map((function(t,n){return h.default.createElement("div",{key:n},h.default.createElement("span",{className:"width20 mr10"},h.default.createElement("span",{style:{backgroundColor:""+t.color},className:"tagColor"}),t.name),h.default.createElement("span",{className:"hide-1 width50 mr10"},t.description),h.default.createElement("span",{className:"width15 mr10"},t.issues_count,"个开启的任务"),r&&r.user_admin_or_member?h.default.createElement("div",{className:"width15 text-right"},h.default.createElement("a",{onClick:function(){return e.editshow(t)},className:"topWrapper_btn fr"},"编辑"),h.default.createElement(a.default,{placement:"bottom",title:"删除标签会将其从所有引用中删除。继续?",okText:"是",cancelText:"否",onConfirm:function(){return e.deletetag(t.id)}},h.default.createElement("a",{className:"a_btn delete_btn fr"},"删除"))):"")})))):h.default.createElement(v.default,{_html:"暂时还没有相关数据!"}),r&&r.issue_tags_count>c?h.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},h.default.createElement(o.default,{simple:!0,defaultCurrent:d,total:r&&r.issue_tags_count,pageSize:c,onChange:this.ChangePage})):""),h.default.createElement(n.default,{title:"编辑标签",onCancel:this.handleCancel,visible:this.state.isShow,onOk:this.handleok,mask:!0,width:"60%"},h.default.createElement("div",{className:"dialogdiv"},h.default.createElement(s.default,{placeholder:"标签名字",maxLength:"10",className:"inptwidth",value:this.state.name,onChange:this.changmodelname}),h.default.createElement(s.default,{placeholder:"描述, 30字以内",maxLength:"30",className:"inputcount",value:this.state.description,onChange:this.changdescription}),h.default.createElement("div",null,h.default.createElement("div",{style:w.swatch,onClick:this.handleClick},h.default.createElement("div",{style:w.modalcolor},h.default.createElement("p",{style:{paddingLeft:25,width:100}},this.state.newcolor))),this.state.displayColorPicker?h.default.createElement("div",{style:w.popover},h.default.createElement("div",{style:w.cover,onClick:this.handleClose}),h.default.createElement(y.SketchPicker,{color:this.state.color,onChange:this.handleChange})):null))))}}]),t}(p.Component),E=u.default.create({name:"tageFrom"})(O);t.default=E},"Dt+G":function(e,t,r){},"Dw+G":function(e,t,r){var n=r("juv8"),o=r("mTTR");e.exports=function(e,t){return e&&n(t,o(t),e)}},DzJC:function(e,t,r){var n=r("sEfC"),o=r("GoyQ");e.exports=function(e,t,r){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(a="leading"in r?!!r.leading:a,i="trailing"in r?!!r.trailing:i),n(e,t,{leading:a,maxWait:t,trailing:i})}},EA7m:function(e,t,r){var n=r("zZ0H"),o=r("Ioao"),a=r("wclG");e.exports=function(e,t){return a(o(e,t,n),e+"")}},EEGq:function(e,t,r){var n=r("juv8"),o=r("oCl/");e.exports=function(e,t){return n(e,o(e),t)}},Efrf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("3WF5")),i=l(r("BmQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SwatchesGroup=function(e){var t=e.onClick,r=e.onSwatchHover,l=e.group,u=e.active,s=(0,o.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n.default.createElement("div",{style:s.group},(0,a.default)(l,(function(e,o){return n.default.createElement(i.default,{key:e,color:e,active:e.toLowerCase()===u,first:0===o,last:o===l.length-1,onClick:t,onSwatchHover:r})})))};t.default=u},Ejpc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},EtQh:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("+kn0"),a=r("Gv54"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e,t,r,n,a){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return r();i.default.required(e,t,n,l,a),void 0!==t&&i.default.type(e,t,n,l,a)}r(l)}},EwQA:function(e,t,r){var n=r("zZ0H");e.exports=function(e){return"function"==typeof e?e:n}},FZoo:function(e,t,r){var n=r("MrPd"),o=r("4uTw"),a=r("wJg7"),i=r("GoyQ"),l=r("9Nap");e.exports=function(e,t,r,u){if(!i(e))return e;for(var s=-1,c=(t=o(t,e)).length,f=c-1,d=e;null!=d&&++s<c;){var p=l(t[s]),h=r;if(s!=f){var b=d[p];void 0===(h=u?u(b,p,d):void 0)&&(h=i(b)?b:a(t[s+1])?[]:{})}n(d,p,h),d=d[p]}return e}},"FbP/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=h(r("q1tI")),a=h(r("17x9")),i=h(r("/FUP")),l=h(r("QkVN")),u=r("TM95"),s=h(r("81by")),c=h(r("BKMn")),f=h(r("sVjb")),d=h(r("DRdP")),p=h(r("2zpl"));function h(e){return e&&e.__esModule?e:{default:e}}var b=t.Photoshop=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.state={currentColor:e.hex},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)}(t,e),n(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=void 0===t?{}:t,n=e.className,a=void 0===n?"":n,h=(0,i.default)((0,l.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return o.default.createElement("div",{style:h.picker,className:"photoshop-picker "+a},o.default.createElement("div",{style:h.head},this.props.header),o.default.createElement("div",{style:h.body,className:"flexbox-fix"},o.default.createElement("div",{style:h.saturation},o.default.createElement(u.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:c.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.hue},o.default.createElement(u.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),o.default.createElement("div",{style:h.controls},o.default.createElement("div",{style:h.top,className:"flexbox-fix"},o.default.createElement("div",{style:h.previews},o.default.createElement(p.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),o.default.createElement("div",{style:h.actions},o.default.createElement(d.default,{label:"OK",onClick:this.props.onAccept,active:!0}),o.default.createElement(d.default,{label:"Cancel",onClick:this.props.onCancel}),o.default.createElement(s.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(o.default.Component);b.propTypes={header:a.default.string,styles:a.default.object},b.defaultProps={header:"Color Picker",styles:{}},t.default=(0,u.ColorWrap)(b)},G6z8:function(e,t,r){var n=r("fR/l"),o=r("oCl/"),a=r("mTTR");e.exports=function(e){return n(e,a,o)}},GDhZ:function(e,t,r){var n=r("wF/u"),o=r("mwIZ"),a=r("hgQt"),i=r("9ggG"),l=r("CMye"),u=r("IOzZ"),s=r("9Nap");e.exports=function(e,t){return i(e)&&l(t)?u(s(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?a(r,e):n(t,i,3)}}},GZbg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(n.format(a.messages.enum,e.fullField,e.enum.join(", ")))}},Gi0A:function(e,t,r){var n=r("QqLw"),o=r("ExA7");e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},GiOz:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.SketchFields=function(e){var t=e.onChange,r=e.rgb,l=e.hsl,u=e.hex,s=e.disableAlpha,c=(0,o.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:s}),f=function(e,n){e.hex?a.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:l.h,s:l.s,l:l.l,a:e.a,source:"rgb"},n))};return n.default.createElement("div",{style:c.fields,className:"flexbox-fix"},n.default.createElement("div",{style:c.double},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"hex",value:u.replace("#",""),onChange:f})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"r",value:r.r,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"g",value:r.g,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.single},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"b",value:r.b,onChange:f,dragLabel:"true",dragMax:"255"})),n.default.createElement("div",{style:c.alpha},n.default.createElement(i.EditableInput,{style:{input:c.input,label:c.label},label:"a",value:Math.round(100*r.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=u},Gv54:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(r("l1rO")),o=s(r("AU0A")),a=s(r("oEMi")),i=s(r("l8PK")),l=s(r("GZbg")),u=s(r("moXY"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={required:n.default,whitespace:o.default,type:a.default,range:i.default,enum:l.default,pattern:u.default}},HDyB:function(e,t,r){var n=r("nmnc"),o=r("JHRd"),a=r("ljhN"),i=r("or5M"),l=r("7fqy"),u=r("rEGp"),s=n?n.prototype:void 0,c=s?s.valueOf:void 0;e.exports=function(e,t,r,n,s,f,d){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=l;case"[object Set]":var h=1&n;if(p||(p=u),e.size!=t.size&&!h)return!1;var b=d.get(e);if(b)return b==t;n|=2,d.set(e,t);var v=i(p(e),p(t),n,s,f,d);return d.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},HOVM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,n,l,o)}r(l)}},HOxn:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"Promise");e.exports=n},HTXX:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=f(r("q1tI")),a=f(r("17x9")),i=f(r("/FUP")),l=f(r("QkVN")),u=r("TM95"),s=f(r("GiOz")),c=f(r("eHBW"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Sketch=function(e){var t=e.width,r=e.rgb,a=e.hex,f=e.hsv,d=e.hsl,p=e.onChange,h=e.onSwatchHover,b=e.disableAlpha,v=e.presetColors,y=e.renderers,g=e.styles,m=void 0===g?{}:g,x=e.className,w=void 0===x?"":x,O=(0,i.default)((0,l.default)({default:n({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},m),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},m),{disableAlpha:b});return o.default.createElement("div",{style:O.picker,className:"sketch-picker "+w},o.default.createElement("div",{style:O.saturation},o.default.createElement(u.Saturation,{style:O.Saturation,hsl:d,hsv:f,onChange:p})),o.default.createElement("div",{style:O.controls,className:"flexbox-fix"},o.default.createElement("div",{style:O.sliders},o.default.createElement("div",{style:O.hue},o.default.createElement(u.Hue,{style:O.Hue,hsl:d,onChange:p})),o.default.createElement("div",{style:O.alpha},o.default.createElement(u.Alpha,{style:O.Alpha,rgb:r,hsl:d,renderers:y,onChange:p}))),o.default.createElement("div",{style:O.color},o.default.createElement(u.Checkboard,null),o.default.createElement("div",{style:O.activeColor}))),o.default.createElement(s.default,{rgb:r,hsl:d,hex:a,onChange:p,disableAlpha:b}),o.default.createElement(c.default,{colors:v,onClick:p,onSwatchHover:h}))};d.propTypes={disableAlpha:a.default.bool,width:a.default.oneOfType([a.default.string,a.default.number]),styles:a.default.object},d.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,u.ColorWrap)(d)},HlQe:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=u(o),i=u(r("/FUP")),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("srvI"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f=t.Hue=function(e){function t(){var e,r,n;s(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.handleChange=function(e){var t=l.calculateChange(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},c(n,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)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,n=(0,i.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return a.default.createElement("div",{style:n.hue},a.default.createElement("div",{className:"hue-"+r,style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),t}(o.PureComponent||o.Component);t.default=f},IOzZ:function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},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 r=0,n=e.length;r<n&&!1!==t(e[r],r);r++);}}},Ioao:function(e,t,r){var n=r("heNW"),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,l=o(a.length-t,0),u=Array(l);++i<l;)u[i]=a[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=a[i];return s[t]=r(u),n(e,this,s)}}},JC6p:function(e,t,r){var n=r("cq/+"),o=r("7GkX");e.exports=function(e,t){return e&&n(e,t,o)}},JHRd:function(e,t,r){var n=r("Kz5y").Uint8Array;e.exports=n},JI00:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var n=f(r("q1tI")),o=f(r("17x9")),a=f(r("/FUP")),i=f(r("QkVN")),l=r("TM95"),u=f(r("Rkpk")),s=f(r("NSvM")),c=f(r("tu5P"));function f(e){return e&&e.__esModule?e:{default:e}}var d=t.Chrome=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,f=e.rgb,d=e.hsl,p=e.hsv,h=e.hex,b=e.renderers,v=e.styles,y=void 0===v?{}:v,g=e.className,m=void 0===g?"":g,x=e.defaultView,w=(0,a.default)((0,i.default)({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+f.r+", "+f.g+", "+f.b+", "+f.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},y),{disableAlpha:o});return n.default.createElement("div",{style:w.picker,className:"chrome-picker "+m},n.default.createElement("div",{style:w.saturation},n.default.createElement(l.Saturation,{style:w.Saturation,hsl:d,hsv:p,pointer:c.default,onChange:r})),n.default.createElement("div",{style:w.body},n.default.createElement("div",{style:w.controls,className:"flexbox-fix"},n.default.createElement("div",{style:w.color},n.default.createElement("div",{style:w.swatch},n.default.createElement("div",{style:w.active}),n.default.createElement(l.Checkboard,{renderers:b}))),n.default.createElement("div",{style:w.toggles},n.default.createElement("div",{style:w.hue},n.default.createElement(l.Hue,{style:w.Hue,hsl:d,pointer:s.default,onChange:r})),n.default.createElement("div",{style:w.alpha},n.default.createElement(l.Alpha,{style:w.Alpha,rgb:f,hsl:d,pointer:s.default,renderers:b,onChange:r})))),n.default.createElement(u.default,{rgb:f,hsl:d,hex:h,view:x,onChange:r,disableAlpha:o})))};d.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),disableAlpha:o.default.bool,styles:o.default.object,defaultView:o.default.oneOf(["hex","rgb","hsl"])},d.defaultProps={width:225,disableAlpha:!1,styles:{}},t.default=(0,l.ColorWrap)(d)},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},Jxpl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var n=u(r("q1tI")),o=u(r("/FUP")),a=u(r("QkVN")),i=u(r("p8yl")),l=r("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var s=t.Material=function(e){var t=e.onChange,r=e.hex,u=e.rgb,s=e.styles,c=void 0===s?{}:s,f=e.className,d=void 0===f?"":f,p=(0,o.default)((0,a.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},c)),h=function(e,r){e.hex?i.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||u.r,g:e.g||u.g,b:e.b||u.b,source:"rgb"},r)};return n.default.createElement(l.Raised,{styles:c},n.default.createElement("div",{style:p.material,className:"material-picker "+d},n.default.createElement(l.EditableInput,{style:{wrap:p.HEXwrap,input:p.HEXinput,label:p.HEXlabel},label:"hex",value:r,onChange:h}),n.default.createElement("div",{style:p.split,className:"flexbox-fix"},n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"r",value:u.r,onChange:h})),n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"g",value:u.g,onChange:h})),n.default.createElement("div",{style:p.third},n.default.createElement(l.EditableInput,{style:{wrap:p.RGBwrap,input:p.RGBinput,label:p.RGBlabel},label:"b",value:u.b,onChange:h})))))};t.default=(0,l.ColorWrap)(s)},"KM+8":function(e,t,r){},KfSR:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,o=r("Ag8Z"),a=(n=o)&&n.__esModule?n:{default:n},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var r=t[e];return r||{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,a.default)(e,(function(e,r){var n={};(0,a.default)(e,(function(e,t){var r=l[t];r?n=i({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=u},L2wI:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return r();a.default.required(e,t,n,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,n,l,o)}r(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},LXxW:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}},LcsW:function(e,t,r){var n=r("kekF")(Object.getPrototypeOf,Object);e.exports=n},LsHQ:function(e,t,r){var n=r("EA7m"),o=r("mv/X");e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,l&&o(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++n<a;){var u=r[n];u&&e(t,u,n,i)}return t}))}},Lwbf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={},o=t.render=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null};t.get=function(e,t,r,a){var i=e+"-"+t+"-"+r+(a?"-server":"");if(n[i])return n[i];var l=o(e,t,r,a);return n[i]=l,l}},"Lx/H":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("3WF5")),l=c(r("QkVN")),u=r("TM95"),s=c(r("iGDq"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Github=function(e){var t=e.width,r=e.colors,o=e.onChange,u=e.onSwatchHover,c=e.triangle,f=e.styles,d=void 0===f?{}:f,p=e.className,h=void 0===p?"":p,b=(0,a.default)((0,l.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},d),{"hide-triangle":"hide"===c,"top-left-triangle":"top-left"===c,"top-right-triangle":"top-right"===c,"bottom-left-triangle":"bottom-left"===c,"bottom-right-triangle":"bottom-right"===c}),v=function(e,t){return o({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:b.card,className:"github-picker "+h},n.default.createElement("div",{style:b.triangleShadow}),n.default.createElement("div",{style:b.triangle}),(0,i.default)(r,(function(e){return n.default.createElement(s.default,{color:e,key:e,onClick:v,onSwatchHover:u})})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:o.default.object},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},t.default=(0,u.ColorWrap)(f)},MMmD:function(e,t,r){var n=r("lSCD"),o=r("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},MvSz:function(e,t,r){var n=r("LXxW"),o=r("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r("VCL8"),a=r("3S7+"),i=r("CtXQ"),l=r("2/Rp"),u=r("YMnH"),s=r("ZvpZ"),c=r("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 d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 y(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},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&&h(e,t)}(x,e);var t,r,o,i,f=(t=x,function(){var e,r=g(t);if(y()){var n=g(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return b(this,e)});function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var r=t.props.onConfirm;r&&r.call(v(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var r=t.props.onCancel;r&&r.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,r){var o=t.props,a=o.okButtonProps,i=o.cancelButtonProps,u=o.title,s=o.cancelText,c=o.okText,f=o.okType,p=o.icon;return n.createElement("div",null,n.createElement("div",{className:"".concat(e,"-inner-content")},n.createElement("div",{className:"".concat(e,"-message")},p,n.createElement("div",{className:"".concat(e,"-message-title")},u)),n.createElement("div",{className:"".concat(e,"-buttons")},n.createElement(l.default,d({onClick:t.onCancel,size:"small"},i),s||r.cancelText),n.createElement(l.default,d({onClick:t.onConfirm,type:f,size:"small"},a),c||r.okText))))},t.renderConfirm=function(e){var r=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,c=m(o,["prefixCls","placement"]),f=r("popover",i),p=n.createElement(u.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return n.createElement(a.default,d({},c,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:p,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return r=x,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(e,t){var r=this.props;"visible"in r||this.setState({visible:e});var n=r.onVisibleChange;n&&n(e,t)}},{key:"render",value:function(){return n.createElement(c.a,null,this.renderConfirm)}}])&&p(r.prototype,o),i&&p(r,i),x}(n.Component);x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:n.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(x),t.default=x},NSvM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointer=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},Nq3d:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("Lwbf"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.Checkboard=function(e){var t=e.white,r=e.grey,i=e.size,l=e.renderers,u=e.borderRadius,s=e.boxShadow,c=(0,o.default)({default:{grid:{borderRadius:u,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+a.get(t,r,i,l.canvas)+") center left"}}});return n.default.createElement("div",{style:c.grid})};l.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=l},O7RO:function(e,t,r){var n=r("CMye"),o=r("7GkX");e.exports=function(e){for(var t=o(e),r=t.length;r--;){var a=t[r],i=e[a];t[r]=[a,i,n(i)]}return t}},OBhP:function(e,t,r){var n=r("fmRc"),o=r("gFfm"),a=r("MrPd"),i=r("WwFo"),l=r("Dw+G"),u=r("5Tg0"),s=r("Q1l4"),c=r("VOtZ"),f=r("EEGq"),d=r("qZTm"),p=r("G6z8"),h=r("QqLw"),b=r("yHx3"),v=r("wrZu"),y=r("+iFO"),g=r("Z0cm"),m=r("DSRE"),x=r("zEVN"),w=r("GoyQ"),O=r("1+5i"),E=r("7GkX"),C={};C["[object Arguments]"]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C["[object Object]"]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C["[object Function]"]=C["[object WeakMap]"]=!1,e.exports=function e(t,r,j,P,S,_){var k,F=1&r,M=2&r,A=4&r;if(j&&(k=S?j(t,P,S,_):j(t)),void 0!==k)return k;if(!w(t))return t;var N=g(t);if(N){if(k=b(t),!F)return s(t,k)}else{var R=h(t),T="[object Function]"==R||"[object GeneratorFunction]"==R;if(m(t))return u(t,F);if("[object Object]"==R||"[object Arguments]"==R||T&&!S){if(k=M||T?{}:y(t),!F)return M?f(t,l(k,t)):c(t,i(k,t))}else{if(!C[R])return S?t:{};k=v(t,R,F)}}_||(_=new n);var D=_.get(t);if(D)return D;_.set(t,k),O(t)?t.forEach((function(n){k.add(e(n,r,j,n,t,_))})):x(t)&&t.forEach((function(n,o){k.set(o,e(n,r,j,o,t,_))}));var I=A?M?p:d:M?keysIn:E,V=N?void 0:I(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),a(k,o,e(n,r,j,o,t,_))})),k}},OFL0:function(e,t,r){var n=r("lvO4"),o=r("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,n)}},OYk8:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var n=i(r("q1tI")),o=i(r("/FUP")),a=i(r("PGcv"));function i(e){return e&&e.__esModule?e:{default:e}}var l=t.SliderSwatches=function(e){var t=e.onClick,r=e.hsl,i=(0,o.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return n.default.createElement("div",{style:i.swatches},n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<.1&&Math.abs(r.s-.5)<.1,onClick:t,first:!0})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<.1&&Math.abs(r.s-.5)<.1,onClick:t})),n.default.createElement("div",{style:i.swatch},n.default.createElement(a.default,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<.1&&Math.abs(r.s-.5)<.1,onClick:t,last:!0})),n.default.createElement("div",{style:i.clear}))};t.default=l},"Of+w":function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"WeakMap");e.exports=n},Ojt5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var n=l(r("q1tI")),o=l(r("17x9")),a=l(r("/FUP")),i=l(r("QkVN"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.Raised=function(e){var t=e.zDepth,r=e.radius,o=e.background,l=e.children,u=e.styles,s=void 0===u?{}:u,c=(0,a.default)((0,i.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return n.default.createElement("div",{style:c.wrap},n.default.createElement("div",{style:c.bg}),n.default.createElement("div",{style:c.content},l))};u.propTypes={background:o.default.string,zDepth:o.default.oneOf([0,1,2,3,4,5]),radius:o.default.number,styles:o.default.object},u.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},t.default=u},PGcv:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderSwatch=function(e){var t=e.hsl,r=e.offset,a=e.onClick,i=void 0===a?function(){}:a,l=e.active,u=e.first,s=e.last,c=(0,o.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:l,first:u,last:s});return n.default.createElement("div",{style:c.swatch,onClick:function(e){return i({h:t.h,s:.5,l:r,source:"hsl"},e)}})};t.default=i},Pzom:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("QkVN")),l=r("TM95"),u=c(r("OYk8")),s=c(r("dATH"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Slider=function(e){var t=e.hsl,r=e.onChange,o=e.pointer,s=e.styles,c=void 0===s?{}:s,f=e.className,d=void 0===f?"":f,p=(0,a.default)((0,i.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},c));return n.default.createElement("div",{style:p.wrap||{},className:"slider-picker "+d},n.default.createElement("div",{style:p.hue},n.default.createElement(l.Hue,{style:p.Hue,hsl:t,pointer:o,onChange:r})),n.default.createElement("div",{style:p.swatches},n.default.createElement(u.default,{hsl:t,onClick:r})))};f.propTypes={styles:o.default.object},f.defaultProps={pointer:s.default,styles:{}},t.default=(0,l.ColorWrap)(f)},Q1l4:function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},QcOe:function(e,t,r){var n=r("GoyQ"),o=r("6sVZ"),a=r("7Ix3"),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var l in e)("constructor"!=l||!t&&i.call(e,l))&&r.push(l);return r}},QkVN:function(e,t,r){var n=r("+Qka"),o=r("LsHQ")((function(e,t,r){n(e,t,r)}));e.exports=o},QoRX:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},QqLw:function(e,t,r){var n=r("tadb"),o=r("ebwN"),a=r("HOxn"),i=r("yGk4"),l=r("Of+w"),u=r("NykK"),s=r("3Fdi"),c=s(n),f=s(o),d=s(a),p=s(i),h=s(l),b=u;(n&&"[object DataView]"!=b(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=b(new o)||a&&"[object Promise]"!=b(a.resolve())||i&&"[object Set]"!=b(new i)||l&&"[object WeakMap]"!=b(new l))&&(b=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?s(r):"";if(n)switch(n){case c:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=b},Rkpk:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=s(r("q1tI")),a=s(r("/FUP")),i=s(r("p8yl")),l=r("TM95"),u=s(r("9F0J"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.ChromeFields=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?i.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},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)}(t,e),n(t,[{key:"render",value:function(){var e=this,t=(0,a.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=o.default.createElement("div",{style:t.fields,className:"flexbox-fix"},o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.field},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),o.default.createElement("div",{style:t.alpha},o.default.createElement(l.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),o.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},r,o.default.createElement("div",{style:t.toggle},o.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},o.default.createElement(u.default,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(o.default.Component);c.defaultProps={view:"hex"},t.default=c},SKAX:function(e,t,r){var n=r("JC6p"),o=r("lQqw")(n);e.exports=o},Syy6:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.AlphaPointer=function(e){var t=e.direction,r=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},T1AV:function(e,t,r){var n=r("t2Dn"),o=r("5Tg0"),a=r("yP5f"),i=r("Q1l4"),l=r("+iFO"),u=r("03A+"),s=r("Z0cm"),c=r("3L66"),f=r("DSRE"),d=r("lSCD"),p=r("GoyQ"),h=r("YO3V"),b=r("c6wG"),v=r("itsj"),y=r("jeLo");e.exports=function(e,t,r,g,m,x,w){var O=v(e,r),E=v(t,r),C=w.get(E);if(C)n(e,r,C);else{var j=x?x(O,E,r+"",e,t,w):void 0,P=void 0===j;if(P){var S=s(E),_=!S&&f(E),k=!S&&!_&&b(E);j=E,S||_||k?s(O)?j=O:c(O)?j=i(O):_?(P=!1,j=o(E,!0)):k?(P=!1,j=a(E,!0)):j=[]:h(E)||u(E)?(j=O,u(O)?j=y(O):p(O)&&!d(O)||(j=l(E))):P=!1}P&&(w.set(E,j),m(j,E,g,x,w),w.delete(E)),n(e,r,j)}}},THLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n,o){var a=o.clientWidth,i=o.clientHeight,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,u="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=l-(o.getBoundingClientRect().left+window.pageXOffset),c=u-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var f=void 0;if(f=c<0?0:c>i?1:Math.round(100*c/i)/100,t.a!==f)return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}else{var d=void 0;if(n!==(d=s<0?0:s>a?1:Math.round(100*s/a)/100))return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}return null}},TM95:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("yOY4");Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return f(n).default}});var o=r("Nq3d");Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return f(o).default}});var a=r("AnK5");Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return f(a).default}});var i=r("HlQe");Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return f(i).default}});var l=r("Ojt5");Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return f(l).default}});var u=r("ccyi");Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return f(u).default}});var s=r("UGzO");Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return f(s).default}});var c=r("Ba7A");function f(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return f(c).default}})},TZyB:function(e,t,r){},UGzO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=s(a),l=s(r("sEfC")),u=s(r("p8yl"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.ColorWrap=function(e){var t=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=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,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(u.default.simpleCheckForValidColor(e)){var n=u.default.toState(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=n({},u.default.toState(e.color,0)),t.debounce=(0,l.default)((function(e,t,r){e(t,r)}),100),t}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)}(r,t),o(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),i.default.createElement(e,n({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return n({},u.default.toState(e.color,t.oldHue))}}]),r}(a.PureComponent||a.Component);return t.propTypes=n({},e.propTypes),t.defaultProps=n({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=c},"UNi/":function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},UeuU:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,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},a=r("Gv54"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e,t,r,n,a){var l=[],u=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,n,l,a,u),r(l)}},V6Ve:function(e,t,r){var n=r("kekF")(Object.keys,Object);e.exports=n},VOtZ:function(e,t,r){var n=r("juv8"),o=r("MvSz");e.exports=function(e,t){return n(e,o(e),t)}},VVms:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r){var n=r.getBoundingClientRect(),o=n.width,a=n.height,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(r.getBoundingClientRect().left+window.pageXOffset),s=l-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o&&(u=o),s<0?s=0:s>a&&(s=a);var c=u/o,f=1-s/a;return{h:t.h,s:c,v:f,a:t.a,source:"rgb"}}},VYtm:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(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 c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,a,s;l(this,n);for(var c=arguments.length,f=Array(c),d=0;d<c;d++)f[d]=arguments[d];return a=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return i.default.createElement(t,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},i.default.createElement(e,o({},s.props,s.state)))},u(s,a)}return s(n,r),n}(i.default.Component)};t.default=c},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r.n(n),a=r("17x9"),i=r("TSYQ"),l=r.n(i),u=r("QbLZ"),s=r.n(u),c=r("i8i4"),f=r.n(c),d=r("9Do8"),p=r.n(d),h=r("OFL0"),b=r.n(h),v=r("jo6Y"),y=r.n(v),g=r("YEIV"),m=r.n(g),x=r("m1cH"),w=r.n(x),O=r("fhzG"),E=r.n(O),C=r("aGtg"),j=r("oV5b"),P=r.n(j),S=r("2W6z"),_=r.n(S),k=r("mwIZ"),F=r.n(k),M=r("D1y2"),A=r.n(M),N=r("ljhN"),R=r.n(N),T=r("iCc5"),D=r.n(T),I=r("V7oC"),V=r.n(I),B=function e(t){D()(this,e),s()(this,t)};function q(e){return e instanceof B}function H(e){return q(e)?e:new B(e)}var L=r("2mql"),z=r.n(L);function G(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function W(e){return e}function U(e){return Array.prototype.concat.apply([],e)}function X(e,t,r){var n={};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments[1],n=arguments[2],o=arguments[3],a=arguments[4];if(n(t,r))a(t,r);else if(null==r);else if(Array.isArray(r))r.forEach((function(r,i){return e(t+"["+i+"]",r,n,o,a)}));else{if("object"!=typeof r)return void _()(!1,o);Object.keys(r).forEach((function(i){var l=r[i];e(t+(t?".":"")+i,l,n,o,a)}))}}(void 0,e,t,r,(function(e,t){n[e]=t})),n}function Q(e,t,r){var n=e.map((function(e){var t=s()({},e,{trigger:e.trigger||[]});return"string"==typeof t.trigger&&(t.trigger=[t.trigger]),t}));return t&&n.push({trigger:r?[].concat(r):[],rules:t}),n}function Z(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 Y(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function K(e,t,r){var n=e,o=t,a=r;return void 0===r&&("function"==typeof n?(a=n,o={},n=void 0):Array.isArray(n)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=n||{},n=void 0)),{names:n,options:o,callback:a}}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 X(e,(function(e,t){return q(t)}),"You must wrap field data with `createFormField`.")}var re=function(){function e(t){D()(this,e),ne.call(this),this.fields=te(t),this.fieldsMeta={}}return V()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return X(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,r=this.fieldsMeta,n=s()({},this.fields,e),o={};Object.keys(r).forEach((function(e){o[e]=t.getValueFromFields(e,n)})),Object.keys(o).forEach((function(e){var r=o[e],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(r,t.getValueFromFields(e,t.fields),o);i!==r&&(n[e]=s()({},n[e],{value:i}))}})),this.fields=n}},{key:"resetFields",value:function(e){var t=this.fields;return(e?this.getValidFieldsFullName(e):this.getAllFieldsName()).reduce((function(e,r){var n=t[r];return n&&"value"in n&&(e[r]={}),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 r=e.fields[t],n=e.fieldsMeta[t];r&&n&&$(n.validate)&&(e.fields[t]=s()({},r,{dirty:!0}))}))}},{key:"getFieldMeta",value:function(e){return this.fieldsMeta[e]=this.fieldsMeta[e]||{},this.fieldsMeta[e]}},{key:"getValueFromFields",value:function(e,t){var r=t[e];if(r&&"value"in r)return r.value;var n=this.getFieldMeta(e);return n&&n.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||(r=t,0===e.lastIndexOf(r,0)&&[".","["].indexOf(e[t.length])>=0);var r}))}))}},{key:"getFieldValuePropValue",value:function(e){var t=e.name,r=e.getValueProps,n=e.valuePropName,o=this.getField(t),a="value"in o?o.value:e.initialValue;return r?r(a):m()({},n,a)}},{key:"getField",value:function(e){return s()({},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 A()(e,t.name,H(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,r){return A()(t,r,H(e.fields[r]))}),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,r){return A()(e,r,t(r))}),{})}},{key:"getNestedField",value:function(e,t){var r=this.getValidFieldsFullName(e);if(0===r.length||1===r.length&&r[0]===e)return t(e);var n="["===r[0][e.length],o=n?e.length:e.length+1;return r.reduce((function(e,r){return A()(e,r.slice(o),t(r))}),n?[]:{})}},{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}(),ne=function(){var e=this;this.setFieldsInitialValue=function(t){var r=e.flattenRegisteredFields(t),n=e.fieldsMeta;Object.keys(r).forEach((function(t){n[t]&&e.setFieldMeta(t,s()({},e.getFieldMeta(t),{initialValue:r[t]}))}))},this.getAllValues=function(){var t=e.fieldsMeta,r=e.fields;return Object.keys(t).reduce((function(t,n){return A()(t,n,e.getValueFromFields(n,r))}),{})},this.getFieldsValue=function(t){return e.getNestedFields(t,e.getFieldValue)},this.getFieldValue=function(t){var r=e.fields;return e.getNestedField(t,(function(t){return e.getValueFromFields(t,r)}))},this.getFieldsError=function(t){return e.getNestedFields(t,e.getFieldError)},this.getFieldError=function(t){return e.getNestedField(t,(function(t){return(r=e.getFieldMember(t,"errors"))?r.map((function(e){return e&&e.message?e.message:e})):r;var r}))},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 re(e)}var ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.validateMessages,n=e.onFieldsChange,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,u=e.mapPropsToFields,c=e.fieldNameProp,f=e.fieldMetaProp,d=e.fieldDataProp,p=e.formPropName,h=void 0===p?"form":p,b=e.name,v=e.withRef;return function(e){var i=E()({displayName:"Form",mixins:t,getInitialState:function(){var e=this,t=u&&u(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 r;return(r=e.fieldsStore)[t].apply(r,arguments)}})),{submitting:!1}},componentDidMount:function(){this.cleanUpUselessFields()},componentWillReceiveProps:function(e){u&&this.fieldsStore.updateFields(u(e))},componentDidUpdate:function(){this.cleanUpUselessFields()},onCollectCommon:function(e,t,r){var n=this.fieldsStore.getFieldMeta(e);if(n[t])n[t].apply(n,w()(r));else if(n.originalProps&&n.originalProps[t]){var o;(o=n.originalProps)[t].apply(o,w()(r))}var i=n.getValueFromEvent?n.getValueFromEvent.apply(n,w()(r)):Y.apply(void 0,w()(r));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),u={};l[e]=i,Object.keys(l).forEach((function(e){return A()(u,e,l[e])})),a(s()(m()({},h,this.getForm()),this.props),A()({},e,i),u)}var c=this.fieldsStore.getField(e);return{name:e,field:s()({},c,{value:i,touched:!0}),fieldMeta:n}},onCollect:function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=this.onCollectCommon(e,t,n),i=a.name,l=a.field,u=a.fieldMeta,c=u.validate;this.fieldsStore.setFieldsAsDirty();var f=s()({},l,{dirty:$(c)});this.setFields(m()({},i,f))},onCollectValidate:function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];var a=this.onCollectCommon(e,t,n),i=a.field,l=a.fieldMeta,u=s()({},i,{dirty:!0});this.fieldsStore.setFieldsAsDirty(),this.validateFieldsInternal([u],{action:t,options:{firstFields:!!l.validateFirst}})},getCacheBind:function(e,t,r){this.cachedBind[e]||(this.cachedBind[e]={});var n=this.cachedBind[e];return n[t]&&n[t].oriFn===r||(n[t]={fn:r.bind(this,e,t),oriFn:r}),n[t].fn},getFieldDecorator:function(e,t){var r=this,n=this.getFieldProps(e,t);return function(t){r.renderFields[e]=!0;var a=r.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,s()({},n,r.fieldsStore.getFieldValuePropValue(a)))}},getFieldProps:function(e){var t=this,r=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 n=s()({name:e,trigger:"onChange",valuePropName:"value",validate:[]},r),o=n.rules,a=n.trigger,i=n.validateTrigger,l=void 0===i?a:i,u=n.validate,p=this.fieldsStore.getFieldMeta(e);"initialValue"in n&&(p.initialValue=n.initialValue);var h=s()({},this.fieldsStore.getFieldValuePropValue(n),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});c&&(h[c]=b?b+"_"+e:e);var v=Q(u,o,l),y=Z(v);y.forEach((function(r){h[r]||(h[r]=t.getCacheBind(e,r,t.onCollectValidate))})),a&&-1===y.indexOf(a)&&(h[a]=this.getCacheBind(e,a,this.onCollect));var g=s()({},p,n,{validate:v});return this.fieldsStore.setFieldMeta(e,g),f&&(h[f]=g),d&&(h[d]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return U(e.validate.filter((function(e){return!t||e.trigger.indexOf(t)>=0})).map((function(e){return e.rules})))},setFields:function(e,t){var r=this,o=this.fieldsStore.flattenRegisteredFields(e);if(this.fieldsStore.setFields(o),n){var a=Object.keys(o).reduce((function(e,t){return A()(e,t,r.fieldsStore.getField(t))}),{});n(s()(m()({},h,this.getForm()),this.props),a,this.fieldsStore.getNestedAllFields())}this.forceUpdate(t)},setFieldsValue:function(e,t){var r=this.fieldsStore.fieldsMeta,n=this.fieldsStore.flattenRegisteredFields(e),o=Object.keys(n).reduce((function(e,t){if(r[t]){var o=n[t];e[t]={value:o}}return e}),{});if(this.setFields(o,t),a){var i=this.fieldsStore.getAllValues();a(s()(m()({},h,this.getForm()),this.props),e,i)}},saveRef:function(e,t,r){if(!r){var n=this.fieldsStore.getFieldMeta(e);return n.preserve||(this.clearedFieldMetaCache[e]={field:this.fieldsStore.getField(e),meta:n},this.clearField(e)),void delete this.domFields[e]}this.domFields[e]=!0,this.recoverClearedField(e);var o=this.fieldsStore.getFieldMeta(e);if(o){var a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(r):Object.prototype.hasOwnProperty.call(a,"current")&&(a.current=r)}}this.instances[e]=r},cleanUpUselessFields:function(){var e=this,t=this.fieldsStore.getAllFieldsName().filter((function(t){var r=e.fieldsStore.getFieldMeta(t);return!e.renderFields[t]&&!e.domFields[t]&&!r.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,r=this.fieldsStore.resetFields(e);(Object.keys(r).length>0&&this.setFields(r),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(m()({},e,this.clearedFieldMetaCache[e].field)),this.fieldsStore.setFieldMeta(e,this.clearedFieldMetaCache[e].meta),delete this.clearedFieldMetaCache[e])},validateFieldsInternal:function(e,t,n){var o=this,a=t.fieldNames,i=t.action,l=t.options,u=void 0===l?{}:l,c={},f={},d={},p={};if(e.forEach((function(e){var t=e.name;if(!0===u.force||!1!==e.dirty){var r=o.fieldsStore.getFieldMeta(t),n=s()({},e);n.errors=void 0,n.validating=!0,n.dirty=!0,c[t]=o.getRules(r,i),f[t]=n.value,d[t]=n}else e.errors&&A()(p,t,{errors:e.errors})})),this.setFields(d),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),n&&J(d))n(J(p)?null:p,this.fieldsStore.getFieldsValue(a));else{var h=new P.a(c);r&&h.messages(r),h.validate(f,u,(function(e){var t=s()({},p);e&&e.length&&e.forEach((function(e){var r=e.field,n=r;Object.keys(c).some((function(e){var t=c[e]||[];if(e===r)return n=e,!0;if(t.every((function(e){return"array"!==e.type}))||0!==r.indexOf(e+"."))return!1;var o=r.slice(e.length+1);return!!/^\d+$/.test(o)&&(n=e,!0)}));var o=F()(t,n);("object"!=typeof o||Array.isArray(o))&&A()(t,n,{errors:[]}),F()(t,n.concat(".errors")).push(e)}));var r=[],i={};Object.keys(c).forEach((function(e){var n=F()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=n&&n.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):r.push({name:e})})),o.setFields(i),n&&(r.length&&r.forEach((function(e){var r=e.name,n=[{message:r+" need to revalidate",field:r}];A()(t,r,{expired:!0,errors:n})})),n(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,r){var n=this,o=new Promise((function(o,a){var i=K(e,t,r),l=i.names,u=i.options,s=K(e,t,r).callback;if(!s||"function"==typeof s){var c=s;s=function(e,t){c&&c(e,t),e?a({errors:e,values:t}):o(t)}}var f=l?n.fieldsStore.getValidFieldsFullName(l):n.fieldsStore.getValidFieldsName(),d=f.filter((function(e){return $(n.fieldsStore.getFieldMeta(e).validate)})).map((function(e){var t=n.fieldsStore.getField(e);return t.value=n.fieldsStore.getFieldValue(e),t}));d.length?("firstFields"in u||(u.firstFields=f.filter((function(e){return!!n.fieldsStore.getFieldMeta(e).validateFirst}))),n.validateFieldsInternal(d,{fieldNames:f,options:u},s)):s(null,n.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,r=t.wrappedComponentRef,n=y()(t,["wrappedComponentRef"]),a=m()({},h,this.getForm());v?a.ref="wrappedComponent":r&&(a.ref=r);var i=l.call(this,s()({},a,n));return o.a.createElement(e,i)}});return G(Object(C.a)(i),e)}},ie={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 r=window.getComputedStyle,n=r?r(e):e.currentStyle;if(n)return n[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}var ue={getForm:function(){return s()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,r){var n=this,o=K(e,t,r),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var r=n.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(r.forEach((function(t){if(b()(e,t)){var r=n.getFieldInstance(t);if(r){var i=f.a.findDOMNode(r),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),o){var u=l.container||function(e){for(var t=e,r=void 0;"body"!==(r=t.nodeName.toLowerCase());){var n=le(t,"overflowY");if(t!==e&&("auto"===n||"scroll"===n)&&t.scrollHeight>t.clientHeight)return t;t=t.parentNode}return"body"===r?t.ownerDocument:t}(o);p()(o,u,s()({onlyScrollIfNeeded:!0},l.scroll))}}"function"==typeof i&&i(e,t)}))}};var se=function(e){return ae(s()({},e),[ue])},ce=r("BGR+"),fe=r("H84U"),de=r("CWQg"),pe=r("6CfX"),he=r("MFj2"),be=r("qrJ5"),ve=r("/kpp"),ye=r("CtXQ"),ge=r("foW8"),me=r.n(ge)()({labelAlign:"right",vertical:!1});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 we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==xe(t)&&"function"!=typeof t?Se(e):t}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _e(){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 ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fe(e){return function(e){if(Array.isArray(e))return Me(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 Me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Me(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 Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ae=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},Ne=Object(de.a)("success","warning","error","validating","");Object(de.a)("left","right");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&&je(e,t)}(u,e);var t,r,o,a,i=(t=u,function(){var e,r=ke(t);if(_e()){var n=ke(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return Pe(this,e)});function u(){var e;return Ee(this,u),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var r=c.findDOMNode(Se(e)).querySelector('[id="'.concat(t,'"]'));r&&r.focus&&r.focus()}},e.onHelpAnimEnd=function(t,r){e.helpShow=r,r||e.setState({})},e.renderFormItem=function(t){var r,o=t.getPrefixCls,a=e.props,i=a.prefixCls,u=a.style,s=a.className,c=Ae(a,["prefixCls","style","className"]),f=o("form",i),d=e.renderChildren(f),p=(Oe(r={},"".concat(f,"-item"),!0),Oe(r,"".concat(f,"-item-with-help"),e.helpShow),Oe(r,"".concat(s),!!s),r);return n.createElement(be.a,we({className:l()(p),style:u},Object(ce.a)(c,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),d)},e}return r=u,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,r=e.help,n=e.validateStatus,o=e.id;Object(pe.a)(this.getControls(t,!0).length<=1||void 0!==r||void 0!==n,"Form.Item","Cannot generate `validateStatus` and `help` automatically, while there are more than one `getFieldDecorator` in it."),Object(pe.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 r=null;return n.isValidElement(e)?r=e:n.isValidElement(e.message)&&(r=e.message),r?n.cloneElement(r,{key:t}):e.message})).reduce((function(e,t){return[].concat(Fe(e),[" ",t])}),[]).slice(1):""}return e}},{key:"getControls",value:function(e,t){for(var r=[],o=n.Children.toArray(e),a=0;a<o.length&&(t||!(r.length>0));a++){var i=o[a];(!i.type||i.type!==u&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?r.push(i):i.props.children&&(r=r.concat(this.getControls(i.props.children,t))))}return r}},{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(),r=t?n.createElement("div",{className:"".concat(e,"-explain"),key:"help"},t):null;return r&&(this.helpShow=!!r),n.createElement(he.a,{transitionName:"show-help",component:"",transitionAppear:!0,key:"help",onEnd:this.onHelpAnimEnd},r)}},{key:"renderExtra",value:function(e){var t=this.props.extra;return t?n.createElement("div",{className:"".concat(e,"-extra")},t):null}},{key:"renderValidateWrapper",value:function(e,t,r,o){var a=this.props,i=this.getOnlyControl,u=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,s="".concat(e,"-item-control");u&&(s=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===u,"has-success":"success"===u,"has-warning":"warning"===u,"has-error":"error"===u,"is-validating":"validating"===u}));var c="";switch(u){case"success":c="check-circle";break;case"warning":c="exclamation-circle";break;case"error":c="close-circle";break;case"validating":c="loading";break;default:c=""}var f=a.hasFeedback&&c?n.createElement("span",{className:"".concat(e,"-item-children-icon")},n.createElement(ye.default,{type:c,theme:"loading"===c?"outlined":"filled"})):null;return n.createElement("div",{className:s},n.createElement("span",{className:"".concat(e,"-item-children")},t,f),r,o)}},{key:"renderWrapper",value:function(e,t){var r=this;return n.createElement(me.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,u=r.props.wrapperCol,s=("wrapperCol"in r.props?u:a)||{},c=l()("".concat(e,"-item-control-wrapper"),s.className);return n.createElement(me.Provider,{value:{vertical:i}},n.createElement(ve.a,we({},s,{className:c}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return n.createElement(me.Consumer,{key:"label"},(function(r){var o,a=r.vertical,i=r.labelAlign,u=r.labelCol,s=r.colon,c=t.props,f=c.label,d=c.labelCol,p=c.labelAlign,h=c.colon,b=c.id,v=c.htmlFor,y=t.isRequired(),g=("labelCol"in t.props?d:u)||{},m="labelAlign"in t.props?p:i,x="".concat(e,"-item-label"),w=l()(x,"left"===m&&"".concat(x,"-left"),g.className),O=f,E=!0===h||!1!==s&&!1!==h;E&&!a&&"string"==typeof f&&""!==f.trim()&&(O=f.replace(/[::]\s*$/,""));var C=l()((Oe(o={},"".concat(e,"-item-required"),y),Oe(o,"".concat(e,"-item-no-colon"),!E),o));return f?n.createElement(ve.a,we({},g,{className:w}),n.createElement("label",{htmlFor:v||b||t.getId(),className:C,title:"string"==typeof f?f:"",onClick:t.onLabelClick},O)):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 n.createElement(fe.a,null,this.renderFormItem)}}])&&Ce(r.prototype,o),a&&Ce(r,a),u}(n.Component);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 De(){return(De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ve(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Be(e,t){return(Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 He(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ne),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(de.a)("horizontal","inline","vertical"),Ge=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)}(u,e);var t,r,o,a,i=(t=u,function(){var e,r=Le(t);if(He()){var n=Le(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return qe(this,e)});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=i.call(this,e)).renderForm=function(e){var r,o=e.getPrefixCls,a=t.props,i=a.prefixCls,u=a.hideRequiredMark,s=a.className,c=void 0===s?"":s,f=a.layout,d=o("form",i),p=l()(d,(Ie(r={},"".concat(d,"-horizontal"),"horizontal"===f),Ie(r,"".concat(d,"-vertical"),"vertical"===f),Ie(r,"".concat(d,"-inline"),"inline"===f),Ie(r,"".concat(d,"-hide-required-mark"),u),r),c),h=Object(ce.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return n.createElement("form",De({},h,{className:p}))},Object(pe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return r=u,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,r=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return n.createElement(me.Provider,{value:{wrapperCol:t,labelAlign:r,labelCol:o,vertical:"vertical"===a,colon:i}},n.createElement(fe.a,null,this.renderForm))}}])&&Ve(r.prototype,o),a&&Ve(r,a),u}(n.Component);Ge.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},Ge.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},Ge.Item=Re,Ge.createFormField=H,Ge.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return se(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=Ge},W3HW:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=l(r("4qC0")),o=l(r("Ag8Z")),a=l(r("YO3V")),i=l(r("3WF5"));function l(e){return e&&e.__esModule?e:{default:e}}var u=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,i.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,a.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=u},WFjJ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var n=r("qo7Q");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return g(n).default}});var o=r("rJ8t");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return g(o).default}});var a=r("7dW+");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return g(a).default}});var i=r("JI00");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return g(i).default}});var l=r("oPLb");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return g(l).default}});var u=r("Lx/H");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return g(u).default}});var s=r("wkyg");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return g(s).default}});var c=r("Jxpl");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return g(c).default}});var f=r("FbP/");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return g(f).default}});var d=r("HTXX");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return g(d).default}});var p=r("Pzom");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return g(p).default}});var h=r("t8r4");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return g(h).default}});var b=r("nW7/");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return g(b).default}});var v=r("UGzO");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return g(v).default}});var y=g(i);function g(e){return e&&e.__esModule?e:{default:e}}t.default=y.default},WwFo:function(e,t,r){var n=r("juv8"),o=r("7GkX");e.exports=function(e,t){return e&&n(t,o(t),e)}},XQvf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(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 c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,a,s;l(this,n);for(var c=arguments.length,f=Array(c),d=0;d<c;d++)f[d]=arguments[d];return a=s=u(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(f))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return i.default.createElement(t,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},i.default.createElement(e,o({},s.props,s.state)))},u(s,a)}return s(n,r),n}(i.default.Component)};t.default=c},"XR+G":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},XYm9:function(e,t,r){var n=r("+K+b");e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},XZDd:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&a.default.type(e,t,n,l,o)}r(l)}},YO3V:function(e,t,r){var n=r("NykK"),o=r("LcsW"),a=r("ExA7"),i=Function.prototype,l=Object.prototype,u=i.toString,s=l.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==c}},ZCpW:function(e,t,r){var n=r("lm/5"),o=r("O7RO"),a=r("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},"ZQT/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("p8yl")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CompactColor=function(e){var t=e.color,r=e.onClick,l=void 0===r?function(){}:r,u=e.onSwatchHover,s=e.active,c=(0,o.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:a.default.getContrastingColor(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:s,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n.default.createElement(i.Swatch,{style:c.color,color:t,onClick:l,onHover:u,focusStyle:{boxShadow:"0 0 4px "+t}},n.default.createElement("div",{style:c.dot}))};t.default=u},aIZi:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("7Lfq"),r("L/Qf")},b2z7:function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},b80T:function(e,t,r){var n=r("UNi/"),o=r("03A+"),a=r("Z0cm"),i=r("DSRE"),l=r("wJg7"),u=r("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),c=!r&&o(e),f=!r&&!c&&i(e),d=!r&&!c&&!f&&u(e),p=r||c||f||d,h=p?n(e.length,String):[],b=h.length;for(var v in e)!t&&!s.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,b))||h.push(v);return h}},bNQv:function(e,t,r){var n=r("gFfm"),o=r("SKAX"),a=r("EwQA"),i=r("Z0cm");e.exports=function(e,t){return(i(e)?n:o)(e,a(t))}},c6wG:function(e,t,r){var n=r("dD9F"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isTypedArray,l=i?o(i):n;e.exports=l},ccyi:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r("q1tI"),a=s(o),i=s(r("/FUP")),l=s(r("DzJC")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("VVms"));function s(e){return e&&e.__esModule?e:{default:e}}var c=t.Saturation=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 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,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.handleChange=function(e){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,u.calculateChange(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=(0,l.default)((function(e,t,r){e(t,r)}),50),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)}(t,e),n(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,n=t.white,o=t.black,l=t.pointer,u=t.circle,s=(0,i.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:n,black:o,pointer:l,circle:u}},{custom:!!this.props.style});return a.default.createElement("div",{style:s.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),a.default.createElement("div",{style:s.white,className:"saturation-white"},a.default.createElement("div",{style:s.black,className:"saturation-black"}),a.default.createElement("div",{style:s.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:s.circle}))))}}]),t}(o.PureComponent||o.Component);t.default=c},chzT:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=e.type,u=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,l)&&!e.required)return r();a.default.required(e,t,n,u,o,l),(0,i.isEmptyValue)(t,l)||a.default.type(e,t,n,u,o)}r(u)}},"cq/+":function(e,t,r){var n=r("mc0g")();e.exports=n},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},cwxS:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return r();a.default.required(e,t,n,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},dATH:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(){var e=(0,o.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},dD9F:function(e,t,r){var n=r("NykK"),o=r("shjB"),a=r("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 a(e)&&o(e.length)&&!!i[n(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,r){var n=r("GoyQ"),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},e5cp:function(e,t,r){var n=r("fmRc"),o=r("or5M"),a=r("HDyB"),i=r("seXi"),l=r("QqLw"),u=r("Z0cm"),s=r("DSRE"),c=r("c6wG"),f="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,p,h,b){var v=u(e),y=u(t),g=v?"[object Array]":l(e),m=y?"[object Array]":l(t),x=(g="[object Arguments]"==g?f:g)==f,w=(m="[object Arguments]"==m?f:m)==f,O=g==m;if(O&&s(e)){if(!s(t))return!1;v=!0,x=!1}if(O&&!x)return b||(b=new n),v||c(e)?o(e,t,r,p,h,b):a(e,t,g,r,p,h,b);if(!(1&r)){var E=x&&d.call(e,"__wrapped__"),C=w&&d.call(t,"__wrapped__");if(E||C){var j=E?e.value():e,P=C?t.value():t;return b||(b=new n),h(j,P,r,p,b)}}return!!O&&(b||(b=new n),i(e,t,r,p,h,b))}},eHBW:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("17x9")),i=u(r("/FUP")),l=r("TM95");function u(e){return e&&e.__esModule?e:{default:e}}var s=t.SketchPresetColors=function(e){var t=e.colors,r=e.onClick,a=void 0===r?function(){}:r,u=e.onSwatchHover,s=(0,i.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),c=function(e,t){a({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:s.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,r=""+t.color+(t.title||"");return o.default.createElement("div",{key:r,style:s.swatchWrap},o.default.createElement(l.Swatch,n({},t,{style:s.swatch,onClick:c,onHover:u,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};s.propTypes={colors:a.default.arrayOf(a.default.oneOfType([a.default.string,a.default.shape({color:a.default.string,title:a.default.string})])).isRequired},t.default=s},"fR/l":function(e,t,r){var n=r("CH3K"),o=r("Z0cm");e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},fhzG:function(e,t,r){"use strict";var n=r("q1tI"),o=r("lT4e");if(void 0===n)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 a=(new n.Component).updater;e.exports=o(n.Component,n.isValidElement,a)},fmRc:function(e,t,r){var n=r("Xi7e"),o=r("77Zs"),a=r("L8xA"),i=r("gCq4"),l=r("VaNO"),u=r("0Cz8");function s(e){var t=this.__data__=new n(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=u,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gFfm:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},heNW:function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},hgQt:function(e,t,r){var n=r("Juji"),o=r("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,n)}},iGDq:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var n=l(r("q1tI")),o=r("/FUP"),a=l(o),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.GithubSwatch=function(e){var t=e.hover,r=e.color,o=e.onClick,l=e.onSwatchHover,u={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,a.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:u}},{hover:t});return n.default.createElement("div",{style:s.swatch},n.default.createElement(i.Swatch,{color:r,onClick:o,onHover:l,focusStyle:u}))};t.default=(0,o.handleHover)(u)},iHzq:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),(0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o))}r(l)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jESh:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=y(r("zP+q")),o=y(r("rNsS")),a=y(r("iHzq")),i=y(r("EtQh")),l=y(r("HOVM")),u=y(r("XR+G")),s=y(r("Ejpc")),c=y(r("cwxS")),f=y(r("XZDd")),d=y(r("rjwK")),p=y(r("L2wI")),h=y(r("myOp")),b=y(r("UeuU")),v=y(r("chzT"));function y(e){return e&&e.__esModule?e:{default:e}}t.default={string:n.default,method:o.default,number:a.default,boolean:i.default,regexp:l.default,integer:u.default,float:s.default,array:c.default,object:f.default,enum:d.default,pattern:p.default,date:h.default,url:v.default,hex:v.default,email:v.default,required:b.default}},japM:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r("q1tI"),l=(n=i)&&n.__esModule?n:{default:n};function u(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}function c(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.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var e,t,r;u(this,n);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return t=r=s(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(a))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},s(r,t)}return c(n,r),a(n,[{key:"render",value:function(){return l.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},l.default.createElement(e,o({},this.props,this.state)))}}]),n}(l.default.Component)}},jeLo:function(e,t,r){var n=r("juv8"),o=r("mTTR");e.exports=function(e){return n(e,o(e))}},jpXb:function(e,t,r){var n=r("wZXL");e.exports=new n},"jsC+":function(e,t,r){"use strict";r.r(t);var n=r("q1tI"),o=r.n(n),a=r("17x9"),i=r.n(a),l=r("i8i4"),u=r.n(l),s=r("uciX"),c=r("TSYQ"),f=r.n(c),d={adjustX:1,adjustY:1},p=[0,0],h={topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:p}},b=r("VCL8"),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var y=function(e){function t(r){!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,e.call(this,r));return g.call(n),n.state="visible"in r?{visible:r.visible}:{visible:r.defaultVisible},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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,r=e.prefixCls;return void 0!==t?t:r+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,r=e.props?e.props:{},o=f()(r.className,this.getOpenClassName());return t&&e?Object(n.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,r=e.transitionName,n=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,u=e.showAction,c=e.hideAction,f=e.overlayClassName,d=e.overlayStyle,p=e.trigger,b=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),y=c;return y||-1===p.indexOf("contextMenu")||(y=["click"]),o.a.createElement(s.a,v({},b,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:d,builtinPlacements:h,action:p,showAction:u,hideAction:y||[],popupPlacement:i,popupAlign:a,popupTransitionName:r,popupAnimation:n,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(n.Component);y.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},y.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var g=function(){var e=this;this.onClick=function(t){var r=e.props,n=e.getOverlayElement().props;"visible"in r||e.setState({visible:!1}),r.onOverlayClick&&r.onOverlayClick(t),n.onClick&&n.onClick(t)},this.onVisibleChange=function(t){var r=e.props;"visible"in r||e.setState({visible:t}),r.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,r=t.minOverlayWidthMatchTrigger,n=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?r:!n},this.getMenuElement=function(){var t=e.props.prefixCls,r=e.getOverlayElement(),n={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof r.type&&delete n.prefixCls,o.a.cloneElement(r,n)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var r=e.getPopupDomNode(),n=u.a.findDOMNode(e);n&&r&&n.offsetWidth>r.offsetWidth&&(r.style.minWidth=n.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(b.polyfill)(y);var m=y,x=r("H84U"),w=r("6CfX"),O=r("CtXQ"),E=r("CWQg");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(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 F(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(E.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var A=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,t)}(l,e);var t,r,o,a,i=(t=l,function(){var e,r=M(t);if(F()){var n=M(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return k(this,e)});function l(){var e;return P(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var r,o=e.props.overlay;r="function"==typeof o?o():o;var a=(r=n.Children.only(r)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,u=a.focusable,s=void 0===u||u,c=n.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},n.createElement(O.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof r.type?o:n.cloneElement(r,{mode:"vertical",selectable:l,focusable:s,expandIcon:c})},e.renderDropDown=function(t){var r,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,u=i.children,s=i.trigger,c=i.disabled,d=i.getPopupContainer,p=a("dropdown",l),h=n.Children.only(u),b=n.cloneElement(h,{className:f()(h.props.className,"".concat(p,"-trigger")),disabled:c}),v=c?[]:s;return v&&-1!==v.indexOf("contextMenu")&&(r=!0),n.createElement(m,j({alignPoint:r},e.props,{prefixCls:p,getPopupContainer:d||o,transitionName:e.getTransitionName(),trigger:v,overlay:function(){return e.renderOverlay(p)}}),b)},e}return r=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,r=void 0===t?"":t,n=e.transitionName;return void 0!==n?n:r.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return n.createElement(x.a,null,this.renderDropDown)}}])&&S(r.prototype,o),a&&S(r,a),l}(n.Component);A.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var N=r("2/Rp");function R(e){return(R="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(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t){return!t||"object"!==R(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 q(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var L=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},z=N.default.Group,G=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)}(l,e);var t,r,o,a,i=(t=l,function(){var e,r=H(t);if(q()){var n=H(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return B(this,e)});function l(){var e;return D(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var r=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,u=a.disabled,s=a.onClick,c=a.htmlType,d=a.children,p=a.className,h=a.overlay,b=a.trigger,v=a.align,y=a.visible,g=a.onVisibleChange,m=a.placement,x=a.getPopupContainer,w=a.href,E=a.icon,C=void 0===E?n.createElement(O.default,{type:"ellipsis"}):E,j=a.title,P=L(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),S=o("dropdown-button",i),_={align:v,overlay:h,disabled:u,trigger:u?[]:b,onVisibleChange:g,placement:m,getPopupContainer:x||r};return"visible"in e.props&&(_.visible=y),n.createElement(z,T({},P,{className:f()(S,p)}),n.createElement(N.default,{type:l,disabled:u,onClick:s,htmlType:c,href:w,title:j},d),n.createElement(A,_,n.createElement(N.default,{type:l},C)))},e}return r=l,(o=[{key:"render",value:function(){return n.createElement(x.a,null,this.renderButton)}}])&&I(r.prototype,o),a&&I(r,a),l}(n.Component);G.defaultProps={placement:"bottomRight",type:"default"},A.Button=G;t.default=A},juv8:function(e,t,r){var n=r("MrPd"),o=r("hypo");e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var l=-1,u=t.length;++l<u;){var s=t[l],c=a?a(r[s],e[s],s,r,e):void 0;void 0===c&&(c=e[s]),i?o(r,s,c):n(r,s,c)}return r}},k994:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("Aosp"),r("L/Qf")},kCCV:function(e,t){function r(e){this.options=e,!e.deferSetup&&this.setup()}r.prototype={constructor:r,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=r},kekF:function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},l1rO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a,i){!e.required||r.hasOwnProperty(e.field)&&!n.isEmptyValue(t,i||e.type)||o.push(n.format(a.messages.required,e.fullField))}},l8PK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){var i="number"==typeof e.len,l="number"==typeof e.min,u="number"==typeof e.max,s=t,c=null,f="number"==typeof t,d="string"==typeof t,p=Array.isArray(t);if(f?c="number":d?c="string":p&&(c="array"),!c)return!1;p&&(s=t.length),d&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&o.push(n.format(a.messages[c].len,e.fullField,e.len)):l&&!u&&s<e.min?o.push(n.format(a.messages[c].min,e.fullField,e.min)):u&&!l&&s>e.max?o.push(n.format(a.messages[c].max,e.fullField,e.max)):l&&u&&(s<e.min||s>e.max)&&o.push(n.format(a.messages[c].range,e.fullField,e.min,e.max))}},l9OW:function(e,t,r){var n=r("SKAX"),o=r("MMmD");e.exports=function(e,t){var r=-1,a=o(e)?Array(e.length):[];return n(e,(function(e,n,o){a[++r]=t(e,n,o)})),a}},lQqw:function(e,t,r){var n=r("MMmD");e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var a=r.length,i=t?a:-1,l=Object(r);(t?i--:++i<a)&&!1!==o(l[i],i,l););return r}}},lT4e:function(e,t,r){"use strict";var n=r("MgzW"),o=r("t33a"),a=r("2NuI");e.exports=function(e,t,r){var i=[],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"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},s={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var r=0;r<t.length;r++)f(e,t[r])},childContextTypes:function(e,t){e.childContextTypes=n({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=n({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=n({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var r in t){var n=t[r];if(t.hasOwnProperty(r)){if(a(!(r in s),'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.',r),r in e){var o=u.hasOwnProperty(r)?u[r]:null;return a("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.",r),void(e[r]=p(e[r],n))}e[r]=n}}}(e,t)},autobind:function(){}};function c(e,t){var r=l.hasOwnProperty(t)?l[t]:null;g.hasOwnProperty(t)&&a("OVERRIDE_BASE"===r,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&a("DEFINE_MANY"===r||"DEFINE_MANY_MERGED"===r,"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,r){if(r){a("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!t(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var n=e.prototype,o=n.__reactAutoBindPairs;for(var i in r.hasOwnProperty("mixins")&&s.mixins(e,r.mixins),r)if(r.hasOwnProperty(i)&&"mixins"!==i){var u=r[i],f=n.hasOwnProperty(i);if(c(f,i),s.hasOwnProperty(i))s[i](e,u);else{var d=l.hasOwnProperty(i);if("function"==typeof u&&!d&&!f&&!1!==r.autobind)o.push(i,u),n[i]=u;else if(f){var b=l[i];a(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,i),"DEFINE_MANY_MERGED"===b?n[i]=p(n[i],u):"DEFINE_MANY"===b&&(n[i]=h(n[i],u))}else n[i]=u}}}else;}function d(e,t){for(var r in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(r)&&(a(void 0===e[r],"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.",r),e[r]=t[r]);return e}function p(e,t){return function(){var r=e.apply(this,arguments),n=t.apply(this,arguments);if(null==r)return n;if(null==n)return r;var o={};return d(o,r),d(o,n),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},y={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},m=function(){};return n(m.prototype,e.prototype,g),function(e){var t=function(e,n,i){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,r=0;r<t.length;r+=2){var n=t[r],o=t[r+1];e[n]=b(e,o)}}(this),this.props=e,this.context=n,this.refs=o,this.updater=i||r,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("object"==typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var n in t.prototype=new m,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,v),f(t,e),f(t,y),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[n]||(t.prototype[n]=null);return t}}},"lm/5":function(e,t,r){var n=r("fmRc"),o=r("wF/u");e.exports=function(e,t,r,a){var i=r.length,l=i,u=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=r[i];if(u&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var c=(s=r[i])[0],f=e[c],d=s[1];if(u&&s[2]){if(void 0===f&&!(c in e))return!1}else{var p=new n;if(a)var h=a(f,d,c,e,t,p);if(!(void 0===h?o(d,f,3,a,p):h))return!1}}return!0}},lreK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=i(r("Ag8Z")),o=i(r("BkRI")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function i(e){return e&&e.__esModule?e:{default:e}}var l=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,n.default)(o,(function(e,t){r[t]||(r[t]={}),r[t]=a({},r[t],o[t])})),t})),r};t.default=l},lvO4:function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},m1cH:function(e,t,r){"use strict";t.__esModule=!0;var n,o=r("rfXi"),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return(0,a.default)(e)}},mTTR:function(e,t,r){var n=r("b80T"),o=r("QcOe"),a=r("MMmD");e.exports=function(e){return a(e)?n(e,!0):o(e)}},mc0g:function(e,t){e.exports=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),l=i.length;l--;){var u=i[e?l:++o];if(!1===r(a[u],u,a))break}return t}}},mdPL:function(e,t,r){(function(e){var n=r("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,r("YuTi")(e))},moXY:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0"));t.default=function(e,t,r,o,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(n.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(n.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},"mv/X":function(e,t,r){var n=r("ljhN"),o=r("MMmD"),a=r("wJg7"),i=r("GoyQ");e.exports=function(e,t,r){if(!i(r))return!1;var l=typeof t;return!!("number"==l?o(r)&&a(t,r.length):"string"==l&&t in r)&&n(r[t],e)}},myOp:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();if(a.default.required(e,t,n,l,o),!(0,i.isEmptyValue)(t)){var u=void 0;u="number"==typeof t?new Date(t):t,a.default.type(e,u,n,l,o),u&&a.default.range(e,u.getTime(),n,l,o)}}r(l)}},nEr6:function(e,t,r){"use strict";function n(){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=n;t.messages=n()},"nW7/":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("3WF5")),l=c(r("QkVN")),u=c(r("p8yl")),s=r("TM95");function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Twitter=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,c=e.colors,f=e.width,d=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,y=(0,a.default)((0,l.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},h),{"hide-triangle":"hide"===d,"top-left-triangle":"top-left"===d,"top-right-triangle":"top-right"===d}),g=function(e,r){u.default.isValidHex(e)&&t({hex:e,source:"hex"},r)};return n.default.createElement("div",{style:y.card,className:"twitter-picker "+v},n.default.createElement("div",{style:y.triangleShadow}),n.default.createElement("div",{style:y.triangle}),n.default.createElement("div",{style:y.body},(0,i.default)(c,(function(e,t){return n.default.createElement(s.Swatch,{key:t,color:e,hex:e,style:y.swatch,onClick:g,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:y.hash},"#"),n.default.createElement(s.EditableInput,{label:null,style:{input:y.input},value:o.replace("#",""),onChange:g}),n.default.createElement("div",{style:y.clear})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),triangle:o.default.oneOf(["hide","top-left","top-right"]),colors:o.default.arrayOf(o.default.string),styles:o.default.object},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},t.default=(0,s.ColorWrap)(f)},"o/2+":function(e,t,r){"use strict";var n=r("foW8"),o=r.n(n)()({});t.a=o},"oCl/":function(e,t,r){var n=r("CH3K"),o=r("LcsW"),a=r("MvSz"),i=r("0ycA"),l=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=l},oEMi:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,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},a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("+kn0")),i=r("l1rO"),l=(n=i)&&n.__esModule?n:{default:n};var u={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},s={integer:function(e){return s.number(e)&&parseInt(e,10)===e},float:function(e){return s.number(e)&&!s.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))&&!s.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(u.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(u.url)},hex:function(e){return"string"==typeof e&&!!e.match(u.hex)}};t.default=function(e,t,r,n,i){if(e.required&&void 0===t)(0,l.default)(e,t,r,n,i);else{var u=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(u)>-1?s[u](t)||n.push(a.format(i.messages.types[u],e.fullField,e.type)):u&&(void 0===t?"undefined":o(t))!==e.type&&n.push(a.format(i.messages.types[u],e.fullField,e.type))}}},oPLb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var n=d(r("q1tI")),o=d(r("17x9")),a=d(r("/FUP")),i=d(r("3WF5")),l=d(r("QkVN")),u=d(r("p8yl")),s=r("TM95"),c=d(r("ZQT/")),f=d(r("8J/B"));function d(e){return e&&e.__esModule?e:{default:e}}var p=t.Compact=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,d=e.hex,p=e.rgb,h=e.styles,b=void 0===h?{}:h,v=e.className,y=void 0===v?"":v,g=(0,a.default)((0,l.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},b)),m=function(e,r){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n.default.createElement(s.Raised,{style:g.Compact,styles:b},n.default.createElement("div",{style:g.compact,className:"compact-picker "+y},n.default.createElement("div",null,(0,i.default)(o,(function(e){return n.default.createElement(c.default,{key:e,color:e,active:e.toLowerCase()===d,onClick:m,onSwatchHover:r})})),n.default.createElement("div",{style:g.clear})),n.default.createElement(f.default,{hex:d,rgb:p,onChange:m})))};p.propTypes={colors:o.default.arrayOf(o.default.string),styles:o.default.object},p.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},t.default=(0,s.ColorWrap)(p)},oV5b:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a="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=r("+kn0"),l=r("jESh"),u=(n=l)&&n.__esModule?n:{default:n},s=r("nEr6");function c(e){this.rules=null,this._messages=s.messages,this.define(e)}c.prototype={messages:function(e){return e&&(this._messages=(0,i.deepMerge)((0,s.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":a(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,r=void 0;for(t in e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},l=e,u=r,f=n;if("function"==typeof u&&(f=u,u={}),!this.rules||0===Object.keys(this.rules).length)return f&&f(),Promise.resolve();function d(e){var t,r,n=void 0,o=[],a={};for(n=0;n<e.length;n++)t=e[n],r=void 0,Array.isArray(t)?o=(r=o).concat.apply(r,t):o.push(t);o.length?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(u.messages){var p=this.messages();p===s.messages&&(p=(0,s.newMessages)()),(0,i.deepMerge)(p,u.messages),u.messages=p}else u.messages=this.messages();var h=void 0,b=void 0,v={},y=u.keys||Object.keys(this.rules);y.forEach((function(r){h=t.rules[r],b=l[r],h.forEach((function(n){var a=n;"function"==typeof a.transform&&(l===e&&(l=o({},l)),b=l[r]=a.transform(b)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=r,a.fullField=a.fullField||r,a.type=t.getType(a),a.validator&&(v[r]=v[r]||[],v[r].push({rule:a,value:b,source:l,field:r}))}))}));var g={};return(0,i.asyncMap)(v,u,(function(e,t){var r=e.rule,n=!("object"!==r.type&&"array"!==r.type||"object"!==a(r.fields)&&"object"!==a(r.defaultField));function l(e,t){return o({},t,{fullField:r.fullField+"."+e})}function s(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=a;if(Array.isArray(s)||(s=[s]),!u.suppressWarning&&s.length&&c.warning("async-validator:",s),s.length&&r.message&&(s=[].concat(r.message)),s=s.map((0,i.complementError)(r)),u.first&&s.length)return g[r.field]=1,t(s);if(n){if(r.required&&!e.value)return s=r.message?[].concat(r.message).map((0,i.complementError)(r)):u.error?[u.error(r,(0,i.format)(u.messages.required,r.field))]:[],t(s);var f={};if(r.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(f[d]=r.defaultField);for(var p in f=o({},f,e.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(l.bind(null,p))}var b=new c(f);b.messages(u.messages),e.rule.options&&(e.rule.options.messages=u.messages,e.rule.options.error=u.error),b.validate(e.value,e.rule.options||u,(function(e){var r=[];s&&s.length&&r.push.apply(r,s),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(s)}n=n&&(r.required||!r.required&&e.value),r.field=e.field;var f=void 0;r.asyncValidator?f=r.asyncValidator(r,e.value,s,e.source,u):r.validator&&(!0===(f=r.validator(r,e.value,s,e.source,u))?s():!1===f?s(r.message||r.field+" fails"):f instanceof Array?s(f):f instanceof Error&&s(f.message)),f&&f.then&&f.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){d(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.default.hasOwnProperty(e.type))throw new Error((0,i.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),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?u.default.required:u.default[this.getType(e)]||!1}},c.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.default[e]=t},c.warning=i.warning,c.messages=s.messages,t.default=c},or5M:function(e,t,r){var n=r("1hJj"),o=r("QoRX"),a=r("xYSL");e.exports=function(e,t,r,i,l,u){var s=1&r,c=e.length,f=t.length;if(c!=f&&!(s&&f>c))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var p=-1,h=!0,b=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var v=e[p],y=t[p];if(i)var g=s?i(y,v,p,t,e,u):i(v,y,p,e,t,u);if(void 0!==g){if(g)continue;h=!1;break}if(b){if(!o(t,(function(e,t){if(!a(b,t)&&(v===e||l(v,e,r,i,u)))return b.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,r,i,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},"otv/":function(e,t,r){var n=r("nmnc"),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},p8yl:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.red=t.getContrastingColor=t.isValidHex=t.toState=t.simpleCheckForValidColor=void 0;var n=a(r("xkGU")),o=a(r("Zss7"));function a(e){return e&&e.__esModule?e:{default:e}}t.simpleCheckForValidColor=function(e){var t=0,r=0;return(0,n.default)(["r","g","b","a","h","s","l","v"],(function(n){if(e[n]&&(t+=1,isNaN(e[n])||(r+=1),"s"===n||"l"===n)){/^\d+%$/.test(e[n])&&(r+=1)}})),t===r&&e};var i=t.toState=function(e,t){var r=e.hex?(0,o.default)(e.hex):(0,o.default)(e),n=r.toHsl(),a=r.toHsv(),i=r.toRgb(),l=r.toHex();return 0===n.s&&(n.h=t||0,a.h=t||0),{hsl:n,hex:"000000"===l&&0===i.a?"transparent":"#"+l,rgb:i,hsv:a,oldHue:e.h||t||n.h,source:e.source}};t.isValidHex=function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,o.default)(e).isValid()},t.getContrastingColor=function(e){if(!e)return"#fff";var t=i(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};t.default=t},pFRH:function(e,t,r){var n=r("cvCv"),o=r("O0oS"),a=r("zZ0H"),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=i},qZTm:function(e,t,r){var n=r("fR/l"),o=r("MvSz"),a=r("7GkX");e.exports=function(e){return n(e,a,o)}},"ql/k":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=r("q1tI"),i=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,f=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:u},c)},f),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qo7Q:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=u(r("q1tI")),a=u(r("/FUP")),i=r("TM95"),l=u(r("Syy6"));function u(e){return e&&e.__esModule?e:{default:e}}var s=t.AlphaPicker=function(e){var t=e.rgb,r=e.hsl,l=e.width,u=e.height,s=e.onChange,c=e.direction,f=e.style,d=e.renderers,p=e.pointer,h=e.className,b=void 0===h?"":h,v=(0,a.default)({default:{picker:{position:"relative",width:l,height:u},alpha:{radius:"2px",style:f}}});return o.default.createElement("div",{style:v.picker,className:"alpha-picker "+b},o.default.createElement(i.Alpha,n({},v.alpha,{rgb:t,hsl:r,pointer:p,renderers:d,onChange:s,direction:c})))};s.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:l.default},t.default=(0,i.ColorWrap)(s)},qrJ5:function(e,t,r){"use strict";r.d(t,"a",(function(){return M}));var n,o=r("q1tI"),a=r("TSYQ"),i=r.n(a),l=r("17x9"),u=r("H84U"),s=r("o/2+"),c=r("CWQg");function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),n=r("jpXb")}var p=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},b=[],v=-1,y={},g={dispatch:function(e){return y=e,!(b.length<1)&&(b.forEach((function(e){e.func(y)})),!0)},subscribe:function(e){0===b.length&&this.register();var t=(++v).toString();return b.push({token:t,func:e}),e(y),t},unsubscribe:function(e){0===(b=b.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return n.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return n.register(h[t],{match:function(){var r=d(d({},y),f({},t,!0));e.dispatch(r)},unmatch:function(){var r=d(d({},y),f({},t,!1));e.dispatch(r)},destroy:function(){}})}))}};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 x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(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 P(){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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},k=Object(c.a)("top","middle","bottom","stretch"),F=Object(c.a)("start","end","center","space-around","space-between"),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&&C(e,t)}(c,e);var t,r,n,a,l=(t=c,function(){var e,r=S(t);if(P()){var n=S(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return j(this,e)});function c(){var e;return O(this,c),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var r,n=t.getPrefixCls,a=e.props,l=a.prefixCls,u=a.type,c=a.justify,f=a.align,d=a.className,p=a.style,h=a.children,b=_(a,["prefixCls","type","justify","align","className","style","children"]),v=n("row",l),y=e.getGutter(),g=i()((w(r={},v,!u),w(r,"".concat(v,"-").concat(u),u),w(r,"".concat(v,"-").concat(u,"-").concat(c),u&&c),w(r,"".concat(v,"-").concat(u,"-").concat(f),u&&f),r),d),m=x(x(x({},y[0]>0?{marginLeft:y[0]/-2,marginRight:y[0]/-2}:{}),y[1]>0?{marginTop:y[1]/-2,marginBottom:y[1]/-2}:{}),p),O=x({},b);return delete O.gutter,o.createElement(s.a.Provider,{value:{gutter:y}},o.createElement("div",x({},O,{className:g,style:m}),h))},e}return r=c,(n=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var r=e.props.gutter;("object"===m(r)||Array.isArray(r)&&("object"===m(r[0])||"object"===m(r[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,r=this.state.screens;return(Array.isArray(t)?t:[t,0]).forEach((function(t,n){if("object"===m(t))for(var o=0;o<p.length;o++){var a=p[o];if(r[a]&&void 0!==t[a]){e[n]=t[a];break}}else e[n]=t||0})),e}},{key:"render",value:function(){return o.createElement(u.a,null,this.renderRow)}}])&&E(r.prototype,n),a&&E(r,a),c}(o.Component);M.defaultProps={gutter:0},M.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(k),justify:l.oneOf(F),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},rJ8t:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var n=c(r("q1tI")),o=c(r("17x9")),a=c(r("/FUP")),i=c(r("QkVN")),l=c(r("p8yl")),u=r("TM95"),s=c(r("uDUr"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.Block=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,c=e.colors,f=e.width,d=e.triangle,p=e.styles,h=void 0===p?{}:p,b=e.className,v=void 0===b?"":b,y="transparent"===o,g=function(e,r){l.default.isValidHex(e)&&t({hex:e,source:"hex"},r)},m=(0,a.default)((0,i.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:l.default.getContrastingColor(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},h),{"hide-triangle":"hide"===d});return n.default.createElement("div",{style:m.card,className:"block-picker "+v},n.default.createElement("div",{style:m.triangle}),n.default.createElement("div",{style:m.head},y&&n.default.createElement(u.Checkboard,{borderRadius:"6px 6px 0 0"}),n.default.createElement("div",{style:m.label},o)),n.default.createElement("div",{style:m.body},n.default.createElement(s.default,{colors:c,onClick:g,onSwatchHover:r}),n.default.createElement(u.EditableInput,{style:{input:m.input},value:o,onChange:g})))};f.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.string),triangle:o.default.oneOf(["top","hide"]),styles:o.default.object},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},t.default=(0,u.ColorWrap)(f)},rNsS:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),void 0!==t&&a.default.type(e,t,n,l,o)}r(l)}},rfXi:function(e,t,r){e.exports={default:r("0tVQ"),__esModule:!0}},rjwK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return r();a.default.required(e,t,n,l,o),t&&a.default.enum(e,t,n,l,o)}r(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},sVjb:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.PhotoshopPointerCircle=function(){var e=(0,o.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.default.createElement("div",{style:e.pointer},n.default.createElement("div",{style:e.left},n.default.createElement("div",{style:e.leftInside})),n.default.createElement("div",{style:e.right},n.default.createElement("div",{style:e.rightInside})))};t.default=i},seXi:function(e,t,r){var n=r("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,i,l){var u=1&r,s=n(e),c=s.length;if(c!=n(t).length&&!u)return!1;for(var f=c;f--;){var d=s[f];if(!(u?d in t:o.call(t,d)))return!1}var p=l.get(e);if(p&&l.get(t))return p==t;var h=!0;l.set(e,t),l.set(t,e);for(var b=u;++f<c;){var v=e[d=s[f]],y=t[d];if(a)var g=u?a(y,v,d,t,e,l):a(v,y,d,e,t,l);if(!(void 0===g?v===y||i(v,y,r,a,l):g)){h=!1;break}b||(b="constructor"==d)}if(h&&!b){var m=e.constructor,x=t.constructor;m==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x||(h=!1)}return l.delete(e),l.delete(t),h}},srvI:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,r,n){var o=n.clientWidth,a=n.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=i-(n.getBoundingClientRect().left+window.pageXOffset),s=l-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var c=void 0;if(s<0)c=359;else if(s>a)c=0;else{c=360*(-100*s/a+100)/100}if(r.h!==c)return{h:c,s:r.s,l:r.l,a:r.a,source:"rgb"}}else{var f=void 0;if(u<0)f=0;else if(u>o)f=359;else{f=360*(100*u/o)/100}if(r.h!==f)return{h:f,s:r.s,l:r.l,a:r.a,source:"rgb"}}return null}},t2Dn:function(e,t,r){var n=r("hypo"),o=r("ljhN");e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},t33a:function(e,t,r){"use strict";e.exports={}},t8r4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var n=d(r("q1tI")),o=d(r("17x9")),a=d(r("/FUP")),i=d(r("3WF5")),l=d(r("QkVN")),u=d(r("p8yl")),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("wME1")),c=r("TM95"),f=d(r("Efrf"));function d(e){return e&&e.__esModule?e:{default:e}}var p=t.Swatches=function(e){var t=e.width,r=e.height,o=e.onChange,s=e.onSwatchHover,d=e.colors,p=e.hex,h=e.styles,b=void 0===h?{}:h,v=e.className,y=void 0===v?"":v,g=(0,a.default)((0,l.default)({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},b)),m=function(e,t){u.default.isValidHex(e)&&o({hex:e,source:"hex"},t)};return n.default.createElement("div",{style:g.picker,className:"swatches-picker "+y},n.default.createElement(c.Raised,null,n.default.createElement("div",{style:g.overflow},n.default.createElement("div",{style:g.body},(0,i.default)(d,(function(e){return n.default.createElement(f.default,{key:e.toString(),group:e,active:p,onClick:m,onSwatchHover:s})})),n.default.createElement("div",{style:g.clear})))))};p.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),colors:o.default.arrayOf(o.default.arrayOf(o.default.string)),styles:o.default.object},p.defaultProps={width:320,height:240,colors:[[s.red[900],s.red[700],s.red[500],s.red[300],s.red[100]],[s.pink[900],s.pink[700],s.pink[500],s.pink[300],s.pink[100]],[s.purple[900],s.purple[700],s.purple[500],s.purple[300],s.purple[100]],[s.deepPurple[900],s.deepPurple[700],s.deepPurple[500],s.deepPurple[300],s.deepPurple[100]],[s.indigo[900],s.indigo[700],s.indigo[500],s.indigo[300],s.indigo[100]],[s.blue[900],s.blue[700],s.blue[500],s.blue[300],s.blue[100]],[s.lightBlue[900],s.lightBlue[700],s.lightBlue[500],s.lightBlue[300],s.lightBlue[100]],[s.cyan[900],s.cyan[700],s.cyan[500],s.cyan[300],s.cyan[100]],[s.teal[900],s.teal[700],s.teal[500],s.teal[300],s.teal[100]],["#194D33",s.green[700],s.green[500],s.green[300],s.green[100]],[s.lightGreen[900],s.lightGreen[700],s.lightGreen[500],s.lightGreen[300],s.lightGreen[100]],[s.lime[900],s.lime[700],s.lime[500],s.lime[300],s.lime[100]],[s.yellow[900],s.yellow[700],s.yellow[500],s.yellow[300],s.yellow[100]],[s.amber[900],s.amber[700],s.amber[500],s.amber[300],s.amber[100]],[s.orange[900],s.orange[700],s.orange[500],s.orange[300],s.orange[100]],[s.deepOrange[900],s.deepOrange[700],s.deepOrange[500],s.deepOrange[300],s.deepOrange[100]],[s.brown[900],s.brown[700],s.brown[500],s.brown[300],s.brown[100]],[s.blueGrey[900],s.blueGrey[700],s.blueGrey[500],s.blueGrey[300],s.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},t.default=(0,c.ColorWrap)(p)},tULf:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("KM+8"),r("4t1q")},tadb:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"DataView");e.exports=n},trA2:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.SliderPointer=function(e){var t=e.direction,r=(0,o.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n.default.createElement("div",{style:r.picker})};t.default=i},tu5P:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var n=a(r("q1tI")),o=a(r("/FUP"));function a(e){return e&&e.__esModule?e:{default:e}}var i=t.ChromePointerCircle=function(){var e=(0,o.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n.default.createElement("div",{style:e.picker})};t.default=i},uDUr:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var n=l(r("q1tI")),o=l(r("/FUP")),a=l(r("3WF5")),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.BlockSwatches=function(e){var t=e.colors,r=e.onClick,l=e.onSwatchHover,u=(0,o.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n.default.createElement("div",{style:u.swatches},(0,a.default)(t,(function(e){return n.default.createElement(i.Swatch,{key:e,color:e,style:u.swatch,onClick:r,onHover:l,focusStyle:{boxShadow:"0 0 4px "+e}})})),n.default.createElement("div",{style:u.clear}))};t.default=u},"ut/Y":function(e,t,r){var n=r("ZCpW"),o=r("GDhZ"),a=r("zZ0H"),i=r("Z0cm"),l=r("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):l(e)}},"vPd/":function(e,t,r){var n=r("kCCV"),o=r("IX3V").each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var r=this;this.listener=function(e){r.mql=e.currentTarget||e,r.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new n(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(r,n){if(r.equals(e))return r.destroy(),!t.splice(n,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=a},"w/wX":function(e,t,r){var n=r("QqLw"),o=r("ExA7");e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},"wF/u":function(e,t,r){var n=r("e5cp"),o=r("ExA7");e.exports=function e(t,r,a,i,l){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,a,i,e,l))}},wME1:function(e,t,r){"use strict";r.r(t),r.d(t,"red",(function(){return n})),r.d(t,"pink",(function(){return o})),r.d(t,"purple",(function(){return a})),r.d(t,"deepPurple",(function(){return i})),r.d(t,"indigo",(function(){return l})),r.d(t,"blue",(function(){return u})),r.d(t,"lightBlue",(function(){return s})),r.d(t,"cyan",(function(){return c})),r.d(t,"teal",(function(){return f})),r.d(t,"green",(function(){return d})),r.d(t,"lightGreen",(function(){return p})),r.d(t,"lime",(function(){return h})),r.d(t,"yellow",(function(){return b})),r.d(t,"amber",(function(){return v})),r.d(t,"orange",(function(){return y})),r.d(t,"deepOrange",(function(){return g})),r.d(t,"brown",(function(){return m})),r.d(t,"grey",(function(){return x})),r.d(t,"blueGrey",(function(){return w})),r.d(t,"darkText",(function(){return O})),r.d(t,"lightText",(function(){return E})),r.d(t,"darkIcons",(function(){return C})),r.d(t,"lightIcons",(function(){return j})),r.d(t,"white",(function(){return P})),r.d(t,"black",(function(){return S}));var n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},a={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},s={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},c={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},v={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},g={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},m={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},O={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},E={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},C={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},j={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},P="#ffffff",S="#000000";t.default={red:n,pink:o,purple:a,deepPurple:i,indigo:l,blue:u,lightBlue:s,cyan:c,teal:f,green:d,lightGreen:p,lime:h,yellow:b,amber:v,orange:y,deepOrange:g,brown:m,grey:x,blueGrey:w,darkText:O,lightText:E,darkIcons:C,lightIcons:j,white:P,black:S}},wZXL:function(e,t,r){var n=r("vPd/"),o=r("IX3V"),a=o.each,i=o.isFunction,l=o.isArray;function u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,r){var o=this.queries,u=r&&this.browserIsIncapable;return o[e]||(o[e]=new n(e,u)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var r=this.queries[e];return r&&(t?r.removeHandler(t):(r.clear(),delete this.queries[e])),this}},e.exports=u},wclG:function(e,t,r){var n=r("pFRH"),o=r("88Gu")(n);e.exports=o},wkyg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=c(r("q1tI")),a=c(r("17x9")),i=c(r("/FUP")),l=c(r("QkVN")),u=r("TM95"),s=c(r("trA2"));function c(e){return e&&e.__esModule?e:{default:e}}var f=t.HuePicker=function(e){var t=e.width,r=e.height,a=e.onChange,s=e.hsl,c=e.direction,f=e.pointer,d=e.styles,p=void 0===d?{}:d,h=e.className,b=void 0===h?"":h,v=(0,i.default)((0,l.default)({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},p));return o.default.createElement("div",{style:v.picker,className:"hue-picker "+b},o.default.createElement(u.Hue,n({},v.hue,{hsl:s,pointer:f,onChange:function(e){return a({a:1,h:e.h,l:.5,s:1})},direction:c})))};f.propTypes={styles:a.default.object},f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:s.default,styles:{}},t.default=(0,u.ColorWrap)(f)},wrZu:function(e,t,r){var n=r("+K+b"),o=r("XYm9"),a=r("b2z7"),i=r("otv/"),l=r("yP5f");e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return l(e,r);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return a(e);case"[object Set]":return new u;case"[object Symbol]":return i(e)}}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},xbjo:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var n=l(r("q1tI")),o=r("/FUP"),a=l(o),i=r("TM95");function l(e){return e&&e.__esModule?e:{default:e}}var u=t.CircleSwatch=function(e){var t=e.color,r=e.onClick,o=e.onSwatchHover,l=e.hover,u=e.active,s=e.circleSize,c=e.circleSpacing,f=(0,a.default)({default:{swatch:{width:s,height:s,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+s/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:l,active:u});return n.default.createElement("div",{style:f.swatch},n.default.createElement(i.Swatch,{style:f.Swatch,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,o.handleHover)(u)},xkGU:function(e,t,r){e.exports=r("bNQv")},yGk4:function(e,t,r){var n=r("Cwc5")(r("Kz5y"),"Set");e.exports=n},yHx3:function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},yOY4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r("q1tI"),i=c(a),l=c(r("/FUP")),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r("THLb")),s=c(r("Nq3d"));function c(e){return e&&e.__esModule?e:{default:e}}function f(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}var p=t.Alpha=function(e){function t(){var e,r,n;f(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.handleChange=function(e){var t=u.calculateChange(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},d(n,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)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,l.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:n({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return i.default.createElement("div",{style:r.alpha},i.default.createElement("div",{style:r.checkboard},i.default.createElement(s.default,{renderers:this.props.renderers})),i.default.createElement("div",{style:r.gradient}),i.default.createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:r.pointer},this.props.pointer?i.default.createElement(this.props.pointer,this.props):i.default.createElement("div",{style:r.slider}))))}}]),t}(a.PureComponent||a.Component);t.default=p},yP5f:function(e,t,r){var n=r("+K+b");e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},zEVN:function(e,t,r){var n=r("Gi0A"),o=r("sEf8"),a=r("mdPL"),i=a&&a.isMap,l=i?o(i):n;e.exports=l},"zP+q":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("Gv54"),a=(n=o)&&n.__esModule?n:{default:n},i=r("+kn0");t.default=function(e,t,r,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return r();a.default.required(e,t,n,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,n,l,o),a.default.range(e,t,n,l,o),a.default.pattern(e,t,n,l,o),!0===e.whitespace&&a.default.whitespace(e,t,n,l,o))}r(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/18.0a7bca42.chunk.js b/static/js/19.083e7c67.chunk.js similarity index 99% rename from static/js/18.0a7bca42.chunk.js rename to static/js/19.083e7c67.chunk.js index 5bbfd0ed8..c0d313e98 100644 --- a/static/js/18.0a7bca42.chunk.js +++ b/static/js/19.083e7c67.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[18,9],{"+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(112).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 E})),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 Q}));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),E=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),D=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),x=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),E=e.get(30);if("string"==typeof O&&/^\d+(\.\d+)?ch$/.test(O)){var D=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(D*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);E&&(n+=16);var x=0;if(h){var k=Math.max(s,f);x=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+x,W=V+n,B=i-I-x-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:x,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 Q={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 D),fontLigatures2:X(new E),fontSize:X(new x),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(119).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 E}));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,E,D,x,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={})),D=E||(E={}),x=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),D.CoreEditingCommand=x,D.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}(x))),D.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}(x))),D.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}(x))),D.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}(x))),D.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}(x)));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(101).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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&f(e,t)}(u,e);var t,n,o,a=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),_(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);y.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},y.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=y;t.default=b},"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,E,D,x,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"}(E||(E={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(D||(D={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(x||(x={})),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:x,MarkerSeverity:_,MarkerTag:b,Uri:j.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function Q(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 J,$=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}}(J||(J={}));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=Q(decodeURIComponent(e.query))}catch(n){try{t=Q(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},Ee=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),De=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}()),xe=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*De.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 xe(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"),Qe=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 Je(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Je(149417,t);for(var n=0,i=e.length;n<i;n++)t=Je(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 Qe(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 Qe(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Qe(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 Qe(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 Qe(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{(x=S+e)===C||x<w&&u[x-1]<u[x+1]?(f=(c=u[x+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=x+1-e):(f=(c=u[x-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=x-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,E=g[0]+1;if(null!==_&&_.length>0){var D=_[_.length-1];O=Math.max(O,D.getOriginalEnd()),E=Math.max(E,D.getModifiedEnd())}y=[new Qe(O,d-O+1,E,p-E+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 x;(x=S+o)===C||x<w&&l[x-1]>=l[x+1]?(f=(c=l[x+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=x+1-o):(f=(c=l[x-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=x-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 E=(S-e+(L-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,E))return s[0]=!0,o[0]=S,r[0]=L,E>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 Qe(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 D=new Int32Array(c-l+2);D[0]=v-l+1,it.Copy2(g,l,D,1,c-l+1),this.m_forwardHistory.push(D),(D=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,D,1,h-d+1),this.m_reverseHistory.push(D)}}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 Qe(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 Et(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ot.computeLinks(e):[]}var Dt=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}(),xt=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 xt(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,Et(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,Dt.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),Qt=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}(),Jt=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 Jt(this)))}catch(e){Ue(e),this._worker=new Qt(new Tt(new Jt(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 Qt(new Tt(new Jt(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],E=O.endIndex,D=O.type,x=0!==g&&D.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(D),t.appendASCII(34),x){for(var k=0,I=y,M=b;I<E;I++){var T=r.charCodeAt(I);k+=A=0|(9===T?c-M%c:1),I>=l&&(M+=A)}if(!n)!("vs-whitespace"===D)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);y<E;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<E;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 E=t>0?e.charCodeAt(t-1):0,D=t>1?e.charCodeAt(t-2):0;32===E&&32!==D&&9!==D||(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 En(e){return"string"==typeof e}function Dn(e){return!En(e)}function xn(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 xn(a)?xn(u)?!xn(l)&&l<i.length?kn(e,i[l]):!xn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!xn(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(Dn(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(_)&&Dn(_)&&_.test;)_=_.test(v,m,g,l===s);var E=null;if("string"==typeof _||Array.isArray(_))E=_;else if(_.group)E=_.group;else if(null!==_.token&&void 0!==_.token){if(E=_.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("@"===(D=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(D=D.substr(1)),!An(this._lexer,D))throw Mn(this._lexer,"trying to switch to a state '"+D+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(D)}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 D;if("@"===(D=Tn(this._lexer,_.next,v,m,g))[0]&&(D=D.substr(1)),!An(this._lexer,D))throw Mn(this._lexer,"trying to set a next state '"+D+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(D)}}_.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===E)throw Mn(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(y));if(Array.isArray(E)){if(c&&c.groups.length>0)throw Mn(this._lexer,"groups cannot be nested: "+this._safeRuleName(y));if(m.length!==E.length+1)throw Mn(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(y));for(var x=0,k=1;k<m.length;k++)x+=m[k].length;if(x!==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<E.length;k++)c.groups[k]={action:E[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===E&&(l-=v.length,v="",m=null,E=""),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(En(E)&&0===E.indexOf("@brackets")){var M=E.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(""===E?"":E+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"),Qn=n("3Rsk"),Jn=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(Qn.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(Jn.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(De.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),Ei=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 Di=0,xi=F.i;Di<xi.length;Di++){var ki=xi[Di],Ii=ki.schema;if(void 0!==Ii)if(void 0!==(Si=Ii).type||void 0!==Si.anyOf)Ei.properties["editor."+ki.name]=Ii;else for(var Mi in Ii)_i.call(Ii,Mi)&&(Ei.properties[Mi]=Ii[Mi])}var Ti=null;function Ai(){return null===Ti&&(Ti=Object.create(null),Object.keys(Ei.properties).forEach((function(e){Ti[e]=!0}))),Ti}Oi.registerConfiguration(Ei);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 Jn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Jn.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 Jn.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}(),Qi=n("nrhi"),Ji=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=Jn.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=Jn.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)}}(),Eo=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},Do=function(e,t){return function(n,i){t(n,i,e)}},xo=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,xo([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(Qi.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 Ji(d,s.command,s.commandArgs,a,t)}else n[i++]=new Ji(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=Eo([Do(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}()),Qo=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 Jo=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 Jo(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 Qo(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}(),Er=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},Dr=function(e,t){this.outsideRenderedLine=e,this.ranges=t},xr=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(xr.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 xr(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 Dr(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))})),Qr={isAfterLines:!0};function Jr(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,Qr)}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=Jr(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=Jr(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=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Jr(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=De.getZoomLevel(),i=t.deltaY>0?1:-1;De.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.")),Es=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.")),Ds=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),xs=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(Ds);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(xs);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)}}(),Qs=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),Js=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(Js.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 "+Qs.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)}}(),Ea=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 Da(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),Da=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}(),xa=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 xa((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(Es)){var i=e.getColor(Es);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),Qa=(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)}}()),Ja=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 Qa(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 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,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 Ja(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 Er(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 Ja(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 Ja(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 xa((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}(),Eu=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}(),Du=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 Eu(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 E=O*f*4,D=(O+i)*f*4,x=w*f*4,k=(w+i)*f*4;y===E&&C===x?(y=D,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=E,y=D,b=x,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 xu=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 xu(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)(x=(L+I)/2|0)<a?x=a:x+a>t&&(x=t-a),L=x-a,I=x+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,E=this._settings.x[7],D=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var x,k=this._cursorPositions[y];(x=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?x=O:x+O>t&&(x=t-O);var I=(L=x-O)+N;L>_+1?(0!==y&&u.fillRect(E,v,D,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(E,v,D,_-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 Qu=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},Ju=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 Qu(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 Qu(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 Ju(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 Ju(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 Qs(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 Du(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?Ea.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}(),El=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)}}(),Dl=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}(),xl=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 Dl(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return El(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 xl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new Dl(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return El(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 Dl(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 Dl(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 Dl(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()),E=e.viewLayout.getVerticalOffsetForLineNumber(O.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:E+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}(),Ql=Object(ue.c)("accessibilityService"),Jl=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),E=e.get(O),D=!0,x=y;x<a;x++){var k=x,I=n.charCodeAt(x),M=void 0,T=void 0;if(ne.x(I)?(x++,M=0,T=2):(M=e.get(I),T=sc(I,N,i,r)),uc(O,E,I,M)&&(C=k,w=N),(N+=T)>g){S=k,L=N-T,N-w>d&&(C=0),D=!1;break}O=I,E=M}if(D){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(x=y-1;x>=0;x--){k=x+1;if(9===(O=n.charCodeAt(x))){A=!0;break}E=void 0;var R=void 0;if(ne.y(O)?(x--,E=0,R=2):(E=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,E,I,M)){C=k,w=N;break}}N-=R,I=O,M=E}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),E=[];for(s=0;s<e.length;s++){var D=O[s],x=hc(N,D,f[s],p[s]);if(null!==x){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=x.length;M<a;M++)I[M]=k[x[M]];if(0!==v)for(M=0,a=x.length;M<a;M++)x[M]+=v;E[s]=new Tl(x,I,_)}else E[s]=null}return document.body.removeChild(l),E}(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 Ea(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,Ql)],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 Ec=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Dc=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,'+(Ec+encodeURIComponent(l.toString())+Dc+'") 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 xc=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,E=C+3-1,D=w+3-1;if(E>S)E+=O=S-E,D+=O;if(D>L)E+=O=L-D,D+=O;h[f++]=new Uc(C,E,w,D),i[o++]=new Kc(h)}var x=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=x[x.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(x[x.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),x=x.concat(M.slice(1))):(k[I++]=new Kc(x),x=M)}return k[I++]=new Kc(x),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=(D=u[p]).originalLineStart,v=D.originalLineEnd,_=D.modifiedLineStart,y=D.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 E=h;for(p=0,g=u.length;p<g;p++){var D=u[p];t._renderSection(l,D,E,this._width,e,i,r,n,o,s),0!==D.modifiedLineStart&&(E=D.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 E=document.createElement("div");E.className="diff-review-cell",O.appendChild(E);var D=document.createElement("span");D.style.width=b+"px",D.style.minWidth=b+"px",D.className="diff-review-line-number"+h,0!==L?D.appendChild(document.createTextNode(String(L))):D.innerHTML=" ",E.appendChild(D);var x=document.createElement("span");x.style.width=w+"px",x.style.minWidth=w+"px",x.style.paddingRight="10px",x.className="diff-review-line-number"+h,0!==N?x.appendChild(document.createTextNode(String(N))):x.innerHTML=" ",E.appendChild(x);var k=document.createElement("span");k.className=f,k.innerHTML="  ",E.appendChild(k);var I=void 0;0!==N?(E.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,N)),I=u.getLineContent(N)):(E.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"),Qc=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)}}(),Jc=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 Jc(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 Jc(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 Jc(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 Qc(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 xc.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},Ed=0,Dd=!1;var xd=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,Dd||(Dd=!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_"+ ++Ed,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,Ql)],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,Ql)],t)}(xd),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(xd,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=J.parseMetaData(e).get(J.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"),Qd=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)}}(),Jd=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 Qd(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=Jd([$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 Qd(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 Qd(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 Qd(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,E=0;y<S;){var D=5*y,x=l[D],k=l[D+1],I=b+x,M=0===x?C+k:k,T=l[D+2],A=l[D+3],R=l[D+4],P=i.getMetadata(A,R);2147483647!==P&&(0===E&&(E=I),c[O]=I-E,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(E,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 Eh(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 xh,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 Dh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,xh=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(Dh);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 Eh(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)}},Qh=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}(),Jh=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}(Qh),$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(Jn.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}(Qh),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?Jh.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?Jh.INSTANCE:this._contexts.get(e)||Jh.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 Qh(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?Jh.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"),Ef=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)}}(),Df=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},xf=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 Ef(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=Df([xf(0,Of.a),xf(1,lo.a),xf(2,Xc.b),xf(3,Cd.a),xf(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 Qf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Jf(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=Jf({start:0,end:e},this.groups),r=Jf({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 Jn.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 Ep,Dp=Op(),xp=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);xp[l][c]=f;var p=Dp[l-1][c-1]+(f>1?1:f),g=Dp[l-1][c]+-1,m=Dp[l][c-1]+-1;m>=g?m>p?(Dp[l][c]=m,kp[l][c]=4):m===p?(Dp[l][c]=m,kp[l][c]=6):(Dp[l][c]=p,kp[l][c]=2):g>p?(Dp[l][c]=g,kp[l][c]=1):g===p?(Dp[l][c]=g,kp[l][c]=3):(Dp[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=xp[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]}}(Ep||(Ep={}));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 Qp=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}()),Jp=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||Qp;this.typeLabelController=new Jp(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 Qf(this.user,"Invalid start index: "+e);if(t<0)throw new Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Eg(e){return e instanceof ap?new Og(e):e}var Dg=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(Eg(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Eg(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(Eg(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var xg,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"}(xg||(xg={}));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!==xg.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:Ep.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Ep.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:Ep.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!Ep.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||!Ep.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(Jn.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 Dg(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||Qp;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===xg.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===xg.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]},Qg=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 Jg=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 Qg(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 Jg(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(Jn.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),Em=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)}}(),Dm=function(){return(Dm=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)},xm=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=xm([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 Em(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 Em(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}Em(t,e),t=xm([km(5,Zi.c),km(6,Im),km(7,Ir.c),km(8,Pi),km(9,Cd.a),km(10,Ql)],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}Em(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=xm([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Ql)],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}Em(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=xm([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Ql)],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}Em(t,e),t=xm([km(7,Zi.c),km(8,Im),km(9,Ir.c),km(10,Pi),km(11,Cd.a),km(12,Ql)],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=Dm({},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:Dm(Dm({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=xm([km(4,Zi.c),km(5,Im),km(6,Ir.c),km(7,Pi),km(8,Ql)],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 Qm,Jm,$m=Object(ue.c)("markerService");(Jm=Qm||(Qm={})).get=function(e,t,n){if(e[t])return e[t][n]},Jm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Jm.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=Qm.remove(this._byResource,n.toString(),t),r=Qm.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)}Qm.set(this._byResource,n.toString(),t,s),Qm.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=Qm.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(Jn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Jn.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=Jl.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(Ql,(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(Ql))}))}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 Ee(e,t)}function Ov(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Ev(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 Dv(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function xv(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 xn(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 Qv(){var e=[];return e=e.concat(Hd.getLanguages())}function Jv(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 E_(e,t){return Re.j.register(e,t)}var D_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var x_=G();x_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Ev,setModelLanguage:Dv,setModelMarkers:xv,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:D,ScrollType:E,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},x_.languages={register:Xv,getLanguages:Qv,onLanguage:$v,getEncodedLanguageId:Jv,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:E_,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:I,SymbolTag:M,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var k_=x_.CancellationTokenSource,I_=x_.Emitter,M_=x_.KeyCode,T_=x_.KeyMod,A_=x_.Position,R_=x_.Range,P_=x_.Selection,F_=x_.SelectionDirection,V_=x_.MarkerSeverity,W_=x_.MarkerTag,B_=x_.Uri,j_=x_.Token,H_=x_.editor,z_=x_.languages;D_.monaco=x_,void 0!==D_.require&&"function"==typeof D_.require.config&&D_.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(108).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(92).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")},"9yH6":function(e,t,n){"use strict";n.r(t);var i=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var r=n("KNH7");n.d(t,"Button",(function(){return r.a})),i.a.Button=r.a,i.a.Group=o.a,t.default=i.a},"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(104).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(145).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)}},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("W9HT")),o=g(n("2/Rp")),r=g(n("CtXQ")),s=g(n("9yH6")),a=g(n("Vl3Y")),u=g(n("5rEg")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),d=g(c),h=n("sYIF"),f=n("eO8H");n("XmZk");var p=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var m=u.default.TextArea,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.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,i=e.content,o=e.editor_type,r=n.props.match.params,s=r.branch,a=r.projectsId,u=r.owner,l=n.state,c=l.submitType,d=l.filename;n.setState({isSpin:!0});var h="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+a+"/create_file.json";p.default.post(o,{filepath:d||h,branch:s,new_branch:"1"===c?t.branchname:void 0,content:i,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var i=n.props.getTopCount;i&&i(t.branchname)}var o="/projects/"+u+"/"+a+(t.branchname?"/branch/"+t.branchname:s?"/branch/"+s:"");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,i=e.detail,o=e.content,r=e.currentBranch,s=n.props.match.params,a=s.projectsId,u=s.owner,l=n.state.submitType,c="/"+u+"/"+a+"/update_file.json";n.props.form.validateFieldsAndScroll((function(e,s){e?n.setState({isSpin:!1}):p.default.put(c,{filepath:i.path,branch:"1"===l?void 0:r||t,new_branch:"1"===l?s.branchname:void 0,content:o,sha:i.sha,message:s.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var i="/projects/"+u+"/"+a+(s.branchname?"/branch/"+s.branchname:r||t?"/branch/"+(r||t):"");n.props.history.push(i),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),l(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,l=t.filename,c=t.isSpin,p=this.props.form.getFieldDecorator,g=this.props.match.params,v=g.branch,_=g.projectsId,y=g.owner,b=this.props,C=b.current_user,w=b.filepath,S=b.projectDetail,L=b.currentBranch,N=this.props.editor_type;return d.default.createElement("div",null,d.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},d.default.createElement(f.Link,{to:"/users/"+(C&&C.login),className:"show-user-link"},d.default.createElement("img",{src:(0,h.getImageUrl)("images/"+(C&&C.image_url)),alt:"",className:"screwImg"}),d.default.createElement("span",{className:"color-grey-3 ver-middle"},C&&C.username,":")),d.default.createElement("span",{className:"color-grey-8"},"提交变更")),d.default.createElement(i.default,{spinning:c},d.default.createElement("div",{className:"userScrew"},d.default.createElement("div",{className:"screwPanel"},d.default.createElement(a.default,null,d.default.createElement(a.default.Item,{style:{display:"upload"===N?"block":"none"}},p("path",{rules:[]})(d.default.createElement("div",{className:"setInputAddon"},d.default.createElement(u.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:l||w,onChange:this.changeFileName,placeholder:"文件路径..."})))),d.default.createElement(a.default.Item,null,p("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(d.default.createElement(m,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),d.default.createElement(s.default.Group,{value:n,onChange:this.changeSubmittype},d.default.createElement(s.default,{value:"0",className:"mb10"},d.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",d.default.createElement("span",{className:"color-orange"},L||v),"分支"),d.default.createElement(s.default,{value:"1"},d.default.createElement(r.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",d.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?d.default.createElement("div",{className:"mt15"},d.default.createElement(a.default.Item,{style:{paddingLeft:"24px"}},p("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(d.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),d.default.createElement("div",{className:"mt20"},d.default.createElement(o.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),d.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+y+"/"+_)},className:"mr20"},"取消"))))}}]),t}(c.Component),_=a.default.create({name:"UserSubmitForm"})(v);t.default=_},"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(107).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(146).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(143).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 E})),n.d(t,"K",(function(){return D})),n.d(t,"S",(function(){return x})),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 J})),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 Ee})),n.d(t,"M",(function(){return De})),n.d(t,"x",(function(){return xe})),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),E=S.removeClass.bind(S),D=S.removeClasses.bind(S),x=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 Q(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new Q(t,n)}if(window.innerWidth&&window.innerHeight)return new Q(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Q(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Q(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}(),Q=function(e,t){this.width=e,this.height=t};function J(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 Ee(){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 De(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 xe(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(116).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)}}(),E=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},D=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 E(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}(),x=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=D.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}(x),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(x),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(139).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(135).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(123).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(110).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(125).then(n.bind(null,"W1QP"))}})},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(){}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},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}()},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("q1tI"),o=n("17x9"),r=n("oOh1"),s=n("H84U");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(v,e);var t,n,o,a,m=(t=v,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function v(){var e;return l(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,s=o.prefixCls,a=g(o,["prefixCls"]),l=n("radio-button",s);return e.context.radioGroup&&(a.checked=e.props.value===e.context.radioGroup.value,a.disabled=e.props.disabled||e.context.radioGroup.disabled),i.createElement(r.a,u({prefixCls:l},a))},e}return n=v,(o=[{key:"render",value:function(){return i.createElement(s.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),a&&c(n,a),v}(i.Component);m.contextTypes={radioGroup:o.any}},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(142).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(111).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 E})),n.d(t,"Z",(function(){return D})),n.d(t,"bb",(function(){return x})),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 Q})),n.d(t,"x",(function(){return J})),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 Ee})),n.d(t,"ob",(function(){return De})),n.d(t,"mb",(function(){return xe})),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 Je}));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 Je(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.")),E=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),D=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),x=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.")),Q=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.")),J=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:Qe(re,$,.3,.6),dark:Qe(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=Je(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.")),Ee=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.")),De=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.")),xe=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=Je(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Je(e,n);if(i)return i.transparent(t)}}function Qe(e,t,n,i){return function(r){var s=Je(e,r);if(s){var a=Je(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 Je(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(129).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(138).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 E})),n.d(t,"C",(function(){return x})),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 E(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 D(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 x(e,t){var n=q.getInstance(),i=t,o=e.length,r=E(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=E(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=D(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=D(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(102).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}},PgMy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("2fM7")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("8QGh");var r=n("q1tI"),s=a(r);a(n("vDqi"));function a(e){return e&&e.__esModule?e:{default:e}}var u=i.default.Option,l=["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,a=(0,r.useState)(void 0),c=o(a,2);c[0],c[1];return s.default.createElement(i.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:t,onChange:function(e){n(e)}},s.default.createElement(u,{value:void 0},"请选择文本语言"),l&&l.map((function(e,t){return s.default.createElement(u,{value:e},e)})))}},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(118).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(131).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}()},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("q1tI"),s=l(r),a=l(n("gL5p")),u=l(n("BtkW"));function l(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.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content},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.state.editorValue,t=this.props,n=t.readOnly,o=t.editorType,r=t.language,l=t.currentBranch,c={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:n,cursorStyle:n?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",null,s.default.createElement("div",{className:"branchTable"},s.default.createElement(a.default,{height:"400px",language:r||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:e,options:c,onChange:this.changeEditor,editorWillMount:this.editorWillMount})),!n&&s.default.createElement(u.default,i({},this.props,this.state,{filepath:""+this.props.filepath,content:e,editor_type:o,currentBranch:l}))))}}]),t}(r.Component);t.default=c},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},"SiX+":function(e,t,n){"use strict";var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("Gytx"),u=n.n(a),l=n("VCL8"),c=n("oOh1"),d=n("H84U");function h(e){return(h="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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){var t=null,n=!1;return i.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,r,a=(t=l,function(){var e,n=_(t);if(v()){var i=_(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onRadioChange=function(e){var n=t.state.value,i=e.target.value;"value"in t.props||t.setState({value:i});var o=t.props.onChange;o&&i!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,r=o.prefixCls,a=o.className,u=void 0===a?"":a,l=o.options,d=o.buttonStyle,h=n("radio",r),f="".concat(h,"-group"),p=s()(f,"".concat(f,"-").concat(d),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(f,"-").concat(o.size),o.size),u),g=o.children;return l&&l.length>0&&(g=l.map((function(e){return"string"==typeof e?i.createElement(c.a,{key:e,prefixCls:h,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):i.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:h,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),i.createElement("div",{className:p,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},g)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=y(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=y(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&f(n.prototype,o),r&&f(n,r),l}(i.Component);b.defaultProps={buttonStyle:"outline"},b.childContextTypes={radioGroup:o.any},Object(l.polyfill)(b),t.a=b},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(109).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(134).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")},XmZk:function(e,t,n){},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(117).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(130).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(93).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(137).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(91).then(n.bind(null,"7Xl7"))}})},eC1c:function(e,t,n){},eacs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n("5rEg")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("1vPl");var s=n("q1tI"),a=c(s),u=c(n("R/Rt"));n("XmZk");var l=c(n("PgMy"));function c(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.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),r(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,n=t.filename,r=t.language,s=e.split("newfile")[1],c=s+"/"+n,d=this.props.projectDetail;return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"main"},a.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"新建文件"),a.default.createElement("div",null,a.default.createElement("div",{className:"grid-item mb20"},a.default.createElement("div",{className:"grid-item"},a.default.createElement("div",{className:"setInputAddon"},a.default.createElement(i.default,{addonBefore:"/"+(d&&d.identifier)+s+"/",value:n,onChange:this.changeFileName,placeholder:"命名文件..."})),a.default.createElement("a",{onClick:this.CancelAddFile,className:"color-blue"},"取消")),a.default.createElement("div",{className:"text-right"},a.default.createElement(l.default,{language:r,select_language:this.select_language}))),a.default.createElement(u.default,o({},this.props,this.state,{filepath:""+c,language:r,content:void 0,readOnly:!1,editorType:"new"})))))}}]),t}(s.Component);t.default=d},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)},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(14).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(14).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(113).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(128).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(133).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(126).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}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)}(u,e);var t,n,o,a=g(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),y(v(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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(105).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(115).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(103).then(n.bind(null,"7s2V"))}})},lr0e:function(e,t,n){},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(144).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(122).then(n.bind(null,"HGU1"))}})},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("q1tI"),o=n("17x9"),r=n("x1Ya"),s=n("TSYQ"),a=n.n(s),u=n("Gytx"),l=n.n(u),c=n("H84U");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 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 f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(d,e);var t,n,o,s,u=(t=d,function(){var e,n=b(t);if(y()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return v(this,e)});function d(){var e;return p(this,d),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,s=_(e),u=s.props,l=s.context,c=u.prefixCls,d=u.className,p=u.children,g=u.style,m=C(u,["prefixCls","className","children","style"]),v=l.radioGroup,y=o("radio",c),b=f({},m);v&&(b.name=v.name,b.onChange=e.onChange,b.checked=u.value===v.value,b.disabled=u.disabled||v.disabled);var w=a()(d,(h(n={},"".concat(y,"-wrapper"),!0),h(n,"".concat(y,"-wrapper-checked"),b.checked),h(n,"".concat(y,"-wrapper-disabled"),b.disabled),n));return i.createElement("label",{className:w,style:g,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},i.createElement(r.a,f({},b,{prefixCls:y,ref:e.saveCheckbox})),void 0!==p?i.createElement("span",null,p):null)},e}return n=d,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderRadio)}}])&&g(n.prototype,o),s&&g(n,s),d}(i.Component);w.defaultProps={type:"radio"},w.contextTypes={radioGroup:o.any}},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}(),E=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 D,x=n("T8No"),k=new x.d("findWidgetVisible",!1),I=new x.d("findInputFocussed",!1),M=new x.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",Q="editor.action.selectAllMatches",J=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 E(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=(D=function(e,t){return(D=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}D(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!==Ee(r.peek());if(a&&(s=r.next()),a||0===Ee(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=Ee(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 Ee(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var De=n("WqXY"),xe=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 xe.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 De.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 x.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new x.d("historyNavigationEnabled",!0).bindTo(n)}}var 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,x.c)],t)}(We),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,x.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(x.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(x.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 Qe(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 Je(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"),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)}}(),Dt=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},xt=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 Et(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 J(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=Dt([xt(1,x.c),xt(2,Nt.a),xt(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 Et(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=Dt([xt(1,wt.b),xt(2,x.c),xt(3,Lt.a),xt(4,v.c),xt(5,Ot.a),xt(6,Nt.a),xt(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 Et(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 Et(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 Et(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 Et(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:x.a.and(u.a.focus,I),primary:3,weight:100}})||this}return Et(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 Et(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:x.a.and(u.a.focus,I),primary:1027,weight:100}})||this}return Et(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 Et(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 Et(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 Et(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 Et(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:x.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:x.a.and(u.a.focus,M),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:Q,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(106).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(94).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(132).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(121).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 E(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function D(e,t){e.metadata=207&e.metadata|t<<4}function x(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),D(this,1),E(this,!1),x(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),D(this,this.options.stickiness),E(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),x(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 Q(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 J(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,Q(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,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(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,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(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&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(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&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(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"),Ee=n("QRHv"),De=n("MNsG"),xe=(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(Ee.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 xe(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()&&De.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new Ee.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 Ee.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 Ee.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 Ee.d,l._tokens2=new Ee.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(Ee.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,E=[],D=0;D<N;D++){var x=O+D;E[x-O]=this.getLineContent(x)}a.push(new _e(L+1,p+v,E))}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,Je(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:Qe[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(Qe[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=Je(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,E=void 0;(O=this._computeIndentLevel(L-1))>=0?(h=L-1,f=O,E=Math.ceil(O/this._options.indentSize)):(m(L),E=this._getIndentLevelForWhitespaceLine(s,f,g)),E>=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 Qe=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Je(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 E})),n.d(t,"l",(function(){return D})),n.d(t,"h",(function(){return x})),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,E=new g,D=new g,x=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(141).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},vXNv: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(140).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(127).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"))},x1Ya:function(e,t,n){"use strict";var i=n("jo6Y"),o=n.n(i),r=n("QbLZ"),s=n.n(r),a=n("iCc5"),u=n.n(a),l=n("FYw3"),c=n.n(l),d=n("mRg0"),h=n.n(d),f=n("q1tI"),p=n.n(f),g=n("17x9"),m=n.n(g),v=n("TSYQ"),_=n.n(v),y=n("VCL8"),b=function(e){function t(n){u()(this,t);var i=c()(this,e.call(this,n));i.handleChange=function(e){var t=i.props,n=t.disabled,o=t.onChange;n||("checked"in i.props||i.setState({checked:e.target.checked}),o&&o({target:s()({},i.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},i.saveInput=function(e){i.input=e};var o="checked"in n?n.checked:n.defaultChecked;return i.state={checked:o},i}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?s()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,i=t.className,r=t.style,a=t.name,u=t.id,l=t.type,c=t.disabled,d=t.readOnly,h=t.tabIndex,f=t.onClick,g=t.onFocus,m=t.onBlur,v=t.autoFocus,y=t.value,b=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),C=Object.keys(b).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e}),{}),w=this.state.checked,S=_()(n,i,((e={})[n+"-checked"]=w,e[n+"-disabled"]=c,e));return p.a.createElement("span",{className:S,style:r},p.a.createElement("input",s()({name:a,id:u,type:l,readOnly:d,disabled:c,tabIndex:h,className:n+"-input",checked:!!w,onClick:f,onFocus:g,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:y},C)),p.a.createElement("span",{className:n+"-inner"}))},t}(f.Component);b.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},b.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(y.polyfill)(b);var C=b;t.a=C},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(120).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(136).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(124).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(147).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(114).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([[19,9],{"+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(113).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 E})),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 Q}));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),E=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),D=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),x=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),E=e.get(30);if("string"==typeof O&&/^\d+(\.\d+)?ch$/.test(O)){var D=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(D*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);E&&(n+=16);var x=0;if(h){var k=Math.max(s,f);x=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+x,W=V+n,B=i-I-x-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:x,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 Q={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 D),fontLigatures2:X(new E),fontSize:X(new x),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(120).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 E}));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,E,D,x,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={})),D=E||(E={}),x=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),D.CoreEditingCommand=x,D.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}(x))),D.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}(x))),D.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}(x))),D.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}(x))),D.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}(x)));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(102).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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&f(e,t)}(u,e);var t,n,o,a=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),_(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);y.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},y.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=y;t.default=b},"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,E,D,x,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"}(E||(E={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(D||(D={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(x||(x={})),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:x,MarkerSeverity:_,MarkerTag:b,Uri:j.a,Token:K.a}}n("siPX");var Y=n("Vxe3"),Z=n("EffR"),X=n("24hK");function Q(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 J,$=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}}(J||(J={}));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=Q(decodeURIComponent(e.query))}catch(n){try{t=Q(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},Ee=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),De=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}()),xe=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*De.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 xe(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"),Qe=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 Je(e,t){return(t<<5)-t+e|0}function $e(e,t){t=Je(149417,t);for(var n=0,i=e.length;n<i;n++)t=Je(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 Qe(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 Qe(e,0,n,i-n+1)]):e<=t?(nt.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),r=[new Qe(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 Qe(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 Qe(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{(x=S+e)===C||x<w&&u[x-1]<u[x+1]?(f=(c=u[x+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=x+1-e):(f=(c=u[x-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=x-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,E=g[0]+1;if(null!==_&&_.length>0){var D=_[_.length-1];O=Math.max(O,D.getOriginalEnd()),E=Math.max(E,D.getModifiedEnd())}y=[new Qe(O,d-O+1,E,p-E+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 x;(x=S+o)===C||x<w&&l[x-1]>=l[x+1]?(f=(c=l[x+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=x+1-o):(f=(c=l[x-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=x-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 E=(S-e+(L-n)-w)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(S,E))return s[0]=!0,o[0]=S,r[0]=L,E>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 Qe(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 D=new Int32Array(c-l+2);D[0]=v-l+1,it.Copy2(g,l,D,1,c-l+1),this.m_forwardHistory.push(D),(D=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,D,1,h-d+1),this.m_reverseHistory.push(D)}}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 Qe(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 Et(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?Ot.computeLinks(e):[]}var Dt=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}(),xt=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 xt(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,Et(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,Dt.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),Qt=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}(),Jt=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 Jt(this)))}catch(e){Ue(e),this._worker=new Qt(new Tt(new Jt(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 Qt(new Tt(new Jt(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],E=O.endIndex,D=O.type,x=0!==g&&D.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(D),t.appendASCII(34),x){for(var k=0,I=y,M=b;I<E;I++){var T=r.charCodeAt(I);k+=A=0|(9===T?c-M%c:1),I>=l&&(M+=A)}if(!n)!("vs-whitespace"===D)&&o||(t.appendASCIIString(' style="display:inline-block;width:'),t.appendASCIIString(String(f*k)),t.appendASCIIString('px"'));for(t.appendASCII(62);y<E;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<E;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 E=t>0?e.charCodeAt(t-1):0,D=t>1?e.charCodeAt(t-2):0;32===E&&32!==D&&9!==D||(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 En(e){return"string"==typeof e}function Dn(e){return!En(e)}function xn(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 xn(a)?xn(u)?!xn(l)&&l<i.length?kn(e,i[l]):!xn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!xn(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(Dn(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(_)&&Dn(_)&&_.test;)_=_.test(v,m,g,l===s);var E=null;if("string"==typeof _||Array.isArray(_))E=_;else if(_.group)E=_.group;else if(null!==_.token&&void 0!==_.token){if(E=_.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("@"===(D=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(D=D.substr(1)),!An(this._lexer,D))throw Mn(this._lexer,"trying to switch to a state '"+D+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(D)}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 D;if("@"===(D=Tn(this._lexer,_.next,v,m,g))[0]&&(D=D.substr(1)),!An(this._lexer,D))throw Mn(this._lexer,"trying to set a next state '"+D+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(D)}}_.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===E)throw Mn(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(y));if(Array.isArray(E)){if(c&&c.groups.length>0)throw Mn(this._lexer,"groups cannot be nested: "+this._safeRuleName(y));if(m.length!==E.length+1)throw Mn(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(y));for(var x=0,k=1;k<m.length;k++)x+=m[k].length;if(x!==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<E.length;k++)c.groups[k]={action:E[k],matched:m[k+1]};l-=v.length}else{if("@rematch"===E&&(l-=v.length,v="",m=null,E=""),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(En(E)&&0===E.indexOf("@brackets")){var M=E.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(""===E?"":E+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"),Qn=n("3Rsk"),Jn=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(Qn.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(Jn.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(De.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),Ei=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 Di=0,xi=F.i;Di<xi.length;Di++){var ki=xi[Di],Ii=ki.schema;if(void 0!==Ii)if(void 0!==(Si=Ii).type||void 0!==Si.anyOf)Ei.properties["editor."+ki.name]=Ii;else for(var Mi in Ii)_i.call(Ii,Mi)&&(Ei.properties[Mi]=Ii[Mi])}var Ti=null;function Ai(){return null===Ti&&(Ti=Object.create(null),Object.keys(Ei.properties).forEach((function(e){Ti[e]=!0}))),Ti}Oi.registerConfiguration(Ei);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 Jn.b),void 0===r&&(r=new Ui),void 0===s&&(s=new Jn.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 Jn.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}(),Qi=n("nrhi"),Ji=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=Jn.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=Jn.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)}}(),Eo=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},Do=function(e,t){return function(n,i){t(n,i,e)}},xo=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,xo([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(Qi.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 Ji(d,s.command,s.commandArgs,a,t)}else n[i++]=new Ji(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=Eo([Do(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}()),Qo=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 Jo=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 Jo(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 Qo(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}(),Er=function(e,t){this.outsideRenderedLine=e,this.left=Math.round(t)},Dr=function(e,t){this.outsideRenderedLine=e,this.ranges=t},xr=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(xr.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 xr(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 Dr(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))})),Qr={isAfterLines:!0};function Jr(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,Qr)}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=Jr(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=Jr(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=Jr(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new H.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=Jr(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=De.getZoomLevel(),i=t.deltaY>0?1:-1;De.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.")),Es=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.")),Ds=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),xs=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(Ds);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(xs);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)}}(),Qs=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),Js=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(Js.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 "+Qs.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)}}(),Ea=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 Da(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),Da=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}(),xa=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 xa((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(Es)){var i=e.getColor(Es);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),Qa=(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)}}()),Ja=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 Qa(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 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,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 Ja(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 Er(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 Ja(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 Ja(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 xa((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}(),Eu=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}(),Du=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 Eu(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 E=O*f*4,D=(O+i)*f*4,x=w*f*4,k=(w+i)*f*4;y===E&&C===x?(y=D,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=E,y=D,b=x,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 xu=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 xu(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)(x=(L+I)/2|0)<a?x=a:x+a>t&&(x=t-a),L=x-a,I=x+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,E=this._settings.x[7],D=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var x,k=this._cursorPositions[y];(x=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?x=O:x+O>t&&(x=t-O);var I=(L=x-O)+N;L>_+1?(0!==y&&u.fillRect(E,v,D,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(E,v,D,_-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 Qu=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},Ju=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 Qu(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 Qu(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 Ju(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 Ju(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 Qs(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 Du(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?Ea.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}(),El=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)}}(),Dl=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}(),xl=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 Dl(0,0,0,0),i._scrollable=i._register(new Sl.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return El(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 xl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new Dl(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return El(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 Dl(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 Dl(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 Dl(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()),E=e.viewLayout.getVerticalOffsetForLineNumber(O.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:E+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}(),Ql=Object(ue.c)("accessibilityService"),Jl=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),E=e.get(O),D=!0,x=y;x<a;x++){var k=x,I=n.charCodeAt(x),M=void 0,T=void 0;if(ne.x(I)?(x++,M=0,T=2):(M=e.get(I),T=sc(I,N,i,r)),uc(O,E,I,M)&&(C=k,w=N),(N+=T)>g){S=k,L=N-T,N-w>d&&(C=0),D=!1;break}O=I,E=M}if(D){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(x=y-1;x>=0;x--){k=x+1;if(9===(O=n.charCodeAt(x))){A=!0;break}E=void 0;var R=void 0;if(ne.y(O)?(x--,E=0,R=2):(E=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,E,I,M)){C=k,w=N;break}}N-=R,I=O,M=E}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),E=[];for(s=0;s<e.length;s++){var D=O[s],x=hc(N,D,f[s],p[s]);if(null!==x){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=x.length;M<a;M++)I[M]=k[x[M]];if(0!==v)for(M=0,a=x.length;M<a;M++)x[M]+=v;E[s]=new Tl(x,I,_)}else E[s]=null}return document.body.removeChild(l),E}(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 Ea(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,Ql)],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 Ec=encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="3" width="12"><g fill="'),Dc=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,'+(Ec+encodeURIComponent(l.toString())+Dc+'") 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 xc=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,E=C+3-1,D=w+3-1;if(E>S)E+=O=S-E,D+=O;if(D>L)E+=O=L-D,D+=O;h[f++]=new Uc(C,E,w,D),i[o++]=new Kc(h)}var x=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=x[x.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(x[x.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),x=x.concat(M.slice(1))):(k[I++]=new Kc(x),x=M)}return k[I++]=new Kc(x),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=(D=u[p]).originalLineStart,v=D.originalLineEnd,_=D.modifiedLineStart,y=D.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 E=h;for(p=0,g=u.length;p<g;p++){var D=u[p];t._renderSection(l,D,E,this._width,e,i,r,n,o,s),0!==D.modifiedLineStart&&(E=D.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 E=document.createElement("div");E.className="diff-review-cell",O.appendChild(E);var D=document.createElement("span");D.style.width=b+"px",D.style.minWidth=b+"px",D.className="diff-review-line-number"+h,0!==L?D.appendChild(document.createTextNode(String(L))):D.innerHTML=" ",E.appendChild(D);var x=document.createElement("span");x.style.width=w+"px",x.style.minWidth=w+"px",x.style.paddingRight="10px",x.className="diff-review-line-number"+h,0!==N?x.appendChild(document.createTextNode(String(N))):x.innerHTML=" ",E.appendChild(x);var k=document.createElement("span");k.className=f,k.innerHTML="  ",E.appendChild(k);var I=void 0;0!==N?(E.insertAdjacentHTML("beforeend",this._renderLine(u,a,l.tabSize,N)),I=u.getLineContent(N)):(E.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"),Qc=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)}}(),Jc=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 Jc(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 Jc(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 Jc(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 Qc(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 xc.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},Ed=0,Dd=!1;var xd=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,Dd||(Dd=!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_"+ ++Ed,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,Ql)],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,Ql)],t)}(xd),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(xd,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=J.parseMetaData(e).get(J.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"),Qd=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)}}(),Jd=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 Qd(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=Jd([$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 Qd(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 Qd(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 Qd(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,E=0;y<S;){var D=5*y,x=l[D],k=l[D+1],I=b+x,M=0===x?C+k:k,T=l[D+2],A=l[D+3],R=l[D+4],P=i.getMetadata(A,R);2147483647!==P&&(0===E&&(E=I),c[O]=I-E,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(E,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 Eh(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 xh,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 Dh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,xh=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(Dh);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 Eh(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)}},Qh=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}(),Jh=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}(Qh),$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(Jn.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}(Qh),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?Jh.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?Jh.INSTANCE:this._contexts.get(e)||Jh.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 Qh(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?Jh.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"),Ef=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)}}(),Df=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},xf=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 Ef(t,e),t.prototype.configure=function(e){this.contextMenuHandler.configure(e)},t.prototype.showContextMenu=function(e){this.contextMenuHandler.showContextMenu(e),this._onDidContextMenu.fire()},t=Df([xf(0,Of.a),xf(1,lo.a),xf(2,Xc.b),xf(3,Cd.a),xf(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 Qf=function(e){function t(t,n){return e.call(this,"ListError ["+t+"] "+n)||this}return Xf(t,e),t}(Error);function Jf(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=Jf({start:0,end:e},this.groups),r=Jf({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 Jn.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 Ep,Dp=Op(),xp=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);xp[l][c]=f;var p=Dp[l-1][c-1]+(f>1?1:f),g=Dp[l-1][c]+-1,m=Dp[l][c-1]+-1;m>=g?m>p?(Dp[l][c]=m,kp[l][c]=4):m===p?(Dp[l][c]=m,kp[l][c]=6):(Dp[l][c]=p,kp[l][c]=2):g>p?(Dp[l][c]=g,kp[l][c]=1):g===p?(Dp[l][c]=g,kp[l][c]=3):(Dp[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=xp[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]}}(Ep||(Ep={}));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 Qp=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}()),Jp=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||Qp;this.typeLabelController=new Jp(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 Qf(this.user,"Invalid start index: "+e);if(t<0)throw new Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Qf(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 Eg(e){return e instanceof ap?new Og(e):e}var Dg=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(Eg(e),t)},e.prototype.onDragOver=function(e,t,n,i,o){var r=this;void 0===o&&(o=!0);var s=this.dnd.onDragOver(Eg(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(Eg(e),t&&t.element,n,i)},e.prototype.onDragEnd=function(e){this.dnd.onDragEnd&&this.dnd.onDragEnd(e)},e}();var xg,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"}(xg||(xg={}));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!==xg.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:Ep.Default,visibility:!0};var i=this.keyboardNavigationLabelProvider.getKeyboardNavigationLabel(e),o=i&&i.toString();if(void 0===o)return{data:Ep.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:Ep.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!Ep.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||!Ep.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(Jn.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 Dg(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||Qp;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===xg.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===xg.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]},Qg=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 Jg=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 Qg(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 Jg(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(Jn.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),Em=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)}}(),Dm=function(){return(Dm=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)},xm=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=xm([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 Em(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 Em(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}Em(t,e),t=xm([km(5,Zi.c),km(6,Im),km(7,Ir.c),km(8,Pi),km(9,Cd.a),km(10,Ql)],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}Em(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=xm([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Ql)],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}Em(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=xm([km(6,Zi.c),km(7,Im),km(8,Ir.c),km(9,Pi),km(10,Cd.a),km(11,Ql)],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}Em(t,e),t=xm([km(7,Zi.c),km(8,Im),km(9,Ir.c),km(10,Pi),km(11,Cd.a),km(12,Ql)],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=Dm({},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:Dm(Dm({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=xm([km(4,Zi.c),km(5,Im),km(6,Ir.c),km(7,Pi),km(8,Ql)],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 Qm,Jm,$m=Object(ue.c)("markerService");(Jm=Qm||(Qm={})).get=function(e,t,n){if(e[t])return e[t][n]},Jm.set=function(e,t,n,i){e[t]||(e[t]=Object.create(null)),e[t][n]=i},Jm.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=Qm.remove(this._byResource,n.toString(),t),r=Qm.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)}Qm.set(this._byResource,n.toString(),t,s),Qm.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=Qm.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(Jn.d)(n._markersData),[]),n._markersData.clear()}))),n}return uv(t,e),t.prototype.update=function(e,t){var n=Object(Jn.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=Jl.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(Ql,(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(Ql))}))}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 Ee(e,t)}function Ov(e,t,n){return hv.modelService.get().createModel(e,t,n)}function Ev(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 Dv(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function xv(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 xn(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 Qv(){var e=[];return e=e.concat(Hd.getLanguages())}function Jv(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 E_(e,t){return Re.j.register(e,t)}var D_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var x_=G();x_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Ev,setModelLanguage:Dv,setModelMarkers:xv,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:D,ScrollType:E,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},x_.languages={register:Xv,getLanguages:Qv,onLanguage:$v,getEncodedLanguageId:Jv,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:E_,DocumentHighlightKind:d,CompletionItemKind:r,CompletionItemTag:s,CompletionItemInsertTextRule:o,SymbolKind:I,SymbolTag:M,IndentAction:m,CompletionTriggerKind:a,SignatureHelpTriggerKind:k,FoldingRangeKind:Re.m};var k_=x_.CancellationTokenSource,I_=x_.Emitter,M_=x_.KeyCode,T_=x_.KeyMod,A_=x_.Position,R_=x_.Range,P_=x_.Selection,F_=x_.SelectionDirection,V_=x_.MarkerSeverity,W_=x_.MarkerTag,B_=x_.Uri,j_=x_.Token,H_=x_.editor,z_=x_.languages;D_.monaco=x_,void 0!==D_.require&&"function"==typeof D_.require.config&&D_.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(109).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(93).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")},"9yH6":function(e,t,n){"use strict";n.r(t);var i=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var r=n("KNH7");n.d(t,"Button",(function(){return r.a})),i.a.Button=r.a,i.a.Group=o.a,t.default=i.a},"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(105).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(146).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)}},BtkW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("W9HT")),o=g(n("2/Rp")),r=g(n("CtXQ")),s=g(n("9yH6")),a=g(n("Vl3Y")),u=g(n("5rEg")),l=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("04bd"),n("L/Qf"),n("2oDE"),n("K4yd"),n("tULf"),n("1vPl");var c=n("q1tI"),d=g(c),h=n("sYIF"),f=n("eO8H");n("XmZk");var p=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var m=u.default.TextArea,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.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,i=e.content,o=e.editor_type,r=n.props.match.params,s=r.branch,a=r.projectsId,u=r.owner,l=n.state,c=l.submitType,d=l.filename;n.setState({isSpin:!0});var h="upload"===o?t:t.substr(1);n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{var o="/"+u+"/"+a+"/create_file.json";p.default.post(o,{filepath:d||h,branch:s,new_branch:"1"===c?t.branchname:void 0,content:i,message:t.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&e.data.name){if(n.props.showNotification("文件新建成功!"),"1"===c){var i=n.props.getTopCount;i&&i(t.branchname)}var o="/projects/"+u+"/"+a+(t.branchname?"/branch/"+t.branchname:s?"/branch/"+s:"");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,i=e.detail,o=e.content,r=e.currentBranch,s=n.props.match.params,a=s.projectsId,u=s.owner,l=n.state.submitType,c="/"+u+"/"+a+"/update_file.json";n.props.form.validateFieldsAndScroll((function(e,s){e?n.setState({isSpin:!1}):p.default.put(c,{filepath:i.path,branch:"1"===l?void 0:r||t,new_branch:"1"===l?s.branchname:void 0,content:o,sha:i.sha,message:s.desc}).then((function(e){if(n.setState({isSpin:!1}),e.data&&1===e.data.status){var i="/projects/"+u+"/"+a+(s.branchname?"/branch/"+s.branchname:r||t?"/branch/"+(r||t):"");n.props.history.push(i),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),l(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.submitType,l=t.filename,c=t.isSpin,p=this.props.form.getFieldDecorator,g=this.props.match.params,v=g.branch,_=g.projectsId,y=g.owner,b=this.props,C=b.current_user,w=b.filepath,S=b.projectDetail,L=b.currentBranch,N=this.props.editor_type;return d.default.createElement("div",null,d.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},d.default.createElement(f.Link,{to:"/users/"+(C&&C.login),className:"show-user-link"},d.default.createElement("img",{src:(0,h.getImageUrl)("images/"+(C&&C.image_url)),alt:"",className:"screwImg"}),d.default.createElement("span",{className:"color-grey-3 ver-middle"},C&&C.username,":")),d.default.createElement("span",{className:"color-grey-8"},"提交变更")),d.default.createElement(i.default,{spinning:c},d.default.createElement("div",{className:"userScrew"},d.default.createElement("div",{className:"screwPanel"},d.default.createElement(a.default,null,d.default.createElement(a.default.Item,{style:{display:"upload"===N?"block":"none"}},p("path",{rules:[]})(d.default.createElement("div",{className:"setInputAddon"},d.default.createElement(u.default,{addonBefore:"/"+(S&&S.identifier)+"/",value:l||w,onChange:this.changeFileName,placeholder:"文件路径..."})))),d.default.createElement(a.default.Item,null,p("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(d.default.createElement(m,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),d.default.createElement(s.default.Group,{value:n,onChange:this.changeSubmittype},d.default.createElement(s.default,{value:"0",className:"mb10"},d.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",d.default.createElement("span",{className:"color-orange"},L||v),"分支"),d.default.createElement(s.default,{value:"1"},d.default.createElement(r.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",d.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===n?d.default.createElement("div",{className:"mt15"},d.default.createElement(a.default.Item,{style:{paddingLeft:"24px"}},p("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(d.default.createElement(u.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),d.default.createElement("div",{className:"mt20"},d.default.createElement(o.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),d.default.createElement(o.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+y+"/"+_)},className:"mr20"},"取消"))))}}]),t}(c.Component),_=a.default.create({name:"UserSubmitForm"})(v);t.default=_},"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(108).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(147).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(144).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 E})),n.d(t,"K",(function(){return D})),n.d(t,"S",(function(){return x})),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 J})),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 Ee})),n.d(t,"M",(function(){return De})),n.d(t,"x",(function(){return xe})),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),E=S.removeClass.bind(S),D=S.removeClasses.bind(S),x=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 Q(e.clientWidth,e.clientHeight);if(h.c&&window.visualViewport){var t=window.visualViewport.width,n=window.visualViewport.height-(o.l?24:0);return new Q(t,n)}if(window.innerWidth&&window.innerHeight)return new Q(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new Q(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new Q(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}(),Q=function(e,t){this.width=e,this.height=t};function J(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 Ee(){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 De(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 xe(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(117).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)}}(),E=function(e,t,n){this.timestamp=e,this.deltaX=t,this.deltaY=n,this.score=0},D=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 E(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}(),x=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=D.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}(x),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(x),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(140).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(136).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(124).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(111).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(126).then(n.bind(null,"W1QP"))}})},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(){}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},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}()},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("q1tI"),o=n("17x9"),r=n("oOh1"),s=n("H84U");function a(e){return(a="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 u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==a(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}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&&d(e,t)}(v,e);var t,n,o,a,m=(t=v,function(){var e,n=p(t);if(f()){var i=p(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return h(this,e)});function v(){var e;return l(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,s=o.prefixCls,a=g(o,["prefixCls"]),l=n("radio-button",s);return e.context.radioGroup&&(a.checked=e.props.value===e.context.radioGroup.value,a.disabled=e.props.disabled||e.context.radioGroup.disabled),i.createElement(r.a,u({prefixCls:l},a))},e}return n=v,(o=[{key:"render",value:function(){return i.createElement(s.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),a&&c(n,a),v}(i.Component);m.contextTypes={radioGroup:o.any}},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(143).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(112).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 E})),n.d(t,"Z",(function(){return D})),n.d(t,"bb",(function(){return x})),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 Q})),n.d(t,"x",(function(){return J})),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 Ee})),n.d(t,"ob",(function(){return De})),n.d(t,"mb",(function(){return xe})),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 Je}));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 Je(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.")),E=d("inputValidation.infoBorder",{dark:"#007acc",light:"#007acc",hc:v},s.a("inputValidationInfoBorder","Input validation border color for information severity.")),D=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),x=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.")),Q=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.")),J=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:Qe(re,$,.3,.6),dark:Qe(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=Je(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.")),Ee=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.")),De=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.")),xe=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=Je(e,n);if(i)return i.darken(t)}}function Xe(e,t){return function(n){var i=Je(e,n);if(i)return i.transparent(t)}}function Qe(e,t,n,i){return function(r){var s=Je(e,r);if(s){var a=Je(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 Je(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(130).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(139).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 E})),n.d(t,"C",(function(){return x})),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 E(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 D(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 x(e,t){var n=q.getInstance(),i=t,o=e.length,r=E(e,o,t);t+=r>=65536?2:1;for(var s=n.getGraphemeBreakType(r);t<o;){var a=E(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=D(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=D(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(103).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}},PgMy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("2fM7")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=e[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("8QGh");var r=n("q1tI"),s=a(r);a(n("vDqi"));function a(e){return e&&e.__esModule?e:{default:e}}var u=i.default.Option,l=["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,a=(0,r.useState)(void 0),c=o(a,2);c[0],c[1];return s.default.createElement(i.default,{showSearch:!0,placeholder:"请选择文本语言",style:{width:200},value:t,onChange:function(e){n(e)}},s.default.createElement(u,{value:void 0},"请选择文本语言"),l&&l.map((function(e,t){return s.default.createElement(u,{value:e},e)})))}},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(119).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(132).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}()},"R/Rt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n("q1tI"),s=l(r),a=l(n("gL5p")),u=l(n("BtkW"));function l(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.changeEditor=function(e){n.setState({editorValue:e})},n.state={editorValue:n.props.content},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.state.editorValue,t=this.props,n=t.readOnly,o=t.editorType,r=t.language,l=t.currentBranch,c={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:n,cursorStyle:n?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return s.default.createElement(s.default.Fragment,null,s.default.createElement("div",null,s.default.createElement("div",{className:"branchTable"},s.default.createElement(a.default,{height:"400px",language:r||"plaintext",theme:"vs-grey",placeholder:"请输入内容",value:e,options:c,onChange:this.changeEditor,editorWillMount:this.editorWillMount})),!n&&s.default.createElement(u.default,i({},this.props,this.state,{filepath:""+this.props.filepath,content:e,editor_type:o,currentBranch:l}))))}}]),t}(r.Component);t.default=c},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},"SiX+":function(e,t,n){"use strict";var i=n("q1tI"),o=n("17x9"),r=n("TSYQ"),s=n.n(r),a=n("Gytx"),u=n.n(a),l=n("VCL8"),c=n("oOh1"),d=n("H84U");function h(e){return(h="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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==h(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e){var t=null,n=!1;return i.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,r,a=(t=l,function(){var e,n=_(t);if(v()){var i=_(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onRadioChange=function(e){var n=t.state.value,i=e.target.value;"value"in t.props||t.setState({value:i});var o=t.props.onChange;o&&i!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,r=o.prefixCls,a=o.className,u=void 0===a?"":a,l=o.options,d=o.buttonStyle,h=n("radio",r),f="".concat(h,"-group"),p=s()(f,"".concat(f,"-").concat(d),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(f,"-").concat(o.size),o.size),u),g=o.children;return l&&l.length>0&&(g=l.map((function(e){return"string"==typeof e?i.createElement(c.a,{key:e,prefixCls:h,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):i.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:h,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),i.createElement("div",{className:p,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},g)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=y(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=y(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return i.createElement(d.a,null,this.renderGroup)}}])&&f(n.prototype,o),r&&f(n,r),l}(i.Component);b.defaultProps={buttonStyle:"outline"},b.childContextTypes={radioGroup:o.any},Object(l.polyfill)(b),t.a=b},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(110).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(135).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")},XmZk:function(e,t,n){},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(118).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(131).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(94).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(138).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(92).then(n.bind(null,"7Xl7"))}})},eC1c:function(e,t,n){},eacs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n("5rEg")),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();n("1vPl");var s=n("q1tI"),a=c(s),u=c(n("R/Rt"));n("XmZk");var l=c(n("PgMy"));function c(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.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),r(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,n=t.filename,r=t.language,s=e.split("newfile")[1],c=s+"/"+n,d=this.props.projectDetail;return a.default.createElement(a.default.Fragment,null,a.default.createElement("div",{className:"main"},a.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"新建文件"),a.default.createElement("div",null,a.default.createElement("div",{className:"grid-item mb20"},a.default.createElement("div",{className:"grid-item"},a.default.createElement("div",{className:"setInputAddon"},a.default.createElement(i.default,{addonBefore:"/"+(d&&d.identifier)+s+"/",value:n,onChange:this.changeFileName,placeholder:"命名文件..."})),a.default.createElement("a",{onClick:this.CancelAddFile,className:"color-blue"},"取消")),a.default.createElement("div",{className:"text-right"},a.default.createElement(l.default,{language:r,select_language:this.select_language}))),a.default.createElement(u.default,o({},this.props,this.state,{filepath:""+c,language:r,content:void 0,readOnly:!1,editorType:"new"})))))}}]),t}(s.Component);t.default=d},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)},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(15).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(15).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(114).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(129).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(134).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(127).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}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)}(u,e);var t,n,o,a=g(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),y(v(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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(106).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(116).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(104).then(n.bind(null,"7s2V"))}})},lr0e:function(e,t,n){},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(145).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(123).then(n.bind(null,"HGU1"))}})},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var i=n("q1tI"),o=n("17x9"),r=n("x1Ya"),s=n("TSYQ"),a=n.n(s),u=n("Gytx"),l=n.n(u),c=n("H84U");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 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 f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(d,e);var t,n,o,s,u=(t=d,function(){var e,n=b(t);if(y()){var i=b(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return v(this,e)});function d(){var e;return p(this,d),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,s=_(e),u=s.props,l=s.context,c=u.prefixCls,d=u.className,p=u.children,g=u.style,m=C(u,["prefixCls","className","children","style"]),v=l.radioGroup,y=o("radio",c),b=f({},m);v&&(b.name=v.name,b.onChange=e.onChange,b.checked=u.value===v.value,b.disabled=u.disabled||v.disabled);var w=a()(d,(h(n={},"".concat(y,"-wrapper"),!0),h(n,"".concat(y,"-wrapper-checked"),b.checked),h(n,"".concat(y,"-wrapper-disabled"),b.disabled),n));return i.createElement("label",{className:w,style:g,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},i.createElement(r.a,f({},b,{prefixCls:y,ref:e.saveCheckbox})),void 0!==p?i.createElement("span",null,p):null)},e}return n=d,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderRadio)}}])&&g(n.prototype,o),s&&g(n,s),d}(i.Component);w.defaultProps={type:"radio"},w.contextTypes={radioGroup:o.any}},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}(),E=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 D,x=n("T8No"),k=new x.d("findWidgetVisible",!1),I=new x.d("findInputFocussed",!1),M=new x.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",Q="editor.action.selectAllMatches",J=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 E(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=(D=function(e,t){return(D=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}D(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!==Ee(r.peek());if(a&&(s=r.next()),a||0===Ee(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=Ee(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 Ee(e){switch(e){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;default:return 0}}var De=n("WqXY"),xe=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 xe.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 De.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 x.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new x.d("historyNavigationEnabled",!0).bindTo(n)}}var 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,x.c)],t)}(We),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,x.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(x.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(x.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 Qe(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 Je(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"),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)}}(),Dt=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},xt=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 Et(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 J(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=Dt([xt(1,x.c),xt(2,Nt.a),xt(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 Et(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=Dt([xt(1,wt.b),xt(2,x.c),xt(3,Lt.a),xt(4,v.c),xt(5,Ot.a),xt(6,Nt.a),xt(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 Et(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 Et(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 Et(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 Et(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:x.a.and(u.a.focus,I),primary:3,weight:100}})||this}return Et(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 Et(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:x.a.and(u.a.focus,I),primary:1027,weight:100}})||this}return Et(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 Et(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 Et(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 Et(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 Et(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:x.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:x.a.and(u.a.focus,M),primary:void 0,mac:{primary:2051}}})),Object(a.f)(new Ut({id:Q,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(107).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(95).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(133).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(122).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 E(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function D(e,t){e.metadata=207&e.metadata|t<<4}function x(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),D(this,1),E(this,!1),x(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),D(this,this.options.stickiness),E(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),x(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 Q(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 J(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,Q(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,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(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,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(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&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(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&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(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"),Ee=n("QRHv"),De=n("MNsG"),xe=(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(Ee.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 xe(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()&&De.i((function(){e._isDisposed||e._revalidateTokensNow()}))},t.prototype._revalidateTokensNow=function(e){void 0===e&&(e=this._textModel.getLineCount());for(var t=new Ee.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 Ee.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 Ee.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 Ee.d,l._tokens2=new Ee.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(Ee.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,E=[],D=0;D<N;D++){var x=O+D;E[x-O]=this.getLineContent(x)}a.push(new _e(L+1,p+v,E))}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,Je(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:Qe[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(Qe[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=Je(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,E=void 0;(O=this._computeIndentLevel(L-1))>=0?(h=L-1,f=O,E=Math.ceil(O/this._options.indentSize)):(m(L),E=this._getIndentLevelForWhitespaceLine(s,f,g)),E>=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 Qe=[Xe.register({stickiness:0}),Xe.register({stickiness:1}),Xe.register({stickiness:2}),Xe.register({stickiness:3})];function Je(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 E})),n.d(t,"l",(function(){return D})),n.d(t,"h",(function(){return x})),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,E=new g,D=new g,x=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(142).then(n.bind(null,"rMIR"))}})},undH:function(e,t,n){},vXNv: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(141).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(128).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"))},x1Ya:function(e,t,n){"use strict";var i=n("jo6Y"),o=n.n(i),r=n("QbLZ"),s=n.n(r),a=n("iCc5"),u=n.n(a),l=n("FYw3"),c=n.n(l),d=n("mRg0"),h=n.n(d),f=n("q1tI"),p=n.n(f),g=n("17x9"),m=n.n(g),v=n("TSYQ"),_=n.n(v),y=n("VCL8"),b=function(e){function t(n){u()(this,t);var i=c()(this,e.call(this,n));i.handleChange=function(e){var t=i.props,n=t.disabled,o=t.onChange;n||("checked"in i.props||i.setState({checked:e.target.checked}),o&&o({target:s()({},i.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},i.saveInput=function(e){i.input=e};var o="checked"in n?n.checked:n.defaultChecked;return i.state={checked:o},i}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?s()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,i=t.className,r=t.style,a=t.name,u=t.id,l=t.type,c=t.disabled,d=t.readOnly,h=t.tabIndex,f=t.onClick,g=t.onFocus,m=t.onBlur,v=t.autoFocus,y=t.value,b=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),C=Object.keys(b).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=b[t]),e}),{}),w=this.state.checked,S=_()(n,i,((e={})[n+"-checked"]=w,e[n+"-disabled"]=c,e));return p.a.createElement("span",{className:S,style:r},p.a.createElement("input",s()({name:a,id:u,type:l,readOnly:d,disabled:c,tabIndex:h,className:n+"-input",checked:!!w,onClick:f,onFocus:g,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:y},C)),p.a.createElement("span",{className:n+"-inner"}))},t}(f.Component);b.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},b.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(y.polyfill)(b);var C=b;t.a=C},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(121).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(137).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(125).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(148).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(115).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/19.551bd94b.chunk.js b/static/js/20.c46cb455.chunk.js similarity index 99% rename from static/js/19.551bd94b.chunk.js rename to static/js/20.c46cb455.chunk.js index 30faa7f4e..e04d25208 100644 --- a/static/js/19.551bd94b.chunk.js +++ b/static/js/20.c46cb455.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[19],{"+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(112).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),E=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),x=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 E=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(E*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);D&&(n+=16);var x=0;if(h){var k=Math.max(s,f);x=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+x,W=V+n,B=i-I-x-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:x,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 E),fontLigatures2:X(new D),fontSize:X(new x),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(119).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,E,x,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={})),E=D||(D={}),x=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),E.CoreEditingCommand=x,E.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}(x))),E.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}(x))),E.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}(x))),E.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}(x))),E.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}(x)));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(101).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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&f(e,t)}(u,e);var t,n,o,a=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),_(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);y.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},y.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=y;t.default=b},"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,E,x,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"}(E||(E={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(x||(x={})),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:x,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),Ee=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}()),xe=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*Ee.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 xe(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{(x=S+e)===C||x<w&&u[x-1]<u[x+1]?(f=(c=u[x+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=x+1-e):(f=(c=u[x-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=x-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 E=_[_.length-1];O=Math.max(O,E.getOriginalEnd()),D=Math.max(D,E.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 x;(x=S+o)===C||x<w&&l[x-1]>=l[x+1]?(f=(c=l[x+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=x+1-o):(f=(c=l[x-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=x-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 E=new Int32Array(c-l+2);E[0]=v-l+1,it.Copy2(g,l,E,1,c-l+1),this.m_forwardHistory.push(E),(E=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,E,1,h-d+1),this.m_reverseHistory.push(E)}}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 Et=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}(),xt=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 xt(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,Et.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,E=O.type,x=0!==g&&E.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(E),t.appendASCII(34),x){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"===E)&&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,E=t>1?e.charCodeAt(t-2):0;32===D&&32!==E&&9!==E||(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 En(e){return!Dn(e)}function xn(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 xn(a)?xn(u)?!xn(l)&&l<i.length?kn(e,i[l]):!xn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!xn(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(En(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(_)&&En(_)&&_.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("@"===(E=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(E=E.substr(1)),!An(this._lexer,E))throw Mn(this._lexer,"trying to switch to a state '"+E+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(E)}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 E;if("@"===(E=Tn(this._lexer,_.next,v,m,g))[0]&&(E=E.substr(1)),!An(this._lexer,E))throw Mn(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(E)}}_.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 x=0,k=1;k<m.length;k++)x+=m[k].length;if(x!==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(Ee.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 Ei=0,xi=F.i;Ei<xi.length;Ei++){var ki=xi[Ei],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},Eo=function(e,t){return function(n,i){t(n,i,e)}},xo=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,xo([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([Eo(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)},Er=function(e,t){this.outsideRenderedLine=e,this.ranges=t},xr=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(xr.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 xr(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 Er(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=Ee.getZoomLevel(),i=t.deltaY>0?1:-1;Ee.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.")),Es=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),xs=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(Es);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(xs);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 Ea(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),Ea=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}(),xa=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 xa((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 xa((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}(),Eu=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,E=(O+i)*f*4,x=w*f*4,k=(w+i)*f*4;y===D&&C===x?(y=E,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=D,y=E,b=x,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 xu=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 xu(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)(x=(L+I)/2|0)<a?x=a:x+a>t&&(x=t-a),L=x-a,I=x+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],E=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var x,k=this._cursorPositions[y];(x=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?x=O:x+O>t&&(x=t-O);var I=(L=x-O)+N;L>_+1?(0!==y&&u.fillRect(D,v,E,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(D,v,E,_-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 Eu(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)}}(),El=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}(),xl=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 El(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 xl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new El(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 El(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 El(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 El(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),E=!0,x=y;x<a;x++){var k=x,I=n.charCodeAt(x),M=void 0,T=void 0;if(ne.x(I)?(x++,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),E=!1;break}O=I,D=M}if(E){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(x=y-1;x>=0;x--){k=x+1;if(9===(O=n.charCodeAt(x))){A=!0;break}D=void 0;var R=void 0;if(ne.y(O)?(x--,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 E=O[s],x=hc(N,E,f[s],p[s]);if(null!==x){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=x.length;M<a;M++)I[M]=k[x[M]];if(0!==v)for(M=0,a=x.length;M<a;M++)x[M]+=v;D[s]=new Tl(x,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="'),Ec=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())+Ec+'") 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 xc=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,E=w+3-1;if(D>S)D+=O=S-D,E+=O;if(E>L)D+=O=L-E,E+=O;h[f++]=new Uc(C,D,w,E),i[o++]=new Kc(h)}var x=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=x[x.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(x[x.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),x=x.concat(M.slice(1))):(k[I++]=new Kc(x),x=M)}return k[I++]=new Kc(x),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=(E=u[p]).originalLineStart,v=E.originalLineEnd,_=E.modifiedLineStart,y=E.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 E=u[p];t._renderSection(l,E,D,this._width,e,i,r,n,o,s),0!==E.modifiedLineStart&&(D=E.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 E=document.createElement("span");E.style.width=b+"px",E.style.minWidth=b+"px",E.className="diff-review-line-number"+h,0!==L?E.appendChild(document.createTextNode(String(L))):E.innerHTML=" ",D.appendChild(E);var x=document.createElement("span");x.style.width=w+"px",x.style.minWidth=w+"px",x.style.paddingRight="10px",x.className="diff-review-line-number"+h,0!==N?x.appendChild(document.createTextNode(String(N))):x.innerHTML=" ",D.appendChild(x);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 xc.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,Ed=!1;var xd=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,Ed||(Ed=!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)}(xd),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(xd,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 E=5*y,x=l[E],k=l[E+1],I=b+x,M=0===x?C+k:k,T=l[E+2],A=l[E+3],R=l[E+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 xh,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 Eh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,xh=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(Eh);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)}}(),Ef=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},xf=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=Ef([xf(0,Of.a),xf(1,lo.a),xf(2,Xc.b),xf(3,Cd.a),xf(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,Ep=Op(),xp=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);xp[l][c]=f;var p=Ep[l-1][c-1]+(f>1?1:f),g=Ep[l-1][c]+-1,m=Ep[l][c-1]+-1;m>=g?m>p?(Ep[l][c]=m,kp[l][c]=4):m===p?(Ep[l][c]=m,kp[l][c]=6):(Ep[l][c]=p,kp[l][c]=2):g>p?(Ep[l][c]=g,kp[l][c]=1):g===p?(Ep[l][c]=g,kp[l][c]=3):(Ep[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=xp[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 Eg=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 xg,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"}(xg||(xg={}));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!==xg.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 Eg(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===xg.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===xg.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)}}(),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)},xm=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=xm([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=xm([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=xm([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=xm([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=xm([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=Em({},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:Em(Em({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=xm([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 Ev(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function xv(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 xn(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 E_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var x_=G();x_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Dv,setModelLanguage:Ev,setModelMarkers:xv,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:E,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},x_.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_=x_.CancellationTokenSource,I_=x_.Emitter,M_=x_.KeyCode,T_=x_.KeyMod,A_=x_.Position,R_=x_.Range,P_=x_.Selection,F_=x_.SelectionDirection,V_=x_.MarkerSeverity,W_=x_.MarkerTag,B_=x_.Uri,j_=x_.Token,H_=x_.editor,z_=x_.languages;E_.monaco=x_,void 0!==E_.require&&"function"==typeof E_.require.config&&E_.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(108).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(92).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){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},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(104).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(145).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){},"Dt+G":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(107).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(146).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(143).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 E})),n.d(t,"S",(function(){return x})),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 Ee})),n.d(t,"x",(function(){return xe})),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),E=S.removeClasses.bind(S),x=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 Ee(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 xe(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(116).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},E=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}(),x=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=E.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}(x),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(x),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(139).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(135).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(123).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(110).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(125).then(n.bind(null,"W1QP"))}})},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(){}},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(142).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(111).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 E})),n.d(t,"bb",(function(){return x})),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 Ee})),n.d(t,"mb",(function(){return xe})),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.")),E=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),x=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.")),Ee=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.")),xe=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(129).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(138).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 x})),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 E(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 x(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=E(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=E(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}()},NJEC:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("VCL8"),r=n("3S7+"),s=n("CtXQ"),a=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),c=n("H84U");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 h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(b,e);var t,n,o,s,d=(t=b,function(){var e,n=_(t);if(v()){var i=_(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});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=d.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,r=o.okButtonProps,s=o.cancelButtonProps,u=o.title,l=o.cancelText,c=o.okText,d=o.okType,f=o.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},f,i.createElement("div",{className:"".concat(e,"-message-title")},u)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(a.default,h({onClick:t.onCancel,size:"small"},s),l||n.cancelText),i.createElement(a.default,h({onClick:t.onConfirm,type:d,size:"small"},r),c||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,s=o.prefixCls,a=o.placement,c=y(o,["prefixCls","placement"]),d=n("popover",s),f=i.createElement(u.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},(function(e){return t.renderOverlay(d,e)}));return i.createElement(r.default,h({},c,{prefixCls:d,placement:a,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:f,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=b,s=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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 i=n.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderConfirm)}}])&&f(n.prototype,o),s&&f(n,s),b}(i.Component);b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(s.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(b),t.default=b},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(102).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(118).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(131).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(109).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(134).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(117).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(130).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(93).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(137).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(91).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)},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(14).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(14).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(113).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(128).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(133).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(126).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}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)}(u,e);var t,n,o,a=g(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),y(v(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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(105).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(115).then(n.bind(null,"BjZ/"))}})},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},"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(103).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(144).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(122).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 E,x=n("T8No"),k=new x.d("findWidgetVisible",!1),I=new x.d("findInputFocussed",!1),M=new x.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=(E=function(e,t){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])})(e,t)},function(e,t){function n(){this.constructor=e}E(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 Ee=n("WqXY"),xe=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 xe.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 Ee.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 x.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new x.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,x.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,x.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(x.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(x.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)}}(),Et=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},xt=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=Et([xt(1,x.c),xt(2,Nt.a),xt(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=Et([xt(1,wt.b),xt(2,x.c),xt(3,Lt.a),xt(4,v.c),xt(5,Ot.a),xt(6,Nt.a),xt(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:x.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:x.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:x.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:x.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(106).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(94).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(132).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(121).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 E(e,t){e.metadata=207&e.metadata|t<<4}function x(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),E(this,1),D(this,!1),x(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),E(this,this.options.stickiness),D(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),x(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"),Ee=n("MNsG"),xe=(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 xe(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()&&Ee.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=[],E=0;E<N;E++){var x=O+E;D[x-O]=this.getLineContent(x)}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 E})),n.d(t,"h",(function(){return x})),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,E=new g,x=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(141).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(140).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(127).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(120).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(136).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(124).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(147).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(114).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([[20],{"+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(113).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),E=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),x=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 E=parseFloat(O.substr(0,O.length-2));n=m.clampedInt(E*a,0,0,1e3)}else n=m.clampedInt(O,0,0,1e3);D&&(n+=16);var x=0;if(h){var k=Math.max(s,f);x=Math.round(k*u)}var I=0;d&&(I=r);var M,T,A,R,P=0,F=P+I,V=F+x,W=V+n,B=i-I-x-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:x,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 E),fontLigatures2:X(new D),fontSize:X(new x),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(120).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,E,x,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={})),E=D||(D={}),x=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),E.CoreEditingCommand=x,E.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}(x))),E.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}(x))),E.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}(x))),E.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}(x))),E.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}(x)));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(102).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}()},"4oKn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){_(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 h(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function f(e,t){return(f=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,i=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?m(e):t}function m(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 _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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&&f(e,t)}(u,e);var t,n,o,a=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),_(m(t=a.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,r=t.height,s=t.options,a=t.width,u=this.editor.getModel(),l=u.original,c=u.modified;this.props.original!==l.getValue()&&l.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&&(i.editor.setModelLanguage(l,n),i.editor.setModelLanguage(c,n)),e.theme!==o&&i.editor.setTheme(o),!this.editor||a===e.width&&r===e.height||this.editor.layout(),e.options!==s&&this.editor.updateOptions(s)}},{key:"componentWillUnmount",value:function(){this.destroyMonaco()}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i);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=i.editor.createModel(t,n),r=i.editor.createModel(e,n);this.editor.setModel({original:o,modified:r})}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(this.editorWillMount(),this.editor=i.editor.createDiffEditor(this.containerElement,d(d({},r),o?{theme:o}:{}),s),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&h(t.prototype,n),o&&h(t,o),u}(r.default.Component);y.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},y.defaultProps={width:"100%",height:"100%",original:null,value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var b=y;t.default=b},"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,E,x,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"}(E||(E={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(x||(x={})),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:x,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),Ee=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}()),xe=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*Ee.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 xe(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{(x=S+e)===C||x<w&&u[x-1]<u[x+1]?(f=(c=u[x+1])-S-i,c<L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f),S=x+1-e):(f=(c=u[x-1]+1)-S-i,c<L&&b.MarkNextChange(),L=c-1,b.AddOriginalElement(c,f+1),S=x-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 E=_[_.length-1];O=Math.max(O,E.getOriginalEnd()),D=Math.max(D,E.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 x;(x=S+o)===C||x<w&&l[x-1]>=l[x+1]?(f=(c=l[x+1]-1)-S-a,c>L&&b.MarkNextChange(),L=c+1,b.AddOriginalElement(c+1,f+1),S=x+1-o):(f=(c=l[x-1])-S-a,c>L&&b.MarkNextChange(),L=c,b.AddModifiedElement(c+1,f+1),S=x-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 E=new Int32Array(c-l+2);E[0]=v-l+1,it.Copy2(g,l,E,1,c-l+1),this.m_forwardHistory.push(E),(E=new Int32Array(h-d+2))[0]=_-d+1,it.Copy2(m,d,E,1,h-d+1),this.m_reverseHistory.push(E)}}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 Et=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}(),xt=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 xt(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,Et.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,E=O.type,x=0!==g&&E.indexOf("vs-whitespace")>=0;if(C=0,t.appendASCIIString('<span class="'),t.appendASCIIString(E),t.appendASCII(34),x){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"===E)&&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,E=t>1?e.charCodeAt(t-2):0;32===D&&32!==E&&9!==E||(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 En(e){return!Dn(e)}function xn(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 xn(a)?xn(u)?!xn(l)&&l<i.length?kn(e,i[l]):!xn(d)&&e&&"string"==typeof e[d]?e[d]:(null===r&&(r=o.split(".")).unshift(o),!xn(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(En(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(_)&&En(_)&&_.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("@"===(E=Tn(this._lexer,_.switchTo,v,m,g))[0]&&(E=E.substr(1)),!An(this._lexer,E))throw Mn(this._lexer,"trying to switch to a state '"+E+"' that is undefined in rule: "+this._safeRuleName(y));u=u.switchTo(E)}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 E;if("@"===(E=Tn(this._lexer,_.next,v,m,g))[0]&&(E=E.substr(1)),!An(this._lexer,E))throw Mn(this._lexer,"trying to set a next state '"+E+"' that is undefined in rule: "+this._safeRuleName(y));u=u.push(E)}}_.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 x=0,k=1;k<m.length;k++)x+=m[k].length;if(x!==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(Ee.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 Ei=0,xi=F.i;Ei<xi.length;Ei++){var ki=xi[Ei],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},Eo=function(e,t){return function(n,i){t(n,i,e)}},xo=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,xo([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([Eo(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)},Er=function(e,t){this.outsideRenderedLine=e,this.ranges=t},xr=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(xr.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 xr(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 Er(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=Ee.getZoomLevel(),i=t.deltaY>0?1:-1;Ee.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.")),Es=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),xs=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(Es);r&&t.addRule(".monaco-editor .rangeHighlight { background-color: "+r+"; }");var s=e.getColor(xs);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 Ea(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),Ea=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}(),xa=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 xa((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 xa((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}(),Eu=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,E=(O+i)*f*4,x=w*f*4,k=(w+i)*f*4;y===D&&C===x?(y=E,C=k):(-1!==_&&(p.set(l.subarray(_,y),b),-1===m&&0===_&&_===b&&(m=y),-1===v&&y===g&&_===b&&(v=_)),_=D,y=E,b=x,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 xu=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 xu(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)(x=(L+I)/2|0)<a?x=a:x+a>t&&(x=t-a),L=x-a,I=x+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],E=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,y=0,b=this._cursorPositions.length;y<b;y++){var x,k=this._cursorPositions[y];(x=i.getVerticalOffsetForLineNumber(k.lineNumber)*o|0)<O?x=O:x+O>t&&(x=t-O);var I=(L=x-O)+N;L>_+1?(0!==y&&u.fillRect(D,v,E,_-v),v=L,_=I):I>_&&(_=I)}u.fillRect(D,v,E,_-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 Eu(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)}}(),El=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}(),xl=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 El(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 xl(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new El(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 El(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 El(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 El(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),E=!0,x=y;x<a;x++){var k=x,I=n.charCodeAt(x),M=void 0,T=void 0;if(ne.x(I)?(x++,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),E=!1;break}O=I,D=M}if(E){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(x=y-1;x>=0;x--){k=x+1;if(9===(O=n.charCodeAt(x))){A=!0;break}D=void 0;var R=void 0;if(ne.y(O)?(x--,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 E=O[s],x=hc(N,E,f[s],p[s]);if(null!==x){v=d[s],_=h[s];var k=g[s],I=[],M=0;for(a=x.length;M<a;M++)I[M]=k[x[M]];if(0!==v)for(M=0,a=x.length;M<a;M++)x[M]+=v;D[s]=new Tl(x,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="'),Ec=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())+Ec+'") 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 xc=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,E=w+3-1;if(D>S)D+=O=S-D,E+=O;if(E>L)D+=O=L-E,E+=O;h[f++]=new Uc(C,D,w,E),i[o++]=new Kc(h)}var x=i[0].entries,k=[],I=0;for(r=1,s=i.length;r<s;r++){var M=i[r].entries,T=x[x.length-1],A=M[0];0===T.getType()&&0===A.getType()&&A.originalLineStart<=T.originalLineEnd?(x[x.length-1]=new Uc(T.originalLineStart,A.originalLineEnd,T.modifiedLineStart,A.modifiedLineEnd),x=x.concat(M.slice(1))):(k[I++]=new Kc(x),x=M)}return k[I++]=new Kc(x),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=(E=u[p]).originalLineStart,v=E.originalLineEnd,_=E.modifiedLineStart,y=E.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 E=u[p];t._renderSection(l,E,D,this._width,e,i,r,n,o,s),0!==E.modifiedLineStart&&(D=E.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 E=document.createElement("span");E.style.width=b+"px",E.style.minWidth=b+"px",E.className="diff-review-line-number"+h,0!==L?E.appendChild(document.createTextNode(String(L))):E.innerHTML=" ",D.appendChild(E);var x=document.createElement("span");x.style.width=w+"px",x.style.minWidth=w+"px",x.style.paddingRight="10px",x.className="diff-review-line-number"+h,0!==N?x.appendChild(document.createTextNode(String(N))):x.innerHTML=" ",D.appendChild(x);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 xc.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,Ed=!1;var xd=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,Ed||(Ed=!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)}(xd),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(xd,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 E=5*y,x=l[E],k=l[E+1],I=b+x,M=0===x?C+k:k,T=l[E+2],A=l[E+3],R=l[E+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 xh,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 Eh=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/,xh=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(Eh);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)}}(),Ef=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},xf=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=Ef([xf(0,Of.a),xf(1,lo.a),xf(2,Xc.b),xf(3,Cd.a),xf(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,Ep=Op(),xp=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);xp[l][c]=f;var p=Ep[l-1][c-1]+(f>1?1:f),g=Ep[l-1][c]+-1,m=Ep[l][c-1]+-1;m>=g?m>p?(Ep[l][c]=m,kp[l][c]=4):m===p?(Ep[l][c]=m,kp[l][c]=6):(Ep[l][c]=p,kp[l][c]=2):g>p?(Ep[l][c]=g,kp[l][c]=1):g===p?(Ep[l][c]=g,kp[l][c]=3):(Ep[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=xp[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 Eg=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 xg,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"}(xg||(xg={}));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!==xg.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 Eg(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===xg.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===xg.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)}}(),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)},xm=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=xm([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=xm([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=xm([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=xm([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=xm([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=Em({},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:Em(Em({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=xm([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 Ev(e,t){hv.modelService.get().setMode(e,hv.modeService.get().create(t))}function xv(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 xn(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 E_=self;F.e.wrappingIndent.defaultValue=0,F.e.glyphMargin.defaultValue=!1,F.e.autoIndent.defaultValue=3,F.e.overviewRulerLanes.defaultValue=2;var x_=G();x_.editor={create:wv,onDidCreateEditor:Sv,createDiffEditor:Lv,createDiffNavigator:Nv,createModel:Dv,setModelLanguage:Ev,setModelMarkers:xv,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:E,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},x_.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_=x_.CancellationTokenSource,I_=x_.Emitter,M_=x_.KeyCode,T_=x_.KeyMod,A_=x_.Position,R_=x_.Range,P_=x_.Selection,F_=x_.SelectionDirection,V_=x_.MarkerSeverity,W_=x_.MarkerTag,B_=x_.Uri,j_=x_.Token,H_=x_.editor,z_=x_.languages;E_.monaco=x_,void 0!==E_.require&&"function"==typeof E_.require.config&&E_.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(109).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(93).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){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},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(105).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(146).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){},"Dt+G":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(108).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(147).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(144).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 E})),n.d(t,"S",(function(){return x})),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 Ee})),n.d(t,"x",(function(){return xe})),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),E=S.removeClasses.bind(S),x=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 Ee(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 xe(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(117).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},E=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}(),x=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=E.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}(x),I=function(e){function t(t,n,i){return e.call(this,t,n,i)||this}return O(t,e),t}(x),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(140).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(136).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(124).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(111).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(126).then(n.bind(null,"W1QP"))}})},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(){}},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(143).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(112).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 E})),n.d(t,"bb",(function(){return x})),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 Ee})),n.d(t,"mb",(function(){return xe})),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.")),E=d("inputValidation.warningBackground",{dark:"#352A05",light:"#F6F5D2",hc:o.a.black},s.a("inputValidationWarningBackground","Input validation background color for warning severity.")),x=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.")),Ee=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.")),xe=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(130).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(139).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 x})),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 E(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 x(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=E(e,t);t-=o>=65536?2:1;for(var r=n.getGraphemeBreakType(o);t>0;){var s=E(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}()},NJEC:function(e,t,n){"use strict";n.r(t);var i=n("q1tI"),o=n("VCL8"),r=n("3S7+"),s=n("CtXQ"),a=n("2/Rp"),u=n("YMnH"),l=n("ZvpZ"),c=n("H84U");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 h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n},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)}(b,e);var t,n,o,s,d=(t=b,function(){var e,n=_(t);if(v()){var i=_(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return g(this,e)});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=d.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,r=o.okButtonProps,s=o.cancelButtonProps,u=o.title,l=o.cancelText,c=o.okText,d=o.okType,f=o.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},f,i.createElement("div",{className:"".concat(e,"-message-title")},u)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(a.default,h({onClick:t.onCancel,size:"small"},s),l||n.cancelText),i.createElement(a.default,h({onClick:t.onConfirm,type:d,size:"small"},r),c||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,s=o.prefixCls,a=o.placement,c=y(o,["prefixCls","placement"]),d=n("popover",s),f=i.createElement(u.a,{componentName:"Popconfirm",defaultLocale:l.a.Popconfirm},(function(e){return t.renderOverlay(d,e)}));return i.createElement(r.default,h({},c,{prefixCls:d,placement:a,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:f,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=b,s=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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 i=n.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(c.a,null,this.renderConfirm)}}])&&f(n.prototype,o),s&&f(n,s),b}(i.Component);b.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(s.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(b),t.default=b},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(103).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(119).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(132).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(110).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(135).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(118).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(131).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(94).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(138).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(92).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)},gL5p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"MonacoDiffEditor",{enumerable:!0,get:function(){return o.default}});var i=r(n("j6EG")),o=r(n("4oKn"));function r(e){return e&&e.__esModule?e:{default:e}}},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(15).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(15).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(114).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(129).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(134).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(127).then(n.bind(null,"ppMK"))}})},j6EG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==l(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var r=i?Object.getOwnPropertyDescriptor(e,o):null;r&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]}n.default=e,t&&t.set(e,n);return n}(n("M/lh")),o=a(n("17x9")),r=a(n("q1tI")),s=n("JwdM");function a(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 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)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function d(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){y(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 h(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=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,i=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==l(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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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}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)}(u,e);var t,n,o,a=g(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),y(v(t=a.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,r=t.theme,s=t.height,a=t.options,u=t.width,l=this.editor,c=l.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&&i.editor.setModelLanguage(c,o),e.theme!==r&&i.editor.setTheme(r),!l||u===e.width&&s===e.height||l.layout(),e.options!==a){a.model;var d=h(a,["model"]);l.updateOptions(d)}}},{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,r=t.options,s=t.overrideServices;this.containerElement&&(Object.assign(r,this.editorWillMount()),this.editor=i.editor.create(this.containerElement,d(d({value:e,language:n},r),o?{theme:o}:{}),s),this.editorDidMount(this.editor))}},{key:"editorWillMount",value:function(){var e=this.props.editorWillMount;return e(i)||{}}},{key:"editorDidMount",value:function(e){var t=this;this.props.editorDidMount(e,i),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,i={width:(0,s.processSize)(t),height:(0,s.processSize)(n)};return r.default.createElement("div",{ref:this.assignRef,style:i,className:"react-monaco-editor-container"})}}])&&f(t.prototype,n),o&&f(t,o),u}(r.default.Component);b.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},b.defaultProps={width:"100%",height:"100%",value:null,defaultValue:"",language:"javascript",theme:null,options:{},overrideServices:{},editorDidMount:s.noop,editorWillMount:s.noop,onChange:s.noop};var C=b;t.default=C},"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(106).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(116).then(n.bind(null,"BjZ/"))}})},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},"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(104).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(145).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(123).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 E,x=n("T8No"),k=new x.d("findWidgetVisible",!1),I=new x.d("findInputFocussed",!1),M=new x.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=(E=function(e,t){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])})(e,t)},function(e,t){function n(){this.constructor=e}E(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 Ee=n("WqXY"),xe=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 xe.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 Ee.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 x.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new x.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,x.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,x.c)],t)}(Ke);Be.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ze(e.get(x.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),Be.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:x.a.and(x.a.has("historyNavigationWidget"),x.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ze(e.get(x.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)}}(),Et=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},xt=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=Et([xt(1,x.c),xt(2,Nt.a),xt(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=Et([xt(1,wt.b),xt(2,x.c),xt(3,Lt.a),xt(4,v.c),xt(5,Ot.a),xt(6,Nt.a),xt(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:x.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:x.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:x.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:x.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(107).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(95).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(133).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(122).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 E(e,t){e.metadata=207&e.metadata|t<<4}function x(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),E(this,1),D(this,!1),x(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),E(this,this.options.stickiness),D(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),x(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"),Ee=n("MNsG"),xe=(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 xe(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()&&Ee.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=[],E=0;E<N;E++){var x=O+E;D[x-O]=this.getLineContent(x)}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 E})),n.d(t,"h",(function(){return x})),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,E=new g,x=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(142).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(141).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(128).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(121).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(137).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(125).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(148).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(115).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/20.e595aac6.chunk.js b/static/js/20.e595aac6.chunk.js deleted file mode 100644 index f40c5dd79..000000000 --- a/static/js/20.e595aac6.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 20.e595aac6.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[20,4,5,10,13,71],{"+B/L":function(e,t,n){},"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),o=n("i8i4"),a=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,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 b(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(){}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)}(E,e);var t,n,i,p,_=(t=E,function(){var e,n=w(t);if(b()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function E(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,E),(t=_.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||O)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||O)()},t.renderAlert=function(e){var n,o=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,w=i.icon,O=t.props,_=O.closable,E=O.type,j=O.showIcon,S=O.iconType,x=t.state,C=x.closing,k=x.closed,P=o("alert",f);j=!(!y||void 0!==j)||j,E=y&&void 0===E?"warning":E||"info";var N="filled";if(!S){switch(E){case"success":S="check-circle";break;case"info":S="info-circle";break;case"error":S="close-circle";break;case"warning":S="exclamation-circle";break;default:S="default"}c&&(N="outlined")}h&&(_=!0);var T=l()(P,"".concat(P,"-").concat(E),(m(n={},"".concat(P,"-closing"),C),m(n,"".concat(P,"-with-description"),!!c),m(n,"".concat(P,"-no-icon"),!j),m(n,"".concat(P,"-banner"),!!y),m(n,"".concat(P,"-closable"),_),n),g),F=_?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),R=w&&(r.isValidElement(w)?r.cloneElement(w,{className:l()("".concat(P,"-icon"),m({},w.props.className,w.props.className))}):r.createElement("span",{className:"".concat(P,"-icon")},w))||r.createElement(s.default,{className:"".concat(P,"-icon"),type:S,theme:N});return k?null:r.createElement(a.a,{component:"",showProp:"data-show",transitionName:"".concat(P,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!C,className:T,style:b},A),j?R:null,r.createElement("span",{className:"".concat(P,"-message")},p),r.createElement("span",{className:"".concat(P,"-description")},c),F))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return n=E,(i=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(n.prototype,i),p&&h(n,p),E}(r.Component)},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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},w=o.oneOfType([o.object,o.number]),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)}(O,e);var t,n,o,a,w=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(){var e;return p(this,O),(e=w.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,w=a.children,O=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),_=o("col",s),E={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete O[e],E=u(u({},E),(c(t={},"".concat(_,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(_,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(_,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(_,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(_,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var j=i()(_,(c(n={},"".concat(_,"-").concat(p),void 0!==p),c(n,"".concat(_,"-order-").concat(d),d),c(n,"".concat(_,"-offset-").concat(m),m),c(n,"".concat(_,"-push-").concat(h),h),c(n,"".concat(_,"-pull-").concat(v),v),n),g,E);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=O.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({},O,{style:n,className:j}),w)}))},e}return n=O,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),O}(r.Component);O.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:w,sm:w,md:w,lg:w,xl:w,xxl:w}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"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,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),w=n("TSYQ"),O=n.n(w);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function E(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 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 j=+new Date,S=0;function x(){return"rc-upload-"+j+"-"+ ++S}var C=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var k=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:x()},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 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=x(),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,a=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||E;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:a?function(t){a(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:x()})}},{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,a=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=O()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,a,a),e)),y=i?{}:{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);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 N=P,T=n("i8i4"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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:x(),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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=O()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);I.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 D=I;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:D}},{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);V.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},V.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 q=V,U=n("qPyV"),B=n.n(U),z=n("UfWW"),H=n.n(z),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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 we(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 Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function Ee(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Se(e):t}function je(e){return(je=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 xe(e,t){return(xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var ke=function(e){function t(){var e,n;Oe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return Ce(Se(n=Ee(this,(e=je(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&xe(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=we(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),w=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(w,"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 w+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&_e(n.prototype,r),a&&_e(n,a),t}(r.Component);ke.propTypes=ge,ke.defaultProps=ye;he(ke);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 Be=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,De(Me(e),"paths",{}),De(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&Ie(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);Be.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),Be.defaultProps=Ne({},ye,{gapPosition:"top"});var ze=he(Be);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},w=f||6,_=m||"dashboard"===y&&"bottom"||"top",E=h||("dashboard"===y?75:void 0),j=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),S="[object Object]"===Object.prototype.toString.call(j),x=O()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=S,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:x,style:b},r.createElement(ze,{percent:We(e),strokeWidth:w,trailWidth:w,strokeColor:j,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:E,gapPosition:_}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=O()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=O()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,w=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":"")},w&&r.createElement("a",{title:d.downloadFile},w),b&&r.createElement("a",{title:d.removeFile},b)),E=O()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([w,b].filter((function(e){return e})).length),!0),o)),j=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:E,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:E,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],S=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,x="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},S,"done"===t.status&&w,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var C=r.createElement("span",null,i,j),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},C),x,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=O()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},k):r.createElement("span",null,k))})),v=O()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),wt=n("6CfX");function Ot(e){return(Ot="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(){return(Et=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 jt(e,t){for(var n=0;n<t.length;n++){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 St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e,t){return!t||"object"!==Ot(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 Ct(){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 kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&St(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=kt(t);if(Ct()){var r=kt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xt(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:Et({},a),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:Et({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:Et({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:B()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:Et(Et({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=Et(Et({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var w,_=O()(v,(_t(w={},"".concat(v,"-drag"),!0),_t(w,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),_t(w,"".concat(v,"-drag-hover"),"dragover"===y),_t(w,"".concat(v,"-disabled"),f),w),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(q,Et({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var E=O()(v,(_t(n={},"".concat(v,"-select"),!0),_t(n,"".concat(v,"-select-").concat(c),!0),_t(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var j=r.createElement("div",{className:E,style:p?void 0:{display:"none"}},r.createElement(q,Et({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:O()(l,"".concat(v,"-picture-card-wrapper"))},b,j):r.createElement("span",{className:l},j,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(wt.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&jt(n.prototype,o),a&&jt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function It(e,t){return!t||"object"!==Tt(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(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(Dt()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return It(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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&&v(e,t)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=w(t);if(b()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);O.contextTypes={antdMenuTheme:c.string},O.isSubMenu=1;var _=O,E=n("3S7+"),j=n("H84U");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){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(n);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 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 P(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=D(e);if(I()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 I(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return P(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,k({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(j.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,k({className:s},l),o)},B=function(e){F(n,e);var t=R(n);function n(){var e;return P(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(x(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,k({className:p},f),s))}}]),n}(r.Component),z=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(B),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);z.Header=H,z.Footer=W,z.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),w=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),O=o.state.collapsed?y:h,_=Y(O)?"".concat(O,"px"):String(O),E=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,j={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==d?E||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:_}},d||j):null,x=X(X({},m),{flex:"0 0 ".concat(_),maxWidth:_,minWidth:_,width:_}),C=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!E),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(_)),t));return r.createElement("aside",X({className:C},w,{style:x}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&E?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(j.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=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},_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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=we(t);if(be()){var r=we(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=Oe(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(E.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);_e.isMenuItem=!0;var Ee=n("6CfX"),je=n("oHiP"),Se=function(){return{height:0,opacity:0}},xe=function(e){return{height:e.scrollHeight,opacity:1}},Ce={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:xe,onEnterActive:xe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};function ke(e){return(ke="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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(De()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ie(this,t)}}function Ie(e,t){return!t||"object"!==ke(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(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),w=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),O=Pe({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:w,mode:v},g);return"inline"!==v&&(O.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(O.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},y,O,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ee.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(Ee.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ee.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){je.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(Ee.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:Ce}:{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(j.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,Pe({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=_e,qe.SubMenu=_,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,w=y.commitCount,O=y.filesData,_=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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"},"提交"),w>0&&s.default.createElement("span",{className:"tabNum"},w)),key:"2"},s.default.createElement(c.default,a({},this.props,{commits:_,projectsId:t,owner:n}))),O&&O.files&&O.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,a({},this.props,{data:O,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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},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)}(w,e);var t,n,o,i,f=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=w,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),w}(r.Component);w.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(w),t.default=w},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),o=v(n("kaz8")),a=v(n("2/Rp")),i=v(n("Vl3Y")),l=v(n("5rEg")),s=v(n("mr32")),c=v(n("BvKs")),u=v(n("2fM7")),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},p=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("MKzF"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var d=n("q1tI"),m=v(d),h=v(n("vDqi"));n("6JOy"),n("js5m");var y=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var g=u.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){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}),h.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(f({},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 m.default.createElement(c.default,null,e&&e.length>0&&e.map((function(e,r){return m.default.createElement(c.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 m.default.createElement(g,{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,a=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,u=l.merge_type,p=l.data,d=l.commits_count,m=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"===u){var v="/"+i+"/"+o+"/pulls.json";h.default.post(v,f({},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:m,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+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 g="/"+i+"/"+o+"/pulls/"+a+".json";h.default.put(g,f({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+o+"/pulls/"+a+"/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),p(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,c=this.props.match.params,f=c.projectsId,p=c.mergeId,d=c.owner,h=this.state,v=h.issue_tag_ids,g=h.fixed_version_id,b=h.assigned_to_id,w=h.priority_id,O=h.desc,_=h.isSpin,E=h.title,j=h.members,S=h.issue_tags,x=h.issue_versions,C=h.issue_priories;return m.default.createElement("div",null,m.default.createElement(r.default,{spinning:_},m.default.createElement("div",{className:"mb20"},m.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),m.default.createElement(s.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),m.default.createElement(i.default,null,m.default.createElement("div",{className:"width100 inline-block"},m.default.createElement("div",{className:"width70 pull-left"},m.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:E})(m.default.createElement(l.default,{placeholder:"标题"}))),m.default.createElement(y.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:O,onChange:this.onContentChange}),m.default.createElement("p",{className:"clearfix mt20"},m.default.createElement(a.default,{type:"primary",loading:_,onClick:this.handleSubmit},m.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),m.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/projects/"+d+"/"+f+"/pulls":"/projects/"+d+"/"+f+"/pulls/"+p+"/detail")}},m.default.createElement("span",{className:"plr10"},"取消")))),m.default.createElement("div",{className:"width30 pull-left"},m.default.createElement("div",{className:"pl30"},m.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:b})(m.default.createElement(u.default,{placeholder:"审查人员",showSearch:!0},this.renderSelect(j)))),m.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:g})(m.default.createElement(u.default,{placeholder:x&&x.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},this.renderSelect(x)))),m.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:v})(m.default.createElement(u.default,{placeholder:S&&S.length>0?"未选择标签":"请在仓库设置里添加标签",showSearch:!0},this.renderSelect(S)))),m.default.createElement(i.default.Item,null,n("priority_id",{initialValue:w})(m.default.createElement(u.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(C)))),m.default.createElement(i.default.Item,{name:"checkbox-group",label:"其他"},m.default.createElement(o.default.Group,null,m.default.createElement("div",null,m.default.createElement(o.default,{value:"A"},"必须审查代码")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"B"},"合并后删除提交分支")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"C"},"合并后关闭提到的任务"))))))))))}}]),t}(d.Component),w=i.default.create({name:"NewMergeForm"})(b);t.default=w},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 w=r[v.charAt(0)];if(w)b=v.match(w[1]),g=w[0];else{for(var _=0;_<o;++_)if(w=t[_],b=v.match(w[1])){g=w[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 E=u;if(u+=v.length,y){var j=b[1],S=v.indexOf(j),x=S+j.length;b[2]&&(S=(x=v.length-b[2].length)-j.length);var C=g.substring(5);p(s,l+E,v.substring(0,S),a,c),p(s,l+E+S,j,O(C,j),c),p(s,l+E+x,v.substring(x),a,c)}else c.push(l+E,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function w(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 O(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,O(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,a=e.sourceCode,i=a.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,w=s[u+2]||i,O=f[d+2]||i,_=(y=Math.min(w,O),s[u+1]);if(1!==_.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),_.nodeValue=b;var E=_.ownerDocument,j=E.createElement("span");j.className=f[d+1];var S=_.parentNode;S.replaceChild(j,_),j.appendChild(_),l<w&&(s[u+1]=_=E.createTextNode(a.substring(y,w)),S.insertBefore(_,j.nextSibling))}(l=y)>=w&&(u+=2),l>=O&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function E(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),_({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function j(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,w=/^(?:pre|code|xmp)$/i,O={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var a=l[p],i=O,s=a;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 E=a.className;if((i!==O||h.test(E))&&!y.test(E)){for(var j=!1,S=a.parentNode;S;S=S.parentNode){var x=S.tagName;if(w.test(x)&&S.className&&h.test(S.className)){j=!0;break}}if(!j){a.className+=" prettyprinted";var C,k,P=i.lang;if(!P)!(P=E.match(d))&&(C=m(a))&&b.test(C.tagName)&&(P=C.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))k=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;k=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=E.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,k),_({langExtension:P,sourceNode:a,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}w(v,["default-code"]),w(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"]),w(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"]),w(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),w(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),w(y({keywords:"null,true,false"}),["json"]),w(y({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),w(y({keywords:o,cStyleComments:!0}),["java"]),w(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),w(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),w(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),w(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),w(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),w(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"]),w(h([],[["str",/^[\s\S]+/]]),["regex"]);var S=e.PR={createSimpleLexer:h,registerLangHandler:w,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:E,prettyPrint:j},x=e.define;"function"==typeof x&&x.amd&&x("google-code-prettify",[],(function(){return S}))}()},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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return D}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 O(e){return(O=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 E=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 j(e,t){return e[t]&&Math.floor(24/e[t])}var 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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=E(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")}))}))),w=a?"div":"li",O=r.createElement(w,_({},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 a?r.createElement(p.a,{span:j(a,"column"),xs:j(a,"xs"),sm:j(a,"sm"),md:j(a,"md"),lg:j(a,"lg"),xl:j(a,"xl"),xxl:j(a,"xxl")},O):O},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(r.Component);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 C(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(n);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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}S.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=E(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},S.contextTypes={grid:o.any,itemLayout:o.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 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=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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,w=m.itemLayout,O=m.loadMore,_=m.pagination,E=m.grid,j=m.dataSource,S=void 0===j?[]:j,x=m.size,k=m.header,T=m.footer,F=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var D=M&&M.spinning,L="";switch(x){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===w),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),D),N(n,"".concat(R,"-grid"),E),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:S.length,current:p,pageSize:d}),_||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var B,z=_?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=C(S);if(_&&S.length>(q.current-1)*q.pageSize&&(H=C(S).splice((q.current-1)*q.pageSize,q.pageSize)),B=D&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),B=E?r.createElement(f.a,{gutter:E.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||D||(B=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&z,k&&r.createElement("div",{className:"".concat(R,"-header")},k),r.createElement(s.default,M,B,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),O||("bottom"===G||"both"===G)&&z)};var n=e.pagination,o=n&&"object"===x(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);D.Item=S,D.childContextTypes={grid:o.any,itemLayout:o.string},D.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),w=n("m1cH"),O=n.n(w),_=n("fhzG"),E=n.n(_),j=n("aGtg"),S=n("oV5b"),x=n.n(S),C=n("2W6z"),k=n.n(C),P=n("mwIZ"),N=n.n(P),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),I=n.n(M),D=n("V7oC"),L=n.n(D),V=function e(t){I()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var B=n("2mql"),z=n.n(B);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){I()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=E()({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,O()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,O()(n))}var i=r.getValueFromEvent?r.getValueFromEvent.apply(r,O()(n)):Q.apply(void 0,O()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new x.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(j.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({labelAlign:"right",vertical:!1});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(){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 _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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?Ce(e):t}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(){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 Pe(e){return(Pe=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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&Se(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(ke()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xe(this,e)});function s(){var e;return Ee(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Ce(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),p=e.renderChildren(f),d=(_e(n={},"".concat(f,"-item"),!0),_e(n,"".concat(f,"-item-with-help"),e.helpShow),_e(n,"".concat(c),!!c),n);return r.createElement(he.a,Oe({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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,Oe({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,w="".concat(e,"-item-label"),O=l()(w,"left"===b&&"".concat(w,"-left"),g.className),_=f,E=!0===m||!1!==c&&!1!==m;E&&!a&&"string"==typeof f&&""!==f.trim()&&(_=f.replace(/[::]\s*$/,""));var j=l()((_e(o={},"".concat(e,"-item-required"),v),_e(o,"".concat(e,"-item-no-colon"),!E),o));return f?r.createElement(ye.a,Oe({},g,{className:O}),r.createElement("label",{htmlFor:y||h||t.getId(),className:j,title:"string"==typeof f?f:"",onClick:t.onLabelClick},_)):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)}}])&&je(n.prototype,o),a&&je(n,a),s}(r.Component);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 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 De(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Be(t);if(Ue()){var r=Be(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(De(n={},"".concat(p,"-horizontal"),"horizontal"===f),De(n,"".concat(p,"-vertical"),"vertical"===f),De(n,"".concat(p,"-inline"),"inline"===f),De(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",Ie({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ie(Ie({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("+KLJ")),a=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,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.componentDidMount=function(){var e=n.props.match.params.projectsId;n.getmergelist(e),window.history&&window.history.pushState&&window.addEventListener("popstate",n.handleBack,!1)},n.componentDidUpdate=function(e){var t=n.props.project,r=e.project;t&&r&&r.id!==t.id&&n.compareProject(n.state.id,"master","master")},n.handleBack=function(){var e=n.props.match.params.projectsId;n.getmergelist(e)},n.getmergelist=function(e){n.setState({isSpin:!0});var t="/"+n.props.match.params.owner+"/"+e+"/pulls/new.json";f.default.get(t).then((function(e){e&&(n.setState({is_fork:e.data.is_fork,projects_names:e.data.projects_names,merge_projects:e.data.merge_projects,branches:e.data.branches,merge_branches:e.data.branches,project_id:e.data.project_id,id:e.data.id}),n.set_default_pull(e.data.branches),n.set_default_merge(e.data.merge_projects)),n.compareProject(e.data.id,"master","master"),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.compareProject=function(e,t,r){var o=n.props.project,a=n.props.match.params,i="/"+a.owner+"/"+a.projectsId+"/compare";if(o){if(e===o.id)n.setState({oldProject:o}),i+="/"+t+"..."+r+".json";else{var l=n.state.oldProject,s=l.author,c=l.identifier;i+="/"+r+"..."+(s&&s.login)+"/"+c+":"+t+".json"}f.default.get(i).then((function(e){e&&n.setState({comparesData:e.data})})).catch((function(e){}))}},n.set_default_pull=function(e){if(e&&e.length>0){var t=e.filter((function(e){return"master"===e.name}));t.length>0?n.setState({pull:t[0].name}):n.setState({pull:"master"})}},n.set_default_merge=function(e){if(e&&e.length){var t=e.filter((function(e){return"master"===e.name}));t.length>0?n.setState({merge:t[0].name}):n.setState({merge:"master"}),n.ischeckmerge()}},n.newMergelist=function(e,t){n.setState({isSpin:!0});var r="/"+e+"/"+t+"/pulls/get_branches.json";f.default.get(r).then((function(e){e&&(n.setState({merge_branches:e.data}),n.set_default_merge(e.data)),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.selectBrach=function(e,t){n.state[e]=t,n.ischeckmerge();var r=n.state,o=r.id,a=r.merge,i=r.pull;"pull"===e?n.compareProject(o,t,a):n.compareProject(o,i,t)},n.selectProjectName=function(e){var t=n.state,r=t.projects_names,o=t.id,a=r&&r.filter((function(t){return t.id===e})),i=a&&a[0].project_id,l=a&&a[0].project_user_login,s=parseInt(e)!==parseInt(o);n.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}}),n.props.history.push("/projects/"+l+"/"+i+"/pulls/new"),n.newMergelist(l,i)},n.ischeckmerge=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.owner,o=n.state,a=o.pull,i=o.merge,l=o.merge_head,s=o.id,c="/"+r+"/"+t+"/pulls/check_can_merge.json";f.default.post(c,{head:a,base:i,is_original:l,fork_project_id:l?s:void 0}).then((function(e){e?0===e.data.status?n.setState({isSpin:!1,show_message:!1}):n.setState({isSpin:!1,show_message:!0,default_message:e.data.message}):n.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(e){n.setState({isSpin:!1,show_message:!0}),console.log(e)}))},n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:"master",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(){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,g=n.isSpin,b=n.show_message,w=n.default_message,O=(n.merge_head,n.projects_names),_=n.id,E=n.comparesData,j=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)}))},S=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)}))},x=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(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:_,className:"hide-1 task-hide flex1",disabled:!0},S(O)),u.default.createElement(i.default,{value:y,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},j(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(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:x&&x.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},S(m)),u.default.createElement(i.default,{value:v,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},j(f)))))),b?u.default.createElement("div",{className:"mb20"},u.default.createElement(o.default,{description:(e=w,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:E&&E.diff&&E.diff.files_count,commits_count:E&&E.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:E})))}}]),t}(c.Component);t.default=y},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),w=n("17x9"),O=n.n(w),_=n("TSYQ"),E=n.n(_),j=n("n1GQ"),S=n.n(j),x=n("VCL8"),C=37,k=38,P=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function D(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 V(e,t,n,r,o){var a=I(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),B=n.n(U)()({}),z=B.Provider,H=B.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:O.a.func,prevElement:O.a.object,nextElement:O.a.object};var G=K,Y=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,a=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=E()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},D(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:O.a.string,active:O.a.bool,style:O.a.any,destroyInactiveTabPane:O.a.bool,forceRender:O.a.bool,placeholder:O.a.node,rootPrefixCls:O.a.string,children:O.a.node,id:O.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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,S.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(S.a.cancel(this.sentinelId),this.sentinelId=S()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=E()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),w=[];return"bottom"===a?w.push(g,v,b,y):w.push(y,g,v,b),o.a.createElement(z,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},D(m),{onScroll:this.onScroll}),w))}}],[{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=Q(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===C||n===k){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:O.a.bool,renderTabBar:O.a.func.isRequired,renderTabContent:O.a.func.isRequired,navWrapper:O.a.func,onChange:O.a.func,children:O.a.node,prefixCls:O.a.string,className:O.a.string,tabBarPosition:O.a.string,style:O.a.object,activeKey:O.a.string,defaultActiveKey:O.a.string,direction:O.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=Z,Object(x.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=E()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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:O.a.bool,animatedWithMargin:O.a.bool,prefixCls:O.a.string,children:O.a.node,activeKey:O.a.string,style:O.a.any,tabBarPosition:O.a.string,className:O.a.string,destroyInactiveTabPane:O.a.bool,direction:O.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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=I(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=E()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:O.a.string,styles:O.a.object,inkBarAnimated:O.a.bool,saveRef:O.a.func,direction:O.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,w="rtl"===p?"marginLeft":"marginRight",O=c()({},M(u)?"marginBottom":w,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=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:O},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),o.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(o.a.Component),ue=ce;ce.propTypes={activeKey:O.a.string,panels:O.a.node,prefixCls:O.a.string,tabBarGutter:O.a.number,onTabClick:O.a.func,saveRef:O.a.func,renderTabBarNode:O.a.func,tabBarPosition:O.a.string,direction:O.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,a=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=E()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},D(d)),g)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:O.a.string,className:O.a.string,style:O.a.object,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),children:O.a.node,extraContent:O.a.node,onKeyDown:O.a.func,saveRef:O.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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:E()((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:i?this.next:null,unselectable:"unselectable",className:E()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=E()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:E()((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:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:O.a.string,getRef:O.a.func.isRequired,saveRef:O.a.func.isRequired,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),prefixCls:O.a.string,scrollAnimated:O.a.bool,onPrevClick:O.a.func,onNextClick:O.a.func,navWrapper:O.a.func,children:O.a.node,prevIcon:O.a.node,nextIcon:O.a.node,direction:O.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,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:O.a.func},ge.defaultProps={children:function(){return null}};var we=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 o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),Oe=we;we.propTypes={children:O.a.func};var _e=n("CtXQ");function Ee(){return(Ee=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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(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 ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ke(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return xe(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===Se(a)?a.inkBar:a,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=E()("".concat(c,"-").concat(s,"-bar"),(je(e={},"".concat(c,"-").concat(f,"-bar"),!!f),je(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),w=Ee(Ee({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(w,Oe):r.createElement(Oe,w),r.cloneElement(t)}}])&&Ce(n.prototype,o),a&&Ce(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=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 De(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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,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(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(ze()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Be(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),w=E()(s,(De(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),De(n,"".concat(b,"-").concat(c),!!c),De(n,"".concat(b,"-card"),f.indexOf("card")>=0),De(n,"".concat(b,"-").concat(f),!0),De(n,"".concat(b,"-no-animation"),!g),n)),O=[];"editable-card"===f&&(O=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,a=(o=void 0===o||o)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;O.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),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 _=We(e.props,[]),j=E()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:w,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,Ie({},Object(re.a)(_,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:j,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),O.length>0?O:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=O(n("VXEj")),o=O(n("NJEC")),a=O(n("2/Rp")),i=O(n("NUBc")),l=O(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=O(u),p=n("eO8H"),d=O(n("vDqi")),m=O(n("AySf")),h=O(n("bIax")),y=n("sYIF"),v=O(n("LZ3y")),g=O(n("p7gc")),b=O(n("bjH3")),w=O(n("oYoh"));function O(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,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.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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,O=t.attachment_clean,E=t.is_reply,j=t.reply_id,S=t.reply_content,x=t.orderId,C=t.new_journal_id,k=this.props,P=k.current_user,N=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?S: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:O,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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,E&&j&&j===t.id?f.default.createElement("div",{className:"pt20"},T(E,t.id)):""),f.default.createElement(w.default,s({order_id:x,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"},E&&!j?f.default.createElement("div",{className:"pd20"},T(E,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},E&&!j?f.default.createElement("div",{className:"pd20"},T(E,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=E},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),w=(g="[object Arguments]"==g?f:g)==f,O=(b="[object Arguments]"==b?f:b)==f,_=g==b;if(_&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(_&&!w)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var E=w&&p.call(e,"__wrapped__"),j=O&&p.call(t,"__wrapped__");if(E||j){var S=E?e.value():e,x=j?t.value():t;return h||(h=new r),m(S,x,n,d,h)}}return!!_&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),f=n("H84U"),p=n("6CfX");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(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(){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 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,t){return!t||"object"!==d(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=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},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&&g(e,t)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=_(t);if(O()){var r=_(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function c(){var e;return y(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=w(e),i=a.props,c=a.context,u=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,y=i.style,v=i.onMouseEnter,g=i.onMouseLeave,b=E(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=c.checkboxGroup,_=o("checkbox",u),j=h({},b);O&&(j.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),O.toggleOption({label:p,value:i.value})},j.name=O.name,j.checked=-1!==O.value.indexOf(i.value),j.disabled=i.disabled||O.disabled);var S=l()(f,(m(n={},"".concat(_,"-wrapper"),!0),m(n,"".concat(_,"-wrapper-checked"),j.checked),m(n,"".concat(_,"-wrapper-disabled"),j.disabled),n)),x=l()(m({},"".concat(_,"-indeterminate"),d));return r.createElement("label",{className:S,style:y,onMouseEnter:v,onMouseLeave:g},r.createElement(s.a,h({},j,{prefixCls:_,className:x,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var S=j,x=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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&&F(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,s=a.prefixCls,c=a.className,u=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",s),m="".concat(d,"-group"),h=Object(x.a)(p,["children","defaultValue","value","onChange","disabled"]),y=a.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,c);return r.createElement("div",k({className:v,style:u},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),s}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var V=L;S.Group=V;t.default=S},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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},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&&h(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),O=n("CWQg"),_=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),E=n("6CfX"),j=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 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 k(e,t){for(var n=0;n<t.length;n++){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 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(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(_.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(j.a,null,r.createElement("span",C({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",C({},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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return C({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(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,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&&R.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)}}])&&k(n.prototype,o),l&&k(n,l),f}(r.Component);M.CheckableTag=w,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==b(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 x(){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 k=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},P=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&&j(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=C(t);if(x()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function u(){var e;return _(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=k(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((O(n={},y,!s),O(n,"".concat(y,"-").concat(s),s),O(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),O(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),b=w(w(w({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),_=w({},h);return delete _.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",w({},_,{className:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&E(n.prototype,r),a&&E(n,a),u}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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=j(Array.prototype.forEach),f=j(Array.prototype.indexOf),p=j(Array.prototype.join),d=j(Array.prototype.pop),m=j(Array.prototype.push),h=j(Array.prototype.slice),y=j(String.prototype.toLowerCase),v=j(String.prototype.match),g=j(String.prototype.replace),b=j(String.prototype.indexOf),w=j(String.prototype.trim),O=j(RegExp.prototype.test),_=S(RegExp),E=S(TypeError);function j(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 S(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 x(e,r){t&&t(e,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function C(t){var n=i(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"]),P=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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),I=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),z=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,j=t.Node,S=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=D,pe=L,de=V,me=q,he=B,ye=z,ve=U,ge=null,be=x({},[].concat(W(k),W(P),W(N),W(T),W(F))),we=null,Oe=x({},[].concat(W(A),W(R),W(M),W(I))),_e=null,Ee=null,je=!0,Se=!0,xe=!1,Ce=!1,ke=!1,Pe=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,Ie=!0,De=!0,Le=!1,Ve={},qe=x({},["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=x({},["audio","video","img","source","image","track"]),ze=null,He=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=C(e),ge="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):be,we="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Oe,ze="ADD_URI_SAFE_ATTR"in e?x(C(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?x(C(Be),e.ADD_DATA_URI_TAGS):Be,_e="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Ee="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,Se=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,De=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(Se=!1),Ae&&(Fe=!0),Ve&&(ge=x({},[].concat(W(F))),we=[],!0===Ve.html&&(x(ge,k),x(we,A)),!0===Ve.svg&&(x(ge,P),x(we,R),x(we,I)),!0===Ve.svgFilters&&(x(ge,N),x(we,R),x(we,I)),!0===Ve.mathMl&&(x(ge,T),x(we,M),x(we,I))),e.ADD_TAGS&&(ge===be&&(ge=C(ge)),x(ge,e.ADD_TAGS)),e.ADD_ATTR&&(we===Oe&&(we=C(we)),x(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(ze,e.ADD_URI_SAFE_ATTR),De&&(ge["#text"]=!0),Pe&&x(ge,["html","head","body"]),ge.table&&(x(ge,["tbody"]),delete _e.tbody),o&&o(e),We=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ze=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)},Qe=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(i&&x(_e,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Qe("<x/><title></title><img>");O(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT,(function(){return S.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===j?"undefined":H(j))?e instanceof j:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||_e[r]){if(De&&!qe[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&&O(/<\/noscript/i,e.innerHTML)||"noembed"===r&&O(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!O(/</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 Ke))return!1;if(Se&&O(de,t));else if(je&&O(me,t));else{if(!we[t]||Ee[t])return!1;if(ze[t]);else if(O(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(xe&&!O(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:we};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=w(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(we[a]||!Ee[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(Ce&&O(/\/>/i,o))Ze(m,e);else if(O(/svg|math/i,e.namespaceURI)&&O(_("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{ke&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 E("toString is not a function");if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 j)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),w=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,v=t.autoFocus,b=t.value,w=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(w).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=w[t]),e}),{}),_=this.state.checked,E=g()(n,r,((e={})[n+"-checked"]=_,e[n+"-disabled"]=u,e));return m.a.createElement("span",{className:E,style:a},m.a.createElement("input",i()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:p,className:n+"-input",checked:!!_,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},O)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);w.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},w.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(w);var O=w;t.a=O},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/21.4af17802.chunk.js b/static/js/21.4af17802.chunk.js deleted file mode 100644 index 076b2bfde..000000000 --- a/static/js/21.4af17802.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 21.4af17802.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[21,4,5,10,13,77],{"+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"),a=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,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 b(){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 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)}(_,e);var t,n,i,p,E=(t=_,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function _(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_),(t=E.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,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,O=i.icon,w=t.props,E=w.closable,_=w.type,C=w.showIcon,j=w.iconType,S=t.state,x=S.closing,P=S.closed,k=o("alert",f);C=!(!y||void 0!==C)||C,_=y&&void 0===_?"warning":_||"info";var N="filled";if(!j){switch(_){case"success":j="check-circle";break;case"info":j="info-circle";break;case"error":j="close-circle";break;case"warning":j="exclamation-circle";break;default:j="default"}c&&(N="outlined")}h&&(E=!0);var T=l()(k,"".concat(k,"-").concat(_),(m(n={},"".concat(k,"-closing"),x),m(n,"".concat(k,"-with-description"),!!c),m(n,"".concat(k,"-no-icon"),!C),m(n,"".concat(k,"-banner"),!!y),m(n,"".concat(k,"-closable"),E),n),g),F=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,A=Object(u.a)(t.props),R=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:j,theme:N});return P?null:r.createElement(a.a,{component:"",showProp:"data-show",transitionName:"".concat(k,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!x,className:T,style:b},A),C?R:null,r.createElement("span",{className:"".concat(k,"-message")},p),r.createElement("span",{className:"".concat(k,"-description")},c),F))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return n=_,(i=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(n.prototype,i),p&&h(n,p),_}(r.Component)},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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)}(w,e);var t,n,o,a,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(){var e;return p(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,O=a.children,w=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],_=u(u({},_),(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 C=i()(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(v),v),n),g,_);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:C}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"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,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7Lfq":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),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 _(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 C=+new Date,j=0;function S(){return"rc-upload-"+C+"-"+ ++j}var x=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},k=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)P(e.dataTransfer.items,r.uploadFiles,(function(e){return x(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return x(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},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,a=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||_;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:a?function(t){a(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: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,a=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,a,a),e)),y=i?{}:{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"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},D=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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: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 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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);D.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 I=D;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:I}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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(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 we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var Pe=function(e){function t(){var e,n;we(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return xe(je(n=_e(this,(e=Ce(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Se(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),O=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,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,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);Pe.propTypes=ge,Pe.defaultProps=ye;he(Pe);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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,Ie(Me(e),"paths",{}),Ie(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&De(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},O=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),C=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(C),S=w()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:S,style:b},r.createElement(Be,{percent:We(e),strokeWidth:O,trailWidth:O,strokeColor:C,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=w()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,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),b&&r.createElement("a",{title:d.removeFile},b)),_=w()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([O,b].filter((function(e){return e})).length),!0),o)),C=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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")},j,"done"===t.status&&O,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var x=r.createElement("span",null,i,C),P=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},x),S,r.createElement(W.a,{transitionName:"fade",component:""},a)),k=w()(ct({},"".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()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),Ot=n("6CfX");function wt(e){return(wt="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 Et(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(){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 Ct(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function St(e,t){return!t||"object"!==wt(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 xt(){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 Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Pt(t);if(xt()){var r=Pt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return St(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(Et(O={},"".concat(v,"-drag"),!0),Et(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(O,"".concat(v,"-drag-hover"),"dragover"===y),Et(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(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=w()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var C=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,C):r.createElement("span",{className:l},C,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&Ct(n.prototype,o),a&&Ct(n,a),l}(r.Component);kt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(kt);var Nt=kt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e,t){return!t||"object"!==Tt(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 It(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(It()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Dt(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 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)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,_=n("3S7+"),C=n("H84U");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 S(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=I(e);if(D()){var r=I(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return k(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,P({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(C.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,P({className:s},l),o)},z=function(e){F(n,e);var t=R(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(S(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,P({className:p},f),s))}}]),n}(r.Component),B=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);B.Header=H,B.Footer=W,B.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=Y(w)?"".concat(w,"px"):String(w),_=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,C={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?_||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:E}},d||C):null,S=X(X({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),x=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!_),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",X({className:x},O,{style:S}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&_?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(_.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);Ee.isMenuItem=!0;var _e=n("6CfX"),Ce=n("oHiP"),je=function(){return{height:0,opacity:0}},Se=function(e){return{height:e.scrollHeight,opacity:1}},xe={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Se,onEnterActive:Se,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function Pe(e){return(Pe="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(){return(ke=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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(Ie()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(e,t){return!t||"object"!==Pe(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 Ie(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),O=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=ke({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,ke({getPopupContainer:c},y,w,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(_e.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(_e.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(_e.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){Ce.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(_e.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}:{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(C.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,ke({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=Ee,qe.SubMenu=E,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,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",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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,a({},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"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,a({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 O=r[v.charAt(0)];if(O)b=v.match(O[1]),g=O[0];else{for(var E=0;E<o;++E)if(O=t[E],b=v.match(O[1])){g=O[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 _=u;if(u+=v.length,y){var C=b[1],j=v.indexOf(C),S=j+C.length;b[2]&&(j=(S=v.length-b[2].length)-C.length);var x=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,C,w(x,C),c),p(s,l+_+S,v.substring(S),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function O(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 w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.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,a=e.sourceCode,i=a.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,O=s[u+2]||i,w=f[d+2]||i,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,C=_.createElement("span");C.className=f[d+1];var j=E.parentNode;j.replaceChild(C,E),C.appendChild(E),l<O&&(s[u+1]=E=_.createTextNode(a.substring(y,O)),j.insertBefore(E,C.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function C(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,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 a=l[p],i=w,s=a;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 _=a.className;if((i!==w||h.test(_))&&!y.test(_)){for(var C=!1,j=a.parentNode;j;j=j.parentNode){var S=j.tagName;if(O.test(S)&&j.className&&h.test(j.className)){C=!0;break}}if(!C){a.className+=" prettyprinted";var x,P,k=i.lang;if(!k)!(k=_.match(d))&&(x=m(a))&&b.test(x.tagName)&&(k=x.className.match(d)),k&&(k=k[1]);if(v.test(a.tagName))P=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;P=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,P),E({langExtension:k,sourceNode:a,numberLines:A,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:a,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:i,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 j=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:_,prettyPrint:C},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return j}))}()},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){},TiQt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_(n("Vl3Y")),o=_(n("W9HT")),a=_(n("jsC+")),i=_(n("CtXQ")),l=_(n("+KLJ")),s=_(n("mr32")),c=_(n("BvKs")),u=_(n("2/Rp")),f=_(n("ZTPi")),p=_(n("5rEg")),d=_(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=_(y),g=n("eO8H"),b=(n("spEH"),_(n("vDqi"))),O=n("sYIF");n("js5m");var w=_(n("bjH3"));n("6JOy");var E=_(n("Fyak"));function _(e){return e&&e.__esModule?e:{default:e}}d.default.Option;var C=p.default.TextArea,j=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,o="/"+e.owner+"/"+t+"/pulls/"+r+".json";b.default.get(o).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}):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,o="/"+e.owner+"/"+t+"/pulls/"+r+"/refuse_merge.json";b.default.post(o).then((function(e){e?n.setState({isSpin:!1,pr_status:2}):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,o=n.state,a=o.data,i=o.title,l=o.body,s=o.mergekey,c=(o.pr_status,"/"+r+"/"+t+"/pulls/"+a.pull_request.id+"/pr_merge.json");b.default.post(c,{project_id:t,id:a.pull_request.id,do:s,body:l,title:i}).then((function(e){e?n.setState({SpinMerge:!1,pr_status:1}):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.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,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=this,t=this.props.match.params,n=t.projectsId,r=t.mergeId,f=t.owner,d=this.state,h=d.data,y=d.SpinMerge,b=d.pr_status,w=d.isSpin,_=d.ismesrge,j=d.SpinFlag,S=(d.copyVisible,d.pull_request,this.props),x=S.current_user,P=S.projectDetail,k=v.default.createElement(c.default,{onClick:function(t){return e.getOption(t)}},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:"压缩提交并合并"},"压缩提交并合并")),N=P&&("Admin"===P.permission||"Owner"===P.permission||"Manager"===P.permission),T=x&&x.login&&P&&0===b&&N;return v.default.createElement("div",null,h?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"},h.issue.subject)),h.pull_request&&v.default.createElement(s.default,{className:"pr_tags_"+h.pull_request.pull_request_staus},1===b?"已合并":2===b?"已拒绝":"开启的")),v.default.createElement("div",{className:"mt15"},v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/projects/"+f+"/"+(h.pull_request.is_original?h.project_identifier:n)+"/branch/"+h.pull_request.head,className:"ver-middle"},h.pull_request.is_original?h.pull_request.fork_project_user:h.issue.project_author_name,":",h.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:"/projects/"+f+"/"+n+"/branch/"+h.pull_request.base,className:"ver-middle"},h.issue.project_author_name,":",h.pull_request.base))),v.default.createElement("div",{className:"mt15"},v.default.createElement(g.Link,{to:"/users/"+h.issue.author_login,className:"show-user-link"},v.default.createElement("img",{className:"mr5",src:(0,O.getImageUrl)("images/"+h.issue.author_picture),alt:"",width:"24",height:"24"})),v.default.createElement("span",{className:"ver-middle"},v.default.createElement("span",{className:"color-grey-8 mr5"},"由"),v.default.createElement(g.Link,{to:"/users/"+h.issue.author_login,className:"show-user-link color-blue"},h.issue.author_name),v.default.createElement("span",{className:"ml5 color-grey-8"},0===b?"创建于":1===b?"合并于":"更新于"),v.default.createElement("span",{className:"color-grey-8 ml5"},h.pr_time),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"审查人员:"),h.issue.assign_user_name?v.default.createElement(g.Link,{to:"/users/"+h.issue.assign_user_login,className:"show-user-link color-blue"},h.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"},h.issue.version?h.issue.version:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"标签:"),v.default.createElement("span",{className:"color-grey-3"},h.issue.issue_tags&&h.issue.issue_tags.length>0?h.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"},h.issue.priority?h.issue.priority:"--"))))),v.default.createElement("div",{className:"ml10"},v.default.createElement("div",{className:"mt15 text-right",style:{display:"flex",justifyContent:"flex-end"}},T&&v.default.createElement(u.default,{type:"green",ghost:!0,className:"ml20",onClick:function(){e.props.history.push("/projects/"+f+"/"+n+"/pulls/"+r+"/UpdateMerge")}},"编辑"),T&&v.default.createElement(u.default,{type:"danger",ghost:!0,onClick:function(){return e.closedetail()},className:"ml20",loading:w},"拒绝")))),h.issue.description?v.default.createElement("div",{className:"mt15"},this.commentCtx(h.issue.description)):v.default.createElement("p",{className:"color-grey-9 ml3 mr3 mt15"},"没有描述")),v.default.createElement("div",{className:"mt15"},2===b&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被拒绝",type:"error"}),1===b&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被合并",type:"success"}),0===b&&P&&"Reporter"!==P.permission&&v.default.createElement(o.default,{spinning:j},v.default.createElement("div",{style:{display:"rebase"===this.state.mergekey?"none"===this.state.buttonshow?"block":"none":_?"none":"block"}},v.default.createElement("p",{className:"mb15"},v.default.createElement(a.default.Button,{overlay:k,type:"primary",onClick:this.submitmerge,icon:v.default.createElement(i.default,{type:"caret-down"})},this.state.mergename)),v.default.createElement(l.default,{message:"该合并请求可以进行自动合并操作",type:"success",showIcon:!0})),v.default.createElement("div",null,v.default.createElement("div",{style:{display:_?"block":"none",marginTop:15}},v.default.createElement(p.default,{placeholder:"标题",value:this.state.title,onChange:this.changtitlepr}),v.default.createElement(C,{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(o.default,{spinning:y},v.default.createElement(u.default,{type:"primary",onClick:function(){return e.prmerge()}},"确认合并"),v.default.createElement(u.default,{onClick:function(){return e.nonemerge()},className:"ml15"},"取消"))))))),v.default.createElement(E.default,m({footer_type:!0,order_id:h&&h.issue.id},this.props,this.state))):"")}}]),t}(y.Component),S=r.default.create({name:"MessageCountForm"})(j);t.default=S},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return I}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 O(){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 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 _=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 C(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=w(t);if(O()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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=a?"div":"li",w=r.createElement(O,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 a?r.createElement(p.a,{span:C(a,"column"),xs:C(a,"xs"),sm:C(a,"sm"),md:C(a,"md"),lg:C(a,"lg"),xl:C(a,"xl"),xxl:C(a,"xxl")},w):w},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(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 x(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(n);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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.string};var D=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},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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,O=m.itemLayout,w=m.loadMore,E=m.pagination,_=m.grid,C=m.dataSource,j=void 0===C?[]:C,S=m.size,P=m.header,T=m.footer,F=m.loading,A=D(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var I=M&&M.spinning,L="";switch(S){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===O),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),I),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=k(k(k({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,k({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=x(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=x(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=I&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||I||(z=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",k({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&B,P&&r.createElement("div",{className:"".concat(R,"-header")},P),r.createElement(s.default,M,z,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),w||("bottom"===G||"both"===G)&&B)};var n=e.pagination,o=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);I.Item=j,I.childContextTypes={grid:o.any,itemLayout:o.string},I.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),E=n("fhzG"),_=n.n(E),C=n("aGtg"),j=n("oV5b"),S=n.n(j),x=n("2W6z"),P=n.n(x),k=n("mwIZ"),N=n.n(k),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),D=n.n(M),I=n("V7oC"),L=n.n(I),V=function e(t){D()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void P()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){D()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new S.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(C.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({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 _e(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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?xe(e):t}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pe(){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 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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ke(t);if(Pe()){var r=ke(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Se(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(xe(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var C=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,we({},g,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:C,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)}}])&&Ce(n.prototype,o),a&&Ce(n,a),s}(r.Component);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 De(){return(De=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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(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",De({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),O=n("17x9"),w=n.n(O),E=n("TSYQ"),_=n.n(E),C=n("n1GQ"),j=n.n(C),S=n("VCL8"),x=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 F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function D(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function I(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 V(e,t,n,r,o){var a=D(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=K,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},I(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===a?O.push(g,v,b,y):O.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},I(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=Q(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===x||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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-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=Z,Object(S.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=D(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,O="rtl"===p?"marginLeft":"marginRight",w=c()({},M(u)?"marginBottom":O,b);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},g),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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},I(d)),g)}}]),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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,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 ge=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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 xe(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==je(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Pe(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ke(this,e)});function l(){return Se(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),O=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&xe(n.prototype,o),a&&xe(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=n("R3zJ");function De(){return(De=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 Ie(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),O=_()(s,(Ie(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Ie(n,"".concat(b,"-").concat(c),!!c),Ie(n,"".concat(b,"-card"),f.indexOf("card")>=0),Ie(n,"".concat(b,"-").concat(f),!0),Ie(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 o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.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:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),C=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:b,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,De({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:C,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),a=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")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,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,_=t.is_reply,C=t.reply_id,j=t.reply_content,S=t.orderId,x=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:"/users/"+(k&&k.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(k&&k.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?j: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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(a.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(a.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,_&&C&&C===t.id?f.default.createElement("div",{className:"pt20"},T(_,t.id)):""),f.default.createElement(O.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:x},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!C?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!C?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),O=(g="[object Arguments]"==g?f:g)==f,w=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,O=!1}if(E&&!O)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=O&&p.call(e,"__wrapped__"),C=w&&p.call(t,"__wrapped__");if(_||C){var j=_?e.value():e,S=C?t.value():t;return h||(h=new r),m(j,S,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),y=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return g.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=u;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(c.a,y({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:v||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var g=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(v);var b=v,O=n("H84U"),w=n("6CfX"),E=n("CtXQ"),_=n("CWQg");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(){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 S(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 P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(_.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return k(this,e)});function l(){var e;return S(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(E.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),h=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),y=u?[]:c;return y&&-1!==y.indexOf("contextMenu")&&(n=!0),r.createElement(b,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:y,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&x(n.prototype,o),a&&x(n,a),l}(r.Component);F.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var A=n("2/Rp");function R(e){return(R="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 D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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 L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(e,t){return!t||"object"!==R(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 q(){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 U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=A.default.Group,H=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&&L(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=U(t);if(q()){var r=U(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function l(){var e;return D(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,h=a.trigger,y=a.align,v=a.visible,g=a.onVisibleChange,b=a.placement,O=a.getPopupContainer,w=a.href,_=a.icon,C=void 0===_?r.createElement(E.default,{type:"ellipsis"}):_,j=a.title,S=z(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),x=o("dropdown-button",i),P={align:y,overlay:m,disabled:s,trigger:s?[]:h,onVisibleChange:g,placement:b,getPopupContainer:O||n};return"visible"in e.props&&(P.visible=v),r.createElement(B,M({},S,{className:f()(x,d)}),r.createElement(A.default,{type:l,disabled:s,onClick:c,htmlType:u,href:w,title:j},p),r.createElement(F,P,r.createElement(A.default,{type:l},C)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&I(n.prototype,o),a&&I(n,a),l}(r.Component);H.defaultProps={placement:"bottomRight",type:"default"},F.Button=H;t.default=F},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},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),w=n("CWQg"),E=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),C=n("g0mS");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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return(x=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){for(var n=0;n<t.length;n++){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 N(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 T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&k(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return x({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(S(t={},"".concat(u,"-").concat(l),c),S(t,"".concat(u,"-has-color"),l&&!c),S(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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)}}])&&P(n.prototype,o),l&&P(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 _(e,t){for(var n=0;n<t.length;n++){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 C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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 S(){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 x(e){return(x=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&&C(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=x(t);if(S()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=P(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((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),b=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:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(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}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,O=t.constructor;b==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof O&&O instanceof O||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=C(String.prototype.toLowerCase),v=C(String.prototype.match),g=C(String.prototype.replace),b=C(String.prototype.indexOf),O=C(String.prototype.trim),w=C(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function C(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 j(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 o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function x(t){var n=i(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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),I=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,C=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=x(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=I,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=S({},[].concat(W(P),W(k),W(N),W(T),W(F))),Oe=null,we=S({},[].concat(W(A),W(R),W(M),W(D))),Ee=null,_e=null,Ce=!0,je=!0,Se=!1,xe=!1,Pe=!1,ke=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,De=!0,Ie=!0,Le=!1,Ve={},qe=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"]),Ue=null,ze=S({},["audio","video","img","source","image","track"]),Be=null,He=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=x(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,Oe="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):we,Be="ADD_URI_SAFE_ATTR"in e?S(x(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?S(x(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_JQUERY||!1,Pe=e.SAFE_FOR_TEMPLATES||!1,ke=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Pe&&(je=!1),Ae&&(Fe=!0),Ve&&(ge=S({},[].concat(W(F))),Oe=[],!0===Ve.html&&(S(ge,P),S(Oe,A)),!0===Ve.svg&&(S(ge,k),S(Oe,R),S(Oe,D)),!0===Ve.svgFilters&&(S(ge,N),S(Oe,R),S(Oe,D)),!0===Ve.mathMl&&(S(ge,T),S(Oe,M),S(Oe,D))),e.ADD_TAGS&&(ge===be&&(ge=x(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=x(Oe)),S(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Be,e.ADD_URI_SAFE_ATTR),Ie&&(ge["#text"]=!0),ke&&S(ge,["html","head","body"]),ge.table&&(S(ge,["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}},Ze=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)},Qe=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(i&&S(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,ke?"html":"body")[0]};n.isSupported&&function(){try{var e=Qe("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===C?"undefined":H(C))?e instanceof C:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(Ie&&!qe[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):(!xe||$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,"<")),Pe&&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(De&&("id"===t||"name"===t)&&(n in l||n in Ke))return!1;if(je&&w(de,t));else if(Ce&&w(me,t));else{if(!Oe[t]||_e[t])return!1;if(Be[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Se&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(Oe[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(xe&&w(/\/>/i,o))Ze(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{Pe&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 C)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!Pe&&!ke&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=ke?o.outerHTML:o.innerHTML;return Pe&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/21.9fc1e0de.chunk.js b/static/js/21.9fc1e0de.chunk.js new file mode 100644 index 000000000..f929e707c --- /dev/null +++ b/static/js/21.9fc1e0de.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 21.9fc1e0de.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[21,4,5,10,13,14,73],{"+B/L":function(e,t,n){},"+KLJ":function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),o=n("i8i4"),a=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,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 b(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(){}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)}(E,e);var t,n,i,p,_=(t=E,function(){var e,n=w(t);if(b()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function E(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,E),(t=_.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||O)(e)},t.animationEnd=function(){t.setState({closing:!1,closed:!0}),(t.props.afterClose||O)()},t.renderAlert=function(e){var n,o=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,w=i.icon,O=t.props,_=O.closable,E=O.type,j=O.showIcon,S=O.iconType,x=t.state,C=x.closing,k=x.closed,P=o("alert",f);j=!(!y||void 0!==j)||j,E=y&&void 0===E?"warning":E||"info";var N="filled";if(!S){switch(E){case"success":S="check-circle";break;case"info":S="info-circle";break;case"error":S="close-circle";break;case"warning":S="exclamation-circle";break;default:S="default"}c&&(N="outlined")}h&&(_=!0);var T=l()(P,"".concat(P,"-").concat(E),(m(n={},"".concat(P,"-closing"),C),m(n,"".concat(P,"-with-description"),!!c),m(n,"".concat(P,"-no-icon"),!j),m(n,"".concat(P,"-banner"),!!y),m(n,"".concat(P,"-closable"),_),n),g),F=_?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),R=w&&(r.isValidElement(w)?r.cloneElement(w,{className:l()("".concat(P,"-icon"),m({},w.props.className,w.props.className))}):r.createElement("span",{className:"".concat(P,"-icon")},w))||r.createElement(s.default,{className:"".concat(P,"-icon"),type:S,theme:N});return k?null:r.createElement(a.a,{component:"",showProp:"data-show",transitionName:"".concat(P,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!C,className:T,style:b},A),j?R:null,r.createElement("span",{className:"".concat(P,"-message")},p),r.createElement("span",{className:"".concat(P,"-description")},c),F))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return n=E,(i=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(n.prototype,i),p&&h(n,p),E}(r.Component)},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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},w=o.oneOfType([o.object,o.number]),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)}(O,e);var t,n,o,a,w=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(){var e;return p(this,O),(e=w.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,w=a.children,O=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),_=o("col",s),E={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete O[e],E=u(u({},E),(c(t={},"".concat(_,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(_,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(_,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(_,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(_,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var j=i()(_,(c(n={},"".concat(_,"-").concat(p),void 0!==p),c(n,"".concat(_,"-order-").concat(d),d),c(n,"".concat(_,"-offset-").concat(m),m),c(n,"".concat(_,"-push-").concat(h),h),c(n,"".concat(_,"-pull-").concat(v),v),n),g,E);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=O.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({},O,{style:n,className:j}),w)}))},e}return n=O,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),O}(r.Component);O.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:w,sm:w,md:w,lg:w,xl:w,xxl:w}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"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,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),w=n("TSYQ"),O=n.n(w);function _(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function E(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 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 j=+new Date,S=0;function x(){return"rc-upload-"+j+"-"+ ++S}var C=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var k=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:x()},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 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=x(),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,a=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||E;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:a?function(t){a(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:x()})}},{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,a=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=O()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,a,a),e)),y=i?{}:{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);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 N=P,T=n("i8i4"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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:x(),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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=O()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);I.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 D=I;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:D}},{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);V.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},V.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 q=V,U=n("qPyV"),B=n.n(U),z=n("UfWW"),H=n.n(z),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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 we(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 Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function Ee(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Se(e):t}function je(e){return(je=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 xe(e,t){return(xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var ke=function(e){function t(){var e,n;Oe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return Ce(Se(n=Ee(this,(e=je(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&xe(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=we(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),w=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(w,"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 w+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&_e(n.prototype,r),a&&_e(n,a),t}(r.Component);ke.propTypes=ge,ke.defaultProps=ye;he(ke);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 Be=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,De(Me(e),"paths",{}),De(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&Ie(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);Be.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),Be.defaultProps=Ne({},ye,{gapPosition:"top"});var ze=he(Be);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},w=f||6,_=m||"dashboard"===y&&"bottom"||"top",E=h||("dashboard"===y?75:void 0),j=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),S="[object Object]"===Object.prototype.toString.call(j),x=O()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=S,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:x,style:b},r.createElement(ze,{percent:We(e),strokeWidth:w,trailWidth:w,strokeColor:j,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:E,gapPosition:_}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=O()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=O()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,w=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":"")},w&&r.createElement("a",{title:d.downloadFile},w),b&&r.createElement("a",{title:d.removeFile},b)),E=O()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([w,b].filter((function(e){return e})).length),!0),o)),j=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:E,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),_]:[r.createElement("span",{key:"view",className:E,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),_],S=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,x="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},S,"done"===t.status&&w,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var C=r.createElement("span",null,i,j),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},C),x,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=O()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},k):r.createElement("span",null,k))})),v=O()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),wt=n("6CfX");function Ot(e){return(Ot="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Et(){return(Et=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 jt(e,t){for(var n=0;n<t.length;n++){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 St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xt(e,t){return!t||"object"!==Ot(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 Ct(){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 kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&St(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=kt(t);if(Ct()){var r=kt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xt(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:Et({},a),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:Et({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:Et({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:B()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:Et(Et({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=Et(Et({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var w,_=O()(v,(_t(w={},"".concat(v,"-drag"),!0),_t(w,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),_t(w,"".concat(v,"-drag-hover"),"dragover"===y),_t(w,"".concat(v,"-disabled"),f),w),l);return r.createElement("span",null,r.createElement("div",{className:_,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(q,Et({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var E=O()(v,(_t(n={},"".concat(v,"-select"),!0),_t(n,"".concat(v,"-select-").concat(c),!0),_t(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var j=r.createElement("div",{className:E,style:p?void 0:{display:"none"}},r.createElement(q,Et({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:O()(l,"".concat(v,"-picture-card-wrapper"))},b,j):r.createElement("span",{className:l},j,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(wt.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&jt(n.prototype,o),a&&jt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function It(e,t){return!t||"object"!==Tt(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(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(Dt()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return It(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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&&v(e,t)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=w(t);if(b()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);O.contextTypes={antdMenuTheme:c.string},O.isSubMenu=1;var _=O,E=n("3S7+"),j=n("H84U");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){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(n);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 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 P(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=D(e);if(I()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 I(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return P(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,k({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(j.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,k({className:s},l),o)},B=function(e){F(n,e);var t=R(n);function n(){var e;return P(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(x(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,k({className:p},f),s))}}]),n}(r.Component),z=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(B),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);z.Header=H,z.Footer=W,z.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),w=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),O=o.state.collapsed?y:h,_=Y(O)?"".concat(O,"px"):String(O),E=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,j={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==d?E||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:_}},d||j):null,x=X(X({},m),{flex:"0 0 ".concat(_),maxWidth:_,minWidth:_,width:_}),C=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!E),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(_)),t));return r.createElement("aside",X({className:C},w,{style:x}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&E?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(j.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 we(e){return(we=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Oe=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},_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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=we(t);if(be()){var r=we(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=Oe(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(E.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);_e.isMenuItem=!0;var Ee=n("6CfX"),je=n("oHiP"),Se=function(){return{height:0,opacity:0}},xe=function(e){return{height:e.scrollHeight,opacity:1}},Ce={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:xe,onEnterActive:xe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};function ke(e){return(ke="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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(De()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ie(this,t)}}function Ie(e,t){return!t||"object"!==ke(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(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),w=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),O=Pe({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:w,mode:v},g);return"inline"!==v&&(O.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(O.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},y,O,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(Ee.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(Ee.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ee.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){je.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(Ee.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:Ce}:{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(j.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,Pe({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=_e,qe.SubMenu=_,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,w=y.commitCount,O=y.filesData,_=y.commitsData;return!l&&!h||h&&(h.commits&&0===h.commits.length||h&&!h.diff)?"":s.default.createElement("div",{className:"main",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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"},"提交"),w>0&&s.default.createElement("span",{className:"tabNum"},w)),key:"2"},s.default.createElement(c.default,a({},this.props,{commits:_,projectsId:t,owner:n}))),O&&O.files&&O.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,a({},this.props,{data:O,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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},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)}(w,e);var t,n,o,i,f=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=w,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),w}(r.Component);w.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(w),t.default=w},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),o=v(n("kaz8")),a=v(n("2/Rp")),i=v(n("Vl3Y")),l=v(n("5rEg")),s=v(n("mr32")),c=v(n("BvKs")),u=v(n("2fM7")),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},p=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("MKzF"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var d=n("q1tI"),m=v(d),h=v(n("vDqi"));n("6JOy"),n("js5m");var y=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var g=u.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){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}),h.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(f({},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 m.default.createElement(c.default,null,e&&e.length>0&&e.map((function(e,r){return m.default.createElement(c.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 m.default.createElement(g,{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,a=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,u=l.merge_type,p=l.data,d=l.commits_count,m=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"===u){var v="/"+i+"/"+o+"/pulls.json";h.default.post(v,f({},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:m,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+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 g="/"+i+"/"+o+"/pulls/"+a+".json";h.default.put(g,f({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+o+"/pulls/"+a+"/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),p(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,c=this.props.match.params,f=c.projectsId,p=c.mergeId,d=c.owner,h=this.state,v=h.issue_tag_ids,g=h.fixed_version_id,b=h.assigned_to_id,w=h.priority_id,O=h.desc,_=h.isSpin,E=h.title,j=h.members,S=h.issue_tags,x=h.issue_versions,C=h.issue_priories;return m.default.createElement("div",null,m.default.createElement(r.default,{spinning:_},m.default.createElement("div",{className:"mb20"},m.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),m.default.createElement(s.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),m.default.createElement(i.default,null,m.default.createElement("div",{className:"width100 inline-block"},m.default.createElement("div",{className:"width70 pull-left"},m.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:E})(m.default.createElement(l.default,{placeholder:"标题"}))),m.default.createElement(y.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:O,onChange:this.onContentChange}),m.default.createElement("p",{className:"clearfix mt20"},m.default.createElement(a.default,{type:"primary",loading:_,onClick:this.handleSubmit},m.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),m.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/projects/"+d+"/"+f+"/pulls":"/projects/"+d+"/"+f+"/pulls/"+p+"/detail")}},m.default.createElement("span",{className:"plr10"},"取消")))),m.default.createElement("div",{className:"width30 pull-left"},m.default.createElement("div",{className:"pl30"},m.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:b})(m.default.createElement(u.default,{placeholder:"审查人员",showSearch:!0},this.renderSelect(j)))),m.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:g})(m.default.createElement(u.default,{placeholder:x&&x.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},this.renderSelect(x)))),m.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:v})(m.default.createElement(u.default,{placeholder:S&&S.length>0?"未选择标签":"请在仓库设置里添加标签",showSearch:!0},this.renderSelect(S)))),m.default.createElement(i.default.Item,null,n("priority_id",{initialValue:w})(m.default.createElement(u.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(C)))),m.default.createElement(i.default.Item,{name:"checkbox-group",label:"其他"},m.default.createElement(o.default.Group,null,m.default.createElement("div",null,m.default.createElement(o.default,{value:"A"},"必须审查代码")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"B"},"合并后删除提交分支")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"C"},"合并后关闭提到的任务"))))))))))}}]),t}(d.Component),w=i.default.create({name:"NewMergeForm"})(b);t.default=w},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 w=r[v.charAt(0)];if(w)b=v.match(w[1]),g=w[0];else{for(var _=0;_<o;++_)if(w=t[_],b=v.match(w[1])){g=w[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 E=u;if(u+=v.length,y){var j=b[1],S=v.indexOf(j),x=S+j.length;b[2]&&(S=(x=v.length-b[2].length)-j.length);var C=g.substring(5);p(s,l+E,v.substring(0,S),a,c),p(s,l+E+S,j,O(C,j),c),p(s,l+E+x,v.substring(x),a,c)}else c.push(l+E,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function w(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 O(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function _(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,O(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,a=e.sourceCode,i=a.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,w=s[u+2]||i,O=f[d+2]||i,_=(y=Math.min(w,O),s[u+1]);if(1!==_.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),_.nodeValue=b;var E=_.ownerDocument,j=E.createElement("span");j.className=f[d+1];var S=_.parentNode;S.replaceChild(j,_),j.appendChild(_),l<w&&(s[u+1]=_=E.createTextNode(a.substring(y,w)),S.insertBefore(_,j.nextSibling))}(l=y)>=w&&(u+=2),l>=O&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function E(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),_({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function j(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,w=/^(?:pre|code|xmp)$/i,O={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var a=l[p],i=O,s=a;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 E=a.className;if((i!==O||h.test(E))&&!y.test(E)){for(var j=!1,S=a.parentNode;S;S=S.parentNode){var x=S.tagName;if(w.test(x)&&S.className&&h.test(S.className)){j=!0;break}}if(!j){a.className+=" prettyprinted";var C,k,P=i.lang;if(!P)!(P=E.match(d))&&(C=m(a))&&b.test(C.tagName)&&(P=C.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))k=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;k=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=E.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,k),_({langExtension:P,sourceNode:a,numberLines:A,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}w(v,["default-code"]),w(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"]),w(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"]),w(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),w(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),w(y({keywords:"null,true,false"}),["json"]),w(y({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),w(y({keywords:o,cStyleComments:!0}),["java"]),w(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),w(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),w(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),w(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),w(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),w(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"]),w(h([],[["str",/^[\s\S]+/]]),["regex"]);var S=e.PR={createSimpleLexer:h,registerLangHandler:w,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:E,prettyPrint:j},x=e.define;"function"==typeof x&&x.amd&&x("google-code-prettify",[],(function(){return S}))}()},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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return D}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 O(e){return(O=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 E=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 j(e,t){return e[t]&&Math.floor(24/e[t])}var 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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=E(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")}))}))),w=a?"div":"li",O=r.createElement(w,_({},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 a?r.createElement(p.a,{span:j(a,"column"),xs:j(a,"xs"),sm:j(a,"sm"),md:j(a,"md"),lg:j(a,"lg"),xl:j(a,"xl"),xxl:j(a,"xxl")},O):O},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(r.Component);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 C(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(n);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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}S.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=E(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},S.contextTypes={grid:o.any,itemLayout:o.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 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=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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,w=m.itemLayout,O=m.loadMore,_=m.pagination,E=m.grid,j=m.dataSource,S=void 0===j?[]:j,x=m.size,k=m.header,T=m.footer,F=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var D=M&&M.spinning,L="";switch(x){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===w),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),D),N(n,"".concat(R,"-grid"),E),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:S.length,current:p,pageSize:d}),_||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var B,z=_?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=C(S);if(_&&S.length>(q.current-1)*q.pageSize&&(H=C(S).splice((q.current-1)*q.pageSize,q.pageSize)),B=D&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),B=E?r.createElement(f.a,{gutter:E.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||D||(B=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&z,k&&r.createElement("div",{className:"".concat(R,"-header")},k),r.createElement(s.default,M,B,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),O||("bottom"===G||"both"===G)&&z)};var n=e.pagination,o=n&&"object"===x(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);D.Item=S,D.childContextTypes={grid:o.any,itemLayout:o.string},D.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),w=n("m1cH"),O=n.n(w),_=n("fhzG"),E=n.n(_),j=n("aGtg"),S=n("oV5b"),x=n.n(S),C=n("2W6z"),k=n.n(C),P=n("mwIZ"),N=n.n(P),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),I=n.n(M),D=n("V7oC"),L=n.n(D),V=function e(t){I()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var B=n("2mql"),z=n.n(B);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,z()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){I()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=E()({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,O()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,O()(n))}var i=r.getValueFromEvent?r.getValueFromEvent.apply(r,O()(n)):Q.apply(void 0,O()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new x.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(j.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({labelAlign:"right",vertical:!1});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(){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 _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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?Ce(e):t}function Ce(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(){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 Pe(e){return(Pe=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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&Se(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(ke()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return xe(this,e)});function s(){var e;return Ee(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Ce(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),p=e.renderChildren(f),d=(_e(n={},"".concat(f,"-item"),!0),_e(n,"".concat(f,"-item-with-help"),e.helpShow),_e(n,"".concat(c),!!c),n);return r.createElement(he.a,Oe({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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,Oe({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,w="".concat(e,"-item-label"),O=l()(w,"left"===b&&"".concat(w,"-left"),g.className),_=f,E=!0===m||!1!==c&&!1!==m;E&&!a&&"string"==typeof f&&""!==f.trim()&&(_=f.replace(/[::]\s*$/,""));var j=l()((_e(o={},"".concat(e,"-item-required"),v),_e(o,"".concat(e,"-item-no-colon"),!E),o));return f?r.createElement(ye.a,Oe({},g,{className:O}),r.createElement("label",{htmlFor:y||h||t.getId(),className:j,title:"string"==typeof f?f:"",onClick:t.onLabelClick},_)):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)}}])&&je(n.prototype,o),a&&je(n,a),s}(r.Component);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 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 De(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var ze=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Be(t);if(Ue()){var r=Be(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(De(n={},"".concat(p,"-horizontal"),"horizontal"===f),De(n,"".concat(p,"-vertical"),"vertical"===f),De(n,"".concat(p,"-inline"),"inline"===f),De(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",Ie({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(ze),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ie(Ie({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},YxIK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("W9HT")),o=m(n("+KLJ")),a=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,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.componentDidMount=function(){var e=n.props.match.params.projectsId;n.getmergelist(e),window.history&&window.history.pushState&&window.addEventListener("popstate",n.handleBack,!1)},n.componentDidUpdate=function(e){var t=n.props.project,r=e.project;t&&r&&r.id!==t.id&&n.compareProject(n.state.id,"master","master")},n.handleBack=function(){var e=n.props.match.params.projectsId;n.getmergelist(e)},n.getmergelist=function(e){n.setState({isSpin:!0});var t="/"+n.props.match.params.owner+"/"+e+"/pulls/new.json";f.default.get(t).then((function(e){e&&(n.setState({is_fork:e.data.is_fork,projects_names:e.data.projects_names,merge_projects:e.data.merge_projects,branches:e.data.branches,merge_branches:e.data.branches,project_id:e.data.project_id,id:e.data.id}),n.set_default_pull(e.data.branches),n.set_default_merge(e.data.merge_projects)),n.compareProject(e.data.id,"master","master"),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.compareProject=function(e,t,r){var o=n.props.project,a=n.props.match.params,i="/"+a.owner+"/"+a.projectsId+"/compare";if(o){if(e===o.id)n.setState({oldProject:o}),i+="/"+t+"..."+r+".json";else{var l=n.state.oldProject,s=l.author,c=l.identifier;i+="/"+r+"..."+(s&&s.login)+"/"+c+":"+t+".json"}f.default.get(i).then((function(e){e&&n.setState({comparesData:e.data})})).catch((function(e){}))}},n.set_default_pull=function(e){if(e&&e.length>0){var t=e.filter((function(e){return"master"===e.name}));t.length>0?n.setState({pull:t[0].name}):n.setState({pull:"master"})}},n.set_default_merge=function(e){if(e&&e.length){var t=e.filter((function(e){return"master"===e.name}));t.length>0?n.setState({merge:t[0].name}):n.setState({merge:"master"}),n.ischeckmerge()}},n.newMergelist=function(e,t){n.setState({isSpin:!0});var r="/"+e+"/"+t+"/pulls/get_branches.json";f.default.get(r).then((function(e){e&&(n.setState({merge_branches:e.data}),n.set_default_merge(e.data)),n.setState({isSpin:!1})})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.selectBrach=function(e,t){n.state[e]=t,n.ischeckmerge();var r=n.state,o=r.id,a=r.merge,i=r.pull;"pull"===e?n.compareProject(o,t,a):n.compareProject(o,i,t)},n.selectProjectName=function(e){var t=n.state,r=t.projects_names,o=t.id,a=r&&r.filter((function(t){return t.id===e})),i=a&&a[0].project_id,l=a&&a[0].project_user_login,s=parseInt(e)!==parseInt(o);n.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}}),n.props.history.push("/projects/"+l+"/"+i+"/pulls/new"),n.newMergelist(l,i)},n.ischeckmerge=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.owner,o=n.state,a=o.pull,i=o.merge,l=o.merge_head,s=o.id,c="/"+r+"/"+t+"/pulls/check_can_merge.json";f.default.post(c,{head:a,base:i,is_original:l,fork_project_id:l?s:void 0}).then((function(e){e?0===e.data.status?n.setState({isSpin:!1,show_message:!1}):n.setState({isSpin:!1,show_message:!0,default_message:e.data.message}):n.setState({isSpin:!1,show_message:!0,default_message:"出现错误了"})})).catch((function(e){n.setState({isSpin:!1,show_message:!0}),console.log(e)}))},n.state={data:void 0,branches:void 0,merge_branches:void 0,merge_projects:void 0,merge:"master",pull:"master",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(){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,g=n.isSpin,b=n.show_message,w=n.default_message,O=(n.merge_head,n.projects_names),_=n.id,E=n.comparesData,j=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)}))},S=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)}))},x=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(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:_,className:"hide-1 task-hide flex1",disabled:!0},S(O)),u.default.createElement(i.default,{value:y,onSelect:function(e){return t.selectBrach("pull",e)},showSearch:!0,className:"merge-flex1 flex1"},j(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(a.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(i.default,{value:x&&x.id,className:"hide-1 task-hide flex1",onSelect:function(e){return t.selectProjectName(e)}},S(m)),u.default.createElement(i.default,{value:v,onSelect:function(e){return t.selectBrach("merge",e)},showSearch:!0,className:"merge-flex1 flex1"},j(f)))))),b?u.default.createElement("div",{className:"mb20"},u.default.createElement(o.default,{description:(e=w,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:E&&E.diff&&E.diff.files_count,commits_count:E&&E.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:E})))}}]),t}(c.Component);t.default=y},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),w=n("17x9"),O=n.n(w),_=n("TSYQ"),E=n.n(_),j=n("n1GQ"),S=n.n(j),x=n("VCL8"),C=37,k=38,P=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function D(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 V(e,t,n,r,o){var a=I(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),B=n.n(U)()({}),z=B.Provider,H=B.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:O.a.func,prevElement:O.a.object,nextElement:O.a.object};var G=K,Y=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,a=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=E()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},D(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:O.a.string,active:O.a.bool,style:O.a.any,destroyInactiveTabPane:O.a.bool,forceRender:O.a.bool,placeholder:O.a.node,rootPrefixCls:O.a.string,children:O.a.node,id:O.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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,S.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(S.a.cancel(this.sentinelId),this.sentinelId=S()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=E()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),w=[];return"bottom"===a?w.push(g,v,b,y):w.push(y,g,v,b),o.a.createElement(z,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},D(m),{onScroll:this.onScroll}),w))}}],[{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=Q(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===C||n===k){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-1?r[0].key:r[t+1].key)})),i}};X.propTypes={destroyInactiveTabPane:O.a.bool,renderTabBar:O.a.func.isRequired,renderTabContent:O.a.func.isRequired,navWrapper:O.a.func,onChange:O.a.func,children:O.a.node,prefixCls:O.a.string,className:O.a.string,tabBarPosition:O.a.string,style:O.a.object,activeKey:O.a.string,defaultActiveKey:O.a.string,direction:O.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=Z,Object(x.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=E()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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:O.a.bool,animatedWithMargin:O.a.bool,prefixCls:O.a.string,children:O.a.node,activeKey:O.a.string,style:O.a.any,tabBarPosition:O.a.string,className:O.a.string,destroyInactiveTabPane:O.a.bool,direction:O.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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=I(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=E()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:O.a.string,styles:O.a.object,inkBarAnimated:O.a.bool,saveRef:O.a.func,direction:O.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,w="rtl"===p?"marginLeft":"marginRight",O=c()({},M(u)?"marginBottom":w,b);se()("tab"in t.props,"There must be `tab` property on children of Tabs.");var _=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:O},g),t.props.tab);f&&(_=f(_)),d.push(_)}})),o.a.createElement("div",{ref:s("navTabsContainer")},d)}}]),t}(o.a.Component),ue=ce;ce.propTypes={activeKey:O.a.string,panels:O.a.node,prefixCls:O.a.string,tabBarGutter:O.a.number,onTabClick:O.a.func,saveRef:O.a.func,renderTabBarNode:O.a.func,tabBarPosition:O.a.string,direction:O.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,a=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=E()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},D(d)),g)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:O.a.string,className:O.a.string,style:O.a.object,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),children:O.a.node,extraContent:O.a.node,onKeyDown:O.a.func,saveRef:O.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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:E()((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:i?this.next:null,unselectable:"unselectable",className:E()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=E()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:E()((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:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:O.a.string,getRef:O.a.func.isRequired,saveRef:O.a.func.isRequired,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),prefixCls:O.a.string,scrollAnimated:O.a.bool,onPrevClick:O.a.func,onNextClick:O.a.func,navWrapper:O.a.func,children:O.a.node,prevIcon:O.a.node,nextIcon:O.a.node,direction:O.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,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:O.a.func},ge.defaultProps={children:function(){return null}};var we=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 o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),Oe=we;we.propTypes={children:O.a.func};var _e=n("CtXQ");function Ee(){return(Ee=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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(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 ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ke(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return xe(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===Se(a)?a.inkBar:a,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=E()("".concat(c,"-").concat(s,"-bar"),(je(e={},"".concat(c,"-").concat(f,"-bar"),!!f),je(e,"".concat(c,"-card-bar"),p&&p.indexOf("card")>=0),e),u),w=Ee(Ee({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(w,Oe):r.createElement(Oe,w),r.cloneElement(t)}}])&&Ce(n.prototype,o),a&&Ce(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=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 De(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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,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(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(ze()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Be(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),w=E()(s,(De(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),De(n,"".concat(b,"-").concat(c),!!c),De(n,"".concat(b,"-card"),f.indexOf("card")>=0),De(n,"".concat(b,"-").concat(f),!0),De(n,"".concat(b,"-no-animation"),!g),n)),O=[];"editable-card"===f&&(O=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,a=(o=void 0===o||o)?r.createElement(_e.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;O.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),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 _=We(e.props,[]),j=E()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:w,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,Ie({},Object(re.a)(_,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:j,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),O.length>0?O:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=O(n("VXEj")),o=O(n("NJEC")),a=O(n("2/Rp")),i=O(n("NUBc")),l=O(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=O(u),p=n("eO8H"),d=O(n("vDqi")),m=O(n("AySf")),h=O(n("bIax")),y=n("sYIF"),v=O(n("LZ3y")),g=O(n("p7gc")),b=O(n("bjH3")),w=O(n("oYoh"));function O(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var _=l.default.TabPane,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.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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,O=t.attachment_clean,E=t.is_reply,j=t.reply_id,S=t.reply_content,x=t.orderId,C=t.new_journal_id,k=this.props,P=k.current_user,N=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?S: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:O,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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,E&&j&&j===t.id?f.default.createElement("div",{className:"pt20"},T(E,t.id)):""),f.default.createElement(w.default,s({order_id:x,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"},E&&!j?f.default.createElement("div",{className:"pd20"},T(E,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},E&&!j?f.default.createElement("div",{className:"pd20"},T(E,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=E},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),w=(g="[object Arguments]"==g?f:g)==f,O=(b="[object Arguments]"==b?f:b)==f,_=g==b;if(_&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(_&&!w)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var E=w&&p.call(e,"__wrapped__"),j=O&&p.call(t,"__wrapped__");if(E||j){var S=E?e.value():e,x=j?t.value():t;return h||(h=new r),m(S,x,n,d,h)}}return!!_&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),f=n("H84U"),p=n("6CfX");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(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(){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 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,t){return!t||"object"!==d(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=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},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&&g(e,t)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=_(t);if(O()){var r=_(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function c(){var e;return y(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=w(e),i=a.props,c=a.context,u=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,y=i.style,v=i.onMouseEnter,g=i.onMouseLeave,b=E(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=c.checkboxGroup,_=o("checkbox",u),j=h({},b);O&&(j.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),O.toggleOption({label:p,value:i.value})},j.name=O.name,j.checked=-1!==O.value.indexOf(i.value),j.disabled=i.disabled||O.disabled);var S=l()(f,(m(n={},"".concat(_,"-wrapper"),!0),m(n,"".concat(_,"-wrapper-checked"),j.checked),m(n,"".concat(_,"-wrapper-disabled"),j.disabled),n)),x=l()(m({},"".concat(_,"-indeterminate"),d));return r.createElement("label",{className:S,style:y,onMouseEnter:v,onMouseLeave:g},r.createElement(s.a,h({},j,{prefixCls:_,className:x,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var S=j,x=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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&&F(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,s=a.prefixCls,c=a.className,u=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",s),m="".concat(d,"-group"),h=Object(x.a)(p,["children","defaultValue","value","onChange","disabled"]),y=a.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,c);return r.createElement("div",k({className:v,style:u},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),s}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var V=L;S.Group=V;t.default=S},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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},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&&h(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),O=n("CWQg"),_=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),E=n("6CfX"),j=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 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 k(e,t){for(var n=0;n<t.length;n++){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 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(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(_.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(j.a,null,r.createElement("span",C({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",C({},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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return C({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(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,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&&R.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)}}])&&k(n.prototype,o),l&&k(n,l),f}(r.Component);M.CheckableTag=w,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==b(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 x(){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 k=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},P=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&&j(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=C(t);if(x()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function u(){var e;return _(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=k(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((O(n={},y,!s),O(n,"".concat(y,"-").concat(s),s),O(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),O(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),b=w(w(w({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),_=w({},h);return delete _.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",w({},_,{className:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&E(n.prototype,r),a&&E(n,a),u}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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=j(Array.prototype.forEach),f=j(Array.prototype.indexOf),p=j(Array.prototype.join),d=j(Array.prototype.pop),m=j(Array.prototype.push),h=j(Array.prototype.slice),y=j(String.prototype.toLowerCase),v=j(String.prototype.match),g=j(String.prototype.replace),b=j(String.prototype.indexOf),w=j(String.prototype.trim),O=j(RegExp.prototype.test),_=S(RegExp),E=S(TypeError);function j(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 S(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 x(e,r){t&&t(e,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function C(t){var n=i(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"]),P=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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),I=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),B=a(/^(?:\w+script|data):/i),z=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,j=t.Node,S=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=C(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=D,pe=L,de=V,me=q,he=B,ye=z,ve=U,ge=null,be=x({},[].concat(W(k),W(P),W(N),W(T),W(F))),we=null,Oe=x({},[].concat(W(A),W(R),W(M),W(I))),_e=null,Ee=null,je=!0,Se=!0,xe=!1,Ce=!1,ke=!1,Pe=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,Ie=!0,De=!0,Le=!1,Ve={},qe=x({},["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=x({},["audio","video","img","source","image","track"]),ze=null,He=x({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=C(e),ge="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):be,we="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):Oe,ze="ADD_URI_SAFE_ATTR"in e?x(C(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?x(C(Be),e.ADD_DATA_URI_TAGS):Be,_e="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Ee="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,je=!1!==e.ALLOW_ARIA_ATTR,Se=!1!==e.ALLOW_DATA_ATTR,xe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,De=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(Se=!1),Ae&&(Fe=!0),Ve&&(ge=x({},[].concat(W(F))),we=[],!0===Ve.html&&(x(ge,k),x(we,A)),!0===Ve.svg&&(x(ge,P),x(we,R),x(we,I)),!0===Ve.svgFilters&&(x(ge,N),x(we,R),x(we,I)),!0===Ve.mathMl&&(x(ge,T),x(we,M),x(we,I))),e.ADD_TAGS&&(ge===be&&(ge=C(ge)),x(ge,e.ADD_TAGS)),e.ADD_ATTR&&(we===Oe&&(we=C(we)),x(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(ze,e.ADD_URI_SAFE_ATTR),De&&(ge["#text"]=!0),Pe&&x(ge,["html","head","body"]),ge.table&&(x(ge,["tbody"]),delete _e.tbody),o&&o(e),We=e)},Ye=function(e){m(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=ne}},Ze=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)},Qe=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(i&&x(_e,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Qe("<x/><title></title><img>");O(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT,(function(){return S.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===j?"undefined":H(j))?e instanceof j:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||_e[r]){if(De&&!qe[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&&O(/<\/noscript/i,e.innerHTML)||"noembed"===r&&O(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!O(/</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 Ke))return!1;if(Se&&O(de,t));else if(je&&O(me,t));else{if(!we[t]||Ee[t])return!1;if(ze[t]);else if(O(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(xe&&!O(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:we};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=w(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(we[a]||!Ee[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(Ce&&O(/\/>/i,o))Ze(m,e);else if(O(/svg|math/i,e.namespaceURI)&&O(_("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{ke&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 E("toString is not a function");if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 j)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),w=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,v=t.autoFocus,b=t.value,w=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(w).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=w[t]),e}),{}),_=this.state.checked,E=g()(n,r,((e={})[n+"-checked"]=_,e[n+"-disabled"]=u,e));return m.a.createElement("span",{className:E,style:a},m.a.createElement("input",i()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:p,className:n+"-input",checked:!!_,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},O)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);w.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},w.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(w);var O=w;t.a=O},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/21.4af17802.chunk.js.LICENSE.txt b/static/js/21.9fc1e0de.chunk.js.LICENSE.txt similarity index 100% rename from static/js/21.4af17802.chunk.js.LICENSE.txt rename to static/js/21.9fc1e0de.chunk.js.LICENSE.txt diff --git a/static/js/22.48e92626.chunk.js b/static/js/22.48e92626.chunk.js deleted file mode 100644 index 5b02f4c4c..000000000 --- a/static/js/22.48e92626.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 22.48e92626.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[22,4,5,10,13,71],{"+B/L":function(e,t,n){},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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)}(w,e);var t,n,o,a,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(){var e;return p(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,O=a.children,w=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],_=u(u({},_),(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 x=i()(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(v),v),n),g,_);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:x}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),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 _(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 x=+new Date,j=0;function C(){return"rc-upload-"+x+"-"+ ++j}var S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var k=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:C()},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 S(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return S(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=C(),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,a=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||_;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:a?function(t){a(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:C()})}},{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,a=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,a,a),e)),y=i?{}:{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);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 N=P,T=n("i8i4"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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:C(),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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);I.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 D=I;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:D}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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(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 we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var ke=function(e){function t(){var e,n;we(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return Se(je(n=_e(this,(e=xe(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ce(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),O=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,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,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);ke.propTypes=ge,ke.defaultProps=ye;he(ke);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,De(Me(e),"paths",{}),De(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&Ie(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},O=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(x),C=w()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:C,style:b},r.createElement(Be,{percent:We(e),strokeWidth:O,trailWidth:O,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=w()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,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),b&&r.createElement("a",{title:d.removeFile},b)),_=w()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([O,b].filter((function(e){return e})).length),!0),o)),x=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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,C="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},j,"done"===t.status&&O,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var S=r.createElement("span",null,i,x),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},S),C,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=w()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},k):r.createElement("span",null,k))})),v=w()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),Ot=n("6CfX");function wt(e){return(wt="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 Et(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(){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 xt(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ct(e,t){return!t||"object"!==wt(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 St(){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 kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=kt(t);if(St()){var r=kt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Ct(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(Et(O={},"".concat(v,"-drag"),!0),Et(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(O,"".concat(v,"-drag-hover"),"dragover"===y),Et(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(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=w()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var x=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function It(e,t){return!t||"object"!==Tt(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(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(Dt()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return It(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 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)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,_=n("3S7+"),x=n("H84U");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 S(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 S(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(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 S(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 P(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=D(e);if(I()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return P(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,k({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(x.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,k({className:s},l),o)},z=function(e){F(n,e);var t=R(n);function n(){var e;return P(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(C(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,k({className:p},f),s))}}]),n}(r.Component),B=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);B.Header=H,B.Footer=W,B.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=Y(w)?"".concat(w,"px"):String(w),_=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,x={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?_||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:E}},d||x):null,C=X(X({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),S=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!_),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",X({className:S},O,{style:C}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&_?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(x.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(_.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);Ee.isMenuItem=!0;var _e=n("6CfX"),xe=n("oHiP"),je=function(){return{height:0,opacity:0}},Ce=function(e){return{height:e.scrollHeight,opacity:1}},Se={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Ce,onEnterActive:Ce,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(De()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ie(this,t)}}function Ie(e,t){return!t||"object"!==ke(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(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),O=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=Pe({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},y,w,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(_e.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(_e.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(_e.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){xe.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(_e.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:Se}:{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(x.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,Pe({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=Ee,qe.SubMenu=E,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,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",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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,a({},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"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,a({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),o=v(n("kaz8")),a=v(n("2/Rp")),i=v(n("Vl3Y")),l=v(n("5rEg")),s=v(n("mr32")),c=v(n("BvKs")),u=v(n("2fM7")),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},p=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("MKzF"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var d=n("q1tI"),m=v(d),h=v(n("vDqi"));n("6JOy"),n("js5m");var y=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var g=u.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){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}),h.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(f({},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 m.default.createElement(c.default,null,e&&e.length>0&&e.map((function(e,r){return m.default.createElement(c.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 m.default.createElement(g,{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,a=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,u=l.merge_type,p=l.data,d=l.commits_count,m=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"===u){var v="/"+i+"/"+o+"/pulls.json";h.default.post(v,f({},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:m,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+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 g="/"+i+"/"+o+"/pulls/"+a+".json";h.default.put(g,f({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+o+"/pulls/"+a+"/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),p(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,c=this.props.match.params,f=c.projectsId,p=c.mergeId,d=c.owner,h=this.state,v=h.issue_tag_ids,g=h.fixed_version_id,b=h.assigned_to_id,O=h.priority_id,w=h.desc,E=h.isSpin,_=h.title,x=h.members,j=h.issue_tags,C=h.issue_versions,S=h.issue_priories;return m.default.createElement("div",null,m.default.createElement(r.default,{spinning:E},m.default.createElement("div",{className:"mb20"},m.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),m.default.createElement(s.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),m.default.createElement(i.default,null,m.default.createElement("div",{className:"width100 inline-block"},m.default.createElement("div",{className:"width70 pull-left"},m.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:_})(m.default.createElement(l.default,{placeholder:"标题"}))),m.default.createElement(y.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:w,onChange:this.onContentChange}),m.default.createElement("p",{className:"clearfix mt20"},m.default.createElement(a.default,{type:"primary",loading:E,onClick:this.handleSubmit},m.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),m.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/projects/"+d+"/"+f+"/pulls":"/projects/"+d+"/"+f+"/pulls/"+p+"/detail")}},m.default.createElement("span",{className:"plr10"},"取消")))),m.default.createElement("div",{className:"width30 pull-left"},m.default.createElement("div",{className:"pl30"},m.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:b})(m.default.createElement(u.default,{placeholder:"审查人员",showSearch:!0},this.renderSelect(x)))),m.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:g})(m.default.createElement(u.default,{placeholder:C&&C.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},this.renderSelect(C)))),m.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:v})(m.default.createElement(u.default,{placeholder:j&&j.length>0?"未选择标签":"请在仓库设置里添加标签",showSearch:!0},this.renderSelect(j)))),m.default.createElement(i.default.Item,null,n("priority_id",{initialValue:O})(m.default.createElement(u.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(S)))),m.default.createElement(i.default.Item,{name:"checkbox-group",label:"其他"},m.default.createElement(o.default.Group,null,m.default.createElement("div",null,m.default.createElement(o.default,{value:"A"},"必须审查代码")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"B"},"合并后删除提交分支")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"C"},"合并后关闭提到的任务"))))))))))}}]),t}(d.Component),O=i.default.create({name:"NewMergeForm"})(b);t.default=O},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 O=r[v.charAt(0)];if(O)b=v.match(O[1]),g=O[0];else{for(var E=0;E<o;++E)if(O=t[E],b=v.match(O[1])){g=O[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 _=u;if(u+=v.length,y){var x=b[1],j=v.indexOf(x),C=j+x.length;b[2]&&(j=(C=v.length-b[2].length)-x.length);var S=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,x,w(S,x),c),p(s,l+_+C,v.substring(C),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function O(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 w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.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,a=e.sourceCode,i=a.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,O=s[u+2]||i,w=f[d+2]||i,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,x=_.createElement("span");x.className=f[d+1];var j=E.parentNode;j.replaceChild(x,E),x.appendChild(E),l<O&&(s[u+1]=E=_.createTextNode(a.substring(y,O)),j.insertBefore(E,x.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function x(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,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 a=l[p],i=w,s=a;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 _=a.className;if((i!==w||h.test(_))&&!y.test(_)){for(var x=!1,j=a.parentNode;j;j=j.parentNode){var C=j.tagName;if(O.test(C)&&j.className&&h.test(j.className)){x=!0;break}}if(!x){a.className+=" prettyprinted";var S,k,P=i.lang;if(!P)!(P=_.match(d))&&(S=m(a))&&b.test(S.tagName)&&(P=S.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))k=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;k=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,k),E({langExtension:P,sourceNode:a,numberLines:A,pre:k,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:a,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:i,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 j=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:_,prettyPrint:x},C=e.define;"function"==typeof C&&C.amd&&C("google-code-prettify",[],(function(){return j}))}()},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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return D}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 O(){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 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 _=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 x(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=w(t);if(O()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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=a?"div":"li",w=r.createElement(O,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 a?r.createElement(p.a,{span:x(a,"column"),xs:x(a,"xs"),sm:x(a,"sm"),md:x(a,"md"),lg:x(a,"lg"),xl:x(a,"xl"),xxl:x(a,"xxl")},w):w},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(r.Component);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 S(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(n);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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.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 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=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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,O=m.itemLayout,w=m.loadMore,E=m.pagination,_=m.grid,x=m.dataSource,j=void 0===x?[]:x,C=m.size,k=m.header,T=m.footer,F=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var D=M&&M.spinning,L="";switch(C){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===O),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),D),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=S(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=S(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=D&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||D||(z=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&B,k&&r.createElement("div",{className:"".concat(R,"-header")},k),r.createElement(s.default,M,z,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),w||("bottom"===G||"both"===G)&&B)};var n=e.pagination,o=n&&"object"===C(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);D.Item=j,D.childContextTypes={grid:o.any,itemLayout:o.string},D.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),E=n("fhzG"),_=n.n(E),x=n("aGtg"),j=n("oV5b"),C=n.n(j),S=n("2W6z"),k=n.n(S),P=n("mwIZ"),N=n.n(P),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),I=n.n(M),D=n("V7oC"),L=n.n(D),V=function e(t){I()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){I()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new C.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(x.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n=0;n<t.length;n++){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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?Se(e):t}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(){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 Pe(e){return(Pe=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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(ke()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Ce(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Se(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var x=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,we({},g,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:x,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)}}])&&xe(n.prototype,o),a&&xe(n,a),s}(r.Component);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 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 De(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(De(n={},"".concat(p,"-horizontal"),"horizontal"===f),De(n,"".concat(p,"-vertical"),"vertical"===f),De(n,"".concat(p,"-inline"),"inline"===f),De(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",Ie({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ie(Ie({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),O=n("17x9"),w=n.n(O),E=n("TSYQ"),_=n.n(E),x=n("n1GQ"),j=n.n(x),C=n("VCL8"),S=37,k=38,P=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function D(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 V(e,t,n,r,o){var a=I(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=K,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},D(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===a?O.push(g,v,b,y):O.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},D(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=Q(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===S||n===k){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-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=Z,Object(C.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=I(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,O="rtl"===p?"marginLeft":"marginRight",w=c()({},M(u)?"marginBottom":O,b);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},g),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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},D(d)),g)}}]),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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,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 ge=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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){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 ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==je(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ke(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return Ce(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),O=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&Se(n.prototype,o),a&&Se(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=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 De(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),O=_()(s,(De(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),De(n,"".concat(b,"-").concat(c),!!c),De(n,"".concat(b,"-card"),f.indexOf("card")>=0),De(n,"".concat(b,"-").concat(f),!0),De(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 o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.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:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),x=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,Ie({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),a=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")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,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,_=t.is_reply,x=t.reply_id,j=t.reply_content,C=t.orderId,S=t.new_journal_id,k=this.props,P=k.current_user,N=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?j: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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,_&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},T(_,t.id)):""),f.default.createElement(O.default,s({order_id:C,parent_id:t.id,onRef:e.onRef,children_comment_id:S},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),O=(g="[object Arguments]"==g?f:g)==f,w=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,O=!1}if(E&&!O)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=O&&p.call(e,"__wrapped__"),x=w&&p.call(t,"__wrapped__");if(_||x){var j=_?e.value():e,C=x?t.value():t;return h||(h=new r),m(j,C,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),f=n("H84U"),p=n("6CfX");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(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(){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 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,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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},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)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=E(t);if(w()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function c(){var e;return y(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,c=a.context,u=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,y=i.style,v=i.onMouseEnter,g=i.onMouseLeave,b=_(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=c.checkboxGroup,E=o("checkbox",u),x=h({},b);w&&(x.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),w.toggleOption({label:p,value:i.value})},x.name=w.name,x.checked=-1!==w.value.indexOf(i.value),x.disabled=i.disabled||w.disabled);var j=l()(f,(m(n={},"".concat(E,"-wrapper"),!0),m(n,"".concat(E,"-wrapper-checked"),x.checked),m(n,"".concat(E,"-wrapper-disabled"),x.disabled),n)),C=l()(m({},"".concat(E,"-indeterminate"),d));return r.createElement("label",{className:j,style:y,onMouseEnter:v,onMouseLeave:g},r.createElement(s.a,h({},x,{prefixCls:E,className:C,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);x.__ANT_CHECKBOX=!0,x.defaultProps={indeterminate:!1},x.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(x);var j=x,C=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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&&F(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,s=a.prefixCls,c=a.className,u=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",s),m="".concat(d,"-group"),h=Object(C.a)(p,["children","defaultValue","value","onChange","disabled"]),y=a.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,c);return r.createElement("div",k({className:v,style:u},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),s}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var V=L;j.Group=V;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),w=n("CWQg"),E=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),x=n("g0mS");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,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 k(e,t){for(var n=0;n<t.length;n++){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 N(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 T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(C(t={},"".concat(u,"-").concat(l),c),C(t,"".concat(u,"-has-color"),l&&!c),C(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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)}}])&&k(n.prototype,o),l&&k(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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"))},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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 _(e,t){for(var n=0;n<t.length;n++){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 x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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(){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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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},P=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&&x(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=S(t);if(C()){var r=S(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=k(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((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),b=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:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,O=t.constructor;b==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof O&&O instanceof O||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},vhIH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),o=d(n("5rEg")),a=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,o="/"+e.owner+"/"+t+"/pulls/"+r+"/edit.json";f.default.get(o).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(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.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(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.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},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=x(String.prototype.toLowerCase),v=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),O=x(String.prototype.trim),w=x(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function x(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 j(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 C(e,r){t&&t(e,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function S(t){var n=i(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"]),P=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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),I=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=S(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=D,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=C({},[].concat(W(k),W(P),W(N),W(T),W(F))),Oe=null,we=C({},[].concat(W(A),W(R),W(M),W(I))),Ee=null,_e=null,xe=!0,je=!0,Ce=!1,Se=!1,ke=!1,Pe=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,Ie=!0,De=!0,Le=!1,Ve={},qe=C({},["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,ze=C({},["audio","video","img","source","image","track"]),Be=null,He=C({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=S(e),ge="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS):be,Oe="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR):we,Be="ADD_URI_SAFE_ATTR"in e?C(S(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?C(S(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?C({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?C({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Se=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,De=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(je=!1),Ae&&(Fe=!0),Ve&&(ge=C({},[].concat(W(F))),Oe=[],!0===Ve.html&&(C(ge,k),C(Oe,A)),!0===Ve.svg&&(C(ge,P),C(Oe,R),C(Oe,I)),!0===Ve.svgFilters&&(C(ge,N),C(Oe,R),C(Oe,I)),!0===Ve.mathMl&&(C(ge,T),C(Oe,M),C(Oe,I))),e.ADD_TAGS&&(ge===be&&(ge=S(ge)),C(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=S(Oe)),C(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&C(Be,e.ADD_URI_SAFE_ATTR),De&&(ge["#text"]=!0),Pe&&C(ge,["html","head","body"]),ge.table&&(C(ge,["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}},Ze=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)},Qe=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(i&&C(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Qe("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":H(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(De&&!qe[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):(!Se||$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 Ke))return!1;if(je&&w(de,t));else if(xe&&w(me,t));else{if(!Oe[t]||_e[t])return!1;if(Be[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Ce&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(Oe[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(Se&&w(/\/>/i,o))Ze(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{ke&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 x)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,v=t.autoFocus,b=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),E=this.state.checked,_=g()(n,r,((e={})[n+"-checked"]=E,e[n+"-disabled"]=u,e));return m.a.createElement("span",{className:_,style:a},m.a.createElement("input",i()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:p,className:n+"-input",checked:!!E,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},w)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(O);var w=O;t.a=w},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/22.b34cfe6f.chunk.js b/static/js/22.b34cfe6f.chunk.js new file mode 100644 index 000000000..d95ef2c05 --- /dev/null +++ b/static/js/22.b34cfe6f.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 22.b34cfe6f.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[22,4,5,10,13,14,78],{"+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"),a=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,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 b(){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 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)}(_,e);var t,n,i,p,E=(t=_,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function _(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_),(t=E.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,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,O=i.icon,w=t.props,E=w.closable,_=w.type,C=w.showIcon,j=w.iconType,S=t.state,x=S.closing,P=S.closed,k=o("alert",f);C=!(!y||void 0!==C)||C,_=y&&void 0===_?"warning":_||"info";var N="filled";if(!j){switch(_){case"success":j="check-circle";break;case"info":j="info-circle";break;case"error":j="close-circle";break;case"warning":j="exclamation-circle";break;default:j="default"}c&&(N="outlined")}h&&(E=!0);var T=l()(k,"".concat(k,"-").concat(_),(m(n={},"".concat(k,"-closing"),x),m(n,"".concat(k,"-with-description"),!!c),m(n,"".concat(k,"-no-icon"),!C),m(n,"".concat(k,"-banner"),!!y),m(n,"".concat(k,"-closable"),E),n),g),F=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,A=Object(u.a)(t.props),R=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:j,theme:N});return P?null:r.createElement(a.a,{component:"",showProp:"data-show",transitionName:"".concat(k,"-slide-up"),onEnd:t.animationEnd},r.createElement("div",d({"data-show":!x,className:T,style:b},A),C?R:null,r.createElement("span",{className:"".concat(k,"-message")},p),r.createElement("span",{className:"".concat(k,"-description")},c),F))},Object(f.a)(!("iconType"in e),"Alert","`iconType` is deprecated. Please use `icon` instead."),t.state={closing:!1,closed:!1},t}return n=_,(i=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderAlert)}}])&&h(n.prototype,i),p&&h(n,p),_}(r.Component)},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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)}(w,e);var t,n,o,a,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(){var e;return p(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,O=a.children,w=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],_=u(u({},_),(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 C=i()(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(v),v),n),g,_);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:C}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"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,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7Lfq":function(e,t,n){},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),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 _(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 C=+new Date,j=0;function S(){return"rc-upload-"+C+"-"+ ++j}var x=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},k=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)P(e.dataTransfer.items,r.uploadFiles,(function(e){return x(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return x(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},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,a=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||_;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:a?function(t){a(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: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,a=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,a,a),e)),y=i?{}:{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"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},D=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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: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 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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);D.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 I=D;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:I}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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(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 we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var Pe=function(e){function t(){var e,n;we(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return xe(je(n=_e(this,(e=Ce(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Se(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),O=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,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,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);Pe.propTypes=ge,Pe.defaultProps=ye;he(Pe);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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,Ie(Me(e),"paths",{}),Ie(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&De(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},O=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),C=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(C),S=w()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:S,style:b},r.createElement(Be,{percent:We(e),strokeWidth:O,trailWidth:O,strokeColor:C,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=w()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,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),b&&r.createElement("a",{title:d.removeFile},b)),_=w()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([O,b].filter((function(e){return e})).length),!0),o)),C=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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")},j,"done"===t.status&&O,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var x=r.createElement("span",null,i,C),P=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},x),S,r.createElement(W.a,{transitionName:"fade",component:""},a)),k=w()(ct({},"".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()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),Ot=n("6CfX");function wt(e){return(wt="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 Et(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(){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 Ct(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function St(e,t){return!t||"object"!==wt(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 xt(){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 Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Pt(t);if(xt()){var r=Pt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return St(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(Et(O={},"".concat(v,"-drag"),!0),Et(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(O,"".concat(v,"-drag-hover"),"dragover"===y),Et(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(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=w()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var C=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,C):r.createElement("span",{className:l},C,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&Ct(n.prototype,o),a&&Ct(n,a),l}(r.Component);kt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(kt);var Nt=kt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e,t){return!t||"object"!==Tt(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 It(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(It()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Dt(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 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)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,_=n("3S7+"),C=n("H84U");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 S(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=I(e);if(D()){var r=I(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return k(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,P({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(C.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,P({className:s},l),o)},z=function(e){F(n,e);var t=R(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(S(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,P({className:p},f),s))}}]),n}(r.Component),B=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);B.Header=H,B.Footer=W,B.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=Y(w)?"".concat(w,"px"):String(w),_=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,C={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?_||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:E}},d||C):null,S=X(X({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),x=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!_),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",X({className:x},O,{style:S}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&_?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(C.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(_.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);Ee.isMenuItem=!0;var _e=n("6CfX"),Ce=n("oHiP"),je=function(){return{height:0,opacity:0}},Se=function(e){return{height:e.scrollHeight,opacity:1}},xe={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Se,onEnterActive:Se,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function Pe(e){return(Pe="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(){return(ke=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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(Ie()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(e,t){return!t||"object"!==Pe(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 Ie(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),O=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=ke({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,ke({getPopupContainer:c},y,w,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(_e.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(_e.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(_e.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){Ce.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(_e.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}:{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(C.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,ke({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=Ee,qe.SubMenu=E,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,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",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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,a({},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"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,a({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 O=r[v.charAt(0)];if(O)b=v.match(O[1]),g=O[0];else{for(var E=0;E<o;++E)if(O=t[E],b=v.match(O[1])){g=O[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 _=u;if(u+=v.length,y){var C=b[1],j=v.indexOf(C),S=j+C.length;b[2]&&(j=(S=v.length-b[2].length)-C.length);var x=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,C,w(x,C),c),p(s,l+_+S,v.substring(S),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function O(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 w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.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,a=e.sourceCode,i=a.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,O=s[u+2]||i,w=f[d+2]||i,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,C=_.createElement("span");C.className=f[d+1];var j=E.parentNode;j.replaceChild(C,E),C.appendChild(E),l<O&&(s[u+1]=E=_.createTextNode(a.substring(y,O)),j.insertBefore(E,C.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function C(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,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 a=l[p],i=w,s=a;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 _=a.className;if((i!==w||h.test(_))&&!y.test(_)){for(var C=!1,j=a.parentNode;j;j=j.parentNode){var S=j.tagName;if(O.test(S)&&j.className&&h.test(j.className)){C=!0;break}}if(!C){a.className+=" prettyprinted";var x,P,k=i.lang;if(!k)!(k=_.match(d))&&(x=m(a))&&b.test(x.tagName)&&(k=x.className.match(d)),k&&(k=k[1]);if(v.test(a.tagName))P=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;P=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,P),E({langExtension:k,sourceNode:a,numberLines:A,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:a,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:i,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 j=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:_,prettyPrint:C},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return j}))}()},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){},TiQt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=_(n("Vl3Y")),o=_(n("W9HT")),a=_(n("jsC+")),i=_(n("CtXQ")),l=_(n("+KLJ")),s=_(n("mr32")),c=_(n("BvKs")),u=_(n("2/Rp")),f=_(n("ZTPi")),p=_(n("5rEg")),d=_(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=_(y),g=n("eO8H"),b=(n("spEH"),_(n("vDqi"))),O=n("sYIF");n("js5m");var w=_(n("bjH3"));n("6JOy");var E=_(n("Fyak"));function _(e){return e&&e.__esModule?e:{default:e}}d.default.Option;var C=p.default.TextArea,j=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,o="/"+e.owner+"/"+t+"/pulls/"+r+".json";b.default.get(o).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}):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,o="/"+e.owner+"/"+t+"/pulls/"+r+"/refuse_merge.json";b.default.post(o).then((function(e){e?n.setState({isSpin:!1,pr_status:2}):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,o=n.state,a=o.data,i=o.title,l=o.body,s=o.mergekey,c=(o.pr_status,"/"+r+"/"+t+"/pulls/"+a.pull_request.id+"/pr_merge.json");b.default.post(c,{project_id:t,id:a.pull_request.id,do:s,body:l,title:i}).then((function(e){e?n.setState({SpinMerge:!1,pr_status:1}):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.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,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=this,t=this.props.match.params,n=t.projectsId,r=t.mergeId,f=t.owner,d=this.state,h=d.data,y=d.SpinMerge,b=d.pr_status,w=d.isSpin,_=d.ismesrge,j=d.SpinFlag,S=(d.copyVisible,d.pull_request,this.props),x=S.current_user,P=S.projectDetail,k=v.default.createElement(c.default,{onClick:function(t){return e.getOption(t)}},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:"压缩提交并合并"},"压缩提交并合并")),N=P&&("Admin"===P.permission||"Owner"===P.permission||"Manager"===P.permission),T=x&&x.login&&P&&0===b&&N;return v.default.createElement("div",null,h?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"},h.issue.subject)),h.pull_request&&v.default.createElement(s.default,{className:"pr_tags_"+h.pull_request.pull_request_staus},1===b?"已合并":2===b?"已拒绝":"开启的")),v.default.createElement("div",{className:"mt15"},v.default.createElement(s.default,{className:"pr-branch-tag"},v.default.createElement(g.Link,{to:"/projects/"+f+"/"+(h.pull_request.is_original?h.project_identifier:n)+"/branch/"+h.pull_request.head,className:"ver-middle"},h.pull_request.is_original?h.pull_request.fork_project_user:h.issue.project_author_name,":",h.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:"/projects/"+f+"/"+n+"/branch/"+h.pull_request.base,className:"ver-middle"},h.issue.project_author_name,":",h.pull_request.base))),v.default.createElement("div",{className:"mt15"},v.default.createElement(g.Link,{to:"/users/"+h.issue.author_login,className:"show-user-link"},v.default.createElement("img",{className:"mr5",src:(0,O.getImageUrl)("images/"+h.issue.author_picture),alt:"",width:"24",height:"24"})),v.default.createElement("span",{className:"ver-middle"},v.default.createElement("span",{className:"color-grey-8 mr5"},"由"),v.default.createElement(g.Link,{to:"/users/"+h.issue.author_login,className:"show-user-link color-blue"},h.issue.author_name),v.default.createElement("span",{className:"ml5 color-grey-8"},0===b?"创建于":1===b?"合并于":"更新于"),v.default.createElement("span",{className:"color-grey-8 ml5"},h.pr_time),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"审查人员:"),h.issue.assign_user_name?v.default.createElement(g.Link,{to:"/users/"+h.issue.assign_user_login,className:"show-user-link color-blue"},h.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"},h.issue.version?h.issue.version:"--")),v.default.createElement("span",{className:"ml25"},v.default.createElement("span",{className:"color-grey-8"},"标签:"),v.default.createElement("span",{className:"color-grey-3"},h.issue.issue_tags&&h.issue.issue_tags.length>0?h.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"},h.issue.priority?h.issue.priority:"--"))))),v.default.createElement("div",{className:"ml10"},v.default.createElement("div",{className:"mt15 text-right",style:{display:"flex",justifyContent:"flex-end"}},T&&v.default.createElement(u.default,{type:"green",ghost:!0,className:"ml20",onClick:function(){e.props.history.push("/projects/"+f+"/"+n+"/pulls/"+r+"/UpdateMerge")}},"编辑"),T&&v.default.createElement(u.default,{type:"danger",ghost:!0,onClick:function(){return e.closedetail()},className:"ml20",loading:w},"拒绝")))),h.issue.description?v.default.createElement("div",{className:"mt15"},this.commentCtx(h.issue.description)):v.default.createElement("p",{className:"color-grey-9 ml3 mr3 mt15"},"没有描述")),v.default.createElement("div",{className:"mt15"},2===b&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被拒绝",type:"error"}),1===b&&v.default.createElement(l.default,{message:"提示",description:"该合并请求已被合并",type:"success"}),0===b&&P&&"Reporter"!==P.permission&&v.default.createElement(o.default,{spinning:j},v.default.createElement("div",{style:{display:"rebase"===this.state.mergekey?"none"===this.state.buttonshow?"block":"none":_?"none":"block"}},v.default.createElement("p",{className:"mb15"},v.default.createElement(a.default.Button,{overlay:k,type:"primary",onClick:this.submitmerge,icon:v.default.createElement(i.default,{type:"caret-down"})},this.state.mergename)),v.default.createElement(l.default,{message:"该合并请求可以进行自动合并操作",type:"success",showIcon:!0})),v.default.createElement("div",null,v.default.createElement("div",{style:{display:_?"block":"none",marginTop:15}},v.default.createElement(p.default,{placeholder:"标题",value:this.state.title,onChange:this.changtitlepr}),v.default.createElement(C,{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(o.default,{spinning:y},v.default.createElement(u.default,{type:"primary",onClick:function(){return e.prmerge()}},"确认合并"),v.default.createElement(u.default,{onClick:function(){return e.nonemerge()},className:"ml15"},"取消"))))))),v.default.createElement(E.default,m({footer_type:!0,order_id:h&&h.issue.id},this.props,this.state))):"")}}]),t}(y.Component),S=r.default.create({name:"MessageCountForm"})(j);t.default=S},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return I}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 O(){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 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 _=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 C(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=w(t);if(O()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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=a?"div":"li",w=r.createElement(O,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 a?r.createElement(p.a,{span:C(a,"column"),xs:C(a,"xs"),sm:C(a,"sm"),md:C(a,"md"),lg:C(a,"lg"),xl:C(a,"xl"),xxl:C(a,"xxl")},w):w},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(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 x(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(n);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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.string};var D=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},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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,O=m.itemLayout,w=m.loadMore,E=m.pagination,_=m.grid,C=m.dataSource,j=void 0===C?[]:C,S=m.size,P=m.header,T=m.footer,F=m.loading,A=D(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var I=M&&M.spinning,L="";switch(S){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===O),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),I),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=k(k(k({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,k({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=x(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=x(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=I&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||I||(z=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",k({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&B,P&&r.createElement("div",{className:"".concat(R,"-header")},P),r.createElement(s.default,M,z,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),w||("bottom"===G||"both"===G)&&B)};var n=e.pagination,o=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);I.Item=j,I.childContextTypes={grid:o.any,itemLayout:o.string},I.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),E=n("fhzG"),_=n.n(E),C=n("aGtg"),j=n("oV5b"),S=n.n(j),x=n("2W6z"),P=n.n(x),k=n("mwIZ"),N=n.n(k),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),D=n.n(M),I=n("V7oC"),L=n.n(I),V=function e(t){D()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void P()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){D()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new S.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(C.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({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 _e(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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?xe(e):t}function xe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pe(){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 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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ke(t);if(Pe()){var r=ke(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Se(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(xe(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var C=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,we({},g,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:C,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)}}])&&Ce(n.prototype,o),a&&Ce(n,a),s}(r.Component);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 De(){return(De=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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(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",De({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),O=n("17x9"),w=n.n(O),E=n("TSYQ"),_=n.n(E),C=n("n1GQ"),j=n.n(C),S=n("VCL8"),x=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 F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function D(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function I(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 V(e,t,n,r,o){var a=D(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=K,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},I(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===a?O.push(g,v,b,y):O.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},I(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=Q(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===x||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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-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=Z,Object(S.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=D(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,O="rtl"===p?"marginLeft":"marginRight",w=c()({},M(u)?"marginBottom":O,b);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},g),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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},I(d)),g)}}]),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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,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 ge=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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 xe(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==je(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Pe(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ke(this,e)});function l(){return Se(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),O=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&xe(n.prototype,o),a&&xe(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=n("R3zJ");function De(){return(De=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 Ie(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),O=_()(s,(Ie(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Ie(n,"".concat(b,"-").concat(c),!!c),Ie(n,"".concat(b,"-card"),f.indexOf("card")>=0),Ie(n,"".concat(b,"-").concat(f),!0),Ie(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 o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.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:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),C=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:b,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,De({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:C,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),a=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")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,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,_=t.is_reply,C=t.reply_id,j=t.reply_content,S=t.orderId,x=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:"/users/"+(k&&k.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(k&&k.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?j: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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(a.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(a.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,_&&C&&C===t.id?f.default.createElement("div",{className:"pt20"},T(_,t.id)):""),f.default.createElement(O.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:x},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!C?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!C?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+k.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),O=(g="[object Arguments]"==g?f:g)==f,w=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,O=!1}if(E&&!O)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=O&&p.call(e,"__wrapped__"),C=w&&p.call(t,"__wrapped__");if(_||C){var j=_?e.value():e,S=C?t.value():t;return h||(h=new r),m(j,S,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),y=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return g.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=u;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(c.a,y({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:v||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var g=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(v);var b=v,O=n("H84U"),w=n("6CfX"),E=n("CtXQ"),_=n("CWQg");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(){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 S(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 P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(_.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return k(this,e)});function l(){var e;return S(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(w.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(E.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),h=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),y=u?[]:c;return y&&-1!==y.indexOf("contextMenu")&&(n=!0),r.createElement(b,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:y,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&x(n.prototype,o),a&&x(n,a),l}(r.Component);F.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var A=n("2/Rp");function R(e){return(R="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 D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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 L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(e,t){return!t||"object"!==R(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 q(){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 U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=A.default.Group,H=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&&L(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=U(t);if(q()){var r=U(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function l(){var e;return D(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,h=a.trigger,y=a.align,v=a.visible,g=a.onVisibleChange,b=a.placement,O=a.getPopupContainer,w=a.href,_=a.icon,C=void 0===_?r.createElement(E.default,{type:"ellipsis"}):_,j=a.title,S=z(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),x=o("dropdown-button",i),P={align:y,overlay:m,disabled:s,trigger:s?[]:h,onVisibleChange:g,placement:b,getPopupContainer:O||n};return"visible"in e.props&&(P.visible=v),r.createElement(B,M({},S,{className:f()(x,d)}),r.createElement(A.default,{type:l,disabled:s,onClick:c,htmlType:u,href:w,title:j},p),r.createElement(F,P,r.createElement(A.default,{type:l},C)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&I(n.prototype,o),a&&I(n,a),l}(r.Component);H.defaultProps={placement:"bottomRight",type:"default"},F.Button=H;t.default=F},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},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),w=n("CWQg"),E=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),C=n("g0mS");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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(){return(x=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){for(var n=0;n<t.length;n++){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 N(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 T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&k(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(C.a,null,r.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return x({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(S(t={},"".concat(u,"-").concat(l),c),S(t,"".concat(u,"-has-color"),l&&!c),S(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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)}}])&&P(n.prototype,o),l&&P(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 _(e,t){for(var n=0;n<t.length;n++){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 C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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 S(){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 x(e){return(x=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&&C(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=x(t);if(S()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=P(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((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),b=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:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(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}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,O=t.constructor;b==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof O&&O instanceof O||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=C(String.prototype.toLowerCase),v=C(String.prototype.match),g=C(String.prototype.replace),b=C(String.prototype.indexOf),O=C(String.prototype.trim),w=C(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function C(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 j(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 o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function x(t){var n=i(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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),I=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,C=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=x(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=I,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=S({},[].concat(W(P),W(k),W(N),W(T),W(F))),Oe=null,we=S({},[].concat(W(A),W(R),W(M),W(D))),Ee=null,_e=null,Ce=!0,je=!0,Se=!1,xe=!1,Pe=!1,ke=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,De=!0,Ie=!0,Le=!1,Ve={},qe=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"]),Ue=null,ze=S({},["audio","video","img","source","image","track"]),Be=null,He=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=x(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,Oe="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):we,Be="ADD_URI_SAFE_ATTR"in e?S(x(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?S(x(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=e.SAFE_FOR_JQUERY||!1,Pe=e.SAFE_FOR_TEMPLATES||!1,ke=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Pe&&(je=!1),Ae&&(Fe=!0),Ve&&(ge=S({},[].concat(W(F))),Oe=[],!0===Ve.html&&(S(ge,P),S(Oe,A)),!0===Ve.svg&&(S(ge,k),S(Oe,R),S(Oe,D)),!0===Ve.svgFilters&&(S(ge,N),S(Oe,R),S(Oe,D)),!0===Ve.mathMl&&(S(ge,T),S(Oe,M),S(Oe,D))),e.ADD_TAGS&&(ge===be&&(ge=x(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=x(Oe)),S(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Be,e.ADD_URI_SAFE_ATTR),Ie&&(ge["#text"]=!0),ke&&S(ge,["html","head","body"]),ge.table&&(S(ge,["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}},Ze=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)},Qe=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(i&&S(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}return e&&n&&t.body.insertBefore(l.createTextNode(n),t.body.childNodes[0]||null),ie.call(t,ke?"html":"body")[0]};n.isSupported&&function(){try{var e=Qe("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===C?"undefined":H(C))?e instanceof C:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(Ie&&!qe[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):(!xe||$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,"<")),Pe&&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(De&&("id"===t||"name"===t)&&(n in l||n in Ke))return!1;if(je&&w(de,t));else if(Ce&&w(me,t));else{if(!Oe[t]||_e[t])return!1;if(Be[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Se&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(Oe[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(xe&&w(/\/>/i,o))Ze(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{Pe&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 C)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!Pe&&!ke&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=ke?o.outerHTML:o.innerHTML;return Pe&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/22.48e92626.chunk.js.LICENSE.txt b/static/js/22.b34cfe6f.chunk.js.LICENSE.txt similarity index 100% rename from static/js/22.48e92626.chunk.js.LICENSE.txt rename to static/js/22.b34cfe6f.chunk.js.LICENSE.txt diff --git a/static/js/23.59182e01.chunk.js b/static/js/23.59182e01.chunk.js new file mode 100644 index 000000000..0025d6cf0 --- /dev/null +++ b/static/js/23.59182e01.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 23.59182e01.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[23,4,5,10,13,14,73],{"+B/L":function(e,t,n){},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+hnl":function(e,t,n){},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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)}(w,e);var t,n,o,a,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(){var e;return p(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,O=a.children,w=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete w[e],_=u(u({},_),(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 x=i()(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(v),v),n),g,_);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:x}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),w}(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}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,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,a,i,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}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),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 _(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 x=+new Date,j=0;function C(){return"rc-upload-"+x+"-"+ ++j}var S=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var k=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:C()},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 S(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return S(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=C(),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,a=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||_;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:a?function(t){a(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:C()})}},{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,a=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,a,a),e)),y=i?{}:{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);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 N=P,T=n("i8i4"),F=n.n(T),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},I=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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:C(),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=F.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=w()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);I.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 D=I;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:D}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");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 G(e){return K(K({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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(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 we(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var ke=function(e){function t(){var e,n;we(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return Se(je(n=_e(this,(e=xe(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ce(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),O=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,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,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);ke.propTypes=ge,ke.defaultProps=ye;he(ke);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Te(){return(Te=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(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,De(Me(e),"paths",{}),De(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&Ie(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Fe(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Te({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ke=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},O=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(x),C=w()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:C,style:b},r.createElement(Be,{percent:We(e),strokeWidth:O,trailWidth:O,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ge(e){return(Ge="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ge(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ke,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=w()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,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=Q(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(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=w()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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,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),b&&r.createElement("a",{title:d.removeFile},b)),_=w()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([O,b].filter((function(e){return e})).length),!0),o)),x=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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,C="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},j,"done"===t.status&&O,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var S=r.createElement("span",null,i,x),k=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},S),C,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=w()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},k):r.createElement("span",null,k))})),v=w()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),Ot=n("6CfX");function wt(e){return(wt="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 Et(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(){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 xt(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ct(e,t){return!t||"object"!==wt(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 St(){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 kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=kt(t);if(St()){var r=kt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Ct(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(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(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(G)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,E=w()(v,(Et(O={},"".concat(v,"-drag"),!0),Et(O,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(O,"".concat(v,"-drag-hover"),"dragover"===y),Et(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(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=w()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var x=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:w()(l,"".concat(v,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Tt(e){return(Tt="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 Ft(){return(Ft=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function It(e,t){return!t||"object"!==Tt(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(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(Dt()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return It(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Ft({},e,{type:"drag",style:Ft(Ft({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AubP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("q1tI")),o=n("spEH"),a=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(o.FlexAJ,null,r.default.createElement(o.AlignCenter,null,r.default.createElement(s.Link,{to:"/projects/"+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:"/projects/"+c+"/"+n+"/commits/"+(0,i.truncateCommitId)(e.sha),className:"color-blue"},"浏览代码")),r.default.createElement(o.AlignCenter,{className:"mt15"},r.default.createElement(a.default,{url:(0,l.getImageUrl)("images/"+(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=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return qe}));var r=n("q1tI"),o=n("1j5w"),a=n("TSYQ"),i=n.n(a),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 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 b(){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 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)}(c,e);var t,n,a,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return h(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,a=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:i()("".concat(n,"-").concat(l),a)}))}))}}])&&y(n.prototype,a),l&&y(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var E=w,_=n("3S7+"),x=n("H84U");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 S(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 S(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(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 S(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 P(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 F(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&&A(e,t)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e){return function(){var t,n=D(e);if(I()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},V=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function q(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var a;return(a=function(o){F(i,o);var a=R(i);function i(){var o;return P(this,i),(o=a.apply(this,arguments)).renderComponent=function(a){var i=a.getPrefixCls,l=o.props.prefixCls,s=i(t,l);return r.createElement(e,k({prefixCls:s,tagName:n},o.props))},o}return T(i,[{key:"render",value:function(){return r.createElement(x.a,null,this.renderComponent)}}]),i}(r.Component)).displayName=o,a}}var U=function(e){var t=e.prefixCls,n=e.className,o=e.children,a=e.tagName,l=L(e,["prefixCls","className","children","tagName"]),s=i()(n,t);return r.createElement(a,k({className:s},l),o)},z=function(e){F(n,e);var t=R(n);function n(){var e;return P(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(C(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,a=o.prefixCls,l=o.className,s=o.children,c=o.hasSider,u=o.tagName,f=L(o,["prefixCls","className","children","hasSider","tagName"]),p=i()(l,a,(e={},t="".concat(a,"-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(V.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,k({className:p},f),s))}}]),n}(r.Component),B=q({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=q({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(U),W=q({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(U),K=q({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(U);B.Header=H,B.Footer=W,B.Content=K;var G=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 X(){return(X=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ie(e);if(ae()){var r=ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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,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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,a,s;return J(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,a=o.props,s=a.prefixCls,c=a.className,u=a.theme,f=a.collapsible,p=a.reverseArrow,d=a.trigger,m=a.style,h=a.width,y=a.collapsedWidth,v=a.zeroWidthTriggerStyle,g=le(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?y:h,E=Y(w)?"".concat(w,"px"):String(w),_=0===parseFloat(String(y||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(p?"right":"left"),style:v},r.createElement(G.default,{type:"bars"})):null,x={expanded:p?r.createElement(G.default,{type:"right"}):r.createElement(G.default,{type:"left"}),collapsed:p?r.createElement(G.default,{type:"left"}):r.createElement(G.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?_||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:E}},d||x):null,C=X(X({},m),{flex:"0 0 ".concat(E),maxWidth:E,minWidth:E,width:E}),S=i()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==d&&!_),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(E)),t));return r.createElement("aside",X({className:S},O,{style:C}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&_?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in ce&&(o.mql=a("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(x.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(pe);r.Component;function de(e){return(de="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 me(){return(me=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 he(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==de(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(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(s,e);var t,n,a,i,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return he(this,s),(e=l.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,a=e.props,i=a.level,l=a.children,s=a.rootPrefixCls,c=e.props,u=c.title,f=we(c,["title"]);return r.createElement(p.Consumer,null,(function(t){var a=t.inlineCollapsed,c={title:u||(1===i?l:"")};return n||a||(c.title=null,c.visible=!1),r.createElement(_.default,me({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,me({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(a=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&ye(n.prototype,a),i&&ye(n,i),s}(r.Component);Ee.isMenuItem=!0;var _e=n("6CfX"),xe=n("oHiP"),je=function(){return{height:0,opacity:0}},Ce=function(e){return{height:e.scrollHeight,opacity:1}},Se={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Ce,onEnterActive:Ce,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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 Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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 Fe(e,t,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function Ae(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)}function Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Le(e);if(De()){var r=Le(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ie(this,t)}}function Ie(e,t){return!t||"object"!==ke(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(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ve=function(e){Ae(n,e);var t=Me(n);function n(e){var a,s;return Ne(this,n),(a=t.call(this,e)).handleMouseEnter=function(e){a.restoreModeVerticalFromInline();var t=a.props.onMouseEnter;t&&t(e)},a.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)&&a.restoreModeVerticalFromInline()},a.handleClick=function(e){a.handleOpenChange([]);var t=a.props.onClick;t&&t(e)},a.handleOpenChange=function(e){a.setOpenKeys(e);var t=a.props.onOpenChange;t&&t(e)},a.renderMenu=function(e){var t,n,s,c=e.getPopupContainer,u=e.getPrefixCls,f=a.props,p=f.prefixCls,d=f.className,m=f.theme,h=f.collapsedWidth,y=Object(l.a)(a.props,["collapsedWidth","siderCollapsed"]),v=a.getRealMenuMode(),g=a.getOpenMotionProps(v),b=u("menu",p),O=i()(d,"".concat(b,"-").concat(m),(t={},n="".concat(b,"-inline-collapsed"),s=a.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[n]=s,t)),w=Pe({openKeys:a.state.openKeys,onOpenChange:a.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=a.handleClick),a.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},y,w,{prefixCls:b,onTransitionEnd:a.handleTransitionEnd,onMouseEnter:a.handleMouseEnter}))},Object(_e.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(_e.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(_e.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),a.state={openKeys:s||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},a}return Fe(n,[{key:"componentWillUnmount",value:function(){xe.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(_e.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:Se}:{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(x.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);Ve.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(Ve);var qe=function(e){Ae(n,e);var t=Me(n);function n(){return Ne(this,n),t.apply(this,arguments)}return Fe(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(Ve,Pe({},e.props,t))}))}}]),n}(r.Component);qe.Divider=o.a,qe.Item=Ee,qe.SubMenu=E,qe.ItemGroup=o.c},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(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")),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},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=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,a=o.projectsId,i=o.owner,l=o.mergeId;n.getCommit(i,a,l),n.getFile(i,a,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,a=n.props.match.params,i=a.projectsId,l=a.owner,s=a.mergeId;r?"2"===e?n.getCommit(l,i,s):"3"===e?n.getFile(l,i,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),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,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",style:{paddingTop:"0px"}},s.default.createElement(r.default,{spinning:v},s.default.createElement(o.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,a({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,a({},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"},"文件"),b>0&&s.default.createElement("span",{className:"tabNum"},b)),key:"3"},s.default.createElement(f.default,a({},this.props,{data:w,projectsId:t,owner:n}))))))}}]),t}(l.Component);t.default=h},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},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}},QCvN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("W9HT")),o=v(n("kaz8")),a=v(n("2/Rp")),i=v(n("Vl3Y")),l=v(n("5rEg")),s=v(n("mr32")),c=v(n("BvKs")),u=v(n("2fM7")),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},p=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("MKzF"),n("L/Qf"),n("tULf"),n("1vPl"),n("0lcf"),n("2WkQ"),n("8QGh");var d=n("q1tI"),m=v(d),h=v(n("vDqi"));n("6JOy"),n("js5m");var y=v(n("p7gc"));function v(e){return e&&e.__esModule?e:{default:e}}var g=u.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){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}),h.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(f({},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 m.default.createElement(c.default,null,e&&e.length>0&&e.map((function(e,r){return m.default.createElement(c.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 m.default.createElement(g,{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,a=r.mergeId,i=r.owner,l=n.props,s=l.merge,c=l.pull,u=l.merge_type,p=l.data,d=l.commits_count,m=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"===u){var v="/"+i+"/"+o+"/pulls.json";h.default.post(v,f({},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:m,commits_count:d})).then((function(e){if(e){n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+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 g="/"+i+"/"+o+"/pulls/"+a+".json";h.default.put(g,f({},t,{body:y,head:c,base:s})).then((function(e){e?(n.setState({isSpin:!1}),n.props.history.push("/projects/"+i+"/"+o+"/pulls/"+a+"/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),p(t,[{key:"render",value:function(){var e=this,t=this.props.merge_type,n=this.props.form.getFieldDecorator,c=this.props.match.params,f=c.projectsId,p=c.mergeId,d=c.owner,h=this.state,v=h.issue_tag_ids,g=h.fixed_version_id,b=h.assigned_to_id,O=h.priority_id,w=h.desc,E=h.isSpin,_=h.title,x=h.members,j=h.issue_tags,C=h.issue_versions,S=h.issue_priories;return m.default.createElement("div",null,m.default.createElement(r.default,{spinning:E},m.default.createElement("div",{className:"mb20"},m.default.createElement("span",{className:"font-16 fwb mr10 ver-middle"},"new"===t?"新建":"编辑","合并请求:"),m.default.createElement(s.default,{color:"#28BD6C",className:"ver-middle"},"可合并的")),m.default.createElement(i.default,null,m.default.createElement("div",{className:"width100 inline-block"},m.default.createElement("div",{className:"width70 pull-left"},m.default.createElement(i.default.Item,null,n("title",{rules:[{required:!0,message:"请填写请求标题"}],initialValue:_})(m.default.createElement(l.default,{placeholder:"标题"}))),m.default.createElement(y.default,{placeholder:"请输入合并请求的描述...",height:450,mdID:"merge-new-description",initValue:w,onChange:this.onContentChange}),m.default.createElement("p",{className:"clearfix mt20"},m.default.createElement(a.default,{type:"primary",loading:E,onClick:this.handleSubmit},m.default.createElement("span",{className:"plr10"},"new"===t?"创建":"提交")),m.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){e.props.history.push("new"===t?"/projects/"+d+"/"+f+"/pulls":"/projects/"+d+"/"+f+"/pulls/"+p+"/detail")}},m.default.createElement("span",{className:"plr10"},"取消")))),m.default.createElement("div",{className:"width30 pull-left"},m.default.createElement("div",{className:"pl30"},m.default.createElement(i.default.Item,null,n("assigned_to_id",{initialValue:b})(m.default.createElement(u.default,{placeholder:"审查人员",showSearch:!0},this.renderSelect(x)))),m.default.createElement(i.default.Item,null,n("fixed_version_id",{initialValue:g})(m.default.createElement(u.default,{placeholder:C&&C.length>0?"未选择里程碑":"请添加里程碑",showSearch:!0},this.renderSelect(C)))),m.default.createElement(i.default.Item,null,n("issue_tag_ids",{initialValue:v})(m.default.createElement(u.default,{placeholder:j&&j.length>0?"未选择标签":"请在仓库设置里添加标签",showSearch:!0},this.renderSelect(j)))),m.default.createElement(i.default.Item,null,n("priority_id",{initialValue:O})(m.default.createElement(u.default,{placeholder:"优先级",showSearch:!0},this.renderSelect(S)))),m.default.createElement(i.default.Item,{name:"checkbox-group",label:"其他"},m.default.createElement(o.default.Group,null,m.default.createElement("div",null,m.default.createElement(o.default,{value:"A"},"必须审查代码")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"B"},"合并后删除提交分支")),m.default.createElement("div",null,m.default.createElement(o.default,{value:"C"},"合并后关闭提到的任务"))))))))))}}]),t}(d.Component),O=i.default.create({name:"NewMergeForm"})(b);t.default=O},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["\n display:flex;\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 ","\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=s(n("q1tI")),l=s(n("vOnD"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,r=e.column,o=l.default.span(a,r&&"flex-direction: column;text-align:center;",!r&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(o,null,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"],o=[n,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 O=r[v.charAt(0)];if(O)b=v.match(O[1]),g=O[0];else{for(var E=0;E<o;++E)if(O=t[E],b=v.match(O[1])){g=O[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 _=u;if(u+=v.length,y){var x=b[1],j=v.indexOf(x),C=j+x.length;b[2]&&(j=(C=v.length-b[2].length)-x.length);var S=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,x,w(S,x),c),p(s,l+_+C,v.substring(C),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function O(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 w(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.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,a=e.sourceCode,i=a.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,O=s[u+2]||i,w=f[d+2]||i,E=(y=Math.min(O,w),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,x=_.createElement("span");x.className=f[d+1];var j=E.parentNode;j.replaceChild(x,E),x.appendChild(E),l<O&&(s[u+1]=E=_.createTextNode(a.substring(y,O)),j.insertBefore(E,x.nextSibling))}(l=y)>=O&&(u+=2),l>=w&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function x(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,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 a=l[p],i=w,s=a;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 _=a.className;if((i!==w||h.test(_))&&!y.test(_)){for(var x=!1,j=a.parentNode;j;j=j.parentNode){var C=j.tagName;if(O.test(C)&&j.className&&h.test(j.className)){x=!0;break}}if(!x){a.className+=" prettyprinted";var S,k,P=i.lang;if(!P)!(P=_.match(d))&&(S=m(a))&&b.test(S.tagName)&&(P=S.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))k=1;else{var N=a.currentStyle,T=o.defaultView,F=N?N.whiteSpace:T&&T.getComputedStyle?T.getComputedStyle(a,null).getPropertyValue("white-space"):0;k=F&&"pre"===F.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,k),E({langExtension:P,sourceNode:a,numberLines:A,pre:k,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:a,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:i,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 j=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:_,prettyPrint:x},C=e.define;"function"==typeof C&&C.amd&&C("google-code-prettify",[],(function(){return j}))}()},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){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return D}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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 O(){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 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 _=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 x(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=w(t);if(O()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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=a?"div":"li",w=r.createElement(O,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 a?r.createElement(p.a,{span:x(a,"column"),xs:x(a,"xs"),sm:x(a,"sm"),md:x(a,"md"),lg:x(a,"lg"),xl:x(a,"xl"),xxl:x(a,"xxl")},w):w},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(r.Component);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 S(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(n);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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.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 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=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&&F(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,O=m.itemLayout,w=m.loadMore,E=m.pagination,_=m.grid,x=m.dataSource,j=void 0===x?[]:x,C=m.size,k=m.header,T=m.footer,F=m.loading,A=I(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=F;"boolean"==typeof M&&(M={spinning:M});var D=M&&M.spinning,L="";switch(C){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===O),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),D),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=S(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=S(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=D&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),K=[];r.Children.forEach(W,(function(e,n){K.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},K):r.createElement("ul",{className:"".concat(R,"-items")},K)}else b||D||(z=t.renderEmpty(R,a));var G=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===G||"both"===G)&&B,k&&r.createElement("div",{className:"".concat(R,"-header")},k),r.createElement(s.default,M,z,b),T&&r.createElement("div",{className:"".concat(R,"-footer")},T),w||("bottom"===G||"both"===G)&&B)};var n=e.pagination,o=n&&"object"===C(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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(n.prototype,o),a&&T(n,a),d}(r.Component);D.Item=j,D.childContextTypes={grid:o.any,itemLayout:o.string},D.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),E=n("fhzG"),_=n.n(E),x=n("aGtg"),j=n("oV5b"),C=n.n(j),S=n("2W6z"),k=n.n(S),P=n("mwIZ"),N=n.n(P),T=n("D1y2"),F=n.n(T),A=n("ljhN"),R=n.n(A),M=n("iCc5"),I=n.n(M),D=n("V7oC"),L=n.n(D),V=function e(t){I()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void k()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 Q(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,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){I()(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 F()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return F()(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 F()(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 F()(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 F()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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 i=r.getValueFromEvent?r.getValueFromEvent.apply(r,w()(n)):Q.apply(void 0,w()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return F()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),F()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return K(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 a=Object.keys(o).reduce((function(e,t){return F()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&F()(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(a));else{var m=new C.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))&&F()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];F()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=X(e,t,n),l=i.names,s=i.options,c=X(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(x.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=X(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n=0;n<t.length;n++){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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ce(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?Se(e):t}function Se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(){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 Pe(e){return(Pe=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(n);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 Fe=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(ke()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Ce(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(Se(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Fe(a,["prefixCls","style","className"]),f=o("form",i),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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var x=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,we({},g,{className:w}),r.createElement("label",{htmlFor:y||h||t.getId(),className:x,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)}}])&&xe(n.prototype,o),a&&xe(n,a),s}(r.Component);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 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 De(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(De(n={},"".concat(p,"-horizontal"),"horizontal"===f),De(n,"".concat(p,"-vertical"),"vertical"===f),De(n,"".concat(p,"-inline"),"inline"===f),De(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",Ie({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Ie(Ie({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ke}));var r=n("q1tI"),o=n.n(r),a=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),O=n("17x9"),w=n.n(O),E=n("TSYQ"),_=n.n(E),x=n("n1GQ"),j=n.n(x),C=n("VCL8"),S=37,k=38,P=39,N=40;function T(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function I(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function D(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 V(e,t,n,r,o){var a=I(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},K=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);K.propTypes={setRef:w.a.func,prevElement:w.a.object,nextElement:w.a.object};var G=K,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(G,{setRef:a,prevElement:t}),u=o.a.createElement(G,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},D(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function Q(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:Q(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(G,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(G,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),O=[];return"bottom"===a?O.push(g,v,b,y):O.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},D(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=Q(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===S||n===k){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-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=Z,Object(C.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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=F(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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,a=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=F(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=I(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:w.a.string,styles:w.a.object,inkBarAnimated:w.a.bool,saveRef:w.a.func,direction:w.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,O="rtl"===p?"marginLeft":"marginRight",w=c()({},M(u)?"marginBottom":O,b);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},g),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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.onKeyDown,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},D(d)),g)}}]),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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,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 ge=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:w.a.func},ge.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 b()(t,e),h()(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=f()(e,["children"]);return o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),we=Oe;Oe.propTypes={children:w.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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){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 ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==je(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 Ne(){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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ke(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Te(t);if(Ne()){var r=Te(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return Ce(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),O=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(O,we):r.createElement(we,O),r.cloneElement(t)}}])&&Se(n.prototype,o),a&&Se(n,a),l}(r.Component);Fe.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=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 De(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ke=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),O=_()(s,(De(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),De(n,"".concat(b,"-").concat(c),!!c),De(n,"".concat(b,"-card"),f.indexOf("card")>=0),De(n,"".concat(b,"-").concat(f),!0),De(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 o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.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:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),x=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,Ie({},e.props,{prefixCls:b,className:O,tabBarPosition:p,renderTabBar:function(){return r.createElement(Fe,Ie({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),w.length>0?w:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ke.TabPane=Z,Ke.defaultProps={hideAdd:!1,tabPosition:"top"}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(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=[],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("L/Qf");var a=n("q1tI"),i=c(a),l=n("PhNK"),s=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,u=e.projectsId,f=(0,a.useState)(t&&t.files),p=o(f,2),d=p[0],m=p[1];return(0,a.useEffect)((function(){t&&m(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(s.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),d&&d.length>0&&i.default.createElement("div",null,d.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(s.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var r=d.concat();r[t].flag=!e,r.splice(),m(r)}}(e.flag,t,e.isBin)}},i.default.createElement(s.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(r.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+u+(e.sha?"/branch/"+(0,l.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("VXEj")),o=w(n("NJEC")),a=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")),O=w(n("oYoh"));function w(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,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,_=t.is_reply,x=t.reply_id,j=t.reply_content,C=t.orderId,S=t.new_journal_id,k=this.props,P=k.current_user,N=k.only_show_content,T=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?j: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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},F=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,_&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},T(_,t.id)):""),f.default.createElement(O.default,s({order_id:C,parent_id:t.id,onRef:e.onRef,children_comment_id:S},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},T(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,F(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),O=(g="[object Arguments]"==g?f:g)==f,w=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,O=!1}if(E&&!O)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=O&&p.call(e,"__wrapped__"),x=w&&p.call(t,"__wrapped__");if(_||x){var j=_?e.value():e,C=x?t.value():t;return h||(h=new r),m(j,C,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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){},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},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),l=n.n(i),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),f=n("H84U"),p=n("6CfX");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(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(){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 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,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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},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)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=E(t);if(w()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function c(){var e;return y(this,c),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,c=a.context,u=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,y=i.style,v=i.onMouseEnter,g=i.onMouseLeave,b=_(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=c.checkboxGroup,E=o("checkbox",u),x=h({},b);w&&(x.onChange=function(){b.onChange&&b.onChange.apply(b,arguments),w.toggleOption({label:p,value:i.value})},x.name=w.name,x.checked=-1!==w.value.indexOf(i.value),x.disabled=i.disabled||w.disabled);var j=l()(f,(m(n={},"".concat(E,"-wrapper"),!0),m(n,"".concat(E,"-wrapper-checked"),x.checked),m(n,"".concat(E,"-wrapper-disabled"),x.disabled),n)),C=l()(m({},"".concat(E,"-indeterminate"),d));return r.createElement("label",{className:j,style:y,onMouseEnter:v,onMouseLeave:g},r.createElement(s.a,h({},x,{prefixCls:E,className:C,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=c,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),c}(r.Component);x.__ANT_CHECKBOX=!0,x.defaultProps={indeterminate:!1},x.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(x);var j=x,C=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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&&F(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,s=a.prefixCls,c=a.className,u=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",s),m="".concat(d,"-group"),h=Object(C.a)(p,["children","defaultValue","value","onChange","disabled"]),y=a.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var v=l()(m,c);return r.createElement("div",k({className:v,style:u},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),s}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var V=L;j.Group=V;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),w=n("CWQg"),E=Object(w.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),x=n("g0mS");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,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 k(e,t){for(var n=0;n<t.length;n++){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 N(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 T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",S({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(C(t={},"".concat(u,"-").concat(l),c),C(t,"".concat(u,"-has-color"),l&&!c),C(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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)}}])&&k(n.prototype,o),l&&k(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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"))},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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return T}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 _(e,t){for(var n=0;n<t.length;n++){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 x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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(){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 S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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},P=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&&x(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=S(t);if(C()){var r=S(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=k(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((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),b=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:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(o.Component);T.defaultProps={gutter:0},T.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,O=t.constructor;b==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof O&&O instanceof O||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},vhIH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),o=d(n("5rEg")),a=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,o="/"+e.owner+"/"+t+"/pulls/"+r+"/edit.json";f.default.get(o).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(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.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(o.default.Group,{compact:!0,className:"display-flex"},u.default.createElement(a.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},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=x(String.prototype.toLowerCase),v=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),O=x(String.prototype.trim),w=x(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function x(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 j(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 C(e,r){t&&t(e,null);for(var o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function S(t){var n=i(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"]),P=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"]),F=o(["#text"]),A=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"]),R=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"]),M=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"]),I=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 K=function(){return"undefined"==typeof window?null:window},G=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:K(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,Q=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($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=S(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=D,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=C({},[].concat(W(k),W(P),W(N),W(T),W(F))),Oe=null,we=C({},[].concat(W(A),W(R),W(M),W(I))),Ee=null,_e=null,xe=!0,je=!0,Ce=!1,Se=!1,ke=!1,Pe=!1,Ne=!1,Te=!1,Fe=!1,Ae=!1,Re=!1,Me=!1,Ie=!0,De=!0,Le=!1,Ve={},qe=C({},["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,ze=C({},["audio","video","img","source","image","track"]),Be=null,He=C({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ke=l.createElement("form"),Ge=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=S(e),ge="ALLOWED_TAGS"in e?C({},e.ALLOWED_TAGS):be,Oe="ALLOWED_ATTR"in e?C({},e.ALLOWED_ATTR):we,Be="ADD_URI_SAFE_ATTR"in e?C(S(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?C(S(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?C({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?C({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Ce=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Se=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,Ie=!1!==e.SANITIZE_DOM,De=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,ke&&(je=!1),Ae&&(Fe=!0),Ve&&(ge=C({},[].concat(W(F))),Oe=[],!0===Ve.html&&(C(ge,k),C(Oe,A)),!0===Ve.svg&&(C(ge,P),C(Oe,R),C(Oe,I)),!0===Ve.svgFilters&&(C(ge,N),C(Oe,R),C(Oe,I)),!0===Ve.mathMl&&(C(ge,T),C(Oe,M),C(Oe,I))),e.ADD_TAGS&&(ge===be&&(ge=S(ge)),C(ge,e.ADD_TAGS)),e.ADD_ATTR&&(Oe===we&&(Oe=S(Oe)),C(Oe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&C(Be,e.ADD_URI_SAFE_ATTR),De&&(ge["#text"]=!0),Pe&&C(ge,["html","head","body"]),ge.table&&(C(ge,["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}},Ze=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)},Qe=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(i&&C(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Qe("<x/><title></title><img>");w(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Xe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof Q||e instanceof X||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":H(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(De&&!qe[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):(!Se||$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 Ke))return!1;if(je&&w(de,t));else if(xe&&w(me,t));else{if(!Oe[t]||_e[t])return!1;if(Be[t]);else if(w(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Ce&&!w(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:Oe};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=O(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(Oe[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(Se&&w(/\/>/i,o))Ze(m,e);else if(w(/svg|math/i,e.namespaceURI)&&w(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{ke&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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 x)1===(i=(o=Qe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Fe&&!ke&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Qe(e)))return Fe?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(Fe){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return ke&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,v=t.autoFocus,b=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),E=this.state.checked,_=g()(n,r,((e={})[n+"-checked"]=E,e[n+"-disabled"]=u,e));return m.a.createElement("span",{className:_,style:a},m.a.createElement("input",i()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:p,className:n+"-input",checked:!!E,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},w)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(O);var w=O;t.a=w},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/23.687b9fdb.chunk.js.LICENSE.txt b/static/js/23.59182e01.chunk.js.LICENSE.txt similarity index 100% rename from static/js/23.687b9fdb.chunk.js.LICENSE.txt rename to static/js/23.59182e01.chunk.js.LICENSE.txt diff --git a/static/js/23.687b9fdb.chunk.js b/static/js/23.687b9fdb.chunk.js deleted file mode 100644 index 81ebeca33..000000000 --- a/static/js/23.687b9fdb.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 23.687b9fdb.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[23,4,10,13],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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},w=o.oneOfType([o.object,o.number]),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)}(O,e);var t,n,o,a,w=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(){var e;return p(this,O),(e=w.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,w=a.children,O=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete O[e],_=u(u({},_),(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 x=i()(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(v),v),n),g,_);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=O.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({},O,{style:n,className:x}),w)}))},e}return n=O,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),O}(r.Component);O.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:w,sm:w,md:w,lg:w,xl:w,xxl:w}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,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,a,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),w=n("TSYQ"),O=n.n(w);function E(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function _(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 x=+new Date,j=0;function S(){return"rc-upload-"+x+"-"+ ++j}var k=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var C=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)C(e.dataTransfer.items,r.uploadFiles,(function(e){return k(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return k(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},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,a=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||_;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:a?function(t){a(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: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,a=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=O()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,a,a),e)),y=i?{}:{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);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 N=P,F=n("i8i4"),T=n.n(F),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},D=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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: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 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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=O()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);D.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 I=D;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:I}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");function G(){return(G=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){return G(G({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},X=function(e){if(Z(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 Q=n("CtXQ"),J=n("3S7+"),$=n("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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 we(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 Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(e){function t(){var e,n;Oe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return ke(je(n=_e(this,(e=xe(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Se(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=we(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),w=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(w,"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 w+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);Ce.propTypes=ge,Ce.defaultProps=ye;he(Ce);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(){return(Fe=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 Te(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,Ie(Me(e),"paths",{}),Ie(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&De(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Fe({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ge=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},w=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(x),S=O()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:S,style:b},r.createElement(Be,{percent:We(e),strokeWidth:w,trailWidth:w,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ke(e){return(Ke="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Xe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ge,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=O()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(Q.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(Q.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Qe(n.prototype,o),a&&Qe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,i=r.createElement(Q.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=X(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(Q.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(Q.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=O()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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(Q.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,w=p&&"done"===t.status?r.createElement(Q.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":"")},w&&r.createElement("a",{title:d.downloadFile},w),b&&r.createElement("a",{title:d.removeFile},b)),_=O()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([w,b].filter((function(e){return e})).length),!0),o)),x=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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(Q.default,{type:"eye-o"})):null,S="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},j,"done"===t.status&&w,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var k=r.createElement("span",null,i,x),C=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},k),S,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=O()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},C):r.createElement("span",null,C))})),v=O()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),wt=n("6CfX");function Ot(e){return(Ot="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 Et(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(){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 xt(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function St(e,t){return!t||"object"!==Ot(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 kt(){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 Ct(e){return(Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Ct(t);if(kt()){var r=Ct(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return St(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=K(e);r.status="uploading";var o=n.concat(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(K)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var w,E=O()(v,(Et(w={},"".concat(v,"-drag"),!0),Et(w,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(w,"".concat(v,"-drag-hover"),"dragover"===y),Et(w,"".concat(v,"-disabled"),f),w),l);return r.createElement("span",null,r.createElement("div",{className:E,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=O()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var x=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:O()(l,"".concat(v,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(wt.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Ft(e){return(Ft="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 Tt(){return(Tt=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e,t){return!t||"object"!==Ft(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 It(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(It()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Dt(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(t[c+1])?[]:{})}r(p,d,m),p=p[d]}return e}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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},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)}(w,e);var t,n,o,i,f=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=w,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),w}(r.Component);w.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(w),t.default=w},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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},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"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 w=r[v.charAt(0)];if(w)b=v.match(w[1]),g=w[0];else{for(var E=0;E<o;++E)if(w=t[E],b=v.match(w[1])){g=w[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 _=u;if(u+=v.length,y){var x=b[1],j=v.indexOf(x),S=j+x.length;b[2]&&(j=(S=v.length-b[2].length)-x.length);var k=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,x,O(k,x),c),p(s,l+_+S,v.substring(S),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function w(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 O(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,O(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,a=e.sourceCode,i=a.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,w=s[u+2]||i,O=f[d+2]||i,E=(y=Math.min(w,O),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,x=_.createElement("span");x.className=f[d+1];var j=E.parentNode;j.replaceChild(x,E),x.appendChild(E),l<w&&(s[u+1]=E=_.createTextNode(a.substring(y,w)),j.insertBefore(E,x.nextSibling))}(l=y)>=w&&(u+=2),l>=O&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function x(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,w=/^(?:pre|code|xmp)$/i,O={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var a=l[p],i=O,s=a;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 _=a.className;if((i!==O||h.test(_))&&!y.test(_)){for(var x=!1,j=a.parentNode;j;j=j.parentNode){var S=j.tagName;if(w.test(S)&&j.className&&h.test(j.className)){x=!0;break}}if(!x){a.className+=" prettyprinted";var k,C,P=i.lang;if(!P)!(P=_.match(d))&&(k=m(a))&&b.test(k.tagName)&&(P=k.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))C=1;else{var N=a.currentStyle,F=o.defaultView,T=N?N.whiteSpace:F&&F.getComputedStyle?F.getComputedStyle(a,null).getPropertyValue("white-space"):0;C=T&&"pre"===T.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,C),E({langExtension:P,sourceNode:a,numberLines:A,pre:C,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}w(v,["default-code"]),w(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"]),w(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"]),w(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),w(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),w(y({keywords:"null,true,false"}),["json"]),w(y({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),w(y({keywords:o,cStyleComments:!0}),["java"]),w(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),w(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),w(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),w(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),w(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),w(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"]),w(h([],[["str",/^[\s\S]+/]]),["regex"]);var j=e.PR={createSimpleLexer:h,registerLangHandler:w,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:_,prettyPrint:x},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return j}))}()},SqvK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("Vl3Y")),o=v(n("W9HT")),a=v(n("NJEC")),i=v(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=v(c),f=n("eO8H"),p=v(n("vDqi")),d=n("sYIF"),m=v(n("LZ3y")),h=v(n("bjH3")),y=v(n("dIAb"));function v(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,o="/"+e.owner+"/"+t+"/issues/"+r+".json";p.default.get(o).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,o=t.orderId,a=t.owner,i="/"+a+"/"+r+"/issues/"+o+".json";p.default.delete(i,{data:{project_id:r,id:e}}).then((function(e){e&&n.props.history.push("/projects/"+a+"/"+r+"/issues")})).catch((function(e){console.log(e)}))},n.closedetail=function(e){var t=n.props.match.params,r=t.projectsId,o=t.orderId,a="/"+t.owner+"/"+r+"/issues/"+o+"/close_issue.json";p.default.post(a,{project_id:r,id:o,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,o=e.owner,a="/"+o+"/"+t+"/issues/"+r+"/copy.json";p.default.post(a,{project_id:t,id:r}).then((function(e){e&&n.props.history.push("/projects/"+o+"/"+t+"/issues/"+e.data.issue_id+"/copyetail")})).catch((function(e){console.log(e)}))},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,v=p.isSpins;return u.default.createElement(o.default,{spinning:v},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:"/users/"+(h&&h.author_login),className:"show-user-link"},u.default.createElement("img",{className:"user_img",src:(0,d.getImageUrl)("images/"+(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:"/users/"+(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"},u.default.createElement("a",{className:"color-blue fr",onClick:this.copydetail},"复制"),u.default.createElement(a.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:"/projects/"+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(y.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}},TZyB:function(e,t,n){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return I}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 O(e){return(O=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 _=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 x(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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")}))}))),w=a?"div":"li",O=r.createElement(w,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 a?r.createElement(p.a,{span:x(a,"column"),xs:x(a,"xs"),sm:x(a,"sm"),md:x(a,"md"),lg:x(a,"lg"),xl:x(a,"xl"),xxl:x(a,"xxl")},O):O},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(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 k(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(n);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 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 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 T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.string};var D=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},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&&T(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,w=m.itemLayout,O=m.loadMore,E=m.pagination,_=m.grid,x=m.dataSource,j=void 0===x?[]:x,S=m.size,C=m.header,F=m.footer,T=m.loading,A=D(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=T;"boolean"==typeof M&&(M={spinning:M});var I=M&&M.spinning,L="";switch(S){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===w),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),I),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=k(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=k(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=I&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),G=[];r.Children.forEach(W,(function(e,n){G.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},G):r.createElement("ul",{className:"".concat(R,"-items")},G)}else b||I||(z=t.renderEmpty(R,a));var K=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===K||"both"===K)&&B,C&&r.createElement("div",{className:"".concat(R,"-header")},C),r.createElement(s.default,M,z,b),F&&r.createElement("div",{className:"".concat(R,"-footer")},F),O||("bottom"===K||"both"===K)&&B)};var n=e.pagination,o=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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)}}])&&F(n.prototype,o),a&&F(n,a),d}(r.Component);I.Item=j,I.childContextTypes={grid:o.any,itemLayout:o.string},I.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),w=n("m1cH"),O=n.n(w),E=n("fhzG"),_=n.n(E),x=n("aGtg"),j=n("oV5b"),S=n.n(j),k=n("2W6z"),C=n.n(k),P=n("mwIZ"),N=n.n(P),F=n("D1y2"),T=n.n(F),A=n("ljhN"),R=n.n(A),M=n("iCc5"),D=n.n(M),I=n("V7oC"),L=n.n(I),V=function e(t){D()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function G(e){return Array.prototype.concat.apply([],e)}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void C()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 X(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Q(e,t,n){var r=e,o=t,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 K(e,(function(e,t){return q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){D()(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 K(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 T()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return T()(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 T()(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 T()(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 T()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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,O()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,O()(n))}var i=r.getValueFromEvent?r.getValueFromEvent.apply(r,O()(n)):X.apply(void 0,O()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return T()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),T()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return G(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 a=Object.keys(o).reduce((function(e,t){return T()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&T()(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(a));else{var m=new S.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))&&T()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];T()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=Q(e,t,n),l=i.names,s=i.options,c=Q(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(x.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=Q(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({labelAlign:"right",vertical:!1});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(){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 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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n=0;n<t.length;n++){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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?ke(e):t}function ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(){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 Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e){return function(e){if(Array.isArray(e))return Fe(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 Fe(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(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 Fe(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 Te=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(Ce()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Se(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(ke(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Te(a,["prefixCls","style","className"]),f=o("form",i),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,Oe({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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,Oe({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,w="".concat(e,"-item-label"),O=l()(w,"left"===b&&"".concat(w,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var x=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,Oe({},g,{className:O}),r.createElement("label",{htmlFor:y||h||t.getId(),className:x,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)}}])&&xe(n.prototype,o),a&&xe(n,a),s}(r.Component);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 De(){return(De=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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(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",De({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ge}));var r=n("q1tI"),o=n.n(r),a=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),w=n("17x9"),O=n.n(w),E=n("TSYQ"),_=n.n(E),x=n("n1GQ"),j=n.n(x),S=n("VCL8"),k=37,C=38,P=39,N=40;function F(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function T(e,t){for(var n=F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function D(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function I(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 V(e,t,n,r,o){var a=D(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},G=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);G.propTypes={setRef:O.a.func,prevElement:O.a.object,nextElement:O.a.object};var K=G,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(K,{setRef:a,prevElement:t}),u=o.a.createElement(K,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},I(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function X(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:O.a.string,active:O.a.bool,style:O.a.any,destroyInactiveTabPane:O.a.bool,forceRender:O.a.bool,placeholder:O.a.node,rootPrefixCls:O.a.string,children:O.a.node,id:O.a.string},Y.defaultProps={placeholder:null};var Q=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:X(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(K,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(K,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),w=[];return"bottom"===a?w.push(g,v,b,y):w.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},I(m),{onScroll:this.onScroll}),w))}}],[{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=X(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===k||n===C){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-1?r[0].key:r[t+1].key)})),i}};Q.propTypes={destroyInactiveTabPane:O.a.bool,renderTabBar:O.a.func.isRequired,renderTabContent:O.a.func.isRequired,navWrapper:O.a.func,onChange:O.a.func,children:O.a.node,prefixCls:O.a.string,className:O.a.string,tabBarPosition:O.a.string,style:O.a.object,activeKey:O.a.string,defaultActiveKey:O.a.string,direction:O.a.string},Q.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},Q.TabPane=Z,Object(S.polyfill)(Q);var $=Q,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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=T(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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:O.a.bool,animatedWithMargin:O.a.bool,prefixCls:O.a.string,children:O.a.node,activeKey:O.a.string,style:O.a.any,tabBarPosition:O.a.string,className:O.a.string,destroyInactiveTabPane:O.a.bool,direction:O.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,a=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=T(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=D(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:O.a.string,styles:O.a.object,inkBarAnimated:O.a.bool,saveRef:O.a.func,direction:O.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,w="rtl"===p?"marginLeft":"marginRight",O=c()({},M(u)?"marginBottom":w,b);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:O},g),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:O.a.string,panels:O.a.node,prefixCls:O.a.string,tabBarGutter:O.a.number,onTabClick:O.a.func,saveRef:O.a.func,renderTabBarNode:O.a.func,tabBarPosition:O.a.string,direction:O.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,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},I(d)),g)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:O.a.string,className:O.a.string,style:O.a.object,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),children:O.a.node,extraContent:O.a.node,onKeyDown:O.a.func,saveRef:O.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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:O.a.string,getRef:O.a.func.isRequired,saveRef:O.a.func.isRequired,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),prefixCls:O.a.string,scrollAnimated:O.a.bool,onPrevClick:O.a.func,onNextClick:O.a.func,navWrapper:O.a.func,children:O.a.node,prevIcon:O.a.node,nextIcon:O.a.node,direction:O.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,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:O.a.func},ge.defaultProps={children:function(){return null}};var we=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 o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),Oe=we;we.propTypes={children:O.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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 ke(e,t){for(var n=0;n<t.length;n++){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 Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==je(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 Ne(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Ce(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Fe(t);if(Ne()){var r=Fe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return Se(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),w=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(w,Oe):r.createElement(Oe,w),r.cloneElement(t)}}])&&ke(n.prototype,o),a&&ke(n,a),l}(r.Component);Te.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=n("R3zJ");function De(){return(De=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 Ie(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ge=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),w=_()(s,(Ie(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Ie(n,"".concat(b,"-").concat(c),!!c),Ie(n,"".concat(b,"-card"),f.indexOf("card")>=0),Ie(n,"".concat(b,"-").concat(f),!0),Ie(n,"".concat(b,"-no-animation"),!g),n)),O=[];"editable-card"===f&&(O=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;O.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),x=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:b,className:w,tabBarPosition:p,renderTabBar:function(){return r.createElement(Te,De({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),O.length>0?O:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ge.TabPane=Z,Ge.defaultProps={hideAdd:!1,tabPosition:"top"}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=O(n("VXEj")),o=O(n("NJEC")),a=O(n("2/Rp")),i=O(n("NUBc")),l=O(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=O(u),p=n("eO8H"),d=O(n("vDqi")),m=O(n("AySf")),h=O(n("bIax")),y=n("sYIF"),v=O(n("LZ3y")),g=O(n("p7gc")),b=O(n("bjH3")),w=O(n("oYoh"));function O(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,O=t.attachment_clean,_=t.is_reply,x=t.reply_id,j=t.reply_content,S=t.orderId,k=t.new_journal_id,C=this.props,P=C.current_user,N=C.only_show_content,F=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?j: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:O,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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},T=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,_&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},F(_,t.id)):""),f.default.createElement(w.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:k},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},F(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,T(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},F(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,T(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),w=(g="[object Arguments]"==g?f:g)==f,O=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(E&&!w)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=w&&p.call(e,"__wrapped__"),x=O&&p.call(t,"__wrapped__");if(_||x){var j=_?e.value():e,S=x?t.value():t;return h||(h=new r),m(j,S,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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},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},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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},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&&h(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),O=n("CWQg"),E=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),x=n("g0mS");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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 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 N(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 F(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(F()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return k({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(S(t={},"".concat(u,"-").concat(l),c),S(t,"".concat(u,"-has-color"),l&&!c),S(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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(n.prototype,o),l&&C(n,l),f}(r.Component);M.CheckableTag=w,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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"))},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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 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 E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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 S(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},P=Object(u.a)("top","middle","bottom","stretch"),N=Object(u.a)("start","end","center","space-around","space-between"),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&&x(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=k(t);if(S()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=C(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((O(n={},y,!s),O(n,"".concat(y,"-").concat(s),s),O(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),O(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),b=w(w(w({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),E=w({},h);return delete E.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",w({},E,{className:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(o.Component);F.defaultProps={gutter:0},F.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=x(String.prototype.toLowerCase),v=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),w=x(String.prototype.trim),O=x(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function x(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 j(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 o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function k(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var C=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"]),P=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"]),F=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"]),T=o(["#text"]),A=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"]),R=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"]),M=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"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),I=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 G=function(){return"undefined"==typeof window?null:window},K=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:G(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,X=t.Text,Q=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=K($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=k(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=I,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=S({},[].concat(W(C),W(P),W(N),W(F),W(T))),we=null,Oe=S({},[].concat(W(A),W(R),W(M),W(D))),Ee=null,_e=null,xe=!0,je=!0,Se=!1,ke=!1,Ce=!1,Pe=!1,Ne=!1,Fe=!1,Te=!1,Ae=!1,Re=!1,Me=!1,De=!0,Ie=!0,Le=!1,Ve={},qe=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"]),Ue=null,ze=S({},["audio","video","img","source","image","track"]),Be=null,He=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ge=l.createElement("form"),Ke=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=k(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,we="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):Oe,Be="ADD_URI_SAFE_ATTR"in e?S(k(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?S(k(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=e.SAFE_FOR_JQUERY||!1,Ce=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Te=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Fe=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Ce&&(je=!1),Ae&&(Te=!0),Ve&&(ge=S({},[].concat(W(T))),we=[],!0===Ve.html&&(S(ge,C),S(we,A)),!0===Ve.svg&&(S(ge,P),S(we,R),S(we,D)),!0===Ve.svgFilters&&(S(ge,N),S(we,R),S(we,D)),!0===Ve.mathMl&&(S(ge,F),S(we,M),S(we,D))),e.ADD_TAGS&&(ge===be&&(ge=k(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(we===Oe&&(we=k(we)),S(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Be,e.ADD_URI_SAFE_ATTR),Ie&&(ge["#text"]=!0),Pe&&S(ge,["html","head","body"]),ge.table&&(S(ge,["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}},Ze=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)},Xe=function(e){var t=void 0,n=void 0;if(Fe)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(i&&S(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Xe("<x/><title></title><img>");O(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Qe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof X||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":H(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(Ie&&!qe[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&&O(/<\/noscript/i,e.innerHTML)||"noembed"===r&&O(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!ke||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!O(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),Ce&&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(De&&("id"===t||"name"===t)&&(n in l||n in Ge))return!1;if(je&&O(de,t));else if(xe&&O(me,t));else{if(!we[t]||_e[t])return!1;if(Be[t]);else if(O(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Se&&!O(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:we};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=w(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(we[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(ke&&O(/\/>/i,o))Ze(m,e);else if(O(/svg|math/i,e.namespaceURI)&&O(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{Ce&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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=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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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||Ke(r),n.removed=[],"string"==typeof e&&(Le=!1),Le);else if(e instanceof x)1===(i=(o=Xe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Te&&!Ce&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Xe(e)))return Te?null:ne}o&&Fe&&Ye(o.firstChild);for(var f=Qe(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(Te){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return Ce&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?te.createHTML(p):p},n.setConfig=function(e){Ke(e),Ne=!0},n.clearConfig=function(){We=null,Ne=!1},n.isValidAttribute=function(e,t,n){We||Ke({});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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/24.e04ba5af.chunk.js b/static/js/24.e04ba5af.chunk.js new file mode 100644 index 000000000..35412d10a --- /dev/null +++ b/static/js/24.e04ba5af.chunk.js @@ -0,0 +1,2 @@ +/*! For license information please see 24.e04ba5af.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[24,4,10,13,14],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+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=i,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],i=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){for(var l=String(o).replace(a,(function(e){if("%%"===e)return"%";if(r>=i)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<i;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 a=Object.keys(e),s=a.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:i(u)}):t()};a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?l(r,n,p):function(e,t,n){var r=[],o=0,a=e.length;function i(e){r.push.apply(r,e),++o===a&&n(r)}e.forEach((function(e){t(e,i)}))}(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 a=t[n];"object"===(void 0===a?"undefined":o(a))&&"object"===o(e[n])?e[n]=r({},e[n],a):e[n]=a}return e};var a=/%[sdj%]/g;t.warning=function(){};function i(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 a(i){if(i&&i.length)n(i);else{var l=r;r+=1,l<o?t(e[l],a):n([])}}([])}},"/kpp":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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,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 v(){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 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 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},w=o.oneOfType([o.object,o.number]),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)}(O,e);var t,n,o,a,w=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(){var e;return p(this,O),(e=w.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,a=y(e).props,s=a.prefixCls,p=a.span,d=a.order,m=a.offset,h=a.push,v=a.pull,g=a.className,w=a.children,O=b(a,["prefixCls","span","order","offset","push","pull","className","children"]),E=o("col",s),_={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,n={},r=a[e];"number"==typeof r?n.span=r:"object"===f(r)&&(n=r||{}),delete O[e],_=u(u({},_),(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 x=i()(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(v),v),n),g,_);return r.createElement(l.a.Consumer,null,(function(e){var t=e.gutter,n=O.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({},O,{style:n,className:x}),w)}))},e}return n=O,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&d(n.prototype,o),a&&d(n,a),O}(r.Component);O.propTypes={span:o.number,order:o.number,offset:o.number,push:o.number,pull:o.number,className:o.string,children:o.node,xs:w,sm:w,md:w,lg:w,xl:w,xxl:w}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2NuI":function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,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,a,i,l],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"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},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;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 i=u(n);f&&(i=i.concat(f(n)));for(var l=s(t),h=s(n),y=0;y<i.length;++y){var v=i[y];if(!(a[v]||r&&r[v]||h&&h[v]||l&&l[v])){var g=p(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),a=n("Z0cm"),i=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)&&i(p,u)&&(a(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"74dF":function(e,t,n){},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=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),w=n("TSYQ"),O=n.n(w);function E(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function _(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 x=+new Date,j=0;function S(){return"rc-upload-"+x+"-"+ ++j}var k=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var C=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,a=!1,i=void 0;try{for(var l,s=e[Symbol.iterator]();!(o=(l=s.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&s.return&&s.return()}finally{if(a)throw i}}},P=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)C(e.dataTransfer.items,r.uploadFiles,(function(e){return k(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return k(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},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,a=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||_;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:a?function(t){a(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: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,a=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=O()((e={},b()(e,r,!0),b()(e,r+"-disabled",i),b()(e,a,a),e)),y=i?{}:{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);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 N=P,F=n("i8i4"),T=n.n(F),A=n("2W6z"),R=n.n(A),M={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},D=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,n)}catch(e){R()(!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: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 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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var s=document.createElement("input");s.setAttribute("name",l),s.value=o[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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,s=t.children,c=t.style,u=l()({},M,{display:this.state.uploading||r?"none":""}),f=O()((e={},b()(e,i,!0),b()(e,i+"-disabled",r),b()(e,a,a),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);D.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 I=D;function L(){}var V=function(e){function t(){var e,n,r,o;c()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},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:I}},{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);V.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},V.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 q=V,U=n("qPyV"),z=n.n(U),B=n("UfWW"),H=n.n(B),W=n("MFj2");function G(){return(G=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){return G(G({},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 Z=function(e){return!!e&&0===e.indexOf("image/")},X=function(e){if(Z(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 Q=n("CtXQ"),J=n("3S7+"),$=n("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(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=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(s,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},se=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,s=e.strokeColor,c=e.strokeLinecap,u=e.children;t=s&&"string"!=typeof s?le(s):{background:s};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===c?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var he=function(e){return function(e){function t(){return ce(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&me(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ye={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ve=v.a.oneOfType([v.a.number,v.a.string]),ge={className:v.a.string,percent:v.a.oneOfType([ve,v.a.arrayOf(ve)]),prefixCls:v.a.string,strokeColor:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.oneOfType([v.a.string,v.a.object])),v.a.object]),strokeLinecap:v.a.oneOf(["butt","round","square"]),strokeWidth:ve,style:v.a.object,trailColor:v.a.string,trailWidth:ve};function be(){return(be=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 we(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 Oe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?je(e):t}function xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=function(e){function t(){var e,n;Oe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return ke(je(n=_e(this,(e=xe(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Se(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,s=t.strokeWidth,c=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=we(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,g="M ".concat("round"===l?y:0,",").concat(y,"\n L ").concat("round"===l?v:100,",").concat(y),b="0 0 100 ".concat(s),w=0;return o.a.createElement("svg",be({className:"".concat(a,"-line ").concat(n),viewBox:b,preserveAspectRatio:"none",style:c},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:g,strokeLinecap:l,stroke:u,strokeWidth:f||s,fillOpacity:"0"}),m.map((function(t,n){var r={strokeDasharray:"".concat(t,"px, 100px"),strokeDashoffset:"-".concat(w,"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 w+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:g,strokeLinecap:l,stroke:i,strokeWidth:s,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&Ee(n.prototype,r),a&&Ee(n,a),t}(r.Component);Ce.propTypes=ge,Ce.defaultProps=ye;he(Ce);function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(){return(Fe=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 Te(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 Ae(e,t){for(var n=0;n<t.length;n++){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){return(Re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=0;function Ve(e){return+e.replace("%","")}function qe(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,s=-i,c=0,u=-2*i;switch(a){case"left":l=-i,s=0,c=2*i,u=0;break;case"right":l=i,s=0,c=-2*i,u=0;break;case"bottom":s=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(s,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(c,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-c,",").concat(u),p=2*Math.PI*i,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 ze=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Re(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Me(n):r,Ie(Me(e),"paths",{}),Ie(Me(e),"gradientId",0),e.gradientId=Le,Le+=1,e}var n,r,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&&De(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,s=t.gapDegree,c=t.gapPosition,u=qe(r),f=qe(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,s,c),m=d.pathString,h=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:m,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,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,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,s=e.strokeLinecap,c=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),m=d.pathString,h=d.pathStyle;delete p.percent;var y=qe(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Fe({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:c},p),y&&o.a.createElement("defs",null,o.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 Ve(e)-Ve(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:y[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:m,stroke:l,strokeLinecap:s,strokeWidth:r||n,fillOpacity:"0",style:h}),this.getStokeList().reverse())}}])&&Ae(n.prototype,r),a&&Ae(n,a),t}(r.Component);ze.propTypes=Ne({},ge,{gapPosition:v.a.oneOf(["top","bottom","left","right"])}),ze.defaultProps=Ne({},ye,{gapPosition:"top"});var Be=he(ze);var He={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function We(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var Ge=function(e){var t,n,o,a,i,l,s,c=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,m=e.gapPosition,h=e.gapDegree,y=e.type,v=e.children,g=u||120,b={width:g,height:g,fontSize:.15*g+6},w=f||6,E=m||"dashboard"===y&&"bottom"||"top",_=h||("dashboard"===y?75:void 0),x=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||He[n],o?[He.success,a]:a),j="[object Object]"===Object.prototype.toString.call(x),S=O()("".concat(c,"-inner"),(i={},l="".concat(c,"-circle-gradient"),s=j,l in i?Object.defineProperty(i,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[l]=s,i));return r.createElement("div",{className:S,style:b},r.createElement(Be,{percent:We(e),strokeWidth:w,trailWidth:w,strokeColor:x,strokeLinecap:d,trailColor:p,prefixCls:c,gapDegree:_,gapPosition:E}),v)};function Ke(e){return(Ke="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 Ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==Ke(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Xe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,s=i.className,c=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),m=e.getProgressStatus(),h=e.renderProcessInfo(d,m);"line"===u?o=r.createElement(se,Ze({},e.props,{prefixCls:d}),h):"circle"!==u&&"dashboard"!==u||(o=r.createElement(Ge,Ze({},e.props,{prefixCls:d,progressStatus:m}),h));var y=O()(d,(Ye(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ye(n,"".concat(d,"-status-").concat(m),!0),Ye(n,"".concat(d,"-show-info"),f),Ye(n,"".concat(d,"-").concat(c),c),n),s);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:y}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,s=o.percent,c=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(s),ne(c)):"exception"===t?n=r.createElement(Q.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(Q.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Qe(n.prototype,o),a&&Qe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:y.oneOf(at),type:y.oneOf(ot),showInfo:y.bool,percent:y.number,width:y.number,strokeWidth:y.number,strokeLinecap:y.oneOf(["round","square"]),strokeColor:y.oneOfType([y.string,y.object]),trailColor:y.string,format:y.func,gapDegree:y.number};var lt=it;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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mt(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 ht(){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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var vt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=yt(t);if(ht()){var r=yt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return mt(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,s=void 0===l?[]:l,c=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,m=a.progressAttr,h=o("upload",i),y=s.map((function(t){var n,o,a,i=r.createElement(Q.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=X(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(h,"-list-item-image")}):r.createElement(Q.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(Q.default,{className:"".concat(h,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var s="percent"in t?r.createElement(lt,ut({type:"line"},m,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(h,"-list-item-progress"),key:"progress"},s)}var y,v=O()((ct(n={},"".concat(h,"-list-item"),!0),ct(n,"".concat(h,"-list-item-").concat(t.status),!0),ct(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(Q.default,{type:"delete",title:d.removeFile,onClick:function(){return e.handleClose(t)}}):null,w=p&&"done"===t.status?r.createElement(Q.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":"")},w&&r.createElement("a",{title:d.downloadFile},w),b&&r.createElement("a",{title:d.removeFile},b)),_=O()((ct(o={},"".concat(h,"-list-item-name"),!0),ct(o,"".concat(h,"-list-item-name-icon-count-").concat([w,b].filter((function(e){return e})).length),!0),o)),x=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:_,title:t.name},g,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),E]:[r.createElement("span",{key:"view",className:_,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),E],j=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(Q.default,{type:"eye-o"})):null,S="picture-card"===c&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(h,"-list-item-actions")},j,"done"===t.status&&w,b);y=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var k=r.createElement("span",null,i,x),C=r.createElement("div",{className:v},r.createElement("div",{className:"".concat(h,"-list-item-info")},k),S,r.createElement(W.a,{transitionName:"fade",component:""},a)),P=O()(ct({},"".concat(h,"-list-picture-card-container"),"picture-card"===c));return r.createElement("div",{key:t.uid,className:P},"error"===t.status?r.createElement(J.default,{title:y},C):r.createElement("span",null,C))})),v=O()((ct(n={},"".concat(h,"-list"),!0),ct(n,"".concat(h,"-list-").concat(c),!0),n)),g="picture-card"===c?"animate-inline":"animate";return r.createElement(W.a,{transitionName:"".concat(h,"-").concat(g),component:"div",className:v},y)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);vt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,s=0,c=0;e<a?c=-((l=a*(200/e))-i)/2:s=-((i=e*(200/a))-l)/2,r.drawImage(o,s,c,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var gt=n("YMnH"),bt=n("ZvpZ"),wt=n("6CfX");function Ot(e){return(Ot="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 Et(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(){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 xt(e,t){for(var n=0;n<t.length;n++){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 jt(e,t){return(jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function St(e,t){return!t||"object"!==Ot(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 kt(){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 Ct(e){return(Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Pt=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&&jt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Ct(t);if(kt()){var r=Ct(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return St(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=K(e);r.status="uploading";var o=n.concat(),a=H()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=Y(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:_t({},a),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:_t({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=Y(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:_t({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:z()(o.concat(n.map(K)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=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(vt,{listType:a,items:m,previewFile:s,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!c&&f,showPreviewIcon:p,showDownloadIcon:d,locale:_t(_t({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,s=a.showUploadList,c=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,m=t.state,h=m.fileList,y=m.dragState,v=o("upload",i),g=_t(_t({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;var b=s?r.createElement(gt.a,{componentName:"Upload",defaultLocale:bt.a.Upload},t.renderUploadList):null;if("drag"===u){var w,E=O()(v,(Et(w={},"".concat(v,"-drag"),!0),Et(w,"".concat(v,"-drag-uploading"),h.some((function(e){return"uploading"===e.status}))),Et(w,"".concat(v,"-drag-hover"),"dragover"===y),Et(w,"".concat(v,"-disabled"),f),w),l);return r.createElement("span",null,r.createElement("div",{className:E,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(q,_t({},g,{ref:t.saveUpload,className:"".concat(v,"-btn")}),r.createElement("div",{className:"".concat(v,"-drag-container")},p))),b)}var _=O()(v,(Et(n={},"".concat(v,"-select"),!0),Et(n,"".concat(v,"-select-").concat(c),!0),Et(n,"".concat(v,"-disabled"),f),n));p&&!f||delete g.id;var x=r.createElement("div",{className:_,style:p?void 0:{display:"none"}},r.createElement(q,_t({},g,{ref:t.saveUpload})));return"picture-card"===c?r.createElement("span",{className:O()(l,"".concat(v,"-picture-card-wrapper"))},b,x):r.createElement("span",{className:l},x,b)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(wt.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&xt(n.prototype,o),a&&xt(n,a),l}(r.Component);Pt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(Pt);var Nt=Pt;function Ft(e){return(Ft="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 Tt(){return(Tt=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 At(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t){for(var n=0;n<t.length;n++){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 Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Dt(e,t){return!t||"object"!==Ft(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 It(){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 Lt(e){return(Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Vt=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&&Mt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Lt(t);if(It()){var r=Lt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Dt(this,e)});function l(){return At(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Nt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&Rt(n.prototype,o),a&&Rt(n,a),l}(r.Component);Nt.Dragger=Vt;t.default=Nt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return 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,a){(/^\s+$/.test(t)||""===t)&&o.push(r.format(a.messages.whitespace,e.fullField))}},AUBz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("OQrj")},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),s=f(l),c=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,c.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";u.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,c.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,c.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(p,a({},i,{className:this.props.className}),n||s.default.createElement(r.default,{type:"inbox"}),s.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",s.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},Ejpc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},EtQh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("+kn0"),a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,o.isEmptyValue)(t)&&!e.required)return n();i.default.required(e,t,r,l,a),void 0!==t&&i.default.type(e,t,r,l,a)}n(l)}},FZoo:function(e,t,n){var r=n("MrPd"),o=n("4uTw"),a=n("wJg7"),i=n("GoyQ"),l=n("9Nap");e.exports=function(e,t,n,s){if(!i(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=i(h)?h:a(t[c+1])?[]:{})}r(p,d,m),p=p[d]}return e}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),s=n("IOzZ"),c=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?s(c(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},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,a){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&o.push(r.format(a.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")),a=c(n("oEMi")),i=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:a.default,range:i.default,enum:l.default,pattern:s.default}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),s=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var m=1&r;if(d||(d=s),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;r|=2,p.set(e,t);var y=i(d(e),d(t),r,c,f,p);return p.delete(e),y;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOVM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t)||a.default.type(e,t,r,l,o)}n(l)}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},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++);}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},"KM+8":function(e,t,n){},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L2wI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o),(0,i.isEmptyValue)(t,"string")||a.default.pattern(e,t,r,l,o)}n(l)}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=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=a;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")},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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(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)),i?s.default.createElement(a.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},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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,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 v(){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 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 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},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)}(w,e);var t,n,o,i,f=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),(t=f.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 o=t.props,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=b(o,["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(a.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 n=w,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),w}(r.Component);w.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(w),t.default=w},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},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){},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),s=n("NykK"),c=n("3Fdi"),u=c(r),f=c(o),p=c(a),d=c(i),m=c(l),h=s;(r&&"[object DataView]"!=h(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=h(new o)||a&&"[object Promise]"!=h(a.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(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},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"],a=[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,o){if(n){var a={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:n,spans:null,basePos:t,decorations:null};r(a),o.push.apply(o,a.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),a=[],i={},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;i.hasOwnProperty(d)||(a.push(p),i[d]=null)}a.push(/[\0-\uffff]/),n=function(e){for(var t=0,n=!1,r=!1,o=0,a=e.length;o<a;++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 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],o=["["];r&&o.push("^");for(var a=r?1:0,i=t.length;a<i;++a){var c=t[a];if(/\\[bdsw]/i.test(c))o.push(c);else{var u,f=l(c);a+2<i&&"-"===t[a+1]?(u=l(t[a+2]),a+=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(a=0;a<n.length;++a){(m=n[a])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):p.push(d=m)}for(a=0;a<p.length;++a){var m=p[a];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,a=[],i=0,l=0;i<o;++i){if("("===(f=r[i]))++l;else if("\\"===f.charAt(0)){(u=+f.substring(1))&&(u<=l?a[u]=-1:r[i]=s(u))}}for(i=1;i<a.length;++i)-1===a[i]&&(a[i]=++t);for(i=0,l=0;i<o;++i){if("("===(f=r[i]))a[++l]||(r[i]="(?:");else if("\\"===f.charAt(0)){var u;(u=+f.substring(1))&&u<=l&&(r[i]="\\"+a[u])}}for(i=0;i<o;++i)"^"===r[i]&&"^"!==r[i+1]&&(r[i]="");if(e.ignoreCase&&n)for(i=0;i<o;++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(o=0,a=e.length;o<a;++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")}(a)}();var o=t.length,a=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 w=r[v.charAt(0)];if(w)b=v.match(w[1]),g=w[0];else{for(var E=0;E<o;++E)if(w=t[E],b=v.match(w[1])){g=w[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 _=u;if(u+=v.length,y){var x=b[1],j=v.indexOf(x),S=j+x.length;b[2]&&(j=(S=v.length-b[2].length)-x.length);var k=g.substring(5);p(s,l+_,v.substring(0,j),a,c),p(s,l+_+j,x,O(k,x),c),p(s,l+_+S,v.substring(S),a,c)}else c.push(l+_,g)}e.decorations=c};return a}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 a=o>1?"":"\n\r",i=a?".":"[\\S\\s]",l="/(?=[^/*"+a+"])(?:[^/\\x5B\\x5C"+a+"]|\\x5C"+i+"|\\x5B(?:[^\\x5C\\x5D"+a+"]|\\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,a,o,i,l,s,c,u],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function g(e,t,n){for(var r=/(?:^|\s)nocode(?:\s|$)/,o=/\r\n?|\n/,a=e.ownerDocument,i=a.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(o);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(a.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 a=e(o,1),i=t.nextSibling;a.appendChild(r);for(var l=i;l;l=i)i=l.nextSibling,a.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=a.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(a.createTextNode(" ")),f.appendChild(i);e.appendChild(f)}var b={};function w(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 O(e,t){return e&&b.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),b[e]}function E(t){var n,r,o,a,i,l,s,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,a=[],i=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||(a[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," "),a[s]=f,l[s<<1]=i,i+=f.length,l[s++<<1|1]=t)}}(n),{sourceCode:a.join("").replace(/\n$/,""),spans:l}),f=u.sourceCode;t.sourceCode=f,t.spans=u.spans,t.basePos=0,O(c,f)(t),function(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var n,r,o=/\n/g,a=e.sourceCode,i=a.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,w=s[u+2]||i,O=f[d+2]||i,E=(y=Math.min(w,O),s[u+1]);if(1!==E.nodeType&&(b=a.substring(l,y))){t&&(b=b.replace(o,"\r")),E.nodeValue=b;var _=E.ownerDocument,x=_.createElement("span");x.className=f[d+1];var j=E.parentNode;j.replaceChild(x,E),x.appendChild(E),l<w&&(s[u+1]=E=_.createTextNode(a.substring(y,w)),j.insertBefore(E,x.nextSibling))}(l=y)>=w&&(u+=2),l>=O&&(d+=2)}}finally{v&&(v.style.display=g)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function _(e,t,n){var r=n||!1,o=t||null,a=document.createElement("div");return a.innerHTML="<pre>"+e+"</pre>",a=a.firstChild,r&&g(a,r,!0),E({langExtension:o,numberLines:r,sourceNode:a,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null}),a.innerHTML}function x(t,n){var r=n||document.body,o=r.ownerDocument||document;function a(e){return r.getElementsByTagName(e)}for(var i=[a("pre"),a("code"),a("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,w=/^(?:pre|code|xmp)$/i,O={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?f.now()+250:1/0;p<l.length&&f.now()<r;p++){for(var a=l[p],i=O,s=a;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 _=a.className;if((i!==O||h.test(_))&&!y.test(_)){for(var x=!1,j=a.parentNode;j;j=j.parentNode){var S=j.tagName;if(w.test(S)&&j.className&&h.test(j.className)){x=!0;break}}if(!x){a.className+=" prettyprinted";var k,C,P=i.lang;if(!P)!(P=_.match(d))&&(k=m(a))&&b.test(k.tagName)&&(P=k.className.match(d)),P&&(P=P[1]);if(v.test(a.tagName))C=1;else{var N=a.currentStyle,F=o.defaultView,T=N?N.whiteSpace:F&&F.getComputedStyle?F.getComputedStyle(a,null).getPropertyValue("white-space"):0;C=T&&"pre"===T.substring(0,3)}var A=i.linenums;(A="true"===A||+A)||(A=!!(A=_.match(/\blinenums\b(?::(\d+))?/))&&(!A[1]||!A[1].length||+A[1])),A&&g(a,A,C),E({langExtension:P,sourceNode:a,numberLines:A,pre:C,sourceCode:null,basePos:null,spans:null,decorations:null})}}}p<l.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}w(v,["default-code"]),w(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"]),w(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"]),w(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),w(y({keywords:r,hashComments:!0,cStyleComments:!0,types:f}),["c","cc","cpp","cxx","cyc","m"]),w(y({keywords:"null,true,false"}),["json"]),w(y({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:f}),["cs"]),w(y({keywords:o,cStyleComments:!0}),["java"]),w(y({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),w(y({keywords:s,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),w(y({keywords:l,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),w(y({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),w(y({keywords:i,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),w(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"]),w(h([],[["str",/^[\s\S]+/]]),["regex"]);var j=e.PR={createSimpleLexer:h,registerLangHandler:w,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:_,prettyPrint:x},S=e.define;"function"==typeof S&&S.amd&&S("google-code-prettify",[],(function(){return j}))}()},SqvK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("Vl3Y")),o=v(n("W9HT")),a=v(n("NJEC")),i=v(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=v(c),f=n("eO8H"),p=v(n("vDqi")),d=n("sYIF"),m=v(n("LZ3y")),h=v(n("bjH3")),y=v(n("dIAb"));function v(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,o="/"+e.owner+"/"+t+"/issues/"+r+".json";p.default.get(o).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,o=t.orderId,a=t.owner,i="/"+a+"/"+r+"/issues/"+o+".json";p.default.delete(i,{data:{project_id:r,id:e}}).then((function(e){e&&n.props.history.push("/projects/"+a+"/"+r+"/issues")})).catch((function(e){console.log(e)}))},n.closedetail=function(e){var t=n.props.match.params,r=t.projectsId,o=t.orderId,a="/"+t.owner+"/"+r+"/issues/"+o+"/close_issue.json";p.default.post(a,{project_id:r,id:o,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,o=e.owner,a="/"+o+"/"+t+"/issues/"+r+"/copy.json";p.default.post(a,{project_id:t,id:r}).then((function(e){e&&n.props.history.push("/projects/"+o+"/"+t+"/issues/"+e.data.issue_id+"/copyetail")})).catch((function(e){console.log(e)}))},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,v=p.isSpins;return u.default.createElement(o.default,{spinning:v},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:"/users/"+(h&&h.author_login),className:"show-user-link"},u.default.createElement("img",{className:"user_img",src:(0,d.getImageUrl)("images/"+(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:"/users/"+(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"},u.default.createElement("a",{className:"color-blue fr",onClick:this.copydetail},"复制"),u.default.createElement(a.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:"/projects/"+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(y.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}},TZyB:function(e,t,n){},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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)}),[]),a.default.createElement(i.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},a=n("Gv54"),i=(r=a)&&r.__esModule?r:{default:r};t.default=function(e,t,n,r,a){var l=[],s=Array.isArray(t)?"array":void 0===t?"undefined":o(t);i.default.required(e,t,r,l,a,s),n(l)}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=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:a(n);return s<0&&(s=i(l+s,0)),r(e,o(t,3),s)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VXEj:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return I}));var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 O(e){return(O=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 _=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 x(e,t){return e[t]&&Math.floor(24/e[t])}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&&g(e,t)}(s,e);var t,n,o,a,l=(t=s,function(){var e,n=O(t);if(w()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return y(this,s),(e=l.apply(this,arguments)).renderItem=function(t){var n=t.getPrefixCls,o=e.context,a=o.grid,l=o.itemLayout,s=e.props,c=s.prefixCls,u=s.children,f=s.actions,m=s.extra,y=s.className,v=_(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")}))}))),w=a?"div":"li",O=r.createElement(w,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 a?r.createElement(p.a,{span:x(a,"column"),xs:x(a,"xs"),sm:x(a,"sm"),md:x(a,"md"),lg:x(a,"lg"),xl:x(a,"xl"),xxl:x(a,"xxl")},O):O},e}return n=s,(o=[{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(n.prototype,o),a&&v(n,a),s}(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 k(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(n);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 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 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 T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(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 R(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}j.Meta=function(e){return r.createElement(c.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,a=e.className,l=e.avatar,s=e.title,c=e.description,u=_(e,["prefixCls","className","avatar","title","description"]),f=n("list",o),p=i()("".concat(f,"-item-meta"),a),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)}))},j.contextTypes={grid:o.any,itemLayout:o.string};var D=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},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&&T(e,t)}(d,e);var t,n,o,a,p=(t=d,function(){var e,n=M(t);if(R()){var r=M(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function d(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=p.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,a=o.renderItem,i=o.rowKey;return a?((r="function"==typeof i?i(e):"string"==typeof i?e[i]:e.key)||(r="list-item-".concat(n)),t.keys[n]=r,a(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,a=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,w=m.itemLayout,O=m.loadMore,E=m.pagination,_=m.grid,x=m.dataSource,j=void 0===x?[]:x,S=m.size,C=m.header,F=m.footer,T=m.loading,A=D(m,["prefixCls","bordered","split","className","children","itemLayout","loadMore","pagination","grid","dataSource","size","header","footer","loading"]),R=o("list",h),M=T;"boolean"==typeof M&&(M={spinning:M});var I=M&&M.spinning,L="";switch(S){case"large":L="lg";break;case"small":L="sm"}var V=i()(R,g,(N(n={},"".concat(R,"-vertical"),"vertical"===w),N(n,"".concat(R,"-").concat(L),L),N(n,"".concat(R,"-split"),v),N(n,"".concat(R,"-bordered"),y),N(n,"".concat(R,"-loading"),I),N(n,"".concat(R,"-grid"),_),N(n,"".concat(R,"-something-after-last-item"),t.isSomethingAfterLastItem()),n)),q=P(P(P({},t.defaultPaginationProps),{total:j.length,current:p,pageSize:d}),E||{}),U=Math.ceil(q.total/q.pageSize);q.current>U&&(q.current=U);var z,B=E?r.createElement("div",{className:"".concat(R,"-pagination")},r.createElement(u.default,P({},q,{onChange:t.onPaginationChange,onShowSizeChange:t.onPaginationShowSizeChange}))):null,H=k(j);if(E&&j.length>(q.current-1)*q.pageSize&&(H=k(j).splice((q.current-1)*q.pageSize,q.pageSize)),z=I&&r.createElement("div",{style:{minHeight:53}}),H.length>0){var W=H.map((function(e,n){return t.renderItem(e,n)})),G=[];r.Children.forEach(W,(function(e,n){G.push(r.cloneElement(e,{key:t.keys[n]}))})),z=_?r.createElement(f.a,{gutter:_.gutter},G):r.createElement("ul",{className:"".concat(R,"-items")},G)}else b||I||(z=t.renderEmpty(R,a));var K=q.position||"bottom";return r.createElement("div",P({className:V},Object(l.a)(A,["rowKey","renderItem","locale"])),("top"===K||"both"===K)&&B,C&&r.createElement("div",{className:"".concat(R,"-header")},C),r.createElement(s.default,M,z,b),F&&r.createElement("div",{className:"".concat(R,"-footer")},F),O||("bottom"===K||"both"===K)&&B)};var n=e.pagination,o=n&&"object"===S(n)?n:{};return t.state={paginationCurrent:o.defaultCurrent||1,paginationSize:o.defaultPageSize||10},t}return n=d,(o=[{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)}}])&&F(n.prototype,o),a&&F(n,a),d}(r.Component);I.Item=j,I.childContextTypes={grid:o.any,itemLayout:o.string},I.defaultProps={dataSource:[],bordered:!1,split:!0,loading:!1,pagination:!1}},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},Vl3Y:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),i=n("TSYQ"),l=n.n(i),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),g=n("YEIV"),b=n.n(g),w=n("m1cH"),O=n.n(w),E=n("fhzG"),_=n.n(E),x=n("aGtg"),j=n("oV5b"),S=n.n(j),k=n("2W6z"),C=n.n(k),P=n("mwIZ"),N=n.n(P),F=n("D1y2"),T=n.n(F),A=n("ljhN"),R=n.n(A),M=n("iCc5"),D=n.n(M),I=n("V7oC"),L=n.n(I),V=function e(t){D()(this,e),c()(this,t)};function q(e){return e instanceof V}function U(e){return q(e)?e:new V(e)}var z=n("2mql"),B=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,B()(e,t)}function W(e){return e}function G(e){return Array.prototype.concat.apply([],e)}function K(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],a=arguments[4];if(r(t,n))a(t,n);else if(null==n);else if(Array.isArray(n))n.forEach((function(n,i){return e(t+"["+i+"]",n,r,o,a)}));else{if("object"!=typeof n)return void C()(!1,o);Object.keys(n).forEach((function(i){var l=n[i];e(t+(t?".":"")+i,l,r,o,a)}))}}(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 Z(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 X(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function Q(e,t,n){var r=e,o=t,a=n;return void 0===n&&("function"==typeof r?(a=r,o={},r=void 0):Array.isArray(r)?"function"==typeof o?(a=o,o={}):o=o||{}:(a=o,o=r||{},r=void 0)),{names:r,options:o,callback:a}}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 K(e,(function(e,t){return q(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){D()(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 K(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],a=t.getFieldMeta(e);if(a&&a.normalize){var i=a.normalize(n,t.getValueFromFields(e,t.fields),o);i!==n&&(r[e]=c()({},r[e],{value:i}))}})),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),a="value"in o?o.value:e.initialValue;return n?n(a):b()({},r,a)}},{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 T()(e,t.name,U(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return T()(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 T()(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 T()(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 T()(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 ae=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,a=e.onValuesChange,i=e.mapProps,l=void 0===i?W:i,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 i=_()({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,O()(n));else if(r.originalProps&&r.originalProps[t]){var o;(o=r.originalProps)[t].apply(o,O()(n))}var i=r.getValueFromEvent?r.getValueFromEvent.apply(r,O()(n)):X.apply(void 0,O()(n));if(a&&i!==this.fieldsStore.getFieldValue(e)){var l=this.fieldsStore.getAllValues(),s={};l[e]=i,Object.keys(l).forEach((function(e){return T()(s,e,l[e])})),a(c()(b()({},m,this.getForm()),this.props),T()({},e,i),s)}var u=this.fieldsStore.getField(e);return{name:e,field:c()({},u,{value:i,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 a=this.onCollectCommon(e,t,r),i=a.name,l=a.field,s=a.fieldMeta,u=s.validate;this.fieldsStore.setFieldsAsDirty();var f=c()({},l,{dirty:$(u)});this.setFields(b()({},i,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 a=this.onCollectCommon(e,t,r),i=a.field,l=a.fieldMeta,s=c()({},i,{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 a=n.fieldsStore.getFieldMeta(e),i=t.props;return a.originalProps=i,a.ref=t.ref,o.a.cloneElement(t,c()({},r,n.fieldsStore.getFieldValuePropValue(a)))}},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,a=r.trigger,i=r.validateTrigger,l=void 0===i?a:i,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=Z(y);v.forEach((function(n){m[n]||(m[n]=t.getCacheBind(e,n,t.onCollectValidate))})),a&&-1===v.indexOf(a)&&(m[a]=this.getCacheBind(e,a,this.onCollect));var g=c()({},d,r,{validate:y});return this.fieldsStore.setFieldMeta(e,g),f&&(m[f]=g),p&&(m[p]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,m},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return G(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 a=Object.keys(o).reduce((function(e,t){return T()(e,t,n.fieldsStore.getField(t))}),{});r(c()(b()({},m,this.getForm()),this.props),a,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),a){var i=this.fieldsStore.getAllValues();a(c()(b()({},m,this.getForm()),this.props),e,i)}},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 a=o.ref;if(a){if("string"==typeof a)throw new Error("can not set ref string for "+e);"function"==typeof a?a(n):Object.prototype.hasOwnProperty.call(a,"current")&&(a.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(b()({},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,a=t.fieldNames,i=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,i),f[t]=r.value,p[t]=r}else e.errors&&T()(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(a));else{var m=new S.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))&&T()(t,r,{errors:[]}),N()(t,r.concat(".errors")).push(e)}));var n=[],i={};Object.keys(u).forEach((function(e){var r=N()(t,e),a=o.fieldsStore.getField(e);R()(a.value,f[e])?(a.errors=r&&r.errors,a.value=f[e],a.validating=!1,a.dirty=!1,i[e]=a):n.push({name:e})})),o.setFields(i),r&&(n.length&&n.forEach((function(e){var n=e.name,r=[{message:n+" need to revalidate",field:n}];T()(t,n,{expired:!0,errors:r})})),r(J(t)?null:t,o.fieldsStore.getFieldsValue(a)))}))}},validateFields:function(e,t,n){var r=this,o=new Promise((function(o,a){var i=Q(e,t,n),l=i.names,s=i.options,c=Q(e,t,n).callback;if(!c||"function"==typeof c){var u=c;c=function(e,t){u&&u(e,t),e?a({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"]),a=b()({},m,this.getForm());y?a.ref="wrappedComponent":n&&(a.ref=n);var i=l.call(this,c()({},a,r));return o.a.createElement(e,i)}});return H(Object(x.a)(i),e)}},ie={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()({},ie.getForm.call(this),{validateFieldsAndScroll:this.validateFieldsAndScroll})},validateFieldsAndScroll:function(e,t,n){var r=this,o=Q(e,t,n),a=o.names,i=o.callback,l=o.options;return this.validateFields(a,l,(function(e,t){if(e){var n=r.fieldsStore.getValidFieldsName(),o=void 0,a=void 0;if(n.forEach((function(t){if(h()(e,t)){var n=r.getFieldInstance(t);if(n){var i=f.a.findDOMNode(n),l=i.getBoundingClientRect().top;"hidden"!==i.type&&(void 0===a||a>l)&&(a=l,o=i)}}})),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 i&&i(e,t)}))}};var ce=function(e){return ae(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"),ge=n("foW8"),be=n.n(ge)()({labelAlign:"right",vertical:!1});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(){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 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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var n=0;n<t.length;n++){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 je(e,t){return(je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(e,t){return!t||"object"!==we(t)&&"function"!=typeof t?ke(e):t}function ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ce(){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 Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ne(e){return function(e){if(Array.isArray(e))return Fe(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 Fe(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(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 Fe(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 Te=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},Ae=Object(pe.a)("success","warning","error","validating","");Object(pe.a)("left","right");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&&je(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=Pe(t);if(Ce()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Se(this,e)});function s(){var e;return _e(this,s),(e=i.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(ke(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,a=e.props,i=a.prefixCls,s=a.style,c=a.className,u=Te(a,["prefixCls","style","className"]),f=o("form",i),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,Oe({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 n=s,(o=[{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),a=0;a<o.length&&(t||!(n.length>0));a++){var i=o[a];(!i.type||i.type!==s&&"FormItem"!==i.type.displayName)&&i.props&&("data-__meta"in i.props?n.push(i):i.props.children&&(n=n.concat(this.getControls(i.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 a=this.props,i=this.getOnlyControl,s=void 0===a.validateStatus&&i?this.getValidateStatus():a.validateStatus,c="".concat(e,"-item-control");s&&(c=l()("".concat(e,"-item-control"),{"has-feedback":a.hasFeedback||"validating"===s,"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=a.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(be.Consumer,{key:"wrapper"},(function(o){var a=o.wrapperCol,i=o.vertical,s=n.props.wrapperCol,c=("wrapperCol"in n.props?s:a)||{},u=l()("".concat(e,"-item-control-wrapper"),c.className);return r.createElement(be.Provider,{value:{vertical:i}},r.createElement(ye.a,Oe({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.Consumer,{key:"label"},(function(n){var o,a=n.vertical,i=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(),g=("labelCol"in t.props?p:s)||{},b="labelAlign"in t.props?d:i,w="".concat(e,"-item-label"),O=l()(w,"left"===b&&"".concat(w,"-left"),g.className),E=f,_=!0===m||!1!==c&&!1!==m;_&&!a&&"string"==typeof f&&""!==f.trim()&&(E=f.replace(/[::]\s*$/,""));var x=l()((Ee(o={},"".concat(e,"-item-required"),v),Ee(o,"".concat(e,"-item-no-colon"),!_),o));return f?r.createElement(ye.a,Oe({},g,{className:O}),r.createElement("label",{htmlFor:y||h||t.getId(),className:x,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)}}])&&xe(n.prototype,o),a&&xe(n,a),s}(r.Component);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 De(){return(De=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 Ie(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 Ve(e,t){return(Ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(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 Ue(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Re.defaultProps={hasFeedback:!1},Re.propTypes={prefixCls:a.string,label:a.oneOfType([a.string,a.node]),labelCol:a.object,help:a.oneOfType([a.node,a.bool]),validateStatus:a.oneOf(Ae),hasFeedback:a.bool,wrapperCol:a.object,className:a.string,id:a.string,children:a.node,colon:a.bool};var Be=Object(pe.a)("horizontal","inline","vertical"),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&&Ve(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=ze(t);if(Ue()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return qe(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).renderForm=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,s=a.hideRequiredMark,c=a.className,u=void 0===c?"":c,f=a.layout,p=o("form",i),d=l()(p,(Ie(n={},"".concat(p,"-horizontal"),"horizontal"===f),Ie(n,"".concat(p,"-vertical"),"vertical"===f),Ie(n,"".concat(p,"-inline"),"inline"===f),Ie(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",De({},m,{className:d}))},Object(de.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{key:"render",value:function(){var e=this.props,t=e.wrapperCol,n=e.labelAlign,o=e.labelCol,a=e.layout,i=e.colon;return r.createElement(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===a,colon:i}},r.createElement(fe.a,null,this.renderForm))}}])&&Le(n.prototype,o),a&&Le(n,a),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:a.string,layout:a.oneOf(Be),children:a.any,onSubmit:a.func,hideRequiredMark:a.bool,colon:a.bool},He.Item=Re,He.createFormField=U,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(De(De({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},"XR+G":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.default.type(e,t,r,l,o)}n(l)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZTPi:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Ge}));var r=n("q1tI"),o=n.n(r),a=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),w=n("17x9"),O=n.n(w),E=n("TSYQ"),_=n.n(E),x=n("n1GQ"),j=n.n(x),S=n("VCL8"),k=37,C=38,P=39,N=40;function F(e){var t=[];return o.a.Children.forEach(e,(function(e){e&&t.push(e)})),t}function T(e,t){for(var n=F(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 R(e){return("transform"in e||"webkitTransform"in e||"MozTransform"in e)&&window.atob}function M(e){return"left"===e||"right"===e}function D(e,t){return+window.getComputedStyle(e).getPropertyValue(t).replace("px","")}function I(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 V(e,t,n,r,o){var a=D(o,"padding-"+e);if(!r||!r.parentNode)return a;var i=r.parentNode.childNodes;return Array.prototype.some.call(i,(function(o){var i=window.getComputedStyle(o);return o!==r?(a+=L(i,"margin-"+e),a+=o[t],a+=L(i,"margin-"+n),"content-box"===i.boxSizing&&(a+=L(i,"border-"+e+"-width")+L(i,"border-"+n+"-width")),!1):(a+=L(i,"margin-"+e),!0)})),a}var q=n("4IlW"),U=n("foW8"),z=n.n(U)()({}),B=z.Provider,H=z.Consumer,W={width:0,height:0,overflow:"hidden",position:"absolute"},G=function(e){function t(){var e,n,r,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=e.shiftKey,a=r.props,i=a.nextElement,l=a.prevElement;n===q.a.TAB&&document.activeElement===t&&(!o&&i&&i.focus(),o&&l&&l.focus())},o=n,v()(r,o)}return b()(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);G.propTypes={setRef:O.a.func,prevElement:O.a.object,nextElement:O.a.object};var K=G,Y=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,a=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=_()((e={},c()(e,y,1),c()(e,y+"-inactive",!i),c()(e,y+"-active",i),c()(e,r,r),e)),g=(a?i:this._isActived)||s;return o.a.createElement(H,null,(function(e){var t=e.sentinelStart,r=e.sentinelEnd,a=e.setPanelSentinelStart,s=e.setPanelSentinelEnd,c=void 0,u=void 0;return i&&g&&(c=o.a.createElement(K,{setRef:a,prevElement:t}),u=o.a.createElement(K,{setRef:s,nextElement:r})),o.a.createElement("div",l()({style:p,role:"tabpanel","aria-hidden":i?"false":"true",className:v,id:n},I(h)),c,g?d:m,u)}))}}]),t}(o.a.Component),Z=Y;function X(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:O.a.string,active:O.a.bool,style:O.a.any,destroyInactiveTabPane:O.a.bool,forceRender:O.a.bool,placeholder:O.a.node,rootPrefixCls:O.a.string,children:O.a.node,id:O.a.string},Y.defaultProps={placeholder:null};var Q=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:X(e),n.state={activeKey:r},n}return b()(t,e),h()(t,[{key:"componentWillUnmount",value:function(){this.destroy=!0,j.a.cancel(this.sentinelId)}},{key:"updateSentinelContext",value:function(){var e=this;this.destroy||(j.a.cancel(this.sentinelId),this.sentinelId=j()((function(){e.destroy||e.forceUpdate()})))}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls,r=t.navWrapper,a=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=_()((e={},c()(e,n,1),c()(e,n+"-"+a,1),c()(e,i,!!i),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:a,onTabClick:this.onTabClick,panels:t.children,activeKey:this.state.activeKey,direction:this.props.direction}),v=o.a.cloneElement(s(),{prefixCls:n,tabBarPosition:a,activeKey:this.state.activeKey,destroyInactiveTabPane:p,children:t.children,onChange:this.setActiveKey,key:"tabContent",direction:this.props.direction}),g=o.a.createElement(K,{key:"sentinelStart",setRef:this.setSentinelStart,nextElement:this.panelSentinelStart}),b=o.a.createElement(K,{key:"sentinelEnd",setRef:this.setSentinelEnd,prevElement:this.panelSentinelEnd}),w=[];return"bottom"===a?w.push(g,v,b,y):w.push(y,g,v,b),o.a.createElement(B,{value:{sentinelStart:this.sentinelStart,sentinelEnd:this.sentinelEnd,setPanelSentinelStart:this.setPanelSentinelStart,setPanelSentinelEnd:this.setPanelSentinelEnd}},o.a.createElement("div",l()({className:h,style:t.style},I(m),{onScroll:this.onScroll}),w))}}],[{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=X(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===P||n===N){t.preventDefault();var r=e.getNextActiveKey(!0);e.onTabClick(r)}else if(n===k||n===C){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 a=r.length,i=a&&r[0].key;return r.forEach((function(e,t){e.key===n&&(i=t===a-1?r[0].key:r[t+1].key)})),i}};Q.propTypes={destroyInactiveTabPane:O.a.bool,renderTabBar:O.a.func.isRequired,renderTabContent:O.a.func.isRequired,navWrapper:O.a.func,onChange:O.a.func,children:O.a.node,prefixCls:O.a.string,className:O.a.string,tabBarPosition:O.a.string,style:O.a.object,activeKey:O.a.string,defaultActiveKey:O.a.string,direction:O.a.string},Q.defaultProps={prefixCls:"rc-tabs",destroyInactiveTabPane:!1,onChange:function(){},navWrapper:function(e){return e},tabBarPosition:"top",children:null,style:{},direction:"ltr"},Q.TabPane=Z,Object(S.polyfill)(Q);var $=Q,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 o.a.Children.forEach(n,(function(n){if(n){var a=n.key,i=t===a;r.push(o.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,a=n.children,i=n.activeKey,s=n.className,u=n.tabBarPosition,f=n.animated,p=n.animatedWithMargin,d=n.direction,m=n.style,h=_()((e={},c()(e,r+"-content",!0),c()(e,f?r+"-content-animated":r+"-content-no-animated",!0),e),s);if(f){var y=T(a,i);if(-1!==y){var v=p?function(e,t){var n=M(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=M(t)?"translateY":"translateX";return M(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:O.a.bool,animatedWithMargin:O.a.bool,prefixCls:O.a.string,children:O.a.node,activeKey:O.a.string,style:O.a.any,tabBarPosition:O.a.string,className:O.a.string,destroyInactiveTabPane:O.a.bool,direction:O.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,a=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=T(o,a);if(t&&(f.display="none"),u){var m=u,h=R(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 V("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=D(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 V("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 ae=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(){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,a=t.inkBarAnimated,i=n+"-ink-bar",l=_()((e={},c()(e,i,!0),c()(e,a?i+"-animated":i+"-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),ie=ae;ae.propTypes={prefixCls:O.a.string,styles:O.a.object,inkBarAnimated:O.a.bool,saveRef:O.a.func,direction:O.a.string},ae.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,a=t.prefixCls,i=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?a+"-tab-active":"";y+=" "+a+"-tab";var v={};t.props.disabled?y+=" "+a+"-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,w="rtl"===p?"marginLeft":"marginRight",O=c()({},M(u)?"marginBottom":w,b);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:O},g),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:O.a.string,panels:O.a.node,prefixCls:O.a.string,tabBarGutter:O.a.number,onTabClick:O.a.func,saveRef:O.a.func,renderTabBarNode:O.a.func,tabBarPosition:O.a.string,direction:O.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,a=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=_()(t+"-bar",c()({},a,!!a)),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()),o.a.createElement("div",l()({role:"tablist",className:m,tabIndex:"0",ref:this.props.saveRef("root"),onKeyDown:n,style:s},I(d)),g)}}]),t}(o.a.Component),pe=fe;fe.propTypes={prefixCls:O.a.string,className:O.a.string,style:O.a.object,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),children:O.a.node,extraContent:O.a.node,onKeyDown:O.a.func,saveRef:O.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 a=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+a&&(l-=c+a-(s+i),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 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,o=this.getOffsetWH(this.props.getRef("navWrap")),a=this.offset,i=r-n,l=this.state,s=l.next,c=l.prev;if(i>=0)s=!1,this.setOffset(0,!1),a=0;else if(i<a)s=!0;else{s=!1;var u=o-n;this.setOffset(u,!1),a=u}return c=a<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,a=this.props.getRef("nav").style,i=R(a);"left"===o||"right"===o?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(a,r.value):a[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,a=this.state,i=a.next,l=a.prev,s=this.props,u=s.prefixCls,f=s.scrollAnimated,p=s.navWrapper,d=s.prevIcon,m=s.nextIcon,h=l||i,y=o.a.createElement("span",{onClick:l?this.prev:null,unselectable:"unselectable",className:_()((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:i?this.next:null,unselectable:"unselectable",className:_()((t={},c()(t,u+"-tab-next",1),c()(t,u+"-tab-btn-disabled",!i),c()(t,u+"-tab-arrow-show",h),t))},m||o.a.createElement("span",{className:u+"-tab-next-icon"})),g=u+"-nav",b=_()((n={},c()(n,g,!0),c()(n,f?g+"-animated":g+"-no-animated",!0),n));return o.a.createElement("div",{className:_()((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:b,ref:this.props.saveRef("nav")},p(this.props.children)))))}}]),t}(o.a.Component),ve=ye;ye.propTypes={activeKey:O.a.string,getRef:O.a.func.isRequired,saveRef:O.a.func.isRequired,tabBarPosition:O.a.oneOf(["left","right","top","bottom"]),prefixCls:O.a.string,scrollAnimated:O.a.bool,onPrevClick:O.a.func,onNextClick:O.a.func,navWrapper:O.a.func,children:O.a.node,prevIcon:O.a.node,nextIcon:O.a.node,direction:O.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,o;d()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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)}},o=n,v()(r,o)}return b()(t,e),h()(t,[{key:"render",value:function(){return this.props.children(this.saveRef,this.getRef)}}]),t}(o.a.Component),be=ge;ge.propTypes={children:O.a.func},ge.defaultProps={children:function(){return null}};var we=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 o.a.createElement(be,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(ie,l()({saveRef:e,getRef:r},n))))}))}}]),t}(o.a.Component),Oe=we;we.propTypes={children:O.a.func};var Ee=n("CtXQ");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 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 je(e){return(je="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 ke(e,t){for(var n=0;n<t.length;n++){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 Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Pe(e,t){return!t||"object"!==je(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 Ne(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Ce(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=Fe(t);if(Ne()){var r=Fe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Pe(this,e)});function l(){return Se(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e,t,n=this.props,o=n.tabBarStyle,a=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"===je(a)?a.inkBar:a,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")})),g=r.createElement("span",{className:"".concat(c,"-tab-next-icon")},r.createElement(Ee.default,{type:y,className:"".concat(c,"-tab-next-icon-target")})),b=_()("".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),w=_e(_e({},this.props),{children:null,inkBarAnimated:d,extraContent:l,style:o,prevIcon:v,nextIcon:g,className:b});return t=i?i(w,Oe):r.createElement(Oe,w),r.cloneElement(t)}}])&&ke(n.prototype,o),a&&ke(n,a),l}(r.Component);Te.defaultProps={animated:!0,type:"line"};var Ae=n("H84U"),Re=n("6CfX"),Me=n("R3zJ");function De(){return(De=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 Ie(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 Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){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 ze(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 Be(){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 He(e){return(He=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},Ge=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)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=He(t);if(Be()){var r=He(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ze(this,e)});function s(){var e;return Ve(this,s),(e=l.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,a=e.props,i=a.prefixCls,l=a.className,s=void 0===l?"":l,c=a.size,u=a.type,f=void 0===u?"line":u,p=a.tabPosition,d=a.children,m=a.animated,h=void 0===m||m,y=a.hideAdd,v=e.props.tabBarExtraContent,g="object"===Le(h)?h.tabPane:h;"line"!==f&&(g="animated"in e.props&&g),Object(Re.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=o("tabs",i),w=_()(s,(Ie(n={},"".concat(b,"-vertical"),"left"===p||"right"===p),Ie(n,"".concat(b,"-").concat(c),!!c),Ie(n,"".concat(b,"-card"),f.indexOf("card")>=0),Ie(n,"".concat(b,"-").concat(f),!0),Ie(n,"".concat(b,"-no-animation"),!g),n)),O=[];"editable-card"===f&&(O=[],r.Children.forEach(d,(function(t,n){if(!r.isValidElement(t))return t;var o=t.props.closable,a=(o=void 0===o||o)?r.createElement(Ee.default,{type:"close",className:"".concat(b,"-close-x"),onClick:function(n){return e.removeTab(t.key,n)}}):null;O.push(r.cloneElement(t,{tab:r.createElement("div",{className:o?void 0:"".concat(b,"-tab-unclosable")},t.props.tab,a),key:t.key||n}))})),y||(v=r.createElement("span",null,r.createElement(Ee.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 E=We(e.props,[]),x=_()("".concat(b,"-").concat(p,"-content"),f.indexOf("card")>=0&&"".concat(b,"-card-content"));return r.createElement(ne,De({},e.props,{prefixCls:b,className:w,tabBarPosition:p,renderTabBar:function(){return r.createElement(Te,De({},Object(re.a)(E,["className"]),{tabBarExtraContent:v}))},renderTabContent:function(){return r.createElement(te,{className:x,animated:g,animatedWithMargin:!0})},onChange:e.handleChange}),O.length>0?O:d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=a.findDOMNode(this);e&&!Me.b&&-1===e.className.indexOf(" no-flex")&&(e.className+=" no-flex")}},{key:"render",value:function(){return r.createElement(Ae.a,null,this.renderTabs)}}])&&qe(n.prototype,o),i&&qe(n,i),s}(r.Component);Ge.TabPane=Z,Ge.defaultProps={hideAdd:!1,tabPosition:"top"}},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&s(e),d=n||u||f||p,m=d?r(e.length,String):[],h=m.length;for(var y in e)!t&&!c.call(e,y)||d&&("length"==y||f&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||m.push(y);return m}},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 a=n("ud8/"),i=c(a);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,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,s.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(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+220)}}}),[d]);var y=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(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,a.resetMathExpressions)(),(0,a.cleanToc)()}}),[h,y.current,v]),o.default.createElement("div",{ref:y,style:p,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},chzT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t,l)&&!e.required)return n();a.default.required(e,t,r,s,o,l),(0,i.isEmptyValue)(t,l)||a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"array")&&!e.required)return n();a.default.required(e,t,r,l,o,"array"),(0,i.isEmptyValue)(t,"array")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dIAb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=O(n("VXEj")),o=O(n("NJEC")),a=O(n("2/Rp")),i=O(n("NUBc")),l=O(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=O(u),p=n("eO8H"),d=O(n("vDqi")),m=O(n("AySf")),h=O(n("bIax")),y=n("sYIF"),v=O(n("LZ3y")),g=O(n("p7gc")),b=O(n("bjH3")),w=O(n("oYoh"));function O(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var E=l.default.TabPane,_=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 a=n.state,i=a.page,l=a.limit,c=a.fileList,u=a.orderId,f=a.reply_id,p=a.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.setState({showFiles:!1,content:"",is_reply:!1,reply_id:void 0,reply_content:void 0,quillFlag:!1,journal_spin:!1,attachment_clean:!1}),n.state.new_journal_id=e.data.id,n.getjournalslist(i,l)),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",a=r;d.default.get(o,{params:{id:a,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,a=t.orderId,i="/issues/"+a+"/journals/"+e+".json";d.default.delete(i,{data:{issue_id:a,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(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,o=e.search_count;if(o>r)return f.default.createElement("div",{className:"pt30 mb50 edu-txt-center btp1"},f.default.createElement(i.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,i=(t.page,t.limit,t.search_count),c=t.isSpin,u=t.content,d=t.quillFlag,b=t.journal_spin,O=t.attachment_clean,_=t.is_reply,x=t.reply_id,j=t.reply_content,S=t.orderId,k=t.new_journal_id,C=this.props,P=C.current_user,N=C.only_show_content,F=function(t,n){return f.default.createElement("div",{className:"grid-item-top pb10"},f.default.createElement(p.Link,{to:"/users/"+(P&&P.login),className:"show-user-link mr10"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(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?j: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:O,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(a.default,{type:"primary",onClick:e.addjournals,loading:b,className:"mr15"},"评论"),f.default.createElement(a.default,{onClick:e.cancel_reply},"取消"))))},T=function(t){return f.default.createElement("div",{className:"width100"},f.default.createElement("div",{className:"pb5"},f.default.createElement(p.Link,{to:"/users/"+(t&&t.user_login),className:"show-user-link"},f.default.createElement("img",{className:"radius",src:(0,y.getImageUrl)("images/"+(t&&t.user_picture)),alt:"",width:"30",height:"30"})),f.default.createElement(p.Link,{to:"/users/"+(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(o.default,{placement:"bottom",title:"确定要删除当前评论吗?",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteorder(t.id)}},f.default.createElement(a.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(a.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,_&&x&&x===t.id?f.default.createElement("div",{className:"pt20"},F(_,t.id)):""),f.default.createElement(w.default,s({order_id:S,parent_id:t.id,onRef:e.onRef,children_comment_id:k},e.props))))};return f.default.createElement("div",null,N?f.default.createElement("div",null,f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},F(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,T(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"},"评论",i>0&&f.default.createElement("span",{className:"search-count-button"},i)),key:"1"},f.default.createElement("div",{className:"mb10"},_&&!x?f.default.createElement("div",{className:"pd20"},F(_,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)("images/"+P.image_url):"images/avatars/User/b",alt:"",width:"30",height:"30"}),f.default.createElement("span",{className:"reply-comment-input mr20"},f.default.createElement(a.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,T(e))}}))),this.Paginations())))}}]),t}(u.Component);t.default=_},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,m,h){var y=s(e),v=s(t),g=y?"[object Array]":l(e),b=v?"[object Array]":l(t),w=(g="[object Arguments]"==g?f:g)==f,O=(b="[object Arguments]"==b?f:b)==f,E=g==b;if(E&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(E&&!w)return h||(h=new r),y||u(e)?o(e,t,n,d,m,h):a(e,t,g,n,d,m,h);if(!(1&n)){var _=w&&p.call(e,"__wrapped__"),x=O&&p.call(t,"__wrapped__");if(_||x){var j=_?e.value():e,S=x?t.value():t;return h||(h=new r),m(j,S,n,d,h)}}return!!E&&(h||(h=new r),i(e,t,n,d,m,h))}},em44:function(e,t,n){},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},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 a=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,a)},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),s=n("0Cz8");function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=l,c.prototype.set=s,e.exports=c},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},iHzq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=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,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o))}n(l)}},jESh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("zP+q")),o=v(n("rNsS")),a=v(n("iHzq")),i=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:a.default,boolean:i.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},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},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(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,a,i){!e.required||n.hasOwnProperty(e.field)&&!r.isEmptyValue(t,i||e.type)||o.push(r.format(a.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,a){var i="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),i?c!==e.len&&o.push(r.format(a.messages[u].len,e.fullField,e.len)):l&&!s&&c<e.min?o.push(r.format(a.messages[u].min,e.fullField,e.min)):s&&!l&&c>e.max?o.push(r.format(a.messages[u].max,e.fullField,e.max)):l&&s&&(c<e.min||c>e.max)&&o.push(r.format(a.messages[u].range,e.fullField,e.min,e.max))}},lT4e:function(e,t,n){"use strict";var r=n("MgzW"),o=n("t33a"),a=n("2NuI");e.exports=function(e,t,n){var i=[],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(a(!(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 a("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;g.hasOwnProperty(t)&&a("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&&a("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){a("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),a(!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 i in n.hasOwnProperty("mixins")&&c.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&"mixins"!==i){var s=n[i],f=r.hasOwnProperty(i);if(u(f,i),c.hasOwnProperty(i))c[i](e,s);else{var p=l.hasOwnProperty(i);if("function"==typeof s&&!p&&!f&&!1!==n.autobind)o.push(i,s),r[i]=s;else if(f){var h=l[i];a(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=d(r[i],s):"DEFINE_MANY"===h&&(r[i]=m(r[i],s))}else r[i]=s}}}else;}function p(e,t){for(var n in a(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(a(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}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),function(e){var t=function(e,r,i){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=i||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;a("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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],i.forEach(f.bind(null,t)),f(t,y),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),a(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,s=!a;if(null==e)return!l;for(e=Object(e);i--;){var c=n[i];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i<l;){var u=(c=n[i])[0],f=e[u],p=c[1];if(s&&c[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var m=a(f,p,u,e,t,d);if(!(void 0===m?o(p,f,3,a,d):m))return!1}}return!0}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},m1cH:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("rfXi"),a=(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,a.default)(e)}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(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,a){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||o.push(r.format(a.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||o.push(r.format(a.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"),a=n.n(o),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,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 v(){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 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 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},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&&h(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=b(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),O=n("CWQg"),E=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),_=n("6CfX"),x=n("g0mS");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 S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 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 N(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 F(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&P(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(F()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});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=u.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,a=A(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(x.a,null,r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return k({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(S(t={},"".concat(u,"-").concat(l),c),S(t,"".concat(u,"-has-color"),l&&!c),S(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&R.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(n.prototype,o),l&&C(n,l),f}(r.Component);M.CheckableTag=w,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},myOp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();if(a.default.required(e,t,r,l,o),!(0,i.isEmptyValue)(t)){var s=void 0;s="number"==typeof t?new Date(t):t,a.default.type(e,s,r,l,o),s&&a.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,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],s=o["cancel"+i]||o["cancelRequest"+i],c=0;!l&&c<a.length;c++)l=o[a[c]+"Request"+i],s=o[a[c]+"Cancel"+i]||o[a[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(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"))},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},a=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")),i=n("l1rO"),l=(r=i)&&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,i){if(e.required&&void 0===t)(0,l.default)(e,t,n,r,i);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?c[s](t)||r.push(a.format(i.messages.types[s],e.fullField,e.type)):s&&(void 0===t?"undefined":o(t))!==e.type&&r.push(a.format(i.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},a="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("+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,i.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":a(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=[],a={};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?a=(0,i.convertFieldsError)(o):(o=null,a=null),f(o,a)}if(s.messages){var d=this.messages();d===c.messages&&(d=(0,c.newMessages)()),(0,i.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 a=r;"function"==typeof a.transform&&(l===e&&(l=o({},l)),h=l[n]=a.transform(h)),(a="function"==typeof a?{validator:a}:o({},a)).validator=t.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=t.getType(a),a.validator&&(y[n]=y[n]||[],y[n].push({rule:a,value:h,source:l,field:n}))}))}));var g={};return(0,i.asyncMap)(y,s,(function(e,t){var n=e.rule,r=!("object"!==n.type&&"array"!==n.type||"object"!==a(n.fields)&&"object"!==a(n.defaultField));function l(e,t){return o({},t,{fullField:n.fullField+"."+e})}function c(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=a;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,i.complementError)(n)),s.first&&c.length)return g[n.field]=1,t(c);if(r){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map((0,i.complementError)(n)):s.error?[s.error(n,(0,i.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,i.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=i.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")),a=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,o=r.order_id,a=r.parent_id,i=n.state,l=i.page,s=i.limit,c="/issues/"+(e||o)+"/journals/"+(t||a)+"/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(i.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:"/users/"+(e&&e.user_login),className:"show-user-link"},c.default.createElement("img",{className:"radius",src:(0,p.getImageUrl)("images/"+(e&&e.user_picture)),alt:"",width:"30",height:"30"})),c.default.createElement(u.Link,{to:"/users/"+(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(a.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,a=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:a,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},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,s){var c=1&n,u=e.length,f=t.length;if(u!=f&&!(c&&f>u))return!1;var p=s.get(e);if(p&&s.get(t))return p==t;var d=-1,m=!0,h=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++d<u;){var y=e[d],v=t[d];if(i)var g=c?i(v,y,d,t,e,s):i(y,v,d,e,t,s);if(void 0!==g){if(g)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!a(h,t)&&(y===e||l(y,e,n,i,s)))return h.push(t)}))){m=!1;break}}else if(y!==v&&!l(y,v,n,i,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return F}));var r,o=n("q1tI"),a=n("TSYQ"),i=n.n(a),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={},g={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 b(e){return(b="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 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 E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(e,t){return!t||"object"!==b(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 S(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},P=Object(u.a)("top","middle","bottom","stretch"),N=Object(u.a)("start","end","center","space-around","space-between"),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&&x(e,t)}(u,e);var t,n,r,a,l=(t=u,function(){var e,n=k(t);if(S()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return E(this,u),(e=l.apply(this,arguments)).state={screens:{}},e.renderRow=function(t){var n,r=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.type,u=a.justify,f=a.align,p=a.className,d=a.style,m=a.children,h=C(a,["prefixCls","type","justify","align","className","style","children"]),y=r("row",l),v=e.getGutter(),g=i()((O(n={},y,!s),O(n,"".concat(y,"-").concat(s),s),O(n,"".concat(y,"-").concat(s,"-").concat(u),s&&u),O(n,"".concat(y,"-").concat(s,"-").concat(f),s&&f),n),p),b=w(w(w({},v[0]>0?{marginLeft:v[0]/-2,marginRight:v[0]/-2}:{}),v[1]>0?{marginTop:v[1]/-2,marginBottom:v[1]/-2}:{}),d),E=w({},h);return delete E.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",w({},E,{className:g,style:b}),m))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<d.length;o++){var a=d[o];if(n[a]&&void 0!==t[a]){e[r]=t[a];break}}else e[r]=t||0})),e}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderRow)}}])&&_(n.prototype,r),a&&_(n,a),u}(o.Component);F.defaultProps={gutter:0},F.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(N),className:l.string,children:l.node,gutter:l.oneOfType([l.object,l.number,l.array]),prefixCls:l.string}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},rNsS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),void 0!==t&&a.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"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t)&&!e.required)return n();a.default.required(e,t,r,l,o),t&&a.default.enum(e,t,r,l,o)}n(l)}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var s=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!s)return!1;for(var f=u;f--;){var p=c[f];if(!(s?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var m=!0;l.set(e,t),l.set(t,e);for(var h=s;++f<u;){var y=e[p=c[f]],v=t[p];if(a)var g=s?a(v,y,p,t,e,l):a(y,v,p,e,t,l);if(!(void 0===g?y===v||i(y,v,n,a,l):g)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(m=!1)}return l.delete(e),l.delete(t),m}},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"vPd/":function(e,t,n){var r=n("kCCV"),o=n("IX3V").each;function a(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)}a.prototype={constuctor:a,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=a},vg9a:function(e,t,n){},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},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,a=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)}),o||(o=function(e){return e}),a||(a=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),y=x(String.prototype.toLowerCase),v=x(String.prototype.match),g=x(String.prototype.replace),b=x(String.prototype.indexOf),w=x(String.prototype.trim),O=x(RegExp.prototype.test),E=j(RegExp),_=j(TypeError);function x(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 j(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 o=r.length;o--;){var a=r[o];if("string"==typeof a){var i=y(a);i!==a&&(n(r)||(r[o]=i),a=i)}e[a]=!0}return e}function k(t){var n=i(null),r=void 0;for(r in t)s(e,t,[r])&&(n[r]=t[r]);return n}var C=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"]),P=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"]),F=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"]),T=o(["#text"]),A=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"]),R=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"]),M=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"]),D=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),I=a(/\{\{[\s\S]*|[\s\S]*\}\}/gm),L=a(/<%[\s\S]*|[\s\S]*%>/gm),V=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=a(/^(?:\w+script|data):/i),B=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),H="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 G=function(){return"undefined"==typeof window?null:window},K=function(e,t){if("object"!==(void 0===e?"undefined":H(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]:G(),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 a=t.document,i=!1,l=t.document,s=t.DocumentFragment,c=t.HTMLTemplateElement,x=t.Node,j=t.NodeFilter,Y=t.NamedNodeMap,Z=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,X=t.Text,Q=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=K($,a),ne=te&&Me?te.createHTML(""):"",re=l,oe=re.implementation,ae=re.createNodeIterator,ie=re.getElementsByTagName,le=re.createDocumentFragment,se=a.importNode,ce=k(l).documentMode?l.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var fe=I,pe=L,de=V,me=q,he=z,ye=B,ve=U,ge=null,be=S({},[].concat(W(C),W(P),W(N),W(F),W(T))),we=null,Oe=S({},[].concat(W(A),W(R),W(M),W(D))),Ee=null,_e=null,xe=!0,je=!0,Se=!1,ke=!1,Ce=!1,Pe=!1,Ne=!1,Fe=!1,Te=!1,Ae=!1,Re=!1,Me=!1,De=!0,Ie=!0,Le=!1,Ve={},qe=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"]),Ue=null,ze=S({},["audio","video","img","source","image","track"]),Be=null,He=S({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We=null,Ge=l.createElement("form"),Ke=function(e){We&&We===e||(e&&"object"===(void 0===e?"undefined":H(e))||(e={}),e=k(e),ge="ALLOWED_TAGS"in e?S({},e.ALLOWED_TAGS):be,we="ALLOWED_ATTR"in e?S({},e.ALLOWED_ATTR):Oe,Be="ADD_URI_SAFE_ATTR"in e?S(k(He),e.ADD_URI_SAFE_ATTR):He,Ue="ADD_DATA_URI_TAGS"in e?S(k(ze),e.ADD_DATA_URI_TAGS):ze,Ee="FORBID_TAGS"in e?S({},e.FORBID_TAGS):{},_e="FORBID_ATTR"in e?S({},e.FORBID_ATTR):{},Ve="USE_PROFILES"in e&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=e.SAFE_FOR_JQUERY||!1,Ce=e.SAFE_FOR_TEMPLATES||!1,Pe=e.WHOLE_DOCUMENT||!1,Te=e.RETURN_DOM||!1,Ae=e.RETURN_DOM_FRAGMENT||!1,Re=e.RETURN_DOM_IMPORT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,Fe=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ie=!1!==e.KEEP_CONTENT,Le=e.IN_PLACE||!1,ve=e.ALLOWED_URI_REGEXP||ve,Ce&&(je=!1),Ae&&(Te=!0),Ve&&(ge=S({},[].concat(W(T))),we=[],!0===Ve.html&&(S(ge,C),S(we,A)),!0===Ve.svg&&(S(ge,P),S(we,R),S(we,D)),!0===Ve.svgFilters&&(S(ge,N),S(we,R),S(we,D)),!0===Ve.mathMl&&(S(ge,F),S(we,M),S(we,D))),e.ADD_TAGS&&(ge===be&&(ge=k(ge)),S(ge,e.ADD_TAGS)),e.ADD_ATTR&&(we===Oe&&(we=k(we)),S(we,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&S(Be,e.ADD_URI_SAFE_ATTR),Ie&&(ge["#text"]=!0),Pe&&S(ge,["html","head","body"]),ge.table&&(S(ge,["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}},Ze=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)},Xe=function(e){var t=void 0,n=void 0;if(Fe)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(i&&S(Ee,["title"]),!t||!t.documentElement){var a=(t=oe.createHTMLDocument("")).body;a.parentNode.removeChild(a.parentNode.firstElementChild),a.outerHTML=o}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=Xe("<x/><title></title><img>");O(/<\/title/,e.querySelector("title").innerHTML)&&(i=!0)}catch(e){}}();var Qe=function(e){return ae.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,(function(){return j.FILTER_ACCEPT}),!1)},Je=function(e){return!(e instanceof X||e instanceof Q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof Z&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},$e=function(e){return"object"===(void 0===x?"undefined":H(x))?e instanceof x:e&&"object"===(void 0===e?"undefined":H(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:ge}),("svg"===r||"math"===r)&&0!==e.querySelectorAll("p, br").length)return Ye(e),!0;if(!ge[r]||Ee[r]){if(Ie&&!qe[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&&O(/<\/noscript/i,e.innerHTML)||"noembed"===r&&O(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!ke||$e(e.firstElementChild)||$e(e.content)&&$e(e.content.firstElementChild)||!O(/</g,e.textContent)||(m(n.removed,{element:e.cloneNode()}),e.innerHTML?e.innerHTML=g(e.innerHTML,/</g,"<"):e.innerHTML=g(e.textContent,/</g,"<")),Ce&&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(De&&("id"===t||"name"===t)&&(n in l||n in Ge))return!1;if(je&&O(de,t));else if(xe&&O(me,t));else{if(!we[t]||_e[t])return!1;if(Be[t]);else if(O(ve,g(n,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ue[e])if(Se&&!O(he,g(n,ye,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,a=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:we};for(l=s.length;l--;){var u=t=s[l],m=u.name,v=u.namespaceURI;if(o=w(t.value),a=y(m),c.attrName=a,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=void 0,et("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr){if("name"===a&&"IMG"===e.nodeName&&s.id)i=s.id,s=h(s,[]),Ze("id",e),Ze(m,e),f(s,i)>l&&e.setAttribute("id",i.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===o&&c.keepAttr&&(we[a]||!_e[a]))continue;"id"===m&&e.setAttribute(m,""),Ze(m,e)}if(c.keepAttr)if(ke&&O(/\/>/i,o))Ze(m,e);else if(O(/svg|math/i,e.namespaceURI)&&O(E("</("+p(r(qe),"|")+")","i"),o))Ze(m,e);else{Ce&&(o=g(o,fe," "),o=g(o,pe," "));var b=e.nodeName.toLowerCase();if(nt(b,a,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=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,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 _("toString is not a function");if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}if(!n.isSupported){if("object"===H(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||Ke(r),n.removed=[],"string"==typeof e&&(Le=!1),Le);else if(e instanceof x)1===(i=(o=Xe("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?o=i:o.appendChild(i);else{if(!Te&&!Ce&&!Pe&&-1===e.indexOf("<"))return te&&Me?te.createHTML(e):e;if(!(o=Xe(e)))return Te?null:ne}o&&Fe&&Ye(o.firstChild);for(var f=Qe(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(Te){if(Ae)for(u=le.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Re&&(u=se.call(a,u,!0)),u}var p=Pe?o.outerHTML:o.innerHTML;return Ce&&(p=g(p,fe," "),p=g(p,pe," ")),te&&Me?te.createHTML(p):p},n.setConfig=function(e){Ke(e),Ne=!0},n.clearConfig=function(){We=null,Ne=!1},n.isValidAttribute=function(e,t,n){We||Ke({});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"),a=o.each,i=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)),i(t)&&(t={match:t}),l(t)||(t=[t]),a(t,(function(t){i(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},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},"zP+q":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Gv54"),a=(r=o)&&r.__esModule?r:{default:r},i=n("+kn0");t.default=function(e,t,n,r,o){var l=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((0,i.isEmptyValue)(t,"string")&&!e.required)return n();a.default.required(e,t,r,l,o,"string"),(0,i.isEmptyValue)(t,"string")||(a.default.type(e,t,r,l,o),a.default.range(e,t,r,l,o),a.default.pattern(e,t,r,l,o),!0===e.whitespace&&a.default.whitespace(e,t,r,l,o))}n(l)}},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/32.209d3cf1.chunk.js.LICENSE.txt b/static/js/24.e04ba5af.chunk.js.LICENSE.txt similarity index 100% rename from static/js/32.209d3cf1.chunk.js.LICENSE.txt rename to static/js/24.e04ba5af.chunk.js.LICENSE.txt diff --git a/static/js/24.e8a332ec.chunk.js b/static/js/25.445ab279.chunk.js similarity index 99% rename from static/js/24.e8a332ec.chunk.js rename to static/js/25.445ab279.chunk.js index 0022e12ad..a769c1294 100644 --- a/static/js/24.e8a332ec.chunk.js +++ b/static/js/25.445ab279.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[24,10],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},Gofe: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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"copy"},this.props))}}]),t}(a.Component);t.default=f},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[25,10],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},Gofe: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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"copy"},this.props))}}]),t}(a.Component);t.default=f},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/25.4ad02b67.chunk.js b/static/js/26.9b80ad3e.chunk.js similarity index 99% rename from static/js/25.4ad02b67.chunk.js rename to static/js/26.9b80ad3e.chunk.js index 1c3c4a08b..64817a21a 100644 --- a/static/js/25.4ad02b67.chunk.js +++ b/static/js/26.9b80ad3e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[25,10],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},IZ3b: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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"new"},this.props))}}]),t}(a.Component);t.default=f},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[26,10],{"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},IZ3b: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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"new"},this.props))}}]),t}(a.Component);t.default=f},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/26.46dfcc30.chunk.js b/static/js/27.5096c019.chunk.js similarity index 99% rename from static/js/26.46dfcc30.chunk.js rename to static/js/27.5096c019.chunk.js index 637e50831..c9f601b6b 100644 --- a/static/js/26.46dfcc30.chunk.js +++ b/static/js/27.5096c019.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[26,10],{"+JJy":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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"edit"},this.props))}}]),t}(a.Component);t.default=f},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[27,10],{"+JJy":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=c(a),l=c(n("N+me"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement(l.default,r({form_type:"edit"},this.props))}}]),t}(a.Component);t.default=f},"+c4W":function(e,t,n){var r=n("711d"),o=n("4/ic"),a=n("9ggG"),i=n("9Nap");e.exports=function(e){return a(e)?r(i(e)):o(e)}},"+eQT":function(e,t,n){"use strict";n.r(t);var r=n("QbLZ"),o=n.n(r),a=n("iCc5"),i=n.n(a),l=n("FYw3"),c=n.n(l),s=n("mRg0"),u=n.n(s),f=n("q1tI"),p=n.n(f),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function O(e){return e}function C(e){return p.a.Children.map(e,O)}var w=n("01ui");function k(e){this.props.changeYear(e)}function S(){}var P=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.setAndSelectValue=function(e){r.setValue(e),r.props.onSelect(e)},r.setValue=function(e){"value"in r.props&&r.setState({value:e})},r.nextYear=k.bind(r,1),r.previousYear=k.bind(r,-1),r.prefixCls=n.rootPrefixCls+"-month-panel",r.state={value:n.value||n.defaultValue},r}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,r=e.cellRender,o=e.contentRender,a=e.renderFooter,i=t.year(),l=this.prefixCls,c=a&&a("month");return p.a.createElement("div",{className:l,style:e.style},p.a.createElement("div",null,p.a.createElement("div",{className:l+"-header"},p.a.createElement("a",{className:l+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),p.a.createElement("a",{className:l+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},p.a.createElement("span",{className:l+"-year-select-content"},i),p.a.createElement("span",{className:l+"-year-select-arrow"},"x")),p.a.createElement("a",{className:l+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),p.a.createElement("div",{className:l+"-body"},p.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:r,contentRender:o,prefixCls:l})),c&&p.a.createElement("div",{className:l+"-footer"},c)))},t}(p.a.Component);P.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},P.defaultProps={onChange:S,onSelect:S},Object(b.polyfill)(P);var E=P,j=n("TSYQ"),x=n.n(j);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function D(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var N=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.prefixCls=n.rootPrefixCls+"-year-panel",r.state={value:n.value||n.defaultValue},r.nextDecade=_.bind(r,10),r.previousDecade=_.bind(r,-10),r}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],r=0,o=0;o<4;o++){n[o]=[];for(var a=0;a<3;a++){var i=t+r,l=String(i);n[o][a]={content:l,year:i,title:l},r++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=t.locale,o=t.renderFooter,a=this.years(),i=n.year(),l=10*parseInt(i/10,10),c=l+9,s=this.prefixCls,u=a.map((function(t,n){var r=t.map((function(t){var n,r=((n={})[s+"-cell"]=1,n[s+"-selected-cell"]=t.year===i,n[s+"-last-decade-cell"]=t.year<l,n[s+"-next-decade-cell"]=t.year>c,n),o=void 0;return o=t.year<l?e.previousDecade:t.year>c?e.nextDecade:D.bind(e,t.year),p.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:o,className:x()(r)},p.a.createElement("a",{className:s+"-year"},t.content))}));return p.a.createElement("tr",{key:n,role:"row"},r)})),f=o&&o("year");return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",null,p.a.createElement("div",{className:s+"-header"},p.a.createElement("a",{className:s+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:r.previousDecade}),p.a.createElement("a",{className:s+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:r.decadeSelect},p.a.createElement("span",{className:s+"-decade-select-content"},l,"-",c),p.a.createElement("span",{className:s+"-decade-select-arrow"},"x")),p.a.createElement("a",{className:s+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:r.nextDecade})),p.a.createElement("div",{className:s+"-body"},p.a.createElement("table",{className:s+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:s+"-tbody"},u))),f&&p.a.createElement("div",{className:s+"-footer"},f)))},t}(p.a.Component),T=N;N.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},N.defaultProps={onSelect:function(){}};function V(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function I(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.state={value:n.value||n.defaultValue},r.prefixCls=n.rootPrefixCls+"-decade-panel",r.nextCentury=V.bind(r,100),r.previousCentury=V.bind(r,-100),r}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,r=n.locale,o=n.renderFooter,a=t.year(),i=100*parseInt(a/100,10),l=i-10,c=i+99,s=[],u=0,f=this.prefixCls,d=0;d<4;d++){s[d]=[];for(var h=0;h<3;h++){var m=l+10*u,v=l+10*u+9;s[d][h]={startDecade:m,endDecade:v},u++}}var y=o&&o("decade"),b=s.map((function(t,n){var r=t.map((function(t){var n,r=t.startDecade,o=t.endDecade,l=r<i,s=o>c,u=((n={})[f+"-cell"]=1,n[f+"-selected-cell"]=r<=a&&a<=o,n[f+"-last-century-cell"]=l,n[f+"-next-century-cell"]=s,n),d=r+"-"+o,h=void 0;return h=l?e.previousCentury:s?e.nextCentury:I.bind(e,r),p.a.createElement("td",{key:r,onClick:h,role:"gridcell",className:x()(u)},p.a.createElement("a",{className:f+"-decade"},d))}));return p.a.createElement("tr",{key:n,role:"row"},r)}));return p.a.createElement("div",{className:this.prefixCls},p.a.createElement("div",{className:f+"-header"},p.a.createElement("a",{className:f+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:r.previousCentury}),p.a.createElement("div",{className:f+"-century"},i,"-",c),p.a.createElement("a",{className:f+"-next-century-btn",role:"button",onClick:this.nextCentury,title:r.nextCentury})),p.a.createElement("div",{className:f+"-body"},p.a.createElement("table",{className:f+"-table",cellSpacing:"0",role:"grid"},p.a.createElement("tbody",{className:f+"-tbody"},b))),y&&p.a.createElement("div",{className:f+"-footer"},y))},t}(p.a.Component),M=R;function F(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function A(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function L(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var H=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return U.call(r),r.nextMonth=F.bind(r,1),r.previousMonth=F.bind(r,-1),r.nextYear=A.bind(r,1),r.previousYear=A.bind(r,-1),r.state={yearPanelReferer:null},r}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,r=t.locale,o=t.mode,a=t.value,i=t.showTimePicker,l=t.enableNext,c=t.enablePrev,s=t.disabledMonth,u=t.renderFooter,f=null;return"month"===o&&(f=p.a.createElement(E,{locale:r,value:a,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:s,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===o&&(f=p.a.createElement(T,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===o&&(f=p.a.createElement(M,{locale:r,defaultValue:a,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),p.a.createElement("div",{className:n+"-header"},p.a.createElement("div",{style:{position:"relative"}},L(c&&!i,p.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:r.previousYear})),L(c&&!i,p.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:r.previousMonth})),this.monthYearElement(i),L(l&&!i,p.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:r.nextMonth})),L(l&&!i,p.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:r.nextYear}))),f)},t}(p.a.Component);H.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},H.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var U=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,r=n.prefixCls,o=n.locale,a=n.value,i=a.localeData(),l=o.monthBeforeYear,c=r+"-"+(l?"my-select":"ym-select"),s=t?" "+r+"-time-status":"",u=p.a.createElement("a",{className:r+"-year-select"+s,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:o.yearSelect},a.format(o.yearFormat)),f=p.a.createElement("a",{className:r+"-month-select"+s,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:o.monthSelect},o.monthFormat?a.format(o.monthFormat):i.monthsShort(a)),d=void 0;t&&(d=p.a.createElement("a",{className:r+"-day-select"+s,role:"button"},a.format(o.dayFormat)));var h=[];return h=l?[f,d,u]:[u,f,d],p.a.createElement("span",{className:c},C(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},Y=H,W=n("GrtH");function B(e){var t=e.prefixCls,n=e.locale,r=e.value,o=e.timePicker,a=e.disabled,i=e.disabledDate,l=e.onToday,c=e.text,s=(!c&&o?n.now:c)||n.today,u=i&&!Object(W.g)(Object(W.e)(r),i)||a,f=u?t+"-today-btn-disabled":"";return p.a.createElement("a",{className:t+"-today-btn "+f,role:"button",onClick:u?null:l,title:Object(W.f)(r)},s)}function K(e){var t=e.prefixCls,n=e.locale,r=e.okDisabled,o=e.onOk,a=t+"-ok-btn";return r&&(a+=" "+t+"-ok-btn-disabled"),p.a.createElement("a",{className:a,role:"button",onClick:r?null:o},n.ok)}function q(e){var t,n=e.prefixCls,r=e.locale,o=e.showTimePicker,a=e.onOpenTimePicker,i=e.onCloseTimePicker,l=e.timePickerDisabled,c=x()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=l,t)),s=null;return l||(s=o?i:a),p.a.createElement("a",{className:c,role:"button",onClick:s},o?r.dateSelect:r.timeSelect)}var z=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,r=e.showOk,a=e.timePicker,i=e.renderFooter,l=e.mode,c=null,s=i&&i(l);if(e.showToday||a||s){var u,f=void 0;e.showToday&&(f=p.a.createElement(B,o()({},e,{value:t})));var d=void 0;(!0===r||!1!==r&&e.timePicker)&&(d=p.a.createElement(K,e));var h=void 0;e.timePicker&&(h=p.a.createElement(q,e));var m=void 0;(f||h||d||s)&&(m=p.a.createElement("span",{className:n+"-footer-btn"},s,C([f,h,d])));var v=x()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));c=p.a.createElement("div",{className:v},m)}return c},t}(p.a.Component);z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var G=z,Z=n("jBZG"),Q=n("F4Vz"),X=n("wd/R"),J=n.n(X),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));re.call(r);var o=n.selectedValue;return r.state={str:Object(W.a)(o,r.props.format),invalid:!1,hasFocus:!1},r}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var r=e.selectedValue;return t.hasFocus||(n={str:Object(W.a)(r,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,r=t.str,o=e.locale,a=e.prefixCls,i=e.placeholder,l=e.clearIcon,c=e.inputMode,s=n?a+"-input-invalid":"";return p.a.createElement("div",{className:a+"-input-wrap"},p.a.createElement("div",{className:a+"-date-input-wrap"},p.a.createElement("input",{ref:this.saveDateInput,className:a+"-input "+s,value:r,disabled:e.disabled,placeholder:i,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:c})),e.showClear?p.a.createElement("a",{role:"button",title:o.clear,onClick:this.onClear},l||p.a.createElement("span",{className:a+"-clear-btn"})):null)},t}(p.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var re=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,r=e.props,o=r.disabledDate,a=r.format,i=r.onChange,l=r.selectedValue;if(!n)return i(null),void e.setState({invalid:!1,str:n});var c=J()(n,a,!0);if(c.isValid()){var s=e.props.value.clone();s.year(c.year()).month(c.month()).date(c.date()).hour(c.hour()).minute(c.minute()).second(c.second()),!s||o&&o(s)?e.setState({invalid:!0,str:n}):(l!==s||l&&s&&!l.isSame(s))&&(e.setState({invalid:!1,str:n}),i(s))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(W.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,r=e.props,o=r.onSelect,a=r.value,i=r.disabledDate;n===y.a.ENTER&&o&&((!i||!i(a))&&o(a.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var oe=ne;function ae(e){return e.clone().startOf("month")}function ie(e){return e.clone().endOf("month")}function le(e,t,n){return e.clone().add(t,n)}function ce(){}var se=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return fe.call(r),r.state={mode:r.props.mode||"date",value:se(n.value)||se(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(oe.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,r=e.selectedValue,o={};return"mode"in e&&t.mode!==e.mode&&(o={mode:e.mode}),"value"in e&&(o.value=se(n)||se(e.defaultValue)||Object(Z.d)(t.value)),"selectedValue"in e&&(o.selectedValue=r),o},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,r=e.prefixCls,a=e.disabledDate,i=e.dateInputPlaceholder,l=e.timePicker,c=e.disabledTime,s=e.clearIcon,u=e.renderFooter,f=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,O=b&&c&&l?Object(W.c)(v,c):null,C=null;if(l&&b){var w=o()({showHour:!0,showSecond:!0,showMinute:!0},l.props,O,{onChange:this.onDateInputChange,value:v,disabledTime:c});void 0!==l.props.defaultValue&&(w.defaultOpenValue=l.props.defaultValue),C=p.a.cloneElement(l,w)}var k=e.showDateInput?p.a.createElement(oe,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:i,showClear:!0,disabledTime:c,disabledDate:a,onClear:this.onClear,prefixCls:r,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:s,inputMode:f}):null,S=[];return e.renderSidebar&&S.push(e.renderSidebar()),S.push(p.a.createElement("div",{className:r+"-panel",key:"panel"},k,p.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:r+"-date-panel"},p.a.createElement(Y,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:r,monthCellRender:d,monthCellContentRender:h}),l&&b?p.a.createElement("div",{className:r+"-time-picker"},p.a.createElement("div",{className:r+"-time-picker-panel"},C)):null,p.a.createElement("div",{className:r+"-body"},p.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:r,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:a,showWeekNumber:e.showWeekNumber})),p.a.createElement(G,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:r,showToday:e.showToday,disabledTime:c,showTimePicker:b,showDateInput:e.showDateInput,timePicker:l,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:a,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:S,className:e.showWeekNumber?r+"-week-number":""})},t}(p.a.Component);ue.propTypes=o()({},Z.b,Q.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=o()({},Z.a,Q.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:ce,onPanelChange:ce,focusablePanel:!0});var fe=function(){var e=this;this.onPanelChange=function(t,n){var r=e.props,o=e.state;"mode"in r||e.setState({mode:n}),r.onPanelChange(t||o.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.props.disabledDate,a=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return r?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return r?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(ae(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(ie(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return o&&o(a)||e.onSelect(a,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var r=n.props.defaultValue;r&&Object(W.h)(r,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(W.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=oe.getInstance(),r=e.rootInstance;!r||r.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(le(e.state.value,t,n))}};Object(b.polyfill)(ue);var pe=Object(Z.c)(Object(Q.a)(ue)),de=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));return r.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,o=r.state.value,a=r.props.disabledDate,i=o;switch(t){case y.a.DOWN:(i=o.clone()).add(3,"months");break;case y.a.UP:(i=o.clone()).add(-3,"months");break;case y.a.LEFT:i=o.clone(),n?i.add(-1,"years"):i.add(-1,"months");break;case y.a.RIGHT:i=o.clone(),n?i.add(1,"years"):i.add(1,"months");break;case y.a.ENTER:return a&&a(o)||r.onSelect(o),e.preventDefault(),1;default:return}if(i!==o)return r.setValue(i),e.preventDefault(),1},r.handlePanelChange=function(e,t){"date"!==t&&r.setState({mode:t})},r.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,r=t.value,o=p.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},p.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},p.a.createElement(Y,{prefixCls:e.prefixCls,mode:n,value:r,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),p.a.createElement(G,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:o})},t}(p.a.Component);de.propTypes=o()({},Z.b,Q.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=o()({},Q.b,Z.a);var he=Object(b.polyfill)(Object(Z.c)(Object(Q.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Oe(){}function Ce(e,t){this[e]=t}var we=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));ke.call(r);var o=void 0;o="open"in n?n.open:n.defaultOpen;var a=n.value||n.defaultValue;return r.saveCalendarRef=Ce.bind(r,"calendarInstance"),r.state={open:o,value:a},r}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,r=e.open;return"value"in e&&(t.value=n),void 0!==r&&(t.open=r),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,r=e.style,o=e.getCalendarContainer,a=e.align,i=e.animation,l=e.disabled,c=e.dropdownClassName,s=e.transitionName,u=e.children,f=this.state;return p.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:a,builtinPlacements:be,popupPlacement:n,action:l&&!f.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:o,popupStyle:r,popupAnimation:i,popupTransitionName:s,popupVisible:f.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:c},p.a.cloneElement(u(f,e),{onKeyDown:this.onKeyDown}))},t}(p.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Oe,onOpenChange:Oe,onBlur:Oe};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.props;"value"in r||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!r.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),r.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,r=t.calendar.props,o=n.value,a=o,i={ref:e.saveCalendarRef,defaultValue:a||r.defaultValue,selectedValue:o,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(r.onOk,e.onCalendarOk),onSelect:Object(me.a)(r.onSelect,e.onCalendarSelect),onClear:Object(me.a)(r.onClear,e.onCalendarClear),onBlur:Object(me.a)(r.onBlur,e.onCalendarBlur)};return p.a.cloneElement(t.calendar,i)},this.setOpen=function(t,n){var r=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),r(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Se=we,Pe=n("BGR+"),Ee=n("CtXQ"),je=n("H84U"),xe=n("6CfX"),_e=n("veqR"),De=n("RqAY");function Ne(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}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 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 Ie(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){for(var n=0;n<t.length;n++){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 Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t){return!t||"object"!==Te(t)&&"function"!=typeof t?Ae(e):t}function Ae(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Le(){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 He(e){return(He=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){var t=function(t){!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&&Me(e,t)}(l,t);var n,r,o,a,i=(n=l,function(){var e,t=He(n);if(Le()){var r=He(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return Fe(this,e)});function l(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Ae(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,Ne(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Ae(n),r=t.prefixCls;return e?f.createElement("div",{className:"".concat(r,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var r,o,a=t.getPrefixCls,i=n.state,l=i.value,c=i.showDate,s=i.open,u=Object(Pe.a)(n.props,["onChange"]),p=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=a("calendar",p);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=x()((Ie(r={},"".concat(v,"-time"),u.showTime),Ie(r,"".concat(v,"-month"),he===e),r));l&&h&&l.locale(h);var O={},C={},w={};u.showTime?(C={onSelect:n.handleChange},w.minWidth=195):O={onChange:n.handleChange},"mode"in u&&(C.mode=u.mode),Object(xe.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=f.createElement(e,Ve({},C,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(X)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:c})),S=!u.disabled&&u.allowClear&&l?f.createElement(Ee.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,P=m&&(f.isValidElement(m)?f.cloneElement(m,{className:x()((o={},Ie(o,m.props.className,m.props.className),Ie(o,"".concat(v,"-picker-icon"),!0),o))}):f.createElement("span",{className:"".concat(v,"-picker-icon")},m))||f.createElement(Ee.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),E=Object(De.a)(u),j=function(e){var t=e.value;return f.createElement("div",null,f.createElement("input",Ve({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:Ne(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},E)),S,P)};return f.createElement("span",{id:u.id,className:x()(u.className,u.pickerClass),style:Ve(Ve({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},f.createElement(Se,Ve({},u,O,{calendar:k,value:l,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:s,onOpenChange:n.handleOpenChange}),j))};var r=t.value||t.defaultValue;if(r&&!Object(_e.a)(X).isMoment(r))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:r,showDate:r,open:!1},n}return r=l,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},r=t.open;return"open"in e&&(n.open=e.open,r=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!r&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(o=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderPicker)}}])&&Re(r.prototype,o),a&&Re(r,a),l}(f.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}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 We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=We(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Be(r):o,qe(Be(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var r=n.props,o=r.format,a=r.hourOptions,i=r.minuteOptions,l=r.secondOptions,c=r.disabledHours,s=r.disabledMinutes,u=r.disabledSeconds,f=r.onChange;if(t){var p=n.props.value,d=n.getProtoValue().clone(),h=J()(t,o,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),a.indexOf(d.hour())<0||i.indexOf(d.minute())<0||l.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=c(),v=s(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(p){if(p.hour()!==d.hour()||p.minute()!==d.minute()||p.second()!==d.second()){var b=p.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),f(b)}}else p!==d&&f(d)}else f(null);n.setState({invalid:!1})})),qe(Be(n),"onKeyDown",(function(e){var t=n.props,r=t.onEsc,o=t.onKeyDown;27===e.keyCode&&r(),o(e)}));var a=e.value,i=e.format;return n.state={str:a&&a.format(i)||"",invalid:!1},n}var n,r,o;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&&Ke(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,r=t.format;n!==e.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.placeholder,o=t.inputReadOnly,a=this.state,i=a.invalid,l=a.str,c=i?"".concat(n,"-input-invalid"):"";return p.a.createElement("input",{className:x()("".concat(n,"-input"),c),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:l,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var e=this.props.prefixCls;return p.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&Ye(n.prototype,r),o&&Ye(n,o),t}(f.Component);qe(ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),qe(ze,"defaultProps",{inputReadOnly:!1});var Ge=ze,Ze=n("hxti"),Qe=n.n(Ze);function Xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ot=function(e){function t(){var e,n;Xe(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return rt(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(o)))),"state",{active:!1}),rt(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),rt(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),rt(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),rt(tt(n),"saveList",(function(e){n.list=e})),n}var n,r,o;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&&nt(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,r=t.selectedIndex,o=t.prefixCls,a=t.onEsc;return n.map((function(t,n){var i,l=x()((rt(i={},"".concat(o,"-select-option-selected"),r===n),rt(i,"".concat(o,"-select-option-disabled"),t.disabled),i)),c=t.disabled?void 0:function(){e.onSelect(t.value)};return p.a.createElement("li",{role:"button",onClick:c,className:l,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?c():27===e.keyCode&&a()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),r=h.a.findDOMNode(this.list);if(r){var o=t;o<0&&(o=0),function e(t,n,r){if(r<=0)Qe()((function(){t.scrollTop=n}));else{var o=(n-t.scrollTop)/r*10;Qe()((function(){t.scrollTop+=o,t.scrollTop!==n&&e(t,n,r-10)}))}}(n,r.children[o].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,r=this.state.active;if(0===n.length)return null;var o=x()("".concat(t,"-select"),rt({},"".concat(t,"-select-active"),r));return p.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},p.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,r),o&&Je(n,o),t}(f.Component);rt(ot,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var at=ot;function it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){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 ct(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,t){return(ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var r=!1;return t&&t.indexOf(e)>=0&&(r=!0),{value:n,disabled:r}},ht=function(e){function t(){var e,n;it(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return pt(ut(n=ct(this,(e=st(t)).call.apply(e,[this].concat(o)))),"onItemChange",(function(e,t){var r=n.props,o=r.onChange,a=r.defaultOpenValue,i=r.use12Hours,l=r.value,c=r.isAM,s=r.onAmPmChange,u=(l||a).clone();if("hour"===e)i?c?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var f=t.toUpperCase();i&&("PM"===f&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===f&&u.hour()>=12&&u.hour(u.hour()-12)),s(f)}else u.second(+t);o(u)})),pt(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,r,o;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&&ft(e,t)}(t,e),n=t,(r=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,i=n.showHour,l=n.use12Hours,c=n.onEsc;if(!i)return null;var s,u,f=a();return l?(s=[12].concat(o.filter((function(e){return e<12&&e>0}))),u=e%12||12):(s=o,u=e),p.a.createElement(at,{prefixCls:r,options:s.map((function(e){return dt(e,f)})),selectedIndex:s.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,i=n.defaultOpenValue,l=n.showMinute,c=n.value,s=n.onEsc;if(!l)return null;var u=a((c||i).hour());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,u)})),selectedIndex:o.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:s})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,i=n.showSecond,l=n.defaultOpenValue,c=n.value,s=n.onEsc;if(!i)return null;var u=c||l,f=a(u.hour(),u.minute());return p.a.createElement(at,{prefixCls:r,options:o.map((function(e){return dt(e,f)})),selectedIndex:o.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:s})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.use12Hours,o=t.format,a=t.isAM,i=t.onEsc;if(!r)return null;var l=["am","pm"].map((function(e){return o.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),c=a?0:1;return p.a.createElement(at,{prefixCls:n,options:l,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:i})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,r=e.value||n;return p.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&<(n.prototype,r),o&<(n,o),t}(f.Component);pt(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(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 yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t){for(var n=0;n<t.length;n++){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 gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ct(e):t}function Ot(e){return(Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(){}function Pt(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=[],a=0;a<e;a+=r)(!t||t.indexOf(a)<0||!n)&&o.push(a);return o}var Et=function(e){function t(){var e,n;yt(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return kt(Ct(n=gt(this,(e=Ot(t)).call.apply(e,[this].concat(o)))),"state",{}),kt(Ct(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ct(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ct(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ct(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,r=(0,e.disabledHours)();return t&&Array.isArray(r)&&(r=n.isAM()?r.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):r.map((function(e){return 12===e?12:e-12}))),r})),n}var n,r,o;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&&wt(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(r=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.placeholder,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.showHour,c=e.showMinute,s=e.showSecond,u=e.format,f=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,O=e.minuteStep,C=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,S=this.state,P=S.value,E=S.currentSelectPanel,j=this.disabledHours(),_=o(P?P.hour():null),D=a(P?P.hour():null,P?P.minute():null),N=Pt(24,j,i,g),T=Pt(60,_,i,O),V=Pt(60,D,i,C),I=function(e,t,n,r){var o=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],a=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],i=r.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(o,":").concat(a,":").concat(i),"HH:mm:ss")}(f,N,T,V);return p.a.createElement("div",{className:x()(n,"".concat(t,"-inner"))},p.a.createElement(Ge,{clearText:d,prefixCls:t,defaultOpenValue:I,value:P,currentSelectPanel:E,onEsc:h,format:u,placeholder:r,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),p.a.createElement(mt,{prefixCls:t,value:P,defaultOpenValue:I,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:l,showMinute:c,showSecond:s,hourOptions:N,minuteOptions:T,secondOptions:V,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,r),o&&bt(n,o),t}(f.Component);kt(Et,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Et,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:St,disabledHours:St,disabledMinutes:St,disabledSeconds:St,defaultOpenValue:J()(),use12Hours:!1,addon:St,onKeyDown:St,onAmPmChange:St,inputReadOnly:!1}),Object(b.polyfill)(Et);var jt=Et,xt=n("61s2"),_t=n("YMnH"),Dt={adjustX:1,adjustY:1},Nt=[0,0],Tt={bottomLeft:{points:["tl","tl"],overflow:Dt,offset:[0,-3],targetOffset:Nt},bottomRight:{points:["tr","tr"],overflow:Dt,offset:[0,-3],targetOffset:Nt},topRight:{points:["br","br"],overflow:Dt,offset:[0,3],targetOffset:Nt},topLeft:{points:["bl","bl"],overflow:Dt,offset:[0,3],targetOffset:Nt}};function Vt(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 It(e,t){for(var n=0;n<t.length;n++){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 Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ft(e,t){return(Ft=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lt(){}function Ht(e,t){this[e]=t}var Ut=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=Rt(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?Mt(r):o,At(Mt(n),"onPanelChange",(function(e){n.setValue(e)})),At(Mt(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),At(Mt(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),At(Mt(n),"onVisibleChange",(function(e){n.setOpen(e)})),At(Mt(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),At(Mt(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Ht.bind(Mt(n),"picker"),n.savePanelRef=Ht.bind(Mt(n),"panelInstance");var a=e.defaultOpen,i=e.defaultValue,l=e.open,c=void 0===l?a:l,s=e.value,u=void 0===s?i:s;return n.state={open:c,value:u},n}var n,r,o;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&&Ft(e,t)}(t,e),n=t,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(n),!0).forEach((function(t){At(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(r=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,r=e.showMinute,o=e.showSecond,a=e.use12Hours;return t||(a?[n?"h":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",r?"mm":"",o?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.disabledHours,o=e.disabledMinutes,a=e.disabledSeconds,i=e.hideDisabledOptions,l=e.inputReadOnly,c=e.showHour,s=e.showMinute,u=e.showSecond,f=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,O=e.secondStep,C=e.clearIcon,w=this.state.value;return p.a.createElement(jt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:l,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:f,showHour:c,showMinute:s,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:i,use12Hours:m,hourStep:b,minuteStep:g,secondStep:O,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:C})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,r=e.showSecond,o=e.use12Hours,a=e.prefixCls,i=e.popupClassName,l=0;return t&&(l+=1),n&&(l+=1),r&&(l+=1),o&&(l+=1),x()(i,At({},"".concat(a,"-panel-narrow"),!(t&&n&&r||o)),"".concat(a,"-panel-column-").concat(l))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,r=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):r({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,i=n.clearText,l=n.disabled;if(!o||!t||l)return null;if(p.a.isValidElement(a)){var c=(a.props||{}).onClick;return p.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return p.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:i,onClick:this.onClear,tabIndex:0},a||p.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,r=e.placement,o=e.align,a=e.id,i=e.disabled,l=e.transitionName,c=e.style,s=e.className,u=e.getPopupContainer,f=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,O=this.state,C=O.open,w=O.value,k=this.getPopupClassName();return p.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Tt,popupPlacement:r,action:i?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:l,popupVisible:C,onPopupVisibleChange:this.onVisibleChange},p.a.createElement("span",{className:x()(t,s),style:c},p.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:f,onKeyDown:this.onKeyDown,disabled:i,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Lt,readOnly:!!y,id:a}),b||p.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&It(n.prototype,r),o&&It(n,o),t}(f.Component);At(Ut,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),At(Ut,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Lt,disabledMinutes:Lt,disabledSeconds:Lt,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Lt,onAmPmChange:Lt,onOpen:Lt,onClose:Lt,onFocus:Lt,onBlur:Lt,addon:Lt,use12Hours:!1,focusOnOpen:!1,onKeyDown:Lt}),Object(b.polyfill)(Ut);var Yt=Ut,Wt=n("RlXo");function Bt(e){return(Bt="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 Kt(){return(Kt=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 qt(e,t){for(var n=0;n<t.length;n++){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 zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Gt(e,t){return!t||"object"!==Bt(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 Zt(){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 Qt(e){return(Qt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Xt=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 Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&zt(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Qt(t);if(Zt()){var r=Qt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Gt(this,e)});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)).getDefaultLocale=function(){return Kt(Kt({},Wt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,r=t.props.onOpenChange;r&&r(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,r=n.onChange,o=n.format,a=void 0===o?"HH:mm:ss":o;r&&r(e,e&&e.format(a)||"")},t.renderTimePicker=function(e){return f.createElement(je.a,null,(function(n){var r=n.getPopupContainer,o=n.getPrefixCls,a=t.props,i=a.getPopupContainer,l=a.prefixCls,c=a.className,s=a.addon,u=a.placeholder,p=Xt(a,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=p.size,h=Object(Pe.a)(p,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=o("time-picker",l),y=x()(c,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return f.createElement(Yt,Kt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:i||r,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return s?f.createElement("div",{className:"".concat(v,"-panel-addon")},s(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(xe.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&f.isValidElement(t)&&f.cloneElement(t,{className:x()(t.props.className,"".concat(e,"-clock-icon"))})||f.createElement(Ee.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return f.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&f.isValidElement(t)?f.cloneElement(t,{className:x()(t.props.className,n)}):f.createElement(Ee.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&qt(n.prototype,r),o&&qt(n,o),i}(f.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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 rn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t){for(var n=0;n<t.length;n++){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 an(e,t){return(an=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 cn(){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 sn(e){return(sn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},fn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function pn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(xe.a)(!Object(_e.a)(X).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&an(e,t)}(c,n);var r,o,a,i,l=(r=c,function(){var e,t=sn(r);if(cn()){var n=sn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function c(){var n;return rn(this,c),(n=l.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},xt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(r,o){var a=n.props,i=a.format,l=a.showTime,c=l?"".concat(t,"Time"):t,s=i||r[fn[c]]||un[c];return f.createElement(je.a,null,(function(t){var a,i=t.getPrefixCls,c=t.getPopupContainer,u=n.props,p=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||c,b=i("calendar",p),g=i("input",d),O=x()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),C=x()("".concat(b,"-picker-input"),g,(tn(a={},"".concat(g,"-lg"),"large"===m),tn(a,"".concat(g,"-sm"),"small"===m),tn(a,"".concat(g,"-disabled"),v),a)),w=l&&l.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:l&&l.use12Hours}),S=pn(k),P="".concat(b,"-time-picker-column-").concat(S),E=l?f.createElement(jt,nn({},k,l,{prefixCls:"".concat(b,"-time-picker"),className:P,placeholder:r.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return f.createElement(e,nn({},n.props,{getCalendarContainer:y,format:s,ref:n.savePicker,pickerClass:O,pickerInputClass:C,locale:r,localeCode:o,timePicker:E,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return o=c,i=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&on(o.prototype,a),i&&on(o,i),c}(f.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return i()(this,t),c()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,r=e.hoverValue,a=e.selectedValue,i=e.mode,l=e.direction,c=e.locale,s=e.format,u=e.placeholder,f=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,O=e.enablePrev,C=e.enableNext,w=e.clearIcon,k=e.showClear,S=e.inputMode,P=v&&d,E=P&&h?Object(W.c)(a,h):null,j=t+"-range",x={locale:c,value:n,prefixCls:t,showTimePicker:v},_="left"===l?0:1,D=P&&p.a.cloneElement(d,o()({showHour:!0,showMinute:!0,showSecond:!0},d.props,E,m,{onChange:y,defaultOpenValue:n,value:a[_]})),N=e.showDateInput&&p.a.createElement(oe,{format:s,locale:c,prefixCls:t,timePicker:d,disabledDate:f,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:a[_],onChange:y,onSelect:b,clearIcon:w,inputMode:S});return p.a.createElement("div",{className:j+"-part "+j+"-"+l},N,p.a.createElement("div",{style:{outline:"none"}},p.a.createElement(Y,o()({},x,{mode:i,enableNext:C,enablePrev:O,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?p.a.createElement("div",{className:t+"-time-picker"},p.a.createElement("div",{className:t+"-time-picker-panel"},D)):null,p.a.createElement("div",{className:t+"-body"},p.a.createElement(g.a,o()({},x,{hoverValue:r,selectedValue:a,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:f,showWeekNumber:e.showWeekNumber})))))},t}(p.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function On(e,t){var n,r=e.selectedValue||t&&e.defaultSelectedValue,o=e.value||t&&e.defaultValue,a=gn(o||r);return n=a,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?a:t&&[J()(),J()().add(1,"months")]}function Cn(e,t){for(var n=t?t().concat():[],r=0;r<e;r++)-1===n.indexOf(r)&&n.push(r);return n}function wn(e,t,n){if(t){var r=this.state.selectedValue.concat(),o="left"===e?0:1;r[o]=t,r[0]&&this.compare(r[0],r[1])>0&&(r[1-o]=this.state.showTimePicker?r[o]:void 0),this.props.onInputSelect(r),this.fireSelectValueChange(r,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){i()(this,t);var r=c()(this,e.call(this,n));Sn.call(r);var o=n.selectedValue||n.defaultSelectedValue,a=On(n,1);return r.state={selectedValue:o,prevSelectedValue:o,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:a,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},r}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=On(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,r=this.state,a=n.prefixCls,i=n.dateInputPlaceholder,l=n.seperator,c=n.timePicker,s=n.showOk,u=n.locale,f=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=r.hoverValue,y=r.selectedValue,b=r.mode,g=r.showTimePicker,O=((e={})[n.className]=!!n.className,e[a]=1,e[a+"-hidden"]=!n.visible,e[a+"-range"]=1,e[a+"-show-time-picker"]=g,e[a+"-week-number"]=n.showWeekNumber,e),C=x()(O),w={selectedValue:r.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,S=void 0;i&&(Array.isArray(i)?(k=i[0],S=i[1]):k=S=i);var P=!0===s||!1!==s&&!!c,E=x()(((t={})[a+"-footer"]=!0,t[a+"-range-bottom"]=!0,t[a+"-footer-show-ok"]=P,t)),j=this.getStartValue(),_=this.getEndValue(),D=Object(W.e)(j),N=D.month(),T=D.year(),V=j.year()===T&&j.month()===N||_.year()===T&&_.month()===N,I=j.clone().add(1,"months"),R=I.year()===_.year()&&I.month()===_.month(),M=n.renderFooter();return p.a.createElement("div",{ref:this.saveRoot,className:C,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),p.a.createElement("div",{className:a+"-panel"},f&&y[0]&&y[1]?p.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||p.a.createElement("span",{className:a+"-clear-btn"})):null,p.a.createElement("div",{className:a+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:j,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),p.a.createElement("span",{className:a+"-range-middle"},l),p.a.createElement(vn,o()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:S,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:c,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),p.a.createElement("div",{className:E},d||n.timePicker||P||M?p.a.createElement("div",{className:a+"-footer-btn"},M,d?p.a.createElement(B,o()({},n,{disabled:V,value:r.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?p.a.createElement(q,o()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,P?p.a.createElement(K,o()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(p.a.Component);kn.propTypes=o()({},Q.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=o()({},Q.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var Sn=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,r=e.state,o=r.selectedValue,a=r.prevSelectedValue,i=r.firstSelectedValue,l=void 0;if("both"===n)i?e.compare(i,t)<0?(Object(W.h)(a[1],t),l=[i,t]):(Object(W.h)(a[0],t),Object(W.h)(a[1],i),l=[t,i]):(Object(W.h)(a[0],t),l=[t]);else if("start"===n){Object(W.h)(a[0],t);var c=o[1];l=c&&e.compare(c,t)>0?[t,c]:[t]}else{var s=o[0];s&&e.compare(s,t)<=0?(Object(W.h)(a[1],t),l=[s,t]):(Object(W.h)(a[0],t),l=[t])}e.fireSelectValueChange(l)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,r=t.ctrlKey||t.metaKey,o=e.state,a=o.selectedValue,i=o.hoverValue,l=o.firstSelectedValue,c=o.value,s=e.props,u=s.onKeyDown,f=s.disabledDate,p=function(n){var r=void 0,o=void 0,s=void 0;if(l?1===i.length?(r=i[0].clone(),o=n(r),s=e.onDayHover(o)):(r=i[0].isSame(l,"day")?i[1]:i[0],o=n(r),s=e.onDayHover(o)):(r=i[0]||a[0]||c[0]||J()(),s=[o=n(r)],e.fireHoverValueChange(s)),s.length>=2){if(s.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(c,e,"month")}))){var u=s.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===s.length){var f=c.findIndex((function(e){return e.isSame(r,"month")}));if(-1===f&&(f=0),c.every((function(e){return!e.isSame(o,"month")}))){var p=c.slice();p[f]=o.clone(),e.fireValueChange(p)}}return t.preventDefault(),o};switch(n){case y.a.DOWN:return void p((function(e){return le(e,1,"weeks")}));case y.a.UP:return void p((function(e){return le(e,-1,"weeks")}));case y.a.LEFT:return void p(r?function(e){return le(e,-1,"years")}:function(e){return le(e,-1,"days")});case y.a.RIGHT:return void p(r?function(e){return le(e,1,"years")}:function(e){return le(e,1,"days")});case y.a.HOME:return void p((function(e){return ae(e)}));case y.a.END:return void p((function(e){return ie(e)}));case y.a.PAGE_DOWN:return void p((function(e){return le(e,1,"month")}));case y.a.PAGE_UP:return void p((function(e){return le(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===i.length?p((function(e){return e})):1===i.length?i[0]:i[0].isSame(l,"day")?i[1]:i[0])||f&&f(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],r=e.state,o=r.selectedValue,a=r.firstSelectedValue,i=e.props.type;if("start"===i&&o[1])n=e.compare(t,o[1])<0?[t,o[1]]:[t];else if("end"===i&&o[0])n=e.compare(t,o[0])>0?[o[0],t]:[];else{if(!a)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,a)<0?[t,a]:[a,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(W.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["left"].concat(n);return wn.apply(e,o)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=["right"].concat(n);return wn.apply(e,o)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var r=e.props,o=e.state,a=[n,o.mode[1]],i={panelTriggerSource:"start"};"mode"in r||(i.mode=a),e.setState(i);var l=[t||o.value[0],o.value[1]];r.onPanelChange(l,a)},this.onEndPanelChange=function(t,n){var r=e.props,o=e.state,a=[o.mode[0],n],i={panelTriggerSource:"end"};"mode"in r||(i.mode=a),e.setState(i);var l=[o.value[0],t||o.value[1]];r.onPanelChange(l,a)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,r=t.showTimePicker,o=t.value,a=t.mode,i=t.panelTriggerSource,l=o[0];return n[0]&&e.props.timePicker&&(l=l.clone(),Object(W.h)(n[0],l)),r&&n[0]&&(l=n[0]),"end"===i&&"date"===a[0]&&"date"===a[1]&&l.isSame(o[1],"month")&&(l=l.clone().subtract(1,"month")),l},this.getEndValue=function(){var t=e.state,n=t.value,r=t.selectedValue,o=t.showTimePicker,a=t.mode,i=t.panelTriggerSource,l=n[1]?n[1].clone():n[0].clone().add(1,"month");return r[1]&&e.props.timePicker&&Object(W.h)(r[1],l),o&&(l=r[1]?r[1]:e.getStartValue()),!o&&"end"!==i&&"date"===a[0]&&"date"===a[1]&&l.isSame(n[0],"month")&&(l=l.clone().add(1,"month")),l},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,r=t.value,o=(0,e.props.disabledTime)(n,"end")||{},a=n&&n[0]||r[0].clone();if(!n[1]||a.isSame(n[1],"day")){var i=a.hour(),l=a.minute(),c=a.second(),s=o.disabledHours,u=o.disabledMinutes,f=o.disabledSeconds,p=u?u():[],d=f?f():[];return s=Cn(i,s),u=Cn(l,u),f=Cn(c,f),{disabledHours:function(){return s},disabledMinutes:function(e){return e===i?u:p},disabledSeconds:function(e,t){return e===i&&t===l?f:d}}}return o},this.isAllowedDateAndTime=function(t){return Object(W.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(W.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,r){var o=e.props.timePicker,a=e.state.prevSelectedValue;if(o&&o.props.defaultValue){var i=o.props.defaultValue;!a[0]&&t[0]&&Object(W.h)(i[0],t[0]),!a[1]&&t[1]&&Object(W.h)(i[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var l=t[0]||J()(),c=t[1]||l.clone().add(1,"months");e.setState({selectedValue:t,value:gn([l,c])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,r))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Pn=Object(Q.a)(kn),En=n("Gytx"),jn=n.n(En),xn=n("mr32");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 Dn(e){var t,n=e.suffixIcon,r=e.prefixCls;return n&&(f.isValidElement(n)?f.cloneElement(n,{className:x()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(r,"-picker-icon"),!0),t))}):f.createElement("span",{className:"".concat(r,"-picker-icon")},n))||f.createElement(Ee.default,{type:"calendar",className:"".concat(r,"-picker-icon")})}function Nn(e){return(Nn="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 Tn(){return(Tn=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 Vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(e,t){for(var n=0;n<t.length;n++){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 Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mn(e,t){return!t||"object"!==Nn(t)&&"function"!=typeof t?Fn(e):t}function Fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(){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 Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hn(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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Un(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Un(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 Un(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 Yn(e,t){var n=Hn(e,2),r=n[0],o=n[1];if(r||o)return t&&"month"===t[0]?[r,o]:[r,o&&o.isSame(r,"month")?o.clone().add(1,"month"):o]}function Wn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Bn(e,t){if(t&&e&&0!==e.length){var n=Hn(e,2),r=n[0],o=n[1];r&&r.locale(t),o&&o.locale(t)}}var Kn=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&&Rn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=Ln(t);if(An()){var r=Ln(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mn(this,e)});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)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=Fn(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var r=Hn(e,2),o=r[0],a=r[1];"function"==typeof n.onChange&&n.onChange(e,[Ne(o,n.format),Ne(a,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Hn(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Yn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,r=n.onOk,o=n.onOpenChange;r&&r(e),o&&o(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,r=e.renderExtraFooter,o=Fn(t),a=o.prefixCls,i=o.tagPrefixCls;if(!n&&!r)return null;var l=r?f.createElement("div",{className:"".concat(a,"-footer-extra"),key:"extra"},r()):null,c=n&&Object.keys(n).map((function(e){var r=n[e],o="function"==typeof r?r.call(Fn(t)):r;return f.createElement(xn.default,{key:e,prefixCls:i,color:"blue",onClick:function(){return t.handleRangeClick(r)},onMouseEnter:function(){return t.setState({hoverValue:o})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[c&&c.length>0?f.createElement("div",{className:"".concat(a,"-footer-extra ").concat(a,"-range-quick-selector"),key:"range"},c):null,l]},t.renderRangePicker=function(e){var n,r=e.getPrefixCls,o=Fn(t),a=o.state,i=o.props,l=a.value,c=a.showDate,s=a.hoverValue,u=a.open,p=i.prefixCls,d=i.tagPrefixCls,h=i.popupStyle,m=i.style,v=i.disabledDate,y=i.disabledTime,b=i.showTime,g=i.showToday,O=i.ranges,C=i.onOk,w=i.locale,k=i.localeCode,S=i.format,P=i.dateRender,E=i.onCalendarChange,j=i.suffixIcon,_=i.separator,D=r("calendar",p),N=r("tag",d);t.prefixCls=D,t.tagPrefixCls=N,Bn(l,k),Bn(c,k),Object(xe.a)(!("onOK"in i),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var T=x()((Vn(n={},"".concat(D,"-time"),b),Vn(n,"".concat(D,"-range-with-ranges"),O),n)),V={onChange:t.handleChange},I={onOk:t.handleChange};i.timePicker?V.onChange=function(e){return t.handleChange(e)}:I={},"mode"in i&&(I.mode=i.mode);var R=Array.isArray(i.placeholder)?i.placeholder[0]:w.lang.rangePlaceholder[0],M=Array.isArray(i.placeholder)?i.placeholder[1]:w.lang.rangePlaceholder[1],F=f.createElement(Pn,Tn({},I,{seperator:_,onChange:E,format:S,prefixCls:D,className:T,renderFooter:t.renderFooter,timePicker:i.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,M],locale:w.lang,onOk:C,dateRender:P,value:c,onValueChange:t.handleShowDateChange,hoverValue:s,onHoverChange:t.handleHoverChange,onPanelChange:i.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),A={};i.showTime&&(A.width=m&&m.width||350);var L=Hn(l,2),H=L[0],U=L[1],Y=!i.disabled&&i.allowClear&&l&&(H||U)?f.createElement(Ee.default,{type:"close-circle",className:"".concat(D,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,W=f.createElement(Dn,{suffixIcon:j,prefixCls:D}),B=function(e){var t=Hn(e.value,2),n=t[0],r=t[1];return f.createElement("span",{className:i.pickerInputClass},f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(n,i.format),placeholder:R,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),f.createElement("span",{className:"".concat(D,"-range-picker-separator")}," ",_," "),f.createElement("input",{disabled:i.disabled,readOnly:!0,value:Ne(r,i.format),placeholder:M,className:"".concat(D,"-range-picker-input"),tabIndex:-1}),Y,W)};return f.createElement("span",{ref:t.savePicker,id:"number"==typeof i.id?i.id.toString():i.id,className:x()(i.className,i.pickerClass),style:Tn(Tn({},m),A),tabIndex:i.disabled?-1:0,onFocus:i.onFocus,onBlur:i.onBlur,onMouseEnter:i.onMouseEnter,onMouseLeave:i.onMouseLeave},f.createElement(Se,Tn({},i,V,{calendar:F,value:l,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(D,"-picker-container"),style:h}),B))};var n=e.value||e.defaultValue||[],r=Hn(n,2),o=r[0],l=r[1];if(o&&!Object(_e.a)(X).isMoment(o)||l&&!Object(_e.a)(X).isMoment(l))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var c,s=n&&(c=n,!Array.isArray(c)||0!==c.length&&!c.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Wn(s||Object(_e.a)(X)()),open:e.open,hoverValue:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var r=e.value||[];n={value:r},jn()(e.value,t.value)||(n=Tn(Tn({},n),{showDate:Yn(r,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Tn(Tn({},n),{open:e.open})),n}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderRangePicker)}}])&&In(n.prototype,r),o&&In(n,o),i}(f.Component);Kn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Kn);var qn=Kn;function zn(e){return(zn="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 Gn(){return(Gn=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 Zn(e,t){for(var n=0;n<t.length;n++){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 Qn(e,t){return(Qn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 er(e){return(er=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var tr=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&&Qn(e,t)}(i,e);var t,n,r,o,a=(t=i,function(){var e,n=er(t);if($n()){var r=er(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Xn(this,e)});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)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,r=Jn(t).prefixCls,o=t.props.dateRender,a=o?o(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?f.createElement("div",{className:"".concat(r,"-selected-day")},f.createElement("div",{className:"".concat(r,"-date")},a)):f.createElement("div",{className:"".concat(r,"-date")},a)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,r=e.renderExtraFooter;return r?f.createElement("div",{className:"".concat(n,"-footer-extra")},r.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,r=t.props,o=r.prefixCls,a=r.className,i=r.disabled,l=r.pickerClass,c=r.popupStyle,s=r.pickerInputClass,u=r.format,p=r.allowClear,d=r.locale,h=r.localeCode,m=r.disabledDate,v=r.style,y=r.onFocus,b=r.onBlur,g=r.id,O=r.suffixIcon,C=r.defaultPickerValue,w=n("calendar",o);t.prefixCls=w;var k=t.state,S=k.open,P=k.value;P&&h&&P.locale(h);var E="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,j=f.createElement(pe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:C}),_=!i&&p&&t.state.value?f.createElement(Ee.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,D=f.createElement(Dn,{suffixIcon:O,prefixCls:w}),N=function(e){var n=e.value;return f.createElement("span",{style:{display:"inline-block",width:"100%"}},f.createElement("input",{ref:t.saveInput,disabled:i,readOnly:!0,value:n&&n.format(u)||"",placeholder:E,className:s,onFocus:y,onBlur:b}),_,D)};return f.createElement("span",{className:x()(a,l),style:v,id:g},f.createElement(Se,Gn({},t.props,{calendar:j,prefixCls:"".concat(w,"-picker-container"),value:P,onChange:t.handleChange,open:S,onOpenChange:t.handleOpenChange,style:c}),N))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(X).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return f.createElement(je.a,null,this.renderWeekPicker)}}])&&Zn(n.prototype,r),o&&Zn(n,o),i}(f.Component);tr.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(tr);var nr=tr;function rr(){return(rr=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 or=hn(Ue(pe),"date"),ar=hn(Ue(he),"month");rr(or,{RangePicker:hn(qn,"date"),MonthPicker:ar,WeekPicker:hn(nr,"week")});t.default=or},"01ui":function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.state={},a=n,i()(r,a)}return c()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var o=0;o<3;o++){e.month(n);var a=Object(v.b)(e);t[r][o]={value:n,content:a,title:a},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(v.e)(n),o=this.months(),a=n.month(),i=t.prefixCls,l=t.locale,c=t.contentRender,s=t.cellRender,f=o.map((function(o,f){var p=o.map((function(o){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(o.value),p=t.disabledDate(d)}var m=((f={})[i+"-cell"]=1,f[i+"-cell-disabled"]=p,f[i+"-selected-cell"]=o.value===a,f[i+"-current-cell"]=r.year()===n.year()&&o.value===r.month(),f),v=void 0;if(s){var y=n.clone();y.month(o.value),v=s(y,l)}else{var b=void 0;if(c){var g=n.clone();g.month(o.value),b=c(g,l)}else b=o.content;v=u.a.createElement("a",{className:i+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:o.value,onClick:p?null:function(){return e.chooseMonth(o.value)},title:o.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:f,role:"row"},p)}));return u.a.createElement("table",{className:i+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:i+"-tbody"},f))},t}(s.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(m.polyfill)(y),t.a=y},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),a=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"0ycA":function(e,t){e.exports=function(){return[]}},"13Tz":function(e,t,n){},"1hJj":function(e,t,n){var r=n("e4Nc"),o=n("ftKO"),a=n("3A9y");function i(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},"2ajD":function(e,t){e.exports=function(e){return e!=e}},"3A9y":function(e,t){e.exports=function(e){return this.__data__.has(e)}},"4/ic":function(e,t,n){var r=n("ZWtO");e.exports=function(e){return function(t){return r(t,e)}}},"6JOy":function(e,t,n){},"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)}},"711d":function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},"77Zs":function(e,t,n){var r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7GkX":function(e,t,n){var r=n("b80T"),o=n("A90E"),a=n("MMmD");e.exports=function(e){return a(e)?r(e):o(e)}},"7W5+":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("13Tz"),n("em44"),n("TfFZ")},"7fqy":function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},"8z0m":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("VCL8"),i=n("QbLZ"),l=n.n(i),c=n("iCc5"),s=n.n(c),u=n("V7oC"),f=n.n(u),p=n("FYw3"),d=n.n(p),h=n("mRg0"),m=n.n(h),v=n("17x9"),y=n.n(v),b=n("YEIV"),g=n.n(b),O=n("TSYQ"),C=n.n(O);function w(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function k(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 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,P=0;function E(){return"rc-upload-"+S+"-"+ ++P}var j=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.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)?a===i.replace(/\/.*$/,""):o===i}))}return!0};var x=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,a=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){r(l.value.webkitGetAsEntry())}}catch(e){a=!0,i=e}finally{try{!o&&c.return&&c.return()}finally{if(a)throw i}}},_=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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:E()},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)x(e.dataTransfer.items,r.uploadFiles,(function(e){return j(e,r.props.accept)}));else{var n=Array.prototype.slice.call(e.dataTransfer.files).filter((function(e){return j(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=E(),e})).forEach((function(e){r.upload(e,t)}))},r.saveFileInput=function(e){r.fileInput=e},o=n,d()(r,o)}return m()(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,a=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 c=e.uid,s=n.customRequest||k;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:a?function(t){a(t,e)}:null,onSuccess:function(r,o){delete t.reqs[c],n.onSuccess(r,e,o)},onError:function(r,o){delete t.reqs[c],n.onError(r,o,e)}};t.reqs[c]=s(u),o(e)}))}))}}},{key:"reset",value:function(){this.setState({uid:E()})}},{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,a=t.className,i=t.disabled,c=t.id,s=t.style,u=t.multiple,f=t.accept,p=t.children,d=t.directory,h=t.openFileDialogOnClick,m=C()((e={},g()(e,r,!0),g()(e,r+"-disabled",i),g()(e,a,a),e)),v=i?{}:{onClick:h?this.onClick:function(){},onKeyDown:h?this.onKeyDown:function(){},onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return o.a.createElement(n,l()({},v,{className:m,role:"button",style:s}),o.a.createElement("input",{id:c,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);_.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 D=_,N=n("i8i4"),T=n.n(N),V=n("2W6z"),I=n.n(V),R={position:"absolute",top:0,opacity:0,filter:"alpha(opacity=0)",left:0,zIndex:9999},M=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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,o=void 0;try{var a=r.getIframeDocument(),i=a.getElementsByTagName("script")[0];i&&i.parentNode===a.body&&a.body.removeChild(i),o=a.body.innerHTML,t.onSuccess(o,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"),o="cross-domain",t.onError(e,null,n)}r.endUpload()}},r.onChange=function(){var e=r.getFormInputNode(),t=r.file={uid:E(),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 m()(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=T.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,a=this.props.onStart;"function"==typeof o&&(o=o(e));var i=document.createDocumentFragment();for(var l in o)if(o.hasOwnProperty(l)){var c=document.createElement("input");c.setAttribute("name",l),c.value=o[l],i.appendChild(c)}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="",a(e)}))}},{key:"render",value:function(){var e,t=this.props,n=t.component,r=t.disabled,a=t.className,i=t.prefixCls,c=t.children,s=t.style,u=l()({},R,{display:this.state.uploading||r?"none":""}),f=C()((e={},g()(e,i,!0),g()(e,i+"-disabled",r),g()(e,a,a),e));return o.a.createElement(n,{className:f,style:l()({position:"relative",zIndex:0},s)},o.a.createElement("iframe",{ref:this.saveIframe,onLoad:this.onLoad,style:u}),c)}}]),t}(r.Component);M.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 F=M;function A(){}var L=function(e){function t(){var e,n,r,o;s()(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;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},o=n,d()(r,o)}return m()(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?D:F}},{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);L.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},L.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onReady:A,onStart:A,onError:A,onSuccess:A,supportServerRender:!1,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var H=L,U=n("qPyV"),Y=n.n(U),W=n("UfWW"),B=n.n(W),K=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 z(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 G(e,t){var n=void 0!==e.uid?"uid":"name";return t.filter((function(t){return t[n]===e[n]}))[0]}var Z=function(e){return!!e&&0===e.indexOf("image/")},Q=function(e){if(Z(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("BGR+"),ee=n("H84U"),te=n("CWQg");function ne(e){return!e||e<0?0:e>100?100: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){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,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||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ae(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ae(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 ae(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 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},le=function(e){var t=e.from,n=void 0===t?"#1890ff":t,r=e.to,o=void 0===r?"#1890ff":r,a=e.direction,i=void 0===a?"to right":a,l=ie(e,["from","to","direction"]);if(0!==Object.keys(l).length){var c=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=oe(r[n],2),a=o[0],i=o[1],l=parseFloat(a.replace(/%/g,""));if(isNaN(l))return{};t.push({key:l,value:i})}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(i,", ").concat(c,")")}}return{backgroundImage:"linear-gradient(".concat(i,", ").concat(n,", ").concat(o,")")}},ce=function(e){var t,n=e.prefixCls,o=e.percent,a=e.successPercent,i=e.strokeWidth,l=e.size,c=e.strokeColor,s=e.strokeLinecap,u=e.children;t=c&&"string"!=typeof c?le(c):{background:c};var f=re({width:"".concat(ne(o),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},t),p={width:"".concat(ne(a),"%"),height:i||("small"===l?6:8),borderRadius:"square"===s?0:""},d=void 0!==a?r.createElement("div",{className:"".concat(n,"-success-bg"),style:p}):null;return r.createElement("div",null,r.createElement("div",{className:"".concat(n,"-outer")},r.createElement("div",{className:"".concat(n,"-inner")},r.createElement("div",{className:"".concat(n,"-bg"),style:f}),d)),u)};function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){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 fe(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 pe(e,t,n){return(pe="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=de(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){return function(e){function t(){return se(this,t),fe(this,de(t).apply(this,arguments))}var n,r,o;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&&he(e,t)}(t,e),n=t,(r=[{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 a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",e.prevTimeStamp&&t-e.prevTimeStamp<100&&(a.transitionDuration="0s, 0s")}})),n&&(this.prevTimeStamp=Date.now())}},{key:"render",value:function(){return pe(de(t.prototype),"render",this).call(this)}}])&&ue(n.prototype,r),o&&ue(n,o),t}(e)},ve={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ye=y.a.oneOfType([y.a.number,y.a.string]),be={className:y.a.string,percent:y.a.oneOfType([ye,y.a.arrayOf(ye)]),prefixCls:y.a.string,strokeColor:y.a.oneOfType([y.a.string,y.a.arrayOf(y.a.oneOfType([y.a.string,y.a.object])),y.a.object]),strokeLinecap:y.a.oneOf(["butt","round","square"]),strokeWidth:ye,style:y.a.object,trailColor:y.a.string,trailWidth:ye};function ge(){return(ge=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(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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){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!t||"object"!=typeof t&&"function"!=typeof t?Pe(e):t}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ee(e,t){return(Ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=function(e){function t(){var e,n;Ce(this,t);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return je(Pe(n=ke(this,(e=Se(t)).call.apply(e,[this].concat(o)))),"paths",{}),n}var n,r,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&&Ee(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.percent,a=t.prefixCls,i=t.strokeColor,l=t.strokeLinecap,c=t.strokeWidth,s=t.style,u=t.trailColor,f=t.trailWidth,p=t.transition,d=Oe(t,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete d.gapPosition;var h=Array.isArray(r)?r:[r],m=Array.isArray(i)?i:[i],v=c/2,y=100-c/2,b="M ".concat("round"===l?v:0,",").concat(v,"\n L ").concat("round"===l?y:100,",").concat(v),g="0 0 100 ".concat(c),O=0;return o.a.createElement("svg",ge({className:"".concat(a,"-line ").concat(n),viewBox:g,preserveAspectRatio:"none",style:s},d),o.a.createElement("path",{className:"".concat(a,"-line-trail"),d:b,strokeLinecap:l,stroke:u,strokeWidth:f||c,fillOpacity:"0"}),h.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=m[n]||m[m.length-1];return O+=t,o.a.createElement("path",{key:n,className:"".concat(a,"-line-path"),d:b,strokeLinecap:l,stroke:i,strokeWidth:c,fillOpacity:"0",ref:function(t){e.paths[n]=t},style:r})})))}}])&&we(n.prototype,r),a&&we(n,a),t}(r.Component);xe.propTypes=be,xe.defaultProps=ve;me(xe);function _e(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 De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ne(){return(Ne=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 Te(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 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 Ie(e){return(Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Re(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ae=0;function Le(e){return+e.replace("%","")}function He(e){return Array.isArray(e)?e:[e]}function Ue(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=50-r/2,l=0,c=-i,s=0,u=-2*i;switch(a){case"left":l=-i,c=0,s=2*i,u=0;break;case"right":l=i,c=0,s=-2*i,u=0;break;case"bottom":c=i,u=2*i}var f="M 50,50 m ".concat(l,",").concat(c,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(s,",").concat(-u,"\n a ").concat(i,",").concat(i," 0 1 1 ").concat(-s,",").concat(u),p=2*Math.PI*i,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 Ye=function(e){function t(){var e,n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,e=!(r=Ie(t).call(this))||"object"!=typeof r&&"function"!=typeof r?Re(n):r,Fe(Re(e),"paths",{}),Fe(Re(e),"gradientId",0),e.gradientId=Ae,Ae+=1,e}var n,r,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&&Me(e,t)}(t,e),n=t,(r=[{key:"getStokeList",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.percent,a=t.strokeColor,i=t.strokeWidth,l=t.strokeLinecap,c=t.gapDegree,s=t.gapPosition,u=He(r),f=He(a),p=0;return u.map((function(t,r){var a=f[r]||f[f.length-1],u="[object Object]"===Object.prototype.toString.call(a)?"url(#".concat(n,"-gradient-").concat(e.gradientId,")"):"",d=Ue(p,t,a,i,c,s),h=d.pathString,m=d.pathStyle;return p+=t,o.a.createElement("path",{key:r,className:"".concat(n,"-circle-path"),d:h,stroke:u,strokeLinecap:l,strokeWidth:0===t?0:i,fillOpacity:"0",style:m,ref:function(t){e.paths[r]=t}})}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.strokeWidth,r=e.trailWidth,a=e.gapDegree,i=e.gapPosition,l=e.trailColor,c=e.strokeLinecap,s=e.style,u=e.className,f=e.strokeColor,p=Te(e,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor"]),d=Ue(0,100,l,n,a,i),h=d.pathString,m=d.pathStyle;delete p.percent;var v=He(f).find((function(e){return"[object Object]"===Object.prototype.toString.call(e)}));return o.a.createElement("svg",Ne({className:"".concat(t,"-circle ").concat(u),viewBox:"0 0 100 100",style:s},p),v&&o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"".concat(t,"-gradient-").concat(this.gradientId),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(v).sort((function(e,t){return Le(e)-Le(t)})).map((function(e,t){return o.a.createElement("stop",{key:t,offset:e,stopColor:v[e]})})))),o.a.createElement("path",{className:"".concat(t,"-circle-trail"),d:h,stroke:l,strokeLinecap:c,strokeWidth:r||n,fillOpacity:"0",style:m}),this.getStokeList().reverse())}}])&&Ve(n.prototype,r),a&&Ve(n,a),t}(r.Component);Ye.propTypes=De({},be,{gapPosition:y.a.oneOf(["top","bottom","left","right"])}),Ye.defaultProps=De({},ve,{gapPosition:"top"});var We=me(Ye);var Be={normal:"#108ee9",exception:"#ff5500",success:"#87d068"};function Ke(e){var t=e.percent,n=e.successPercent,r=ne(t);if(!n)return r;var o=ne(n);return[n,ne(r-o)]}var qe=function(e){var t,n,o,a,i,l,c,s=e.prefixCls,u=e.width,f=e.strokeWidth,p=e.trailColor,d=e.strokeLinecap,h=e.gapPosition,m=e.gapDegree,v=e.type,y=e.children,b=u||120,g={width:b,height:b,fontSize:.15*b+6},O=f||6,w=h||"dashboard"===v&&"bottom"||"top",k=m||("dashboard"===v?75:void 0),S=(n=(t=e).progressStatus,o=t.successPercent,a=t.strokeColor||Be[n],o?[Be.success,a]:a),P="[object Object]"===Object.prototype.toString.call(S),E=C()("".concat(s,"-inner"),(i={},l="".concat(s,"-circle-gradient"),c=P,l in i?Object.defineProperty(i,l,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[l]=c,i));return r.createElement("div",{className:E,style:g},r.createElement(We,{percent:Ke(e),strokeWidth:O,trailWidth:O,strokeColor:S,strokeLinecap:d,trailColor:p,prefixCls:s,gapDegree:k,gapPosition:w}),y)};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 Ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(){return(Ze=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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t){for(var n=0;n<t.length;n++){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 Je(e,t){return(Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?et(e):t}function et(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(){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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=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},ot=Object(te.a)("line","circle","dashboard"),at=Object(te.a)("normal","exception","active","success"),it=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&&Je(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=nt(t);if(tt()){var r=nt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return $e(this,e)});function l(){var e;return Qe(this,l),(e=i.apply(this,arguments)).renderProgress=function(t){var n,o,a=t.getPrefixCls,i=et(e).props,l=i.prefixCls,c=i.className,s=i.size,u=i.type,f=i.showInfo,p=rt(i,["prefixCls","className","size","type","showInfo"]),d=a("progress",l),h=e.getProgressStatus(),m=e.renderProcessInfo(d,h);"line"===u?o=r.createElement(ce,Ze({},e.props,{prefixCls:d}),m):"circle"!==u&&"dashboard"!==u||(o=r.createElement(qe,Ze({},e.props,{prefixCls:d,progressStatus:h}),m));var v=C()(d,(Ge(n={},"".concat(d,"-").concat("dashboard"===u?"circle":u),!0),Ge(n,"".concat(d,"-status-").concat(h),!0),Ge(n,"".concat(d,"-show-info"),f),Ge(n,"".concat(d,"-").concat(s),s),n),c);return r.createElement("div",Ze({},Object($.a)(p,["status","format","trailColor","successPercent","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent"]),{className:v}),o)},e}return n=l,(o=[{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 at.indexOf(e)<0&&this.getPercentNumber()>=100?"success":e||"normal"}},{key:"renderProcessInfo",value:function(e,t){var n,o=this.props,a=o.showInfo,i=o.format,l=o.type,c=o.percent,s=o.successPercent;if(!a)return null;var u="circle"===l||"dashboard"===l?"":"-circle";return i||"exception"!==t&&"success"!==t?n=(i||function(e){return"".concat(e,"%")})(ne(c),ne(s)):"exception"===t?n=r.createElement(X.default,{type:"close".concat(u),theme:"line"===l?"filled":"outlined"}):"success"===t&&(n=r.createElement(X.default,{type:"check".concat(u),theme:"line"===l?"filled":"outlined"})),r.createElement("span",{className:"".concat(e,"-text"),title:"string"==typeof n?n:void 0},n)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderProgress)}}])&&Xe(n.prototype,o),a&&Xe(n,a),l}(r.Component);it.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:"#f3f3f3",size:"default",gapDegree:0,strokeLinecap:"round"},it.propTypes={status:v.oneOf(at),type:v.oneOf(ot),showInfo:v.bool,percent:v.number,width:v.number,strokeWidth:v.number,strokeLinecap:v.oneOf(["round","square"]),strokeColor:v.oneOfType([v.string,v.object]),trailColor:v.string,format:v.func,gapDegree:v.number};var lt=it;function ct(e){return(ct="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 st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ut(){return(ut=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 ft(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pt(e,t){for(var n=0;n<t.length;n++){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 dt(e,t){return(dt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(e,t){return!t||"object"!==ct(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 mt(){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 vt(e){return(vt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var yt=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&&dt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=vt(t);if(mt()){var r=vt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ht(this,e)});function l(){var e;return ft(this,l),(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,a=e.props,i=a.prefixCls,l=a.items,c=void 0===l?[]:l,s=a.listType,u=a.showPreviewIcon,f=a.showRemoveIcon,p=a.showDownloadIcon,d=a.locale,h=a.progressAttr,m=o("upload",i),v=c.map((function(t){var n,o,a,i=r.createElement(X.default,{type:"uploading"===t.status?"loading":"paper-clip"});if("picture"===s||"picture-card"===s)if("picture-card"===s&&"uploading"===t.status)i=r.createElement("div",{className:"".concat(m,"-list-item-uploading-text")},d.uploading);else if(t.thumbUrl||t.url){var l=Q(t)?r.createElement("img",{src:t.thumbUrl||t.url,alt:t.name,className:"".concat(m,"-list-item-image")}):r.createElement(X.default,{type:"file",className:"".concat(m,"-list-item-icon"),theme:"twoTone"});i=r.createElement("a",{className:"".concat(m,"-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(m,"-list-item-thumbnail"),type:"picture",theme:"twoTone"});if("uploading"===t.status){var c="percent"in t?r.createElement(lt,ut({type:"line"},h,{percent:t.percent})):null;a=r.createElement("div",{className:"".concat(m,"-list-item-progress"),key:"progress"},c)}var v,y=C()((st(n={},"".concat(m,"-list-item"),!0),st(n,"".concat(m,"-list-item-").concat(t.status),!0),st(n,"".concat(m,"-list-item-list-type-").concat(s),!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,w="picture-card"!==s&&r.createElement("span",{key:"download-delete",className:"".concat(m,"-list-item-card-actions ").concat("picture"===s?"picture":"")},O&&r.createElement("a",{title:d.downloadFile},O),g&&r.createElement("a",{title:d.removeFile},g)),k=C()((st(o={},"".concat(m,"-list-item-name"),!0),st(o,"".concat(m,"-list-item-name-icon-count-").concat([O,g].filter((function(e){return e})).length),!0),o)),S=t.url?[r.createElement("a",ut({key:"view",target:"_blank",rel:"noopener noreferrer",className:k,title:t.name},b,{href:t.url,onClick:function(n){return e.handlePreview(t,n)}}),t.name),w]:[r.createElement("span",{key:"view",className:k,onClick:function(n){return e.handlePreview(t,n)},title:t.name},t.name),w],P=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,E="picture-card"===s&&"uploading"!==t.status&&r.createElement("span",{className:"".concat(m,"-list-item-actions")},P,"done"===t.status&&O,g);v=t.response&&"string"==typeof t.response?t.response:t.error&&t.error.statusText||d.uploadError;var j=r.createElement("span",null,i,S),x=r.createElement("div",{className:y},r.createElement("div",{className:"".concat(m,"-list-item-info")},j),E,r.createElement(K.a,{transitionName:"fade",component:""},a)),_=C()(st({},"".concat(m,"-list-picture-card-container"),"picture-card"===s));return r.createElement("div",{key:t.uid,className:_},"error"===t.status?r.createElement(J.default,{title:v},x):r.createElement("span",null,x))})),y=C()((st(n={},"".concat(m,"-list"),!0),st(n,"".concat(m,"-list-").concat(s),!0),n)),b="picture-card"===s?"animate-inline":"animate";return r.createElement(K.a,{transitionName:"".concat(m,"-").concat(b),component:"div",className:y},v)},e}return n=l,(o=[{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)}}])&&pt(n.prototype,o),a&&pt(n,a),l}(r.Component);yt.defaultProps={listType:"text",progressAttr:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:function(e){return new Promise((function(t){if(Z(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,a=o.height,i=200,l=200,c=0,s=0;e<a?s=-((l=a*(200/e))-i)/2:c=-((i=e*(200/a))-l)/2,r.drawImage(o,c,s,i,l);var u=n.toDataURL();document.body.removeChild(n),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))}};var bt=n("YMnH"),gt=n("ZvpZ"),Ot=n("6CfX");function Ct(e){return(Ct="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 wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kt(){return(kt=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 St(e,t){for(var n=0;n<t.length;n++){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(Pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){return!t||"object"!==Ct(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 jt(){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 xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _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&&Pt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=xt(t);if(jt()){var r=xt(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Et(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).saveUpload=function(e){t.upload=e},t.onStart=function(e){var n=t.state.fileList,r=z(e);r.status="uploading";var o=n.concat(),a=B()(o,(function(e){return e.uid===r.uid}));-1===a?o.push(r):o[a]=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,a=G(n,o);a&&(a.status="done",a.response=e,a.xhr=r,t.onChange({file:kt({},a),fileList:o}))},t.onProgress=function(e,n){var r=t.state.fileList,o=G(n,r);o&&(o.percent=e.percent,t.onChange({event:e,file:kt({},o),fileList:r}))},t.onError=function(e,n,r){t.clearProgressTimer();var o=t.state.fileList,a=G(r,o);a&&(a.error=e,a.response=n,a.status="error",t.onChange({file:kt({},a),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 a=r(e,n);return!1===a?(t.onChange({file:e,fileList:Y()(o.concat(n.map(z)),(function(e){return e.uid}))}),!1):!a||!a.then||a},t.renderUploadList=function(e){var n=t.props,o=n.showUploadList,a=n.listType,i=n.onPreview,l=n.onDownload,c=n.previewFile,s=n.disabled,u=n.locale,f=o.showRemoveIcon,p=o.showPreviewIcon,d=o.showDownloadIcon,h=t.state.fileList;return r.createElement(yt,{listType:a,items:h,previewFile:c,onPreview:i,onDownload:l,onRemove:t.handleRemove,showRemoveIcon:!s&&f,showPreviewIcon:p,showDownloadIcon:d,locale:kt(kt({},e),u)})},t.renderUpload=function(e){var n,o=e.getPrefixCls,a=t.props,i=a.prefixCls,l=a.className,c=a.showUploadList,s=a.listType,u=a.type,f=a.disabled,p=a.children,d=a.style,h=t.state,m=h.fileList,v=h.dragState,y=o("upload",i),b=kt(kt({onStart:t.onStart,onError:t.onError,onProgress:t.onProgress,onSuccess:t.onSuccess},t.props),{prefixCls:y,beforeUpload:t.beforeUpload});delete b.className,delete b.style;var g=c?r.createElement(bt.a,{componentName:"Upload",defaultLocale:gt.a.Upload},t.renderUploadList):null;if("drag"===u){var O,w=C()(y,(wt(O={},"".concat(y,"-drag"),!0),wt(O,"".concat(y,"-drag-uploading"),m.some((function(e){return"uploading"===e.status}))),wt(O,"".concat(y,"-drag-hover"),"dragover"===v),wt(O,"".concat(y,"-disabled"),f),O),l);return r.createElement("span",null,r.createElement("div",{className:w,onDrop:t.onFileDrop,onDragOver:t.onFileDrop,onDragLeave:t.onFileDrop,style:d},r.createElement(H,kt({},b,{ref:t.saveUpload,className:"".concat(y,"-btn")}),r.createElement("div",{className:"".concat(y,"-drag-container")},p))),g)}var k=C()(y,(wt(n={},"".concat(y,"-select"),!0),wt(n,"".concat(y,"-select-").concat(s),!0),wt(n,"".concat(y,"-disabled"),f),n));p&&!f||delete b.id;var S=r.createElement("div",{className:k,style:p?void 0:{display:"none"}},r.createElement(H,kt({},b,{ref:t.saveUpload})));return"picture-card"===s?r.createElement("span",{className:C()(l,"".concat(y,"-picture-card-wrapper"))},g,S):r.createElement("span",{className:l},S,g)},t.state={fileList:e.fileList||e.defaultFileList||[],dragState:"drop"},Object(Ot.a)("fileList"in e||!("value"in e),"Upload","`value` is not validate prop, do you mean `fileList`?"),t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"fileList"in e?{fileList:e.fileList||[]}:null}}],(o=[{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}),a=0;this.clearProgressTimer(),this.progressTimer=setInterval((function(){a=o(a),r.onProgress({percent:100*a},t)}),200)}},{key:"render",value:function(){return r.createElement(ee.a,null,this.renderUpload)}}])&&St(n.prototype,o),a&&St(n,a),l}(r.Component);_t.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0},Object(a.polyfill)(_t);var Dt=_t;function Nt(e){return(Nt="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 Tt(){return(Tt=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 Vt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function It(e,t){for(var n=0;n<t.length;n++){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 Rt(e,t){return(Rt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Mt(e,t){return!t||"object"!==Nt(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 Ft(){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 At(e){return(At=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Lt=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&&Rt(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=At(t);if(Ft()){var r=At(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Mt(this,e)});function l(){return Vt(this,l),i.apply(this,arguments)}return n=l,(o=[{key:"render",value:function(){var e=this.props;return r.createElement(Dt,Tt({},e,{type:"drag",style:Tt(Tt({},e.style),{height:e.height})}))}}])&&It(n.prototype,o),a&&It(n,a),l}(r.Component);Dt.Dragger=Lt;t.default=Dt},A90E:function(e,t,n){var r=n("6sVZ"),o=n("V6Ve"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("CtXQ")),o=f(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},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("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.Dragger,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.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,s.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";u.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,s.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)})),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),i(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,i={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(p,a({},i,{className:this.props.className}),n||c.default.createElement(r.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=d},B8du:function(e,t){e.exports=function(){return!1}},CH3K:function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},CMye:function(e,t,n){var r=n("GoyQ");e.exports=function(e){return e==e&&!r(e)}},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}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),a=t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===a?r.Buffer:void 0,c=(l?l.isBuffer:void 0)||o;e.exports=c}).call(this,n("YuTi")(e))},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("u7YQ");function p(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,r,a;o()(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i()(this,e.call.apply(e,[this].concat(c))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,o=t.timePicker;return e||(e=o?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},a=n,i()(r,a)}return c()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GDhZ:function(e,t,n){var r=n("wF/u"),o=n("mwIZ"),a=n("hgQt"),i=n("9ggG"),l=n("CMye"),c=n("IOzZ"),s=n("9Nap");e.exports=function(e,t){return i(e)&&l(t)?c(s(e),t):function(n){var i=o(n,e);return void 0===i&&i===t?a(n,e):r(t,i,3)}}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return c})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var r=n("QbLZ"),o=n.n(r),a=n("wd/R"),i=n.n(a),l={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function c(e){var t=i()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function s(e){return e.format("LL")}function u(e){return s(c(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){i.a.isMoment(e)&&i.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=o()({},l,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),o=e.minute(),a=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(o))n=-1!==t.disabledSeconds(r,o).indexOf(a);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},HDyB:function(e,t,n){var r=n("nmnc"),o=n("JHRd"),a=n("ljhN"),i=n("or5M"),l=n("7fqy"),c=n("rEGp"),s=r?r.prototype:void 0,u=s?s.valueOf:void 0;e.exports=function(e,t,n,r,s,f,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=l;case"[object Set]":var h=1&r;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;r|=2,p.set(e,t);var v=i(d(e),d(t),r,s,f,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},HOxn:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Promise");e.exports=r},IOzZ:function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Juji:function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},KwMD:function(e,t){e.exports=function(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LGYb:function(e,t,n){var r=n("1hJj"),o=n("jbM+"),a=n("Xt/L"),i=n("xYSL"),l=n("dQpi"),c=n("rEGp");e.exports=function(e,t,n){var s=-1,u=o,f=e.length,p=!0,d=[],h=d;if(n)p=!1,u=a;else if(f>=200){var m=t?null:l(e);if(m)return c(m);p=!1,u=i,h=new r}else h=t?[]:d;e:for(;++s<f;){var v=e[s],y=t?t(v):v;if(v=n||0!==v?v:0,p&&y==y){for(var b=h.length;b--;)if(h[b]===y)continue e;t&&h.push(y),d.push(v)}else u(h,y,n)||(h!==d&&h.push(y),d.push(v))}return d}},LXxW:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("kLXV")),o=p(n("W9HT")),a=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"),c=p(l),s=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,h=this.props.attachments;return c.default.createElement("div",null,h?c.default.createElement("div",{className:"attachmentsList mt5"},h.map((function(t,r){return c.default.createElement("div",{key:r,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:d},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),i?c.default.createElement(a.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(r.default,{title:p,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=d},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MvSz:function(e,t,n){var r=n("LXxW"),o=n("0ycA"),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(e){return null==e?[]:(e=Object(e),r(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=l},"N+me":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("+eQT")),a=g(n("2/Rp")),i=g(n("Vl3Y")),l=g(n("5rEg")),c=g(n("2fM7")),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},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("U8R4"),n("L/Qf"),n("tULf"),n("1vPl"),n("8QGh");var f=n("q1tI"),p=g(f),d=g(n("AySf")),h=g(n("bIax")),m=g(n("p7gc")),v=g(n("wd/R"));n("6JOy");var y=g(n("LZ3y")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default:e}}var O=c.default.Option,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&&!1===n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getSelectList()},n.get_detail=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,r=e.orderId,o="/"+e.owner+"/"+t+"/issues/"+r+"/edit.json";b.default.get(o).then((function(e){if(e){var t={branch_name:e.data.branch_name,issue_tag_ids:[e.data.issue_tags&&e.data.issue_tags[0].id?String(e.data.issue_tags[0].id):""],fixed_version_id:e.data.fixed_version_id?String(e.data.fixed_version_id):"",tracker_id:e.data.tracker_id?String(e.data.tracker_id):"",issue_type:e.data.issue_type,status_id:e.data.status_id?String(e.data.status_id):"",assigned_to_id:e.data.assigned_to_id?String(e.data.assigned_to_id):"",priority_id:e.data.priority_id?String(e.data.priority_id):"",done_ratio:e.data.done_ratio,fileList:void 0,description:e.data.description,isSpin:!1,token:e.data.token,get_attachments:e.data.attachments,start_date:e.data.start_date,due_date:e.data.due_date,subject:e.data.subject};n.props.form.setFieldsValue(s({},t)),n.setState(s({},t))}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,o=e.milepostId,a="/"+r+"/"+t+"/issues/new.json";b.default.get(a).then((function(e){e&&(n.setState({issue_chosen:e.data.issue_chosen,branches:e.data.branches,isSpin:!1}),"new"!==n.props.form_type?n.get_detail():n.props.form.setFieldsValue(s({},n.state,{fixed_version_id:o||""})))})).catch((function(e){console.log(e)}))},n.renderSelect=function(e){if(e&&e.length>0)return e.map((function(e,t){return p.default.createElement(O,{key:t+1,value:String(e.id)},e.color&&p.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)}))},n.handleSubmit=function(){n.setState({isSpin:!0}),n.props.form.validateFieldsAndScroll((function(e,t){if(!e){var r=n.props.form_type,o=n.props.match.params,a=o.projectsId,i=o.orderId,l=o.owner,c=n.state.fileList;"新增"===t.status_id&&(t.status_id="1"),"缺陷"===t.tracker_id&&(t.tracker_id="1"),"正常"===t.priority_id&&(t.priority_id="2"),"0%"===t.done_ratio&&(t.done_ratio="0"),t.issue_tag_ids.length>0&&(t.issue_tag_ids=[t.issue_tag_ids]);var u=n.state,f=u.description,p=u.start_date,d=u.due_date,h=u.issue_type;if("new"===r){var m="/"+l+"/"+a+"/issues.json";b.default.post(m,s({},t,{description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h})).then((function(e){if(e&&e.data.id){n.props.showNotification("任务创建成功!"),n.props.history.push("/projects/"+l+"/"+a+"/issues/"+e.data.id+"/detail"),n.setState({description:"",isSpin:!1});var t=n.props.getDetail;t&&t()}})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}else{var v="/"+l+"/"+a+"/issues/"+i+".json";b.default.put(v,s({description:f,attachment_ids:c,start_date:p,due_date:d,issue_type:h},t)).then((function(e){e&&(n.props.history.push("/projects/"+l+"/"+a+"/issues/"+i+"/detail"),n.props.showNotification("任务更新成功!"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}n.setState({isSpin:!1})}))},n.UploadFunc=function(e){n.setState({fileList:e})},n.onContentChange=function(e){n.setState({description:e})},n.changeBeginTime=function(e,t){n.setState({start_date:t})},n.changeEndTime=function(e,t){n.setState({due_date:t})},n.changeRatio=function(e){"0"===e?(n.props.form.setFieldsValue({status_id:"1"}),n.setState({status_id:"1"})):"100"===e?(n.props.form.setFieldsValue({status_id:"3"}),n.setState({status_id:"3"})):(n.props.form.setFieldsValue({status_id:"2"}),n.setState({status_id:"2"}))},n.changeStatus=function(e){"1"===e?(n.props.form.setFieldsValue({done_ratio:"0"}),n.setState({done_ratio:"0",issue_current_user:!0})):"3"===e?(n.props.form.setFieldsValue({done_ratio:"100"}),n.setState({done_ratio:"100",issue_current_user:!0})):"5"===e&&n.setState({issue_current_user:!1})},n.change_issue_type=function(e){e?n.setState({issue_type:"2",show_token:!0}):n.setState({issue_type:"1",show_token:!1})},n.state={branch_name:"",issue_tag_ids:"",fixed_version_id:"",tracker_id:"4",issue_type:"1",status_id:"1",assigned_to_id:"",priority_id:"2",done_ratio:"0%",issue_chosen:void 0,branches:void 0,fileList:void 0,description:void 0,isSpin:!0,token:void 0,start_date:"",due_date:"",subject:"",get_attachments:void 0,show_token:!1,cannot_edit:!1,issue_current_user:!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.form.getFieldDecorator,n=this.props.match.params,s=n.projectsId,u=n.owner,f=this.props.match.params.orderId,b=this.props.form_type,g=this.state,C=g.issue_chosen,w=g.branches,k=g.description,S=g.get_attachments,P=g.isSpin,E=g.start_date,j=g.due_date;return p.default.createElement(r.default,{spinning:P},p.default.createElement("div",{className:"ProjectListIndex issue-form-index"},p.default.createElement(i.default,{className:"width100 display-in",size:"small"},p.default.createElement("div",{className:"list-right"},p.default.createElement("div",{className:"pd20"},p.default.createElement("h3",{className:"mb15"},"new"===b?"新建":"copy"===b?"复制":"编辑","任务"),p.default.createElement(i.default.Item,null,t("subject",{rules:[{required:!0,message:"请填写任务标题"}]})(p.default.createElement(l.default,{placeholder:"标题",size:"large"}))),p.default.createElement("div",{className:"quillContent"},p.default.createElement(m.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:k,onChange:this.onContentChange})),S&&S.length>0?p.default.createElement("div",{className:"mt20"},p.default.createElement(y.default,{attachments:S,showNotification:this.props.showNotification,canDelete:!0})):"",p.default.createElement(d.default,{className:"commentStyle mt30",isComplete:!0,load:this.UploadFunc,icon:p.default.createElement("img",{src:h.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:this.props.showNotification}),p.default.createElement("p",{className:"clearfix mt20"},p.default.createElement(a.default,{type:"primary",onClick:this.handleSubmit},p.default.createElement("span",{className:"plr10"},"new"===b?"创建":"提交")),p.default.createElement(a.default,{type:"default",className:"ml30",onClick:function(){return e.props.history.push("new"===b?"/projects/"+u+"/"+(s||f)+"/issues":"/projects/"+u+"/"+s+"/issues/"+f+"/detail")}},p.default.createElement("span",{className:"plr10"},"取消"))))),p.default.createElement("div",{className:"list-left list-left-padding issue-edit-form-right"},p.default.createElement("div",{className:"pd20 background-f issue-form-right"},p.default.createElement(i.default.Item,{label:"指派成员"},t("assigned_to_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"未指派成员"),this.renderSelect(C&&C.assign_user)))),p.default.createElement(i.default.Item,{label:"状态"},t("status_id",{rules:[{required:!0,message:"请选择完成状态"}]})(p.default.createElement(c.default,{onChange:this.changeStatus},this.renderSelect(C&&C.issue_status)))),p.default.createElement(i.default.Item,{label:"类型"},t("tracker_id",{rules:[{required:!0,message:"请选择类型"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.tracker)))),p.default.createElement(i.default.Item,{label:"优先度"},t("priority_id",{rules:[{required:!0,message:"请选择优先度"}]})(p.default.createElement(c.default,null,this.renderSelect(C&&C.priority)))),p.default.createElement(i.default.Item,{label:"里程碑"},t("fixed_version_id",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_version.length>0?"未选择里程碑":"请添加里程碑"),this.renderSelect(C&&C.issue_version)))),p.default.createElement(i.default.Item,{label:"标签"},t("issue_tag_ids",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},C&&C.issue_tag.length>0?"未选择标签":"请在仓库设置里添加标签"),this.renderSelect(C&&C.issue_tag)))),p.default.createElement(i.default.Item,{label:"开始日期"},p.default.createElement(o.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择开始日期",onChange:this.changeBeginTime})),p.default.createElement(i.default.Item,{label:"结束日期"},p.default.createElement(o.default,{value:j?(0,v.default)(j,"YYYY-MM-DD"):null,style:{width:"100%"},placeholder:"请选择结束日期",onChange:this.changeEndTime})),p.default.createElement(i.default.Item,{label:"完成度"},t("done_ratio",{rules:[]})(p.default.createElement(c.default,{onChange:this.changeRatio},this.renderSelect(C&&C.done_ratio)))),p.default.createElement(i.default.Item,{label:"指定分支"},t("branch_name",{rules:[]})(p.default.createElement(c.default,null,p.default.createElement(O,{value:""},"分支未指定"),w&&w.length>0&&w.map((function(e,t){return p.default.createElement(O,{value:e,key:t},e)}))))))))))}}]),t}(f.Component),w=i.default.create({name:"NewOrderForm"})(C);t.default=w},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=n("3S7+"),i=n("CtXQ"),l=n("2/Rp"),c=n("YMnH"),s=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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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 y(){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 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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.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,a=o.okButtonProps,i=o.cancelButtonProps,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},i),s||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=g(o,["prefixCls","placement"]),f=n("popover",i),d=r.createElement(c.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},O7RO:function(e,t,n){var r=n("CMye"),o=n("7GkX");e.exports=function(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}},"Of+w":function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");e.exports=r},QoRX:function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},QqLw:function(e,t,n){var r=n("tadb"),o=n("ebwN"),a=n("HOxn"),i=n("yGk4"),l=n("Of+w"),c=n("NykK"),s=n("3Fdi"),u=s(r),f=s(o),p=s(a),d=s(i),h=s(l),m=c;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||l&&"[object WeakMap]"!=m(new l))&&(m=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case u:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},"R/W3":function(e,t,n){var r=n("KwMD"),o=n("2ajD"),a=n("CZoQ");e.exports=function(e,t,n){return t==t?a(e,t,n):r(e,o,n)}},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}))},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}},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},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,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")},o=n("q1tI"),a=l(o),i=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],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),a.default.createElement(i.default,{url:l,controls:!0,playing:!1})}},UfWW:function(e,t,n){var r=n("KwMD"),o=n("ut/Y"),a=n("Sxd8"),i=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var c=null==n?0:a(n);return c<0&&(c=i(l+c,0)),r(e,o(t,3),c)}},V6Ve:function(e,t,n){var r=n("kekF")(Object.keys,Object);e.exports=r},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},"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}},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}},ZCpW:function(e,t,n){var r=n("lm/5"),o=n("O7RO"),a=n("IOzZ");e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},ZMcG:function(e,t,n){},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),a=n("Z0cm"),i=n("DSRE"),l=n("wJg7"),c=n("c6wG"),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),u=!n&&o(e),f=!n&&!u&&i(e),p=!n&&!u&&!f&&c(e),d=n||u||f||p,h=d?r(e.length,String):[],m=h.length;for(var v in e)!t&&!s.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}},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=="},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),a=n("mdPL"),i=a&&a.isTypedArray,l=i?o(i):r;e.exports=l},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),a=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 a(e)&&o(e.length)&&!!i[r(e)]}},dQpi:function(e,t,n){var r=n("yGk4"),o=n("vN+2"),a=n("rEGp"),i=r&&1/a(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=i},e5cp:function(e,t,n){var r=n("fmRc"),o=n("or5M"),a=n("HDyB"),i=n("seXi"),l=n("QqLw"),c=n("Z0cm"),s=n("DSRE"),u=n("c6wG"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,h,m){var v=c(e),y=c(t),b=v?"[object Array]":l(e),g=y?"[object Array]":l(t),O=(b="[object Arguments]"==b?f:b)==f,C=(g="[object Arguments]"==g?f:g)==f,w=b==g;if(w&&s(e)){if(!s(t))return!1;v=!0,O=!1}if(w&&!O)return m||(m=new r),v||u(e)?o(e,t,n,d,h,m):a(e,t,b,n,d,h,m);if(!(1&n)){var k=O&&p.call(e,"__wrapped__"),S=C&&p.call(t,"__wrapped__");if(k||S){var P=k?e.value():e,E=S?t.value():t;return m||(m=new r),h(P,E,n,d,m)}}return!!w&&(m||(m=new r),i(e,t,n,d,h,m))}},em44:function(e,t,n){},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=6,p=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],o=[],a=t.firstDayOfWeek(),i=void 0,l=h()(),c=0;c<p;c++){var s=(a+c)%p;l.day(s),r[c]=t.weekdaysMin(l),o[c]=t.weekdaysShort(l)}e.showWeekNumber&&(i=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=o.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},i,f))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),O=n("GrtH");function C(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var S=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,o=e.value,a=e.showWeekNumber,i=e.dateRender,l=e.disabledDate,c=e.hoverValue,s=void 0,d=void 0,h=void 0,m=[],v=Object(O.e)(o),y=n+"-cell",b=n+"-week-number-cell",S=n+"-date",P=n+"-today",E=n+"-selected-day",j=n+"-selected-date",x=n+"-selected-start-date",_=n+"-selected-end-date",D=n+"-in-range-cell",N=n+"-last-month-cell",T=n+"-next-month-btn-day",V=n+"-disabled-cell",I=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",M=n+"-last-day-of-month",F=o.clone();F.date(1);var A=(F.day()+7-o.localeData().firstDayOfWeek())%7,L=F.clone();L.add(0-A,"days");var H=0;for(s=0;s<f;s++)for(d=0;d<p;d++)h=L,H&&(h=h.clone()).add(H,"days"),m.push(h),H++;var U,Y=[];for(H=0,s=0;s<f;s++){var W,B=void 0,K=void 0,q=!1,z=[];for(a&&(K=u.a.createElement("td",{key:m[H].week(),role:"gridcell",className:b},m[H].week())),d=0;d<p;d++){var G=null,Z=null;h=m[H],d<p-1&&(G=m[H+1]),d>0&&(Z=m[H-1]);var Q=y,X=!1,J=!1;C(h,v)&&(Q+=" "+P,B=!0);var $=w(h,o),ee=k(h,o);if(r&&Array.isArray(r)){var te=c.length?c:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&C(h,ne)&&(J=!0,q=!0,Q+=" "+x),(ne||re)&&(C(h,re)?(J=!0,q=!0,Q+=" "+_):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Q+=" "+D))}}else C(h,o)&&(J=!0,q=!0);C(h,r)&&(Q+=" "+j),$&&(Q+=" "+N),ee&&(Q+=" "+T),h.clone().endOf("month").date()===h.date()&&(Q+=" "+M),l&&l(h,o)&&(X=!0,Z&&l(Z,o)||(Q+=" "+I),G&&l(G,o)||(Q+=" "+R)),J&&(Q+=" "+E),X&&(Q+=" "+V);var oe=void 0;if(i)oe=i(h,o);else{var ae=t?t(h,o):h.date();oe=u.a.createElement("div",{key:(U=h,"rc-calendar-"+U.year()+"-"+U.month()+"-"+U.date()),className:S,"aria-selected":J,"aria-disabled":X},ae)}z.push(u.a.createElement("td",{key:H,onClick:X?void 0:e.onSelect.bind(null,h),onMouseEnter:X?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(O.d)(h),className:Q},oe)),H++}Y.push(u.a.createElement("tr",{key:s,role:"row",className:g()((W={},W[n+"-current-week"]=B,W[n+"-active-week"]=q,W))},K,z))}return u.a.createElement("tbody",{className:n+"-tbody"},Y)},t}(u.a.Component);S.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},S.defaultProps={hoverValue:[]};var P=S,E=function(e){function t(){return o()(this,t),i()(this,e.apply(this,arguments))}return c()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(P,e))},t}(u.a.Component);t.a=E},"fR/l":function(e,t,n){var r=n("CH3K"),o=n("Z0cm");e.exports=function(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),a=n("L8xA"),i=n("gCq4"),l=n("VaNO"),c=n("0Cz8");function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},ftKO:function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},hgQt:function(e,t,n){var r=n("Juji"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},hxti:function(e,t,n){(function(t){for(var r=n("bQgK"),o="undefined"==typeof window?t:window,a=["moz","webkit"],i="AnimationFrame",l=o["request"+i],c=o["cancel"+i]||o["cancelRequest"+i],s=0;!l&&s<a.length;s++)l=o[a[s]+"Request"+i],c=o[a[s]+"Cancel"+i]||o[a[s]+"CancelRequest"+i];if(!l||!c){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},c=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(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return C}));var r=n("iCc5"),o=n.n(r),a=n("FYw3"),i=n.n(a),l=n("mRg0"),c=n.n(l),s=n("q1tI"),u=n.n(s),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},O={onKeyDown:function(){}},C=function(e){var t,n;return n=t=function(t){function n(){var e,r,a;o()(this,n);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return e=r=i()(this,t.call.apply(t,[this].concat(c))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,o=n.prefixCls,a=((t={})[o]=1,t[o+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:r.saveRoot,className:""+h()(a),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(y.g)(e,t,n)},a=e,i()(r,a)}return c()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,o=t.selectedValue,a={};return"value"in t&&(a.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(a.selectedValue=o),a},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"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")},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},"lm/5":function(e,t,n){var r=n("fmRc"),o=n("wF/u");e.exports=function(e,t,n,a){var i=n.length,l=i,c=!a;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],f=e[u],p=s[1];if(c&&s[2]){if(void 0===f&&!(u in e))return!1}else{var d=new r;if(a)var h=a(f,p,u,e,t,d);if(!(void 0===h?o(p,f,3,a,d):h))return!1}}return!0}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i=a&&a.exports===o&&r.process,l=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=l}).call(this,n("YuTi")(e))},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),i=n("BGR+"),l=n("VCL8"),c=n("CtXQ"),s=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=b(t);if(y()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function c(){var e;return d(this,c),(e=l.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,i=e.props,l=i.prefixCls,c=i.className,s=i.checked,u=g(i,["prefixCls","className","checked"]),d=o("tag",l),h=a()(d,(p(n={},"".concat(d,"-checkable"),!0),p(n,"".concat(d,"-checkable-checked"),s),n),c);return delete u.onChange,r.createElement("span",f({},u,{className:h,onClick:e.handleClick}))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCheckableTag)}}])&&h(n.prototype,o),i&&h(n,i),c}(r.Component),C=n("CWQg"),w=Object(C.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),S=n("g0mS");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 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 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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(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 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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},I=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=T(t);if(N()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});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=u.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,a=V(n,["children"]),l="onClick"in a||o&&"a"===o.type,c=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(S.a,null,r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",j({},c,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{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,i=r.className,l=r.color,c=this.state.visible,s=this.isPresetColor(),u=n("tag",o);return a()(u,(E(t={},"".concat(u,"-").concat(l),s),E(t,"".concat(u,"-has-color"),l&&!s),E(t,"".concat(u,"-hidden"),!c),t),i)}},{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&&I.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?r.createElement(c.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderTag)}}])&&x(n.prototype,o),l&&x(n,l),f}(r.Component);R.CheckableTag=O,R.defaultProps={closable:!1},Object(l.polyfill)(R);t.default=R},or5M:function(e,t,n){var r=n("1hJj"),o=n("QoRX"),a=n("xYSL");e.exports=function(e,t,n,i,l,c){var s=1&n,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var p=c.get(e);if(p&&c.get(t))return p==t;var d=-1,h=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++d<u;){var v=e[d],y=t[d];if(i)var b=s?i(y,v,d,t,e,c):i(v,y,d,e,t,c);if(void 0!==b){if(b)continue;h=!1;break}if(m){if(!o(t,(function(e,t){if(!a(m,t)&&(v===e||l(v,e,n,i,c)))return m.push(t)}))){h=!1;break}}else if(v!==y&&!l(v,y,n,i,c)){h=!1;break}}return c.delete(e),c.delete(t),h}},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)):[]}},qZTm:function(e,t,n){var r=n("fR/l"),o=n("MvSz"),a=n("7GkX");e.exports=function(e){return r(e,a,o)}},rEGp:function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},seXi:function(e,t,n){var r=n("qZTm"),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,i,l){var c=1&n,s=r(e),u=s.length;if(u!=r(t).length&&!c)return!1;for(var f=u;f--;){var p=s[f];if(!(c?p in t:o.call(t,p)))return!1}var d=l.get(e);if(d&&l.get(t))return d==t;var h=!0;l.set(e,t),l.set(t,e);for(var m=c;++f<u;){var v=e[p=s[f]],y=t[p];if(a)var b=c?a(y,v,p,t,e,l):a(v,y,p,e,t,l);if(!(void 0===b?v===y||i(v,y,n,a,l):b)){h=!1;break}m||(m="constructor"==p)}if(h&&!m){var g=e.constructor,O=t.constructor;g==O||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof O&&O instanceof O||(h=!1)}return l.delete(e),l.delete(t),h}},tadb:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"DataView");e.exports=r},u3En:function(e,t,n){},"ut/Y":function(e,t,n){var r=n("ZCpW"),o=n("GDhZ"),a=n("zZ0H"),i=n("Z0cm"),l=n("+c4W");e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):r(e):l(e)}},"vN+2":function(e,t){e.exports=function(){}},"wF/u":function(e,t,n){var r=n("e5cp"),o=n("ExA7");e.exports=function e(t,n,a,i,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,a,i,e,l))}},xYSL:function(e,t){e.exports=function(e,t){return e.has(t)}},yGk4:function(e,t,n){var r=n("Cwc5")(n("Kz5y"),"Set");e.exports=r},zZ0H:function(e,t){e.exports=function(e){return e}}}]); \ No newline at end of file diff --git a/static/js/27.bee97dce.chunk.js b/static/js/28.47ce0345.chunk.js similarity index 99% rename from static/js/27.bee97dce.chunk.js rename to static/js/28.47ce0345.chunk.js index 9c898125b..3a6174eee 100644 --- a/static/js/27.bee97dce.chunk.js +++ b/static/js/28.47ce0345.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[27,5,9,71,77],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2oGH":function(e,t,n){},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5DC0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=w(n("NUBc")),a=w(n("wCAj")),c=w(n("3S7+")),l=w(n("CtXQ")),u=w(n("BvKs")),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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},f=(r=["{\n width:30px;\n height:30px;\n border-radius:50%;\n}"],o=["{\n width:30px;\n height:30px;\n border-radius:50%;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("mbEz"),n("TfFZ"),n("2oDE"),n("2WkQ");var p=n("q1tI"),d=w(p),y=n("spEH"),h=w(n("y6GU")),b=w(n("ess8")),m=w(n("Hsgt")),v=w(n("Omli")),g=w(n("vOnD")),O=n("sYIF");function w(e){return e&&e.__esModule?e:{default:e}}var x=g.default.img(f),C=[{img:"images/avatars/User/g",name:"蔡世",email:"1149225589@qq.com",team:"caicaizi",role:"管理者",operation:"移除成员"}];t.default=function(){var e=(0,p.useState)(void 0),t=s(e,2),n=(t[0],t[1]),r=(0,p.useState)(1),o=s(r,2),f=o[0],g=o[1],w=(0,p.useState)(15),S=s(w,2),j=S[0],P=(S[1],(0,p.useState)(0)),E=s(P,2),k=E[0],_=(E[1],(0,p.useState)(C)),R=s(_,2),T=R[0];R[1];var N=d.default.createElement(u.default,null,d.default.createElement(u.default.Item,{key:"all"},"全部"),d.default.createElement(u.default.Item,{key:"Manager"},"管理员"),d.default.createElement(u.default.Item,{key:"Developer"},"开发者"),d.default.createElement(u.default.Item,{key:"Reporter"},"报告者")),D=[{title:"头像",dataIndex:"Img",width:"7%",render:function(e,t){return d.default.createElement(x,{src:(0,O.getImageUrl)(t.img)})}},{title:"用户名",dataIndex:"name",width:"13%",align:"center"},{title:"邮箱",dataIndex:"email",width:"25%"},{title:"所属团队",dataIndex:"team",width:"20%"},{title:d.default.createElement("div",null,d.default.createElement("span",{className:"mr3"},"角色"),d.default.createElement(c.default,{placement:"bottom",title:d.default.createElement("div",null,d.default.createElement("div",{className:"mb3"},"管理员:拥有仓库设置功能、代码库读、写操作"),d.default.createElement("div",{className:"mb3"},"开发人员:只拥有代码库读、写操作"),d.default.createElement("div",{className:"mb3"},"报告者:只拥有代码库读操作"))},d.default.createElement(l.default,{type:"question-circle"}))),dataIndex:"role",width:"20%",render:function(e,t){return t.role}},{title:"操作",dataIndex:"operation",width:"15%",render:function(e,t){return d.default.createElement("a",{className:"color-grey-8"},"移除成员")}}];return d.default.createElement(y.WhiteBack,null,d.default.createElement(b.default,null,d.default.createElement("span",null,"组织成员管理"),d.default.createElement(y.AlignCenter,null,d.default.createElement(v.default,{getUser:function(e){console.log(e),n(e)}}),d.default.createElement(y.Blueline,{className:"ml30"},"+ 添加用户"))),d.default.createElement(y.FlexAJ,{className:"padding20-30"},d.default.createElement("div",{style:{width:"580px"}},d.default.createElement(m.default,{placeholder:"输入用户名或邮箱、团队名搜索",onSearch:function(e){console.log(e)}})),d.default.createElement(h.default,{menu:N},d.default.createElement("a",{className:"color-blue"},"角色筛选",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"})))),d.default.createElement("div",{className:"pl30 pr30 pb30"},d.default.createElement(a.default,{size:"small",columns:D,dataSource:T,pagination:!1,className:"teamMemberTable"}),k>j?d.default.createElement("div",{className:"edu-txt-center mt30 mb20"},d.default.createElement(i.default,{simple:!0,defaultCurrent:f,total:k,pageSize:j,onChange:function(e){g(e)}})):""))}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var x=w,C=n("3S7+"),S=n("H84U");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 P(e){return function(e){if(Array.isArray(e))return E(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 E(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(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 E(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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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&&R(e.prototype,t),n&&R(e,n),e}function N(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 I(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){N(a,o);var i=I(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,k({prefixCls:l,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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,k({className:l},c),o)},z=function(e){N(n,e);var t=I(n);function n(){var e;return _(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(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,k({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),G=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),U=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=G,B.Content=U;var q=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Q(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Q(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,x=Y(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(q.default,{type:"bars"})):null,S={expanded:p?r.createElement(q.default,{type:"right"}):r.createElement(q.default,{type:"left"}),collapsed:p?r.createElement(q.default,{type:"left"}):r.createElement(q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?C||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:x}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(x),maxWidth:x,minWidth:x,width:x}),E=a()(u,g,"".concat(g,"-").concat(s),(X(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),X(t,"".concat(g,"-has-trigger"),f&&null!==d&&!C),X(t,"".concat(g,"-below"),!!o.state.below),X(t,"".concat(g,"-zero-width"),0===parseFloat(x)),t));return r.createElement("aside",Z({className:E},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&C?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},xe=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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(C.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);xe.isMenuItem=!0;var Ce=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Ee={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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 Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function De(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)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Me(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Ne(n,[{key:"componentWillUnmount",value:function(){Se.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(Ce.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:Ee}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Me(n);function n(){return Re(this,n),t.apply(this,arguments)}return Ne(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=xe,He.SubMenu=x,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},x=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var C=l.measureScrollbar({direction:"horizontal",prefixCls:f});C>0&&!h&&(w.marginBottom="-".concat(C,"px"),w.paddingBottom="0px",w.minWidth="".concat(x,"px"),w.overflowX="scroll",w.overflowY=0===x?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=x>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,x,C={};if(y&&v(t=y(t,r,u))){var S=C=t.props||C;w=S.colSpan,x=S.rowSpan,t=t.children}f.onCell&&(C=i({},C,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===x||0===w)return null;f.align&&(C.style=i({textAlign:f.align},C.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)C.title=t;else if(t){var E=t.props;E&&E.children&&"string"==typeof E.children&&(C.title=E.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},C),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("5rEg"));n("1vPl");var o=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return o.default.createElement(a,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},Omli:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("lrIw")),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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("bipt");var i=n("q1tI"),a=u(i),c=n("sYIF"),l=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}var s=r.default.Option;t.default=function(e){var t=e.getUser,n=(0,i.useState)(void 0),u=o(n,2),f=u[0],p=u[1],d=(0,i.useState)(void 0),y=o(d,2),h=y[0],b=y[1];function m(e){l.default.get("/users/list.json",{params:{search:e}}).then((function(e){e&&b(e.data.users)})).catch((function(e){console.log(e)}))}var v=h&&h.map((function(e,t){return a.default.createElement(s,{key:t,value:""+e.user_id,searchValue:""+e.username},a.default.createElement("img",{className:"user_img radius",width:"28",height:"28",src:(0,c.getImageUrl)("images/"+(e&&e.image_url)),alt:""}),a.default.createElement("span",{className:"ml10",style:{"vertical-align":"middle"}},e.username,a.default.createElement("span",{className:"color-grey ml10"},"(",e.login,")")))}));return a.default.createElement(r.default,{dataSource:v,value:f,style:{width:300},onChange:function(e){p(e),m(e)},onSelect:function(e,n){p(n.props.searchValue),m(n.props.searchValue),t&&t(e)},placeholder:"搜索需要添加的用户..."})}},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var x=b(e,n),C=b(t,n),S=w.get(C);if(S)r(e,n,S);else{var j=O?O(x,C,n+"",e,t,w):void 0,P=void 0===j;if(P){var E=u(C),k=!E&&f(C),_=!E&&!k&&h(C);j=C,E||k||_?u(x)?j=x:s(x)?j=a(x):k?(P=!1,j=o(C,!0)):_?(P=!1,j=i(C,!0)):j=[]:y(C)||l(C)?(j=x,l(x)?j=m(x):d(x)&&!p(x)||(j=c(C))):P=!1}P&&(w.set(C,j),g(j,C,v,O,w),w.delete(C)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,x=g.getRowKey,C=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],E=function(o){var c=t[o],g=x(c,o),E="string"==typeof s?s:s(c,o,n),k={};i.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var _=void 0;_="left"===C?i.leftLeafColumns():"right"===C?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),T=y.createElement(w.default,Object.assign({},S.props,{fixed:C,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:C,indent:n,className:E,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},k,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(T),S.renderRows(e.renderRows,P,c,o,n,C,g,r)},k=0;k<t.length;k+=1)E(k);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var x=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:x,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:x,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);x.contextTypes={table:h.any},t.default=b.connect()(x)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),x=h(n("DVfl")),C=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)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,C=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,E=y.body.row,k=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var T=0;T<n.length;T+=1){var N=n[T];v.default(void 0===N.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(x.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:N,key:N.key||N.dataIndex,expandIcon:h(T)&&m(),component:k}))}var D=l(r,c)||{},I=D.className,M=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},M);var F=w.default(t,_,"".concat(t,"-level-").concat(u),I);return b.createElement(E,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,C),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}C.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(C),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(C)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var x=s.measureScrollbar({direction:"vertical"});x>0&&u&&(O.marginBottom="-".concat(x,"px"),O.paddingBottom="0px")}var C,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?C="fixedColumnsBodyLeft":"right"===c[0].fixed&&(C="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(C),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return b}));var r=n("q1tI"),o=n("3S7+"),i=n("H84U"),a=n("6CfX");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(v,e);var t,n,c,b,m=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return u(this,v),(e=m.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,i=e.props,a=i.prefixCls,c=h(i,["prefixCls"]);delete c.title;var u=n("popover",a);return r.createElement(o.default,l({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=v,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(a.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return r.createElement(i.a,null,this.renderPopover)}}])&&s(n.prototype,c),b&&s(n,b),v}(r.Component);b.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),x=n("CtXQ"),C=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 R(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=T(t);if(R()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(x.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&E(n.prototype,o),i&&E(n,i),c}(r.Component);N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");function I(e){return(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})(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 A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==I(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,C=i.icon,S=void 0===C?r.createElement(x.default,{type:"ellipsis"}):C,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),E=o("dropdown-button",a),k={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(k.visible=m),r.createElement(B,M({},P,{className:f()(E,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(N,k,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},N.Button=W;t.default=N},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=x(t);if(w()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=C(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,x=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(x,"-wrapper"),!0),y(n,"".concat(x,"-wrapper-checked"),S.checked),y(n,"".concat(x,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(x,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:x,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(M()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=I(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",k({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),i&&T(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),o=n("i+PK"),i=n("TSYQ"),a=n.n(i);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&f(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=a.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),i&&s(n,i),c}(r.Component),b=n("5rEg"),m=n("2fM7"),v=n("H84U");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(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(){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 x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 P(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&S(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=E(t);if(P()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return x(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),i=w({},n.props);return delete i.children,r.createElement(h,i,n)},e.renderAutoComplete=function(t){var n,i,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,y=l.optionLabelProp,h=l.dataSource,b=l.children,v=c("select",u),x=a()((O(n={},"".concat(v,"-lg"),"large"===s),O(n,"".concat(v,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(v,"-show-search"),!0),O(n,"".concat(v,"-auto-complete"),!0),n)),C=r.Children.toArray(b);return i=C.length&&k(C[0])?b:h?h.map((function(e){if(r.isValidElement(e))return e;switch(g(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(m.default,w({},e.props,{className:x,mode:m.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:y,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),i)},e}return n=u,(i=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&C(n.prototype,i),c&&C(n,c),u}(r.Component);_.Option=o.b,_.OptGroup=o.a,_.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},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&&b(e,t)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var x=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:x,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);x.defaultProps={type:"radio"},x.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function x(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(n);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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function E(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=E(n.children,t);e.push.apply(e,x(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(M(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((T(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),T(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),T({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(T({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&N(n.prototype,o),i&&N(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 U(e,t){return!t||"object"!==z(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 q(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},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)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(q()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return U(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Q(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ge(e,t)}(r,e);var t,n=(t=r,function(){var e,n=xe(t);if(we()){var r=xe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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 t&&ke(e.prototype,t),n&&ke(e,n),e}function Re(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){return function(){var t,n=Me(e);if(Ie()){var r=Me(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Ie(){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 Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Ne(i);function i(e){var t;Ee(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}Ce.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),Ge=n("ZvpZ"),Ue=n("H84U"),qe=n("6CfX");function Ye(e){return(Ye="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 Qe(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 Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return E(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Xe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Qe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Qe(n,"".concat(e,"-row-collapsed"),!o),Qe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(X,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var x=u()("".concat(n,"-").concat(i.props.size),(Qe(t={},"".concat(n,"-bordered"),i.props.bordered),Qe(t,"".concat(n,"-empty"),!v.length),Qe(t,"".concat(n,"-without-column-header"),!d),t)),C=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:C,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:x,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||k(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return E(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},E(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=E(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Qe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Qe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Qe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,x=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),C=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),x&&C&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},x,C),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Qe(l,"".concat(n,"-column-has-actions"),d||p),Qe(l,"".concat(n,"-column-has-filters"),p),Qe(l,"".concat(n,"-column-has-sorters"),d),Qe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ue.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||k(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Xe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=Ce;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),x=n("VCL8"),C=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),E=p(n("BC81")),k=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=C.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=C.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=E.default,R.ColumnGroup=k.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},x.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=v()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:C,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!x,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("diRs"));n("Aosp");var o=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return o.default.createElement(r.default,{content:t,trigger:["click"],placement:"bottom"},n)}},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[28,5,9,73,78],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2oGH":function(e,t,n){},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5DC0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=w(n("NUBc")),a=w(n("wCAj")),c=w(n("3S7+")),l=w(n("CtXQ")),u=w(n("BvKs")),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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},f=(r=["{\n width:30px;\n height:30px;\n border-radius:50%;\n}"],o=["{\n width:30px;\n height:30px;\n border-radius:50%;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("mbEz"),n("TfFZ"),n("2oDE"),n("2WkQ");var p=n("q1tI"),d=w(p),y=n("spEH"),h=w(n("y6GU")),b=w(n("ess8")),m=w(n("Hsgt")),v=w(n("Omli")),g=w(n("vOnD")),O=n("sYIF");function w(e){return e&&e.__esModule?e:{default:e}}var x=g.default.img(f),C=[{img:"images/avatars/User/g",name:"蔡世",email:"1149225589@qq.com",team:"caicaizi",role:"管理者",operation:"移除成员"}];t.default=function(){var e=(0,p.useState)(void 0),t=s(e,2),n=(t[0],t[1]),r=(0,p.useState)(1),o=s(r,2),f=o[0],g=o[1],w=(0,p.useState)(15),S=s(w,2),j=S[0],P=(S[1],(0,p.useState)(0)),E=s(P,2),k=E[0],_=(E[1],(0,p.useState)(C)),R=s(_,2),T=R[0];R[1];var N=d.default.createElement(u.default,null,d.default.createElement(u.default.Item,{key:"all"},"全部"),d.default.createElement(u.default.Item,{key:"Manager"},"管理员"),d.default.createElement(u.default.Item,{key:"Developer"},"开发者"),d.default.createElement(u.default.Item,{key:"Reporter"},"报告者")),D=[{title:"头像",dataIndex:"Img",width:"7%",render:function(e,t){return d.default.createElement(x,{src:(0,O.getImageUrl)(t.img)})}},{title:"用户名",dataIndex:"name",width:"13%",align:"center"},{title:"邮箱",dataIndex:"email",width:"25%"},{title:"所属团队",dataIndex:"team",width:"20%"},{title:d.default.createElement("div",null,d.default.createElement("span",{className:"mr3"},"角色"),d.default.createElement(c.default,{placement:"bottom",title:d.default.createElement("div",null,d.default.createElement("div",{className:"mb3"},"管理员:拥有仓库设置功能、代码库读、写操作"),d.default.createElement("div",{className:"mb3"},"开发人员:只拥有代码库读、写操作"),d.default.createElement("div",{className:"mb3"},"报告者:只拥有代码库读操作"))},d.default.createElement(l.default,{type:"question-circle"}))),dataIndex:"role",width:"20%",render:function(e,t){return t.role}},{title:"操作",dataIndex:"operation",width:"15%",render:function(e,t){return d.default.createElement("a",{className:"color-grey-8"},"移除成员")}}];return d.default.createElement(y.WhiteBack,null,d.default.createElement(b.default,null,d.default.createElement("span",null,"组织成员管理"),d.default.createElement(y.AlignCenter,null,d.default.createElement(v.default,{getUser:function(e){console.log(e),n(e)}}),d.default.createElement(y.Blueline,{className:"ml30"},"+ 添加用户"))),d.default.createElement(y.FlexAJ,{className:"padding20-30"},d.default.createElement("div",{style:{width:"580px"}},d.default.createElement(m.default,{placeholder:"输入用户名或邮箱、团队名搜索",onSearch:function(e){console.log(e)}})),d.default.createElement(h.default,{menu:N},d.default.createElement("a",{className:"color-blue"},"角色筛选",d.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"})))),d.default.createElement("div",{className:"pl30 pr30 pb30"},d.default.createElement(a.default,{size:"small",columns:D,dataSource:T,pagination:!1,className:"teamMemberTable"}),k>j?d.default.createElement("div",{className:"edu-txt-center mt30 mb20"},d.default.createElement(i.default,{simple:!0,defaultCurrent:f,total:k,pageSize:j,onChange:function(e){g(e)}})):""))}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var x=w,C=n("3S7+"),S=n("H84U");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 P(e){return function(e){if(Array.isArray(e))return E(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 E(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(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 E(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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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&&R(e.prototype,t),n&&R(e,n),e}function N(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 I(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return M(this,t)}}function M(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){N(a,o);var i=I(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,k({prefixCls:l,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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,k({className:l},c),o)},z=function(e){N(n,e);var t=I(n);function n(){var e;return _(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(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,k({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),G=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),U=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=G,B.Content=U;var q=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Q(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Q(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,x=Y(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(q.default,{type:"bars"})):null,S={expanded:p?r.createElement(q.default,{type:"right"}):r.createElement(q.default,{type:"left"}),collapsed:p?r.createElement(q.default,{type:"left"}):r.createElement(q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?C||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:x}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(x),maxWidth:x,minWidth:x,width:x}),E=a()(u,g,"".concat(g,"-").concat(s),(X(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),X(t,"".concat(g,"-has-trigger"),f&&null!==d&&!C),X(t,"".concat(g,"-below"),!!o.state.below),X(t,"".concat(g,"-zero-width"),0===parseFloat(x)),t));return r.createElement("aside",Z({className:E},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&C?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},xe=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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(C.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);xe.isMenuItem=!0;var Ce=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Ee={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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 Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t){for(var n=0;n<t.length;n++){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,n){return t&&Te(e.prototype,t),n&&Te(e,n),e}function De(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)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Me(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Ne(n,[{key:"componentWillUnmount",value:function(){Se.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(Ce.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:Ee}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Me(n);function n(){return Re(this,n),t.apply(this,arguments)}return Ne(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=xe,He.SubMenu=x,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},x=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var C=l.measureScrollbar({direction:"horizontal",prefixCls:f});C>0&&!h&&(w.marginBottom="-".concat(C,"px"),w.paddingBottom="0px",w.minWidth="".concat(x,"px"),w.overflowX="scroll",w.overflowY=0===x?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=x>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,x,C={};if(y&&v(t=y(t,r,u))){var S=C=t.props||C;w=S.colSpan,x=S.rowSpan,t=t.children}f.onCell&&(C=i({},C,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===x||0===w)return null;f.align&&(C.style=i({textAlign:f.align},C.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)C.title=t;else if(t){var E=t.props;E&&E.children&&"string"==typeof E.children&&(C.title=E.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},C),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("5rEg"));n("1vPl");var o=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return o.default.createElement(a,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},Omli:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("lrIw")),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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("bipt");var i=n("q1tI"),a=u(i),c=n("sYIF"),l=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}var s=r.default.Option;t.default=function(e){var t=e.getUser,n=(0,i.useState)(void 0),u=o(n,2),f=u[0],p=u[1],d=(0,i.useState)(void 0),y=o(d,2),h=y[0],b=y[1];function m(e){l.default.get("/users/list.json",{params:{search:e}}).then((function(e){e&&b(e.data.users)})).catch((function(e){console.log(e)}))}var v=h&&h.map((function(e,t){return a.default.createElement(s,{key:t,value:""+e.user_id,searchValue:""+e.username},a.default.createElement("img",{className:"user_img radius",width:"28",height:"28",src:(0,c.getImageUrl)("images/"+(e&&e.image_url)),alt:""}),a.default.createElement("span",{className:"ml10",style:{"vertical-align":"middle"}},e.username,a.default.createElement("span",{className:"color-grey ml10"},"(",e.login,")")))}));return a.default.createElement(r.default,{dataSource:v,value:f,style:{width:300},onChange:function(e){p(e),m(e)},onSelect:function(e,n){p(n.props.searchValue),m(n.props.searchValue),t&&t(e)},placeholder:"搜索需要添加的用户..."})}},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var x=b(e,n),C=b(t,n),S=w.get(C);if(S)r(e,n,S);else{var j=O?O(x,C,n+"",e,t,w):void 0,P=void 0===j;if(P){var E=u(C),k=!E&&f(C),_=!E&&!k&&h(C);j=C,E||k||_?u(x)?j=x:s(x)?j=a(x):k?(P=!1,j=o(C,!0)):_?(P=!1,j=i(C,!0)):j=[]:y(C)||l(C)?(j=x,l(x)?j=m(x):d(x)&&!p(x)||(j=c(C))):P=!1}P&&(w.set(C,j),g(j,C,v,O,w),w.delete(C)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,x=g.getRowKey,C=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],E=function(o){var c=t[o],g=x(c,o),E="string"==typeof s?s:s(c,o,n),k={};i.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var _=void 0;_="left"===C?i.leftLeafColumns():"right"===C?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),T=y.createElement(w.default,Object.assign({},S.props,{fixed:C,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:C,indent:n,className:E,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},k,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(T),S.renderRows(e.renderRows,P,c,o,n,C,g,r)},k=0;k<t.length;k+=1)E(k);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var x=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:x,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:x,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);x.contextTypes={table:h.any},t.default=b.connect()(x)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),x=h(n("DVfl")),C=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)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,C=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,E=y.body.row,k=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var T=0;T<n.length;T+=1){var N=n[T];v.default(void 0===N.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(x.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:N,key:N.key||N.dataIndex,expandIcon:h(T)&&m(),component:k}))}var D=l(r,c)||{},I=D.className,M=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},M);var F=w.default(t,_,"".concat(t,"-level-").concat(u),I);return b.createElement(E,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,C),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}C.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(C),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(C)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var x=s.measureScrollbar({direction:"vertical"});x>0&&u&&(O.marginBottom="-".concat(x,"px"),O.paddingBottom="0px")}var C,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?C="fixedColumnsBodyLeft":"right"===c[0].fixed&&(C="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(C),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return b}));var r=n("q1tI"),o=n("3S7+"),i=n("H84U"),a=n("6CfX");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(v,e);var t,n,c,b,m=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return u(this,v),(e=m.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,i=e.props,a=i.prefixCls,c=h(i,["prefixCls"]);delete c.title;var u=n("popover",a);return r.createElement(o.default,l({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=v,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(a.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return r.createElement(i.a,null,this.renderPopover)}}])&&s(n.prototype,c),b&&s(n,b),v}(r.Component);b.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),x=n("CtXQ"),C=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 R(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=T(t);if(R()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(x.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&E(n.prototype,o),i&&E(n,i),c}(r.Component);N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");function I(e){return(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})(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 A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==I(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,C=i.icon,S=void 0===C?r.createElement(x.default,{type:"ellipsis"}):C,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),E=o("dropdown-button",a),k={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(k.visible=m),r.createElement(B,M({},P,{className:f()(E,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(N,k,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},N.Button=W;t.default=N},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=x(t);if(w()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=C(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,x=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(x,"-wrapper"),!0),y(n,"".concat(x,"-wrapper-checked"),S.checked),y(n,"".concat(x,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(x,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:x,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(M()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=I(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",k({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),i&&T(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return _}));var r=n("q1tI"),o=n("i+PK"),i=n("TSYQ"),a=n.n(i);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&f(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=a.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),i&&s(n,i),c}(r.Component),b=n("5rEg"),m=n("2fM7"),v=n("H84U");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(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(){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 x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 P(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&S(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=E(t);if(P()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return x(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),i=w({},n.props);return delete i.children,r.createElement(h,i,n)},e.renderAutoComplete=function(t){var n,i,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,y=l.optionLabelProp,h=l.dataSource,b=l.children,v=c("select",u),x=a()((O(n={},"".concat(v,"-lg"),"large"===s),O(n,"".concat(v,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(v,"-show-search"),!0),O(n,"".concat(v,"-auto-complete"),!0),n)),C=r.Children.toArray(b);return i=C.length&&k(C[0])?b:h?h.map((function(e){if(r.isValidElement(e))return e;switch(g(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(m.default,w({},e.props,{className:x,mode:m.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:y,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),i)},e}return n=u,(i=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&C(n.prototype,i),c&&C(n,c),u}(r.Component);_.Option=o.b,_.OptGroup=o.a,_.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},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&&b(e,t)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var x=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:x,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);x.defaultProps={type:"radio"},x.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function x(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(n);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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function E(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=E(n.children,t);e.push.apply(e,x(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(M(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((T(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),T(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),T({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(T({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&N(n.prototype,o),i&&N(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 U(e,t){return!t||"object"!==z(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 q(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},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)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(q()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return U(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Q(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 xe(e){return(xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&ge(e,t)}(r,e);var t,n=(t=r,function(){var e,n=xe(t);if(we()){var r=xe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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 t&&ke(e.prototype,t),n&&ke(e,n),e}function Re(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){return function(){var t,n=Me(e);if(Ie()){var r=Me(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Ie(){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 Me(e){return(Me=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Ne(i);function i(e){var t;Ee(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}Ce.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),Ge=n("ZvpZ"),Ue=n("H84U"),qe=n("6CfX");function Ye(e){return(Ye="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 Qe(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 Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return E(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Xe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Qe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Qe(n,"".concat(e,"-row-collapsed"),!o),Qe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(X,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var x=u()("".concat(n,"-").concat(i.props.size),(Qe(t={},"".concat(n,"-bordered"),i.props.bordered),Qe(t,"".concat(n,"-empty"),!v.length),Qe(t,"".concat(n,"-without-column-header"),!d),t)),C=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:C,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:x,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||k(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return E(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},E(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=E(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Qe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Qe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Qe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,x=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),C=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),x&&C&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},x,C),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Qe(l,"".concat(n,"-column-has-actions"),d||p),Qe(l,"".concat(n,"-column-has-filters"),p),Qe(l,"".concat(n,"-column-has-sorters"),d),Qe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ue.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||k(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Xe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=Ce;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),x=n("VCL8"),C=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),E=p(n("BC81")),k=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=C.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=C.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=E.default,R.ColumnGroup=k.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},x.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=v()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:C,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!x,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("diRs"));n("Aosp");var o=i(n("q1tI"));function i(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return o.default.createElement(r.default,{content:t,trigger:["click"],placement:"bottom"},n)}},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file diff --git a/static/js/28.a1743194.chunk.js b/static/js/29.08df1e63.chunk.js similarity index 99% rename from static/js/28.a1743194.chunk.js rename to static/js/29.08df1e63.chunk.js index e87a4c2ce..e2b0c2112 100644 --- a/static/js/28.a1743194.chunk.js +++ b/static/js/29.08df1e63.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[28,5,9,71,77],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=c(o),a=c(n("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return l(this,t),u(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.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=s},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2oGH":function(e,t,n){},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return ze}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(e){return function(e){if(Array.isArray(e))return E(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 E(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(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 E(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 R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 D(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}function N(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)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){return function(){var t,n=F(e);if(A()){var r=F(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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 z(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){N(a,o);var i=M(a);function a(){var o;return R(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,k({prefixCls:l,tagName:n},o.props))},o}return D(a,[{key:"render",value:function(){return r.createElement(S.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var H=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,c=K(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,k({className:l},c),o)},V=function(e){N(n,e);var t=M(n);function n(){var e;return R(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return D(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=K(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,k({className:p},f),l))}}]),n}(r.Component),B=z({suffixCls:"layout",tagName:"section",displayName:"Layout"})(V),W=z({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),q=z({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),G=z({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);B.Header=W,B.Footer=q,B.Content=G;var Q=n("CtXQ"),U=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};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 Z(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(){return(Y=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=U(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(Q.default,{type:"bars"})):null,S={expanded:p?r.createElement(Q.default,{type:"right"}):r.createElement(Q.default,{type:"left"}),collapsed:p?r.createElement(Q.default,{type:"left"}):r.createElement(Q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Y(Y({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),E=a()(u,g,"".concat(g,"-").concat(s),(Z(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Z(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),Z(t,"".concat(g,"-below"),!!o.state.below),Z(t,"".concat(g,"-zero-width"),0===parseFloat(C)),t));return r.createElement("aside",Y({className:E},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Ee={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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(){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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var n=0;n<t.length;n++){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,n){return t&&De(e.prototype,t),n&&De(e,n),e}function Te(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Ke(e);if(Fe()){var r=Ke(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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 Fe(){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 Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){Te(n,e);var t=Ie(n);function n(e){var i,l;return _e(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=Re({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,Re({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Ne(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:Ee}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var ze=function(e){Te(n,e);var t=Ie(n);function n(){return _e(this,n),t.apply(this,arguments)}return Ne(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,Re({},e.props,t))}))}}]),n}(r.Component);ze.Divider=o.a,ze.Item=Ce,ze.SubMenu=C,ze.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,C,x={};if(y&&v(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var E=t.props;E&&E.children&&"string"==typeof E.children&&(x.title=E.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var E=u(x),k=!E&&f(x),R=!E&&!k&&h(x);j=x,E||k||R?u(C)?j=C:s(C)?j=a(C):k?(P=!1,j=o(x,!0)):R?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=m(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,v,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],E=function(o){var c=t[o],g=C(c,o),E="string"==typeof s?s:s(c,o,n),k={};i.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var R=void 0;R="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var _="".concat(l,"-row"),D=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:_,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:E,record:c,index:o,prefixCls:_,childrenColumnName:u,columns:R,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},k,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(D),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},k=0;k<t.length;k+=1)E(k);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,E=y.body.row,k=y.body.cell,R=this.props.className;f&&(R+=" ".concat(t,"-hover"));var _=[];g(_);for(var D=0;D<n.length;D+=1){var N=n[D];v.default(void 0===N.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),_.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:N,key:N.key||N.dataIndex,expandIcon:h(D)&&m(),component:k}))}var T=l(r,c)||{},M=T.className,I=T.style,A=o(T,["className","style"]),F={height:p};d||(F.display="none"),F=a({},F,{},I);var K=w.default(t,R,"".concat(t,"-level-").concat(u),M);return b.createElement(E,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:K,style:F,"data-row-key":i}),_)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},"XyF/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("NUBc")),o=w(n("W9HT")),i=w(n("wCAj")),a=w(n("2/Rp")),c=w(n("BvKs")),l=w(n("3S7+")),u=w(n("jsC+")),s=w(n("CtXQ")),f=w(n("lrIw")),p=w(n("5rEg")),d=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("YQTV"),n("04bd"),n("mbEz"),n("L/Qf"),n("2WkQ"),n("TfFZ"),n("aIZi"),n("2oDE"),n("bipt"),n("1vPl");var y=n("q1tI"),h=w(y),b=n("eO8H"),m=w(n("2CTR")),v=w(n("vDqi")),g=n("sYIF"),O=n("spEH");function w(e){return e&&e.__esModule?e:{default:e}}var C=p.default.Search,x=f.default.Option,S=[{id:"Manager",name:"管理员"},{id:"Developer",name:"开发者"},{id:"Reporter",name:"报告者"}],j=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.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.props.project_id&&n.getMember()},n.componentDidUpdate=function(e){n.props.project_id&&n.props.project_id!==e.project_id&&n.getMember()},n.getMember=function(){var e=n.state,t=e.page,r=e.search,o=e.role,i=n.props.match.params,a=i.projectsId,c="/"+i.owner+"/"+a+"/collaborators.json";v.default.get(c,{params:{page:t,search:r,role:o,limit:15}}).then((function(e){e&&n.setState({listData:e.data.members,isSpin:!1,otherSpin:!1,searchSpin:!1,total_count:e.data.total_count})})).catch((function(e){n.setState({isSpin:!1,otherSpin:!1,searchSpin:!1}),console.log(e)}))},n.changeInputUser=function(e){n.setState({searchKey:e}),n.getUserList(e)},n.searchMember=function(e){n.state.search=e,n.setState({searchSpin:!0}),n.getMember()},n.orderMember=function(e,t){n.setState({isSpin:!0}),n.state.role=e,n.state.roleName=t,n.getMember()},n.selectInputUser=function(e,t){n.setState({user_id:e,searchKey:t.props.searchValue}),n.getUserList(t.props.searchValue)},n.getUserList=function(e){v.default.get("/users/list.json",{params:{search:e}}).then((function(e){e&&n.setState({userDataSource:e.data.users})})).catch((function(e){console.log(e)}))},n.addCollaborator=function(){var e=n.state.user_id;if(e){n.setState({otherSpin:!0});var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/collaborators.json";v.default.post(o,{user_id:e}).then((function(e){e&&(n.setState({isSpin:!0,otherSpin:!1}),n.getMember())})).catch((function(e){n.setState({isSpin:!1,otherSpin:!1}),console.log(e)}))}},n.changeOperaiton=function(e,t){n.setState({isSpin:!0});var r=n.props.match.params,o=r.projectsId,i="/"+r.owner+"/"+o+"/collaborators/change_role.json";v.default.put(i,{user_id:t,role:e.key}).then((function(e){e&&(n.setState({isSpin:!0}),n.props.showNotification("权限修改成功!"),n.getMember())})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.deleteUser=function(e){n.state.page;var t=n.props.match.params,r=t.projectsId,o=t.owner;n.props.confirm({content:"确认将此成员从项目中移除?",onOk:function(){n.props.project_id;var t="/"+o+"/"+r+"/collaborators/remove.json";v.default.delete(t,{data:{user_id:e}}).then((function(e){e&&(n.setState({isSpin:!0}),n.props.showNotification("成员删除成功!"),n.getMember())})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}})},n.changePage=function(e){n.state.page=e,n.setState({isSpin:!0}),n.getMember()},n.state={listData:void 0,user:void 0,user_id:void 0,userDataSource:void 0,page:1,total_count:void 0,isSpin:!0,searchKey:void 0,search:void 0,role:void 0,otherSpin:!1,searchSpin:!1,roleName: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),d(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.userDataSource,p=t.listData,d=t.isSpin,y=t.page,v=t.total_count,w=t.searchKey,j=t.otherSpin,P=t.searchSpin,E=t.roleName,k=this.props.author,R=function(e){return"Manager"===e?"text-green":"Developer"===e?"text-primary":"text-yellow"},_=[{title:"头像",dataIndex:"image_url",render:function(e,t){return h.default.createElement("span",{className:"f-wrap-alignCenter"},h.default.createElement(b.Link,{to:"/users/"+t.login,className:"show-user-link"},h.default.createElement("img",{src:(0,g.getImageUrl)("images/"+e),alt:"",width:"32px",height:"32px",className:"mr3 radius"})))}},{title:"用户名",dataIndex:"name",render:function(e,t){return h.default.createElement(b.Link,{to:"/users/"+t.login,className:"show-user-link"},e)}},{title:"邮箱",dataIndex:"email",render:function(e){return h.default.createElement("span",null,e)}},{title:"Token值",dataIndex:"token",render:function(e){return h.default.createElement("span",null,e)}},{title:h.default.createElement("div",null,h.default.createElement("span",{className:"mr3"},"角色"),h.default.createElement(l.default,{placement:"bottom",title:h.default.createElement("div",null,h.default.createElement("div",{className:"mb3"},"管理员:拥有仓库设置功能、代码库读、写操作"),h.default.createElement("div",{className:"mb3"},"开发人员:只拥有代码库读、写操作"),h.default.createElement("div",{className:"mb3"},"报告者:只拥有代码库读操作"))},h.default.createElement(s.default,{type:"question-circle"}))),dataIndex:"role_name",render:function(e,t){return function(e){var t=S.filter((function(t){return t.id===e.role}));return h.default.createElement("span",null,k&&k.login===e.login?h.default.createElement("label",{className:R(e.role)},t&&t[0].name):h.default.createElement(u.default,{overlay:D(""+e.id),placement:"bottomCenter"},h.default.createElement("span",{className:R(e.role)},t&&t[0].name,h.default.createElement(s.default,{type:"caret-down",className:"ml2",size:"13"}))))}(t)}},{title:"操作",dataIndex:"action",render:function(t,n){return h.default.createElement("span",{style:{justifyContent:"center"}},k&&k.login!==n.login&&h.default.createElement("a",{className:"text-delete",onClick:function(){return e.deleteUser(n.id)}},"删除"))}}],D=function(t){return h.default.createElement(c.default,null,S.map((function(n,r){return h.default.createElement(c.default.Item,{key:n.id,value:n.id,onClick:function(n){return e.changeOperaiton(n,t)}},n.name)})))},N=n&&n.map((function(e,t){return h.default.createElement(x,{key:t,value:""+e.user_id,searchValue:""+e.username},h.default.createElement("img",{className:"user_img radius",width:"28",height:"28",src:(0,g.getImageUrl)("images/"+(e&&e.image_url)),alt:""}),h.default.createElement("span",{className:"ml10",style:{"vertical-align":"middle"}},e.username,h.default.createElement("span",{className:"color-grey ml10"},"(",e.login,")")))}));return h.default.createElement(O.WhiteBack,null,h.default.createElement("div",{className:"flex-a-center baseForm bbr"},h.default.createElement("span",{className:"font-18 text-black"},"协作者管理"),h.default.createElement("div",{className:"addPanel"},h.default.createElement(f.default,{dataSource:N,value:w,style:{width:300},onChange:this.changeInputUser,onSelect:this.selectInputUser,placeholder:"搜索需要添加的用户..."}),h.default.createElement(a.default,{type:"primary",ghost:!0,onClick:this.addCollaborator,className:"ml15",loading:j},h.default.createElement(s.default,{type:"plus",size:"16"}),"添加成员"))),h.default.createElement("div",{className:"grid-item-left baseForm"},h.default.createElement(C,{placeholder:"搜索项目成员...",enterButton:"搜索",loading:P,onSearch:function(t){return e.searchMember(t)}}),h.default.createElement(u.default,{overlay:function(t){return h.default.createElement(c.default,null,h.default.createElement(c.default.Item,{key:0,value:void 0,onClick:function(t){return e.orderMember(void 0,"角色筛选")}},"全部"),S.map((function(t,n){return h.default.createElement(c.default.Item,{key:t.id,value:t.id,onClick:function(n){return e.orderMember(t.id,t.name)}},t.name)})))},placement:"bottomCenter"},h.default.createElement("a",{className:"ml180 text-primary"},E||"角色筛选",h.default.createElement(s.default,{type:"caret-down",size:"16"})))),h.default.createElement(o.default,{spinning:d},h.default.createElement("div",{className:"collaboratorList baseForm"},p&&p.length>0?h.default.createElement(i.default,{pagination:!1,columns:_,dataSource:p,rowKey:function(e){return e.id}}):h.default.createElement(m.default,{_html:"暂时还没有相关数据!"}))),v&&v>15?h.default.createElement("div",{className:"edu-txt-center mt20 mb20"},h.default.createElement(r.default,{showQuickJumper:!0,pageSize:15,current:y,total:v,onChange:this.changePage})):"")}}]),t}(y.Component);t.default=j},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(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 _(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=D(t);if(_()){var r=D(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&E(n.prototype,o),i&&E(n,i),c}(r.Component);N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(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 K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 z(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=T.default.Group,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&&K(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=H(t);if(z()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=V(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),E=o("dropdown-button",a),k={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(k.visible=m),r.createElement(B,I({},P,{className:f()(E,d)}),r.createElement(T.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(N,k,r.createElement(T.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&F(n.prototype,o),i&&F(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},N.Button=W;t.default=N},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");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 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 R(e){return function(e){if(Array.isArray(e))return _(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 _(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(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 _(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 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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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=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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return T(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(R(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=R(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=F(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",k({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&D(n.prototype,o),i&&D(n,i),l}(r.Component);K.defaultProps={options:[]},K.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},K.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(K);var L=K;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return R}));var r=n("q1tI"),o=n("i+PK"),i=n("TSYQ"),a=n.n(i);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&f(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=a.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),i&&s(n,i),c}(r.Component),b=n("5rEg"),m=n("2fM7"),v=n("H84U");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(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(){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 C(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 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 P(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&S(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=E(t);if(P()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return C(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),i=w({},n.props);return delete i.children,r.createElement(h,i,n)},e.renderAutoComplete=function(t){var n,i,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,y=l.optionLabelProp,h=l.dataSource,b=l.children,v=c("select",u),C=a()((O(n={},"".concat(v,"-lg"),"large"===s),O(n,"".concat(v,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(v,"-show-search"),!0),O(n,"".concat(v,"-auto-complete"),!0),n)),x=r.Children.toArray(b);return i=x.length&&k(x[0])?b:h?h.map((function(e){if(r.isValidElement(e))return e;switch(g(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(m.default,w({},e.props,{className:C,mode:m.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:y,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),i)},e}return n=u,(i=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&x(n.prototype,i),c&&x(n,c),u}(r.Component);R.Option=o.b,R.OptGroup=o.a,R.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function E(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=E(n.children,t);e.push.apply(e,C(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,R(r,t)})),t}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 D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&T(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=F(t);if(A()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((D(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),D(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:K}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:K})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:R(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=R(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),D({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(D({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&N(n.prototype,o),i&&N(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var z=L;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 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 B(){return(B=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){for(var n=0;n<t.length;n++){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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){return!t||"object"!==V(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 Q(){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 U(e){return(U=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 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},Z=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&&q(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=U(t);if(Q()){var r=U(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return G(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=X(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Y=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Y.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Y.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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,n){return t&&ke(e.prototype,t),n&&ke(e,n),e}function _e(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)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ne(e){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Te(this,t)}}function Te(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){_e(i,t);var n=Ne(i);function i(e){var t;Ee(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return Re(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Fe=n("61SU"),Ke=n.n(Fe);function Le(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}function ze(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}var He=n("NUBc"),Ve=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),qe=n("ZvpZ"),Ge=n("H84U"),Qe=n("6CfX");function Ue(e){return(Ue="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Je(e,t,n){return t&&Ye(e.prototype,t),n&&Ye(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ue(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return E(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Ze(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(Qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=ze(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Ke()(t):"function"==typeof o&&o()};Ke()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Xe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ue(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ue(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Xe(n,"".concat(e,"-row-collapsed"),!o),Xe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(Z,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Xe(t={},"".concat(n,"-bordered"),i.props.bordered),Xe(t,"".concat(n,"-empty"),!v.length),Xe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(Ve.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(Qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(Qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||k(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ue(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return E(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},E(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=E(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Xe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(He.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Xe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Xe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(z,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Xe(l,"".concat(n,"-column-has-actions"),d||p),Xe(l,"".concat(n,"-column-has-filters"),p),Xe(l,"".concat(n,"-column-has-sorters"),d),Xe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ge.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||k(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Ze(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=H(H({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=xe;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),E=p(n("BC81")),k=p(n("AHJs")),R=p(n("PZDY")),_=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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(R.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);_.childContextTypes={table:y.any,components:y.any},_.Column=E.default,_.ColumnGroup=k.default,_.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(_),t.default=_},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=v()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[29,5,9,73,78],{"+B/L":function(e,t,n){},"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=c(o),a=c(n("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return l(this,t),u(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.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=s},"2WkQ":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+B/L"),n("TfFZ")},"2oGH":function(e,t,n){},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return ze}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(e){return function(e){if(Array.isArray(e))return E(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 E(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(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 E(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 R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 D(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}function N(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)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e){return function(){var t,n=F(e);if(A()){var r=F(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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 z(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){N(a,o);var i=M(a);function a(){var o;return R(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,k({prefixCls:l,tagName:n},o.props))},o}return D(a,[{key:"render",value:function(){return r.createElement(S.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var H=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,c=K(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,k({className:l},c),o)},V=function(e){N(n,e);var t=M(n);function n(){var e;return R(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return D(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=K(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,k({className:p},f),l))}}]),n}(r.Component),B=z({suffixCls:"layout",tagName:"section",displayName:"Layout"})(V),W=z({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(H),q=z({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(H),G=z({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(H);B.Header=W,B.Footer=q,B.Content=G;var Q=n("CtXQ"),U=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};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 Z(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(){return(Y=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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=U(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(Q.default,{type:"bars"})):null,S={expanded:p?r.createElement(Q.default,{type:"right"}):r.createElement(Q.default,{type:"left"}),collapsed:p?r.createElement(Q.default,{type:"left"}):r.createElement(Q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Y(Y({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),E=a()(u,g,"".concat(g,"-").concat(s),(Z(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),Z(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),Z(t,"".concat(g,"-below"),!!o.state.below),Z(t,"".concat(g,"-zero-width"),0===parseFloat(C)),t));return r.createElement("aside",Y({className:E},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},Ee={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};function ke(e){return(ke="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(){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 _e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function De(e,t){for(var n=0;n<t.length;n++){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,n){return t&&De(e.prototype,t),n&&De(e,n),e}function Te(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Ke(e);if(Fe()){var r=Ke(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(e,t){return!t||"object"!==ke(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 Fe(){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 Ke(e){return(Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){Te(n,e);var t=Ie(n);function n(e){var i,l;return _e(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=Re({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,Re({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Ne(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:Ee}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var ze=function(e){Te(n,e);var t=Ie(n);function n(){return _e(this,n),t.apply(this,arguments)}return Ne(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,Re({},e.props,t))}))}}]),n}(r.Component);ze.Divider=o.a,ze.Item=Ce,ze.SubMenu=C,ze.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,C,x={};if(y&&v(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var E=t.props;E&&E.children&&"string"==typeof E.children&&(x.title=E.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var E=u(x),k=!E&&f(x),R=!E&&!k&&h(x);j=x,E||k||R?u(C)?j=C:s(C)?j=a(C):k?(P=!1,j=o(x,!0)):R?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=m(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,v,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],E=function(o){var c=t[o],g=C(c,o),E="string"==typeof s?s:s(c,o,n),k={};i.isAnyColumnsFixed()&&(k.onHover=e.handleRowHover);var R=void 0;R="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var _="".concat(l,"-row"),D=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:_,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:E,record:c,index:o,prefixCls:_,childrenColumnName:u,columns:R,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},k,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(D),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},k=0;k<t.length;k+=1)E(k);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,E=y.body.row,k=y.body.cell,R=this.props.className;f&&(R+=" ".concat(t,"-hover"));var _=[];g(_);for(var D=0;D<n.length;D+=1){var N=n[D];v.default(void 0===N.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),_.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:N,key:N.key||N.dataIndex,expandIcon:h(D)&&m(),component:k}))}var T=l(r,c)||{},M=T.className,I=T.style,A=o(T,["className","style"]),F={height:p};d||(F.display="none"),F=a({},F,{},I);var K=w.default(t,R,"".concat(t,"-level-").concat(u),M);return b.createElement(E,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:K,style:F,"data-row-key":i}),_)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},"XyF/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=w(n("NUBc")),o=w(n("W9HT")),i=w(n("wCAj")),a=w(n("2/Rp")),c=w(n("BvKs")),l=w(n("3S7+")),u=w(n("jsC+")),s=w(n("CtXQ")),f=w(n("lrIw")),p=w(n("5rEg")),d=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("YQTV"),n("04bd"),n("mbEz"),n("L/Qf"),n("2WkQ"),n("TfFZ"),n("aIZi"),n("2oDE"),n("bipt"),n("1vPl");var y=n("q1tI"),h=w(y),b=n("eO8H"),m=w(n("2CTR")),v=w(n("vDqi")),g=n("sYIF"),O=n("spEH");function w(e){return e&&e.__esModule?e:{default:e}}var C=p.default.Search,x=f.default.Option,S=[{id:"Manager",name:"管理员"},{id:"Developer",name:"开发者"},{id:"Reporter",name:"报告者"}],j=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.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.props.project_id&&n.getMember()},n.componentDidUpdate=function(e){n.props.project_id&&n.props.project_id!==e.project_id&&n.getMember()},n.getMember=function(){var e=n.state,t=e.page,r=e.search,o=e.role,i=n.props.match.params,a=i.projectsId,c="/"+i.owner+"/"+a+"/collaborators.json";v.default.get(c,{params:{page:t,search:r,role:o,limit:15}}).then((function(e){e&&n.setState({listData:e.data.members,isSpin:!1,otherSpin:!1,searchSpin:!1,total_count:e.data.total_count})})).catch((function(e){n.setState({isSpin:!1,otherSpin:!1,searchSpin:!1}),console.log(e)}))},n.changeInputUser=function(e){n.setState({searchKey:e}),n.getUserList(e)},n.searchMember=function(e){n.state.search=e,n.setState({searchSpin:!0}),n.getMember()},n.orderMember=function(e,t){n.setState({isSpin:!0}),n.state.role=e,n.state.roleName=t,n.getMember()},n.selectInputUser=function(e,t){n.setState({user_id:e,searchKey:t.props.searchValue}),n.getUserList(t.props.searchValue)},n.getUserList=function(e){v.default.get("/users/list.json",{params:{search:e}}).then((function(e){e&&n.setState({userDataSource:e.data.users})})).catch((function(e){console.log(e)}))},n.addCollaborator=function(){var e=n.state.user_id;if(e){n.setState({otherSpin:!0});var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/collaborators.json";v.default.post(o,{user_id:e}).then((function(e){e&&(n.setState({isSpin:!0,otherSpin:!1}),n.getMember())})).catch((function(e){n.setState({isSpin:!1,otherSpin:!1}),console.log(e)}))}},n.changeOperaiton=function(e,t){n.setState({isSpin:!0});var r=n.props.match.params,o=r.projectsId,i="/"+r.owner+"/"+o+"/collaborators/change_role.json";v.default.put(i,{user_id:t,role:e.key}).then((function(e){e&&(n.setState({isSpin:!0}),n.props.showNotification("权限修改成功!"),n.getMember())})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))},n.deleteUser=function(e){n.state.page;var t=n.props.match.params,r=t.projectsId,o=t.owner;n.props.confirm({content:"确认将此成员从项目中移除?",onOk:function(){n.props.project_id;var t="/"+o+"/"+r+"/collaborators/remove.json";v.default.delete(t,{data:{user_id:e}}).then((function(e){e&&(n.setState({isSpin:!0}),n.props.showNotification("成员删除成功!"),n.getMember())})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}})},n.changePage=function(e){n.state.page=e,n.setState({isSpin:!0}),n.getMember()},n.state={listData:void 0,user:void 0,user_id:void 0,userDataSource:void 0,page:1,total_count:void 0,isSpin:!0,searchKey:void 0,search:void 0,role:void 0,otherSpin:!1,searchSpin:!1,roleName: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),d(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.userDataSource,p=t.listData,d=t.isSpin,y=t.page,v=t.total_count,w=t.searchKey,j=t.otherSpin,P=t.searchSpin,E=t.roleName,k=this.props.author,R=function(e){return"Manager"===e?"text-green":"Developer"===e?"text-primary":"text-yellow"},_=[{title:"头像",dataIndex:"image_url",render:function(e,t){return h.default.createElement("span",{className:"f-wrap-alignCenter"},h.default.createElement(b.Link,{to:"/users/"+t.login,className:"show-user-link"},h.default.createElement("img",{src:(0,g.getImageUrl)("images/"+e),alt:"",width:"32px",height:"32px",className:"mr3 radius"})))}},{title:"用户名",dataIndex:"name",render:function(e,t){return h.default.createElement(b.Link,{to:"/users/"+t.login,className:"show-user-link"},e)}},{title:"邮箱",dataIndex:"email",render:function(e){return h.default.createElement("span",null,e)}},{title:"Token值",dataIndex:"token",render:function(e){return h.default.createElement("span",null,e)}},{title:h.default.createElement("div",null,h.default.createElement("span",{className:"mr3"},"角色"),h.default.createElement(l.default,{placement:"bottom",title:h.default.createElement("div",null,h.default.createElement("div",{className:"mb3"},"管理员:拥有仓库设置功能、代码库读、写操作"),h.default.createElement("div",{className:"mb3"},"开发人员:只拥有代码库读、写操作"),h.default.createElement("div",{className:"mb3"},"报告者:只拥有代码库读操作"))},h.default.createElement(s.default,{type:"question-circle"}))),dataIndex:"role_name",render:function(e,t){return function(e){var t=S.filter((function(t){return t.id===e.role}));return h.default.createElement("span",null,k&&k.login===e.login?h.default.createElement("label",{className:R(e.role)},t&&t[0].name):h.default.createElement(u.default,{overlay:D(""+e.id),placement:"bottomCenter"},h.default.createElement("span",{className:R(e.role)},t&&t[0].name,h.default.createElement(s.default,{type:"caret-down",className:"ml2",size:"13"}))))}(t)}},{title:"操作",dataIndex:"action",render:function(t,n){return h.default.createElement("span",{style:{justifyContent:"center"}},k&&k.login!==n.login&&h.default.createElement("a",{className:"text-delete",onClick:function(){return e.deleteUser(n.id)}},"删除"))}}],D=function(t){return h.default.createElement(c.default,null,S.map((function(n,r){return h.default.createElement(c.default.Item,{key:n.id,value:n.id,onClick:function(n){return e.changeOperaiton(n,t)}},n.name)})))},N=n&&n.map((function(e,t){return h.default.createElement(x,{key:t,value:""+e.user_id,searchValue:""+e.username},h.default.createElement("img",{className:"user_img radius",width:"28",height:"28",src:(0,g.getImageUrl)("images/"+(e&&e.image_url)),alt:""}),h.default.createElement("span",{className:"ml10",style:{"vertical-align":"middle"}},e.username,h.default.createElement("span",{className:"color-grey ml10"},"(",e.login,")")))}));return h.default.createElement(O.WhiteBack,null,h.default.createElement("div",{className:"flex-a-center baseForm bbr"},h.default.createElement("span",{className:"font-18 text-black"},"协作者管理"),h.default.createElement("div",{className:"addPanel"},h.default.createElement(f.default,{dataSource:N,value:w,style:{width:300},onChange:this.changeInputUser,onSelect:this.selectInputUser,placeholder:"搜索需要添加的用户..."}),h.default.createElement(a.default,{type:"primary",ghost:!0,onClick:this.addCollaborator,className:"ml15",loading:j},h.default.createElement(s.default,{type:"plus",size:"16"}),"添加成员"))),h.default.createElement("div",{className:"grid-item-left baseForm"},h.default.createElement(C,{placeholder:"搜索项目成员...",enterButton:"搜索",loading:P,onSearch:function(t){return e.searchMember(t)}}),h.default.createElement(u.default,{overlay:function(t){return h.default.createElement(c.default,null,h.default.createElement(c.default.Item,{key:0,value:void 0,onClick:function(t){return e.orderMember(void 0,"角色筛选")}},"全部"),S.map((function(t,n){return h.default.createElement(c.default.Item,{key:t.id,value:t.id,onClick:function(n){return e.orderMember(t.id,t.name)}},t.name)})))},placement:"bottomCenter"},h.default.createElement("a",{className:"ml180 text-primary"},E||"角色筛选",h.default.createElement(s.default,{type:"caret-down",size:"16"})))),h.default.createElement(o.default,{spinning:d},h.default.createElement("div",{className:"collaboratorList baseForm"},p&&p.length>0?h.default.createElement(i.default,{pagination:!1,columns:_,dataSource:p,rowKey:function(e){return e.id}}):h.default.createElement(m.default,{_html:"暂时还没有相关数据!"}))),v&&v>15?h.default.createElement("div",{className:"edu-txt-center mt20 mb20"},h.default.createElement(r.default,{showQuickJumper:!0,pageSize:15,current:y,total:v,onChange:this.changePage})):"")}}]),t}(y.Component);t.default=j},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as 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)}}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(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 _(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=D(t);if(_()){var r=D(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&E(n.prototype,o),i&&E(n,i),c}(r.Component);N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(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 K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 z(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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=T.default.Group,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&&K(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=H(t);if(z()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=V(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),E=o("dropdown-button",a),k={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(k.visible=m),r.createElement(B,I({},P,{className:f()(E,d)}),r.createElement(T.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(N,k,r.createElement(T.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&F(n.prototype,o),i&&F(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},N.Button=W;t.default=N},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");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 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 R(e){return function(e){if(Array.isArray(e))return _(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 _(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(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 _(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 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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==E(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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=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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return T(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(R(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=R(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=F(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",k({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&D(n.prototype,o),i&&D(n,i),l}(r.Component);K.defaultProps={options:[]},K.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},K.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(K);var L=K;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return R}));var r=n("q1tI"),o=n("i+PK"),i=n("TSYQ"),a=n.n(i);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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&&f(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=a.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),i&&s(n,i),c}(r.Component),b=n("5rEg"),m=n("2fM7"),v=n("H84U");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(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(){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 C(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 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 P(){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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&S(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=E(t);if(P()){var r=E(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return j(this,e)});function u(){var e;return C(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),i=w({},n.props);return delete i.children,r.createElement(h,i,n)},e.renderAutoComplete=function(t){var n,i,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,y=l.optionLabelProp,h=l.dataSource,b=l.children,v=c("select",u),C=a()((O(n={},"".concat(v,"-lg"),"large"===s),O(n,"".concat(v,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(v,"-show-search"),!0),O(n,"".concat(v,"-auto-complete"),!0),n)),x=r.Children.toArray(b);return i=x.length&&k(x[0])?b:h?h.map((function(e){if(r.isValidElement(e))return e;switch(g(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(m.default,w({},e.props,{className:C,mode:m.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:y,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),i)},e}return n=u,(i=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&x(n.prototype,i),c&&x(n,c),u}(r.Component);R.Option=o.b,R.OptGroup=o.a,R.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function E(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=E(n.children,t);e.push.apply(e,C(r))}return e}),[])}function k(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=k(n.children)),t.push(n)}})),t}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,R(r,t)})),t}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 D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&T(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=F(t);if(A()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((D(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),D(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:K}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:K})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:R(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=R(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),D({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(D({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&N(n.prototype,o),i&&N(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var z=L;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 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 B(){return(B=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){for(var n=0;n<t.length;n++){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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){return!t||"object"!==V(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 Q(){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 U(e){return(U=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 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},Z=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&&q(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=U(t);if(Q()){var r=U(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return G(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=X(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Y=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Y.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Y.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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 Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ke(e,t){for(var n=0;n<t.length;n++){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,n){return t&&ke(e.prototype,t),n&&ke(e,n),e}function _e(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)}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ne(e){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Te(this,t)}}function Te(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){_e(i,t);var n=Ne(i);function i(e){var t;Ee(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return Re(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Fe=n("61SU"),Ke=n.n(Fe);function Le(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}function ze(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}var He=n("NUBc"),Ve=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),qe=n("ZvpZ"),Ge=n("H84U"),Qe=n("6CfX");function Ue(e){return(Ue="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Je(e,t,n){return t&&Ye(e.prototype,t),n&&Ye(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ue(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return E(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Ze(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(Qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=ze(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Ke()(t):"function"==typeof o&&o()};Ke()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Xe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ue(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ue(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Xe(n,"".concat(e,"-row-collapsed"),!o),Xe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(Z,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Xe(t={},"".concat(n,"-bordered"),i.props.bordered),Xe(t,"".concat(n,"-empty"),!v.length),Xe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(Ve.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(Qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(Qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||k(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ue(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return E(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},E(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=E(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Xe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(He.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Xe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Xe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(z,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Xe(l,"".concat(n,"-column-has-actions"),d||p),Xe(l,"".concat(n,"-column-has-filters"),p),Xe(l,"".concat(n,"-column-has-sorters"),d),Xe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ge.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||k(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Ze(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=H(H({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=xe;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),E=p(n("BC81")),k=p(n("AHJs")),R=p(n("PZDY")),_=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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(R.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);_.childContextTypes={table:y.any,components:y.any},_.Column=E.default,_.ColumnGroup=k.default,_.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(_),t.default=_},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=v()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file diff --git a/static/js/29.d4ae424b.chunk.js b/static/js/30.d5b64ae4.chunk.js similarity index 99% rename from static/js/29.d4ae424b.chunk.js rename to static/js/30.d5b64ae4.chunk.js index 767208584..2c496e59b 100644 --- a/static/js/29.d4ae424b.chunk.js +++ b/static/js/30.d5b64ae4.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[29,9,71,77],{"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BuC1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("kLXV")),o=l(n("5rEg")),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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("1vPl");var a=n("q1tI"),c=l(a);function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.onCancel,l=e.onOk,u=e.value,s=(0,a.useState)(void 0),f=i(s,2),p=f[0],d=f[1];return(0,a.useEffect)((function(){u&&d(u.pipeline_name)}),[u]),c.default.createElement(r.default,{visible:t,title:"流水线名称",width:"500px",onCancel:n,onOk:function(){l(p,u&&u.id)},centered:!0},c.default.createElement("div",{className:"choosenList"},c.default.createElement("span",null,"流水线名称:"),c.default.createElement(o.default,{value:p,onChange:function(e){return d(e.target.value)},placeholder:"请输入名称",style:{width:"340px",margin:"6px 0px"}})))}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 m(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 g(){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 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)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(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(n);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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 N(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function T(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 M(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){T(a,o);var i=M(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,E({prefixCls:l,tagName:n},o.props))},o}return N(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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,E({className:l},c),o)},z=function(e){T(n,e);var t=M(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,E({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),q=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),G=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=q,B.Content=G;var U=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,v=i.zeroWidthTriggerStyle,m=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(m,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=Y(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||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(U.default,{type:"bars"})):null,S={expanded:p?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:p?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),k=a()(u,g,"".concat(g,"-").concat(s),(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(C)),t));return r.createElement("aside",Z({className:k},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return me(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},ke={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 _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 Re(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 Te(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function De(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Ke(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Ie(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),m=i.getOpenMotionProps(v),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},m);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Te(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:ke}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Ie(n);function n(){return Re(this,n),t.apply(this,arguments)}return Te(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=Ce,He.SubMenu=C,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,v=e.handleBodyScrollLeft,m=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:v},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:m})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),v=y(n("mwIZ"));function m(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?v.default(r,d):r;var w,C,x={};if(y&&m(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),m(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var k=t.props;k&&k.children&&"string"==typeof k.children&&(x.title=k.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Jwem:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=h(n("W9HT")),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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=(r=["{\n padding:24px 30px;\n}"],o=["{\n padding:24px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("04bd");var l=n("q1tI"),u=h(l),s=n("spEH"),f=h(n("NPS8")),p=h(n("gyhb")),d=h(n("vDqi")),y=h(n("BuC1"));function h(e){return e&&e.__esModule?e:{default:e}}var b=h(n("vOnD")).default.div(c);t.default=function(e){var t=(0,l.useState)(!0),n=a(t,2),r=n[0],o=n[1],c=(0,l.useState)(void 0),h=a(c,2),v=h[0],m=h[1],g=(0,l.useState)(void 0),O=a(g,2),w=O[0],C=O[1],x=(0,l.useState)(void 0),S=a(x,2),j=S[0],P=S[1],k=(0,l.useState)(!1),E=a(k,2),_=E[0],R=E[1],N=e.projectDetail,T=e.current_user,D=e.match.params.projectsId,M=e.match.params.owner;function I(){d.default.get("/ci/pipelines/list.json",{params:{identifier:D}}).then((function(e){e&&e.data&&(C(e.data.pipelines),o(!1))})).catch((function(e){}))}function A(e,t){(R(!0),m(void 0),e)&&m({pipeline_name:e,id:t})}(0,l.useEffect)((function(){N&&P(e.projectDetail.permission)}),[N]),(0,l.useEffect)((function(){I()}),[]);var K=T&&j&&"Reporter"!==j;return u.default.createElement(i.default,{spinning:r},u.default.createElement(y.default,{visible:_,value:v,onCancel:function(){R(!1)},onOk:function(t,n){if(t)if(n){var r="/ci/pipelines/"+n+".json";d.default.put(r,{pipeline_name:t}).then((function(t){t&&t.data?(R(!1),I(),e.showNotification("流水线名称更新成功!")):e.showNotification("流水线名称更新失败,请稍后再试!")})).catch((function(e){}))}else{d.default.post("/ci/pipelines.json",{pipeline_name:t,file_name:".trustie-pipeline.yml",identifier:D}).then((function(t){R(!1),t&&t.data?(e.showNotification("流水线新增成功,请进行工作流配置!"),e.history.push("/projects/"+M+"/"+D+"/devops/dispose/"+t.data.id)):e.showNotification("流水线新增失败,请稍后再试!")})).catch((function(e){}))}else e.showNotification("请输入流水线名称!")}}),u.default.createElement("div",{className:"disposePanel"},u.default.createElement(p.default,null),u.default.createElement(b,null,K&&(!w||w&&0===w.length)&&u.default.createElement(s.Blueback,{onClick:function(){return A(void 0,void 0)}},"新增流水线"),u.default.createElement("div",{className:"mt20 disposeList"},u.default.createElement(f.default,{list:w,operate:K,projectsId:D,owner:M,showModal:A,deleteFunc:function(t){var n="/ci/pipelines/"+t+".json";d.default.delete(n).then((function(t){t&&t.data&&(e.showNotification("流水线删除成功!"),I())})).catch((function(e){}))}})))))}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(v,e);var t,n,o,c,b=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return u(this,v),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),v}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),c=n("2/Rp"),l=n("YMnH"),u=n("ZvpZ"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,l=o.title,u=o.cancelText,s=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")},l)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(c.default,p({onClick:t.onCancel,size:"small"},a),u||n.cancelText),r.createElement(c.default,p({onClick:t.onConfirm,type:f,size:"small"},i),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,c=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(l.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},s,{prefixCls:f,placement:c,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),a&&d(n,a),O}(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},NPS8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("wCAj")),o=c(n("NJEC"));n("mbEz"),n("k994");var i=c(n("q1tI")),a=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.list,n=e.operate,c=e.projectsId,l=e.owner,u=e.showModal,s=e.deleteFunc,f=[{title:"流水线名称",dataIndex:"pipeline_name",key:1,width:"20%",ellipsis:!0,render:function(e,t){return i.default.createElement("span",{onDoubleClick:function(){return u(e,t.id)},style:{display:"block",cursor:"pointer"}},e)}},{title:"文件名称",dataIndex:"file_name",key:1,width:"17%",className:"color-blue",ellipsis:!0},{title:"创建时间",dataIndex:"created_at",key:1,width:"18%",ellipsis:!0},{title:"操作",dataIndex:"operation",key:1,width:"30%",render:function(e,t){return i.default.createElement("span",null,n?i.default.createElement(a.Link,{to:"/projects/"+l+"/"+c+"/devops/dispose/"+t.id,className:"mr10 color-grey-6"},i.default.createElement("i",{className:"iconfont icon-zaibianji font-13 mr3"}),"编辑"):"",n?i.default.createElement(o.default,{title:"确定要删除此流水线?",onConfirm:function(){return s(t.id)},okText:"确定",cancelText:"取消"},i.default.createElement("a",{className:"mr10 color-grey-6"},i.default.createElement("i",{className:"iconfont icon-lajitong font-13 mr3"}),"删除")):"",i.default.createElement(a.Link,{to:"/projects/"+l+"/"+c+"/devops/list",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-yunhang font-13 mr3"}),"查看运行记录"))}}];return i.default.createElement(r.default,{size:"small",columns:f,dataSource:t,rowKey:function(e){return e.id},pagination:!1})}},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),v=n("VCL8"),m=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&m.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,m,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var k=u(x),E=!k&&f(x),_=!k&&!E&&h(x);j=x,k||E||_?u(C)?j=C:s(C)?j=a(C):E?(P=!1,j=o(x,!0)):_?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=v(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,m,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),v=d(n("TSYQ")),m=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,v=c.onRowMouseLeave,m=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],k=function(o){var c=t[o],g=C(c,o),k="string"==typeof s?s:s(c,o,n),E={};i.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var _=void 0;_="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),N=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:k,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:m,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:v},E,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(N),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},E=0;E<t.length;E+=1)k(E);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?v.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var v,O=f?t.table:"table",w=t.body.wrapper;f&&(v=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(v=a(v)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(m.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),v)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),v=h(n("i8i4")),m=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,v=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,k=y.body.row,E=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var N=0;N<n.length;N+=1){var T=n[N];m.default(void 0===T.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:T,key:T.key||T.dataIndex,expandIcon:h(N)&&v(),component:E}))}var D=l(r,c)||{},M=D.className,I=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},I);var F=w.default(t,_,"".concat(t,"-level-").concat(u),M);return b.createElement(k,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,v=e.isAnyColumnsFixed,m=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:v});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:m(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:m("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(v,e);var t,n,i,h,b=(t=v,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function v(){var e;return c(this,v),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=v,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),v}(r.Component);t.a=h},gyhb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),i=(r=o)&&r.__esModule?r:{default:r},a=n("spEH");t.default=function(){return i.default.createElement(a.AlignCenterBetween,null,i.default.createElement("span",{className:"font-20"},"工作流配置"),i.default.createElement("a",{href:"https://forum.trustie.net/forums/3111/detail",target:"_blank",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-tishi1 font-14 mr3"}),"模板使用说明"))}},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return m.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=s;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:v||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var m=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(v);var g=v,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 _(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 R(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=N(t);if(R()){var r=N(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&k(n.prototype,o),i&&k(n,i),c}(r.Component);T.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,v=i.visible,m=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",a),E={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:m,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(E.visible=v),r.createElement(B,I({},P,{className:f()(k,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(T,E,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},T.Button=W;t.default=T},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&m(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,v=a.onMouseEnter,m=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),i&&v(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");function k(e){return(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})(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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&T(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var v=c()(y,u);return r.createElement("div",E({className:v,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=m(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),v=u.radioGroup,g=o("radio",s),O=d({},b);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=l.value===v.value,O.disabled=l.disabled||v.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),v=n("jsC+"),m=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function k(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=k(n.children,t);e.push.apply(e,C(r))}return e}),[])}function E(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((N(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),N(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(m.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),N({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(N({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&T(n.prototype,o),i&&T(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){return!t||"object"!==z(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 U(){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 Y(e){return(Y=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 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=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&&q(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(U()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return G(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=X(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(v.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(m.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);function ve(e){return(ve="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 me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e,t){return!t||"object"!==ve(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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return me(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(e,n),e}function Re(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){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Te(i);function i(e){var t;ke(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),qe=n("ZvpZ"),Ge=n("H84U"),Ue=n("6CfX");function Ye(e){return(Ye="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return k(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Qe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(Ue.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Ue.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Xe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Xe(n,"".concat(e,"-row-collapsed"),!o),Xe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(Q,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(b,["style"]),m=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Xe(t={},"".concat(n,"-bordered"),i.props.bordered),Xe(t,"".concat(n,"-empty"),!m.length),Xe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in v&&(j=v.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},v,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:m,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),v=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(v," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(Ue.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(Ue.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||E(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return k(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},k(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=k(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Xe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Xe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Xe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Xe(l,"".concat(n,"-column-has-actions"),d||p),Xe(l,"".concat(n,"-column-has-filters"),p),Xe(l,"".concat(n,"-column-has-sorters"),d),Xe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ge.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||E(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);vt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(vt);var mt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Qe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(vt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);mt.displayName="withStore(Table)",mt.Column=be,mt.ColumnGroup=xe;var gt=mt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),v=p(n("cOkC")),m=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),k=p(n("BC81")),E=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=m.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(m.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=k.default,R.ColumnGroup=E.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=m()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[30,9,73,78],{"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BuC1:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("kLXV")),o=l(n("5rEg")),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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("1vPl");var a=n("q1tI"),c=l(a);function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.onCancel,l=e.onOk,u=e.value,s=(0,a.useState)(void 0),f=i(s,2),p=f[0],d=f[1];return(0,a.useEffect)((function(){u&&d(u.pipeline_name)}),[u]),c.default.createElement(r.default,{visible:t,title:"流水线名称",width:"500px",onCancel:n,onOk:function(){l(p,u&&u.id)},centered:!0},c.default.createElement("div",{className:"choosenList"},c.default.createElement("span",null,"流水线名称:"),c.default.createElement(o.default,{value:p,onChange:function(e){return d(e.target.value)},placeholder:"请输入名称",style:{width:"340px",margin:"6px 0px"}})))}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 m(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 g(){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 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)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(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(n);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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 N(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function T(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 M(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){T(a,o);var i=M(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,E({prefixCls:l,tagName:n},o.props))},o}return N(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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,E({className:l},c),o)},z=function(e){T(n,e);var t=M(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,E({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),q=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),G=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=q,B.Content=G;var U=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,v=i.zeroWidthTriggerStyle,m=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(m,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=Y(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||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(U.default,{type:"bars"})):null,S={expanded:p?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:p?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),k=a()(u,g,"".concat(g,"-").concat(s),(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(C)),t));return r.createElement("aside",Z({className:k},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function me(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&ve(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return me(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},ke={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 _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 Re(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 Te(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function De(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Ke(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Ie(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),m=i.getOpenMotionProps(v),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},m);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Te(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:ke}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Ie(n);function n(){return Re(this,n),t.apply(this,arguments)}return Te(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=Ce,He.SubMenu=C,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,v=e.handleBodyScrollLeft,m=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:v},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:m})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),v=y(n("mwIZ"));function m(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?v.default(r,d):r;var w,C,x={};if(y&&m(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),m(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var k=t.props;k&&k.children&&"string"==typeof k.children&&(x.title=k.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},Jwem:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=h(n("W9HT")),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,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=(r=["{\n padding:24px 30px;\n}"],o=["{\n padding:24px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("04bd");var l=n("q1tI"),u=h(l),s=n("spEH"),f=h(n("NPS8")),p=h(n("gyhb")),d=h(n("vDqi")),y=h(n("BuC1"));function h(e){return e&&e.__esModule?e:{default:e}}var b=h(n("vOnD")).default.div(c);t.default=function(e){var t=(0,l.useState)(!0),n=a(t,2),r=n[0],o=n[1],c=(0,l.useState)(void 0),h=a(c,2),v=h[0],m=h[1],g=(0,l.useState)(void 0),O=a(g,2),w=O[0],C=O[1],x=(0,l.useState)(void 0),S=a(x,2),j=S[0],P=S[1],k=(0,l.useState)(!1),E=a(k,2),_=E[0],R=E[1],N=e.projectDetail,T=e.current_user,D=e.match.params.projectsId,M=e.match.params.owner;function I(){d.default.get("/ci/pipelines/list.json",{params:{identifier:D}}).then((function(e){e&&e.data&&(C(e.data.pipelines),o(!1))})).catch((function(e){}))}function A(e,t){(R(!0),m(void 0),e)&&m({pipeline_name:e,id:t})}(0,l.useEffect)((function(){N&&P(e.projectDetail.permission)}),[N]),(0,l.useEffect)((function(){I()}),[]);var K=T&&j&&"Reporter"!==j;return u.default.createElement(i.default,{spinning:r},u.default.createElement(y.default,{visible:_,value:v,onCancel:function(){R(!1)},onOk:function(t,n){if(t)if(n){var r="/ci/pipelines/"+n+".json";d.default.put(r,{pipeline_name:t}).then((function(t){t&&t.data?(R(!1),I(),e.showNotification("流水线名称更新成功!")):e.showNotification("流水线名称更新失败,请稍后再试!")})).catch((function(e){}))}else{d.default.post("/ci/pipelines.json",{pipeline_name:t,file_name:".trustie-pipeline.yml",identifier:D}).then((function(t){R(!1),t&&t.data?(e.showNotification("流水线新增成功,请进行工作流配置!"),e.history.push("/projects/"+M+"/"+D+"/devops/dispose/"+t.data.id)):e.showNotification("流水线新增失败,请稍后再试!")})).catch((function(e){}))}else e.showNotification("请输入流水线名称!")}}),u.default.createElement("div",{className:"disposePanel"},u.default.createElement(p.default,null),u.default.createElement(b,null,K&&(!w||w&&0===w.length)&&u.default.createElement(s.Blueback,{onClick:function(){return A(void 0,void 0)}},"新增流水线"),u.default.createElement("div",{className:"mt20 disposeList"},u.default.createElement(f.default,{list:w,operate:K,projectsId:D,owner:M,showModal:A,deleteFunc:function(t){var n="/ci/pipelines/"+t+".json";d.default.delete(n).then((function(t){t&&t.data&&(e.showNotification("流水线删除成功!"),I())})).catch((function(e){}))}})))))}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(v,e);var t,n,o,c,b=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return u(this,v),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),v}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),c=n("2/Rp"),l=n("YMnH"),u=n("ZvpZ"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==f(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 v(){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 m(e){return(m=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,l=o.title,u=o.cancelText,s=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")},l)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(c.default,p({onClick:t.onCancel,size:"small"},a),u||n.cancelText),r.createElement(c.default,p({onClick:t.onConfirm,type:f,size:"small"},i),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,c=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(l.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},s,{prefixCls:f,placement:c,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),a&&d(n,a),O}(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},NPS8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("wCAj")),o=c(n("NJEC"));n("mbEz"),n("k994");var i=c(n("q1tI")),a=n("eO8H");function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.list,n=e.operate,c=e.projectsId,l=e.owner,u=e.showModal,s=e.deleteFunc,f=[{title:"流水线名称",dataIndex:"pipeline_name",key:1,width:"20%",ellipsis:!0,render:function(e,t){return i.default.createElement("span",{onDoubleClick:function(){return u(e,t.id)},style:{display:"block",cursor:"pointer"}},e)}},{title:"文件名称",dataIndex:"file_name",key:1,width:"17%",className:"color-blue",ellipsis:!0},{title:"创建时间",dataIndex:"created_at",key:1,width:"18%",ellipsis:!0},{title:"操作",dataIndex:"operation",key:1,width:"30%",render:function(e,t){return i.default.createElement("span",null,n?i.default.createElement(a.Link,{to:"/projects/"+l+"/"+c+"/devops/dispose/"+t.id,className:"mr10 color-grey-6"},i.default.createElement("i",{className:"iconfont icon-zaibianji font-13 mr3"}),"编辑"):"",n?i.default.createElement(o.default,{title:"确定要删除此流水线?",onConfirm:function(){return s(t.id)},okText:"确定",cancelText:"取消"},i.default.createElement("a",{className:"mr10 color-grey-6"},i.default.createElement("i",{className:"iconfont icon-lajitong font-13 mr3"}),"删除")):"",i.default.createElement(a.Link,{to:"/projects/"+l+"/"+c+"/devops/list",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-yunhang font-13 mr3"}),"查看运行记录"))}}];return i.default.createElement(r.default,{size:"small",columns:f,dataSource:t,rowKey:function(e){return e.id},pagination:!1})}},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),v=n("VCL8"),m=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&m.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},v.polyfill(w),t.default=b.connect()(w)},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),v=n("jeLo");e.exports=function(e,t,n,m,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var k=u(x),E=!k&&f(x),_=!k&&!E&&h(x);j=x,k||E||_?u(C)?j=C:s(C)?j=a(C):E?(P=!1,j=o(x,!0)):_?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=v(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,m,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),v=d(n("TSYQ")),m=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,v=c.onRowMouseLeave,m=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],k=function(o){var c=t[o],g=C(c,o),k="string"==typeof s?s:s(c,o,n),E={};i.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var _=void 0;_="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),N=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:k,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:m,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:v},E,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(N),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},E=0;E<t.length;E+=1)k(E);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?v.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var v,O=f?t.table:"table",w=t.body.wrapper;f&&(v=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(v=a(v)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(m.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),v)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),v=h(n("i8i4")),m=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=v.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,v=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,k=y.body.row,E=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var N=0;N<n.length;N+=1){var T=n[N];m.default(void 0===T.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:T,key:T.key||T.dataIndex,expandIcon:h(N)&&v(),component:E}))}var D=l(r,c)||{},M=D.className,I=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},I);var F=w.default(t,_,"".concat(t,"-level-").concat(u),M);return b.createElement(k,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,v=e.isAnyColumnsFixed,m=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:v});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:m(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:m("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(v,e);var t,n,i,h,b=(t=v,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function v(){var e;return c(this,v),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=v,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),v}(r.Component);t.a=h},gyhb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("q1tI"),i=(r=o)&&r.__esModule?r:{default:r},a=n("spEH");t.default=function(){return i.default.createElement(a.AlignCenterBetween,null,i.default.createElement("span",{className:"font-20"},"工作流配置"),i.default.createElement("a",{href:"https://forum.trustie.net/forums/3111/detail",target:"_blank",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-tishi1 font-14 mr3"}),"模板使用说明"))}},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var v=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return m.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),v=s;return v||-1===d.indexOf("contextMenu")||(v=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:v||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);v.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},v.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var m=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(v);var g=v,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 _(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 R(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=N(t);if(R()){var r=N(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&k(n.prototype,o),i&&k(n,i),c}(r.Component);T.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,v=i.visible,m=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",a),E={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:m,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(E.visible=v),r.createElement(B,I({},P,{className:f()(k,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(T,E,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},T.Button=W;t.default=T},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&m(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,v=a.onMouseEnter,m=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),i&&v(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");function k(e){return(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})(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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&T(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var v=c()(y,u);return r.createElement("div",E({className:v,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=m(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),v=u.radioGroup,g=o("radio",s),O=d({},b);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=l.value===v.value,O.disabled=l.disabled||v.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),v=n("jsC+"),m=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function k(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=k(n.children,t);e.push.apply(e,C(r))}return e}),[])}function E(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((N(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),N(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(m.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),N({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(N({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(v.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&T(n.prototype,o),i&&T(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){return!t||"object"!==z(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 U(){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 Y(e){return(Y=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 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=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&&q(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(U()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return G(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=X(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(v.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(m.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);function ve(e){return(ve="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 me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e,t){return!t||"object"!==ve(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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return me(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(e,n),e}function Re(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){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Te(i);function i(e){var t;ke(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),qe=n("ZvpZ"),Ge=n("H84U"),Ue=n("6CfX");function Ye(e){return(Ye="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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return k(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var vt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Qe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(Ue.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(Ue.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Xe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Xe(n,"".concat(e,"-row-collapsed"),!o),Xe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(Q,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),v=Object(o.a)(b,["style"]),m=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Xe(t={},"".concat(n,"-bordered"),i.props.bordered),Xe(t,"".concat(n,"-empty"),!m.length),Xe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in v&&(j=v.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},v,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:m,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:qe.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),v=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(v," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(Ue.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(Ue.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||E(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return k(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},k(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=k(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Xe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Xe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Xe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var v=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:v,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(m.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Xe(l,"".concat(n,"-column-has-actions"),d||p),Xe(l,"".concat(n,"-column-has-filters"),p),Xe(l,"".concat(n,"-column-has-sorters"),d),Xe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ge.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||E(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);vt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},vt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(vt);var mt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Qe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(vt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);mt.displayName="withStore(Table)",mt.Column=be,mt.ColumnGroup=xe;var gt=mt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),v=p(n("cOkC")),m=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),k=p(n("BC81")),E=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return v.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){v.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),v.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=m.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(m.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=k.default,R.ColumnGroup=E.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=m()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file diff --git a/static/js/30.cb54eca2.chunk.js b/static/js/31.e0ebe1fb.chunk.js similarity index 65% rename from static/js/30.cb54eca2.chunk.js rename to static/js/31.e0ebe1fb.chunk.js index e334a682e..cb882d3f8 100644 --- a/static/js/30.cb54eca2.chunk.js +++ b/static/js/31.e0ebe1fb.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[30,9,71,77],{"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(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(n);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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 N(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function T(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 M(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){T(a,o);var i=M(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,E({prefixCls:l,tagName:n},o.props))},o}return N(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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,E({className:l},c),o)},z=function(e){T(n,e);var t=M(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,E({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),G=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),U=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=G,B.Content=U;var q=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Q(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Q(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=Y(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(q.default,{type:"bars"})):null,S={expanded:p?r.createElement(q.default,{type:"right"}):r.createElement(q.default,{type:"left"}),collapsed:p?r.createElement(q.default,{type:"left"}):r.createElement(q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),k=a()(u,g,"".concat(g,"-").concat(s),(X(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),X(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),X(t,"".concat(g,"-below"),!!o.state.below),X(t,"".concat(g,"-zero-width"),0===parseFloat(C)),t));return r.createElement("aside",Z({className:k},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},ke={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 _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 Re(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 Te(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function De(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Ke(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Ie(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Te(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:ke}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Ie(n);function n(){return Re(this,n),t.apply(this,arguments)}return Te(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=Ce,He.SubMenu=C,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,C,x={};if(y&&v(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var k=t.props;k&&k.children&&"string"==typeof k.children&&(x.title=k.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),c=n("2/Rp"),l=n("YMnH"),u=n("ZvpZ"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==f(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 m(){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 v(e){return(v=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,l=o.title,u=o.cancelText,s=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")},l)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(c.default,p({onClick:t.onCancel,size:"small"},a),u||n.cancelText),r.createElement(c.default,p({onClick:t.onConfirm,type:f,size:"small"},i),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,c=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(l.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},s,{prefixCls:f,placement:c,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),a&&d(n,a),O}(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},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},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}},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var k=u(x),E=!k&&f(x),_=!k&&!E&&h(x);j=x,k||E||_?u(C)?j=C:s(C)?j=a(C):E?(P=!1,j=o(x,!0)):_?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=m(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,v,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],k=function(o){var c=t[o],g=C(c,o),k="string"==typeof s?s:s(c,o,n),E={};i.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var _=void 0;_="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),N=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:k,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},E,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(N),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},E=0;E<t.length;E+=1)k(E);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,k=y.body.row,E=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var N=0;N<n.length;N+=1){var T=n[N];v.default(void 0===T.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:T,key:T.key||T.dataIndex,expandIcon:h(N)&&m(),component:E}))}var D=l(r,c)||{},M=D.className,I=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},I);var F=w.default(t,_,"".concat(t,"-level-").concat(u),M);return b.createElement(k,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 _(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 R(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=N(t);if(R()){var r=N(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&k(n.prototype,o),i&&k(n,i),c}(r.Component);T.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",a),E={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(E.visible=m),r.createElement(B,I({},P,{className:f()(k,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(T,E,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},T.Button=W;t.default=T},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");function k(e){return(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})(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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&T(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",E({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},t8ff:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=v(n("NUBc")),a=v(n("wCAj")),c=v(n("NJEC")),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},u=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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=["{\n padding:24px 30px;\n}"],o=["{\n padding:24px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("mbEz"),n("k994");var f=n("q1tI"),p=v(f),d=n("spEH"),y=n("PhNK"),h=n("sYIF"),b=v(n("vDqi")),m=n("eO8H");function v(e){return e&&e.__esModule?e:{default:e}}var g=v(n("vOnD")).default.div(s),O=[{name:"所有"},{name:"运行中",value:"running"},{name:"已撤销",value:"killed"},{name:"构建失败",value:"failure"},{name:"已完成",value:"success"}];t.default=(0,f.forwardRef)((function(e,t){var n=(0,f.useState)(void 0),r=u(n,2),o=r[0],s=r[1],v=(0,f.useState)(1),w=u(v,2),C=w[0],x=w[1],S=(0,f.useState)(0),j=u(S,2),P=j[0],k=j[1],E=(0,f.useState)(void 0),_=u(E,2),R=_[0],N=_[1],T=(0,f.useState)(!0),D=u(T,2),M=D[0],I=D[1],A=e.match.params.projectsId,K=e.match.params.owner,F=e.projectDetail&&e.projectDetail.permission;(0,f.useImperativeHandle)(t,(function(){return{changeVal:function(){I(!0),H()}}})),(0,f.useEffect)((function(){A&&H()}),[C]);var L=e.current_user;function H(e){var t="/"+K+"/"+A+"/builds.json";b.default.get(t,{params:{search:e,page:C,limit:15}}).then((function(e){if(e&&e.data){var t=e.data.builds&&e.data.builds.map((function(e,t){return l({},e,{author:e.author&&e.author.name,message:{branch:e.branch_target,message:e.message,sha:(0,y.truncateCommitId)(e.build_after_sha)},started:e.started||"--"})}));k(e.data.total_count),N(t),I(!1)}})).catch((function(e){console.log(e)}))}function V(t,n){return"error"===t||"success"===t?"":"killed"===t||"failure"===t?p.default.createElement(c.default,{title:"确认重新构建?",onConfirm:function(t){return function(t,n){t.stopPropagation(),I(!0);var r="/"+K+"/"+A+"/builds/"+n+"/restart.json";b.default.post(r).then((function(t){t&&(e.showNotification("工作流正在重新构建!"),H())})).catch((function(e){console.log(e)}))}(t,n)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},p.default.createElement("a",{className:"color-blue",onClick:function(e){e.stopPropagation()}},"重新构建")):p.default.createElement(c.default,{title:"确认撤销构建?",onConfirm:function(t){return function(t,n){t.stopPropagation(),I(!0);var r="/"+K+"/"+A+"/builds/"+n+"/stop.json";b.default.delete(r).then((function(t){t&&(e.showNotification("撤销构建成功!"),H(A))})).catch((function(e){console.log(e)}))}(t,n)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},p.default.createElement("a",{className:"color-red",onClick:function(e){e.stopPropagation()}},"撤销构建"))}var z=[{title:"序号",dataIndex:"number",key:"number",width:"8%",render:function(e,t,n){return p.default.createElement("span",null,"#",e)}},{title:"状态",dataIndex:"status",key:"status",width:"12%",render:function(e,t,n){return function(e){switch(e){case"running":return p.default.createElement("span",{className:"statusTag running"},p.default.createElement("i",{className:"iconfont icon-yunhangzhong"}),"运行中");case"failure":case"error":return p.default.createElement("span",{className:"statusTag failed"},p.default.createElement("i",{className:"iconfont icon-weitongguo"}),"未通过");case"success":return p.default.createElement("span",{className:"statusTag pass"},p.default.createElement("i",{className:"iconfont icon-yitongguo"}),"已通过");case"killed":return p.default.createElement("span",{className:"statusTag killed"},p.default.createElement("i",{className:"iconfont icon-weitongguo"}),"已撤销");case"pending":return p.default.createElement("span",{className:"statusTag Preparing"},p.default.createElement("i",{className:"iconfont icon-zhunbeizhong"}),"准备中")}}(e)}},{title:"构建人",dataIndex:"author",key:"author",width:"12%",align:"center"},{title:"提交信息",dataIndex:"message",key:"message",width:"30%",render:function(e,t,n){var r=t.message;return p.default.createElement(p.default.Fragment,null,p.default.createElement("div",null,r.branch&&p.default.createElement("span",{className:"mr10 color-grey-8"},p.default.createElement("i",{className:"iconfont icon-fenzhi1 font-16 mr5"}),"分支",r.branch),r.sha&&p.default.createElement("span",{className:"color-orange"},r.sha)),p.default.createElement(d.AlignCenter,null,p.default.createElement("img",{style:{borderRadius:"50%",marginRight:"10px",width:"25px",height:"25px"},src:""+(L&&(0,h.getUrl)("/images/"+L.image_url))}),p.default.createElement("div",{className:"task-hide ml5",style:{maxWidth:"300px"}},r.message)))}},{title:"开始时间",dataIndex:"started",key:"started",width:"15%",render:function(e,t,n){return p.default.createElement("span",null,e||"--")}},{title:"运行时间",dataIndex:"duration_time",key:"duration_time",width:"15%",render:function(e,t,n){return p.default.createElement("span",null,e||"--")}},{title:"操作",dataIndex:"operation",key:"operation",render:function(e,t,n){return"Admin"===F||"Owner"===F?V(t.status,t.number):"--"}}];return p.default.createElement("div",{className:"disposePanel"},p.default.createElement(d.Banner,null,p.default.createElement(d.FlexAJ,null,p.default.createElement("span",null,"构建列表"),p.default.createElement(m.Link,{to:"/projects/"+K+"/"+A+"/devops/dispose",className:"font-15 color-grey-9"},"返回"))),p.default.createElement(g,null,p.default.createElement("div",{className:"listPart"},p.default.createElement(d.FlexAJ,null,p.default.createElement("ul",{className:"listNav"},O.map((function(e,t){return p.default.createElement("li",{onClick:function(){return t=e.value,s(t),void H(t);var t},className:o===e.value?"active":""},e.name)})))),p.default.createElement(a.default,{onRow:function(t,n){return{onClick:function(n){return r=t,void e.history.push("/projects/"+K+"/"+A+"/devops/"+r.number+"/detail");var r}}},columns:z,className:"normalTable",dataSource:R,pagination:!1,loading:M}),P>15?p.default.createElement("div",{style:{textAlign:"center",margin:"30px 50px"}},p.default.createElement(i.default,{showQuickJumper:!0,defaultCurrent:C,total:P,pageSize:15,onChange:function(e){x(e)}})):"")))}))},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function k(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=k(n.children,t);e.push.apply(e,C(r))}return e}),[])}function E(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((N(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),N(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),N({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(N({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&T(n.prototype,o),i&&T(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 U(e,t){return!t||"object"!==z(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 q(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},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)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(q()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return U(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Q(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(e,n),e}function Re(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){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Te(i);function i(e){var t;ke(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),Ge=n("ZvpZ"),Ue=n("H84U"),qe=n("6CfX");function Ye(e){return(Ye="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 Qe(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 Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return k(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Xe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Qe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Qe(n,"".concat(e,"-row-collapsed"),!o),Qe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(X,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Qe(t={},"".concat(n,"-bordered"),i.props.bordered),Qe(t,"".concat(n,"-empty"),!v.length),Qe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||E(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return k(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},k(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=k(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Qe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Qe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Qe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Qe(l,"".concat(n,"-column-has-actions"),d||p),Qe(l,"".concat(n,"-column-has-filters"),p),Qe(l,"".concat(n,"-column-has-sorters"),d),Qe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ue.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||E(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Xe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=xe;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),k=p(n("BC81")),E=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=k.default,R.ColumnGroup=E.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=v()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[31,9,73,78],{"+K+b":function(e,t,n){var r=n("JHRd");e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},"+Qka":function(e,t,n){var r=n("fmRc"),o=n("t2Dn"),i=n("cq/+"),a=n("T1AV"),c=n("GoyQ"),l=n("mTTR"),u=n("itsj");e.exports=function e(t,n,s,f,p){t!==n&&i(n,(function(i,l){if(p||(p=new r),c(i))a(t,n,l,s,e,f,p);else{var d=f?f(u(t,l),i,l+"",t,n,p):void 0;void 0===d&&(d=i),o(t,l,d)}}),l)}},"+hnl":function(e,t,n){},"+iFO":function(e,t,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},"0Cz8":function(e,t,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc");e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},"0hpf":function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=f(n("Gytx")),y=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&&a(e,t)}(y,e);var t,n,r,s,f=(t=y,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(){return o(this,y),f.apply(this,arguments)}return n=y,(r=[{key:"shouldComponentUpdate",value:function(e){return!d.default(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.expandable,n=e.prefixCls,r=e.onExpand,o=e.needIndentSpaced,i=e.expanded,a=e.record;if(t){var c=i?"expanded":"collapsed";return p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-").concat(c),onClick:function(e){return r(a,e)}})}return o?p.createElement("span",{className:"".concat(n,"-expand-icon ").concat(n,"-spaced")}):null}}])&&i(n.prototype,r),s&&i(n,s),y}(p.Component);t.default=y},"3L66":function(e,t,n){var r=n("MMmD"),o=n("ExA7");e.exports=function(e){return o(e)&&r(e)}},"5Tg0":function(e,t,n){(function(e){var r=n("Kz5y"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}}).call(this,n("YuTi")(e))},"6Ogq":function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0});var i={position:"absolute",top:"-9999px",width:"50px",height:"50px"};t.INTERNAL_COL_DEFINE="RC_TABLE_INTERNAL_COL_DEFINE",t.measureScrollbar=function(e){var t=e.direction,n=void 0===t?"vertical":t,a=e.prefixCls;if("undefined"==typeof document||"undefined"==typeof window)return 0;var c="vertical"===n;if(c&&r)return r;if(!c&&o)return o;var l=document.createElement("div");Object.keys(i).forEach((function(e){l.style[e]=i[e]})),l.className="".concat(a,"-hide-scrollbar scroll-div-append-to-body"),c?l.style.overflowY="scroll":l.style.overflowX="scroll",document.body.appendChild(l);var u=0;return c?(u=l.offsetWidth-l.clientWidth,r=u):(u=l.offsetHeight-l.clientHeight,o=u),document.body.removeChild(l),u},t.debounce=function(e,t,n){var r;function o(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=this;i[0]&&i[0].persist&&i[0].persist();var l=function(){r=null,n||e.apply(c,i)},u=n&&!r;clearTimeout(r),r=setTimeout(l,t),u&&e.apply(c,i)}return o.cancel=function(){r&&(clearTimeout(r),r=null)},o},t.remove=function(e,t){var n=e.indexOf(t),r=e.slice(0,n),o=e.slice(n+1,e.length);return r.concat(o)},t.getDataAndAriaProps=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}),{})}},"6RRn":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("wCXF")),i=r(n("BC81"));t.Column=i.default;var a=r(n("AHJs"));t.ColumnGroup=a.default;var c=n("6Ogq");t.INTERNAL_COL_DEFINE=c.INTERNAL_COL_DEFINE,t.default=o.default},"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 r=n("Xi7e");e.exports=function(){this.__data__=new r,this.size=0}},"7Ix3":function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},"7Lfq":function(e,t,n){},"88Gu":function(e,t){var n=Date.now;e.exports=function(e){var t=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},AHJs:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!==r(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(){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 l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var 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&&i(e,t)}(r,e);var t,n=(t=r,function(){var e,n=l(t);if(c()){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return a(this,e)});function r(){return o(this,r),n.apply(this,arguments)}return r}(u(n("q1tI")).Component);t.default=s,s.isTableColumnGroup=!0},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},B8du:function(e,t){e.exports=function(){return!1}},BC81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(){return null}},BjZs:function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(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 o(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(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 o(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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var s=u(n("q1tI")),f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cached={},this.columns=t||this.normalize(n)}var t,n,o;return t=e,(n=[{key:"isAnyColumnsFixed",value:function(){var e=this;return this._cache("isAnyColumnsFixed",(function(){return e.columns.some((function(e){return!!e.fixed}))}))}},{key:"isAnyColumnsLeftFixed",value:function(){var e=this;return this._cache("isAnyColumnsLeftFixed",(function(){return e.columns.some((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"isAnyColumnsRightFixed",value:function(){var e=this;return this._cache("isAnyColumnsRightFixed",(function(){return e.columns.some((function(e){return"right"===e.fixed}))}))}},{key:"leftColumns",value:function(){var e=this;return this._cache("leftColumns",(function(){return e.groupedColumns().filter((function(e){return"left"===e.fixed||!0===e.fixed}))}))}},{key:"rightColumns",value:function(){var e=this;return this._cache("rightColumns",(function(){return e.groupedColumns().filter((function(e){return"right"===e.fixed}))}))}},{key:"leafColumns",value:function(){var e=this;return this._cache("leafColumns",(function(){return e._leafColumns(e.columns)}))}},{key:"leftLeafColumns",value:function(){var e=this;return this._cache("leftLeafColumns",(function(){return e._leafColumns(e.leftColumns())}))}},{key:"rightLeafColumns",value:function(){var e=this;return this._cache("rightLeafColumns",(function(){return e._leafColumns(e.rightColumns())}))}},{key:"groupedColumns",value:function(){var e=this;return this._cache("groupedColumns",(function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];o[n]=o[n]||[];var i=[],c=function(e){var t=o.length-n;e&&!e.children&&t>1&&(!e.rowSpan||e.rowSpan<t)&&(e.rowSpan=t)};return t.forEach((function(l,u){var s=a({},l);o[n].push(s),r.colSpan=r.colSpan||0,s.children&&s.children.length>0?(s.children=e(s.children,n+1,s,o),r.colSpan+=s.colSpan):r.colSpan+=1;for(var f=0;f<o[n].length-1;f+=1)c(o[n][f]);u+1===t.length&&c(s),i.push(s)})),i}(e.columns)}))}},{key:"normalize",value:function(e){var t=this,n=[];return s.Children.forEach(e,(function(e){if(s.isValidElement(e)){var r=a({},e.props);e.key&&(r.key=e.key),e.type.isTableColumnGroup&&(r.children=t.normalize(r.children)),n.push(r)}})),n}},{key:"reset",value:function(e,t){this.columns=e||this.normalize(t),this._cached={}}},{key:"_cache",value:function(e,t){return e in this._cached||(this._cached[e]=t()),this._cached[e]}},{key:"_leafColumns",value:function(e){var t=this,n=[];return e.forEach((function(e){e.children?n.push.apply(n,r(t._leafColumns(e.children))):n.push(e)})),n}}])&&l(t.prototype,n),o&&l(t,o),e}();t.default=f},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return He}));var r=n("q1tI"),o=n("1j5w"),i=n("TSYQ"),a=n.n(i),c=n("BGR+"),l=n("VCL8"),u=n("17x9"),s=n("foW8"),f=n.n(s),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 y(){return(y=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 b(e,t){for(var n=0;n<t.length;n++){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 v(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 g(){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 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&&m(e,t)}(u,e);var t,n,i,c,l=(t=u,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=u,(i=[{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 c=t.antdMenuTheme;return r.createElement(o.d,y({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(c),i)}))}))}}])&&b(n.prototype,i),c&&b(n,c),u}(r.Component);w.contextTypes={antdMenuTheme:u.string},w.isSubMenu=1;var C=w,x=n("3S7+"),S=n("H84U");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 P(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(n);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 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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n<t.length;n++){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 N(e,t,n){return t&&R(e.prototype,t),n&&R(e,n),e}function T(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 M(e){return function(){var t,n=K(e);if(A()){var r=K(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}function I(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 A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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 H(e){var t=e.suffixCls,n=e.tagName,o=e.displayName;return function(e){var i;return(i=function(o){T(a,o);var i=M(a);function a(){var o;return _(this,a),(o=i.apply(this,arguments)).renderComponent=function(i){var a=i.getPrefixCls,c=o.props.prefixCls,l=a(t,c);return r.createElement(e,E({prefixCls:l,tagName:n},o.props))},o}return N(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,c=F(e,["prefixCls","className","children","tagName"]),l=a()(n,t);return r.createElement(i,E({className:l},c),o)},z=function(e){T(n,e);var t=M(n);function n(){var e;return _(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(P(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,c=o.className,l=o.children,u=o.hasSider,s=o.tagName,f=F(o,["prefixCls","className","children","hasSider","tagName"]),p=a()(c,i,(e={},t="".concat(i,"-has-sider"),n="boolean"==typeof u?u: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(s,E({className:p},f),l))}}]),n}(r.Component),B=H({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),W=H({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(V),G=H({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(V),U=H({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(V);B.Header=W,B.Footer=G,B.Content=U;var q=n("CtXQ"),Y=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Q(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Q(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ce=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 le,ue={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},se=f()({}),fe=(le=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return le+=1,"".concat(e).concat(le)}),pe=function(e){te(n,e);var t=re(n);function n(e){var o,i,l;return J(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,l=i.prefixCls,u=i.className,s=i.theme,f=i.collapsible,p=i.reverseArrow,d=i.trigger,y=i.style,h=i.width,b=i.collapsedWidth,m=i.zeroWidthTriggerStyle,v=ce(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),g=n("layout-sider",l),O=Object(c.a)(v,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?b:h,C=Y(w)?"".concat(w,"px"):String(w),x=0===parseFloat(String(b||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(g,"-zero-width-trigger ").concat(g,"-zero-width-trigger-").concat(p?"right":"left"),style:m},r.createElement(q.default,{type:"bars"})):null,S={expanded:p?r.createElement(q.default,{type:"right"}):r.createElement(q.default,{type:"left"}),collapsed:p?r.createElement(q.default,{type:"left"}):r.createElement(q.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],j=null!==d?x||r.createElement("div",{className:"".concat(g,"-trigger"),onClick:o.toggle,style:{width:C}},d||S):null,P=Z(Z({},y),{flex:"0 0 ".concat(C),maxWidth:C,minWidth:C,width:C}),k=a()(u,g,"".concat(g,"-").concat(s),(X(t={},"".concat(g,"-collapsed"),!!o.state.collapsed),X(t,"".concat(g,"-has-trigger"),f&&null!==d&&!x),X(t,"".concat(g,"-below"),!!o.state.below),X(t,"".concat(g,"-zero-width"),0===parseFloat(C)),t));return r.createElement("aside",Z({className:k},O,{style:P}),r.createElement("div",{className:"".concat(g,"-children")},o.props.children),f||o.state.below&&x?j:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ue&&(o.mql=i("(max-width: ".concat(ue[e.breakpoint],")"))),l="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:l,below:!1},o}return ee(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);pe.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(l.polyfill)(pe);r.Component;function de(e){return(de="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 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 he(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 me(e,t){return(me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t){return!t||"object"!==de(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 ge(){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 Oe(e){return(Oe=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},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&&me(e,t)}(l,e);var t,n,i,a,c=(t=l,function(){var e,n=Oe(t);if(ge()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ve(this,e)});function l(){var e;return he(this,l),(e=c.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,c=i.children,l=i.rootPrefixCls,u=e.props,s=u.title,f=we(u,["title"]);return r.createElement(p.Consumer,null,(function(t){var i=t.inlineCollapsed,u={title:s||(1===a?c:"")};return n||i||(u.title=null,u.visible=!1),r.createElement(x.default,ye({},u,{placement:"right",overlayClassName:"".concat(l,"-inline-collapsed-tooltip")}),r.createElement(o.b,ye({},f,{title:s,ref:e.saveMenuItem})))}))},e}return n=l,(i=[{key:"render",value:function(){return r.createElement(se.Consumer,null,this.renderItem)}}])&&be(n.prototype,i),a&&be(n,a),l}(r.Component);Ce.isMenuItem=!0;var xe=n("6CfX"),Se=n("oHiP"),je=function(){return{height:0,opacity:0}},Pe=function(e){return{height:e.scrollHeight,opacity:1}},ke={motionName:"ant-motion-collapse",onAppearStart:je,onEnterStart:je,onAppearActive:Pe,onEnterActive:Pe,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:je};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 _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 Re(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 Te(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function De(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&&Me(e,t)}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ie(e){return function(){var t,n=Fe(e);if(Ke()){var r=Fe(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Ae(this,t)}}function Ae(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 Ke(){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 Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=function(e){De(n,e);var t=Ie(n);function n(e){var i,l;return Re(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,l,u=e.getPopupContainer,s=e.getPrefixCls,f=i.props,p=f.prefixCls,d=f.className,y=f.theme,h=f.collapsedWidth,b=Object(c.a)(i.props,["collapsedWidth","siderCollapsed"]),m=i.getRealMenuMode(),v=i.getOpenMotionProps(m),g=s("menu",p),O=a()(d,"".concat(g,"-").concat(y),(t={},n="".concat(g,"-inline-collapsed"),l=i.getInlineCollapsed(),n in t?Object.defineProperty(t,n,{value:l,enumerable:!0,configurable:!0,writable:!0}):t[n]=l,t)),w=_e({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:m},v);return"inline"!==m&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===h||"0"===h||"0px"===h)&&(w.openKeys=[]),r.createElement(o.e,_e({getPopupContainer:u},b,w,{prefixCls:g,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(xe.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(xe.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(xe.a)(!(void 0!==e.siderCollapsed&&"inlineCollapsed"in e),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),"openKeys"in e?l=e.openKeys:"defaultOpenKeys"in e&&(l=e.defaultOpenKeys),i.state={openKeys:l||[],switchingModeFromInline:!1,inlineOpenKeys:[],prevProps:e},i}return Te(n,[{key:"componentWillUnmount",value:function(){Se.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(xe.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:ke}:{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);Le.defaultProps={className:"",theme:"light",focusable:!1},Object(l.polyfill)(Le);var He=function(e){De(n,e);var t=Ie(n);function n(){return Re(this,n),t.apply(this,arguments)}return Te(n,[{key:"render",value:function(){var e=this;return r.createElement(se.Consumer,null,(function(t){return r.createElement(Le,_e({},e.props,t))}))}}]),n}(r.Component);He.Divider=o.a,He.Item=Ce,He.SubMenu=C,He.ItemGroup=o.c},Cit5:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("TSYQ")),l=n("6Ogq"),u=o(n("UNrv"));function s(e,t){var n,r,o,a=t.table,s=a.props,f=s.prefixCls,p=s.scroll,d=s.showHeader,y=e.columns,h=e.fixed,b=e.tableClassName,m=e.handleBodyScrollLeft,v=e.expander,g=a.saveRef,O=a.props.useFixedHeader,w={},C=l.measureScrollbar({direction:"vertical"});if(p.y){O=!0;var x=l.measureScrollbar({direction:"horizontal",prefixCls:f});x>0&&!h&&(w.marginBottom="-".concat(x,"px"),w.paddingBottom="0px",w.minWidth="".concat(C,"px"),w.overflowX="scroll",w.overflowY=0===C?"hidden":"scroll")}return O&&d?i.createElement("div",{key:"headTable",ref:h?null:g("headTable"),className:c.default("".concat(f,"-header"),(n={},r="".concat(f,"-hide-scrollbar"),o=C>0,r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)),style:w,onScroll:m},i.createElement(u.default,{tableClassName:b,hasHead:!0,hasBody:!1,fixed:h,columns:y,expander:v})):null}t.default=s,s.contextTypes={table:a.any}},DSRE:function(e,t,n){(function(e){var r=n("Kz5y"),o=n("B8du"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,l=(c?c.isBuffer:void 0)||o;e.exports=l}).call(this,n("YuTi")(e))},DVfl:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=y(n("TSYQ")),m=y(n("mwIZ"));function v(e){return e&&!h.isValidElement(e)&&"[object Object]"===Object.prototype.toString.call(e)}var g=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&&u(e,t)}(y,e);var t,n,r,o,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(){var e;return c(this,y),(e=d.apply(this,arguments)).handleClick=function(t){var n=e.props,r=n.record,o=n.column.onCellClick;o&&o(r,t)},e}return n=y,(r=[{key:"render",value:function(){var e,t,n=this.props,r=n.record,o=n.indentSize,c=n.prefixCls,l=n.indent,u=n.index,s=n.expandIcon,f=n.column,p=n.component,d=f.dataIndex,y=f.render,g=f.className,O=void 0===g?"":g;t="number"==typeof d||d&&0!==d.length?m.default(r,d):r;var w,C,x={};if(y&&v(t=y(t,r,u))){var S=x=t.props||x;w=S.colSpan,C=S.rowSpan,t=t.children}f.onCell&&(x=i({},x,{},f.onCell(r,u))),v(t)&&(t=null);var j=s?h.createElement("span",{style:{paddingLeft:"".concat(o*l,"px")},className:"".concat(c,"-indent indent-level-").concat(l)}):null;if(0===C||0===w)return null;f.align&&(x.style=i({textAlign:f.align},x.style));var P=b.default(O,(a(e={},"".concat(c,"-cell-ellipsis"),!!f.ellipsis),a(e,"".concat(c,"-cell-break-word"),!!f.width),e));if(f.ellipsis)if("string"==typeof t)x.title=t;else if(t){var k=t.props;k&&k.children&&"string"==typeof k.children&&(x.title=k.children)}return h.createElement(p,Object.assign({className:P,onClick:this.handleClick},x),j,s,t)}}])&&l(n.prototype,r),o&&l(n,o),y}(h.Component);t.default=g},"Dt+G":function(e,t,n){},EA7m:function(e,t,n){var r=n("zZ0H"),o=n("Ioao"),i=n("wclG");e.exports=function(e,t){return i(o(e,t,r),e+"")}},Ioao:function(e,t,n){var r=n("heNW"),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),l=Array(c);++a<c;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}},JHRd:function(e,t,n){var r=n("Kz5y").Uint8Array;e.exports=r},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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){!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&&f(e,t)}(m,e);var t,n,o,c,b=(t=m,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function m(){var e;return u(this,m),(e=b.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,c=h(o,["prefixCls"]),u=n("radio-button",a);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,l({prefixCls:u},c))},e}return n=m,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),m}(r.Component);b.contextTypes={radioGroup:o.any}},L8xA:function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},LcsW:function(e,t,n){var r=n("kekF")(Object.getPrototypeOf,Object);e.exports=r},LsHQ:function(e,t,n){var r=n("EA7m"),o=n("mv/X");e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},MMmD:function(e,t,n){var r=n("lSCD"),o=n("shjB");e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},MibV:function(e,t,n){"use strict";function r(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 o(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 i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=c(n("q1tI")),s=n("xI0J"),f=l(n("TSYQ"));function p(e,t){var n=e.fixedColumnsHeadRowsHeight,r=t.columns,o=t.rows,i=t.fixed,a=n[0];return i&&a&&r?"auto"===a?"auto":a/o.length:null}t.default=s.connect((function(e,t){return{height:p(e,t)}}))((function(e){var t=e.row,n=e.index,o=e.height,c=e.components,l=e.onHeaderRow,s=e.prefixCls,p=c.header.row,d=c.header.cell,y=l(t.map((function(e){return e.column})),n),h=y?y.style:{},b=i({height:t.length>1&&0===n&&o&&"auto"!==o?parseInt(o.toString(),10):o},h);return u.createElement(p,Object.assign({},y,{style:b}),t.map((function(e,t){var n,o=e.column,c=e.isLast,l=r(e,["column","isLast"]),p=o.onHeaderCell?o.onHeaderCell(o):{};return o.align&&(p.style=i({},p.style,{textAlign:o.align})),p.className=f.default(p.className,o.className,(a(n={},"".concat(s,"-align-").concat(o.align),!!o.align),a(n,"".concat(s,"-row-cell-ellipsis"),!!o.ellipsis),a(n,"".concat(s,"-row-cell-break-word"),!!o.width),a(n,"".concat(s,"-row-cell-last"),c),n)),u.createElement(d,Object.assign({},l,p,{key:o.key||o.dataIndex||t}))})))}))},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),c=n("2/Rp"),l=n("YMnH"),u=n("ZvpZ"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==f(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 m(){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 v(e){return(v=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,l=o.title,u=o.cancelText,s=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")},l)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(c.default,p({onClick:t.onCancel,size:"small"},a),u||n.cancelText),r.createElement(c.default,p({onClick:t.onConfirm,type:f,size:"small"},i),s||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,c=o.placement,s=g(o,["prefixCls","placement"]),f=n("popover",a),d=r.createElement(l.a,{componentName:"Popconfirm",defaultLocale:u.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,p({},s,{prefixCls:f,placement:c,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(s.a,null,this.renderConfirm)}}])&&d(n.prototype,o),a&&d(n,a),O}(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},PZDY:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(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(n);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 l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==r(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},y=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var h=d(n("q1tI")),b=n("xI0J"),m=n("VCL8"),v=y(n("Gytx")),g=y(n("XaS2")),O=n("6Ogq"),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&&u(e,t)}(y,e);var t,n,r,c,d=(t=y,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function y(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=d.call(this,e)).handleExpandChange=function(e,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];r&&r.stopPropagation();var c=t.props,l=c.onExpandedRowsChange,u=c.onExpand,s=t.store.getState(),f=s.expandedRowKeys;if(e)f=[].concat(a(f),[o]);else{var p=f.indexOf(o);-1!==p&&(f=O.remove(f,o))}t.props.expandedRowKeys||t.store.setState({expandedRowKeys:f}),t.latestExpandedRows&&v.default(t.latestExpandedRows,f)||(t.latestExpandedRows=f,l(f)),i||u(e,n)},t.renderExpandIndentCell=function(e,n){var r=t.props,a=r.prefixCls;if(r.expandIconAsCell&&"right"!==n&&e.length){var c={key:"rc-table-expand-icon-cell",className:"".concat(a,"-expand-icon-th"),title:"",rowSpan:e.length};e[0].unshift(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},c,{column:c}))}},t.renderRows=function(e,n,r,o,i,c,l,u){var s=t.props,f=s.expandedRowClassName,p=s.expandedRowRender,d=r[s.childrenColumnName],y=[].concat(a(u),[l]),h=i+1;p&&n.push(t.renderExpandedRow(r,o,p,f(r,o,i),y,h,c)),d&&n.push.apply(n,a(e(d,h,y)))};var n=e.data,r=e.childrenColumnName,c=e.defaultExpandAllRows,l=e.expandedRowKeys,u=e.defaultExpandedRowKeys,s=e.getRowKey,f=[],p=a(n);if(c)for(var h=0;h<p.length;h+=1){var b=p[h];f.push(s(b,h)),p=p.concat(b[r]||[])}else f=l||u;return t.columnManager=e.columnManager,t.store=e.store,t.store.setState({expandedRowsHeight:{},expandedRowKeys:f}),t}return n=y,(r=[{key:"componentDidMount",value:function(){this.handleUpdated()}},{key:"componentDidUpdate",value:function(){"expandedRowKeys"in this.props&&this.store.setState({expandedRowKeys:this.props.expandedRowKeys}),this.handleUpdated()}},{key:"handleUpdated",value:function(){this.latestExpandedRows=null}},{key:"renderExpandedRow",value:function(e,t,n,r,o,i,a){var c,l=this,u=this.props,s=u.prefixCls,f=u.expandIconAsCell,p=u.indentSize,d=o[o.length-1],y="".concat(d,"-extra-row");c="left"===a?this.columnManager.leftLeafColumns().length:"right"===a?this.columnManager.rightLeafColumns().length:this.columnManager.leafColumns().length;var b=[{key:"extra-row",render:function(){var r=l.store.getState().expandedRowKeys,o=(void 0===r?[]:r).includes(d);return{props:{colSpan:c},children:"right"!==a?n(e,t,i,o):" "}}}];return f&&"right"!==a&&b.unshift({key:"expand-icon-placeholder",render:function(){return null}}),h.createElement(g.default,{key:y,columns:b,className:r,rowKey:y,ancestorKeys:o,prefixCls:"".concat(s,"-expanded-row"),indentSize:p,indent:i,fixed:a,components:{body:{row:"tr",cell:"td"}},expandedRow:!0})}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.childrenColumnName,r=e.children,o=t.some((function(e){return e[n]}));return r({props:this.props,needIndentSpaced:o,renderRows:this.renderRows,handleExpandChange:this.handleExpandChange,renderExpandIndentCell:this.renderExpandIndentCell})}}])&&l(n.prototype,r),c&&l(n,c),y}(h.Component);w.defaultProps={expandIconAsCell:!1,expandedRowClassName:function(){return""},expandIconColumnIndex:0,defaultExpandAllRows:!1,defaultExpandedRowKeys:[],childrenColumnName:"children",indentSize:15,onExpand:function(){},onExpandedRowsChange:function(){}},m.polyfill(w),t.default=b.connect()(w)},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}},Q1l4:function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},QcOe:function(e,t,n){var r=n("GoyQ"),o=n("6sVZ"),i=n("7Ix3"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},QkVN:function(e,t,n){var r=n("+Qka"),o=n("LsHQ")((function(e,t,n){r(e,t,n)}));e.exports=o},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),c=n("Gytx"),l=n.n(c),u=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 h(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 m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function u(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=b(t).props,i=o.prefixCls,c=o.className,l=void 0===c?"":c,u=o.options,f=o.buttonStyle,p=n("radio",i),d="".concat(p,"-group"),y=a()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),h=o.children;return u&&u.length>0&&(h=u.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},h)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=u,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),i&&d(n,i),u}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(u.polyfill)(O),t.a=O},T1AV:function(e,t,n){var r=n("t2Dn"),o=n("5Tg0"),i=n("yP5f"),a=n("Q1l4"),c=n("+iFO"),l=n("03A+"),u=n("Z0cm"),s=n("3L66"),f=n("DSRE"),p=n("lSCD"),d=n("GoyQ"),y=n("YO3V"),h=n("c6wG"),b=n("itsj"),m=n("jeLo");e.exports=function(e,t,n,v,g,O,w){var C=b(e,n),x=b(t,n),S=w.get(x);if(S)r(e,n,S);else{var j=O?O(C,x,n+"",e,t,w):void 0,P=void 0===j;if(P){var k=u(x),E=!k&&f(x),_=!k&&!E&&h(x);j=x,k||E||_?u(C)?j=C:s(C)?j=a(C):E?(P=!1,j=o(x,!0)):_?(P=!1,j=i(x,!0)):j=[]:y(x)||l(x)?(j=C,l(C)?j=m(C):d(C)&&!p(C)||(j=c(x))):P=!1}P&&(w.set(x,j),g(j,x,v,O,w),w.delete(x)),r(e,n,j)}}},"UNi/":function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},UNrv:function(e,t,n){"use strict";function r(e){return(r="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){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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==r(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 s(){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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},d=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var y=p(n("q1tI")),h=p(n("17x9")),b=n("xI0J"),m=d(n("TSYQ")),v=d(n("zSdB")),g=d(n("VMSz")),O=d(n("XaS2")),w=d(n("zgq8")),C=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&&l(e,t)}(h,e);var t,n,r,p,d=(t=h,function(){var e,n=f(t);if(s()){var r=f(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return a(this,h),(e=d.apply(this,arguments)).handleRowHover=function(t,n){e.props.store.setState({currentHoverKey:t?n:null})},e.renderRows=function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e.context.table,i=o.columnManager,a=o.components,c=o.props,l=c.prefixCls,u=c.childrenColumnName,s=c.rowClassName,f=c.rowRef,p=c.onRowClick,d=c.onRowDoubleClick,h=c.onRowContextMenu,b=c.onRowMouseEnter,m=c.onRowMouseLeave,v=c.onRow,g=e.props,C=g.getRowKey,x=g.fixed,S=g.expander,j=g.isAnyColumnsFixed,P=[],k=function(o){var c=t[o],g=C(c,o),k="string"==typeof s?s:s(c,o,n),E={};i.isAnyColumnsFixed()&&(E.onHover=e.handleRowHover);var _=void 0;_="left"===x?i.leftLeafColumns():"right"===x?i.rightLeafColumns():e.getColumns(i.leafColumns());var R="".concat(l,"-row"),N=y.createElement(w.default,Object.assign({},S.props,{fixed:x,index:o,prefixCls:R,record:c,key:g,rowKey:g,onRowClick:p,needIndentSpaced:S.needIndentSpaced,onExpandedChange:S.handleExpandChange}),(function(e){return y.createElement(O.default,Object.assign({fixed:x,indent:n,className:k,record:c,index:o,prefixCls:R,childrenColumnName:u,columns:_,onRow:v,onRowDoubleClick:d,onRowContextMenu:h,onRowMouseEnter:b,onRowMouseLeave:m},E,{rowKey:g,ancestorKeys:r,ref:f(c,o,n),components:a,isAnyColumnsFixed:j},e))}));P.push(N),S.renderRows(e.renderRows,P,c,o,n,x,g,r)},E=0;E<t.length;E+=1)k(E);return P},e}return n=h,(r=[{key:"getColumns",value:function(e){var t=this.props,n=t.columns,r=void 0===n?[]:n,a=t.fixed,c=this.context.table.props.prefixCls;return(e||r).map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{className:e.fixed&&!a?m.default("".concat(c,"-fixed-columns-in-body"),e.className):e.className})}))}},{key:"render",value:function(){var e=this.context.table,t=e.components,n=e.props,r=n.prefixCls,o=n.scroll,i=n.data,a=n.getBodyWrapper,c=this.props,l=c.expander,u=c.tableClassName,s=c.hasHead,f=c.hasBody,p=c.fixed,d=c.isAnyColumnsFixed,h={};if(!p&&o.x){var b=d?"max-content":"auto";h.width=!0===o.x?b:o.x}var m,O=f?t.table:"table",w=t.body.wrapper;f&&(m=y.createElement(w,{className:"".concat(r,"-tbody")},this.renderRows(i,0)),a&&(m=a(m)));var C=this.getColumns();return y.createElement(O,{className:u,style:h,key:"table"},y.createElement(v.default,{columns:C,fixed:p}),s&&y.createElement(g.default,{expander:l,columns:C,fixed:p}),m)}}])&&c(n.prototype,r),p&&c(n,p),h}(y.Component);C.contextTypes={table:h.any},t.default=b.connect()(C)},VMSz:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n("q1tI")),a=r(n("17x9")),c=o(n("MibV"));var l=function(e,t){var n=t.table,r=n.components,o=n.props,a=o.prefixCls,l=o.showHeader,u=o.onHeaderRow,s=e.expander,f=e.columns,p=e.fixed;if(!l)return null;var d=function e(t){var n=t.columns,r=void 0===n?[]:n,o=t.currentRow,i=void 0===o?0:o,a=t.rows,c=void 0===a?[]:a,l=t.isLast,u=void 0===l||l;return c[i]=c[i]||[],r.forEach((function(t,n){if(t.rowSpan&&c.length<t.rowSpan)for(;c.length<t.rowSpan;)c.push([]);var o=u&&n===r.length-1,a={key:t.key,className:t.className||"",children:t.title,isLast:o,column:t};t.children&&e({columns:t.children,currentRow:i+1,rows:c,isLast:o}),"colSpan"in t&&(a.colSpan=t.colSpan),"rowSpan"in t&&(a.rowSpan=t.rowSpan),0!==a.colSpan&&c[i].push(a)})),c.filter((function(e){return e.length>0}))}({columns:f});s.renderExpandIndentCell(d,p);var y=r.header.wrapper;return i.createElement(y,{className:"".concat(a,"-thead")},d.map((function(e,t){return i.createElement(c.default,{prefixCls:a,key:t,index:t,fixed:p,columns:f,rows:d,row:e,components:r,onHeaderRow:u})})))};l.contextTypes={table:a.any},t.default=l},VaNO:function(e,t){e.exports=function(e){return this.__data__.has(e)}},W5Cv:function(e,t,n){"use strict";e.exports=function(e,t){var n=window.Element.prototype,r=n.matches||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;if(!e||1!==e.nodeType)return!1;var o=e.parentNode;if(r)return r.call(e,t);for(var i=o.querySelectorAll(t),a=i.length,c=0;c<a;c++)if(i[c]===e)return!0;return!1}},XaS2:function(e,t,n){"use strict";function r(e){return(r="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){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 i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==r(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 p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},h=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var b=y(n("q1tI")),m=h(n("i8i4")),v=h(n("cOkC")),g=n("xI0J"),O=n("VCL8"),w=h(n("TSYQ")),C=h(n("DVfl")),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&&s(e,t)}(h,e);var t,n,r,i,y=(t=h,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function h(){var e;return l(this,h),(e=y.apply(this,arguments)).state={},e.onTriggerEvent=function(t,n,r){var o=e.props,i=o.record,a=o.index;return function(){r&&r();for(var e=arguments.length,o=new Array(e),c=0;c<e;c++)o[c]=arguments[c];var l=o[0];n&&n(i,a,l),t&&t.apply(void 0,o)}},e.onMouseEnter=function(){var t=e.props;(0,t.onHover)(!0,t.rowKey)},e.onMouseLeave=function(){var t=e.props;(0,t.onHover)(!1,t.rowKey)},e}return n=h,i=[{key:"getDerivedStateFromProps",value:function(e,t){return t.visible||!t.visible&&e.visible?{shouldRender:!0,visible:e.visible}:{visible:e.visible}}}],(r=[{key:"componentDidMount",value:function(){this.state.shouldRender&&this.saveRowRef()}},{key:"shouldComponentUpdate",value:function(e){return!(!this.props.visible&&!e.visible)}},{key:"componentDidUpdate",value:function(){this.state.shouldRender&&!this.rowRef&&this.saveRowRef()}},{key:"setExpandedRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().expandedRowsHeight;r=a({},r,c({},n,this.rowRef.getBoundingClientRect().height)),t.setState({expandedRowsHeight:r})}},{key:"setRowHeight",value:function(){var e=this.props,t=e.store,n=e.rowKey,r=t.getState().fixedColumnsBodyRowsHeight,o=this.rowRef.getBoundingClientRect().height;t.setState({fixedColumnsBodyRowsHeight:a({},r,c({},n,o))})}},{key:"getStyle",value:function(){var e=this.props,t=e.height,n=e.visible;return t&&t!==this.style.height&&(this.style=a({},this.style,{height:t})),n||this.style.display||(this.style=a({},this.style,{display:"none"})),this.style}},{key:"saveRowRef",value:function(){this.rowRef=m.default.findDOMNode(this);var e=this.props,t=e.isAnyColumnsFixed,n=e.fixed,r=e.expandedRow,o=e.ancestorKeys;t&&this.rowRef&&(!n&&r&&this.setExpandedRowHeight(),!n&&o.length>=0&&this.setRowHeight())}},{key:"render",value:function(){if(!this.state.shouldRender)return null;var e=this.props,t=e.prefixCls,n=e.columns,r=e.record,i=e.rowKey,c=e.index,l=e.onRow,u=e.indent,s=e.indentSize,f=e.hovered,p=e.height,d=e.visible,y=e.components,h=e.hasExpandIcon,m=e.renderExpandIcon,g=e.renderExpandIconCell,O=e.onRowClick,x=e.onRowDoubleClick,S=e.onRowMouseEnter,j=e.onRowMouseLeave,P=e.onRowContextMenu,k=y.body.row,E=y.body.cell,_=this.props.className;f&&(_+=" ".concat(t,"-hover"));var R=[];g(R);for(var N=0;N<n.length;N+=1){var T=n[N];v.default(void 0===T.onCellClick,"column[onCellClick] is deprecated, please use column[onCell] instead."),R.push(b.createElement(C.default,{prefixCls:t,record:r,indentSize:s,indent:u,index:c,column:T,key:T.key||T.dataIndex,expandIcon:h(N)&&m(),component:E}))}var D=l(r,c)||{},M=D.className,I=D.style,A=o(D,["className","style"]),K={height:p};d||(K.display="none"),K=a({},K,{},I);var F=w.default(t,_,"".concat(t,"-level-").concat(u),M);return b.createElement(k,Object.assign({},A,{onClick:this.onTriggerEvent(A.onClick,O),onDoubleClick:this.onTriggerEvent(A.onDoubleClick,x),onMouseEnter:this.onTriggerEvent(A.onMouseEnter,S,this.onMouseEnter),onMouseLeave:this.onTriggerEvent(A.onMouseLeave,j,this.onMouseLeave),onContextMenu:this.onTriggerEvent(A.onContextMenu,P),className:F,style:K,"data-row-key":i}),R)}}])&&u(n.prototype,r),i&&u(n,i),h}(b.Component);function S(e,t){var n=e.expandedRowsHeight,r=e.fixedColumnsBodyRowsHeight,o=t.fixed,i=t.rowKey;return o?n[i]?n[i]:r[i]?r[i]:null:null}x.defaultProps={onRow:function(){},onHover:function(){},hasExpandIcon:function(){},renderExpandIcon:function(){},renderExpandIconCell:function(){}},O.polyfill(x),t.default=g.connect((function(e,t){var n=e.currentHoverKey,r=e.expandedRowKeys,o=void 0===r?[]:r,i=t.rowKey,a=t.ancestorKeys;return{visible:0===a.length||a.every((function(e){return o.includes(e)})),hovered:n===i,height:S(e,t)}}))(x)},YO3V:function(e,t,n){var r=n("NykK"),o=n("LcsW"),i=n("ExA7"),a=Function.prototype,c=Object.prototype,l=a.toString,u=c.hasOwnProperty,s=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==s}},Yf6U:function(e,t,n){var r=n("W5Cv");e.exports=function(e,t,n){for(n=n||document,e={parentNode:e};(e=e.parentNode)&&e!==n;)if(r(e,t))return e}},YqDF:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=a(n("q1tI")),u=a(n("17x9")),s=n("6Ogq"),f=c(n("UNrv"));function p(e,t){var n=t.table,r=n.props,i=r.prefixCls,a=r.scroll,c=e.columns,u=e.fixed,p=e.tableClassName,d=e.getRowKey,y=e.handleBodyScroll,h=e.handleWheel,b=e.expander,m=e.isAnyColumnsFixed,v=n.saveRef,g=n.props.useFixedHeader,O=o({},n.props.bodyStyle),w={};if((a.x||u)&&(O.overflowX=O.overflowX||"scroll",O.WebkitTransform="translate3d (0, 0, 0)"),a.y){u?(w.maxHeight=O.maxHeight||a.y,w.overflowY=O.overflowY||"scroll"):O.maxHeight=O.maxHeight||a.y,O.overflowY=O.overflowY||"scroll",g=!0;var C=s.measureScrollbar({direction:"vertical"});C>0&&u&&(O.marginBottom="-".concat(C,"px"),O.paddingBottom="0px")}var x,S=l.createElement(f.default,{tableClassName:p,hasHead:!g,hasBody:!0,fixed:u,columns:c,expander:b,getRowKey:d,isAnyColumnsFixed:m});if(u&&c.length)return"left"===c[0].fixed||!0===c[0].fixed?x="fixedColumnsBodyLeft":"right"===c[0].fixed&&(x="fixedColumnsBodyRight"),delete O.overflowX,delete O.overflowY,l.createElement("div",{key:"bodyTable",className:"".concat(i,"-body-outer"),style:o({},O)},l.createElement("div",{className:"".concat(i,"-body-inner"),style:w,ref:v(x),onWheel:h,onScroll:y},S));var j=a&&(a.x||a.y);return l.createElement("div",{tabIndex:j?-1:void 0,key:"bodyTable",className:"".concat(i,"-body"),style:O,ref:v("bodyTable"),onWheel:h,onScroll:y},S)}t.default=p,p.contextTypes={table:u.any}},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},b80T:function(e,t,n){var r=n("UNi/"),o=n("03A+"),i=n("Z0cm"),a=n("DSRE"),c=n("wJg7"),l=n("c6wG"),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),s=!n&&o(e),f=!n&&!s&&a(e),p=!n&&!s&&!f&&l(e),d=n||s||f||p,y=d?r(e.length,String):[],h=y.length;for(var b in e)!t&&!u.call(e,b)||d&&("length"==b||f&&("offset"==b||"parent"==b)||p&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||c(b,h))||y.push(b);return y}},c6wG:function(e,t,n){var r=n("dD9F"),o=n("sEf8"),i=n("mdPL"),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},"cq/+":function(e,t,n){var r=n("mc0g")();e.exports=r},cvCv:function(e,t){e.exports=function(e){return function(){return e}}},dD9F:function(e,t,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},dTAl:function(e,t,n){var r=n("GoyQ"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},fmRc:function(e,t,n){var r=n("Xi7e"),o=n("77Zs"),i=n("L8xA"),a=n("gCq4"),c=n("VaNO"),l=n("0Cz8");function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=l,e.exports=u},gCq4:function(e,t){e.exports=function(e){return this.__data__.get(e)}},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){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 u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},h=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&&u(e,t)}(m,e);var t,n,i,h,b=(t=m,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return s(this,e)});function m(){var e;return c(this,m),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=m,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&l(n.prototype,i),h&&l(n,h),m}(r.Component);t.a=h},heNW:function(e,t){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},itsj:function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},jeLo:function(e,t,n){var r=n("juv8"),o=n("mTTR");e.exports=function(e){return r(e,o(e))}},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),c=n("i8i4"),l=n.n(c),u=n("uciX"),s=n("TSYQ"),f=n.n(s),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},h=n("VCL8"),b=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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,c=e.getPopupContainer,l=e.showAction,s=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,h=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=s;return m||-1===d.indexOf("contextMenu")||(m=["click"]),o.a.createElement(u.a,b({},h,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:l,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:c}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=l.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(h.polyfill)(m);var g=m,O=n("H84U"),w=n("6CfX"),C=n("CtXQ"),x=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 _(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 R(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(x.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&E(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=N(t);if(R()){var r=N(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function c(){var e;return P(this,c),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(w.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,c=void 0!==a&&a,l=i.focusable,u=void 0===l||l,s=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:c,focusable:u,expandIcon:s})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,c=a.prefixCls,l=a.children,u=a.trigger,s=a.disabled,p=a.getPopupContainer,d=i("dropdown",c),y=r.Children.only(l),h=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:s}),b=s?[]:u;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),h)},e}return n=c,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&k(n.prototype,o),i&&k(n,i),c}(r.Component);T.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 I(){return(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}).apply(this,arguments)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(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 H(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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=D.default.Group,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&&F(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=V(t);if(H()){var r=V(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function c(){var e;return A(this,c),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,c=i.type,l=i.disabled,u=i.onClick,s=i.htmlType,p=i.children,d=i.className,y=i.overlay,h=i.trigger,b=i.align,m=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,w=i.href,x=i.icon,S=void 0===x?r.createElement(C.default,{type:"ellipsis"}):x,j=i.title,P=z(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",a),E={align:b,overlay:y,disabled:l,trigger:l?[]:h,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(E.visible=m),r.createElement(B,I({},P,{className:f()(k,d)}),r.createElement(D.default,{type:c,disabled:l,onClick:u,htmlType:s,href:w,title:j},p),r.createElement(T,E,r.createElement(D.default,{type:c},S)))},e}return n=c,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&K(n.prototype,o),i&&K(n,i),c}(r.Component);W.defaultProps={placement:"bottomRight",type:"default"},T.Button=W;t.default=T},juv8:function(e,t,n){var r=n("MrPd"),o=n("hypo");e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,l=t.length;++c<l;){var u=t[c],s=i?i(n[u],e[u],u,n,e):void 0;void 0===s&&(s=e[u]),a?o(n,u,s):r(n,u,s)}return n}},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("VCL8"),a=n("TSYQ"),c=n.n(a),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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 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 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 b(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 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},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&&v(e,t)}(u,e);var t,n,o,i,a=(t=u,function(){var e,n=C(t);if(w()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return b(this,u),(e=a.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,i=O(e),a=i.props,u=i.context,s=a.prefixCls,f=a.className,p=a.children,d=a.indeterminate,b=a.style,m=a.onMouseEnter,v=a.onMouseLeave,g=x(a,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,C=o("checkbox",s),S=h({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:a.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(a.value),S.disabled=a.disabled||w.disabled);var j=c()(f,(y(n={},"".concat(C,"-wrapper"),!0),y(n,"".concat(C,"-wrapper-checked"),S.checked),y(n,"".concat(C,"-wrapper-disabled"),S.disabled),n)),P=c()(y({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:j,style:b,onMouseEnter:m,onMouseLeave:v},r.createElement(l.a,h({},S,{prefixCls:C,className:P,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&m(n.prototype,o),i&&m(n,i),u}(r.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:o.any},Object(i.polyfill)(S);var j=S,P=n("BGR+");function k(e){return(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})(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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function D(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var K=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},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&&T(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(I()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return D(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var i=t.props.onChange;if(i){var a=t.getOptions();i(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return a.findIndex((function(t){return t.value===e}))-a.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=M(t),i=o.props,a=o.state,l=i.prefixCls,u=i.className,s=i.style,f=i.options,p=K(i,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),h=Object(P.a)(p,["children","defaultValue","value","onChange","disabled"]),b=i.children;f&&f.length>0&&(b=t.getOptions().map((function(e){return r.createElement(j,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==a.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var m=c()(y,u);return r.createElement("div",E({className:m,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(i.polyfill)(F);var L=F;j.Group=L;t.default=j},kekF:function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},mTTR:function(e,t,n){var r=n("b80T"),o=n("QcOe"),i=n("MMmD");e.exports=function(e){return i(e)?r(e,!0):o(e)}},mbEz:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("mjoe"),n("vAZS"),n("K4yd"),n("MKzF"),n("aIZi"),n("04bd"),n("YQTV")},mc0g:function(e,t){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var l=a[e?c:++o];if(!1===n(i[l],l,i))break}return t}}},mdPL:function(e,t,n){(function(e){var r=n("WFqU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c}).call(this,n("YuTi")(e))},mjoe:function(e,t,n){},"mv/X":function(e,t,n){var r=n("ljhN"),o=n("MMmD"),i=n("wJg7"),a=n("GoyQ");e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),c=n.n(a),l=n("Gytx"),u=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(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(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},C=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)}(f,e);var t,n,o,a,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=v(e),l=a.props,u=a.context,s=l.prefixCls,f=l.className,y=l.children,h=l.style,b=w(l,["prefixCls","className","children","style"]),m=u.radioGroup,g=o("radio",s),O=d({},b);m&&(O.name=m.name,O.onChange=e.onChange,O.checked=l.value===m.value,O.disabled=l.disabled||m.disabled);var C=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:h,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(i.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&h(n.prototype,o),a&&h(n,a),f}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pFRH:function(e,t,n){var r=n("cvCv"),o=n("O0oS"),i=n("zZ0H"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},rsGM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){var a=o.default.unstable_batchedUpdates?function(e){o.default.unstable_batchedUpdates(n,e)}:n;return(0,r.default)(e,t,a,i)};var r=i(n("LIAx")),o=i(n("i8i4"));function i(e){return e&&e.__esModule?e:{default:e}}},sEf8:function(e,t){e.exports=function(e){return function(t){return e(t)}}},t2Dn:function(e,t,n){var r=n("hypo"),o=n("ljhN");e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},t8ff:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=v(n("NUBc")),a=v(n("wCAj")),c=v(n("NJEC")),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},u=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,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=["{\n padding:24px 30px;\n}"],o=["{\n padding:24px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("mbEz"),n("k994");var f=n("q1tI"),p=v(f),d=n("spEH"),y=n("PhNK"),h=n("sYIF"),b=v(n("vDqi")),m=n("eO8H");function v(e){return e&&e.__esModule?e:{default:e}}var g=v(n("vOnD")).default.div(s),O=[{name:"所有"},{name:"运行中",value:"running"},{name:"已撤销",value:"killed"},{name:"构建失败",value:"failure"},{name:"已完成",value:"success"}];t.default=(0,f.forwardRef)((function(e,t){var n=(0,f.useState)(void 0),r=u(n,2),o=r[0],s=r[1],v=(0,f.useState)(1),w=u(v,2),C=w[0],x=w[1],S=(0,f.useState)(0),j=u(S,2),P=j[0],k=j[1],E=(0,f.useState)(void 0),_=u(E,2),R=_[0],N=_[1],T=(0,f.useState)(!0),D=u(T,2),M=D[0],I=D[1],A=e.match.params.projectsId,K=e.match.params.owner,F=e.projectDetail&&e.projectDetail.permission;(0,f.useImperativeHandle)(t,(function(){return{changeVal:function(){I(!0),H()}}})),(0,f.useEffect)((function(){A&&H()}),[C]);var L=e.current_user;function H(e){var t="/"+K+"/"+A+"/builds.json";b.default.get(t,{params:{search:e,page:C,limit:15}}).then((function(e){if(e&&e.data){var t=e.data.builds&&e.data.builds.map((function(e,t){return l({},e,{author:e.author&&e.author.name,message:{branch:e.branch_target,message:e.message,sha:(0,y.truncateCommitId)(e.build_after_sha)},started:e.started||"--"})}));k(e.data.total_count),N(t),I(!1)}})).catch((function(e){console.log(e)}))}function V(t,n){return"error"===t||"success"===t?"":"killed"===t||"failure"===t?p.default.createElement(c.default,{title:"确认重新构建?",onConfirm:function(t){return function(t,n){t.stopPropagation(),I(!0);var r="/"+K+"/"+A+"/builds/"+n+"/restart.json";b.default.post(r).then((function(t){t&&(e.showNotification("工作流正在重新构建!"),H())})).catch((function(e){console.log(e)}))}(t,n)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},p.default.createElement("a",{className:"color-blue",onClick:function(e){e.stopPropagation()}},"重新构建")):p.default.createElement(c.default,{title:"确认撤销构建?",onConfirm:function(t){return function(t,n){t.stopPropagation(),I(!0);var r="/"+K+"/"+A+"/builds/"+n+"/stop.json";b.default.delete(r).then((function(t){t&&(e.showNotification("撤销构建成功!"),H(A))})).catch((function(e){console.log(e)}))}(t,n)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},p.default.createElement("a",{className:"color-red",onClick:function(e){e.stopPropagation()}},"撤销构建"))}var z=[{title:"序号",dataIndex:"number",key:"number",width:"8%",render:function(e,t,n){return p.default.createElement("span",null,"#",e)}},{title:"状态",dataIndex:"status",key:"status",width:"12%",render:function(e,t,n){return function(e){switch(e){case"running":return p.default.createElement("span",{className:"statusTag running"},p.default.createElement("i",{className:"iconfont icon-yunhangzhong"}),"运行中");case"failure":case"error":return p.default.createElement("span",{className:"statusTag failed"},p.default.createElement("i",{className:"iconfont icon-weitongguo"}),"未通过");case"success":return p.default.createElement("span",{className:"statusTag pass"},p.default.createElement("i",{className:"iconfont icon-yitongguo"}),"已通过");case"killed":return p.default.createElement("span",{className:"statusTag killed"},p.default.createElement("i",{className:"iconfont icon-weitongguo"}),"已撤销");case"pending":return p.default.createElement("span",{className:"statusTag Preparing"},p.default.createElement("i",{className:"iconfont icon-zhunbeizhong"}),"准备中")}}(e)}},{title:"构建人",dataIndex:"author",key:"author",width:"12%",align:"center"},{title:"提交信息",dataIndex:"message",key:"message",width:"30%",render:function(e,t,n){var r=t.message;return p.default.createElement(p.default.Fragment,null,p.default.createElement("div",null,r.branch&&p.default.createElement("span",{className:"mr10 color-grey-8"},p.default.createElement("i",{className:"iconfont icon-fenzhi1 font-16 mr5"}),"分支",r.branch),r.sha&&p.default.createElement("span",{className:"color-orange"},r.sha)),p.default.createElement(d.AlignCenter,null,p.default.createElement("img",{style:{borderRadius:"50%",marginRight:"10px",width:"25px",height:"25px"},src:""+(L&&(0,h.getUrl)("/images/"+L.image_url))}),p.default.createElement("div",{className:"task-hide ml5",style:{maxWidth:"300px"}},r.message)))}},{title:"开始时间",dataIndex:"started",key:"started",width:"15%",render:function(e,t,n){return p.default.createElement("span",null,e||"--")}},{title:"运行时间",dataIndex:"duration_time",key:"duration_time",width:"15%",render:function(e,t,n){return p.default.createElement("span",null,e||"--")}},{title:"操作",dataIndex:"operation",key:"operation",render:function(e,t,n){return"Admin"===F||"Owner"===F?V(t.status,t.number):"--"}}];return p.default.createElement("div",{className:"disposePanel"},p.default.createElement(d.Banner,null,p.default.createElement(d.FlexAJ,null,p.default.createElement("span",null,"构建列表"),p.default.createElement(m.Link,{to:"/projects/"+K+"/"+A+"/devops/dispose",className:"font-15 color-grey-9"},"返回"))),p.default.createElement(g,null,p.default.createElement("div",{className:"listPart"},p.default.createElement(d.FlexAJ,null,p.default.createElement("ul",{className:"listNav"},O.map((function(e,t){return p.default.createElement("li",{onClick:function(){return t=e.value,s(t),void H(t);var t},className:o===e.value?"active":""},e.name)}))),p.default.createElement("a",{onClick:function(){return H(o)},className:"color-red font-16"},"刷新")),p.default.createElement(a.default,{onRow:function(t,n){return{onClick:function(n){return r=t,void e.history.push("/projects/"+K+"/"+A+"/devops/"+r.number+"/detail");var r}}},columns:z,className:"normalTable",dataSource:R,pagination:!1,loading:M}),P>15?p.default.createElement("div",{style:{textAlign:"center",margin:"30px 50px"}},p.default.createElement(i.default,{showQuickJumper:!0,defaultCurrent:C,total:P,pageSize:15,onChange:function(e){x(e)}})):"")))}))},vXNv:function(e,t,n){},wCAj:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("BGR+"),i=n("6RRn"),a=n.n(i),c=n("17x9"),l=n("TSYQ"),u=n.n(l),s=n("Gytx"),f=n.n(s),p=n("VCL8"),d=n("i8i4"),y=n("1j5w"),h=n("Yf6U"),b=n.n(h),m=n("jsC+"),v=n("CtXQ"),g=n("kaz8"),O=n("9yH6"),w=function(e){return r.createElement("div",{className:e.className,onClick:function(e){return e.stopPropagation()}},e.children)};function C(e){return function(e){if(Array.isArray(e))return x(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 x(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(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 x(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 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 j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children",n=[],r=function e(r){r.forEach((function(r){if(r[t]){var o=S({},r);delete o[t],n.push(o),r[t].length>0&&e(r[t])}else n.push(r)}))};return r(e),n}function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children";return e.map((function(e,r){var o={};return e[n]&&(o[n]=P(e[n],t,n)),S(S({},t(e,r)),o)}))}function k(e,t){return e.reduce((function(e,n){if(t(n)&&e.push(n),n.children){var r=k(n.children,t);e.push.apply(e,C(r))}return e}),[])}function E(e){var t=[];return r.Children.forEach(e,(function(e){if(r.isValidElement(e)){var n=S({},e.props);e.key&&(n.key=e.key),e.type&&e.type.__ANT_TABLE_COLUMN_GROUP&&(n.children=E(n.children)),t.push(n)}})),t}function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(e||[]).forEach((function(e){var n=e.value,r=e.children;t[n.toString()]=n,_(r,t)})),t}function R(e){return(R="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,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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function M(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?I(e):t}function I(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(){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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation()}var 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&&D(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=K(t);if(A()){var r=K(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return M(this,e)});function c(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=a.call(this,e)).setNeverShown=function(e){var n=d.findDOMNode(I(t));!!b()(n,".ant-table-scroll")&&(t.neverShown=!!e.fixed)},t.setSelectedKeys=function(e){var n=e.selectedKeys;t.setState({selectedKeys:n})},t.handleClearFilters=function(){t.setState({selectedKeys:[]},t.handleConfirm)},t.handleConfirm=function(){t.setVisible(!1),t.setState({},t.confirmFilter)},t.onVisibleChange=function(e){t.setVisible(e);var n=t.props.column;e||n.filterDropdown instanceof Function||t.confirmFilter()},t.handleMenuItemClick=function(e){var n=t.state.selectedKeys;if(e.keyPath&&!(e.keyPath.length<=1)){var r=t.state.keyPathOfSelectedItem;n&&n.indexOf(e.key)>=0?delete r[e.key]:r[e.key]=e.keyPath,t.setState({keyPathOfSelectedItem:r})}},t.renderFilterIcon=function(){var e,n=t.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.selectedKeys,l=c&&c.length>0,s=o.filterIcon;"function"==typeof s&&(s=s(l));var f=u()((N(e={},"".concat(a,"-selected"),"filtered"in o?o.filtered:l),N(e,"".concat(a,"-open"),t.getDropdownVisible()),e));return s?r.isValidElement(s)?r.cloneElement(s,{title:s.props.title||i.filterTitle,className:u()("".concat(a,"-icon"),f,s.props.className),onClick:F}):r.createElement("span",{className:u()("".concat(a,"-icon"),f)},s):r.createElement(v.default,{title:i.filterTitle,type:"filter",theme:"filled",className:f,onClick:F})};var n="filterDropdownVisible"in e.column&&e.column.filterDropdownVisible;return t.state={selectedKeys:e.selectedKeys,valueKeys:_(e.column.filters),keyPathOfSelectedItem:{},visible:n,prevProps:e},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.column,r=t.prevProps,o={prevProps:e};return"selectedKeys"in e&&!f()(r.selectedKeys,e.selectedKeys)&&(o.selectedKeys=e.selectedKeys),f()((r.column||{}).filters,(e.column||{}).filters)||(o.valueKeys=_(e.column.filters)),"filterDropdownVisible"in n&&(o.visible=n.filterDropdownVisible),o}}],(o=[{key:"componentDidMount",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"componentDidUpdate",value:function(){var e=this.props.column;this.setNeverShown(e)}},{key:"getDropdownVisible",value:function(){return!this.neverShown&&this.state.visible}},{key:"setVisible",value:function(e){var t=this.props.column;"filterDropdownVisible"in t||this.setState({visible:e}),t.onFilterDropdownVisibleChange&&t.onFilterDropdownVisibleChange(e)}},{key:"hasSubMenu",value:function(){var e=this.props.column.filters;return(void 0===e?[]:e).some((function(e){return!!(e.children&&e.children.length>0)}))}},{key:"confirmFilter",value:function(){var e=this.props,t=e.column,n=e.selectedKeys,r=e.confirmFilter,o=this.state,i=o.selectedKeys,a=o.valueKeys,c=t.filterDropdown;f()(i,n)||r(t,c?i:i.map((function(e){return a[e]})).filter((function(e){return void 0!==e})))}},{key:"renderMenus",value:function(e){var t=this,n=this.props,o=n.dropdownPrefixCls,i=n.prefixCls;return e.map((function(e){if(e.children&&e.children.length>0){var n=t.state.keyPathOfSelectedItem,a=Object.keys(n).some((function(t){return n[t].indexOf(e.value)>=0})),c=u()("".concat(i,"-dropdown-submenu"),N({},"".concat(o,"-submenu-contain-selected"),a));return r.createElement(y.d,{title:e.text,popupClassName:c,key:e.value.toString()},t.renderMenus(e.children))}return t.renderMenuItem(e)}))}},{key:"renderMenuItem",value:function(e){var t=this.props.column,n=this.state.selectedKeys,o=!("filterMultiple"in t)||t.filterMultiple,i=(n||[]).map((function(e){return e.toString()})),a=o?r.createElement(g.default,{checked:i.indexOf(e.value.toString())>=0}):r.createElement(O.default,{checked:i.indexOf(e.value.toString())>=0});return r.createElement(y.b,{key:e.value},a,r.createElement("span",null,e.text))}},{key:"render",value:function(){var e=this,t=this.state.selectedKeys,n=this.props,o=n.column,i=n.locale,a=n.prefixCls,c=n.dropdownPrefixCls,l=n.getPopupContainer,s=!("filterMultiple"in o)||o.filterMultiple,f=u()(N({},"".concat(c,"-menu-without-submenu"),!this.hasSubMenu())),p=o.filterDropdown;p instanceof Function&&(p=p({prefixCls:"".concat(c,"-custom"),setSelectedKeys:function(t){return e.setSelectedKeys({selectedKeys:t})},selectedKeys:t,confirm:this.handleConfirm,clearFilters:this.handleClearFilters,filters:o.filters,visible:this.getDropdownVisible()}));var d=p?r.createElement(w,{className:"".concat(a,"-dropdown")},p):r.createElement(w,{className:"".concat(a,"-dropdown")},r.createElement(y.e,{multiple:s,onClick:this.handleMenuItemClick,prefixCls:"".concat(c,"-menu"),className:f,onSelect:this.setSelectedKeys,onDeselect:this.setSelectedKeys,selectedKeys:t&&t.map((function(e){return e.toString()})),getPopupContainer:l},this.renderMenus(o.filters)),r.createElement("div",{className:"".concat(a,"-dropdown-btns")},r.createElement("a",{className:"".concat(a,"-dropdown-link confirm"),onClick:this.handleConfirm},i.filterConfirm),r.createElement("a",{className:"".concat(a,"-dropdown-link clear"),onClick:this.handleClearFilters},i.filterReset)));return r.createElement(m.default,{trigger:["click"],placement:"bottomRight",overlay:d,visible:this.getDropdownVisible(),onVisibleChange:this.onVisibleChange,getPopupContainer:l,forceRender:!0},this.renderFilterIcon())}}])&&T(n.prototype,o),i&&T(n,i),c}(r.Component);L.defaultProps={column:{}},Object(p.polyfill)(L);var H=L;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 z(e){return(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})(e)}function B(){return(B=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){for(var n=0;n<t.length;n++){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 U(e,t){return!t||"object"!==z(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 q(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},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)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=Y(t);if(q()){var r=Y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return U(this,e)});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),(t=a.call(this,e)).state={checked:t.getCheckState(e)},t}return n=c,(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"getCheckState",value:function(e){var t=e.store,n=e.defaultSelection,r=e.rowIndex;return t.getState().selectionDirty?t.getState().selectedRowKeys.indexOf(r)>=0:t.getState().selectedRowKeys.indexOf(r)>=0||n.indexOf(r)>=0}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){var t=e.getCheckState(e.props);e.setState({checked:t})}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.rowIndex,o=Q(e,["type","rowIndex"]),i=this.state.checked;return"radio"===t?r.createElement(O.default,B({checked:i,value:n},o)):r.createElement(g.default,B({checked:i},o))}}])&&W(n.prototype,o),i&&W(n,i),c}(r.Component),Z=n("BvKs");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 $(e,t){for(var n=0;n<t.length;n++){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 ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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 ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 ie(e){var t=e.store,n=e.getCheckboxPropsByItem,r=e.getRecordKey,o=e.data,i=e.type;return e.byDefaultChecked?o[i]((function(e,t){return n(e,t).defaultChecked})):o[i]((function(e,n){return t.getState().selectedRowKeys.indexOf(r(e,n))>=0}))}function ae(e){var t=e.store,n=e.data;if(!n.length)return!1;var r=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!1}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})),o=ie(oe(oe({},e),{data:n,type:"some",byDefaultChecked:!0}))&&!ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0}));return t.getState().selectionDirty?r:r||o}function ce(e){var t=e.store,n=e.data;return!!n.length&&(t.getState().selectionDirty?ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1})):ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!1}))||ie(oe(oe({},e),{data:n,type:"every",byDefaultChecked:!0})))}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&&ee(e,t)}(c,e);var t,n,o,i,a=(t=c,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return te(this,e)});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),(t=a.call(this,e)).state={checked:!1,indeterminate:!1},t.handleSelectAllChange=function(e){var n=e.target.checked;t.props.onSelect(n?"all":"removeAll",0,null)},t.defaultSelections=e.hideDefaultSelections?[]:[{key:"all",text:e.locale.selectAll},{key:"invert",text:e.locale.selectInvert}],t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=ce(e),r=ae(e),o={};return r!==t.indeterminate&&(o.indeterminate=r),n!==t.checked&&(o.checked=n),o}}],(o=[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"setCheckState",value:function(e){var t=ce(e),n=ae(e);this.setState((function(e){var r={};return n!==e.indeterminate&&(r.indeterminate=n),t!==e.checked&&(r.checked=t),r}))}},{key:"subscribe",value:function(){var e=this,t=this.props.store;this.unsubscribe=t.subscribe((function(){e.setCheckState(e.props)}))}},{key:"renderMenus",value:function(e){var t=this;return e.map((function(e,n){return r.createElement(Z.default.Item,{key:e.key||n},r.createElement("div",{onClick:function(){t.props.onSelect(e.key,n,e.onSelect)}},e.text))}))}},{key:"render",value:function(){var e,t,n,o=this.props,i=o.disabled,a=o.prefixCls,c=o.selections,l=o.getPopupContainer,s=this.state,f=s.checked,p=s.indeterminate,d="".concat(a,"-selection"),y=null;if(c){var h=Array.isArray(c)?this.defaultSelections.concat(c):this.defaultSelections,b=r.createElement(Z.default,{className:"".concat(d,"-menu"),selectedKeys:[]},this.renderMenus(h));y=h.length>0?r.createElement(m.default,{overlay:b,getPopupContainer:l},r.createElement("div",{className:"".concat(d,"-down")},r.createElement(v.default,{type:"down"}))):null}return r.createElement("div",{className:d},r.createElement(g.default,{className:u()((e={},t="".concat(d,"-select-all-custom"),n=y,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e)),checked:f,indeterminate:p,disabled:i,onChange:this.handleSelectAllChange}),y)}}])&&$(n.prototype,o),i&&$(n,i),c}(r.Component);Object(p.polyfill)(le);var ue=le;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 fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(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 ye(){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 he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var be=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)}(r,e);var t,n=(t=r,function(){var e,n=he(t);if(ye()){var r=he(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return de(this,e)});function r(){return fe(this,r),n.apply(this,arguments)}return r}(r.Component);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 ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ge(e,t){return(ge=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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)}(r,e);var t,n=(t=r,function(){var e,n=Ce(t);if(we()){var r=Ce(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Oe(this,e)});function r(){return ve(this,r),n.apply(this,arguments)}return r}(r.Component);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 je(){return(je=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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 _e(e,t,n){return t&&Ee(e.prototype,t),n&&Ee(e,n),e}function Re(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){return function(){var t,n=Ie(e);if(Me()){var r=Ie(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return De(this,t)}}function De(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 Me(){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)}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"tr",t=function(t){Re(i,t);var n=Te(i);function i(e){var t;ke(this,i),(t=n.call(this,e)).store=e.store;var r=t.store.getState().selectedRowKeys;return t.state={selected:r.indexOf(e.rowKey)>=0},t}return _e(i,[{key:"componentDidMount",value:function(){this.subscribe()}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"subscribe",value:function(){var e=this,t=this.props,n=t.store,r=t.rowKey;this.unsubscribe=n.subscribe((function(){var t=e.store.getState().selectedRowKeys.indexOf(r)>=0;t!==e.state.selected&&e.setState({selected:t})}))}},{key:"render",value:function(){var t=Object(o.a)(this.props,["prefixCls","rowKey","store"]),n=u()(this.props.className,Pe({},"".concat(this.props.prefixCls,"-row-selected"),this.state.selected));return r.createElement(e,je(je({},t),{className:n}),this.props.children)}}]),i}(r.Component);return t}xe.__ANT_TABLE_COLUMN_GROUP=!0;var Ke=n("61SU"),Fe=n.n(Ke);function Le(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}function He(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}var Ve=n("NUBc"),ze=n("W9HT"),Be=n("gDlH"),We=n("YMnH"),Ge=n("ZvpZ"),Ue=n("H84U"),qe=n("6CfX");function Ye(e){return(Ye="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 Qe(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 Ze(e,t){for(var n=0;n<t.length;n++){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 Je(e,t,n){return t&&Ze(e.prototype,t),n&&Ze(e,n),e}function $e(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&&et(e,t)}function et(e,t){return(et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function tt(e){return function(){var t,n=ot(e);if(rt()){var r=ot(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return nt(this,t)}}function nt(e,t){return!t||"object"!==Ye(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 rt(){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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function it(){return(it=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 at=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 ct(){}function lt(e){e.stopPropagation()}function ut(e){return e.rowSelection||{}}function st(e,t){return e.key||e.dataIndex||t}function ft(e,t){return!!(e&&t&&e.key&&e.key===t.key)||(e===t||f()(e,t,(function(e,t){return"function"==typeof e&&"function"==typeof t?e===t||e.toString()===t.toString():Array.isArray(e)&&Array.isArray(t)?e===t||f()(e,t):void 0})))}var pt={onChange:ct,onShowSizeChange:ct},dt={},yt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e&&e.body&&e.body.row;return it(it({},e),{body:it(it({},e.body),{row:Ae(t)})})};function ht(e,t){return k(t||(e||{}).columns||[],(function(e){return void 0!==e.filteredValue}))}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n={};return ht(e,t).forEach((function(e){var t=st(e);n[t]=e.filteredValue})),n}var mt=function(e){$e(n,e);var t=tt(n);function n(e){var i;Xe(this,n),(i=t.call(this,e)).setTableRef=function(e){i.rcTable=e},i.getCheckboxPropsByItem=function(e,t){var n=ut(i.props);if(!n.getCheckboxProps)return{};var r=i.getRecordKey(e,t);if(!i.props.checkboxPropsCache[r]){i.props.checkboxPropsCache[r]=n.getCheckboxProps(e)||{};var o=i.props.checkboxPropsCache[r];Object(qe.a)(!("checked"in o)&&!("defaultChecked"in o),"Table","Do not set `checked` or `defaultChecked` in `getCheckboxProps`. Please use `selectedRowKeys` instead.")}return i.props.checkboxPropsCache[r]},i.getRecordKey=function(e,t){var n=i.props.rowKey,r="function"==typeof n?n(e,t):e[n];return Object(qe.a)(void 0!==r,"Table","Each record in dataSource of table should have a unique `key` prop, or set `rowKey` of Table to an unique primary key, see https://u.ant.design/table-row-key"),void 0===r?t:r},i.onRow=function(e,t,n){var r=i.props.onRow;return it(it({},r?r(t,n):{}),{prefixCls:e,store:i.props.store,rowKey:i.getRecordKey(t,n)})},i.generatePopupContainerFunc=function(e){var t=i.props.scroll,n=i.rcTable;return e||(t&&n?function(){return n.tableNode}:void 0)},i.scrollToFirstRow=function(){var e=i.props.scroll;e&&!1!==e.scrollToFirstRowOnChange&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getContainer,r=void 0===n?function(){return window}:n,o=t.callback,i=t.duration,a=void 0===i?450:i,c=r(),l=Le(c,!0),u=Date.now(),s=function t(){var n=Date.now()-u,r=He(n>a?a:n,l,e,a);c===window?window.scrollTo(window.pageXOffset,r):c.scrollTop=r,n<a?Fe()(t):"function"==typeof o&&o()};Fe()(s)}(0,{getContainer:function(){return i.rcTable.bodyTable}})},i.handleFilter=function(e,t){var n=i.props,r=it({},i.state.pagination),o=it(it({},i.state.filters),Qe({},st(e),t)),a=[];P(i.state.columns,(function(e){e.children||a.push(st(e))})),Object.keys(o).forEach((function(e){a.indexOf(e)<0&&delete o[e]})),n.pagination&&(r.current=1,r.onChange(r.current));var c={pagination:r,filters:{}},l=it({},o);ht(i.state).forEach((function(e){var t=st(e);t&&delete l[t]})),Object.keys(l).length>0&&(c.filters=l),"object"===Ye(n.pagination)&&"current"in n.pagination&&(c.pagination=it(it({},r),{current:i.state.pagination.current})),i.setState(c,(function(){i.scrollToFirstRow(),i.props.store.setState({selectionDirty:!1});var e=i.props.onChange;e&&e.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,filters:o,pagination:r})))}))},i.handleSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=i.getRecordKey(e,t),u=i.state.pivot,s=i.getFlatCurrentPageData(),f=t;if(i.props.expandedRowRender&&(f=s.findIndex((function(e){return i.getRecordKey(e,t)===l}))),o.shiftKey&&void 0!==u&&f!==u){for(var p=[],d=Math.sign(u-f),y=Math.abs(u-f),h=0,b=function(){var e=f+h*d;h+=1;var t=s[e],n=i.getRecordKey(t,e);i.getCheckboxPropsByItem(t,e).disabled||(c.includes(n)?r||(c=c.filter((function(e){return n!==e})),p.push(n)):r&&(c.push(n),p.push(n)))};h<=y;)b();i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelectMultiple",record:e,checked:r,changeRowKeys:p,nativeEvent:o})}else r?c.push(i.getRecordKey(e,f)):c=c.filter((function(e){return l!==e})),i.setState({pivot:f}),i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(c,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleRadioSelect=function(e,t,n){var r=n.target.checked,o=n.nativeEvent,a=[i.getRecordKey(e,t)];i.props.store.setState({selectionDirty:!0}),i.setSelectedRowKeys(a,{selectWay:"onSelect",record:e,checked:r,changeRowKeys:void 0,nativeEvent:o})},i.handleSelectRow=function(e,t,n){var r,o=i.getFlatCurrentPageData(),a=i.props.store.getState().selectionDirty?[]:i.getDefaultSelection(),c=i.props.store.getState().selectedRowKeys.concat(a),l=o.filter((function(e,t){return!i.getCheckboxPropsByItem(e,t).disabled})).map((function(e,t){return i.getRecordKey(e,t)})),u=[],s="onSelectAll";switch(e){case"all":l.forEach((function(e){c.indexOf(e)<0&&(c.push(e),u.push(e))})),s="onSelectAll",r=!0;break;case"removeAll":l.forEach((function(e){c.indexOf(e)>=0&&(c.splice(c.indexOf(e),1),u.push(e))})),s="onSelectAll",r=!1;break;case"invert":l.forEach((function(e){c.indexOf(e)<0?c.push(e):c.splice(c.indexOf(e),1),u.push(e),s="onSelectInvert"}))}i.props.store.setState({selectionDirty:!0});var f=i.props.rowSelection,p=2;if(f&&f.hideDefaultSelections&&(p=0),t>=p&&"function"==typeof n)return n(l);i.setSelectedRowKeys(c,{selectWay:s,checked:r,changeRowKeys:u})},i.handlePageChange=function(e){var t=i.props,n=it({},i.state.pagination);n.current=e||(n.current||1);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];n.onChange.apply(n,[n.current].concat(o));var c={pagination:n};t.pagination&&"object"===Ye(t.pagination)&&"current"in t.pagination&&(c.pagination=it(it({},n),{current:i.state.pagination.current})),i.setState(c,i.scrollToFirstRow),i.props.store.setState({selectionDirty:!1});var l=i.props.onChange;l&&l.apply(null,i.prepareParamsArguments(it(it({},i.state),{selectionDirty:!1,pagination:n})))},i.handleShowSizeChange=function(e,t){var n=i.state.pagination;n.onShowSizeChange(e,t);var r=it(it({},n),{pageSize:t,current:e});i.setState({pagination:r},i.scrollToFirstRow);var o=i.props.onChange;o&&o.apply(null,i.prepareParamsArguments(it(it({},i.state),{pagination:r})))},i.renderExpandIcon=function(e){return function(t){var n=t.expandable,o=t.expanded,i=t.needIndentSpaced,a=t.record,c=t.onExpand;return n?r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(t){var n;return r.createElement(Be.a,{className:u()("".concat(e,"-row-expand-icon"),(n={},Qe(n,"".concat(e,"-row-collapsed"),!o),Qe(n,"".concat(e,"-row-expanded"),o),n)),onClick:function(e){c(a,e)},"aria-label":o?t.collapse:t.expand,noStyle:!0})})):i?r.createElement("span",{className:"".concat(e,"-row-expand-icon ").concat(e,"-row-spaced")}):null}},i.renderSelectionBox=function(e){return function(t,n,o){var a=i.getRecordKey(n,o),c=i.getCheckboxPropsByItem(n,o);return r.createElement("span",{onClick:lt},r.createElement(X,it({type:e,store:i.props.store,rowIndex:a,onChange:function(t){return"radio"===e?i.handleRadioSelect(n,o,t):i.handleSelect(n,o,t)},defaultSelection:i.getDefaultSelection()},c)))}},i.renderTable=function(e){var t,n=e.prefixCls,c=e.renderEmpty,l=e.dropdownPrefixCls,s=e.contextLocale,f=e.getPopupContainer,p=i.props,d=p.showHeader,y=p.locale,h=p.getPopupContainer,b=at(p,["showHeader","locale","getPopupContainer"]),m=Object(o.a)(b,["style"]),v=i.getCurrentPageData(),g=i.props.expandedRowRender&&!1!==i.props.expandIconAsCell,O=h||f,w=it(it({},s),y);y&&y.emptyText||(w.emptyText=c("Table"));var C=u()("".concat(n,"-").concat(i.props.size),(Qe(t={},"".concat(n,"-bordered"),i.props.bordered),Qe(t,"".concat(n,"-empty"),!v.length),Qe(t,"".concat(n,"-without-column-header"),!d),t)),x=i.renderRowSelection({prefixCls:n,locale:w,getPopupContainer:O}),S=i.renderColumnsDropdown({columns:x,prefixCls:n,dropdownPrefixCls:l,locale:w,getPopupContainer:O}).map((function(e,t){var n=it({},e);return n.key=st(n,t),n})),j=S[0]&&"selection-column"===S[0].key?1:0;return"expandIconColumnIndex"in m&&(j=m.expandIconColumnIndex),r.createElement(a.a,it({ref:i.setTableRef,key:"table",expandIcon:i.renderExpandIcon(n)},m,{onRow:function(e,t){return i.onRow(n,e,t)},components:i.state.components,prefixCls:n,data:v,columns:S,showHeader:d,className:C,expandIconColumnIndex:j,expandIconAsCell:g,emptyText:w.emptyText}))},i.renderComponent=function(e){var t=e.getPrefixCls,n=e.renderEmpty,o=e.getPopupContainer,a=i.props,c=a.prefixCls,l=a.dropdownPrefixCls,s=a.style,f=a.className,p=i.getCurrentPageData(),d=i.props.loading;"boolean"==typeof d&&(d={spinning:d});var y=t("table",c),h=t("dropdown",l),b=r.createElement(We.a,{componentName:"Table",defaultLocale:Ge.a.Table},(function(e){return i.renderTable({prefixCls:y,renderEmpty:n,dropdownPrefixCls:h,contextLocale:e,getPopupContainer:o})})),m=i.hasPagination()&&p&&0!==p.length?"".concat(y,"-with-pagination"):"".concat(y,"-without-pagination");return r.createElement("div",{className:u()("".concat(y,"-wrapper"),f),style:s},r.createElement(ze.default,it({},d,{className:d.spinning?"".concat(m," ").concat(y,"-spin-holder"):""}),i.renderPagination(y,"top"),b,i.renderPagination(y,"bottom")))};var c=e.expandedRowRender,l=e.columns;Object(qe.a)(!("columnsPageRange"in e||"columnsPageSize"in e),"Table","`columnsPageRange` and `columnsPageSize` are removed, please use fixed columns instead, see: https://u.ant.design/fixed-columns."),c&&(l||[]).some((function(e){return!!e.fixed}))&&Object(qe.a)(!1,"Table","`expandedRowRender` and `Column.fixed` are not compatible. Please use one of them at one time.");var s=l||E(e.children);return i.state=it(it({},i.getDefaultSortOrder(s||[])),{filters:i.getDefaultFilters(s),pagination:i.getDefaultPagination(e),pivot:void 0,prevProps:e,components:yt(e.components),columns:s}),i}return Je(n,[{key:"componentDidUpdate",value:function(){var e=this.state,t=e.columns,n=e.sortColumn,r=e.sortOrder;if(this.getSortOrderColumns(t).length>0){var o=this.getSortStateFromColumns(t);ft(o.sortColumn,n)&&o.sortOrder===r||this.setState(o)}}},{key:"getDefaultSelection",value:function(){var e=this;return ut(this.props).getCheckboxProps?this.getFlatData().filter((function(t,n){return e.getCheckboxPropsByItem(t,n).defaultChecked})).map((function(t,n){return e.getRecordKey(t,n)})):[]}},{key:"getDefaultPagination",value:function(e){var t,n,r="object"===Ye(e.pagination)?e.pagination:{};return"current"in r?t=r.current:"defaultCurrent"in r&&(t=r.defaultCurrent),"pageSize"in r?n=r.pageSize:"defaultPageSize"in r&&(n=r.defaultPageSize),this.hasPagination(e)?it(it(it({},pt),r),{current:t||1,pageSize:n||10}):{}}},{key:"getSortOrderColumns",value:function(e){return k(e||(this.state||{}).columns||[],(function(e){return"sortOrder"in e}))}},{key:"getDefaultFilters",value:function(e){var t=bt(this.state,e);return it(it({},k(e||[],(function(e){return void 0!==e.defaultFilteredValue})).reduce((function(e,t){return e[st(t)]=t.defaultFilteredValue,e}),{})),t)}},{key:"getDefaultSortOrder",value:function(e){var t=this.getSortStateFromColumns(e),n=k(e||[],(function(e){return null!=e.defaultSortOrder}))[0];return n&&!t.sortColumn?{sortColumn:n,sortOrder:n.defaultSortOrder}:t}},{key:"getSortStateFromColumns",value:function(e){var t=this.getSortOrderColumns(e).filter((function(e){return e.sortOrder}))[0];return t?{sortColumn:t,sortOrder:t.sortOrder}:{sortColumn:null,sortOrder:null}}},{key:"getMaxCurrent",value:function(e){var t=this.state.pagination,n=t.current,r=t.pageSize;return(n-1)*r>=e?Math.floor((e-1)/r)+1:n}},{key:"getSorterFn",value:function(e){var t=e||this.state,n=t.sortOrder,r=t.sortColumn;if(n&&r&&"function"==typeof r.sorter)return function(e,t){var o=r.sorter(e,t,n);return 0!==o?"descend"===n?-o:o:0}}},{key:"getCurrentPageData",value:function(){var e,t,n=this.getLocalData(),r=this.state;return this.hasPagination()?(t=r.pagination.pageSize,e=this.getMaxCurrent(r.pagination.total||n.length)):(t=Number.MAX_VALUE,e=1),(n.length>t||t===Number.MAX_VALUE)&&(n=n.slice((e-1)*t,e*t)),n}},{key:"getFlatData",value:function(){var e=this.props.childrenColumnName;return j(this.getLocalData(null,!1),e)}},{key:"getFlatCurrentPageData",value:function(){var e=this.props.childrenColumnName;return j(this.getCurrentPageData(),e)}},{key:"getLocalData",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e||this.state,o=this.props.dataSource,i=o||[];i=i.slice(0);var a=this.getSorterFn(r);return a&&(i=this.recursiveSort(i,a)),n&&r.filters&&Object.keys(r.filters).forEach((function(e){var n=t.findColumn(e);if(n){var o=r.filters[e]||[];if(0!==o.length){var a=n.onFilter;i=a?i.filter((function(e){return o.some((function(t){return a(t,e)}))})):i}}})),i}},{key:"setSelectedRowKeys",value:function(e,t){var n=this,r=t.selectWay,o=t.record,i=t.checked,a=t.changeRowKeys,c=t.nativeEvent,l=ut(this.props);l&&!("selectedRowKeys"in l)&&this.props.store.setState({selectedRowKeys:e});var u=this.getFlatData();if(l.onChange||l[r]){var s=u.filter((function(t,r){return e.indexOf(n.getRecordKey(t,r))>=0}));if(l.onChange&&l.onChange(e,s),"onSelect"===r&&l.onSelect)l.onSelect(o,i,s,c);else if("onSelectMultiple"===r&&l.onSelectMultiple){var f=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectMultiple(i,s,f)}else if("onSelectAll"===r&&l.onSelectAll){var p=u.filter((function(e,t){return a.indexOf(n.getRecordKey(e,t))>=0}));l.onSelectAll(i,s,p)}else"onSelectInvert"===r&&l.onSelectInvert&&l.onSelectInvert(e)}}},{key:"toggleSortOrder",value:function(e){var t,n=e.sortDirections||this.props.sortDirections,r=this.state,o=r.sortOrder;if(ft(r.sortColumn,e)&&void 0!==o){var i=n.indexOf(o)+1;t=i===n.length?void 0:n[i]}else t=n[0];var a={sortOrder:t,sortColumn:t?e:null};0===this.getSortOrderColumns().length&&this.setState(a,this.scrollToFirstRow);var c=this.props.onChange;c&&c.apply(null,this.prepareParamsArguments(it(it({},this.state),a),e))}},{key:"hasPagination",value:function(e){return!1!==(e||this.props).pagination}},{key:"isSortColumn",value:function(e){var t=this.state.sortColumn;return!(!e||!t)&&st(t)===st(e)}},{key:"prepareParamsArguments",value:function(e,t){var n=it({},e.pagination);delete n.onChange,delete n.onShowSizeChange;var r=e.filters,o={},i=t;return e.sortColumn&&e.sortOrder&&(i=e.sortColumn,o.column=e.sortColumn,o.order=e.sortOrder),i&&(o.field=i.dataIndex,o.columnKey=st(i)),[n,r,o,{currentDataSource:this.getLocalData(e)}]}},{key:"findColumn",value:function(e){var t;return P(this.state.columns,(function(n){st(n)===e&&(t=n)})),t}},{key:"recursiveSort",value:function(e,t){var n=this,r=this.props.childrenColumnName,o=void 0===r?"children":r;return e.sort(t).map((function(e){return e[o]?it(it({},e),Qe({},o,n.recursiveSort(e[o],t))):e}))}},{key:"renderPagination",value:function(e,t){if(!this.hasPagination())return null;var n="default",o=this.state.pagination;o.size?n=o.size:"middle"!==this.props.size&&"small"!==this.props.size||(n="small");var i=o.position||"bottom",a=o.total||this.getLocalData().length;return a>0&&(i===t||"both"===i)?r.createElement(Ve.default,it({key:"pagination-".concat(t)},o,{className:u()(o.className,"".concat(e,"-pagination")),onChange:this.handlePageChange,total:a,size:n,current:this.getMaxCurrent(a),onShowSizeChange:this.handleShowSizeChange})):null}},{key:"renderRowSelection",value:function(e){var t=this,n=e.prefixCls,o=e.locale,a=e.getPopupContainer,c=this.props.rowSelection,l=this.state.columns.concat();if(c){var s=this.getFlatCurrentPageData().filter((function(e,n){return!c.getCheckboxProps||!t.getCheckboxPropsByItem(e,n).disabled})),f=u()("".concat(n,"-selection-column"),Qe({},"".concat(n,"-selection-column-custom"),c.selections)),p=Qe({key:"selection-column",render:this.renderSelectionBox(c.type),className:f,fixed:c.fixed,width:c.columnWidth,title:c.columnTitle},i.INTERNAL_COL_DEFINE,{className:"".concat(n,"-selection-col")});if("radio"!==c.type){var d=s.every((function(e,n){return t.getCheckboxPropsByItem(e,n).disabled}));p.title=p.title||r.createElement(ue,{store:this.props.store,locale:o,data:s,getCheckboxPropsByItem:this.getCheckboxPropsByItem,getRecordKey:this.getRecordKey,disabled:d,prefixCls:n,onSelect:this.handleSelectRow,selections:c.selections,hideDefaultSelections:c.hideDefaultSelections,getPopupContainer:this.generatePopupContainerFunc(a)})}"fixed"in c?p.fixed=c.fixed:l.some((function(e){return"left"===e.fixed||!0===e.fixed}))&&(p.fixed="left"),l[0]&&"selection-column"===l[0].key?l[0]=p:l.unshift(p)}return l}},{key:"renderColumnsDropdown",value:function(e){var t=this,n=e.prefixCls,o=e.dropdownPrefixCls,i=e.columns,a=e.locale,c=e.getPopupContainer,l=this.state,s=l.sortOrder,f=l.filters;return P(i,(function(e,i){var l,p,d,y=st(e,i),h=e.onHeaderCell,b=t.isSortColumn(e);if(e.filters&&e.filters.length>0||e.filterDropdown){var m=y in f?f[y]:[];p=r.createElement(H,{locale:a,column:e,selectedKeys:m,confirmFilter:t.handleFilter,prefixCls:"".concat(n,"-filter"),dropdownPrefixCls:o||"ant-dropdown",getPopupContainer:t.generatePopupContainerFunc(c),key:"filter-dropdown"})}if(e.sorter){var g=e.sortDirections||t.props.sortDirections,O=b&&"ascend"===s,w=b&&"descend"===s,C=-1!==g.indexOf("ascend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-up ").concat(O?"on":"off"),type:"caret-up",theme:"filled"}),x=-1!==g.indexOf("descend")&&r.createElement(v.default,{className:"".concat(n,"-column-sorter-down ").concat(w?"on":"off"),type:"caret-down",theme:"filled"});d=r.createElement("div",{title:a.sortTitle,className:u()("".concat(n,"-column-sorter-inner"),C&&x&&"".concat(n,"-column-sorter-inner-full")),key:"sorter"},C,x),h=function(n){var r={};e.onHeaderCell&&(r=it({},e.onHeaderCell(n)));var o=r.onClick;return r.onClick=function(){t.toggleSortOrder(e),o&&o.apply(void 0,arguments)},r}}return it(it({},e),{className:u()(e.className,(l={},Qe(l,"".concat(n,"-column-has-actions"),d||p),Qe(l,"".concat(n,"-column-has-filters"),p),Qe(l,"".concat(n,"-column-has-sorters"),d),Qe(l,"".concat(n,"-column-sort"),b&&s),l)),title:[r.createElement("span",{key:"title",className:"".concat(n,"-header-column")},r.createElement("div",{className:d?"".concat(n,"-column-sorters"):void 0},r.createElement("span",{className:"".concat(n,"-column-title")},t.renderColumnTitle(e.title)),r.createElement("span",{className:"".concat(n,"-column-sorter")},d))),p],onHeaderCell:h})}))}},{key:"renderColumnTitle",value:function(e){var t=this.state,n=t.filters,r=t.sortOrder,o=t.sortColumn;return e instanceof Function?e({filters:n,sortOrder:r,sortColumn:o}):e}},{key:"render",value:function(){return r.createElement(Ue.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,r,o=t.prevProps,i=e.columns||E(e.children),a=it(it({},t),{prevProps:e,columns:i});if("pagination"in e||"pagination"in o){var c=it(it(it({},pt),t.pagination),e.pagination);c.current=c.current||1,c.pageSize=c.pageSize||10,a=it(it({},a),{pagination:!1!==e.pagination?c:dt})}if(e.rowSelection&&"selectedRowKeys"in e.rowSelection?e.store.setState({selectedRowKeys:e.rowSelection.selectedRowKeys||[]}):o.rowSelection&&!e.rowSelection&&e.store.setState({selectedRowKeys:[]}),"dataSource"in e&&e.dataSource!==o.dataSource&&e.store.setState({selectionDirty:!1}),e.setCheckboxPropsCache({}),ht(a,a.columns).length>0){var l=bt(a,a.columns),u=it({},a.filters);Object.keys(l).forEach((function(e){u[e]=l[e]})),n=a,r=u,(Object.keys(r).length!==Object.keys(n.filters).length||Object.keys(r).some((function(e){return r[e]!==n.filters[e]})))&&(a=it(it({},a),{filters:u}))}if(!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e===t||["table","header","body"].every((function(n){return f()(e[n],t[n])}))}(e.components,o.components)){var s=yt(e.components);a=it(it({},a),{components:s})}return a}}]),n}(r.Component);mt.propTypes={dataSource:c.array,columns:c.array,prefixCls:c.string,useFixedHeader:c.bool,rowSelection:c.object,className:c.string,size:c.string,loading:c.oneOfType([c.bool,c.object]),bordered:c.bool,onChange:c.func,locale:c.object,dropdownPrefixCls:c.string,sortDirections:c.array,getPopupContainer:c.func},mt.defaultProps={dataSource:[],useFixedHeader:!1,className:"",size:"default",loading:!1,bordered:!1,indentSize:20,locale:{},rowKey:"key",showHeader:!0,sortDirections:["ascend","descend"],childrenColumnName:"children"},Object(p.polyfill)(mt);var vt=function(e){$e(n,e);var t=tt(n);function n(e){var r,o,i,a;return Xe(this,n),(r=t.call(this,e)).setCheckboxPropsCache=function(e){return r.CheckboxPropsCache=e},r.CheckboxPropsCache={},r.store=(o={selectedRowKeys:ut(e).selectedRowKeys||[],selectionDirty:!1},i=o,a=[],{setState:function(e){i=V(V({},i),e);for(var t=0;t<a.length;t++)a[t]()},getState:function(){return i},subscribe:function(e){return a.push(e),function(){var t=a.indexOf(e);a.splice(t,1)}}}),r}return Je(n,[{key:"render",value:function(){return r.createElement(mt,it({},this.props,{store:this.store,checkboxPropsCache:this.CheckboxPropsCache,setCheckboxPropsCache:this.setCheckboxPropsCache}))}}]),n}(r.Component);vt.displayName="withStore(Table)",vt.Column=be,vt.ColumnGroup=xe;var gt=vt;t.default=gt},wCXF:function(e,t,n){"use strict";function r(e){return(r="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 i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 u(){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 s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var d=f(n("q1tI")),y=f(n("17x9")),h=p(n("Gytx")),b=p(n("rsGM")),m=p(n("cOkC")),v=n("xI0J"),g=p(n("QkVN")),O=p(n("PFWz")),w=p(n("TSYQ")),C=n("VCL8"),x=n("6Ogq"),S=p(n("BjZs")),j=p(n("Cit5")),P=p(n("YqDF")),k=p(n("BC81")),E=p(n("AHJs")),_=p(n("PZDY")),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&&a(e,t)}(y,e);var t,n,r,f,p=(t=y,function(){var e,n=s(t);if(u()){var r=s(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function y(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=p.call(this,e)).state={},t.getRowKey=function(e,n){var r=t.props.rowKey,o="function"==typeof r?r(e,n):e[r];return m.default(void 0!==o,"Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key."),void 0===o?n:o},t.handleWindowResize=function(){t.syncFixedTableRowHeight(),t.setScrollPositionClassName()},t.syncFixedTableRowHeight=function(){var e=t.tableNode.getBoundingClientRect();if(!(void 0!==e.height&&e.height<=0)){var n=t.props.prefixCls,r=t.headTable?t.headTable.querySelectorAll("thead"):t.bodyTable.querySelectorAll("thead"),o=t.bodyTable.querySelectorAll(".".concat(n,"-row"))||[],i=[].map.call(r,(function(e){return e.getBoundingClientRect().height||"auto"})),a=t.store.getState(),c=[].reduce.call(o,(function(e,t){var n=t.getAttribute("data-row-key"),r=t.getBoundingClientRect().height||a.fixedColumnsBodyRowsHeight[n]||"auto";return e[n]=r,e}),{});h.default(a.fixedColumnsHeadRowsHeight,i)&&h.default(a.fixedColumnsBodyRowsHeight,c)||t.store.setState({fixedColumnsHeadRowsHeight:i,fixedColumnsBodyRowsHeight:c})}},t.handleBodyScrollLeft=function(e){if(e.currentTarget===e.target){var n=e.target,r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable;n.scrollLeft!==t.lastScrollLeft&&o.x&&(n===c&&a?a.scrollLeft=n.scrollLeft:n===a&&c&&(c.scrollLeft=n.scrollLeft),t.setScrollPositionClassName()),t.lastScrollLeft=n.scrollLeft}},t.handleBodyScrollTop=function(e){var n=e.target;if(e.currentTarget===n){var r=t.props.scroll,o=void 0===r?{}:r,i=l(t),a=i.headTable,c=i.bodyTable,u=i.fixedColumnsBodyLeft,s=i.fixedColumnsBodyRight;if(n.scrollTop!==t.lastScrollTop&&o.y&&n!==a){var f=n.scrollTop;u&&n!==u&&(u.scrollTop=f),s&&n!==s&&(s.scrollTop=f),c&&n!==c&&(c.scrollTop=f)}t.lastScrollTop=n.scrollTop}},t.handleBodyScroll=function(e){t.handleBodyScrollLeft(e),t.handleBodyScrollTop(e)},t.handleWheel=function(e){var n=t.props.scroll,r=void 0===n?{}:n;if(window.navigator.userAgent.match(/Trident\/7\./)&&r.y){var o=e.deltaY,i=e.target,a=l(t),c=a.bodyTable,u=a.fixedColumnsBodyLeft,s=a.fixedColumnsBodyRight,f=0;f=t.lastScrollTop?t.lastScrollTop+o:o,u&&i!==u&&(e.preventDefault(),u.scrollTop=f),s&&i!==s&&(e.preventDefault(),s.scrollTop=f),c&&i!==c&&(e.preventDefault(),c.scrollTop=f)}},t.saveRef=function(e){return function(n){t[e]=n}},t.saveTableNodeRef=function(e){t.tableNode=e},["onRowClick","onRowDoubleClick","onRowContextMenu","onRowMouseEnter","onRowMouseLeave"].forEach((function(t){m.default(void 0===e[t],"".concat(t," is deprecated, please use onRow instead."))})),m.default(void 0===e.getBodyWrapper,"getBodyWrapper is deprecated, please use custom components instead."),t.columnManager=new S.default(e.columns,e.children),t.store=v.create({currentHoverKey:null,fixedColumnsHeadRowsHeight:[],fixedColumnsBodyRowsHeight:{}}),t.setScrollPosition("left"),t.debouncedWindowResize=x.debounce(t.handleWindowResize,150),t}return n=y,f=[{key:"getDerivedStateFromProps",value:function(e,t){return e.columns&&e.columns!==t.columns?{columns:e.columns,children:null}:e.children!==t.children?{columns:null,children:e.children}:null}}],(r=[{key:"getChildContext",value:function(){return{table:{props:this.props,columnManager:this.columnManager,saveRef:this.saveRef,components:g.default({table:"table",header:{wrapper:"thead",row:"tr",cell:"th"},body:{wrapper:"tbody",row:"tr",cell:"td"}},this.props.components)}}}},{key:"componentDidMount",value:function(){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize)),this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"componentDidUpdate",value:function(e){this.columnManager.isAnyColumnsFixed()&&(this.handleWindowResize(),this.resizeEvent||(this.resizeEvent=b.default(window,"resize",this.debouncedWindowResize))),e.data.length>0&&0===this.props.data.length&&this.hasScrollX()&&this.resetScrollX()}},{key:"componentWillUnmount",value:function(){this.resizeEvent&&this.resizeEvent.remove(),this.debouncedWindowResize&&this.debouncedWindowResize.cancel()}},{key:"setScrollPosition",value:function(e){if(this.scrollPosition=e,this.tableNode){var t=this.props.prefixCls;"both"===e?O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-left")).add("".concat(t,"-scroll-position-right")):O.default(this.tableNode).remove(new RegExp("^".concat(t,"-scroll-position-.+$"))).add("".concat(t,"-scroll-position-").concat(e))}}},{key:"setScrollPositionClassName",value:function(){var e=this.bodyTable,t=0===e.scrollLeft,n=e.scrollLeft+1>=e.children[0].getBoundingClientRect().width-e.getBoundingClientRect().width;t&&n?this.setScrollPosition("both"):t?this.setScrollPosition("left"):n?this.setScrollPosition("right"):"middle"!==this.scrollPosition&&this.setScrollPosition("middle")}},{key:"isTableLayoutFixed",value:function(){var e=this.props,t=e.tableLayout,n=e.columns,r=void 0===n?[]:n,o=e.useFixedHeader,i=e.scroll,a=void 0===i?{}:i;return void 0!==t?"fixed"===t:!!(r.some((function(e){return!!e.ellipsis}))||o||a.y||a.x&&!0!==a.x&&"max-content"!==a.x)}},{key:"resetScrollX",value:function(){this.headTable&&(this.headTable.scrollLeft=0),this.bodyTable&&(this.bodyTable.scrollLeft=0)}},{key:"hasScrollX",value:function(){var e=this.props.scroll;return"x"in(void 0===e?{}:e)}},{key:"renderMainTable",value:function(){var e=this.props,t=e.scroll,n=e.prefixCls,r=this.columnManager.isAnyColumnsFixed(),o=r||t.x||t.y,i=[this.renderTable({columns:this.columnManager.groupedColumns(),isAnyColumnsFixed:r}),this.renderEmptyText(),this.renderFooter()];return o?d.createElement("div",{className:"".concat(n,"-scroll")},i):i}},{key:"renderLeftFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-left")},this.renderTable({columns:this.columnManager.leftColumns(),fixed:"left"}))}},{key:"renderRightFixedTable",value:function(){var e=this.props.prefixCls;return d.createElement("div",{className:"".concat(e,"-fixed-right")},this.renderTable({columns:this.columnManager.rightColumns(),fixed:"right"}))}},{key:"renderTable",value:function(e){var t=e.columns,n=e.fixed,r=e.isAnyColumnsFixed,o=this.props,i=o.prefixCls,a=o.scroll,c=(void 0===a?{}:a).x||n?"".concat(i,"-fixed"):"";return[d.createElement(j.default,{key:"head",columns:t,fixed:n,tableClassName:c,handleBodyScrollLeft:this.handleBodyScrollLeft,expander:this.expander}),d.createElement(P.default,{key:"body",columns:t,fixed:n,tableClassName:c,getRowKey:this.getRowKey,handleWheel:this.handleWheel,handleBodyScroll:this.handleBodyScroll,expander:this.expander,isAnyColumnsFixed:r})]}},{key:"renderTitle",value:function(){var e=this.props,t=e.title,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-title"),key:"title"},t(this.props.data)):null}},{key:"renderFooter",value:function(){var e=this.props,t=e.footer,n=e.prefixCls;return t?d.createElement("div",{className:"".concat(n,"-footer"),key:"footer"},t(this.props.data)):null}},{key:"renderEmptyText",value:function(){var e=this.props,t=e.emptyText,n=e.prefixCls;if(e.data.length)return null;var r="".concat(n,"-placeholder");return d.createElement("div",{className:r,key:"emptyText"},"function"==typeof t?t():t)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.prefixCls;this.state.columns?this.columnManager.reset(n.columns):this.state.children&&this.columnManager.reset(null,n.children);var i=w.default(n.prefixCls,n.className,(o(e={},"".concat(r,"-fixed-header"),n.useFixedHeader||n.scroll&&n.scroll.y),o(e,"".concat(r,"-scroll-position-left ").concat(r,"-scroll-position-right"),"both"===this.scrollPosition),o(e,"".concat(r,"-scroll-position-").concat(this.scrollPosition),"both"!==this.scrollPosition),o(e,"".concat(r,"-layout-fixed"),this.isTableLayoutFixed()),e)),a=this.columnManager.isAnyColumnsLeftFixed(),c=this.columnManager.isAnyColumnsRightFixed(),l=x.getDataAndAriaProps(n);return d.createElement(v.Provider,{store:this.store},d.createElement(_.default,Object.assign({},n,{columnManager:this.columnManager,getRowKey:this.getRowKey}),(function(e){return t.expander=e,d.createElement("div",Object.assign({ref:t.saveTableNodeRef,className:i,style:n.style,id:n.id},l),t.renderTitle(),d.createElement("div",{className:"".concat(r,"-content")},t.renderMainTable(),a&&t.renderLeftFixedTable(),c&&t.renderRightFixedTable()))})))}}])&&i(n.prototype,r),f&&i(n,f),y}(d.Component);R.childContextTypes={table:y.any,components:y.any},R.Column=k.default,R.ColumnGroup=E.default,R.defaultProps={data:[],useFixedHeader:!1,rowKey:"key",rowClassName:function(){return""},onRow:function(){},onHeaderRow:function(){},prefixCls:"rc-table",bodyStyle:{},style:{},showHeader:!0,scroll:{},rowRef:function(){return null},emptyText:function(){return"No Data"}},C.polyfill(R),t.default=R},wclG:function(e,t,n){var r=n("pFRH"),o=n("88Gu")(r);e.exports=o},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),h=n("17x9"),b=n.n(h),m=n("TSYQ"),v=n.n(m),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,b=t.onBlur,m=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,x=v()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:x,style:i},y.a.createElement("input",a()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!C,onClick:d,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:m,ref:this.saveInput,value:g},w)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var w=O;t.a=w},yP5f:function(e,t,n){var r=n("+K+b");e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},zSdB:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=r(n("17x9")),a=n("6Ogq"),c=function(e,t){var n,r=t.table,i=r.props,c=i.prefixCls,l=i.expandIconAsCell,u=e.fixed,s=[];return l&&"right"!==u&&s.push(o.createElement("col",{className:"".concat(c,"-expand-icon-col"),key:"rc-table-expand-icon-col"})),n="left"===u?r.columnManager.leftLeafColumns():"right"===u?r.columnManager.rightLeafColumns():r.columnManager.leafColumns(),s=s.concat(n.map((function(e){var t=e.key,n=e.dataIndex,r=e.width,i=e[a.INTERNAL_COL_DEFINE],c=void 0!==t?t:n;return o.createElement("col",Object.assign({key:c,style:{width:r,minWidth:r}},i))}))),o.createElement("colgroup",null,s)};c.contextTypes={table:i.any},t.default=c},zZ0H:function(e,t){e.exports=function(e){return e}},zgq8:function(e,t,n){"use strict";function r(e){return(r="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!==r(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 l(){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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},f=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var p=s(n("q1tI")),d=n("xI0J"),y=f(n("0hpf")),h=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&&a(e,t)}(d,e);var t,n,r,s,f=(t=d,function(){var e,n=u(t);if(l()){var r=u(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return c(this,e)});function d(){var e;return o(this,d),(e=f.apply(this,arguments)).hasExpandIcon=function(t){var n=e.props,r=n.expandRowByClick,o=n.expandIcon;return!e.expandIconAsCell&&t===e.expandIconColumnIndex&&(!!o||!r)},e.handleExpandChange=function(t,n){var r=e.props,o=r.onExpandedChange,i=r.expanded,a=r.rowKey;e.expandable&&o(!i,t,n,a)},e.handleRowClick=function(t,n,r){var o=e.props,i=o.expandRowByClick,a=o.onRowClick;i&&e.handleExpandChange(t,r),a&&a(t,n,r)},e.renderExpandIcon=function(){var t=e.props,n=t.prefixCls,r=t.expanded,o=t.record,i=t.needIndentSpaced,a=t.expandIcon;return a?a({prefixCls:n,expanded:r,record:o,needIndentSpaced:i,expandable:e.expandable,onExpand:e.handleExpandChange}):p.createElement(y.default,{expandable:e.expandable,prefixCls:n,onExpand:e.handleExpandChange,needIndentSpaced:i,expanded:r,record:o})},e.renderExpandIconCell=function(t){if(e.expandIconAsCell){var n=e.props.prefixCls;t.push(p.createElement("td",{className:"".concat(n,"-expand-icon-cell"),key:"rc-table-expand-icon-cell"},e.renderExpandIcon()))}},e}return n=d,(r=[{key:"componentWillUnmount",value:function(){this.handleDestroy()}},{key:"handleDestroy",value:function(){var e=this.props,t=e.onExpandedChange,n=e.rowKey,r=e.record;this.expandable&&t(!1,r,null,n,!0)}},{key:"render",value:function(){var e=this.props,t=e.childrenColumnName,n=e.expandedRowRender,r=e.indentSize,o=e.record,i=e.fixed,a=e.expanded;this.expandIconAsCell="right"!==i&&this.props.expandIconAsCell,this.expandIconColumnIndex="right"!==i?this.props.expandIconColumnIndex:-1;var c=o[t];this.expandable=!(!c&&!n);var l={indentSize:r,expanded:a,onRowClick:this.handleRowClick,hasExpandIcon:this.hasExpandIcon,renderExpandIcon:this.renderExpandIcon,renderExpandIconCell:this.renderExpandIconCell};return this.props.children(l)}}])&&i(n.prototype,r),s&&i(n,s),d}(p.Component);t.default=d.connect((function(e,t){var n=e.expandedRowKeys,r=void 0===n?[]:n,o=t.rowKey;return{expanded:r.includes(o)}}))(h)}}]); \ No newline at end of file diff --git a/static/js/32.209d3cf1.chunk.js b/static/js/32.209d3cf1.chunk.js deleted file mode 100644 index 2edef35d4..000000000 --- a/static/js/32.209d3cf1.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 32.209d3cf1.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[32],{"+6XX":function(e,t,n){var r=n("y1pI");e.exports=function(e){return r(this.__data__,e)>-1}},"03A+":function(e,t,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"2gN3":function(e,t,n){var r=n("Kz5y")["__core-js_shared__"];e.exports=r},"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"),s=n("JSQU");function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},"4sDh":function(e,t,n){var r=n("4uTw"),o=n("03A+"),i=n("Z0cm"),a=n("wJg7"),s=n("shjB"),l=n("9Nap");e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,p=!1;++c<u;){var f=l(t[c]);if(!(p=null!=e&&n(e,f)))break;e=e[f]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},"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))}},"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))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},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}},"Dt+G":function(e,t,n){},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}},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}},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},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}},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}},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)}},KMkd:function(e,t){e.exports=function(){this.__data__=[],this.size=0}},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),a=n("CtXQ"),s=n("2/Rp"),l=n("YMnH"),c=n("ZvpZ"),u=n("H84U");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 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 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,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 y(){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 v(e){return(v=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 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},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&&m(e,t)}(x,e);var t,n,o,a,p=(t=x,function(){var e,n=v(t);if(y()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=p.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(g(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(g(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,l=o.title,c=o.cancelText,u=o.okText,p=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")},l)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(s.default,f({onClick:t.onCancel,size:"small"},a),c||n.cancelText),r.createElement(s.default,f({onClick:t.onConfirm,type:p,size:"small"},i),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,a=o.prefixCls,s=o.placement,u=b(o,["prefixCls","placement"]),p=n("popover",a),d=r.createElement(l.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(p,e)}));return r.createElement(i.default,f({},u,{prefixCls:p,placement:s,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=x,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),a&&d(n,a),x}(r.Component);x.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)(x),t.default=x},NKxu:function(e,t,n){var r=n("lSCD"),o=n("E2jh"),i=n("GoyQ"),a=n("3Fdi"),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?f:s).test(a(e))}},Npjl:function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},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}},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"],s="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",l=[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"],p=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;function f(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={},s=0,l=o.length;s<l;++s){var c=o[s],u=c[3];if(u)for(var p=u.length;--p>=0;)r[u.charAt(p)]=c;var f=c[1],d=""+f;a.hasOwnProperty(d)||(i.push(f),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((f=e[o]).ignoreCase)r=!0;else if(/[a-z]/i.test(f.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 s(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 l(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,p=s(c);i+2<a&&"-"===t[i+1]?(u=s(t[i+2]),i+=2):u=p,n.push([p,u]),u<65||p>122||(u<65||p>90||n.push([32|Math.max(65,p),32|Math.min(u,90)]),u<97||p>122||n.push([-33&Math.max(97,p),-33&Math.min(u,122)]))}}n.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var f=[],d=[];for(i=0;i<n.length;++i){(m=n[i])[0]<=d[1]+1?d[1]=Math.max(d[1],m[1]):f.push(d=m)}for(i=0;i<f.length;++i){var m=f[i];o.push(l(m[0])),m[1]>m[0]&&(m[1]+1>m[0]&&o.push("-"),o.push(l(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,s=0;a<o;++a){if("("===(p=r[a]))++s;else if("\\"===p.charAt(0)){(u=+p.substring(1))&&(u<=s?i[u]=-1:r[a]=l(u))}}for(a=1;a<i.length;++a)-1===i[a]&&(i[a]=++t);for(a=0,s=0;a<o;++a){if("("===(p=r[a]))i[++s]||(r[a]="(?:");else if("\\"===p.charAt(0)){var u;(u=+p.substring(1))&&u<=s&&(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 p,f=(p=r[a]).charAt(0);p.length>=2&&"["===f?r[a]=c(p):"\\"!==f&&(r[a]=p.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return r.join("")}var p=[];for(o=0,i=e.length;o<i;++o){var f;if((f=e[o]).global||f.multiline)throw new Error(""+f);p.push("(?:"+u(f)+")")}return new RegExp(p.join("|"),r?"gi":"g")}(i)}();var o=t.length,i=function(e){for(var a=e.sourceCode,s=e.basePos,l=e.sourceNode,c=[s,"pln"],u=0,p=a.match(n)||[],d={},m=0,h=p.length;m<h;++m){var g,y=p[m],v=d[y],b=void 0;if("string"==typeof v)g=!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")}!(g=v.length>=5&&"lang-"===v.substring(0,5))||b&&"string"==typeof b[1]||(g=!1,v="src"),g||(d[y]=v)}var S=u;if(u+=y.length,g){var T=b[1],A=y.indexOf(T),N=A+T.length;b[2]&&(A=(N=y.length-b[2].length)-T.length);var C=v.substring(5);f(l,s+S,y.substring(0,A),i,c),f(l,s+S+A,T,_(C,T),c),f(l,s+S+N,y.substring(N),i,c)}else c.push(s+S,v)}e.decorations=c};return i}function g(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]",s="/(?=[^/*"+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*("+s+")")])}var l=e.types;l&&n.push(["typ",l]);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=g({keywords:[r,i,o,a,s,l,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 s=[a];function l(e){var t=e.nodeType;if(1!=t||r.test(e.className)){if((3==t||4==t)&&n){var a=e.nodeValue,s=a.match(o);if(s){var u=a.substring(0,s.index);e.nodeValue=u;var p=a.substring(s.index+s[0].length);if(p)e.parentNode.insertBefore(i.createTextNode(p),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 f=e.firstChild;f;f=f.nextSibling)l(f)}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 s=a;s;s=a)a=s.nextSibling,i.appendChild(s)}return r}(e.nextSibling,0);(t=n.parentNode)&&1===t.nodeType;)n=t;s.push(n)}for(var u=0;u<s.length;++u)l(s[u]);t===(0|t)&&s[0].setAttribute("value",t);var p=i.createElement("ol");p.className="linenums";for(var f=Math.max(0,t-1|0)||0,d=(u=0,s.length);u<d;++u)(a=s[u]).className="L"+(u+f)%10,a.firstChild||a.appendChild(i.createTextNode(" ")),p.appendChild(a);e.appendChild(p)}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 _(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,s,l,c=t.langExtension;try{var u=(n=t.sourceNode,r=t.pre,o=/(?:^|\s)nocode(?:\s|$)/,i=[],a=0,s=[],l=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[l]="\n",s[l<<1]=a++,s[l++<<1|1]=t)}else if(3==n||4==n){var p=t.nodeValue;p.length&&(p=r?p.replace(/\r\n?/g,"\n"):p.replace(/[ \t\r\n]+/g," "),i[l]=p,s[l<<1]=a,a+=p.length,s[l++<<1|1]=t)}}(n),{sourceCode:i.join("").replace(/\n$/,""),spans:s}),p=u.sourceCode;t.sourceCode=p,t.spans=u.spans,t.basePos=0,_(c,p)(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,s=0,l=e.spans,c=l.length,u=0,p=e.decorations,f=p.length,d=0;for(p[f]=a,r=n=0;r<f;)p[r]!==p[r+2]?(p[n++]=p[r++],p[n++]=p[r++]):r+=2;for(f=n,r=n=0;r<f;){for(var m=p[r],h=p[r+1],g=r+2;g+2<=f&&p[g+1]===h;)g+=2;p[n++]=m,p[n++]=h,r=g}f=p.length=n;var y=e.sourceNode,v="";y&&(v=y.style.display,y.style.display="none");try{for(;u<c;){l[u];var b,x=l[u+2]||a,_=p[d+2]||a,w=(g=Math.min(x,_),l[u+1]);if(1!==w.nodeType&&(b=i.substring(s,g))){t&&(b=b.replace(o,"\r")),w.nodeValue=b;var S=w.ownerDocument,T=S.createElement("span");T.className=p[d+1];var A=w.parentNode;A.replaceChild(T,w),T.appendChild(w),s<x&&(l[u+1]=w=S.createTextNode(i.substring(g,x)),A.insertBefore(w,T.nextSibling))}(s=g)>=x&&(u+=2),s>=_&&(d+=2)}}finally{y&&(y.style.display=v)}}(t)}catch(t){e.console&&console.log(t&&t.stack||t)}}function S(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 T(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")],s=[],l=0;l<a.length;++l)for(var c=0,u=a[l].length;c<u;++c)s.push(a[l][c]);a=null;var p=Date;p.now||(p={now:function(){return+new Date}});var f=0,d=/\blang(?:uage)?-([\w.]+)(?!\S)/,h=/\bprettyprint\b/,g=/\bprettyprinted\b/,y=/pre|xmp/i,b=/^code$/i,x=/^(?:pre|code|xmp)$/i,_={};!function n(){for(var r=e.PR_SHOULD_USE_CONTINUATION?p.now()+250:1/0;f<s.length&&p.now()<r;f++){for(var i=s[f],a=_,l=i;l=l.previousSibling;){var c=l.nodeType,u=(7===c||8===c)&&l.nodeValue;if(u?!/^\??prettify\b/.test(u):3!==c||/\S/.test(l.nodeValue))break;if(u){a={},u.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,n){a[t]=n}));break}}var S=i.className;if((a!==_||h.test(S))&&!g.test(S)){for(var T=!1,A=i.parentNode;A;A=A.parentNode){var N=A.tagName;if(x.test(N)&&A.className&&h.test(A.className)){T=!0;break}}if(!T){i.className+=" prettyprinted";var C,k,E=a.lang;if(!E)!(E=S.match(d))&&(C=m(i))&&b.test(C.tagName)&&(E=C.className.match(d)),E&&(E=E[1]);if(y.test(i.tagName))k=1;else{var O=i.currentStyle,R=o.defaultView,L=O?O.whiteSpace:R&&R.getComputedStyle?R.getComputedStyle(i,null).getPropertyValue("white-space"):0;k=L&&"pre"===L.substring(0,3)}var D=a.linenums;(D="true"===D||+D)||(D=!!(D=S.match(/\blinenums\b(?::(\d+))?/))&&(!D[1]||!D[1].length||+D[1])),D&&v(i,D,k),w({langExtension:E,sourceNode:i,numberLines:D,pre:k,sourceCode:null,basePos:null,spans:null,decorations:null})}}}f<s.length?e.setTimeout(n,250):"function"==typeof t&&t()}()}x(y,["default-code"]),x(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"]),x(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"]),x(h([],[["atv",/^[\s\S]+/]]),["uq.val"]),x(g({keywords:r,hashComments:!0,cStyleComments:!0,types:p}),["c","cc","cpp","cxx","cyc","m"]),x(g({keywords:"null,true,false"}),["json"]),x(g({keywords:i,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:p}),["cs"]),x(g({keywords:o,cStyleComments:!0}),["java"]),x(g({keywords:u,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),x(g({keywords:l,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),x(g({keywords:s,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),x(g({keywords:c,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),x(g({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),x(g({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(h([],[["str",/^[\s\S]+/]]),["regex"]);var A=e.PR={createSimpleLexer:h,registerLangHandler:x,sourceDecorator:g,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:T},N=e.define;"function"==typeof N&&N.amd&&N("google-code-prettify",[],(function(){return A}))}()},SfRM:function(e,t,n){var r=n("YESw");e.exports=function(){this.__data__=r?r(null):{},this.size=0}},Xi7e:function(e,t,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},YESw:function(e,t,n){var r=n("Cwc5")(Object,"create");e.exports=r},Z0cm:function(e,t){var n=Array.isArray;e.exports=n},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}},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}},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)}},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"),s=n("H8j4");function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},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)}},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}}},"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")},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}},ljhN:function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},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}},pSRY:function(e,t,n){var r=n("QkVE");e.exports=function(e){return r(this,e).has(e)}},shjB:function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},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]}},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}},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,s="undefined"!=typeof Reflect&&Reflect,l=s.apply,c=s.construct;l||(l=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=T(Array.prototype.forEach),p=T(Array.prototype.indexOf),f=T(Array.prototype.join),d=T(Array.prototype.pop),m=T(Array.prototype.push),h=T(Array.prototype.slice),g=T(String.prototype.toLowerCase),y=T(String.prototype.match),v=T(String.prototype.replace),b=T(String.prototype.indexOf),x=T(String.prototype.trim),_=T(RegExp.prototype.test),w=A(RegExp),S=A(TypeError);function T(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 l(e,t,r)}}function A(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 N(e,r){t&&t(e,null);for(var o=r.length;o--;){var i=r[o];if("string"==typeof i){var a=g(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)l(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"]),O=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"]),L=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"]),M=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"]),j=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),z=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),I=i(/<%[\s\S]*|[\s\S]*%>/gm),F=i(/^data-[\-\w.\u00B7-\uFFFF]/),H=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),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};function G(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 Z=function(){return"undefined"==typeof window?null:window},W=function(e,t){if("object"!==(void 0===e?"undefined":V(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]:Z(),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,s=t.document,l=t.DocumentFragment,c=t.HTMLTemplateElement,T=t.Node,A=t.NodeFilter,Y=t.NamedNodeMap,q=void 0===Y?t.NamedNodeMap||t.MozNamedAttrMap:Y,J=t.Text,Q=t.Comment,K=t.DOMParser,X=t.trustedTypes;if("function"==typeof c){var ee=s.createElement("template");ee.content&&ee.content.ownerDocument&&(s=ee.content.ownerDocument)}var te=W(X,i),ne=te&&Pe?te.createHTML(""):"",re=s,oe=re.implementation,ie=re.createNodeIterator,ae=re.getElementsByTagName,se=re.createDocumentFragment,le=i.importNode,ce=C(s).documentMode?s.documentMode:{},ue={};n.isSupported=oe&&void 0!==oe.createHTMLDocument&&9!==ce;var pe=z,fe=I,de=F,me=H,he=U,ge=B,ye=$,ve=null,be=N({},[].concat(G(k),G(E),G(O),G(R),G(L))),xe=null,_e=N({},[].concat(G(D),G(M),G(P),G(j))),we=null,Se=null,Te=!0,Ae=!0,Ne=!1,Ce=!1,ke=!1,Ee=!1,Oe=!1,Re=!1,Le=!1,De=!1,Me=!1,Pe=!1,je=!0,ze=!0,Ie=!1,Fe={},He=N({},["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=N({},["audio","video","img","source","image","track"]),Be=null,Ve=N({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ge=null,Ze=s.createElement("form"),We=function(e){Ge&&Ge===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=C(e),ve="ALLOWED_TAGS"in e?N({},e.ALLOWED_TAGS):be,xe="ALLOWED_ATTR"in e?N({},e.ALLOWED_ATTR):_e,Be="ADD_URI_SAFE_ATTR"in e?N(C(Ve),e.ADD_URI_SAFE_ATTR):Ve,$e="ADD_DATA_URI_TAGS"in e?N(C(Ue),e.ADD_DATA_URI_TAGS):Ue,we="FORBID_TAGS"in e?N({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?N({},e.FORBID_ATTR):{},Fe="USE_PROFILES"in e&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Ae=!1!==e.ALLOW_DATA_ATTR,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=e.SAFE_FOR_JQUERY||!1,ke=e.SAFE_FOR_TEMPLATES||!1,Ee=e.WHOLE_DOCUMENT||!1,Le=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_DOM_IMPORT||!1,Pe=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,je=!1!==e.SANITIZE_DOM,ze=!1!==e.KEEP_CONTENT,Ie=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,ke&&(Ae=!1),De&&(Le=!0),Fe&&(ve=N({},[].concat(G(L))),xe=[],!0===Fe.html&&(N(ve,k),N(xe,D)),!0===Fe.svg&&(N(ve,E),N(xe,M),N(xe,j)),!0===Fe.svgFilters&&(N(ve,O),N(xe,M),N(xe,j)),!0===Fe.mathMl&&(N(ve,R),N(xe,P),N(xe,j))),e.ADD_TAGS&&(ve===be&&(ve=C(ve)),N(ve,e.ADD_TAGS)),e.ADD_ATTR&&(xe===_e&&(xe=C(xe)),N(xe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&N(Be,e.ADD_URI_SAFE_ATTR),ze&&(ve["#text"]=!0),Ee&&N(ve,["html","head","body"]),ve.table&&(N(ve,["tbody"]),delete we.tbody),o&&o(e),Ge=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)},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 K).parseFromString(o,"text/html")}catch(e){}if(a&&N(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(s.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>");_(/<\/title/,e.querySelector("title").innerHTML)&&(a=!0)}catch(e){}}();var Qe=function(e){return ie.call(e.ownerDocument||e,e,A.SHOW_ELEMENT|A.SHOW_COMMENT|A.SHOW_TEXT,(function(){return A.FILTER_ACCEPT}),!1)},Ke=function(e){return!(e instanceof J||e instanceof Q||"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)},Xe=function(e){return"object"===(void 0===T?"undefined":V(T))?e instanceof T:e&&"object"===(void 0===e?"undefined":V(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,Ge)}))},tt=function(e){var t=void 0;if(et("beforeSanitizeElements",e,null),Ke(e))return Ye(e),!0;if(y(e.nodeName,/[\u0080-\uFFFF]/))return Ye(e),!0;var r=g(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(ze&&!He[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&&_(/<\/noscript/i,e.innerHTML)||"noembed"===r&&_(/<\/noembed/i,e.innerHTML)?(Ye(e),!0):(!Ce||Xe(e.firstElementChild)||Xe(e.content)&&Xe(e.content.firstElementChild)||!_(/</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,pe," "),t=v(t,fe," "),e.textContent!==t&&(m(n.removed,{element:e.cloneNode()}),e.textContent=t)),et("afterSanitizeElements",e,null),!1)},nt=function(e,t,n){if(je&&("id"===t||"name"===t)&&(n in s||n in Ze))return!1;if(Ae&&_(de,t));else if(Te&&_(me,t));else{if(!xe[t]||Se[t])return!1;if(Be[t]);else if(_(ye,v(n,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!$e[e])if(Ne&&!_(he,v(n,ge,"")));else if(n)return!1}return!0},rt=function(e){var t=void 0,o=void 0,i=void 0,a=void 0,s=void 0;et("beforeSanitizeAttributes",e,null);var l=e.attributes;if(l){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};for(s=l.length;s--;){var u=t=l[s],m=u.name,y=u.namespaceURI;if(o=x(t.value),i=g(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&&l.id)a=l.id,l=h(l,[]),qe("id",e),qe(m,e),p(l,a)>s&&e.setAttribute("id",a.value);else{if("INPUT"===e.nodeName&&"type"===i&&"file"===o&&c.keepAttr&&(xe[i]||!Se[i]))continue;"id"===m&&e.setAttribute(m,""),qe(m,e)}if(c.keepAttr)if(Ce&&_(/\/>/i,o))qe(m,e);else if(_(/svg|math/i,e.namespaceURI)&&_(w("</("+f(r(He),"|")+")","i"),o))qe(m,e);else{ke&&(o=v(o,pe," "),o=v(o,fe," "));var b=e.nodeName.toLowerCase();if(nt(b,i,o))try{y?e.setAttributeNS(y,m,o):e.setAttribute(m,o),d(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 l&&e(n.content),rt(n));et("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,r){var o=void 0,a=void 0,s=void 0,c=void 0,u=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(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"===V(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(Oe||We(r),n.removed=[],"string"==typeof e&&(Ie=!1),Ie);else if(e instanceof T)1===(a=(o=Je("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?o=a:o.appendChild(a);else{if(!Le&&!ke&&!Ee&&-1===e.indexOf("<"))return te&&Pe?te.createHTML(e):e;if(!(o=Je(e)))return Le?null:ne}o&&Re&&Ye(o.firstChild);for(var p=Qe(Ie?e:o);s=p.nextNode();)3===s.nodeType&&s===c||tt(s)||(s.content instanceof l&&ot(s.content),rt(s),c=s);if(c=null,Ie)return e;if(Le){if(De)for(u=se.call(o.ownerDocument);o.firstChild;)u.appendChild(o.firstChild);else u=o;return Me&&(u=le.call(i,u,!0)),u}var f=Ee?o.outerHTML:o.innerHTML;return ke&&(f=v(f,pe," "),f=v(f,fe," ")),te&&Pe?te.createHTML(f):f},n.setConfig=function(e){We(e),Oe=!0},n.clearConfig=function(){Ge=null,Oe=!1},n.isValidAttribute=function(e,t,n){Ge||We({});var r=g(e),o=g(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}()}()},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}},zoYe:function(e,t,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),a=n("/9aa"),s=r?r.prototype:void 0,l=s?s.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 l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}}]); \ No newline at end of file diff --git a/static/js/31.64a564dc.chunk.js b/static/js/32.2dd9b86a.chunk.js similarity index 63% rename from static/js/31.64a564dc.chunk.js rename to static/js/32.2dd9b86a.chunk.js index 3e9fbc76a..88d1ad0e0 100644 --- a/static/js/31.64a564dc.chunk.js +++ b/static/js/32.2dd9b86a.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see 31.64a564dc.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([[31,4,5,6,9],{"+B/L":function(e,t,n){},"+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 d=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,d):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,d)}))}));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 d(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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 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 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&&h(e,t)}(w,e);var t,n,o,i,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function w(){var e;return d(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,i=m(e).props,s=i.prefixCls,d=i.span,p=i.order,h=i.offset,y=i.push,v=i.pull,g=i.className,O=i.children,w=b(i,["prefixCls","span","order","offset","push","pull","className","children"]),x=o("col",s),C={};["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],C=u(u({},C),(c(t={},"".concat(x,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(x,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(x,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(x,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(x,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var E=a()(x,(c(n={},"".concat(x,"-").concat(d),void 0!==d),c(n,"".concat(x,"-order-").concat(p),p),c(n,"".concat(x,"-offset-").concat(h),h),c(n,"".concat(x,"-push-").concat(y),y),c(n,"".concat(x,"-pull-").concat(v),v),n),g,C);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:E}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&p(n.prototype,o),i&&p(n,i),w}(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}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=l(o),a=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"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")},"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,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var l=s(t),y=s(n),m=0;m<a.length;++m){var v=a[m];if(!(i[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"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 d=s(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&l(u)&&a(d,u)&&(i(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"9uj6":function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=o},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},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))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},Bahx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("kLXV")),o=a(n("2/Rp"));n("k3Gp"),n("L/Qf");var i=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.visible,n=e.title,a=e.content,l=e.onOk,s=e.onCancel;return i.default.createElement(r.default,{className:"modalsStyle",visible:t,title:n,onCancel:s,closable:!0,footer:i.default.createElement("div",null,i.default.createElement(o.default,{onClick:s},"取消"),i.default.createElement(o.default,{type:"primary",style:{marginLeft:"20px"},onClick:l},"确定"))},i.default.createElement("div",{style:{fontSize:"16px"}},a))}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Be}));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),d=f()({inlineCollapsed:!1});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 y(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 b(){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 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)}(c,e);var t,n,i,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return y(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,i=t.popupClassName;return r.createElement(d.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(l),i)}))}))}}])&&m(n.prototype,i),l&&m(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var x=w,C=n("3S7+"),E=n("H84U");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 k(e){return function(e){if(Array.isArray(e))return j(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 j(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(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 j(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 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){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 N(e,t,n){return t&&A(e.prototype,t),n&&A(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&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){return function(){var t,n=D(e);if(T()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return R(this,t)}}function R(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(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},q=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function B(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=I(a);function a(){var o;return P(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,F({prefixCls:s,tagName:n},o.props))},o}return N(a,[{key:"render",value:function(){return r.createElement(E.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var G=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,l=V(e,["prefixCls","className","children","tagName"]),s=a()(n,t);return r.createElement(i,F({className:s},l),o)},z=function(e){M(n,e);var t=I(n);function n(){var e;return P(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(k(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=V(o,["prefixCls","className","children","hasSider","tagName"]),d=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(q.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,F({className:d},f),s))}}]),n}(r.Component),L=B({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=B({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(G),W=B({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(G),Y=B({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(G);L.Header=H,L.Footer=W,L.Content=Y;var U=n("CtXQ"),X=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),de=function(e){te(n,e);var t=re(n);function n(e){var o,i,s;return J(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,d=i.reverseArrow,p=i.trigger,h=i.style,y=i.width,m=i.collapsedWidth,v=i.zeroWidthTriggerStyle,g=le(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?m:y,x=X(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(m||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(d?"right":"left"),style:v},r.createElement(U.default,{type:"bars"})):null,E={expanded:d?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:d?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==p?C||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:x}},p||E):null,k=K(K({},h),{flex:"0 0 ".concat(x),maxWidth:x,minWidth:x,width:x}),j=a()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==p&&!C),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(x)),t));return r.createElement("aside",K({className:j},O,{style:k}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&C?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ce&&(o.mql=i("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);de.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(de);r.Component;function pe(e){return(pe="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(){return(he=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){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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==pe(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(){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 Oe(e){return(Oe=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},xe=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&&ve(e,t)}(s,e);var t,n,i,a,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return ye(this,s),(e=l.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=we(c,["title"]);return r.createElement(d.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(C.default,he({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,he({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(i=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&me(n.prototype,i),a&&me(n,a),s}(r.Component);xe.isMenuItem=!0;var Ce=n("6CfX"),Ee=n("oHiP"),Se=function(){return{height:0,opacity:0}},ke=function(e){return{height:e.scrollHeight,opacity:1}},je={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:ke,onEnterActive:ke,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};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 Ae(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 Me(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function _e(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)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){return function(){var t,n=Ve(e);if(De()){var r=Ve(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Te(this,t)}}function Te(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 De(){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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e){_e(n,e);var t=Re(n);function n(e){var i,s;return Ae(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,d=f.prefixCls,p=f.className,h=f.theme,y=f.collapsedWidth,m=Object(l.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),g=i.getOpenMotionProps(v),b=u("menu",d),O=a()(p,"".concat(b,"-").concat(h),(t={},n="".concat(b,"-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=Pe({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===y||"0"===y||"0px"===y)&&(w.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},m,w,{prefixCls:b,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.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 Me(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(Ce.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:je}:{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(d.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},r.createElement(E.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);qe.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(qe);var Be=function(e){_e(n,e);var t=Re(n);function n(){return Ae(this,n),t.apply(this,arguments)}return Me(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(qe,Pe({},e.props,t))}))}}]),n}(r.Component);Be.Divider=o.a,Be.Item=xe,Be.SubMenu=x,Be.ItemGroup=o.c},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},"Dt+G":function(e,t,n){},ECyS:function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1)}function o(e){return"Object"===r(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function i(e){return"Array"===r(e)}function a(e){return"Symbol"===r(e)}function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r}function s(e,t,n,r){var o=r.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=n),"nonenumerable"===o&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function c(e,t,n){if(!o(t))return n&&i(n)&&n.forEach((function(n){t=n(e,t)})),t;var r={};o(e)&&(r=l(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(n,r){var o=e[r];return(!a(r)&&!Object.getOwnPropertyNames(t).includes(r)||a(r)&&!Object.getOwnPropertySymbols(t).includes(r))&&s(n,r,o,e),n}),{}));return l(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(r,a){var l=t[a],u=o(e)?e[a]:void 0;return n&&i(n)&&n.forEach((function(e){l=e(u,l)})),void 0!==u&&o(l)&&(l=c(u,l,n)),s(r,a,l,t),r}),r)}t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,i=e;return o(e)&&e.extensions&&1===Object.keys(e).length&&(i={},r=e.extensions),t.reduce((function(e,t){return c(e,t,r)}),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)}},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,d=e;null!=d&&++c<u;){var p=l(t[c]),h=n;if(c!=f){var y=d[p];void 0===(h=s?s(y,p,d):void 0)&&(h=a(y)?y:i(t[c+1])?[]:{})}r(d,p,h),d=d[p]}return e}},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}},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)}},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++);}}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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)}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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 p(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},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&&f(e,t)}(v,e);var t,n,o,l,m=(t=v,function(){var e,n=h(t);if(p()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function v(){var e;return c(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,l=y(o,["prefixCls"]),c=n("radio-button",a);return e.context.radioGroup&&(l.checked=e.props.value===e.context.radioGroup.value,l.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,s({prefixCls:c},l))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&u(n.prototype,o),l&&u(n,l),v}(r.Component);m.contextTypes={radioGroup:o.any}},Kj3p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("kLXV")),o=f(n("W9HT")),i=f(n("5rEg")),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,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("k3Gp"),n("04bd"),n("1vPl");var l=n("q1tI"),s=f(l),c=n("spEH"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.authorityValBox,n=e.successFunc,f=e.cancelFunc,d=(0,l.useState)(void 0),p=a(d,2),h=p[0],y=p[1],m=(0,l.useState)(!1),v=a(m,2),g=v[0],b=v[1],O=(0,l.useState)(!1),w=a(O,2),x=w[0],C=w[1];return s.default.createElement(r.default,{visible:t,centered:!0,title:"授权",onCancel:function(){y(void 0),f()},onOk:function(){if(h){C(!0);u.default.get("/users/ci/oauth_grant.json",{params:{password:h}}).then((function(e){C(!1),e&&n(e.data.step)})).catch((function(e){C(!1)}))}else b(!0)}},s.default.createElement(o.default,{spinning:x},s.default.createElement("p",{style:{textAlign:"center"}},"请输入您的登录密码,确认授权DevOps应用"),s.default.createElement(c.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},s.default.createElement("span",null,"密码:"),s.default.createElement(i.default.Password,{value:h,className:!0===g&&"flags",onChange:function(e){return y(e.target.value)},style:{width:"220px"}}))))}},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)}},ME5O:function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},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 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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 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 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)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,p=o.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},p,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,d({onClick:t.onCancel,size:"small"},a),c||n.cancelText),r.createElement(l.default,d({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=b(o,["prefixCls","placement"]),f=n("popover",a),p=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,d({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:p,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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)}}])&&p(n.prototype,o),a&&p(n,a),O}(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},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("Gytx"),s=n.n(l),c=n("VCL8"),u=n("oOh1"),f=n("H84U");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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function c(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.options,f=o.buttonStyle,d=n("radio",i),p="".concat(d,"-group"),h=a()(p,"".concat(p,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(p,"-").concat(o.size),o.size),s),y=o.children;return c&&c.length>0&&(y=c.map((function(e){return"string"==typeof e?r.createElement(u.a,{key:e,prefixCls:d,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(u.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:d,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=b(e.children);n=o&&o.value}return t.state={value:n},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=b(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&p(n.prototype,o),i&&p(n,i),c}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(c.polyfill)(O),t.a=O},TAZq:function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,l,s,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},TZyB:function(e,t,n){},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)}},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),d=n("9Do8"),p=n.n(d),h=n("OFL0"),y=n.n(h),m=n("jo6Y"),v=n.n(m),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),x=n("fhzG"),C=n.n(x),E=n("aGtg"),S=n("oV5b"),k=n.n(S),j=n("2W6z"),F=n.n(j),P=n("mwIZ"),A=n.n(P),N=n("D1y2"),M=n.n(N),_=n("ljhN"),I=n.n(_),R=n("iCc5"),T=n.n(R),D=n("V7oC"),V=n.n(D),q=function e(t){T()(this,e),c()(this,t)};function B(e){return e instanceof q}function G(e){return B(e)?e:new q(e)}var z=n("2mql"),L=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,L()(e,t)}function W(e){return e}function Y(e){return Array.prototype.concat.apply([],e)}function U(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 F()(!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 X(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 Z(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 Q(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function K(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 U(e,(function(e,t){return B(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){T()(this,e),re.call(this),this.fields=te(t),this.fieldsMeta={}}return V()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return U(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):b()({},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,G(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,G(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,d=e.fieldDataProp,p=e.formPropName,h=void 0===p?"form":p,y=e.name,m=e.withRef;return function(e){var a=C()({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)):Q.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()(b()({},h,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(b()({},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,p=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(p.initialValue=r.initialValue);var h=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});u&&(h[u]=y?y+"_"+e:e);var m=X(s,o,l),v=Z(m);v.forEach((function(n){h[n]||(h[n]=t.getCacheBind(e,n,t.onCollectValidate))})),i&&-1===v.indexOf(i)&&(h[i]=this.getCacheBind(e,i,this.onCollect));var g=c()({},p,r,{validate:m});return this.fieldsStore.setFieldMeta(e,g),f&&(h[f]=g),d&&(h[d]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return Y(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()(b()({},h,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()(b()({},h,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(b()({},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={},d={},p={};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,d[t]=r}else e.errors&&M()(p,t,{errors:e.errors})})),this.setFields(d),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),r&&J(d))r(J(p)?null:p,this.fieldsStore.getFieldsValue(i));else{var h=new k.a(u);n&&h.messages(n),h.validate(f,s,(function(e){var t=c()({},p);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=A()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),A()(t,r.concat(".errors")).push(e)}));var n=[],a={};Object.keys(u).forEach((function(e){var r=A()(t,e),i=o.fieldsStore.getField(e);I()(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=K(e,t,n),l=a.names,s=a.options,c=K(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(),d=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}));d.length?("firstFields"in s||(s.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(d,{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=b()({},h,this.getForm());m?i.ref="wrappedComponent":n&&(i.ref=n);var a=l.call(this,c()({},i,r));return o.a.createElement(e,a)}});return H(Object(E.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=K(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(y()(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);p()(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"),de=n("CWQg"),pe=n("6CfX"),he=n("MFj2"),ye=n("qrJ5"),me=n("/kpp"),ve=n("CtXQ"),ge=n("foW8"),be=n.n(ge)()({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 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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?je(e):t}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fe(){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 Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(e){return function(e){if(Array.isArray(e))return Ne(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 Ne(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(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 Ne(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},_e=Object(de.a)("success","warning","error","validating","");Object(de.a)("left","right");var Ie=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&&Se(e,t)}(s,e);var t,n,o,i,a=(t=s,function(){var e,n=Pe(t);if(Fe()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ke(this,e)});function s(){var e;return Ce(this,s),(e=a.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(je(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),d=e.renderChildren(f),p=(xe(n={},"".concat(f,"-item"),!0),xe(n,"".concat(f,"-item-with-help"),e.helpShow),xe(n,"".concat(c),!!c),n);return r.createElement(ye.a,we({className:l()(p),style:s},Object(ue.a)(u,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,r=e.validateStatus,o=e.id;Object(pe.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(pe.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(Ae(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 a=o[i];(!a.type||a.type!==s&&"FormItem"!==a.type.displayName)&&a.props&&("data-__meta"in a.props?n.push(a):a.props.children&&(n=n.concat(this.getControls(a.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(he.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":i.hasFeedback||"validating"===s,"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(be.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(be.Provider,{value:{vertical:a}},r.createElement(me.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.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,d=u.labelCol,p=u.labelAlign,h=u.colon,y=u.id,m=u.htmlFor,v=t.isRequired(),g=("labelCol"in t.props?d:s)||{},b="labelAlign"in t.props?p:a,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),x=f,C=!0===h||!1!==c&&!1!==h;C&&!i&&"string"==typeof f&&""!==f.trim()&&(x=f.replace(/[::]\s*$/,""));var E=l()((xe(o={},"".concat(e,"-item-required"),v),xe(o,"".concat(e,"-item-no-colon"),!C),o));return f?r.createElement(me.a,we({},g,{className:w}),r.createElement("label",{htmlFor:m||y||t.getId(),className:E,title:"string"==typeof f?f:"",onClick:t.onLabelClick},x)):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)}}])&&Ee(n.prototype,o),i&&Ee(n,i),s}(r.Component);function Re(e){return(Re="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(){return(Te=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(e,t){return!t||"object"!==Re(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 Ge(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ie.defaultProps={hasFeedback:!1},Ie.propTypes={prefixCls:i.string,label:i.oneOfType([i.string,i.node]),labelCol:i.object,help:i.oneOfType([i.node,i.bool]),validateStatus:i.oneOf(_e),hasFeedback:i.bool,wrapperCol:i.object,className:i.string,id:i.string,children:i.node,colon:i.bool};var Le=Object(de.a)("horizontal","inline","vertical"),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&&qe(e,t)}(s,e);var t,n,o,i,a=(t=s,function(){var e,n=ze(t);if(Ge()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Be(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.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,d=o("form",a),p=l()(d,(De(n={},"".concat(d,"-horizontal"),"horizontal"===f),De(n,"".concat(d,"-vertical"),"vertical"===f),De(n,"".concat(d,"-inline"),"inline"===f),De(n,"".concat(d,"-hide-required-mark"),s),n),u),h=Object(ue.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Te({},h,{className:p}))},Object(pe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{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(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===i,colon:a}},r.createElement(fe.a,null,this.renderForm))}}])&&Ve(n.prototype,o),i&&Ve(n,i),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:i.string,layout:i.oneOf(Le),children:i.any,onSubmit:i.func,hideRequiredMark:i.bool,colon:i.bool},He.Item=Ie,He.createFormField=G,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Te(Te({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},Wwog:function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}t.a=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return a&&n===this&&t(r,i)||(o=e.apply(this,r),a=!0,n=this,i=r),o}}},"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)}},aJjT:function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,o=/: */g,i=/zoo|gra/,a=/([,: ])(transform)/g,l=/,+\s*(?![^(]*[)])/g,s=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,u=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,d=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,p=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,m=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,g=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,O=/\s{2,}/g,w=/([^\(])(:+) */g,x=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,j=/stretch|:\s*\w+\-(?:conte|avail)/,F=/([^-])(image-set\()/,P="-webkit-",A="-moz-",N="-ms-",M=59,_=125,I=123,R=40,T=41,D=10,V=13,q=32,B=45,G=42,z=44,L=58,H=47,W=1,Y=1,U=0,X=1,Z=1,Q=1,K=0,J=0,$=0,ee=[],te=[],ne=0,re=null,oe=0,ie=1,ae="",le="",se="";function ce(e,t,o,i,a){for(var l,s,u=0,f=0,d=0,p=0,v=0,g=0,b=0,O=0,x=0,E=0,S=0,k=0,j=0,F=0,A=0,N=0,K=0,te=0,re=0,fe=o.length,ve=fe-1,ge="",be="",Oe="",we="",xe="",Ce="";A<fe;){if(b=o.charCodeAt(A),A===ve&&f+p+d+u!==0&&(0!==f&&(b=f===H?D:H),p=d=u=0,fe++,ve++),f+p+d+u===0){if(A===ve&&(N>0&&(be=be.replace(r,"")),be.trim().length>0)){switch(b){case q:case 9:case M:case V:case D:break;default:be+=o.charAt(A)}b=M}if(1===K)switch(b){case I:case _:case M:case 34:case 39:case R:case T:case z:K=0;case 9:case V:case D:case q:break;default:for(K=0,re=A,v=b,A--,b=M;re<fe;)switch(o.charCodeAt(re++)){case D:case V:case M:++A,b=v,re=fe;break;case L:N>0&&(++A,b=v);case I:re=fe}}switch(b){case I:for(v=(be=be.trim()).charCodeAt(0),S=1,re=++A;A<fe;){switch(b=o.charCodeAt(A)){case I:S++;break;case _:S--;break;case H:switch(g=o.charCodeAt(A+1)){case G:case H:A=me(g,A,ve,o)}break;case 91:b++;case R:b++;case 34:case 39:for(;A++<ve&&o.charCodeAt(A)!==b;);}if(0===S)break;A++}switch(Oe=o.substring(re,A),0===v&&(v=(be=be.replace(n,"").trim()).charCodeAt(0)),v){case 64:switch(N>0&&(be=be.replace(r,"")),g=be.charCodeAt(1)){case 100:case 109:case 115:case B:l=t;break;default:l=ee}if(re=(Oe=ce(t,l,Oe,g,a+1)).length,$>0&&0===re&&(re=be.length),ne>0&&(s=ye(3,Oe,l=ue(ee,be,te),t,Y,W,re,g,a,i),be=l.join(""),void 0!==s&&0===(re=(Oe=s.trim()).length)&&(g=0,Oe="")),re>0)switch(g){case 115:be=be.replace(C,he);case 100:case 109:case B:Oe=be+"{"+Oe+"}";break;case 107:Oe=(be=be.replace(h,"$1 $2"+(ie>0?ae:"")))+"{"+Oe+"}",Oe=1===Z||2===Z&&pe("@"+Oe,3)?"@"+P+Oe+"@"+Oe:"@"+Oe;break;default:Oe=be+Oe,112===i&&(we+=Oe,Oe="")}else Oe="";break;default:Oe=ce(t,ue(t,be,te),Oe,i,a+1)}xe+=Oe,k=0,K=0,F=0,N=0,te=0,j=0,be="",Oe="",b=o.charCodeAt(++A);break;case _:case M:if((re=(be=(N>0?be.replace(r,""):be).trim()).length)>1)switch(0===F&&((v=be.charCodeAt(0))===B||v>96&&v<123)&&(re=(be=be.replace(" ",":")).length),ne>0&&void 0!==(s=ye(1,be,t,e,Y,W,we.length,i,a,i))&&0===(re=(be=s.trim()).length)&&(be="\0\0"),v=be.charCodeAt(0),g=be.charCodeAt(1),v){case 0:break;case 64:if(105===g||99===g){Ce+=be+o.charAt(A);break}default:if(be.charCodeAt(re-1)===L)break;we+=de(be,v,g,be.charCodeAt(2))}k=0,K=0,F=0,N=0,te=0,be="",b=o.charCodeAt(++A)}}switch(b){case V:case D:if(f+p+d+u+J===0)switch(E){case T:case 39:case 34:case 64:case 126:case 62:case G:case 43:case H:case B:case L:case z:case M:case I:case _:break;default:F>0&&(K=1)}f===H?f=0:X+k===0&&107!==i&&be.length>0&&(N=1,be+="\0"),ne*oe>0&&ye(0,be,t,e,Y,W,we.length,i,a,i),W=1,Y++;break;case M:case _:if(f+p+d+u===0){W++;break}default:switch(W++,ge=o.charAt(A),b){case 9:case q:if(p+u+f===0)switch(O){case z:case L:case 9:case q:ge="";break;default:b!==q&&(ge=" ")}break;case 0:ge="\\0";break;case 12:ge="\\f";break;case 11:ge="\\v";break;case 38:p+f+u===0&&X>0&&(te=1,N=1,ge="\f"+ge);break;case 108:if(p+f+u+U===0&&F>0)switch(A-F){case 2:112===O&&o.charCodeAt(A-3)===L&&(U=O);case 8:111===x&&(U=x)}break;case L:p+f+u===0&&(F=A);break;case z:f+d+p+u===0&&(N=1,ge+="\r");break;case 34:case 39:0===f&&(p=p===b?0:0===p?b:p);break;case 91:p+f+d===0&&u++;break;case 93:p+f+d===0&&u--;break;case T:p+f+u===0&&d--;break;case R:if(p+f+u===0){if(0===k)switch(2*O+3*x){case 533:break;default:S=0,k=1}d++}break;case 64:f+d+p+u+F+j===0&&(j=1);break;case G:case H:if(p+u+d>0)break;switch(f){case 0:switch(2*b+3*o.charCodeAt(A+1)){case 235:f=H;break;case 220:re=A,f=G}break;case G:b===H&&O===G&&re+2!==A&&(33===o.charCodeAt(re+2)&&(we+=o.substring(re,A+1)),ge="",f=0)}}if(0===f){if(X+p+u+j===0&&107!==i&&b!==M)switch(b){case z:case 126:case 62:case 43:case T:case R:if(0===k){switch(O){case 9:case q:case D:case V:ge+="\0";break;default:ge="\0"+ge+(b===z?"":"\0")}N=1}else switch(b){case R:F+7===A&&108===O&&(F=0),k=++S;break;case T:0==(k=--S)&&(N=1,ge+="\0")}break;case 9:case q:switch(O){case 0:case I:case _:case M:case z:case 12:case 9:case q:case D:case V:break;default:0===k&&(N=1,ge+="\0")}}be+=ge,b!==q&&9!==b&&(E=b)}}x=O,O=b,A++}if(re=we.length,$>0&&0===re&&0===xe.length&&0===t[0].length==0&&(109!==i||1===t.length&&(X>0?le:se)===t[0])&&(re=t.join(",").length+2),re>0){if(l=0===X&&107!==i?function(e){for(var t,n,o=0,i=e.length,a=Array(i);o<i;++o){for(var l=e[o].split(c),s="",u=0,f=0,d=0,p=0,h=l.length;u<h;++u)if(!(0===(f=(n=l[u]).length)&&h>1)){if(d=s.charCodeAt(s.length-1),p=n.charCodeAt(0),t="",0!==u)switch(d){case G:case 126:case 62:case 43:case q:case R:break;default:t=" "}switch(p){case 38:n=t+le;case 126:case 62:case 43:case q:case T:case R:break;case 91:n=t+n+le;break;case L:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(Q>0){n=t+n.substring(8,f-1);break}default:(u<1||l[u-1].length<1)&&(n=t+le+n)}break;case z:t="";default:n=f>1&&n.indexOf(":")>0?t+n.replace(w,"$1"+le+"$2"):t+n+le}s+=n}a[o]=s.replace(r,"").trim()}return a}(t):t,ne>0&&void 0!==(s=ye(2,we,l,e,Y,W,re,i,a,i))&&0===(we=s).length)return Ce+we+xe;if(we=l.join(",")+"{"+we+"}",Z*U!=0){switch(2!==Z||pe(we,2)||(U=0),U){case 111:we=we.replace(m,":-moz-$1")+we;break;case 112:we=we.replace(y,"::"+P+"input-$1")+we.replace(y,"::-moz-$1")+we.replace(y,":-ms-input-$1")+we}U=0}}return Ce+we+xe}function ue(e,t,n){var r=t.trim().split(u),o=r,i=r.length,a=e.length;switch(a){case 0:case 1:for(var l=0,s=0===a?"":e[0]+" ";l<i;++l)o[l]=fe(s,o[l],n,a).trim();break;default:l=0;var c=0;for(o=[];l<i;++l)for(var f=0;f<a;++f)o[c++]=fe(e[f]+" ",r[l],n,a).trim()}return o}function fe(e,t,n,r){var o=t,i=o.charCodeAt(0);switch(i<33&&(i=(o=o.trim()).charCodeAt(0)),i){case 38:switch(X+r){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(f,"$1"+e.trim())}break;case L:switch(o.charCodeAt(1)){case 103:if(Q>0&&X>0)return o.replace(d,"$1").replace(f,"$1"+se);break;default:return e.trim()+o.replace(f,"$1"+e.trim())}default:if(n*X>0&&o.indexOf("\f")>0)return o.replace(f,(e.charCodeAt(0)===L?"":"$1")+e.trim())}return e+o}function de(e,t,n,r){var c,u=0,f=e+";",d=2*t+3*n+4*r;if(944===d)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),o=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*ie){case 0:break;case B:if(110!==e.charCodeAt(10))break;default:var i=o.split((o="",l)),a=0;for(n=0,t=i.length;a<t;n=0,++a){for(var c=i[a],u=c.split(s);c=u[n];){var f=c.charCodeAt(0);if(1===ie&&(f>64&&f<90||f>96&&f<123||95===f||f===B&&c.charCodeAt(1)!==B))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=ae}}u[n++]=c}o+=(0===a?"":",")+u.join(" ")}}return o=r+o+";",1===Z||2===Z&&pe(o,1)?P+o+o:o}(f);if(0===Z||2===Z&&!pe(f,1))return f;switch(d){case 1015:return 97===f.charCodeAt(10)?P+f+f:f;case 951:return 116===f.charCodeAt(3)?P+f+f:f;case 963:return 110===f.charCodeAt(5)?P+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return P+f+f;case 978:return P+f+A+f+f;case 1019:case 983:return P+f+A+f+N+f+f;case 883:return f.charCodeAt(8)===B?P+f+f:f.indexOf("image-set(",11)>0?f.replace(F,"$1"+P+"$2")+f:f;case 932:if(f.charCodeAt(4)===B)switch(f.charCodeAt(5)){case 103:return P+"box-"+f.replace("-grow","")+P+f+N+f.replace("grow","positive")+f;case 115:return P+f+N+f.replace("shrink","negative")+f;case 98:return P+f+N+f.replace("basis","preferred-size")+f}return P+f+N+f+f;case 964:return P+f+N+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return c=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),P+"box-pack"+c+P+f+N+"flex-pack"+c+f;case 1005:return i.test(f)?f.replace(o,":"+P)+f.replace(o,":"+A)+f:f;case 1e3:switch(u=(c=f.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(u)){case 226:c=f.replace(x,"tb");break;case 232:c=f.replace(x,"tb-rl");break;case 220:c=f.replace(x,"lr");break;default:return f}return P+f+N+c+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(u=(f=e).length-10,d=(c=(33===f.charCodeAt(u)?f.substring(0,u):f).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:f=f.replace(c,P+c)+";"+f;break;case 207:case 102:f=f.replace(c,P+(d>102?"inline-":"")+"box")+";"+f.replace(c,P+c)+";"+f.replace(c,N+c+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===B)switch(f.charCodeAt(6)){case 105:return c=f.replace("-items",""),P+f+P+"box-"+c+N+"flex-"+c+f;case 115:return P+f+N+"flex-item-"+f.replace(S,"")+f;default:return P+f+N+"flex-line-pack"+f.replace("align-content","").replace(S,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==B||122===f.charCodeAt(4))break;case 931:case 953:if(!0===j.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?de(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):f.replace(c,P+c)+f.replace(c,A+c.replace("fill-",""))+f;break;case 962:if(f=P+f+(102===f.charCodeAt(5)?N+f:"")+f,n+r===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(a,"$1"+P+"$2")+f}return f}function pe(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),o=e.substring(n+1,e.length-1);return re(2!==t?r:r.replace(k,"$1"),o,t)}function he(e,t){var n=de(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function ye(e,t,n,r,o,i,a,l,s,c){for(var u,f=0,d=t;f<ne;++f)switch(u=te[f].call(ge,e,d,n,r,o,i,a,l,s,c)){case void 0:case!1:case!0:case null:break;default:d=u}if(d!==t)return d}function me(e,t,n,r){for(var o=t+1;o<n;++o)switch(r.charCodeAt(o)){case H:if(e===G&&r.charCodeAt(o-1)===G&&t+2!==o)return o+1;break;case D:if(e===H)return o+1}return o}function ve(e){for(var t in e){var n=e[t];switch(t){case"keyframe":ie=0|n;break;case"global":Q=0|n;break;case"cascade":X=0|n;break;case"compress":K=0|n;break;case"semicolon":J=0|n;break;case"preserve":$=0|n;break;case"prefix":re=null,n?"function"!=typeof n?Z=1:(Z=2,re=n):Z=0}}return ve}function ge(t,n){if(void 0!==this&&this.constructor===ge)return e(t);var o=t,i=o.charCodeAt(0);i<33&&(i=(o=o.trim()).charCodeAt(0)),ie>0&&(ae=o.replace(p,91===i?"":"-")),i=1,1===X?se=o:le=o;var a,l=[se];ne>0&&void 0!==(a=ye(-1,n,l,l,Y,W,0,0,0,0))&&"string"==typeof a&&(n=a);var s=ce(ee,l,n,0,0);return ne>0&&void 0!==(a=ye(-2,s,l,l,Y,W,s.length,0,0,0))&&"string"!=typeof(s=a)&&(i=0),ae="",se="",le="",U=0,Y=1,W=1,K*i==0?s:s.replace(r,"").replace(v,"").replace(g,"$1").replace(b,"$1").replace(O," ")}return ge.use=function e(t){switch(t){case void 0:case null:ne=te.length=0;break;default:if("function"==typeof t)te[ne++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else oe=0|!!t}return e},ge.set=ve,void 0!==t&&ve(t),ge}(null)},"aah+":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,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("2WkQ");var i=n("q1tI"),a=c(i);n("PA6o");var l=c(n("hqGi")),s=c(n("u7Al"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,i.useState)("dispose"),n=o(t,2),c=n[0],u=n[1];return a.default.createElement("div",null,a.default.createElement(r.default,{mode:"horizontal",className:"menuStyle",onClick:function(e){u(e.key)},selectedKeys:[c]},a.default.createElement(r.default.Item,{key:"dispose"},"服务器配置"),a.default.createElement(r.default.Item,{key:"list"},"项目列表")),"dispose"===c?a.default.createElement(l.default,e):a.default.createElement(s.default,e))}},b7wz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),o=s(n("9yH6")),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("L/Qf"),n("K4yd");var a=n("q1tI"),l=s(a);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.sureModal,n=(0,a.useState)(1),s=i(n,2),c=s[0],u=s[1];return l.default.createElement("div",{className:"mt30",style:{textAlign:"center"}},l.default.createElement(o.default.Group,{value:c,onChange:function(e){u(e.target.value)}},l.default.createElement(o.default,{value:1},"自有服务器"),l.default.createElement(o.default,{value:2},"Trustie服务器")),l.default.createElement("p",{className:"mt30"},l.default.createElement(r.default,{type:"primary",onClick:function(){return t(c)}},"下一步")))}},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)}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},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)},hqGi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("kLXV")),o=m(n("5rEg")),i=m(n("2/Rp")),a=m(n("Vl3Y")),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(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("k3Gp"),n("1vPl"),n("L/Qf"),n("tULf");var c=n("q1tI"),u=m(c),f=n("spEH"),d=m(n("vDqi")),p=m(n("Bahx")),h=m(n("Kj3p")),y=m(n("sL1r"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=a.default.create()((0,c.forwardRef)((function(e){var t=(0,c.useState)(void 0),n=s(t,2),m=n[0],v=n[1],g=(0,c.useState)(0),b=s(g,2),O=b[0],w=b[1],x=(0,c.useState)(!1),C=s(x,2),E=C[0],S=C[1],k=(0,c.useState)(!1),j=s(k,2),F=j[0],P=j[1],A=(0,c.useState)(!1),N=s(A,2),M=N[0],_=N[1],I=(0,c.useState)(!1),R=s(I,2),T=R[0],D=R[1],V=(0,c.useState)(!1),q=s(V,2),B=q[0],G=q[1],z=(0,c.useState)(!1),L=s(z,2),H=L[0],W=L[1],Y=e.user,U=e.form,X=U.getFieldDecorator,Z=U.validateFields,Q=U.setFieldsValue,K=(0,c.useCallback)((function(e,t,n,r,o){return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{className:o?"required":""},e),u.default.createElement(a.default.Item,null,X(t,{rules:n,validateFirst:!0})(r)))}),[]);function J(){d.default.get("/users/ci/cloud_account.json").then((function(e){e&&e.data&&(v(e.data.cloud_account),w(e.data.step),D(e.data.ci_certification))})).catch((function(e){console.log(e)}))}function $(){_(!1),Q({ip_num:void 0,secret:void 0,account:void 0})}return(0,c.useEffect)((function(){J()}),[]),u.default.createElement("div",{className:"disposeInfo"},u.default.createElement(y.default,{visible:F,SureBtn:function(e){if(1===e)P(!1),_(!0);else{d.default.post("/users/ci/cloud_account/trustie_bind.json",{account:Y&&Y.login}).then((function(e){e&&e.data&&(P(!1),W(!0),J())})).catch((function(e){P(!1)}))}},CancelBtn:function(){P(!1)}}),u.default.createElement(h.default,{authorityValBox:H,successFunc:function(){W(!1),J()},cancelFunc:function(){W(!1)}}),u.default.createElement(r.default,{className:"modalsStyle",visible:M,title:"绑定CI服务器地址",onCancel:$,closable:!0,centered:!0,footer:u.default.createElement("div",null,u.default.createElement(i.default,{onClick:$},"取消"),u.default.createElement(i.default,{loading:B,type:"primary",style:{marginLeft:"20px"},onClick:function(){Z((function(t,n){if(!t){G(!0);d.default.post("/users/ci/cloud_account/bind.json",l({},n)).then((function(t){G(!1),t&&t.data&&(_(!1),v(t.data.cloud_account),w(t.data.step),e.showNotification("服务器绑定成功!"))})).catch((function(e){G(!1)}))}}))}},"确定"))},u.default.createElement(a.default,{style:{marginTop:"20px"}},K("服务器IP地址:","ip_num",[{required:!0,message:"请输入服务器IP地址"}],u.default.createElement(o.default,{placeholder:"请输入服务器IP地址",style:{width:"368px"},size:"large"}),!0),K("服务器用户名:","account",[{required:!0,message:"请输入服务器用户名"}],u.default.createElement(o.default,{placeholder:"请输入服务器用户名",size:"large"}),!0),K("服务器密码:","secret",[{required:!0,message:"请输入服务器密码"}],u.default.createElement(o.default.Password,{placeholder:"请输入服务器密码",size:"large"}),!0))),u.default.createElement(p.default,{visible:E,title:"解除绑定",content:"解除CI服务器绑定后,您所有的项目构建数据将被清空。确定解除绑定?",onOk:function(){d.default.delete("/users/ci/cloud_account/unbind.json").then((function(t){t&&t.data&&(e.showNotification("成功解除绑定!"),S(!1),J())})).catch((function(e){_(!1)}))},onCancel:function(){S(!1)}}),u.default.createElement("div",{className:"disposeItem"},u.default.createElement(f.AlignCenter,null,u.default.createElement("span",null,"CI服务器地址"),m&&O>=1&&u.default.createElement("span",{className:"ml10"},m.ip),0===O&&u.default.createElement("span",{className:"ml10 authTag red"},"未绑定"),1===O&&!T&&u.default.createElement("span",{className:"ml10 authTag red"},"未认证"),T&&u.default.createElement("span",{className:"ml10 authTag green"},"已认证")),u.default.createElement(f.AlignCenter,null,0===O&&u.default.createElement(i.default,{type:"primary",onClick:function(){return P(!0)}},"马上绑定"),1===O&&!T&&u.default.createElement(i.default,{type:"primary",style:{color:"#fff"},onClick:function(){return W(!0)},target:"_blank"},"马上认证"),O>=1&&u.default.createElement(i.default,{type:"danger",className:"ml20",onClick:function(){return S(!0)}},"解除绑定"))))})))},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)}},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")),d=v(n("rjwK")),p=v(n("L2wI")),h=v(n("myOp")),y=v(n("UeuU")),m=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:d.default,pattern:p.default,date:h.default,url:m.default,hex:m.default,email:m.default,required:y.default}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},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,d="string"==typeof t,p=Array.isArray(t);if(f?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),d&&(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))}},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=p(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]=p(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;g.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 d=l.hasOwnProperty(a);if("function"==typeof s&&!d&&!f&&!1!==n.autobind)o.push(a,s),r[a]=s;else if(f){var y=l[a];i(d&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?r[a]=p(r[a],s):"DEFINE_MANY"===y&&(r[a]=h(r[a],s))}else r[a]=s}}}else;}function d(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 p(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 d(o,n),d(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}var m={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),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]=y(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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(f.bind(null,t)),f(t,m),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}}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},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))}}},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)}},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))}}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),l=n.n(a),s=n("Gytx"),c=n.n(s),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 d(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)}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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 b(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},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&&m(e,t)}(f,e);var t,n,o,a,s=(t=f,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=g(e),s=a.props,c=a.context,u=s.prefixCls,f=s.className,h=s.children,y=s.style,m=w(s,["prefixCls","className","children","style"]),v=c.radioGroup,b=o("radio",u),O=p({},m);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=s.value===v.value,O.disabled=s.disabled||v.disabled);var x=l()(f,(d(n={},"".concat(b,"-wrapper"),!0),d(n,"".concat(b,"-wrapper-checked"),O.checked),d(n,"".concat(b,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:x,style:y,onMouseEnter:s.onMouseEnter,onMouseLeave:s.onMouseLeave},r.createElement(i.a,p({},O,{prefixCls:b,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderRadio)}}])&&y(n.prototype,o),a&&y(n,a),f}(r.Component);x.defaultProps={type:"radio"},x.contextTypes={radioGroup:o.any}},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 d(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 p=this.messages();p===c.messages&&(p=(0,c.newMessages)()),(0,a.deepMerge)(p,s.messages),s.messages=p}else s.messages=this.messages();var h=void 0,y=void 0,m={},v=s.keys||Object.keys(this.rules);v.forEach((function(n){h=t.rules[n],y=l[n],h.forEach((function(r){var i=r;"function"==typeof i.transform&&(l===e&&(l=o({},l)),y=l[n]=i.transform(y)),(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&&(m[n]=m[n]||[],m[n].push({rule:i,value:y,source:l,field:n}))}))}));var g={};return(0,a.asyncMap)(m,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 g[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 d in e.value)e.value.hasOwnProperty(d)&&(f[d]=n.defaultField);for(var p in f=o({},f,e.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(l.bind(null,p))}var y=new u(f);y.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),y.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){d(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},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));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 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)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),r=n("jpXb")}var p=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},y=[],m=-1,v={},g={dispatch:function(e){return v=e,!(y.length<1)&&(y.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===y.length&&this.register();var t=(++m).toString();return y.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(y=y.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return r.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return r.register(h[t],{match:function(){var n=d(d({},v),f({},t,!0));e.dispatch(n)},unmatch:function(){var n=d(d({},v),f({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};function b(e){return(b="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 x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==b(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(){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 j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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},P=Object(u.a)("top","middle","bottom","stretch"),A=Object(u.a)("start","end","center","space-around","space-between"),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&&E(e,t)}(u,e);var t,n,r,i,l=(t=u,function(){var e,n=j(t);if(k()){var r=j(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function u(){var e;return x(this,u),(e=l.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,d=i.className,p=i.style,h=i.children,y=F(i,["prefixCls","type","justify","align","className","style","children"]),m=r("row",l),v=e.getGutter(),g=a()((w(n={},m,!s),w(n,"".concat(m,"-").concat(s),s),w(n,"".concat(m,"-").concat(s,"-").concat(u),s&&u),w(n,"".concat(m,"-").concat(s,"-").concat(f),s&&f),n),d),b=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}:{}),p),x=O({},y);return delete x.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",O({},x,{className:g,style:b}),h))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<p.length;o++){var i=p[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)}}])&&C(n.prototype,r),i&&C(n,i),u}(o.Component);N.defaultProps={gutter:0},N.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(A),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)}},sL1r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("kLXV"));n("k3Gp");var o=a(n("q1tI")),i=a(n("b7wz"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.SureBtn,a=e.CancelBtn;return o.default.createElement(r.default,{title:"请选择服务器类型",centered:!0,visible:t,footer:!1,onCancel:a},o.default.createElement(i.default,{sureModal:function(e){n(e)}}))}},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=S(["{\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=S(["{\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=S(["{\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=S(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=S(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),c=S(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=S(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=S(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),d=S(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),p=S(["{\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=S(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),y=S(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=S(["{\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}"]),v=S(["{\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}"]),g=S(["{\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}"]),b=S(["{\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}"]),O=S(["{\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}"]),w=S(["{\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}"]),x=S(["{\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("vOnD"),E=(r=C)&&r.__esModule?r:{default:r};function S(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=E.default.div(o),t.AlignCenterBetween=E.default.div(i),t.FlexAJ=E.default.div(a),t.AlignCenter=E.default.div(l),t.Box=E.default.div(s),t.Long=E.default.div(c),t.Short=E.default.div(u),t.Gap=E.default.div(f),t.WhiteBack=E.default.div(d),t.Blueline=E.default.a(p),t.Redline=E.default.a(h),t.Greenline=E.default.a(y),t.Greenback=E.default.a(m),t.Blueback=E.default.a(v),t.Redback=E.default.a(g),t.NumUl=E.default.ul(b),t.GreenUnder=E.default.a(O),t.Cancel=E.default.a(w),t.Content=E.default.div(x)},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},u7Al:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),o=p(n("NUBc")),i=p(n("NJEC")),a=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=[],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("04bd"),n("YQTV"),n("k994"),n("L/Qf");var s=n("q1tI"),c=p(s),u=n("eO8H"),f=p(n("2CTR")),d=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,s.useState)(1),n=l(t,2),p=n[0],h=n[1],y=(0,s.useState)(0),m=l(y,2),v=m[0],g=m[1],b=(0,s.useState)(!0),O=l(b,2),w=O[0],x=O[1],C=(0,s.useState)(void 0),E=l(C,2),S=E[0],k=E[1],j=e.current_user;function F(){var e="/users/"+j.login+"/projects.json";d.default.get(e,{params:{limit:10,page:p,category:"manage"}}).then((function(e){e&&e.data&&(k(e.data.projects),g(e.data.count),x(!1))})).catch((function(e){console.log(e)}))}return(0,s.useEffect)((function(){x(!0),j&&j.login&&F()}),[j,p]),c.default.createElement("div",{style:{minHeight:"400px"}},c.default.createElement(r.default,{spinning:w},S&&S.length>0?c.default.createElement("ul",{className:"CIList"},S.map((function(t,n){return c.default.createElement("li",{key:n},c.default.createElement("span",null,c.default.createElement(u.Link,{to:"/projects/"+(t.author&&t.author.login)+"/"+t.identifier+(t.open_devops?"/devops/list":"")},t.name),t.open_devops?c.default.createElement("span",{className:"authTag green ml20"},"已激活"):c.default.createElement("span",{className:"authTag red ml20"},"未激活")),t.open_devops?c.default.createElement(i.default,{title:"确定取消激活?",onConfirm:function(){return function(e,t){x(!0);var n="/"+(e&&e.login)+"/"+t+"/deactivate.json";d.default.delete(n).then((function(e){e?F():x(!1)})).catch((function(e){x(!1)}))}(t.author,t.identifier)},okText:"确定",cancelText:"取消"},c.default.createElement(a.default,null,"取消激活")):c.default.createElement(a.default,{type:"primary",onClick:function(){e.history.push("/projects/"+(t.author&&t.author.login)+"/"+t.identifier+"/devops")}},"马上激活"))}))):c.default.createElement(f.default,{_html:"暂无数据"}),v>10&&c.default.createElement("div",{className:"mt20 mb30",style:{textAlign:"center"}},c.default.createElement(o.default,{simple:!0,onChange:function(e){h(e)},pageSize:10,current:p,total:v}))))}},vOnD:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"createGlobalStyle",(function(){return nt})),n.d(t,"css",(function(){return be})),n.d(t,"isStyledComponent",(function(){return k})),n.d(t,"keyframes",(function(){return ot})),n.d(t,"ServerStyleSheet",(function(){return Ue})),n.d(t,"StyleSheetConsumer",(function(){return Ze})),n.d(t,"StyleSheetContext",(function(){return Xe})),n.d(t,"StyleSheetManager",(function(){return Qe})),n.d(t,"ThemeConsumer",(function(){return We})),n.d(t,"ThemeContext",(function(){return He})),n.d(t,"ThemeProvider",(function(){return Ye})),n.d(t,"withTheme",(function(){return it})),n.d(t,"__DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS",(function(){return at}));var r=n("aJjT"),o=n.n(r),i=n("TAZq"),a=n.n(i),l=n("q1tI"),s=n.n(l),c=n("ME5O"),u=n("TOwV"),f=n("Wwog"),d=(n("17x9"),n("9uj6")),p=n("ECyS"),h=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},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},m=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},v=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}}(),g=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},b=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)},O=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},w=function(e){return"object"===(void 0===e?"undefined":y(e))&&e.constructor===Object},x=Object.freeze([]),C=Object.freeze({});function E(e){return"function"==typeof e}function S(e){return e.displayName||e.name||"Component"}function k(e){return e&&"string"==typeof e.styledComponentId}var j=void 0!==e&&(Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).SC_ATTR)||"data-styled",F="undefined"!=typeof window&&"HTMLElement"in window,P="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==e&&(Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).REACT_APP_SC_DISABLE_SPEEDY||Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).SC_DISABLE_SPEEDY)||!1,A={};var N=function(e){function t(n){m(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=O(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return O(a)}return b(t,e),t}(Error),M=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,_=function(e){var t=""+(e||""),n=[];return t.replace(M,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var o=e.componentId,i=e.matchIndex,a=n[r+1];return{componentId:o,cssFromDOM:a?t.slice(i,a.matchIndex):t.slice(i)}}))},I=/^\s*\/\/.*$/gm,R=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),T=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),D=[],V=function(e){if(-2===e){var t=D;return D=[],t}},q=a()((function(e){D.push(e)})),B=void 0,G=void 0,z=void 0,L=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(G)&&n.slice(t-G.length,t)!==G?"."+B:e};T.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(G)>0&&(n[0]=n[0].replace(z,L))},q,V]),R.use([q,V]);var H=function(e){return R("",e)};function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(I,""),i=t&&n?n+" "+t+" { "+o+" }":o;return B=r,G=t,z=new RegExp("\\"+G+"\\b","g"),T(n||!t?"":t,i)}var Y=function(){return n.nc},U=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},X=function(e,t){e[t]=Object.create(null)},Z=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},Q=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},K=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n<t;n+=1){var r=e.ownerDocument.styleSheets[n];if(r.ownerNode===e)return r}throw new N(10)},J=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(e){return!1}return!0},$=function(e){return"\n/* sc-component-id: "+e+" */\n"},ee=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},te=function(e,t){return function(n){var r=Y();return"<style "+[r&&'nonce="'+r+'"',j+'="'+Q(t)+'"','data-styled-version="4.4.1"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},ne=function(e,t){return function(){var n,r=((n={})[j]=Q(t),n["data-styled-version"]="4.4.1",n),o=Y();return o&&(r.nonce=o),s.a.createElement("style",g({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},re=function(e){return function(){return Object.keys(e)}},oe=function(e,t){return e.createTextNode($(t))},ie=function e(t,n){var r=void 0===t?Object.create(null):t,o=void 0===n?Object.create(null):n,i=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},a=function(){var e="";for(var t in o){var n=o[t][0];n&&(e+=$(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=g({},e[n]);return t}(r),n=Object.create(null);for(var i in o)n[i]=[o[i][0]];return e(t,n)},css:a,getIds:re(o),hasNameForId:Z(r),insertMarker:i,insertRules:function(e,t,n){i(e)[0]+=t.join(" "),U(r,e,n)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",X(r,e))},sealed:!1,styleTag:null,toElement:ne(a,r),toHTML:te(a,r)}},ae=function(e,t,n,r,o){if(F&&!n){var i=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var o=r.createElement("style");o.setAttribute(j,""),o.setAttribute("data-styled-version","4.4.1");var i=Y();if(i&&o.setAttribute("nonce",i),o.appendChild(r.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new N(6);t.parentNode.insertBefore(o,n?t:t.nextSibling)}return o}(e,t,r);return P?function(e,t){var n=Object.create(null),r=Object.create(null),o=void 0!==t,i=!1,a=function(t){var o=r[t];return void 0!==o?o:(r[t]=oe(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},l=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new N(5)},css:l,getIds:re(r),hasNameForId:Z(n),insertMarker:a,insertRules:function(e,r,l){for(var s=a(e),c=[],u=r.length,f=0;f<u;f+=1){var d=r[f],p=o;if(p&&-1!==d.indexOf("@import"))c.push(d);else{p=!1;var h=f===u-1?"":" ";s.appendData(""+d+h)}}U(n,e,l),o&&c.length>0&&(i=!0,t().insertRules(e+"-import",c))},removeRules:function(a){var l=r[a];if(void 0!==l){var s=oe(e.ownerDocument,a);e.replaceChild(s,l),r[a]=s,X(n,a),o&&i&&t().removeRules(a+"-import")}},sealed:!1,styleTag:e,toElement:ne(l,n),toHTML:te(l,n)}}(i,o):function(e,t){var n=Object.create(null),r=Object.create(null),o=[],i=void 0!==t,a=!1,l=function(e){var t=r[e];return void 0!==t?t:(r[e]=o.length,o.push(0),X(n,e),r[e])},s=function(){var t=K(e).cssRules,n="";for(var i in r){n+=$(i);for(var a=r[i],l=ee(o,a),s=l-o[a];s<l;s+=1){var c=t[s];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new N(5)},css:s,getIds:re(r),hasNameForId:Z(n),insertMarker:l,insertRules:function(r,s,c){for(var u=l(r),f=K(e),d=ee(o,u),p=0,h=[],y=s.length,m=0;m<y;m+=1){var v=s[m],g=i;g&&-1!==v.indexOf("@import")?h.push(v):J(f,v,d+p)&&(g=!1,p+=1)}i&&h.length>0&&(a=!0,t().insertRules(r+"-import",h)),o[u]+=p,U(n,r,c)},removeRules:function(l){var s=r[l];if(void 0!==s&&!1!==e.isConnected){var c=o[s];!function(e,t,n){for(var r=t-n,o=t;o>r;o-=1)e.deleteRule(o)}(K(e),ee(o,s)-1,c),o[s]=0,X(n,l),i&&a&&t().removeRules(l+"-import")}},sealed:!1,styleTag:e,toElement:ne(s,n),toHTML:te(s,n)}}(i,o)}return ie()},le=/\s+/,se=void 0;se=F?P?40:1e3:-1;var ce=0,ue=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ae(t.target,n?n.styleTag:null,t.forceServer,!0)},ce+=1,this.id=ce,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!F||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+j+'][data-styled-version="4.4.1"]'),o=r.length;if(!o)return this;for(var i=0;i<o;i+=1){var a=r[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var l,s=(a.getAttribute(j)||"").trim().split(le),c=s.length,u=0;u<c;u+=1)l=s[u],this.rehydratedNames[l]=!0;t.push.apply(t,_(a.textContent)),e.push(a)}var f=t.length;if(!f)return this;var d=this.makeTag(null);!function(e,t,n){for(var r=0,o=n.length;r<o;r+=1){var i=n[r],a=i.componentId,l=i.cssFromDOM,s=H(l);e.insertRules(a,s)}for(var c=0,u=t.length;c<u;c+=1){var f=t[c];f.parentNode&&f.parentNode.removeChild(f)}}(d,e,t),this.capacity=Math.max(1,se-f),this.tags.push(d);for(var p=0;p<f;p+=1)this.tagMap[t[p].componentId]=d;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ue=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),o=0;o<n.length;o+=1)t.tagMap[n[o]]=r;return r})),t.rehydratedNames=g({},this.rehydratedNames),t.deferred=g({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ae(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=se,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(e,t,n);var i=this.getTagForId(e);if(void 0!==this.deferred[e]){var a=this.deferred[e].concat(t);i.insertRules(e,a,n),this.deferred[e]=void 0}else i.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var r="sc-"+e+"-"+n;return Object(l.cloneElement)(t.toElement(),{key:r})}))},v(e,null,[{key:"master",get:function(){return ue||(ue=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),de=function(){function e(t,n){var r=this;m(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new N(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),pe=/([A-Z])/g,he=/^ms-/;function ye(e){return e.replace(pe,"-$1").toLowerCase().replace(he,"-ms-")}var me=function(e){return null==e||!1===e||""===e},ve=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!me(t[n])){if(w(t[n]))return r.push.apply(r,e(t[n],n)),r;if(E(t[n]))return r.push(ye(n)+":",t[n],";"),r;r.push(ye(n)+": "+(o=n,(null==(i=t[n])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||o in c.a?String(i).trim():i+"px")+";"))}var o,i;return r})),n?[n+" {"].concat(r,["}"]):r};function ge(e,t,n){if(Array.isArray(e)){for(var r,o=[],i=0,a=e.length;i<a;i+=1)null!==(r=ge(e[i],t,n))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return me(e)?null:k(e)?"."+e.styledComponentId:E(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ge(e(t),t,n):e instanceof de?n?(e.inject(n),e.getName()):e:w(e)?ve(e):e.toString();var l}function be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||w(e)?ge(h(x,[e].concat(n))):ge(h(e,n))}function Oe(e){for(var t,n=0|e.length,r=0|n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var we=function(e){return String.fromCharCode(e+(e>25?39:97))};function xe(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=we(n%52)+t;return we(n%52)+t}function Ce(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!Ce(r,t))return!1;if(E(r)&&!k(r))return!1}return!t.some((function(e){return E(e)||function(e){for(var t in e)if(E(e[t]))return!0;return!1}(e)}))}var Ee,Se=function(e){return xe(Oe(e))},ke=function(){function e(t,n,r){m(this,e),this.rules=t,this.isStatic=Ce(t,n),this.componentId=r,fe.master.hasId(r)||fe.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(F&&n&&"string"==typeof o&&t.hasNameForId(r,o))return o;var i=ge(this.rules,e,t),a=Se(this.componentId+i.join(""));return t.hasNameForId(r,a)||t.inject(this.componentId,W(i,"."+a,void 0,r),a),this.lastClassName=a,a},e.generateName=function(e){return Se(e)},e}(),je=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,r=!!n&&e.theme===n.theme,o=e.theme&&!r?e.theme:t||n.theme;return o},Fe=/[[\].#*$><+~=|^:(),"'`-]+/g,Pe=/(^-|-$)/g;function Ae(e){return e.replace(Fe,"-").replace(Pe,"")}function Ne(e){return"string"==typeof e&&!0}var Me={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},_e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ie=((Ee={})[u.ForwardRef]={$$typeof:!0,render:!0},Ee),Re=Object.defineProperty,Te=Object.getOwnPropertyNames,De=Object.getOwnPropertySymbols,Ve=void 0===De?function(){return[]}:De,qe=Object.getOwnPropertyDescriptor,Be=Object.getPrototypeOf,Ge=Object.prototype,ze=Array.prototype;function Le(e,t,n){if("string"!=typeof t){var r=Be(t);r&&r!==Ge&&Le(e,r,n);for(var o=ze.concat(Te(t),Ve(t)),i=Ie[e.$$typeof]||Me,a=Ie[t.$$typeof]||Me,l=o.length,s=void 0,c=void 0;l--;)if(c=o[l],!(_e[c]||n&&n[c]||a&&a[c]||i&&i[c])&&(s=qe(t,c)))try{Re(e,c,s)}catch(e){}return e}return e}var He=Object(l.createContext)(),We=He.Consumer,Ye=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return b(t,e),t.prototype.render=function(){return this.props.children?s.a.createElement(He.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return s.a.createElement(He.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(E(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":y(e)))throw new N(8);return g({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)},t}(l.Component),Ue=function(){function e(){m(this,e),this.masterSheet=fe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new N(2);return s.a.createElement(Qe,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new N(3)},e}(),Xe=Object(l.createContext)(),Ze=Xe.Consumer,Qe=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext),r}return b(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new fe(t);throw new N(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return s.a.createElement(Xe.Provider,{value:this.getContext(n,r)},t)},t}(l.Component),Ke={};var Je=function(e){function t(){m(this,t);var n=O(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return b(t,e),t.prototype.render=function(){return s.a.createElement(Ze,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():s.a.createElement(We,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,o=(t.displayName,t.foldedComponentIds),i=t.styledComponentId,a=t.target,s=void 0;s=n.isStatic?this.generateAndInjectStyles(C,this.props):this.generateAndInjectStyles(je(this.props,e,r)||C,this.props);var c=this.props.as||this.attrs.as||a,u=Ne(c),f={},p=g({},this.props,this.attrs),h=void 0;for(h in p)"forwardedComponent"!==h&&"as"!==h&&("forwardedRef"===h?f.ref=p[h]:"forwardedAs"===h?f.as=p[h]:u&&!Object(d.a)(h)||(f[h]=p[h]));return this.props.style&&this.attrs.style&&(f.style=g({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(o,i,s!==i?s:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(l.createElement)(c,f)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,o=g({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,i=!1,a=void 0,l=void 0;for(l in E(n)&&(n=n(o),i=!0),n)a=n[l],i||!E(a)||(t=a)&&t.prototype&&t.prototype.isReactComponent||k(a)||(a=a(o)),r.attrs[l]=a,o[l]=a})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,o=n.componentStyle;n.warnTooManyClasses;return o.isStatic&&!r.length?o.generateAndInjectStyles(C,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(l.Component);function $e(e,t,n){var r=k(e),o=!Ne(e),i=t.displayName,a=void 0===i?function(e){return Ne(e)?"styled."+e:"Styled("+S(e)+")"}(e):i,l=t.componentId,c=void 0===l?function(e,t,n){var r="string"!=typeof t?"sc":Ae(t),o=(Ke[r]||0)+1;Ke[r]=o;var i=r+"-"+e.generateName(r+o);return n?n+"-"+i:i}(ke,t.displayName,t.parentComponentId):l,u=t.ParentComponent,f=void 0===u?Je:u,d=t.attrs,h=void 0===d?x:d,y=t.displayName&&t.componentId?Ae(t.displayName)+"-"+t.componentId:t.componentId||c,m=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,v=new ke(r?e.componentStyle.rules.concat(n):n,m,y),b=void 0,O=function(e,t){return s.a.createElement(f,g({},e,{forwardedComponent:b,forwardedRef:t}))};return O.displayName=a,(b=s.a.forwardRef(O)).displayName=a,b.attrs=m,b.componentStyle=v,b.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):x,b.styledComponentId=y,b.target=r?e.target:e,b.withComponent=function(e){var r=t.componentId,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["componentId"]),i=r&&r+"-"+(Ne(e)?e:Ae(S(e)));return $e(e,g({},o,{attrs:m,componentId:i,ParentComponent:f}),n)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(p.a)(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Le(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var et=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;if(!Object(u.isValidElementType)(n))throw new N(1,String(n));var o=function(){return t(n,r,be.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,g({},r,o))},o.attrs=function(o){return e(t,n,g({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}($e,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){et[e]=et(e)}));var tt=function(){function e(t,n){m(this,e),this.rules=t,this.componentId=n,this.isStatic=Ce(t,x),fe.master.hasId(n)||fe.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=W(ge(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();function nt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)),i="sc-global-"+Oe(JSON.stringify(o)),a=new tt(o,i),l=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n)),o=r.constructor,i=o.globalStyle,a=o.styledComponentId;return F&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),r.state={globalStyle:i,styledComponentId:a},r}return b(t,e),t.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},t.prototype.render=function(){var e=this;return s.a.createElement(Ze,null,(function(t){e.styleSheet=t||fe.master;var n=e.state.globalStyle;return n.isStatic?(n.renderStyles(A,e.styleSheet),null):s.a.createElement(We,null,(function(t){var r=e.constructor.defaultProps,o=g({},e.props);return void 0!==t&&(o.theme=je(e.props,t,r)),n.renderStyles(o,e.styleSheet),null}))}))},t}(s.a.Component);return l.globalStyle=a,l.styledComponentId=i,l}F&&(window.scCGSHMRCache={});var rt=function(e){return e.replace(/\s|\\n/g,"")};function ot(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)),i=xe(Oe(rt(JSON.stringify(o))));return new de(i,W(o,i,"@keyframes"))}var it=function(e){var t=s.a.forwardRef((function(t,n){return s.a.createElement(We,null,(function(r){var o=e.defaultProps,i=je(t,r,o);return s.a.createElement(e,g({},t,{theme:i,ref:n}))}))}));return Le(t,e),t.displayName="WithTheme("+S(e)+")",t},at={StyleSheet:fe};t.default=et}.call(this,n("KCCg"))},"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},vXNv:function(e,t,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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),d=n.n(f),p=n("q1tI"),h=n.n(p),y=n("17x9"),m=n.n(y),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return d()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,d=t.tabIndex,p=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,b=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=g()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=u,e));return h.a.createElement("span",{className:C,style:i},h.a.createElement("input",a()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:d,className:n+"-input",checked:!!x,onClick:p,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},w)),h.a.createElement("span",{className:n+"-inner"}))},t}(p.Component);O.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(O);var w=O;t.a=w},"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)}}}]); \ No newline at end of file +/*! For license information please see 32.2dd9b86a.chunk.js.LICENSE.txt */ +(this.webpackJsonp=this.webpackJsonp||[]).push([[32,4,5,6,9],{"+B/L":function(e,t,n){},"+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 d=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,d):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,d)}))}));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 d(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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 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 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&&h(e,t)}(w,e);var t,n,o,i,O=(t=w,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function w(){var e;return d(this,w),(e=O.apply(this,arguments)).renderCol=function(t){var n,o=t.getPrefixCls,i=m(e).props,s=i.prefixCls,d=i.span,p=i.order,h=i.offset,y=i.push,v=i.pull,g=i.className,O=i.children,w=b(i,["prefixCls","span","order","offset","push","pull","className","children"]),x=o("col",s),C={};["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],C=u(u({},C),(c(t={},"".concat(x,"-").concat(e,"-").concat(n.span),void 0!==n.span),c(t,"".concat(x,"-").concat(e,"-order-").concat(n.order),n.order||0===n.order),c(t,"".concat(x,"-").concat(e,"-offset-").concat(n.offset),n.offset||0===n.offset),c(t,"".concat(x,"-").concat(e,"-push-").concat(n.push),n.push||0===n.push),c(t,"".concat(x,"-").concat(e,"-pull-").concat(n.pull),n.pull||0===n.pull),t))}));var E=a()(x,(c(n={},"".concat(x,"-").concat(d),void 0!==d),c(n,"".concat(x,"-order-").concat(p),p),c(n,"".concat(x,"-offset-").concat(h),h),c(n,"".concat(x,"-push-").concat(y),y),c(n,"".concat(x,"-pull-").concat(v),v),n),g,C);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:E}),O)}))},e}return n=w,(o=[{key:"render",value:function(){return r.createElement(s.a,null,this.renderCol)}}])&&p(n.prototype,o),i&&p(n,i),w}(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}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=l(o),a=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"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")},"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,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);f&&(a=a.concat(f(n)));for(var l=s(t),y=s(n),m=0;m<a.length;++m){var v=a[m];if(!(i[v]||r&&r[v]||y&&y[v]||l&&l[v])){var g=d(n,v);try{c(t,v,g)}catch(e){}}}}return t}},"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 d=s(t[c]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++c!=u?f:!!(u=null==e?0:e.length)&&l(u)&&a(d,u)&&(i(e)||o(e))}},"4t1q":function(e,t,n){"use strict";n("SchZ"),n("TZyB")},"9uj6":function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=o},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var i=n("KNH7");n.d(t,"Button",(function(){return i.a})),r.a.Button=i.a,r.a.Group=o.a,t.default=r.a},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))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},Bahx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("kLXV")),o=a(n("2/Rp"));n("k3Gp"),n("L/Qf");var i=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.visible,n=e.title,a=e.content,l=e.onOk,s=e.onCancel;return i.default.createElement(r.default,{className:"modalsStyle",visible:t,title:n,onCancel:s,closable:!0,footer:i.default.createElement("div",null,i.default.createElement(o.default,{onClick:s},"取消"),i.default.createElement(o.default,{type:"primary",style:{marginLeft:"20px"},onClick:l},"确定"))},i.default.createElement("div",{style:{fontSize:"16px"}},a))}},BvKs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Be}));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),d=f()({inlineCollapsed:!1});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 y(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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 b(){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 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)}(c,e);var t,n,i,l,s=(t=c,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return y(this,c),(e=s.apply(this,arguments)).onKeyDown=function(t){e.subMenu.onKeyDown(t)},e.saveSubMenu=function(t){e.subMenu=t},e}return n=c,(i=[{key:"render",value:function(){var e=this,t=this.props,n=t.rootPrefixCls,i=t.popupClassName;return r.createElement(d.Consumer,null,(function(t){var l=t.antdMenuTheme;return r.createElement(o.d,h({},e.props,{ref:e.saveSubMenu,popupClassName:a()("".concat(n,"-").concat(l),i)}))}))}}])&&m(n.prototype,i),l&&m(n,l),c}(r.Component);w.contextTypes={antdMenuTheme:c.string},w.isSubMenu=1;var x=w,C=n("3S7+"),E=n("H84U");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 k(e){return function(e){if(Array.isArray(e))return j(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 j(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(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 j(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 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){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 N(e,t,n){return t&&A(e.prototype,t),n&&A(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&&_(e,t)}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){return function(){var t,n=D(e);if(T()){var r=D(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return R(this,t)}}function R(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(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},q=f()({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function B(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=I(a);function a(){var o;return P(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,F({prefixCls:s,tagName:n},o.props))},o}return N(a,[{key:"render",value:function(){return r.createElement(E.a,null,this.renderComponent)}}]),a}(r.Component)).displayName=o,i}}var G=function(e){var t=e.prefixCls,n=e.className,o=e.children,i=e.tagName,l=V(e,["prefixCls","className","children","tagName"]),s=a()(n,t);return r.createElement(i,F({className:s},l),o)},z=function(e){M(n,e);var t=I(n);function n(){var e;return P(this,n),(e=t.apply(this,arguments)).state={siders:[]},e}return N(n,[{key:"getSiderHook",value:function(){var e=this;return{addSider:function(t){e.setState((function(e){return{siders:[].concat(k(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=V(o,["prefixCls","className","children","hasSider","tagName"]),d=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(q.Provider,{value:{siderHook:this.getSiderHook()}},r.createElement(u,F({className:d},f),s))}}]),n}(r.Component),L=B({suffixCls:"layout",tagName:"section",displayName:"Layout"})(z),H=B({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(G),W=B({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(G),Y=B({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(G);L.Header=H,L.Footer=W,L.Content=Y;var U=n("CtXQ"),X=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};function Z(e){return(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})(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 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 J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ee(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),e}function te(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 re(e){return function(){var t,n=ae(e);if(ie()){var r=ae(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return oe(this,t)}}function oe(e,t){return!t||"object"!==Z(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 ie(){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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=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 se,ce={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ue=f()({}),fe=(se=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return se+=1,"".concat(e).concat(se)}),de=function(e){te(n,e);var t=re(n);function n(e){var o,i,s;return J(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,d=i.reverseArrow,p=i.trigger,h=i.style,y=i.width,m=i.collapsedWidth,v=i.zeroWidthTriggerStyle,g=le(i,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle"]),b=n("layout-sider",s),O=Object(l.a)(g,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),w=o.state.collapsed?m:y,x=X(w)?"".concat(w,"px"):String(w),C=0===parseFloat(String(m||0))?r.createElement("span",{onClick:o.toggle,className:"".concat(b,"-zero-width-trigger ").concat(b,"-zero-width-trigger-").concat(d?"right":"left"),style:v},r.createElement(U.default,{type:"bars"})):null,E={expanded:d?r.createElement(U.default,{type:"right"}):r.createElement(U.default,{type:"left"}),collapsed:d?r.createElement(U.default,{type:"left"}):r.createElement(U.default,{type:"right"})}[o.state.collapsed?"collapsed":"expanded"],S=null!==p?C||r.createElement("div",{className:"".concat(b,"-trigger"),onClick:o.toggle,style:{width:x}},p||E):null,k=K(K({},h),{flex:"0 0 ".concat(x),maxWidth:x,minWidth:x,width:x}),j=a()(c,b,"".concat(b,"-").concat(u),(Q(t={},"".concat(b,"-collapsed"),!!o.state.collapsed),Q(t,"".concat(b,"-has-trigger"),f&&null!==p&&!C),Q(t,"".concat(b,"-below"),!!o.state.below),Q(t,"".concat(b,"-zero-width"),0===parseFloat(x)),t));return r.createElement("aside",K({className:j},O,{style:k}),r.createElement("div",{className:"".concat(b,"-children")},o.props.children),f||o.state.below&&C?S:null)},o.uniqueId=fe("ant-sider-"),"undefined"!=typeof window&&(i=window.matchMedia),i&&e.breakpoint&&e.breakpoint in ce&&(o.mql=i("(max-width: ".concat(ce[e.breakpoint],")"))),s="collapsed"in e?e.collapsed:e.defaultCollapsed,o.state={collapsed:s,below:!1},o}return ee(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(ue.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},r.createElement(E.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(r.Component);de.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"},Object(s.polyfill)(de);r.Component;function pe(e){return(pe="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(){return(he=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){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 ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ge(e,t){return!t||"object"!==pe(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(){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 Oe(e){return(Oe=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},xe=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&&ve(e,t)}(s,e);var t,n,i,a,l=(t=s,function(){var e,n=Oe(t);if(be()){var r=Oe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ge(this,e)});function s(){var e;return ye(this,s),(e=l.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=we(c,["title"]);return r.createElement(d.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(C.default,he({},c,{placement:"right",overlayClassName:"".concat(s,"-inline-collapsed-tooltip")}),r.createElement(o.b,he({},f,{title:u,ref:e.saveMenuItem})))}))},e}return n=s,(i=[{key:"render",value:function(){return r.createElement(ue.Consumer,null,this.renderItem)}}])&&me(n.prototype,i),a&&me(n,a),s}(r.Component);xe.isMenuItem=!0;var Ce=n("6CfX"),Ee=n("oHiP"),Se=function(){return{height:0,opacity:0}},ke=function(e){return{height:e.scrollHeight,opacity:1}},je={motionName:"ant-motion-collapse",onAppearStart:Se,onEnterStart:Se,onAppearActive:ke,onEnterActive:ke,onLeaveStart:function(e){return{height:e.offsetHeight}},onLeaveActive:Se};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 Ae(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 Me(e,t,n){return t&&Ne(e.prototype,t),n&&Ne(e,n),e}function _e(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)}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Re(e){return function(){var t,n=Ve(e);if(De()){var r=Ve(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return Te(this,t)}}function Te(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 De(){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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qe=function(e){_e(n,e);var t=Re(n);function n(e){var i,s;return Ae(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,d=f.prefixCls,p=f.className,h=f.theme,y=f.collapsedWidth,m=Object(l.a)(i.props,["collapsedWidth","siderCollapsed"]),v=i.getRealMenuMode(),g=i.getOpenMotionProps(v),b=u("menu",d),O=a()(p,"".concat(b,"-").concat(h),(t={},n="".concat(b,"-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=Pe({openKeys:i.state.openKeys,onOpenChange:i.handleOpenChange,className:O,mode:v},g);return"inline"!==v&&(w.onClick=i.handleClick),i.getInlineCollapsed()&&(0===y||"0"===y||"0px"===y)&&(w.openKeys=[]),r.createElement(o.e,Pe({getPopupContainer:c},m,w,{prefixCls:b,onTransitionEnd:i.handleTransitionEnd,onMouseEnter:i.handleMouseEnter}))},Object(Ce.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(Ce.a)(!("inlineCollapsed"in e&&"inline"!==e.mode),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Ce.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 Me(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(Ce.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:je}:{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(d.Provider,{value:{inlineCollapsed:this.getInlineCollapsed()||!1,antdMenuTheme:this.props.theme}},r.createElement(E.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);qe.defaultProps={className:"",theme:"light",focusable:!1},Object(s.polyfill)(qe);var Be=function(e){_e(n,e);var t=Re(n);function n(){return Ae(this,n),t.apply(this,arguments)}return Me(n,[{key:"render",value:function(){var e=this;return r.createElement(ue.Consumer,null,(function(t){return r.createElement(qe,Pe({},e.props,t))}))}}]),n}(r.Component);Be.Divider=o.a,Be.Item=xe,Be.SubMenu=x,Be.ItemGroup=o.c},D1y2:function(e,t,n){var r=n("FZoo");e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},"Dt+G":function(e,t,n){},ECyS:function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1)}function o(e){return"Object"===r(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function i(e){return"Array"===r(e)}function a(e){return"Symbol"===r(e)}function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,l=i.length;a<l;a++,o++)r[o]=i[a];return r}function s(e,t,n,r){var o=r.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=n),"nonenumerable"===o&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function c(e,t,n){if(!o(t))return n&&i(n)&&n.forEach((function(n){t=n(e,t)})),t;var r={};o(e)&&(r=l(Object.getOwnPropertyNames(e),Object.getOwnPropertySymbols(e)).reduce((function(n,r){var o=e[r];return(!a(r)&&!Object.getOwnPropertyNames(t).includes(r)||a(r)&&!Object.getOwnPropertySymbols(t).includes(r))&&s(n,r,o,e),n}),{}));return l(Object.getOwnPropertyNames(t),Object.getOwnPropertySymbols(t)).reduce((function(r,a){var l=t[a],u=o(e)?e[a]:void 0;return n&&i(n)&&n.forEach((function(e){l=e(u,l)})),void 0!==u&&o(l)&&(l=c(u,l,n)),s(r,a,l,t),r}),r)}t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,i=e;return o(e)&&e.extensions&&1===Object.keys(e).length&&(i={},r=e.extensions),t.reduce((function(e,t){return c(e,t,r)}),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)}},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,d=e;null!=d&&++c<u;){var p=l(t[c]),h=n;if(c!=f){var y=d[p];void 0===(h=s?s(y,p,d):void 0)&&(h=a(y)?y:i(t[c+1])?[]:{})}r(d,p,h),d=d[p]}return e}},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}},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)}},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++);}}},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},"KM+8":function(e,t,n){},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),o=n("17x9"),i=n("oOh1"),a=n("H84U");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)}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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 p(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},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&&f(e,t)}(v,e);var t,n,o,l,m=(t=v,function(){var e,n=h(t);if(p()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return d(this,e)});function v(){var e;return c(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,a=o.prefixCls,l=y(o,["prefixCls"]),c=n("radio-button",a);return e.context.radioGroup&&(l.checked=e.props.value===e.context.radioGroup.value,l.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(i.a,s({prefixCls:c},l))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(a.a,null,this.renderRadioButton)}}])&&u(n.prototype,o),l&&u(n,l),v}(r.Component);m.contextTypes={radioGroup:o.any}},Kj3p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("kLXV")),o=f(n("W9HT")),i=f(n("5rEg")),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,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("k3Gp"),n("04bd"),n("1vPl");var l=n("q1tI"),s=f(l),c=n("spEH"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.authorityValBox,n=e.successFunc,f=e.cancelFunc,d=(0,l.useState)(void 0),p=a(d,2),h=p[0],y=p[1],m=(0,l.useState)(!1),v=a(m,2),g=v[0],b=v[1],O=(0,l.useState)(!1),w=a(O,2),x=w[0],C=w[1];return s.default.createElement(r.default,{visible:t,centered:!0,title:"授权",onCancel:function(){y(void 0),f()},onOk:function(){if(h){C(!0);u.default.get("/users/ci/oauth_grant.json",{params:{password:h}}).then((function(e){C(!1),e&&n(e.data.step)})).catch((function(e){C(!1)}))}else b(!0)}},s.default.createElement(o.default,{spinning:x},s.default.createElement("p",{style:{textAlign:"center"}},"请输入您的登录密码,确认授权DevOps应用"),s.default.createElement(c.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},s.default.createElement("span",null,"密码:"),s.default.createElement(i.default.Password,{value:h,className:!0===g&&"flags",onChange:function(e){return y(e.target.value)},style:{width:"220px"}}))))}},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)}},ME5O:function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},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 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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 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 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)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(m(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,p=o.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(e,"-inner-content")},r.createElement("div",{className:"".concat(e,"-message")},p,r.createElement("div",{className:"".concat(e,"-message-title")},s)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,d({onClick:t.onCancel,size:"small"},a),c||n.cancelText),r.createElement(l.default,d({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=b(o,["prefixCls","placement"]),f=n("popover",a),p=r.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(f,e)}));return r.createElement(i.default,d({},u,{prefixCls:f,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:p,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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)}}])&&p(n.prototype,o),a&&p(n,a),O}(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},OFL0:function(e,t,n){var r=n("lvO4"),o=n("4sDh");e.exports=function(e,t){return null!=e&&o(e,t,r)}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("Gytx"),s=n.n(l),c=n("VCL8"),u=n("oOh1"),f=n("H84U");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 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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(c,e);var t,n,o,i,l=(t=c,function(){var e,n=g(t);if(v()){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function c(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=l.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=m(t).props,i=o.prefixCls,l=o.className,s=void 0===l?"":l,c=o.options,f=o.buttonStyle,d=n("radio",i),p="".concat(d,"-group"),h=a()(p,"".concat(p,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(p,"-").concat(o.size),o.size),s),y=o.children;return c&&c.length>0&&(y=c.map((function(e){return"string"==typeof e?r.createElement(u.a,{key:e,prefixCls:d,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(u.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:d,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=b(e.children);n=o&&o.value}return t.state={value:n},t}return n=c,i=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=b(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&p(n.prototype,o),i&&p(n,i),c}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(c.polyfill)(O),t.a=O},TAZq:function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,i,a,l,s,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},TZyB:function(e,t,n){},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)}},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),d=n("9Do8"),p=n.n(d),h=n("OFL0"),y=n.n(h),m=n("jo6Y"),v=n.n(m),g=n("YEIV"),b=n.n(g),O=n("m1cH"),w=n.n(O),x=n("fhzG"),C=n.n(x),E=n("aGtg"),S=n("oV5b"),k=n.n(S),j=n("2W6z"),F=n.n(j),P=n("mwIZ"),A=n.n(P),N=n("D1y2"),M=n.n(N),_=n("ljhN"),I=n.n(_),R=n("iCc5"),T=n.n(R),D=n("V7oC"),V=n.n(D),q=function e(t){T()(this,e),c()(this,t)};function B(e){return e instanceof q}function G(e){return B(e)?e:new q(e)}var z=n("2mql"),L=n.n(z);function H(e,t){return e.displayName="Form("+function(e){return e.displayName||e.name||"WrappedComponent"}(t)+")",e.WrappedComponent=t,L()(e,t)}function W(e){return e}function Y(e){return Array.prototype.concat.apply([],e)}function U(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 F()(!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 X(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 Z(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 Q(e){if(!e||!e.target)return e;var t=e.target;return"checkbox"===t.type?t.checked:t.value}function K(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 U(e,(function(e,t){return B(t)}),"You must wrap field data with `createFormField`.")}var ne=function(){function e(t){T()(this,e),re.call(this),this.fields=te(t),this.fieldsMeta={}}return V()(e,[{key:"updateFields",value:function(e){this.fields=te(e)}},{key:"flattenRegisteredFields",value:function(e){var t=this.getAllFieldsName();return U(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):b()({},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,G(t))}),{})}},{key:"getNestedAllFields",value:function(){var e=this;return Object.keys(this.fields).reduce((function(t,n){return M()(t,n,G(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,d=e.fieldDataProp,p=e.formPropName,h=void 0===p?"form":p,y=e.name,m=e.withRef;return function(e){var a=C()({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)):Q.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()(b()({},h,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(b()({},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,p=this.fieldsStore.getFieldMeta(e);"initialValue"in r&&(p.initialValue=r.initialValue);var h=c()({},this.fieldsStore.getFieldValuePropValue(r),{ref:this.getCacheBind(e,e+"__ref",this.saveRef)});u&&(h[u]=y?y+"_"+e:e);var m=X(s,o,l),v=Z(m);v.forEach((function(n){h[n]||(h[n]=t.getCacheBind(e,n,t.onCollectValidate))})),i&&-1===v.indexOf(i)&&(h[i]=this.getCacheBind(e,i,this.onCollect));var g=c()({},p,r,{validate:m});return this.fieldsStore.setFieldMeta(e,g),f&&(h[f]=g),d&&(h[d]=this.fieldsStore.getField(e)),this.renderFields[e]=!0,h},getFieldInstance:function(e){return this.instances[e]},getRules:function(e,t){return Y(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()(b()({},h,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()(b()({},h,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(b()({},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={},d={},p={};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,d[t]=r}else e.errors&&M()(p,t,{errors:e.errors})})),this.setFields(d),Object.keys(f).forEach((function(e){f[e]=o.fieldsStore.getFieldValue(e)})),r&&J(d))r(J(p)?null:p,this.fieldsStore.getFieldsValue(i));else{var h=new k.a(u);n&&h.messages(n),h.validate(f,s,(function(e){var t=c()({},p);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=A()(t,r);("object"!=typeof o||Array.isArray(o))&&M()(t,r,{errors:[]}),A()(t,r.concat(".errors")).push(e)}));var n=[],a={};Object.keys(u).forEach((function(e){var r=A()(t,e),i=o.fieldsStore.getField(e);I()(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=K(e,t,n),l=a.names,s=a.options,c=K(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(),d=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}));d.length?("firstFields"in s||(s.firstFields=f.filter((function(e){return!!r.fieldsStore.getFieldMeta(e).validateFirst}))),r.validateFieldsInternal(d,{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=b()({},h,this.getForm());m?i.ref="wrappedComponent":n&&(i.ref=n);var a=l.call(this,c()({},i,r));return o.a.createElement(e,a)}});return H(Object(E.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=K(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(y()(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);p()(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"),de=n("CWQg"),pe=n("6CfX"),he=n("MFj2"),ye=n("qrJ5"),me=n("/kpp"),ve=n("CtXQ"),ge=n("foW8"),be=n.n(ge)()({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 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 Ce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(e,t){return!t||"object"!==Oe(t)&&"function"!=typeof t?je(e):t}function je(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fe(){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 Pe(e){return(Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ae(e){return function(e){if(Array.isArray(e))return Ne(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 Ne(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(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 Ne(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},_e=Object(de.a)("success","warning","error","validating","");Object(de.a)("left","right");var Ie=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&&Se(e,t)}(s,e);var t,n,o,i,a=(t=s,function(){var e,n=Pe(t);if(Fe()){var r=Pe(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ke(this,e)});function s(){var e;return Ce(this,s),(e=a.apply(this,arguments)).helpShow=!1,e.onLabelClick=function(){var t=e.props.id||e.getId();if(t){var n=u.findDOMNode(je(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),d=e.renderChildren(f),p=(xe(n={},"".concat(f,"-item"),!0),xe(n,"".concat(f,"-item-with-help"),e.helpShow),xe(n,"".concat(c),!!c),n);return r.createElement(ye.a,we({className:l()(p),style:s},Object(ue.a)(u,["id","htmlFor","label","labelAlign","labelCol","wrapperCol","help","extra","validateStatus","hasFeedback","required","colon"]),{key:"row"}),d)},e}return n=s,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.help,r=e.validateStatus,o=e.id;Object(pe.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(pe.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(Ae(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 a=o[i];(!a.type||a.type!==s&&"FormItem"!==a.type.displayName)&&a.props&&("data-__meta"in a.props?n.push(a):a.props.children&&(n=n.concat(this.getControls(a.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(he.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":i.hasFeedback||"validating"===s,"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(be.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(be.Provider,{value:{vertical:a}},r.createElement(me.a,we({},c,{className:u}),t))}))}},{key:"renderLabel",value:function(e){var t=this;return r.createElement(be.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,d=u.labelCol,p=u.labelAlign,h=u.colon,y=u.id,m=u.htmlFor,v=t.isRequired(),g=("labelCol"in t.props?d:s)||{},b="labelAlign"in t.props?p:a,O="".concat(e,"-item-label"),w=l()(O,"left"===b&&"".concat(O,"-left"),g.className),x=f,C=!0===h||!1!==c&&!1!==h;C&&!i&&"string"==typeof f&&""!==f.trim()&&(x=f.replace(/[::]\s*$/,""));var E=l()((xe(o={},"".concat(e,"-item-required"),v),xe(o,"".concat(e,"-item-no-colon"),!C),o));return f?r.createElement(me.a,we({},g,{className:w}),r.createElement("label",{htmlFor:m||y||t.getId(),className:E,title:"string"==typeof f?f:"",onClick:t.onLabelClick},x)):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)}}])&&Ee(n.prototype,o),i&&Ee(n,i),s}(r.Component);function Re(e){return(Re="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(){return(Te=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(e,t){return!t||"object"!==Re(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 Ge(){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 ze(e){return(ze=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ie.defaultProps={hasFeedback:!1},Ie.propTypes={prefixCls:i.string,label:i.oneOfType([i.string,i.node]),labelCol:i.object,help:i.oneOfType([i.node,i.bool]),validateStatus:i.oneOf(_e),hasFeedback:i.bool,wrapperCol:i.object,className:i.string,id:i.string,children:i.node,colon:i.bool};var Le=Object(de.a)("horizontal","inline","vertical"),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&&qe(e,t)}(s,e);var t,n,o,i,a=(t=s,function(){var e,n=ze(t);if(Ge()){var r=ze(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Be(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=a.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,d=o("form",a),p=l()(d,(De(n={},"".concat(d,"-horizontal"),"horizontal"===f),De(n,"".concat(d,"-vertical"),"vertical"===f),De(n,"".concat(d,"-inline"),"inline"===f),De(n,"".concat(d,"-hide-required-mark"),s),n),u),h=Object(ue.a)(t.props,["prefixCls","className","layout","form","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon"]);return r.createElement("form",Te({},h,{className:p}))},Object(pe.a)(!e.form,"Form","It is unnecessary to pass `form` to `Form` after antd@1.7.0."),t}return n=s,(o=[{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(be.Provider,{value:{wrapperCol:t,labelAlign:n,labelCol:o,vertical:"vertical"===i,colon:a}},r.createElement(fe.a,null,this.renderForm))}}])&&Ve(n.prototype,o),i&&Ve(n,i),s}(r.Component);He.defaultProps={colon:!0,layout:"horizontal",hideRequiredMark:!1,onSubmit:function(e){e.preventDefault()}},He.propTypes={prefixCls:i.string,layout:i.oneOf(Le),children:i.any,onSubmit:i.func,hideRequiredMark:i.bool,colon:i.bool},He.Item=Ie,He.createFormField=G,He.create=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ce(Te(Te({fieldNameProp:"id"},e),{fieldMetaProp:"data-__meta",fieldDataProp:"data-__field"}))};t.default=He},Wwog:function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}t.a=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return a&&n===this&&t(r,i)||(o=e.apply(this,r),a=!0,n=this,i=r),o}}},"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)}},aJjT:function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,o=/: */g,i=/zoo|gra/,a=/([,: ])(transform)/g,l=/,+\s*(?![^(]*[)])/g,s=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,u=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,d=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,p=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,m=/:(read-only)/g,v=/\s+(?=[{\];=:>])/g,g=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,O=/\s{2,}/g,w=/([^\(])(:+) */g,x=/[svh]\w+-[tblr]{2}/,C=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,S=/-self|flex-/g,k=/[^]*?(:[rp][el]a[\w-]+)[^]*/,j=/stretch|:\s*\w+\-(?:conte|avail)/,F=/([^-])(image-set\()/,P="-webkit-",A="-moz-",N="-ms-",M=59,_=125,I=123,R=40,T=41,D=10,V=13,q=32,B=45,G=42,z=44,L=58,H=47,W=1,Y=1,U=0,X=1,Z=1,Q=1,K=0,J=0,$=0,ee=[],te=[],ne=0,re=null,oe=0,ie=1,ae="",le="",se="";function ce(e,t,o,i,a){for(var l,s,u=0,f=0,d=0,p=0,v=0,g=0,b=0,O=0,x=0,E=0,S=0,k=0,j=0,F=0,A=0,N=0,K=0,te=0,re=0,fe=o.length,ve=fe-1,ge="",be="",Oe="",we="",xe="",Ce="";A<fe;){if(b=o.charCodeAt(A),A===ve&&f+p+d+u!==0&&(0!==f&&(b=f===H?D:H),p=d=u=0,fe++,ve++),f+p+d+u===0){if(A===ve&&(N>0&&(be=be.replace(r,"")),be.trim().length>0)){switch(b){case q:case 9:case M:case V:case D:break;default:be+=o.charAt(A)}b=M}if(1===K)switch(b){case I:case _:case M:case 34:case 39:case R:case T:case z:K=0;case 9:case V:case D:case q:break;default:for(K=0,re=A,v=b,A--,b=M;re<fe;)switch(o.charCodeAt(re++)){case D:case V:case M:++A,b=v,re=fe;break;case L:N>0&&(++A,b=v);case I:re=fe}}switch(b){case I:for(v=(be=be.trim()).charCodeAt(0),S=1,re=++A;A<fe;){switch(b=o.charCodeAt(A)){case I:S++;break;case _:S--;break;case H:switch(g=o.charCodeAt(A+1)){case G:case H:A=me(g,A,ve,o)}break;case 91:b++;case R:b++;case 34:case 39:for(;A++<ve&&o.charCodeAt(A)!==b;);}if(0===S)break;A++}switch(Oe=o.substring(re,A),0===v&&(v=(be=be.replace(n,"").trim()).charCodeAt(0)),v){case 64:switch(N>0&&(be=be.replace(r,"")),g=be.charCodeAt(1)){case 100:case 109:case 115:case B:l=t;break;default:l=ee}if(re=(Oe=ce(t,l,Oe,g,a+1)).length,$>0&&0===re&&(re=be.length),ne>0&&(s=ye(3,Oe,l=ue(ee,be,te),t,Y,W,re,g,a,i),be=l.join(""),void 0!==s&&0===(re=(Oe=s.trim()).length)&&(g=0,Oe="")),re>0)switch(g){case 115:be=be.replace(C,he);case 100:case 109:case B:Oe=be+"{"+Oe+"}";break;case 107:Oe=(be=be.replace(h,"$1 $2"+(ie>0?ae:"")))+"{"+Oe+"}",Oe=1===Z||2===Z&&pe("@"+Oe,3)?"@"+P+Oe+"@"+Oe:"@"+Oe;break;default:Oe=be+Oe,112===i&&(we+=Oe,Oe="")}else Oe="";break;default:Oe=ce(t,ue(t,be,te),Oe,i,a+1)}xe+=Oe,k=0,K=0,F=0,N=0,te=0,j=0,be="",Oe="",b=o.charCodeAt(++A);break;case _:case M:if((re=(be=(N>0?be.replace(r,""):be).trim()).length)>1)switch(0===F&&((v=be.charCodeAt(0))===B||v>96&&v<123)&&(re=(be=be.replace(" ",":")).length),ne>0&&void 0!==(s=ye(1,be,t,e,Y,W,we.length,i,a,i))&&0===(re=(be=s.trim()).length)&&(be="\0\0"),v=be.charCodeAt(0),g=be.charCodeAt(1),v){case 0:break;case 64:if(105===g||99===g){Ce+=be+o.charAt(A);break}default:if(be.charCodeAt(re-1)===L)break;we+=de(be,v,g,be.charCodeAt(2))}k=0,K=0,F=0,N=0,te=0,be="",b=o.charCodeAt(++A)}}switch(b){case V:case D:if(f+p+d+u+J===0)switch(E){case T:case 39:case 34:case 64:case 126:case 62:case G:case 43:case H:case B:case L:case z:case M:case I:case _:break;default:F>0&&(K=1)}f===H?f=0:X+k===0&&107!==i&&be.length>0&&(N=1,be+="\0"),ne*oe>0&&ye(0,be,t,e,Y,W,we.length,i,a,i),W=1,Y++;break;case M:case _:if(f+p+d+u===0){W++;break}default:switch(W++,ge=o.charAt(A),b){case 9:case q:if(p+u+f===0)switch(O){case z:case L:case 9:case q:ge="";break;default:b!==q&&(ge=" ")}break;case 0:ge="\\0";break;case 12:ge="\\f";break;case 11:ge="\\v";break;case 38:p+f+u===0&&X>0&&(te=1,N=1,ge="\f"+ge);break;case 108:if(p+f+u+U===0&&F>0)switch(A-F){case 2:112===O&&o.charCodeAt(A-3)===L&&(U=O);case 8:111===x&&(U=x)}break;case L:p+f+u===0&&(F=A);break;case z:f+d+p+u===0&&(N=1,ge+="\r");break;case 34:case 39:0===f&&(p=p===b?0:0===p?b:p);break;case 91:p+f+d===0&&u++;break;case 93:p+f+d===0&&u--;break;case T:p+f+u===0&&d--;break;case R:if(p+f+u===0){if(0===k)switch(2*O+3*x){case 533:break;default:S=0,k=1}d++}break;case 64:f+d+p+u+F+j===0&&(j=1);break;case G:case H:if(p+u+d>0)break;switch(f){case 0:switch(2*b+3*o.charCodeAt(A+1)){case 235:f=H;break;case 220:re=A,f=G}break;case G:b===H&&O===G&&re+2!==A&&(33===o.charCodeAt(re+2)&&(we+=o.substring(re,A+1)),ge="",f=0)}}if(0===f){if(X+p+u+j===0&&107!==i&&b!==M)switch(b){case z:case 126:case 62:case 43:case T:case R:if(0===k){switch(O){case 9:case q:case D:case V:ge+="\0";break;default:ge="\0"+ge+(b===z?"":"\0")}N=1}else switch(b){case R:F+7===A&&108===O&&(F=0),k=++S;break;case T:0==(k=--S)&&(N=1,ge+="\0")}break;case 9:case q:switch(O){case 0:case I:case _:case M:case z:case 12:case 9:case q:case D:case V:break;default:0===k&&(N=1,ge+="\0")}}be+=ge,b!==q&&9!==b&&(E=b)}}x=O,O=b,A++}if(re=we.length,$>0&&0===re&&0===xe.length&&0===t[0].length==0&&(109!==i||1===t.length&&(X>0?le:se)===t[0])&&(re=t.join(",").length+2),re>0){if(l=0===X&&107!==i?function(e){for(var t,n,o=0,i=e.length,a=Array(i);o<i;++o){for(var l=e[o].split(c),s="",u=0,f=0,d=0,p=0,h=l.length;u<h;++u)if(!(0===(f=(n=l[u]).length)&&h>1)){if(d=s.charCodeAt(s.length-1),p=n.charCodeAt(0),t="",0!==u)switch(d){case G:case 126:case 62:case 43:case q:case R:break;default:t=" "}switch(p){case 38:n=t+le;case 126:case 62:case 43:case q:case T:case R:break;case 91:n=t+n+le;break;case L:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(Q>0){n=t+n.substring(8,f-1);break}default:(u<1||l[u-1].length<1)&&(n=t+le+n)}break;case z:t="";default:n=f>1&&n.indexOf(":")>0?t+n.replace(w,"$1"+le+"$2"):t+n+le}s+=n}a[o]=s.replace(r,"").trim()}return a}(t):t,ne>0&&void 0!==(s=ye(2,we,l,e,Y,W,re,i,a,i))&&0===(we=s).length)return Ce+we+xe;if(we=l.join(",")+"{"+we+"}",Z*U!=0){switch(2!==Z||pe(we,2)||(U=0),U){case 111:we=we.replace(m,":-moz-$1")+we;break;case 112:we=we.replace(y,"::"+P+"input-$1")+we.replace(y,"::-moz-$1")+we.replace(y,":-ms-input-$1")+we}U=0}}return Ce+we+xe}function ue(e,t,n){var r=t.trim().split(u),o=r,i=r.length,a=e.length;switch(a){case 0:case 1:for(var l=0,s=0===a?"":e[0]+" ";l<i;++l)o[l]=fe(s,o[l],n,a).trim();break;default:l=0;var c=0;for(o=[];l<i;++l)for(var f=0;f<a;++f)o[c++]=fe(e[f]+" ",r[l],n,a).trim()}return o}function fe(e,t,n,r){var o=t,i=o.charCodeAt(0);switch(i<33&&(i=(o=o.trim()).charCodeAt(0)),i){case 38:switch(X+r){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(f,"$1"+e.trim())}break;case L:switch(o.charCodeAt(1)){case 103:if(Q>0&&X>0)return o.replace(d,"$1").replace(f,"$1"+se);break;default:return e.trim()+o.replace(f,"$1"+e.trim())}default:if(n*X>0&&o.indexOf("\f")>0)return o.replace(f,(e.charCodeAt(0)===L?"":"$1")+e.trim())}return e+o}function de(e,t,n,r){var c,u=0,f=e+";",d=2*t+3*n+4*r;if(944===d)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),o=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*ie){case 0:break;case B:if(110!==e.charCodeAt(10))break;default:var i=o.split((o="",l)),a=0;for(n=0,t=i.length;a<t;n=0,++a){for(var c=i[a],u=c.split(s);c=u[n];){var f=c.charCodeAt(0);if(1===ie&&(f>64&&f<90||f>96&&f<123||95===f||f===B&&c.charCodeAt(1)!==B))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=ae}}u[n++]=c}o+=(0===a?"":",")+u.join(" ")}}return o=r+o+";",1===Z||2===Z&&pe(o,1)?P+o+o:o}(f);if(0===Z||2===Z&&!pe(f,1))return f;switch(d){case 1015:return 97===f.charCodeAt(10)?P+f+f:f;case 951:return 116===f.charCodeAt(3)?P+f+f:f;case 963:return 110===f.charCodeAt(5)?P+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return P+f+f;case 978:return P+f+A+f+f;case 1019:case 983:return P+f+A+f+N+f+f;case 883:return f.charCodeAt(8)===B?P+f+f:f.indexOf("image-set(",11)>0?f.replace(F,"$1"+P+"$2")+f:f;case 932:if(f.charCodeAt(4)===B)switch(f.charCodeAt(5)){case 103:return P+"box-"+f.replace("-grow","")+P+f+N+f.replace("grow","positive")+f;case 115:return P+f+N+f.replace("shrink","negative")+f;case 98:return P+f+N+f.replace("basis","preferred-size")+f}return P+f+N+f+f;case 964:return P+f+N+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return c=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),P+"box-pack"+c+P+f+N+"flex-pack"+c+f;case 1005:return i.test(f)?f.replace(o,":"+P)+f.replace(o,":"+A)+f:f;case 1e3:switch(u=(c=f.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(u)){case 226:c=f.replace(x,"tb");break;case 232:c=f.replace(x,"tb-rl");break;case 220:c=f.replace(x,"lr");break;default:return f}return P+f+N+c+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(u=(f=e).length-10,d=(c=(33===f.charCodeAt(u)?f.substring(0,u):f).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:f=f.replace(c,P+c)+";"+f;break;case 207:case 102:f=f.replace(c,P+(d>102?"inline-":"")+"box")+";"+f.replace(c,P+c)+";"+f.replace(c,N+c+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===B)switch(f.charCodeAt(6)){case 105:return c=f.replace("-items",""),P+f+P+"box-"+c+N+"flex-"+c+f;case 115:return P+f+N+"flex-item-"+f.replace(S,"")+f;default:return P+f+N+"flex-line-pack"+f.replace("align-content","").replace(S,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==B||122===f.charCodeAt(4))break;case 931:case 953:if(!0===j.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?de(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):f.replace(c,P+c)+f.replace(c,A+c.replace("fill-",""))+f;break;case 962:if(f=P+f+(102===f.charCodeAt(5)?N+f:"")+f,n+r===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(a,"$1"+P+"$2")+f}return f}function pe(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),o=e.substring(n+1,e.length-1);return re(2!==t?r:r.replace(k,"$1"),o,t)}function he(e,t){var n=de(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function ye(e,t,n,r,o,i,a,l,s,c){for(var u,f=0,d=t;f<ne;++f)switch(u=te[f].call(ge,e,d,n,r,o,i,a,l,s,c)){case void 0:case!1:case!0:case null:break;default:d=u}if(d!==t)return d}function me(e,t,n,r){for(var o=t+1;o<n;++o)switch(r.charCodeAt(o)){case H:if(e===G&&r.charCodeAt(o-1)===G&&t+2!==o)return o+1;break;case D:if(e===H)return o+1}return o}function ve(e){for(var t in e){var n=e[t];switch(t){case"keyframe":ie=0|n;break;case"global":Q=0|n;break;case"cascade":X=0|n;break;case"compress":K=0|n;break;case"semicolon":J=0|n;break;case"preserve":$=0|n;break;case"prefix":re=null,n?"function"!=typeof n?Z=1:(Z=2,re=n):Z=0}}return ve}function ge(t,n){if(void 0!==this&&this.constructor===ge)return e(t);var o=t,i=o.charCodeAt(0);i<33&&(i=(o=o.trim()).charCodeAt(0)),ie>0&&(ae=o.replace(p,91===i?"":"-")),i=1,1===X?se=o:le=o;var a,l=[se];ne>0&&void 0!==(a=ye(-1,n,l,l,Y,W,0,0,0,0))&&"string"==typeof a&&(n=a);var s=ce(ee,l,n,0,0);return ne>0&&void 0!==(a=ye(-2,s,l,l,Y,W,s.length,0,0,0))&&"string"!=typeof(s=a)&&(i=0),ae="",se="",le="",U=0,Y=1,W=1,K*i==0?s:s.replace(r,"").replace(v,"").replace(g,"$1").replace(b,"$1").replace(O," ")}return ge.use=function e(t){switch(t){case void 0:case null:ne=te.length=0;break;default:if("function"==typeof t)te[ne++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else oe=0|!!t}return e},ge.set=ve,void 0!==t&&ve(t),ge}(null)},"aah+":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,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("2WkQ");var i=n("q1tI"),a=c(i);n("PA6o");var l=c(n("hqGi")),s=c(n("u7Al"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,i.useState)("dispose"),n=o(t,2),c=n[0],u=n[1];return a.default.createElement("div",null,a.default.createElement(r.default,{mode:"horizontal",className:"menuStyle",onClick:function(e){u(e.key)},selectedKeys:[c]},a.default.createElement(r.default.Item,{key:"dispose"},"服务器配置"),a.default.createElement(r.default.Item,{key:"list"},"项目列表")),"dispose"===c?a.default.createElement(l.default,e):a.default.createElement(s.default,e))}},b7wz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),o=s(n("9yH6")),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("L/Qf"),n("K4yd");var a=n("q1tI"),l=s(a);function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.sureModal,n=(0,a.useState)(1),s=i(n,2),c=s[0],u=s[1];return l.default.createElement("div",{className:"mt30",style:{textAlign:"center"}},l.default.createElement(o.default.Group,{value:c,onChange:function(e){u(e.target.value)}},l.default.createElement(o.default,{value:1},"自有服务器"),l.default.createElement(o.default,{value:2},"Trustie服务器")),l.default.createElement("p",{className:"mt30"},l.default.createElement(r.default,{type:"primary",onClick:function(){return t(c)}},"下一步")))}},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)}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},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)},hqGi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("kLXV")),o=m(n("5rEg")),i=m(n("2/Rp")),a=m(n("Vl3Y")),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(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("k3Gp"),n("1vPl"),n("L/Qf"),n("tULf");var c=n("q1tI"),u=m(c),f=n("spEH"),d=m(n("vDqi")),p=m(n("Bahx")),h=m(n("Kj3p")),y=m(n("sL1r"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=a.default.create()((0,c.forwardRef)((function(e){var t=(0,c.useState)(void 0),n=s(t,2),m=n[0],v=n[1],g=(0,c.useState)(0),b=s(g,2),O=b[0],w=b[1],x=(0,c.useState)(!1),C=s(x,2),E=C[0],S=C[1],k=(0,c.useState)(!1),j=s(k,2),F=j[0],P=j[1],A=(0,c.useState)(!1),N=s(A,2),M=N[0],_=N[1],I=(0,c.useState)(!1),R=s(I,2),T=R[0],D=R[1],V=(0,c.useState)(!1),q=s(V,2),B=q[0],G=q[1],z=(0,c.useState)(!1),L=s(z,2),H=L[0],W=L[1],Y=e.user,U=e.form,X=U.getFieldDecorator,Z=U.validateFields,Q=U.setFieldsValue,K=(0,c.useCallback)((function(e,t,n,r,o){return u.default.createElement(u.default.Fragment,null,u.default.createElement("span",{className:o?"required":""},e),u.default.createElement(a.default.Item,null,X(t,{rules:n,validateFirst:!0})(r)))}),[]);function J(){d.default.get("/users/ci/cloud_account.json").then((function(e){e&&e.data&&(v(e.data.cloud_account),w(e.data.step),D(e.data.ci_certification))})).catch((function(e){console.log(e)}))}function $(){_(!1),Q({ip_num:void 0,secret:void 0,account:void 0})}return(0,c.useEffect)((function(){J()}),[]),u.default.createElement("div",{className:"disposeInfo"},u.default.createElement(y.default,{visible:F,SureBtn:function(e){if(1===e)P(!1),_(!0);else{d.default.post("/users/ci/cloud_account/trustie_bind.json",{account:Y&&Y.login}).then((function(e){e&&e.data&&(P(!1),W(!0),J())})).catch((function(e){P(!1)}))}},CancelBtn:function(){P(!1)}}),u.default.createElement(h.default,{authorityValBox:H,successFunc:function(){W(!1),J()},cancelFunc:function(){W(!1)}}),u.default.createElement(r.default,{className:"modalsStyle",visible:M,title:"绑定CI服务器地址",onCancel:$,closable:!0,centered:!0,footer:u.default.createElement("div",null,u.default.createElement(i.default,{onClick:$},"取消"),u.default.createElement(i.default,{loading:B,type:"primary",style:{marginLeft:"20px"},onClick:function(){Z((function(t,n){if(!t){G(!0);d.default.post("/users/ci/cloud_account/bind.json",l({},n)).then((function(t){G(!1),t&&t.data&&(_(!1),v(t.data.cloud_account),w(t.data.step),e.showNotification("服务器绑定成功!"))})).catch((function(e){G(!1)}))}}))}},"确定"))},u.default.createElement(a.default,{style:{marginTop:"20px"}},K("服务器IP地址:","ip_num",[{required:!0,message:"请输入服务器IP地址"}],u.default.createElement(o.default,{placeholder:"请输入服务器IP地址",style:{width:"368px"},size:"large"}),!0),K("服务器用户名:","account",[{required:!0,message:"请输入服务器用户名"}],u.default.createElement(o.default,{placeholder:"请输入服务器用户名",size:"large"}),!0),K("服务器密码:","secret",[{required:!0,message:"请输入服务器密码"}],u.default.createElement(o.default.Password,{placeholder:"请输入服务器密码",size:"large"}),!0))),u.default.createElement(p.default,{visible:E,title:"解除绑定",content:"解除CI服务器绑定后,您所有的项目构建数据将被清空。确定解除绑定?",onOk:function(){d.default.delete("/users/ci/cloud_account/unbind.json").then((function(t){t&&t.data&&(e.showNotification("成功解除绑定!"),S(!1),J())})).catch((function(e){_(!1)}))},onCancel:function(){S(!1)}}),u.default.createElement("div",{className:"disposeItem"},u.default.createElement(f.AlignCenter,null,u.default.createElement("span",null,"CI服务器地址"),m&&m.ip&&O>=1?u.default.createElement("span",{className:"ml10"},m.ip):"",0===O&&u.default.createElement("span",{className:"ml10 authTag red"},"未绑定"),1===O&&!T&&u.default.createElement("span",{className:"ml10 authTag red"},"未认证"),T&&u.default.createElement("span",{className:"ml10 authTag green"},"已认证")),u.default.createElement(f.AlignCenter,null,0===O&&u.default.createElement(i.default,{type:"primary",onClick:function(){return P(!0)}},"马上绑定"),1===O&&!T&&u.default.createElement(i.default,{type:"primary",style:{color:"#fff"},onClick:function(){return W(!0)},target:"_blank"},"马上认证"),O>=1&&u.default.createElement(i.default,{type:"danger",className:"ml20",onClick:function(){return S(!0)}},"解除绑定"))))})))},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)}},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")),d=v(n("rjwK")),p=v(n("L2wI")),h=v(n("myOp")),y=v(n("UeuU")),m=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:d.default,pattern:p.default,date:h.default,url:m.default,hex:m.default,email:m.default,required:y.default}},jpXb:function(e,t,n){var r=n("wZXL");e.exports=new r},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,d="string"==typeof t,p=Array.isArray(t);if(f?u="number":d?u="string":p&&(u="array"),!u)return!1;p&&(c=t.length),d&&(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))}},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=p(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]=p(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function u(e,t){var n=l.hasOwnProperty(t)?l[t]:null;g.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 d=l.hasOwnProperty(a);if("function"==typeof s&&!d&&!f&&!1!==n.autobind)o.push(a,s),r[a]=s;else if(f){var y=l[a];i(d&&("DEFINE_MANY_MERGED"===y||"DEFINE_MANY"===y),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",y,a),"DEFINE_MANY_MERGED"===y?r[a]=p(r[a],s):"DEFINE_MANY"===y&&(r[a]=h(r[a],s))}else r[a]=s}}}else;}function d(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 p(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 d(o,n),d(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}var m={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},g={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,g),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]=y(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 b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(f.bind(null,t)),f(t,m),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}}},lvO4:function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},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))}}},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)}},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))}}},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("q1tI"),o=n("17x9"),i=n("x1Ya"),a=n("TSYQ"),l=n.n(a),s=n("Gytx"),c=n.n(s),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 d(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)}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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 b(){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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=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},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&&m(e,t)}(f,e);var t,n,o,a,s=(t=f,function(){var e,n=O(t);if(b()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,a=g(e),s=a.props,c=a.context,u=s.prefixCls,f=s.className,h=s.children,y=s.style,m=w(s,["prefixCls","className","children","style"]),v=c.radioGroup,b=o("radio",u),O=p({},m);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=s.value===v.value,O.disabled=s.disabled||v.disabled);var x=l()(f,(d(n={},"".concat(b,"-wrapper"),!0),d(n,"".concat(b,"-wrapper-checked"),O.checked),d(n,"".concat(b,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:x,style:y,onMouseEnter:s.onMouseEnter,onMouseLeave:s.onMouseLeave},r.createElement(i.a,p({},O,{prefixCls:b,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderRadio)}}])&&y(n.prototype,o),a&&y(n,a),f}(r.Component);x.defaultProps={type:"radio"},x.contextTypes={radioGroup:o.any}},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 d(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 p=this.messages();p===c.messages&&(p=(0,c.newMessages)()),(0,a.deepMerge)(p,s.messages),s.messages=p}else s.messages=this.messages();var h=void 0,y=void 0,m={},v=s.keys||Object.keys(this.rules);v.forEach((function(n){h=t.rules[n],y=l[n],h.forEach((function(r){var i=r;"function"==typeof i.transform&&(l===e&&(l=o({},l)),y=l[n]=i.transform(y)),(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&&(m[n]=m[n]||[],m[n].push({rule:i,value:y,source:l,field:n}))}))}));var g={};return(0,a.asyncMap)(m,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 g[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 d in e.value)e.value.hasOwnProperty(d)&&(f[d]=n.defaultField);for(var p in f=o({},f,e.rule.fields))if(f.hasOwnProperty(p)){var h=Array.isArray(f[p])?f[p]:[f[p]];f[p]=h.map(l.bind(null,p))}var y=new u(f);y.messages(s.messages),e.rule.options&&(e.rule.options.messages=s.messages,e.rule.options.error=s.error),y.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){d(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},qrJ5:function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));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 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)}if("undefined"!=typeof window){window.matchMedia||(window.matchMedia=function(e){return{media:e,matches:!1,addListener:function(){},removeListener:function(){}}}),r=n("jpXb")}var p=["xxl","xl","lg","md","sm","xs"],h={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},y=[],m=-1,v={},g={dispatch:function(e){return v=e,!(y.length<1)&&(y.forEach((function(e){e.func(v)})),!0)},subscribe:function(e){0===y.length&&this.register();var t=(++m).toString();return y.push({token:t,func:e}),e(v),t},unsubscribe:function(e){0===(y=y.filter((function(t){return t.token!==e}))).length&&this.unregister()},unregister:function(){Object.keys(h).map((function(e){return r.unregister(h[e])}))},register:function(){var e=this;Object.keys(h).map((function(t){return r.register(h[t],{match:function(){var n=d(d({},v),f({},t,!0));e.dispatch(n)},unmatch:function(){var n=d(d({},v),f({},t,!1));e.dispatch(n)},destroy:function(){}})}))}};function b(e){return(b="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 x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==b(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(){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 j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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},P=Object(u.a)("top","middle","bottom","stretch"),A=Object(u.a)("start","end","center","space-around","space-between"),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&&E(e,t)}(u,e);var t,n,r,i,l=(t=u,function(){var e,n=j(t);if(k()){var r=j(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function u(){var e;return x(this,u),(e=l.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,d=i.className,p=i.style,h=i.children,y=F(i,["prefixCls","type","justify","align","className","style","children"]),m=r("row",l),v=e.getGutter(),g=a()((w(n={},m,!s),w(n,"".concat(m,"-").concat(s),s),w(n,"".concat(m,"-").concat(s,"-").concat(u),s&&u),w(n,"".concat(m,"-").concat(s,"-").concat(f),s&&f),n),d),b=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}:{}),p),x=O({},y);return delete x.gutter,o.createElement(c.a.Provider,{value:{gutter:v}},o.createElement("div",O({},x,{className:g,style:b}),h))},e}return n=u,(r=[{key:"componentDidMount",value:function(){var e=this;this.token=g.subscribe((function(t){var n=e.props.gutter;("object"===b(n)||Array.isArray(n)&&("object"===b(n[0])||"object"===b(n[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){g.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"===b(t))for(var o=0;o<p.length;o++){var i=p[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)}}])&&C(n.prototype,r),i&&C(n,i),u}(o.Component);N.defaultProps={gutter:0},N.propTypes={type:l.oneOf(["flex"]),align:l.oneOf(P),justify:l.oneOf(A),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)}},sL1r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("kLXV"));n("k3Gp");var o=a(n("q1tI")),i=a(n("b7wz"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.visible,n=e.SureBtn,a=e.CancelBtn;return o.default.createElement(r.default,{title:"请选择服务器类型",centered:!0,visible:t,footer:!1,onCancel:a},o.default.createElement(i.default,{sureModal:function(e){n(e)}}))}},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=S(["{\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=S(["{\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=S(["{\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=S(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=S(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),c=S(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=S(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=S(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),d=S(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),p=S(["{\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=S(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),y=S(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=S(["{\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}"]),v=S(["{\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}"]),g=S(["{\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}"]),b=S(["{\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}"]),O=S(["{\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}"]),w=S(["{\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}"]),x=S(["{\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("vOnD"),E=(r=C)&&r.__esModule?r:{default:r};function S(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=E.default.div(o),t.AlignCenterBetween=E.default.div(i),t.FlexAJ=E.default.div(a),t.AlignCenter=E.default.div(l),t.Box=E.default.div(s),t.Long=E.default.div(c),t.Short=E.default.div(u),t.Gap=E.default.div(f),t.WhiteBack=E.default.div(d),t.Blueline=E.default.a(p),t.Redline=E.default.a(h),t.Greenline=E.default.a(y),t.Greenback=E.default.a(m),t.Blueback=E.default.a(v),t.Redback=E.default.a(g),t.NumUl=E.default.ul(b),t.GreenUnder=E.default.a(O),t.Cancel=E.default.a(w),t.Content=E.default.div(x)},t33a:function(e,t,n){"use strict";e.exports={}},tULf:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("KM+8"),n("4t1q")},u7Al:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),o=p(n("NUBc")),i=p(n("NJEC")),a=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=[],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("04bd"),n("YQTV"),n("k994"),n("L/Qf");var s=n("q1tI"),c=p(s),u=n("eO8H"),f=p(n("2CTR")),d=p(n("vDqi"));function p(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,s.useState)(1),n=l(t,2),p=n[0],h=n[1],y=(0,s.useState)(0),m=l(y,2),v=m[0],g=m[1],b=(0,s.useState)(!0),O=l(b,2),w=O[0],x=O[1],C=(0,s.useState)(void 0),E=l(C,2),S=E[0],k=E[1],j=e.current_user;function F(){var e="/users/"+j.login+"/projects.json";d.default.get(e,{params:{limit:10,page:p,category:"manage"}}).then((function(e){e&&e.data&&(k(e.data.projects),g(e.data.count),x(!1))})).catch((function(e){console.log(e)}))}return(0,s.useEffect)((function(){x(!0),j&&j.login&&F()}),[j,p]),c.default.createElement("div",{style:{minHeight:"400px"}},c.default.createElement(r.default,{spinning:w},S&&S.length>0?c.default.createElement("ul",{className:"CIList"},S.map((function(t,n){return c.default.createElement("li",{key:n},c.default.createElement("span",null,c.default.createElement(u.Link,{to:"/projects/"+(t.author&&t.author.login)+"/"+t.identifier+(t.open_devops?"/devops/list":"")},t.name),t.open_devops?c.default.createElement("span",{className:"authTag green ml20"},"已激活"):c.default.createElement("span",{className:"authTag red ml20"},"未激活")),t.open_devops?c.default.createElement(i.default,{title:"确定取消激活?",onConfirm:function(){return function(e,t){x(!0);var n="/"+(e&&e.login)+"/"+t+"/deactivate.json";d.default.delete(n).then((function(e){e?F():x(!1)})).catch((function(e){x(!1)}))}(t.author,t.identifier)},okText:"确定",cancelText:"取消"},c.default.createElement(a.default,null,"取消激活")):c.default.createElement(a.default,{type:"primary",onClick:function(){e.history.push("/projects/"+(t.author&&t.author.login)+"/"+t.identifier+"/devops")}},"马上激活"))}))):c.default.createElement(f.default,{_html:"暂无数据"}),v>10&&c.default.createElement("div",{className:"mt20 mb30",style:{textAlign:"center"}},c.default.createElement(o.default,{simple:!0,onChange:function(e){h(e)},pageSize:10,current:p,total:v}))))}},vOnD:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"createGlobalStyle",(function(){return nt})),n.d(t,"css",(function(){return be})),n.d(t,"isStyledComponent",(function(){return k})),n.d(t,"keyframes",(function(){return ot})),n.d(t,"ServerStyleSheet",(function(){return Ue})),n.d(t,"StyleSheetConsumer",(function(){return Ze})),n.d(t,"StyleSheetContext",(function(){return Xe})),n.d(t,"StyleSheetManager",(function(){return Qe})),n.d(t,"ThemeConsumer",(function(){return We})),n.d(t,"ThemeContext",(function(){return He})),n.d(t,"ThemeProvider",(function(){return Ye})),n.d(t,"withTheme",(function(){return it})),n.d(t,"__DO_NOT_USE_OR_YOU_WILL_BE_HAUNTED_BY_SPOOKY_GHOSTS",(function(){return at}));var r=n("aJjT"),o=n.n(r),i=n("TAZq"),a=n.n(i),l=n("q1tI"),s=n.n(l),c=n("ME5O"),u=n("TOwV"),f=n("Wwog"),d=(n("17x9"),n("9uj6")),p=n("ECyS"),h=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},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},m=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},v=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}}(),g=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},b=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)},O=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},w=function(e){return"object"===(void 0===e?"undefined":y(e))&&e.constructor===Object},x=Object.freeze([]),C=Object.freeze({});function E(e){return"function"==typeof e}function S(e){return e.displayName||e.name||"Component"}function k(e){return e&&"string"==typeof e.styledComponentId}var j=void 0!==e&&(Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).SC_ATTR)||"data-styled",F="undefined"!=typeof window&&"HTMLElement"in window,P="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==e&&(Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).REACT_APP_SC_DISABLE_SPEEDY||Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"}).SC_DISABLE_SPEEDY)||!1,A={};var N=function(e){function t(n){m(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=O(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return O(a)}return b(t,e),t}(Error),M=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,_=function(e){var t=""+(e||""),n=[];return t.replace(M,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var o=e.componentId,i=e.matchIndex,a=n[r+1];return{componentId:o,cssFromDOM:a?t.slice(i,a.matchIndex):t.slice(i)}}))},I=/^\s*\/\/.*$/gm,R=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),T=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),D=[],V=function(e){if(-2===e){var t=D;return D=[],t}},q=a()((function(e){D.push(e)})),B=void 0,G=void 0,z=void 0,L=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(G)&&n.slice(t-G.length,t)!==G?"."+B:e};T.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(G)>0&&(n[0]=n[0].replace(z,L))},q,V]),R.use([q,V]);var H=function(e){return R("",e)};function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(I,""),i=t&&n?n+" "+t+" { "+o+" }":o;return B=r,G=t,z=new RegExp("\\"+G+"\\b","g"),T(n||!t?"":t,i)}var Y=function(){return n.nc},U=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},X=function(e,t){e[t]=Object.create(null)},Z=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},Q=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},K=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n<t;n+=1){var r=e.ownerDocument.styleSheets[n];if(r.ownerNode===e)return r}throw new N(10)},J=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(e){return!1}return!0},$=function(e){return"\n/* sc-component-id: "+e+" */\n"},ee=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},te=function(e,t){return function(n){var r=Y();return"<style "+[r&&'nonce="'+r+'"',j+'="'+Q(t)+'"','data-styled-version="4.4.1"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},ne=function(e,t){return function(){var n,r=((n={})[j]=Q(t),n["data-styled-version"]="4.4.1",n),o=Y();return o&&(r.nonce=o),s.a.createElement("style",g({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},re=function(e){return function(){return Object.keys(e)}},oe=function(e,t){return e.createTextNode($(t))},ie=function e(t,n){var r=void 0===t?Object.create(null):t,o=void 0===n?Object.create(null):n,i=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},a=function(){var e="";for(var t in o){var n=o[t][0];n&&(e+=$(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=g({},e[n]);return t}(r),n=Object.create(null);for(var i in o)n[i]=[o[i][0]];return e(t,n)},css:a,getIds:re(o),hasNameForId:Z(r),insertMarker:i,insertRules:function(e,t,n){i(e)[0]+=t.join(" "),U(r,e,n)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",X(r,e))},sealed:!1,styleTag:null,toElement:ne(a,r),toHTML:te(a,r)}},ae=function(e,t,n,r,o){if(F&&!n){var i=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var o=r.createElement("style");o.setAttribute(j,""),o.setAttribute("data-styled-version","4.4.1");var i=Y();if(i&&o.setAttribute("nonce",i),o.appendChild(r.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new N(6);t.parentNode.insertBefore(o,n?t:t.nextSibling)}return o}(e,t,r);return P?function(e,t){var n=Object.create(null),r=Object.create(null),o=void 0!==t,i=!1,a=function(t){var o=r[t];return void 0!==o?o:(r[t]=oe(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},l=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new N(5)},css:l,getIds:re(r),hasNameForId:Z(n),insertMarker:a,insertRules:function(e,r,l){for(var s=a(e),c=[],u=r.length,f=0;f<u;f+=1){var d=r[f],p=o;if(p&&-1!==d.indexOf("@import"))c.push(d);else{p=!1;var h=f===u-1?"":" ";s.appendData(""+d+h)}}U(n,e,l),o&&c.length>0&&(i=!0,t().insertRules(e+"-import",c))},removeRules:function(a){var l=r[a];if(void 0!==l){var s=oe(e.ownerDocument,a);e.replaceChild(s,l),r[a]=s,X(n,a),o&&i&&t().removeRules(a+"-import")}},sealed:!1,styleTag:e,toElement:ne(l,n),toHTML:te(l,n)}}(i,o):function(e,t){var n=Object.create(null),r=Object.create(null),o=[],i=void 0!==t,a=!1,l=function(e){var t=r[e];return void 0!==t?t:(r[e]=o.length,o.push(0),X(n,e),r[e])},s=function(){var t=K(e).cssRules,n="";for(var i in r){n+=$(i);for(var a=r[i],l=ee(o,a),s=l-o[a];s<l;s+=1){var c=t[s];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new N(5)},css:s,getIds:re(r),hasNameForId:Z(n),insertMarker:l,insertRules:function(r,s,c){for(var u=l(r),f=K(e),d=ee(o,u),p=0,h=[],y=s.length,m=0;m<y;m+=1){var v=s[m],g=i;g&&-1!==v.indexOf("@import")?h.push(v):J(f,v,d+p)&&(g=!1,p+=1)}i&&h.length>0&&(a=!0,t().insertRules(r+"-import",h)),o[u]+=p,U(n,r,c)},removeRules:function(l){var s=r[l];if(void 0!==s&&!1!==e.isConnected){var c=o[s];!function(e,t,n){for(var r=t-n,o=t;o>r;o-=1)e.deleteRule(o)}(K(e),ee(o,s)-1,c),o[s]=0,X(n,l),i&&a&&t().removeRules(l+"-import")}},sealed:!1,styleTag:e,toElement:ne(s,n),toHTML:te(s,n)}}(i,o)}return ie()},le=/\s+/,se=void 0;se=F?P?40:1e3:-1;var ce=0,ue=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];m(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ae(t.target,n?n.styleTag:null,t.forceServer,!0)},ce+=1,this.id=ce,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!F||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+j+'][data-styled-version="4.4.1"]'),o=r.length;if(!o)return this;for(var i=0;i<o;i+=1){var a=r[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var l,s=(a.getAttribute(j)||"").trim().split(le),c=s.length,u=0;u<c;u+=1)l=s[u],this.rehydratedNames[l]=!0;t.push.apply(t,_(a.textContent)),e.push(a)}var f=t.length;if(!f)return this;var d=this.makeTag(null);!function(e,t,n){for(var r=0,o=n.length;r<o;r+=1){var i=n[r],a=i.componentId,l=i.cssFromDOM,s=H(l);e.insertRules(a,s)}for(var c=0,u=t.length;c<u;c+=1){var f=t[c];f.parentNode&&f.parentNode.removeChild(f)}}(d,e,t),this.capacity=Math.max(1,se-f),this.tags.push(d);for(var p=0;p<f;p+=1)this.tagMap[t[p].componentId]=d;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ue=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),o=0;o<n.length;o+=1)t.tagMap[n[o]]=r;return r})),t.rehydratedNames=g({},this.rehydratedNames),t.deferred=g({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ae(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=se,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(e,t,n);var i=this.getTagForId(e);if(void 0!==this.deferred[e]){var a=this.deferred[e].concat(t);i.insertRules(e,a,n),this.deferred[e]=void 0}else i.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var r="sc-"+e+"-"+n;return Object(l.cloneElement)(t.toElement(),{key:r})}))},v(e,null,[{key:"master",get:function(){return ue||(ue=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),de=function(){function e(t,n){var r=this;m(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new N(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),pe=/([A-Z])/g,he=/^ms-/;function ye(e){return e.replace(pe,"-$1").toLowerCase().replace(he,"-ms-")}var me=function(e){return null==e||!1===e||""===e},ve=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!me(t[n])){if(w(t[n]))return r.push.apply(r,e(t[n],n)),r;if(E(t[n]))return r.push(ye(n)+":",t[n],";"),r;r.push(ye(n)+": "+(o=n,(null==(i=t[n])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||o in c.a?String(i).trim():i+"px")+";"))}var o,i;return r})),n?[n+" {"].concat(r,["}"]):r};function ge(e,t,n){if(Array.isArray(e)){for(var r,o=[],i=0,a=e.length;i<a;i+=1)null!==(r=ge(e[i],t,n))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return me(e)?null:k(e)?"."+e.styledComponentId:E(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:ge(e(t),t,n):e instanceof de?n?(e.inject(n),e.getName()):e:w(e)?ve(e):e.toString();var l}function be(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||w(e)?ge(h(x,[e].concat(n))):ge(h(e,n))}function Oe(e){for(var t,n=0|e.length,r=0|n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var we=function(e){return String.fromCharCode(e+(e>25?39:97))};function xe(e){var t="",n=void 0;for(n=e;n>52;n=Math.floor(n/52))t=we(n%52)+t;return we(n%52)+t}function Ce(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!Ce(r,t))return!1;if(E(r)&&!k(r))return!1}return!t.some((function(e){return E(e)||function(e){for(var t in e)if(E(e[t]))return!0;return!1}(e)}))}var Ee,Se=function(e){return xe(Oe(e))},ke=function(){function e(t,n,r){m(this,e),this.rules=t,this.isStatic=Ce(t,n),this.componentId=r,fe.master.hasId(r)||fe.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(F&&n&&"string"==typeof o&&t.hasNameForId(r,o))return o;var i=ge(this.rules,e,t),a=Se(this.componentId+i.join(""));return t.hasNameForId(r,a)||t.inject(this.componentId,W(i,"."+a,void 0,r),a),this.lastClassName=a,a},e.generateName=function(e){return Se(e)},e}(),je=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,r=!!n&&e.theme===n.theme,o=e.theme&&!r?e.theme:t||n.theme;return o},Fe=/[[\].#*$><+~=|^:(),"'`-]+/g,Pe=/(^-|-$)/g;function Ae(e){return e.replace(Fe,"-").replace(Pe,"")}function Ne(e){return"string"==typeof e&&!0}var Me={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},_e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ie=((Ee={})[u.ForwardRef]={$$typeof:!0,render:!0},Ee),Re=Object.defineProperty,Te=Object.getOwnPropertyNames,De=Object.getOwnPropertySymbols,Ve=void 0===De?function(){return[]}:De,qe=Object.getOwnPropertyDescriptor,Be=Object.getPrototypeOf,Ge=Object.prototype,ze=Array.prototype;function Le(e,t,n){if("string"!=typeof t){var r=Be(t);r&&r!==Ge&&Le(e,r,n);for(var o=ze.concat(Te(t),Ve(t)),i=Ie[e.$$typeof]||Me,a=Ie[t.$$typeof]||Me,l=o.length,s=void 0,c=void 0;l--;)if(c=o[l],!(_e[c]||n&&n[c]||a&&a[c]||i&&i[c])&&(s=qe(t,c)))try{Re(e,c,s)}catch(e){}return e}return e}var He=Object(l.createContext)(),We=He.Consumer,Ye=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return b(t,e),t.prototype.render=function(){return this.props.children?s.a.createElement(He.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return s.a.createElement(He.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(E(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":y(e)))throw new N(8);return g({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)},t}(l.Component),Ue=function(){function e(){m(this,e),this.masterSheet=fe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}return e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new N(2);return s.a.createElement(Qe,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new N(3)},e}(),Xe=Object(l.createContext)(),Ze=Xe.Consumer,Qe=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext),r}return b(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new fe(t);throw new N(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return s.a.createElement(Xe.Provider,{value:this.getContext(n,r)},t)},t}(l.Component),Ke={};var Je=function(e){function t(){m(this,t);var n=O(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return b(t,e),t.prototype.render=function(){return s.a.createElement(Ze,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():s.a.createElement(We,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,o=(t.displayName,t.foldedComponentIds),i=t.styledComponentId,a=t.target,s=void 0;s=n.isStatic?this.generateAndInjectStyles(C,this.props):this.generateAndInjectStyles(je(this.props,e,r)||C,this.props);var c=this.props.as||this.attrs.as||a,u=Ne(c),f={},p=g({},this.props,this.attrs),h=void 0;for(h in p)"forwardedComponent"!==h&&"as"!==h&&("forwardedRef"===h?f.ref=p[h]:"forwardedAs"===h?f.as=p[h]:u&&!Object(d.a)(h)||(f[h]=p[h]));return this.props.style&&this.attrs.style&&(f.style=g({},this.attrs.style,this.props.style)),f.className=Array.prototype.concat(o,i,s!==i?s:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(l.createElement)(c,f)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,o=g({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,i=!1,a=void 0,l=void 0;for(l in E(n)&&(n=n(o),i=!0),n)a=n[l],i||!E(a)||(t=a)&&t.prototype&&t.prototype.isReactComponent||k(a)||(a=a(o)),r.attrs[l]=a,o[l]=a})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,o=n.componentStyle;n.warnTooManyClasses;return o.isStatic&&!r.length?o.generateAndInjectStyles(C,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(l.Component);function $e(e,t,n){var r=k(e),o=!Ne(e),i=t.displayName,a=void 0===i?function(e){return Ne(e)?"styled."+e:"Styled("+S(e)+")"}(e):i,l=t.componentId,c=void 0===l?function(e,t,n){var r="string"!=typeof t?"sc":Ae(t),o=(Ke[r]||0)+1;Ke[r]=o;var i=r+"-"+e.generateName(r+o);return n?n+"-"+i:i}(ke,t.displayName,t.parentComponentId):l,u=t.ParentComponent,f=void 0===u?Je:u,d=t.attrs,h=void 0===d?x:d,y=t.displayName&&t.componentId?Ae(t.displayName)+"-"+t.componentId:t.componentId||c,m=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,v=new ke(r?e.componentStyle.rules.concat(n):n,m,y),b=void 0,O=function(e,t){return s.a.createElement(f,g({},e,{forwardedComponent:b,forwardedRef:t}))};return O.displayName=a,(b=s.a.forwardRef(O)).displayName=a,b.attrs=m,b.componentStyle=v,b.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):x,b.styledComponentId=y,b.target=r?e.target:e,b.withComponent=function(e){var r=t.componentId,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["componentId"]),i=r&&r+"-"+(Ne(e)?e:Ae(S(e)));return $e(e,g({},o,{attrs:m,componentId:i,ParentComponent:f}),n)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(p.a)(e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},o&&Le(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var et=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;if(!Object(u.isValidElementType)(n))throw new N(1,String(n));var o=function(){return t(n,r,be.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,g({},r,o))},o.attrs=function(o){return e(t,n,g({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}($e,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){et[e]=et(e)}));var tt=function(){function e(t,n){m(this,e),this.rules=t,this.componentId=n,this.isStatic=Ce(t,x),fe.master.hasId(n)||fe.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=W(ge(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();function nt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)),i="sc-global-"+Oe(JSON.stringify(o)),a=new tt(o,i),l=function(e){function t(n){m(this,t);var r=O(this,e.call(this,n)),o=r.constructor,i=o.globalStyle,a=o.styledComponentId;return F&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),r.state={globalStyle:i,styledComponentId:a},r}return b(t,e),t.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},t.prototype.render=function(){var e=this;return s.a.createElement(Ze,null,(function(t){e.styleSheet=t||fe.master;var n=e.state.globalStyle;return n.isStatic?(n.renderStyles(A,e.styleSheet),null):s.a.createElement(We,null,(function(t){var r=e.constructor.defaultProps,o=g({},e.props);return void 0!==t&&(o.theme=je(e.props,t,r)),n.renderStyles(o,e.styleSheet),null}))}))},t}(s.a.Component);return l.globalStyle=a,l.styledComponentId=i,l}F&&(window.scCGSHMRCache={});var rt=function(e){return e.replace(/\s|\\n/g,"")};function ot(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=be.apply(void 0,[e].concat(n)),i=xe(Oe(rt(JSON.stringify(o))));return new de(i,W(o,i,"@keyframes"))}var it=function(e){var t=s.a.forwardRef((function(t,n){return s.a.createElement(We,null,(function(r){var o=e.defaultProps,i=je(t,r,o);return s.a.createElement(e,g({},t,{theme:i,ref:n}))}))}));return Le(t,e),t.displayName="WithTheme("+S(e)+")",t},at={StyleSheet:fe};t.default=et}.call(this,n("KCCg"))},"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},vXNv:function(e,t,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},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("QbLZ"),a=n.n(i),l=n("iCc5"),s=n.n(l),c=n("FYw3"),u=n.n(c),f=n("mRg0"),d=n.n(f),p=n("q1tI"),h=n.n(p),y=n("17x9"),m=n.n(y),v=n("TSYQ"),g=n.n(v),b=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=u()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:a()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return d()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,i=t.style,l=t.name,s=t.id,c=t.type,u=t.disabled,f=t.readOnly,d=t.tabIndex,p=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,b=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),w=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=g()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=u,e));return h.a.createElement("span",{className:C,style:i},h.a.createElement("input",a()({name:l,id:s,type:c,readOnly:f,disabled:u,tabIndex:d,className:n+"-input",checked:!!x,onClick:p,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:b},w)),h.a.createElement("span",{className:n+"-inner"}))},t}(p.Component);O.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(b.polyfill)(O);var w=O;t.a=w},"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)}}}]); \ No newline at end of file diff --git a/static/js/31.64a564dc.chunk.js.LICENSE.txt b/static/js/32.2dd9b86a.chunk.js.LICENSE.txt similarity index 100% rename from static/js/31.64a564dc.chunk.js.LICENSE.txt rename to static/js/32.2dd9b86a.chunk.js.LICENSE.txt diff --git a/static/js/33.109d81dc.chunk.js b/static/js/33.109d81dc.chunk.js new file mode 100644 index 000000000..e4a4398b9 --- /dev/null +++ b/static/js/33.109d81dc.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[33],{"+6XX":function(t,e,n){var r=n("y1pI");t.exports=function(t){return r(this.__data__,t)>-1}},"03A+":function(t,e,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,c=i.hasOwnProperty,a=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&c.call(t,"callee")&&!a.call(t,"callee")};t.exports=u},"2gN3":function(t,e,n){var r=n("Kz5y")["__core-js_shared__"];t.exports=r},"3Fdi":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"44Ds":function(t,e,n){var r=n("e4Nc");function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var c=t.apply(this,r);return n.cache=i.set(o,c)||i,c};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},"4kuk":function(t,e,n){var r=n("SfRM"),o=n("Hvzi"),i=n("u8Dt"),c=n("ekgI"),a=n("JSQU");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=c,u.prototype.set=a,t.exports=u},"4sDh":function(t,e,n){var r=n("4uTw"),o=n("03A+"),i=n("Z0cm"),c=n("wJg7"),a=n("shjB"),u=n("9Nap");t.exports=function(t,e,n){for(var s=-1,l=(e=r(e,t)).length,p=!1;++s<l;){var f=u(e[s]);if(!(p=null!=t&&n(t,f)))break;t=t[f]}return p||++s!=l?p:!!(l=null==t?0:t.length)&&a(l)&&c(f,l)&&(i(t)||o(t))}},"4uTw":function(t,e,n){var r=n("Z0cm"),o=n("9ggG"),i=n("GNiM"),c=n("dt0z");t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(c(t))}},"9Nap":function(t,e,n){var r=n("/9aa");t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},"9ggG":function(t,e,n){var r=n("Z0cm"),o=n("/9aa"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(c.test(t)||!i.test(t)||null!=e&&t in Object(e))}},Aosp:function(t,e,n){"use strict";n.r(e);n("SchZ"),n("Dt+G")},Cwc5:function(t,e,n){var r=n("NKxu"),o=n("Npjl");t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},"Dt+G":function(t,e,n){},E2jh:function(t,e,n){var r,o=n("2gN3"),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},GNiM:function(t,e,n){var r=n("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=c},H8j4:function(t,e,n){var r=n("QkVE");t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I01J:function(t,e,n){var r=n("44Ds");t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},JHgL:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).get(t)}},JSQU:function(t,e,n){var r=n("YESw");t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},JTzB:function(t,e,n){var r=n("NykK"),o=n("ExA7");t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},KMkd:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},NJEC:function(t,e,n){"use strict";n.r(e);var r=n("q1tI"),o=n("VCL8"),i=n("3S7+"),c=n("CtXQ"),a=n("2/Rp"),u=n("YMnH"),s=n("ZvpZ"),l=n("H84U");function p(t){return(p="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 f(){return(f=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}).apply(this,arguments)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?b(t):e}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(){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}}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},x=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&&h(t,e)}(x,t);var e,n,o,c,p=(e=x,function(){var t,n=_(e);if(d()){var r=_(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return y(this,t)});function x(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,x),(e=p.call(this,t)).onConfirm=function(t){e.setVisible(!1,t);var n=e.props.onConfirm;n&&n.call(b(e),t)},e.onCancel=function(t){e.setVisible(!1,t);var n=e.props.onCancel;n&&n.call(b(e),t)},e.onVisibleChange=function(t){e.props.disabled||e.setVisible(t)},e.saveTooltip=function(t){e.tooltip=t},e.renderOverlay=function(t,n){var o=e.props,i=o.okButtonProps,c=o.cancelButtonProps,u=o.title,s=o.cancelText,l=o.okText,p=o.okType,v=o.icon;return r.createElement("div",null,r.createElement("div",{className:"".concat(t,"-inner-content")},r.createElement("div",{className:"".concat(t,"-message")},v,r.createElement("div",{className:"".concat(t,"-message-title")},u)),r.createElement("div",{className:"".concat(t,"-buttons")},r.createElement(a.default,f({onClick:e.onCancel,size:"small"},c),s||n.cancelText),r.createElement(a.default,f({onClick:e.onConfirm,type:p,size:"small"},i),l||n.okText))))},e.renderConfirm=function(t){var n=t.getPrefixCls,o=e.props,c=o.prefixCls,a=o.placement,l=m(o,["prefixCls","placement"]),p=n("popover",c),v=r.createElement(u.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(t){return e.renderOverlay(p,t)}));return r.createElement(i.default,f({},l,{prefixCls:p,placement:a,onVisibleChange:e.onVisibleChange,visible:e.state.visible,overlay:v,ref:e.saveTooltip}))},e.state={visible:t.visible},e}return n=x,c=[{key:"getDerivedStateFromProps",value:function(t){return"visible"in t?{visible:t.visible}:"defaultVisible"in t?{visible:t.defaultVisible}:null}}],(o=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"setVisible",value:function(t,e){var n=this.props;"visible"in n||this.setState({visible:t});var r=n.onVisibleChange;r&&r(t,e)}},{key:"render",value:function(){return r.createElement(l.a,null,this.renderConfirm)}}])&&v(n.prototype,o),c&&v(n,c),x}(r.Component);x.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(c.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(x),e.default=x},NKxu:function(t,e,n){var r=n("lSCD"),o=n("E2jh"),i=n("GoyQ"),c=n("3Fdi"),a=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,l=u.toString,p=s.hasOwnProperty,f=RegExp("^"+l.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?f:a).test(c(t))}},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},QkVE:function(t,e,n){var r=n("EpBk");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},SfRM:function(t,e,n){var r=n("YESw");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},Xi7e:function(t,e,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),c=n("+6XX"),a=n("Z8oC");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=c,u.prototype.set=a,t.exports=u},YESw:function(t,e,n){var r=n("Cwc5")(Object,"create");t.exports=r},Z0cm:function(t,e){var n=Array.isArray;t.exports=n},Z8oC:function(t,e,n){var r=n("y1pI");t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},ZWtO:function(t,e,n){var r=n("4uTw"),o=n("9Nap");t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},adU4:function(t,e,n){var r=n("y1pI"),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},dt0z:function(t,e,n){var r=n("zoYe");t.exports=function(t){return null==t?"":r(t)}},e4Nc:function(t,e,n){var r=n("fGT3"),o=n("k+1r"),i=n("JHgL"),c=n("pSRY"),a=n("H8j4");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=c,u.prototype.set=a,t.exports=u},eUgh:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},ebwN:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Map");t.exports=r},ekgI:function(t,e,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},fGT3:function(t,e,n){var r=n("4kuk"),o=n("Xi7e"),i=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},"k+1r":function(t,e,n){var r=n("QkVE");t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},k994:function(t,e,n){"use strict";n.r(e);n("SchZ"),n("Aosp"),n("L/Qf")},lSCD:function(t,e,n){var r=n("NykK"),o=n("GoyQ");t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},ljhN:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},mwIZ:function(t,e,n){var r=n("ZWtO");t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},pSRY:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).has(t)}},shjB:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},tMB7:function(t,e,n){var r=n("y1pI");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},u8Dt:function(t,e,n){var r=n("YESw"),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},wJg7:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},zoYe:function(t,e,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),c=n("/9aa"),a=r?r.prototype:void 0,u=a?a.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(c(e))return u?u.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}}}]); \ No newline at end of file diff --git a/static/js/33.651e2241.chunk.js b/static/js/34.654f7a5d.chunk.js similarity index 99% rename from static/js/33.651e2241.chunk.js rename to static/js/34.654f7a5d.chunk.js index bc079e68a..7587e0db4 100644 --- a/static/js/33.651e2241.chunk.js +++ b/static/js/34.654f7a5d.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[33,71,77],{"+eQT":function(e,t,n){"use strict";n.r(t);var a=n("QbLZ"),r=n.n(a),o=n("iCc5"),l=n.n(o),i=n("FYw3"),s=n.n(i),c=n("mRg0"),u=n.n(c),p=n("q1tI"),f=n.n(p),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function C(e){return e}function O(e){return f.a.Children.map(e,C)}var w=n("01ui");function k(e){this.props.changeYear(e)}function E(){}var S=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.setAndSelectValue=function(e){a.setValue(e),a.props.onSelect(e)},a.setValue=function(e){"value"in a.props&&a.setState({value:e})},a.nextYear=k.bind(a,1),a.previousYear=k.bind(a,-1),a.prefixCls=n.rootPrefixCls+"-month-panel",a.state={value:n.value||n.defaultValue},a}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,a=e.cellRender,r=e.contentRender,o=e.renderFooter,l=t.year(),i=this.prefixCls,s=o&&o("month");return f.a.createElement("div",{className:i,style:e.style},f.a.createElement("div",null,f.a.createElement("div",{className:i+"-header"},f.a.createElement("a",{className:i+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),f.a.createElement("a",{className:i+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},f.a.createElement("span",{className:i+"-year-select-content"},l),f.a.createElement("span",{className:i+"-year-select-arrow"},"x")),f.a.createElement("a",{className:i+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),f.a.createElement("div",{className:i+"-body"},f.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:a,contentRender:r,prefixCls:i})),s&&f.a.createElement("div",{className:i+"-footer"},s)))},t}(f.a.Component);S.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},S.defaultProps={onChange:E,onSelect:E},Object(b.polyfill)(S);var P=S,x=n("TSYQ"),j=n.n(x);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function N(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var D=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.prefixCls=n.rootPrefixCls+"-year-panel",a.state={value:n.value||n.defaultValue},a.nextDecade=_.bind(a,10),a.previousDecade=_.bind(a,-10),a}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],a=0,r=0;r<4;r++){n[r]=[];for(var o=0;o<3;o++){var l=t+a,i=String(l);n[r][o]={content:i,year:l,title:i},a++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,a=t.locale,r=t.renderFooter,o=this.years(),l=n.year(),i=10*parseInt(l/10,10),s=i+9,c=this.prefixCls,u=o.map((function(t,n){var a=t.map((function(t){var n,a=((n={})[c+"-cell"]=1,n[c+"-selected-cell"]=t.year===l,n[c+"-last-decade-cell"]=t.year<i,n[c+"-next-decade-cell"]=t.year>s,n),r=void 0;return r=t.year<i?e.previousDecade:t.year>s?e.nextDecade:N.bind(e,t.year),f.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:r,className:j()(a)},f.a.createElement("a",{className:c+"-year"},t.content))}));return f.a.createElement("tr",{key:n,role:"row"},a)})),p=r&&r("year");return f.a.createElement("div",{className:this.prefixCls},f.a.createElement("div",null,f.a.createElement("div",{className:c+"-header"},f.a.createElement("a",{className:c+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:a.previousDecade}),f.a.createElement("a",{className:c+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:a.decadeSelect},f.a.createElement("span",{className:c+"-decade-select-content"},i,"-",s),f.a.createElement("span",{className:c+"-decade-select-arrow"},"x")),f.a.createElement("a",{className:c+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:a.nextDecade})),f.a.createElement("div",{className:c+"-body"},f.a.createElement("table",{className:c+"-table",cellSpacing:"0",role:"grid"},f.a.createElement("tbody",{className:c+"-tbody"},u))),p&&f.a.createElement("div",{className:c+"-footer"},p)))},t}(f.a.Component),V=D;D.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},D.defaultProps={onSelect:function(){}};function T(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function M(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.state={value:n.value||n.defaultValue},a.prefixCls=n.rootPrefixCls+"-decade-panel",a.nextCentury=T.bind(a,100),a.previousCentury=T.bind(a,-100),a}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,a=n.locale,r=n.renderFooter,o=t.year(),l=100*parseInt(o/100,10),i=l-10,s=l+99,c=[],u=0,p=this.prefixCls,d=0;d<4;d++){c[d]=[];for(var h=0;h<3;h++){var m=i+10*u,v=i+10*u+9;c[d][h]={startDecade:m,endDecade:v},u++}}var y=r&&r("decade"),b=c.map((function(t,n){var a=t.map((function(t){var n,a=t.startDecade,r=t.endDecade,i=a<l,c=r>s,u=((n={})[p+"-cell"]=1,n[p+"-selected-cell"]=a<=o&&o<=r,n[p+"-last-century-cell"]=i,n[p+"-next-century-cell"]=c,n),d=a+"-"+r,h=void 0;return h=i?e.previousCentury:c?e.nextCentury:M.bind(e,a),f.a.createElement("td",{key:a,onClick:h,role:"gridcell",className:j()(u)},f.a.createElement("a",{className:p+"-decade"},d))}));return f.a.createElement("tr",{key:n,role:"row"},a)}));return f.a.createElement("div",{className:this.prefixCls},f.a.createElement("div",{className:p+"-header"},f.a.createElement("a",{className:p+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:a.previousCentury}),f.a.createElement("div",{className:p+"-century"},l,"-",s),f.a.createElement("a",{className:p+"-next-century-btn",role:"button",onClick:this.nextCentury,title:a.nextCentury})),f.a.createElement("div",{className:p+"-body"},f.a.createElement("table",{className:p+"-table",cellSpacing:"0",role:"grid"},f.a.createElement("tbody",{className:p+"-tbody"},b))),y&&f.a.createElement("div",{className:p+"-footer"},y))},t}(f.a.Component),I=R;function A(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function F(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function H(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var L=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return Y.call(a),a.nextMonth=A.bind(a,1),a.previousMonth=A.bind(a,-1),a.nextYear=F.bind(a,1),a.previousYear=F.bind(a,-1),a.state={yearPanelReferer:null},a}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,a=t.locale,r=t.mode,o=t.value,l=t.showTimePicker,i=t.enableNext,s=t.enablePrev,c=t.disabledMonth,u=t.renderFooter,p=null;return"month"===r&&(p=f.a.createElement(P,{locale:a,value:o,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:c,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===r&&(p=f.a.createElement(V,{locale:a,defaultValue:o,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===r&&(p=f.a.createElement(I,{locale:a,defaultValue:o,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),f.a.createElement("div",{className:n+"-header"},f.a.createElement("div",{style:{position:"relative"}},H(s&&!l,f.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:a.previousYear})),H(s&&!l,f.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:a.previousMonth})),this.monthYearElement(l),H(i&&!l,f.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:a.nextMonth})),H(i&&!l,f.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:a.nextYear}))),p)},t}(f.a.Component);L.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},L.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var Y=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,a=n.prefixCls,r=n.locale,o=n.value,l=o.localeData(),i=r.monthBeforeYear,s=a+"-"+(i?"my-select":"ym-select"),c=t?" "+a+"-time-status":"",u=f.a.createElement("a",{className:a+"-year-select"+c,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:r.yearSelect},o.format(r.yearFormat)),p=f.a.createElement("a",{className:a+"-month-select"+c,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:r.monthSelect},r.monthFormat?o.format(r.monthFormat):l.monthsShort(o)),d=void 0;t&&(d=f.a.createElement("a",{className:a+"-day-select"+c,role:"button"},o.format(r.dayFormat)));var h=[];return h=i?[p,d,u]:[u,p,d],f.a.createElement("span",{className:s},O(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},W=L,B=n("GrtH");function G(e){var t=e.prefixCls,n=e.locale,a=e.value,r=e.timePicker,o=e.disabled,l=e.disabledDate,i=e.onToday,s=e.text,c=(!s&&r?n.now:s)||n.today,u=l&&!Object(B.g)(Object(B.e)(a),l)||o,p=u?t+"-today-btn-disabled":"";return f.a.createElement("a",{className:t+"-today-btn "+p,role:"button",onClick:u?null:i,title:Object(B.f)(a)},c)}function Q(e){var t=e.prefixCls,n=e.locale,a=e.okDisabled,r=e.onOk,o=t+"-ok-btn";return a&&(o+=" "+t+"-ok-btn-disabled"),f.a.createElement("a",{className:o,role:"button",onClick:a?null:r},n.ok)}function K(e){var t,n=e.prefixCls,a=e.locale,r=e.showTimePicker,o=e.onOpenTimePicker,l=e.onCloseTimePicker,i=e.timePickerDisabled,s=j()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=i,t)),c=null;return i||(c=r?l:o),f.a.createElement("a",{className:s,role:"button",onClick:c},r?a.dateSelect:a.timeSelect)}var Z=function(e){function t(){return l()(this,t),s()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,a=e.showOk,o=e.timePicker,l=e.renderFooter,i=e.mode,s=null,c=l&&l(i);if(e.showToday||o||c){var u,p=void 0;e.showToday&&(p=f.a.createElement(G,r()({},e,{value:t})));var d=void 0;(!0===a||!1!==a&&e.timePicker)&&(d=f.a.createElement(Q,e));var h=void 0;e.timePicker&&(h=f.a.createElement(K,e));var m=void 0;(p||h||d||c)&&(m=f.a.createElement("span",{className:n+"-footer-btn"},c,O([p,h,d])));var v=j()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));s=f.a.createElement("div",{className:v},m)}return s},t}(f.a.Component);Z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var z=Z,q=n("jBZG"),X=n("F4Vz"),U=n("wd/R"),J=n.n(U),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));ae.call(a);var r=n.selectedValue;return a.state={str:Object(B.a)(r,a.props.format),invalid:!1,hasFocus:!1},a}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var a=e.selectedValue;return t.hasFocus||(n={str:Object(B.a)(a,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,a=t.str,r=e.locale,o=e.prefixCls,l=e.placeholder,i=e.clearIcon,s=e.inputMode,c=n?o+"-input-invalid":"";return f.a.createElement("div",{className:o+"-input-wrap"},f.a.createElement("div",{className:o+"-date-input-wrap"},f.a.createElement("input",{ref:this.saveDateInput,className:o+"-input "+c,value:a,disabled:e.disabled,placeholder:l,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:s})),e.showClear?f.a.createElement("a",{role:"button",title:r.clear,onClick:this.onClear},i||f.a.createElement("span",{className:o+"-clear-btn"})):null)},t}(f.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var ae=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,a=e.props,r=a.disabledDate,o=a.format,l=a.onChange,i=a.selectedValue;if(!n)return l(null),void e.setState({invalid:!1,str:n});var s=J()(n,o,!0);if(s.isValid()){var c=e.props.value.clone();c.year(s.year()).month(s.month()).date(s.date()).hour(s.hour()).minute(s.minute()).second(s.second()),!c||r&&r(c)?e.setState({invalid:!0,str:n}):(i!==c||i&&c&&!i.isSame(c))&&(e.setState({invalid:!1,str:n}),l(c))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(B.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,a=e.props,r=a.onSelect,o=a.value,l=a.disabledDate;n===y.a.ENTER&&r&&((!l||!l(o))&&r(o.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var re=ne;function oe(e){return e.clone().startOf("month")}function le(e){return e.clone().endOf("month")}function ie(e,t,n){return e.clone().add(t,n)}function se(){}var ce=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return pe.call(a),a.state={mode:a.props.mode||"date",value:ce(n.value)||ce(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},a}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(re.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,a=e.selectedValue,r={};return"mode"in e&&t.mode!==e.mode&&(r={mode:e.mode}),"value"in e&&(r.value=ce(n)||ce(e.defaultValue)||Object(q.d)(t.value)),"selectedValue"in e&&(r.selectedValue=a),r},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,a=e.prefixCls,o=e.disabledDate,l=e.dateInputPlaceholder,i=e.timePicker,s=e.disabledTime,c=e.clearIcon,u=e.renderFooter,p=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,C=b&&s&&i?Object(B.c)(v,s):null,O=null;if(i&&b){var w=r()({showHour:!0,showSecond:!0,showMinute:!0},i.props,C,{onChange:this.onDateInputChange,value:v,disabledTime:s});void 0!==i.props.defaultValue&&(w.defaultOpenValue=i.props.defaultValue),O=f.a.cloneElement(i,w)}var k=e.showDateInput?f.a.createElement(re,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:l,showClear:!0,disabledTime:s,disabledDate:o,onClear:this.onClear,prefixCls:a,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:c,inputMode:p}):null,E=[];return e.renderSidebar&&E.push(e.renderSidebar()),E.push(f.a.createElement("div",{className:a+"-panel",key:"panel"},k,f.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:a+"-date-panel"},f.a.createElement(W,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:a,monthCellRender:d,monthCellContentRender:h}),i&&b?f.a.createElement("div",{className:a+"-time-picker"},f.a.createElement("div",{className:a+"-time-picker-panel"},O)):null,f.a.createElement("div",{className:a+"-body"},f.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:a,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:o,showWeekNumber:e.showWeekNumber})),f.a.createElement(z,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:a,showToday:e.showToday,disabledTime:s,showTimePicker:b,showDateInput:e.showDateInput,timePicker:i,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:o,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:E,className:e.showWeekNumber?a+"-week-number":""})},t}(f.a.Component);ue.propTypes=r()({},q.b,X.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=r()({},q.a,X.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:se,onPanelChange:se,focusablePanel:!0});var pe=function(){var e=this;this.onPanelChange=function(t,n){var a=e.props,r=e.state;"mode"in a||e.setState({mode:n}),a.onPanelChange(t||r.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,a=t.ctrlKey||t.metaKey,r=e.props.disabledDate,o=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return a?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return a?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(oe(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(le(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return r&&r(o)||e.onSelect(o,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var a=n.props.defaultValue;a&&Object(B.h)(a,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(B.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=re.getInstance(),a=e.rootInstance;!a||a.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(ie(e.state.value,t,n))}};Object(b.polyfill)(ue);var fe=Object(q.c)(Object(X.a)(ue)),de=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,r=a.state.value,o=a.props.disabledDate,l=r;switch(t){case y.a.DOWN:(l=r.clone()).add(3,"months");break;case y.a.UP:(l=r.clone()).add(-3,"months");break;case y.a.LEFT:l=r.clone(),n?l.add(-1,"years"):l.add(-1,"months");break;case y.a.RIGHT:l=r.clone(),n?l.add(1,"years"):l.add(1,"months");break;case y.a.ENTER:return o&&o(r)||a.onSelect(r),e.preventDefault(),1;default:return}if(l!==r)return a.setValue(l),e.preventDefault(),1},a.handlePanelChange=function(e,t){"date"!==t&&a.setState({mode:t})},a.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},a}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,a=t.value,r=f.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},f.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},f.a.createElement(W,{prefixCls:e.prefixCls,mode:n,value:a,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),f.a.createElement(z,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:r})},t}(f.a.Component);de.propTypes=r()({},q.b,X.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=r()({},X.b,q.a);var he=Object(b.polyfill)(Object(q.c)(Object(X.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Ce(){}function Oe(e,t){this[e]=t}var we=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));ke.call(a);var r=void 0;r="open"in n?n.open:n.defaultOpen;var o=n.value||n.defaultValue;return a.saveCalendarRef=Oe.bind(a,"calendarInstance"),a.state={open:r,value:o},a}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,a=e.open;return"value"in e&&(t.value=n),void 0!==a&&(t.open=a),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,a=e.style,r=e.getCalendarContainer,o=e.align,l=e.animation,i=e.disabled,s=e.dropdownClassName,c=e.transitionName,u=e.children,p=this.state;return f.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:o,builtinPlacements:be,popupPlacement:n,action:i&&!p.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:r,popupStyle:a,popupAnimation:l,popupTransitionName:c,popupVisible:p.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:s},f.a.cloneElement(u(p,e),{onKeyDown:this.onKeyDown}))},t}(f.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Ce,onOpenChange:Ce,onBlur:Ce};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.props;"value"in a||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!a.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),a.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,a=t.calendar.props,r=n.value,o=r,l={ref:e.saveCalendarRef,defaultValue:o||a.defaultValue,selectedValue:r,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(a.onOk,e.onCalendarOk),onSelect:Object(me.a)(a.onSelect,e.onCalendarSelect),onClear:Object(me.a)(a.onClear,e.onCalendarClear),onBlur:Object(me.a)(a.onBlur,e.onCalendarBlur)};return f.a.cloneElement(t.calendar,l)},this.setOpen=function(t,n){var a=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),a(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Ee=we,Se=n("BGR+"),Pe=n("CtXQ"),xe=n("H84U"),je=n("6CfX"),_e=n("veqR"),Ne=n("RqAY");function De(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}function Ve(e){return(Ve="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(){return(Te=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}).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 Re(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)}}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){return!t||"object"!==Ve(t)&&"function"!=typeof t?Fe(e):t}function Fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function He(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ye(e){var t=function(t){!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,t);var n,a,r,o,l=(n=i,function(){var e,t=Le(n);if(He()){var a=Le(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Ae(this,e)});function i(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=l.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Fe(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,De(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Fe(n),a=t.prefixCls;return e?p.createElement("div",{className:"".concat(a,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var a,r,o=t.getPrefixCls,l=n.state,i=l.value,s=l.showDate,c=l.open,u=Object(Se.a)(n.props,["onChange"]),f=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=o("calendar",f);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=j()((Me(a={},"".concat(v,"-time"),u.showTime),Me(a,"".concat(v,"-month"),he===e),a));i&&h&&i.locale(h);var C={},O={},w={};u.showTime?(O={onSelect:n.handleChange},w.minWidth=195):C={onChange:n.handleChange},"mode"in u&&(O.mode=u.mode),Object(je.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=p.createElement(e,Te({},O,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(U)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:s})),E=!u.disabled&&u.allowClear&&i?p.createElement(Pe.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,S=m&&(p.isValidElement(m)?p.cloneElement(m,{className:j()((r={},Me(r,m.props.className,m.props.className),Me(r,"".concat(v,"-picker-icon"),!0),r))}):p.createElement("span",{className:"".concat(v,"-picker-icon")},m))||p.createElement(Pe.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),P=Object(Ne.a)(u),x=function(e){var t=e.value;return p.createElement("div",null,p.createElement("input",Te({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:De(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},P)),E,S)};return p.createElement("span",{id:u.id,className:j()(u.className,u.pickerClass),style:Te(Te({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},p.createElement(Ee,Te({},u,C,{calendar:k,value:i,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:c,onOpenChange:n.handleOpenChange}),x))};var a=t.value||t.defaultValue;if(a&&!Object(_e.a)(U).isMoment(a))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:a,showDate:a,open:!1},n}return a=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},a=t.open;return"open"in e&&(n.open=e.open,a=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!a&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderPicker)}}])&&Re(a.prototype,r),o&&Re(a,o),i}(p.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}function We(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)}}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze=function(e){function t(e){var n,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,r=Be(t).call(this,e),n=!r||"object"!=typeof r&&"function"!=typeof r?Ge(a):r,Ke(Ge(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var a=n.props,r=a.format,o=a.hourOptions,l=a.minuteOptions,i=a.secondOptions,s=a.disabledHours,c=a.disabledMinutes,u=a.disabledSeconds,p=a.onChange;if(t){var f=n.props.value,d=n.getProtoValue().clone(),h=J()(t,r,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),o.indexOf(d.hour())<0||l.indexOf(d.minute())<0||i.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=s(),v=c(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(f){if(f.hour()!==d.hour()||f.minute()!==d.minute()||f.second()!==d.second()){var b=f.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),p(b)}}else f!==d&&p(d)}else p(null);n.setState({invalid:!1})})),Ke(Ge(n),"onKeyDown",(function(e){var t=n.props,a=t.onEsc,r=t.onKeyDown;27===e.keyCode&&a(),r(e)}));var o=e.value,l=e.format;return n.state={str:o&&o.format(l)||"",invalid:!1},n}var n,a,r;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&&Qe(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,a=t.format;n!==e.value&&this.setState({str:n&&n.format(a)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.placeholder,r=t.inputReadOnly,o=this.state,l=o.invalid,i=o.str,s=l?"".concat(n,"-input-invalid"):"";return f.a.createElement("input",{className:j()("".concat(n,"-input"),s),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:i,placeholder:a,onChange:this.onInputChange,readOnly:!!r})}},{key:"render",value:function(){var e=this.props.prefixCls;return f.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&We(n.prototype,a),r&&We(n,r),t}(p.Component);Ke(Ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),Ke(Ze,"defaultProps",{inputReadOnly:!1});var ze=Ze,qe=n("hxti"),Xe=n.n(qe);function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(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)}}function $e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=function(e){function t(){var e,n;Ue(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return at(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(r)))),"state",{active:!1}),at(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),at(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),at(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),at(tt(n),"saveList",(function(e){n.list=e})),n}var n,a,r;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&&nt(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,a=t.selectedIndex,r=t.prefixCls,o=t.onEsc;return n.map((function(t,n){var l,i=j()((at(l={},"".concat(r,"-select-option-selected"),a===n),at(l,"".concat(r,"-select-option-disabled"),t.disabled),l)),s=t.disabled?void 0:function(){e.onSelect(t.value)};return f.a.createElement("li",{role:"button",onClick:s,className:i,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?s():27===e.keyCode&&o()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),a=h.a.findDOMNode(this.list);if(a){var r=t;r<0&&(r=0),function e(t,n,a){if(a<=0)Xe()((function(){t.scrollTop=n}));else{var r=(n-t.scrollTop)/a*10;Xe()((function(){t.scrollTop+=r,t.scrollTop!==n&&e(t,n,a-10)}))}}(n,a.children[r].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,a=this.state.active;if(0===n.length)return null;var r=j()("".concat(t,"-select"),at({},"".concat(t,"-select-active"),a));return f.a.createElement("div",{className:r,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},f.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,a),r&&Je(n,r),t}(p.Component);at(rt,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var ot=rt;function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(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)}}function st(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function ct(e){return(ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var a=!1;return t&&t.indexOf(e)>=0&&(a=!0),{value:n,disabled:a}},ht=function(e){function t(){var e,n;lt(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return ft(ut(n=st(this,(e=ct(t)).call.apply(e,[this].concat(r)))),"onItemChange",(function(e,t){var a=n.props,r=a.onChange,o=a.defaultOpenValue,l=a.use12Hours,i=a.value,s=a.isAM,c=a.onAmPmChange,u=(i||o).clone();if("hour"===e)l?s?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var p=t.toUpperCase();l&&("PM"===p&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===p&&u.hour()>=12&&u.hour(u.hour()-12)),c(p)}else u.second(+t);r(u)})),ft(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,a,r;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&&pt(e,t)}(t,e),n=t,(a=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.hourOptions,o=n.disabledHours,l=n.showHour,i=n.use12Hours,s=n.onEsc;if(!l)return null;var c,u,p=o();return i?(c=[12].concat(r.filter((function(e){return e<12&&e>0}))),u=e%12||12):(c=r,u=e),f.a.createElement(ot,{prefixCls:a,options:c.map((function(e){return dt(e,p)})),selectedIndex:c.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:s})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.minuteOptions,o=n.disabledMinutes,l=n.defaultOpenValue,i=n.showMinute,s=n.value,c=n.onEsc;if(!i)return null;var u=o((s||l).hour());return f.a.createElement(ot,{prefixCls:a,options:r.map((function(e){return dt(e,u)})),selectedIndex:r.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:c})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.secondOptions,o=n.disabledSeconds,l=n.showSecond,i=n.defaultOpenValue,s=n.value,c=n.onEsc;if(!l)return null;var u=s||i,p=o(u.hour(),u.minute());return f.a.createElement(ot,{prefixCls:a,options:r.map((function(e){return dt(e,p)})),selectedIndex:r.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:c})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.use12Hours,r=t.format,o=t.isAM,l=t.onEsc;if(!a)return null;var i=["am","pm"].map((function(e){return r.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),s=o?0:1;return f.a.createElement(ot,{prefixCls:n,options:i,selectedIndex:s,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:l})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,a=e.value||n;return f.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(a.hour()),this.getMinuteSelect(a.minute()),this.getSecondSelect(a.second()),this.getAMPMSelect(a.hour()))}}])&&it(n.prototype,a),r&&it(n,r),t}(p.Component);ft(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(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)}}function gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ot(e):t}function Ct(e){return(Ct=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 wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(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(){}function St(e,t,n){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=[],o=0;o<e;o+=a)(!t||t.indexOf(o)<0||!n)&&r.push(o);return r}var Pt=function(e){function t(){var e,n;yt(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return kt(Ot(n=gt(this,(e=Ct(t)).call.apply(e,[this].concat(r)))),"state",{}),kt(Ot(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ot(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ot(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ot(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,a=(0,e.disabledHours)();return t&&Array.isArray(a)&&(a=n.isAM()?a.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):a.map((function(e){return 12===e?12:e-12}))),a})),n}var n,a,r;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&&wt(e,t)}(t,e),n=t,r=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(a=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,a=e.placeholder,r=e.disabledMinutes,o=e.disabledSeconds,l=e.hideDisabledOptions,i=e.showHour,s=e.showMinute,c=e.showSecond,u=e.format,p=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,C=e.minuteStep,O=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,E=this.state,S=E.value,P=E.currentSelectPanel,x=this.disabledHours(),_=r(S?S.hour():null),N=o(S?S.hour():null,S?S.minute():null),D=St(24,x,l,g),V=St(60,_,l,C),T=St(60,N,l,O),M=function(e,t,n,a){var r=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],o=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],l=a.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(r,":").concat(o,":").concat(l),"HH:mm:ss")}(p,D,V,T);return f.a.createElement("div",{className:j()(n,"".concat(t,"-inner"))},f.a.createElement(ze,{clearText:d,prefixCls:t,defaultOpenValue:M,value:S,currentSelectPanel:P,onEsc:h,format:u,placeholder:a,hourOptions:D,minuteOptions:V,secondOptions:T,disabledHours:this.disabledHours,disabledMinutes:r,disabledSeconds:o,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),f.a.createElement(mt,{prefixCls:t,value:S,defaultOpenValue:M,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:i,showMinute:s,showSecond:c,hourOptions:D,minuteOptions:V,secondOptions:T,disabledHours:this.disabledHours,disabledMinutes:r,disabledSeconds:o,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,a),r&&bt(n,r),t}(p.Component);kt(Pt,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Pt,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:Et,disabledHours:Et,disabledMinutes:Et,disabledSeconds:Et,defaultOpenValue:J()(),use12Hours:!1,addon:Et,onKeyDown:Et,onAmPmChange:Et,inputReadOnly:!1}),Object(b.polyfill)(Pt);var xt=Pt,jt=n("61s2"),_t=n("YMnH"),Nt={adjustX:1,adjustY:1},Dt=[0,0],Vt={bottomLeft:{points:["tl","tl"],overflow:Nt,offset:[0,-3],targetOffset:Dt},bottomRight:{points:["tr","tr"],overflow:Nt,offset:[0,-3],targetOffset:Dt},topRight:{points:["br","br"],overflow:Nt,offset:[0,3],targetOffset:Dt},topLeft:{points:["bl","bl"],overflow:Nt,offset:[0,3],targetOffset:Dt}};function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Mt(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)}}function Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function It(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ht(){}function Lt(e,t){this[e]=t}var Yt=function(e){function t(e){var n,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,r=Rt(t).call(this,e),n=!r||"object"!=typeof r&&"function"!=typeof r?It(a):r,Ft(It(n),"onPanelChange",(function(e){n.setValue(e)})),Ft(It(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),Ft(It(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),Ft(It(n),"onVisibleChange",(function(e){n.setOpen(e)})),Ft(It(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),Ft(It(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Lt.bind(It(n),"picker"),n.savePanelRef=Lt.bind(It(n),"panelInstance");var o=e.defaultOpen,l=e.defaultValue,i=e.open,s=void 0===i?o:i,c=e.value,u=void 0===c?l:c;return n.state={open:s,value:u},n}var n,a,r;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&&At(e,t)}(t,e),n=t,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(a=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,a=e.showMinute,r=e.showSecond,o=e.use12Hours;return t||(o?[n?"h":"",a?"mm":"",r?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",a?"mm":"",r?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,a=e.disabledHours,r=e.disabledMinutes,o=e.disabledSeconds,l=e.hideDisabledOptions,i=e.inputReadOnly,s=e.showHour,c=e.showMinute,u=e.showSecond,p=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,C=e.secondStep,O=e.clearIcon,w=this.state.value;return f.a.createElement(xt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:i,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:p,showHour:s,showMinute:c,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:a,disabledMinutes:r,disabledSeconds:o,hideDisabledOptions:l,use12Hours:m,hourStep:b,minuteStep:g,secondStep:C,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:O})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,a=e.showSecond,r=e.use12Hours,o=e.prefixCls,l=e.popupClassName,i=0;return t&&(i+=1),n&&(i+=1),a&&(i+=1),r&&(i+=1),j()(l,Ft({},"".concat(o,"-panel-narrow"),!(t&&n&&a||r)),"".concat(o,"-panel-column-").concat(i))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,a=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):a({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,a=n.prefixCls,r=n.allowEmpty,o=n.clearIcon,l=n.clearText,i=n.disabled;if(!r||!t||i)return null;if(f.a.isValidElement(o)){var s=(o.props||{}).onClick;return f.a.cloneElement(o,{onClick:function(){s&&s.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return f.a.createElement("a",{role:"button",className:"".concat(a,"-clear"),title:l,onClick:this.onClear,tabIndex:0},o||f.a.createElement("i",{className:"".concat(a,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,a=e.placement,r=e.align,o=e.id,l=e.disabled,i=e.transitionName,s=e.style,c=e.className,u=e.getPopupContainer,p=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,C=this.state,O=C.open,w=C.value,k=this.getPopupClassName();return f.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:r,builtinPlacements:Vt,popupPlacement:a,action:l?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:i,popupVisible:O,onPopupVisibleChange:this.onVisibleChange},f.a.createElement("span",{className:j()(t,c),style:s},f.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:p,onKeyDown:this.onKeyDown,disabled:l,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Ht,readOnly:!!y,id:o}),b||f.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&Mt(n.prototype,a),r&&Mt(n,r),t}(p.Component);Ft(Yt,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),Ft(Yt,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Ht,disabledMinutes:Ht,disabledSeconds:Ht,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Ht,onAmPmChange:Ht,onOpen:Ht,onClose:Ht,onFocus:Ht,onBlur:Ht,addon:Ht,use12Hours:!1,focusOnOpen:!1,onKeyDown:Ht}),Object(b.polyfill)(Yt);var Wt=Yt,Bt=n("RlXo");function Gt(e){return(Gt="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 Qt(){return(Qt=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}).apply(this,arguments)}function Kt(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)}}function Zt(e,t){return(Zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(e,t){return!t||"object"!==Gt(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 qt(){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 Xt(e){return(Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ut=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};function Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&Zt(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=Xt(t);if(qt()){var a=Xt(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return zt(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).getDefaultLocale=function(){return Qt(Qt({},Bt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,a=t.props.onOpenChange;a&&a(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,a=n.onChange,r=n.format,o=void 0===r?"HH:mm:ss":r;a&&a(e,e&&e.format(o)||"")},t.renderTimePicker=function(e){return p.createElement(xe.a,null,(function(n){var a=n.getPopupContainer,r=n.getPrefixCls,o=t.props,l=o.getPopupContainer,i=o.prefixCls,s=o.className,c=o.addon,u=o.placeholder,f=Ut(o,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=f.size,h=Object(Se.a)(f,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=r("time-picker",i),y=j()(s,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return p.createElement(Wt,Qt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:l||a,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return c?p.createElement("div",{className:"".concat(v,"-panel-addon")},c(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(U).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(je.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(a=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&p.isValidElement(t)&&p.cloneElement(t,{className:j()(t.props.className,"".concat(e,"-clock-icon"))})||p.createElement(Pe.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return p.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&p.isValidElement(t)?p.cloneElement(t,{className:j()(t.props.className,n)}):p.createElement(Pe.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return p.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&Kt(n.prototype,a),r&&Kt(n,r),l}(p.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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}).apply(this,arguments)}function an(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(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)}}function on(e,t){return(on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 sn(){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 cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},pn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function fn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(je.a)(!Object(_e.a)(U).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&on(e,t)}(s,n);var a,r,o,l,i=(a=s,function(){var e,t=cn(a);if(sn()){var n=cn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function s(){var n;return an(this,s),(n=i.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},jt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(a,r){var o=n.props,l=o.format,i=o.showTime,s=i?"".concat(t,"Time"):t,c=l||a[pn[s]]||un[s];return p.createElement(xe.a,null,(function(t){var o,l=t.getPrefixCls,s=t.getPopupContainer,u=n.props,f=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||s,b=l("calendar",f),g=l("input",d),C=j()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),O=j()("".concat(b,"-picker-input"),g,(tn(o={},"".concat(g,"-lg"),"large"===m),tn(o,"".concat(g,"-sm"),"small"===m),tn(o,"".concat(g,"-disabled"),v),o)),w=i&&i.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:i&&i.use12Hours}),E=fn(k),S="".concat(b,"-time-picker-column-").concat(E),P=i?p.createElement(xt,nn({},k,i,{prefixCls:"".concat(b,"-time-picker"),className:S,placeholder:a.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return p.createElement(e,nn({},n.props,{getCalendarContainer:y,format:c,ref:n.savePicker,pickerClass:C,pickerInputClass:O,locale:a,localeCode:r,timePicker:P,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return r=s,l=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return p.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&rn(r.prototype,o),l&&rn(r,l),s}(p.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return l()(this,t),s()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,a=e.hoverValue,o=e.selectedValue,l=e.mode,i=e.direction,s=e.locale,c=e.format,u=e.placeholder,p=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,C=e.enablePrev,O=e.enableNext,w=e.clearIcon,k=e.showClear,E=e.inputMode,S=v&&d,P=S&&h?Object(B.c)(o,h):null,x=t+"-range",j={locale:s,value:n,prefixCls:t,showTimePicker:v},_="left"===i?0:1,N=S&&f.a.cloneElement(d,r()({showHour:!0,showMinute:!0,showSecond:!0},d.props,P,m,{onChange:y,defaultOpenValue:n,value:o[_]})),D=e.showDateInput&&f.a.createElement(re,{format:c,locale:s,prefixCls:t,timePicker:d,disabledDate:p,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:o[_],onChange:y,onSelect:b,clearIcon:w,inputMode:E});return f.a.createElement("div",{className:x+"-part "+x+"-"+i},D,f.a.createElement("div",{style:{outline:"none"}},f.a.createElement(W,r()({},j,{mode:l,enableNext:O,enablePrev:C,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?f.a.createElement("div",{className:t+"-time-picker"},f.a.createElement("div",{className:t+"-time-picker-panel"},N)):null,f.a.createElement("div",{className:t+"-body"},f.a.createElement(g.a,r()({},j,{hoverValue:a,selectedValue:o,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:p,showWeekNumber:e.showWeekNumber})))))},t}(f.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function Cn(e,t){var n,a=e.selectedValue||t&&e.defaultSelectedValue,r=e.value||t&&e.defaultValue,o=gn(r||a);return n=o,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?o:t&&[J()(),J()().add(1,"months")]}function On(e,t){for(var n=t?t().concat():[],a=0;a<e;a++)-1===n.indexOf(a)&&n.push(a);return n}function wn(e,t,n){if(t){var a=this.state.selectedValue.concat(),r="left"===e?0:1;a[r]=t,a[0]&&this.compare(a[0],a[1])>0&&(a[1-r]=this.state.showTimePicker?a[r]:void 0),this.props.onInputSelect(a),this.fireSelectValueChange(a,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));En.call(a);var r=n.selectedValue||n.defaultSelectedValue,o=Cn(n,1);return a.state={selectedValue:r,prevSelectedValue:r,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:o,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},a}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=Cn(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,a=this.state,o=n.prefixCls,l=n.dateInputPlaceholder,i=n.seperator,s=n.timePicker,c=n.showOk,u=n.locale,p=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=a.hoverValue,y=a.selectedValue,b=a.mode,g=a.showTimePicker,C=((e={})[n.className]=!!n.className,e[o]=1,e[o+"-hidden"]=!n.visible,e[o+"-range"]=1,e[o+"-show-time-picker"]=g,e[o+"-week-number"]=n.showWeekNumber,e),O=j()(C),w={selectedValue:a.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,E=void 0;l&&(Array.isArray(l)?(k=l[0],E=l[1]):k=E=l);var S=!0===c||!1!==c&&!!s,P=j()(((t={})[o+"-footer"]=!0,t[o+"-range-bottom"]=!0,t[o+"-footer-show-ok"]=S,t)),x=this.getStartValue(),_=this.getEndValue(),N=Object(B.e)(x),D=N.month(),V=N.year(),T=x.year()===V&&x.month()===D||_.year()===V&&_.month()===D,M=x.clone().add(1,"months"),R=M.year()===_.year()&&M.month()===_.month(),I=n.renderFooter();return f.a.createElement("div",{ref:this.saveRoot,className:O,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),f.a.createElement("div",{className:o+"-panel"},p&&y[0]&&y[1]?f.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||f.a.createElement("span",{className:o+"-clear-btn"})):null,f.a.createElement("div",{className:o+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},f.a.createElement(vn,r()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:x,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:s,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),f.a.createElement("span",{className:o+"-range-middle"},i),f.a.createElement(vn,r()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:E,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:s,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),f.a.createElement("div",{className:P},d||n.timePicker||S||I?f.a.createElement("div",{className:o+"-footer-btn"},I,d?f.a.createElement(G,r()({},n,{disabled:T,value:a.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?f.a.createElement(K,r()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,S?f.a.createElement(Q,r()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(f.a.Component);kn.propTypes=r()({},X.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=r()({},X.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var En=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,a=e.state,r=a.selectedValue,o=a.prevSelectedValue,l=a.firstSelectedValue,i=void 0;if("both"===n)l?e.compare(l,t)<0?(Object(B.h)(o[1],t),i=[l,t]):(Object(B.h)(o[0],t),Object(B.h)(o[1],l),i=[t,l]):(Object(B.h)(o[0],t),i=[t]);else if("start"===n){Object(B.h)(o[0],t);var s=r[1];i=s&&e.compare(s,t)>0?[t,s]:[t]}else{var c=r[0];c&&e.compare(c,t)<=0?(Object(B.h)(o[1],t),i=[c,t]):(Object(B.h)(o[0],t),i=[t])}e.fireSelectValueChange(i)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,a=t.ctrlKey||t.metaKey,r=e.state,o=r.selectedValue,l=r.hoverValue,i=r.firstSelectedValue,s=r.value,c=e.props,u=c.onKeyDown,p=c.disabledDate,f=function(n){var a=void 0,r=void 0,c=void 0;if(i?1===l.length?(a=l[0].clone(),r=n(a),c=e.onDayHover(r)):(a=l[0].isSame(i,"day")?l[1]:l[0],r=n(a),c=e.onDayHover(r)):(a=l[0]||o[0]||s[0]||J()(),c=[r=n(a)],e.fireHoverValueChange(c)),c.length>=2){if(c.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(s,e,"month")}))){var u=c.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===c.length){var p=s.findIndex((function(e){return e.isSame(a,"month")}));if(-1===p&&(p=0),s.every((function(e){return!e.isSame(r,"month")}))){var f=s.slice();f[p]=r.clone(),e.fireValueChange(f)}}return t.preventDefault(),r};switch(n){case y.a.DOWN:return void f((function(e){return ie(e,1,"weeks")}));case y.a.UP:return void f((function(e){return ie(e,-1,"weeks")}));case y.a.LEFT:return void f(a?function(e){return ie(e,-1,"years")}:function(e){return ie(e,-1,"days")});case y.a.RIGHT:return void f(a?function(e){return ie(e,1,"years")}:function(e){return ie(e,1,"days")});case y.a.HOME:return void f((function(e){return oe(e)}));case y.a.END:return void f((function(e){return le(e)}));case y.a.PAGE_DOWN:return void f((function(e){return ie(e,1,"month")}));case y.a.PAGE_UP:return void f((function(e){return ie(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===l.length?f((function(e){return e})):1===l.length?l[0]:l[0].isSame(i,"day")?l[1]:l[0])||p&&p(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],a=e.state,r=a.selectedValue,o=a.firstSelectedValue,l=e.props.type;if("start"===l&&r[1])n=e.compare(t,r[1])<0?[t,r[1]]:[t];else if("end"===l&&r[0])n=e.compare(t,r[0])>0?[r[0],t]:[];else{if(!o)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,o)<0?[t,o]:[o,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(B.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=["left"].concat(n);return wn.apply(e,r)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=["right"].concat(n);return wn.apply(e,r)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var a=e.props,r=e.state,o=[n,r.mode[1]],l={panelTriggerSource:"start"};"mode"in a||(l.mode=o),e.setState(l);var i=[t||r.value[0],r.value[1]];a.onPanelChange(i,o)},this.onEndPanelChange=function(t,n){var a=e.props,r=e.state,o=[r.mode[0],n],l={panelTriggerSource:"end"};"mode"in a||(l.mode=o),e.setState(l);var i=[r.value[0],t||r.value[1]];a.onPanelChange(i,o)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,a=t.showTimePicker,r=t.value,o=t.mode,l=t.panelTriggerSource,i=r[0];return n[0]&&e.props.timePicker&&(i=i.clone(),Object(B.h)(n[0],i)),a&&n[0]&&(i=n[0]),"end"===l&&"date"===o[0]&&"date"===o[1]&&i.isSame(r[1],"month")&&(i=i.clone().subtract(1,"month")),i},this.getEndValue=function(){var t=e.state,n=t.value,a=t.selectedValue,r=t.showTimePicker,o=t.mode,l=t.panelTriggerSource,i=n[1]?n[1].clone():n[0].clone().add(1,"month");return a[1]&&e.props.timePicker&&Object(B.h)(a[1],i),r&&(i=a[1]?a[1]:e.getStartValue()),!r&&"end"!==l&&"date"===o[0]&&"date"===o[1]&&i.isSame(n[0],"month")&&(i=i.clone().add(1,"month")),i},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,a=t.value,r=(0,e.props.disabledTime)(n,"end")||{},o=n&&n[0]||a[0].clone();if(!n[1]||o.isSame(n[1],"day")){var l=o.hour(),i=o.minute(),s=o.second(),c=r.disabledHours,u=r.disabledMinutes,p=r.disabledSeconds,f=u?u():[],d=p?p():[];return c=On(l,c),u=On(i,u),p=On(s,p),{disabledHours:function(){return c},disabledMinutes:function(e){return e===l?u:f},disabledSeconds:function(e,t){return e===l&&t===i?p:d}}}return r},this.isAllowedDateAndTime=function(t){return Object(B.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(B.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,a){var r=e.props.timePicker,o=e.state.prevSelectedValue;if(r&&r.props.defaultValue){var l=r.props.defaultValue;!o[0]&&t[0]&&Object(B.h)(l[0],t[0]),!o[1]&&t[1]&&Object(B.h)(l[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var i=t[0]||J()(),s=t[1]||i.clone().add(1,"months");e.setState({selectedValue:t,value:gn([i,s])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,a))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Sn=Object(X.a)(kn),Pn=n("Gytx"),xn=n.n(Pn),jn=n("mr32");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 Nn(e){var t,n=e.suffixIcon,a=e.prefixCls;return n&&(p.isValidElement(n)?p.cloneElement(n,{className:j()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(a,"-picker-icon"),!0),t))}):p.createElement("span",{className:"".concat(a,"-picker-icon")},n))||p.createElement(Pe.default,{type:"calendar",className:"".concat(a,"-picker-icon")})}function Dn(e){return(Dn="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 Vn(){return(Vn=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}).apply(this,arguments)}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mn(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)}}function Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function In(e,t){return!t||"object"!==Dn(t)&&"function"!=typeof t?An(e):t}function An(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(){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 Hn(e){return(Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ln(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=[],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||null==i.return||i.return()}finally{if(r)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Yn(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yn(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 Yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Wn(e,t){var n=Ln(e,2),a=n[0],r=n[1];if(a||r)return t&&"month"===t[0]?[a,r]:[a,r&&r.isSame(a,"month")?r.clone().add(1,"month"):r]}function Bn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Gn(e,t){if(t&&e&&0!==e.length){var n=Ln(e,2),a=n[0],r=n[1];a&&a.locale(t),r&&r.locale(t)}}var Qn=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&&Rn(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=Hn(t);if(Fn()){var a=Hn(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return In(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=An(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Wn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var a=Ln(e,2),r=a[0],o=a[1];"function"==typeof n.onChange&&n.onChange(e,[De(r,n.format),De(o,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Ln(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Wn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,a=n.onOk,r=n.onOpenChange;a&&a(e),r&&r(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,a=e.renderExtraFooter,r=An(t),o=r.prefixCls,l=r.tagPrefixCls;if(!n&&!a)return null;var i=a?p.createElement("div",{className:"".concat(o,"-footer-extra"),key:"extra"},a()):null,s=n&&Object.keys(n).map((function(e){var a=n[e],r="function"==typeof a?a.call(An(t)):a;return p.createElement(jn.default,{key:e,prefixCls:l,color:"blue",onClick:function(){return t.handleRangeClick(a)},onMouseEnter:function(){return t.setState({hoverValue:r})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[s&&s.length>0?p.createElement("div",{className:"".concat(o,"-footer-extra ").concat(o,"-range-quick-selector"),key:"range"},s):null,i]},t.renderRangePicker=function(e){var n,a=e.getPrefixCls,r=An(t),o=r.state,l=r.props,i=o.value,s=o.showDate,c=o.hoverValue,u=o.open,f=l.prefixCls,d=l.tagPrefixCls,h=l.popupStyle,m=l.style,v=l.disabledDate,y=l.disabledTime,b=l.showTime,g=l.showToday,C=l.ranges,O=l.onOk,w=l.locale,k=l.localeCode,E=l.format,S=l.dateRender,P=l.onCalendarChange,x=l.suffixIcon,_=l.separator,N=a("calendar",f),D=a("tag",d);t.prefixCls=N,t.tagPrefixCls=D,Gn(i,k),Gn(s,k),Object(je.a)(!("onOK"in l),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var V=j()((Tn(n={},"".concat(N,"-time"),b),Tn(n,"".concat(N,"-range-with-ranges"),C),n)),T={onChange:t.handleChange},M={onOk:t.handleChange};l.timePicker?T.onChange=function(e){return t.handleChange(e)}:M={},"mode"in l&&(M.mode=l.mode);var R=Array.isArray(l.placeholder)?l.placeholder[0]:w.lang.rangePlaceholder[0],I=Array.isArray(l.placeholder)?l.placeholder[1]:w.lang.rangePlaceholder[1],A=p.createElement(Sn,Vn({},M,{seperator:_,onChange:P,format:E,prefixCls:N,className:V,renderFooter:t.renderFooter,timePicker:l.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,I],locale:w.lang,onOk:O,dateRender:S,value:s,onValueChange:t.handleShowDateChange,hoverValue:c,onHoverChange:t.handleHoverChange,onPanelChange:l.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),F={};l.showTime&&(F.width=m&&m.width||350);var H=Ln(i,2),L=H[0],Y=H[1],W=!l.disabled&&l.allowClear&&i&&(L||Y)?p.createElement(Pe.default,{type:"close-circle",className:"".concat(N,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,B=p.createElement(Nn,{suffixIcon:x,prefixCls:N}),G=function(e){var t=Ln(e.value,2),n=t[0],a=t[1];return p.createElement("span",{className:l.pickerInputClass},p.createElement("input",{disabled:l.disabled,readOnly:!0,value:De(n,l.format),placeholder:R,className:"".concat(N,"-range-picker-input"),tabIndex:-1}),p.createElement("span",{className:"".concat(N,"-range-picker-separator")}," ",_," "),p.createElement("input",{disabled:l.disabled,readOnly:!0,value:De(a,l.format),placeholder:I,className:"".concat(N,"-range-picker-input"),tabIndex:-1}),W,B)};return p.createElement("span",{ref:t.savePicker,id:"number"==typeof l.id?l.id.toString():l.id,className:j()(l.className,l.pickerClass),style:Vn(Vn({},m),F),tabIndex:l.disabled?-1:0,onFocus:l.onFocus,onBlur:l.onBlur,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},p.createElement(Ee,Vn({},l,T,{calendar:A,value:i,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(N,"-picker-container"),style:h}),G))};var n=e.value||e.defaultValue||[],a=Ln(n,2),r=a[0],i=a[1];if(r&&!Object(_e.a)(U).isMoment(r)||i&&!Object(_e.a)(U).isMoment(i))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var s,c=n&&(s=n,!Array.isArray(s)||0!==s.length&&!s.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Bn(c||Object(_e.a)(U)()),open:e.open,hoverValue:[]},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var a=e.value||[];n={value:a},xn()(e.value,t.value)||(n=Vn(Vn({},n),{showDate:Wn(a,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Vn(Vn({},n),{open:e.open})),n}}],(a=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderRangePicker)}}])&&Mn(n.prototype,a),r&&Mn(n,r),l}(p.Component);Qn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Qn);var Kn=Qn;function Zn(e){return(Zn="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 zn(){return(zn=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}).apply(this,arguments)}function qn(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)}}function Xn(e,t){return(Xn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Un(e,t){return!t||"object"!==Zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 ea(e){return(ea=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ta=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&&Xn(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=ea(t);if($n()){var a=ea(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return Un(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,a=Jn(t).prefixCls,r=t.props.dateRender,o=r?r(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?p.createElement("div",{className:"".concat(a,"-selected-day")},p.createElement("div",{className:"".concat(a,"-date")},o)):p.createElement("div",{className:"".concat(a,"-date")},o)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,a=e.renderExtraFooter;return a?p.createElement("div",{className:"".concat(n,"-footer-extra")},a.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,a=t.props,r=a.prefixCls,o=a.className,l=a.disabled,i=a.pickerClass,s=a.popupStyle,c=a.pickerInputClass,u=a.format,f=a.allowClear,d=a.locale,h=a.localeCode,m=a.disabledDate,v=a.style,y=a.onFocus,b=a.onBlur,g=a.id,C=a.suffixIcon,O=a.defaultPickerValue,w=n("calendar",r);t.prefixCls=w;var k=t.state,E=k.open,S=k.value;S&&h&&S.locale(h);var P="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,x=p.createElement(fe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:O}),_=!l&&f&&t.state.value?p.createElement(Pe.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,N=p.createElement(Nn,{suffixIcon:C,prefixCls:w}),D=function(e){var n=e.value;return p.createElement("span",{style:{display:"inline-block",width:"100%"}},p.createElement("input",{ref:t.saveInput,disabled:l,readOnly:!0,value:n&&n.format(u)||"",placeholder:P,className:c,onFocus:y,onBlur:b}),_,N)};return p.createElement("span",{className:j()(o,i),style:v,id:g},p.createElement(Ee,zn({},t.props,{calendar:x,prefixCls:"".concat(w,"-picker-container"),value:S,onChange:t.handleChange,open:E,onOpenChange:t.handleOpenChange,style:s}),D))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(U).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(a=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderWeekPicker)}}])&&qn(n.prototype,a),r&&qn(n,r),l}(p.Component);ta.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(ta);var na=ta;function aa(){return(aa=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}).apply(this,arguments)}var ra=hn(Ye(fe),"date"),oa=hn(Ye(he),"month");aa(ra,{RangePicker:hn(Kn,"date"),MonthPicker:oa,WeekPicker:hn(na,"week")});t.default=ra},"+hnl":function(e,t,n){},"01ui":function(e,t,n){"use strict";var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=n("17x9"),f=n.n(p),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,a,o;r()(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=a=l()(this,e.call.apply(e,[this].concat(s))),a.state={},o=n,l()(a,o)}return s()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,a=0;a<4;a++){t[a]=[];for(var r=0;r<3;r++){e.month(n);var o=Object(v.b)(e);t[a][r]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,a=Object(v.e)(n),r=this.months(),o=n.month(),l=t.prefixCls,i=t.locale,s=t.contentRender,c=t.cellRender,p=r.map((function(r,p){var f=r.map((function(r){var p,f=!1;if(t.disabledDate){var d=n.clone();d.month(r.value),f=t.disabledDate(d)}var m=((p={})[l+"-cell"]=1,p[l+"-cell-disabled"]=f,p[l+"-selected-cell"]=r.value===o,p[l+"-current-cell"]=a.year()===n.year()&&r.value===a.month(),p),v=void 0;if(c){var y=n.clone();y.month(r.value),v=c(y,i)}else{var b=void 0;if(s){var g=n.clone();g.month(r.value),b=s(g,i)}else b=r.content;v=u.a.createElement("a",{className:l+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:r.value,onClick:f?null:function(){return e.chooseMonth(r.value)},title:r.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:p,role:"row"},f)}));return u.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:l+"-tbody"},p))},t}(c.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:f.a.func,cellRender:f.a.func,prefixCls:f.a.string,value:f.a.object},Object(m.polyfill)(y),t.a=y},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),o=i(r),l=i(n("dF3D"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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),a(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return r.default.createElement(a.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var r=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("17x9"),u=n.n(c),p=n("u7YQ");function f(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:p.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:f,onChange:f,onClear:f,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,a,o;r()(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=a=l()(this,e.call.apply(e,[this].concat(s))),a.getFormat=function(){var e=a.props.format,t=a.props,n=t.locale,r=t.timePicker;return e||(e=r?n.dateTimeFormat:n.dateFormat),e},a.focus=function(){a.focusElement?a.focusElement.focus():a.rootInstance&&a.rootInstance.focus()},a.saveFocusElement=function(e){a.focusElement=e},a.saveRoot=function(e){a.rootInstance=e},o=n,l()(a,o)}return s()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(n("NJEC")),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}}();n("k994");var o=n("q1tI"),l=c(o),i=n("eO8H"),s=n("D5tj");function c(e){return e&&e.__esModule?e:{default:e}}var u=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.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return l.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},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),r(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=t.checkbox,o=t.mile,c=this.props.match.params,u=c.projectsId,p=c.owner,f=this.props.current_user;return n&&l.default.createElement("div",{className:"issueItem"},f&&f.login&&r,l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/detail",target:"_blank",title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),l.default.createElement("p",{className:"color-grey-6 font-12"},l.default.createElement("span",null,n.format_time),l.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":l.default.createElement("span",{className:"ml20"},l.default.createElement("span",null,n.updated_at),l.default.createElement("span",{className:"ml5"},"更新")))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),l.default.createElement("li",null,n.author_name?l.default.createElement(i.Link,{to:"/users/"+n.author_login,className:"show-user-link"},n.author_name):"--"),l.default.createElement("li",null,n.assign_user_name?l.default.createElement(i.Link,{to:"/users/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),l.default.createElement("li",null,n.tracker||"--"),o?"":l.default.createElement("li",null,n.version||"--"),l.default.createElement("li",null,n.issue_status||"--"),l.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"milepostleft"},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/detail"},l.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),f&&f.login?l.default.createElement("div",{style:{display:this.state.orderid===n.id&&this.state.isdisplay?"flex":"none"}},l.default.createElement("div",{className:"mr8 ml8 color-grey-9"},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),l.default.createElement("div",{className:"color-grey-9"},l.default.createElement(a.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},l.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(o.Component);t.default=u},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var a=n("QbLZ"),r=n.n(a),o=n("wd/R"),l=n.n(o),i={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function s(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function c(e){return e.format("LL")}function u(e){return c(s(e))}function p(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function f(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=r()({},i,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var a=e.hour(),r=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(a))if(-1===t.disabledMinutes(a).indexOf(r))n=-1!==t.disabledSeconds(a,r).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("VCL8"),o=n("3S7+"),l=n("CtXQ"),i=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");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 f(){return(f=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}).apply(this,arguments)}function d(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)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==p(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 y(){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 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 a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},C=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)}(C,e);var t,n,r,l,p=(t=C,function(){var e,n=b(t);if(y()){var a=b(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return m(this,e)});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),(t=p.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 r=t.props,o=r.okButtonProps,l=r.cancelButtonProps,s=r.title,c=r.cancelText,u=r.okText,p=r.okType,d=r.icon;return a.createElement("div",null,a.createElement("div",{className:"".concat(e,"-inner-content")},a.createElement("div",{className:"".concat(e,"-message")},d,a.createElement("div",{className:"".concat(e,"-message-title")},s)),a.createElement("div",{className:"".concat(e,"-buttons")},a.createElement(i.default,f({onClick:t.onCancel,size:"small"},l),c||n.cancelText),a.createElement(i.default,f({onClick:t.onConfirm,type:p,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,r=t.props,l=r.prefixCls,i=r.placement,u=g(r,["prefixCls","placement"]),p=n("popover",l),d=a.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(p,e)}));return a.createElement(o.default,f({},u,{prefixCls:p,placement:i,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=C,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(r=[{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 a=n.onVisibleChange;a&&a(e,t)}},{key:"render",value:function(){return a.createElement(u.a,null,this.renderConfirm)}}])&&d(n.prototype,r),l&&d(n,l),C}(a.Component);C.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:a.createElement(l.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(r.polyfill)(C),t.default=C},Phz4:function(e,t,n){},RqAY:function(e,t,n){"use strict";function a(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 a}))},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},WT1Z:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=C(n("W9HT")),r=C(n("NUBc")),o=C(n("jsC+")),l=C(n("CtXQ")),i=C(n("kaz8")),s=C(n("+eQT")),c=C(n("BvKs")),u=C(n("5rEg")),p=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},f=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("YQTV"),n("aIZi"),n("2oDE"),n("MKzF"),n("U8R4"),n("2WkQ"),n("1vPl");var d=n("q1tI"),h=C(d),m=n("eO8H");n("6JOy"),n("Phz4");var v=C(n("wd/R")),y=C(n("2CTR")),b=C(n("GqXi")),g=C(n("vDqi"));function C(e){return e&&e.__esModule?e:{default: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}var w=u.default.Search,k=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.getSelectList(),n.getIssueList("1")},n.getSelectList=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,a="/"+e.owner+"/"+t+"/issues/index_chosen.json";g.default.get(a).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getIssueList=function(e,t,a){n.setState({isSpin:!0});var r=n.state.select_params,o=n.props.match.params,l=o.projectsId,i="/"+o.owner+"/"+l+"/issues.json";g.default.get(i,{params:p({},r,{start_date:t,due_date:a,status_type:e})}).then((function(e){if(e){var t=e.data.issues;n.setState({data:e.data,issues:t,search_count:e.data.search_count,isSpin:!1,allValue:t&&t.length>0&&t.map((function(e){return e.id}))})}})).catch((function(e){console.log(e)}))},n.getMenu=function(e,t,a){n.setState({isSpin:!0});var r=e.key.split("-");"created_on"===r[0]?("desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}),n.state.select_params.order_name=e.key):"updated_on"===r[0]&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.state.select_params.order_name=r[0],n.state.select_params.order_type=e.item.props.value,n.state.select_params.page=1;var o=n.state.status_type;n.getIssueList(o)},n.getOption=function(e,t,a,r){var o,l=n.props.current_user,i="all"===e.key?void 0:e.key,s=n.state.author_id,c=n.state.assigned_to_id,u=n.state.select_params;if(u[""+t]=i,u.page=1,l&&(s=u.author_id&&u.author_id===l.user_id?l.user_id:void 0,c=u.assigned_to_id&&u.assigned_to_id===l.user_id?l.user_id:void 0),n.setState((O(o={},t+"s",a),O(o,"select_params",u),O(o,"author_id",s),O(o,"assigned_to_id",c),o)),!r){var p=n.state.status_type;n.getIssueList(p)}},n.renderMenu=function(e,t,a,r){return h.default.createElement(c.default,null,h.default.createElement(c.default.Item,{key:"all",onClick:function(e){return n.getOption(e,a,t,r)}},t),e&&e.length>0&&e.map((function(e,t){return h.default.createElement(c.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,a,e.name,r)},style:{textAlign:e.color?"left":"center",padding:"6px 15px"}},e.color&&h.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0,checkedValue:[],all:!1});var t=n.state.status_type;n.state.select_params.page=e,n.getIssueList(t)},n.searchFunc=function(e){n.setState({search:e,isSpin:!0,checkedValue:[],all:void 0});var t=n.state.status_type;n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList(t)},n.openorder=function(e){n.setState({author_id:void 0,assigned_to_id:void 0,status_type:e,issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",fixed_version_ids:"里程碑",paix:"排序",checkedValue:[],all:void 0}),n.state.select_params={search:void 0,page:1,limit:15},n.getIssueList(e)},n.ChangeAssign=function(e){var t=n.props.current_user;if(n.setState({isSpin:!0}),e){if(!t)return void n.setState({isSpin:!1});1===e?(n.setState({assigned_to_ids:t.username,assigned_to_id:t.user_id,author_id:void 0,author_ids:"发布人"}),n.state.select_params.author_id=void 0,n.state.select_params.assigned_to_id=t.user_id):(n.setState({author_ids:t.username,author_id:t.user_id,assigned_to_id:void 0,assigned_to_ids:"负责人"}),n.state.select_params.assigned_to_id=void 0,n.state.select_params.author_id=t.user_id)}else n.setState({author_ids:"发布人",author_id:void 0,assigned_to_ids:"负责人",assigned_to_id:void 0}),n.state.select_params.assigned_to_id=void 0,n.state.select_params.author_id=void 0;var a=n.state.status_type;n.getIssueList(a)},n.deletedetail=function(e){var t=n.props.match.params,a=t.projectsId,r="/projects/"+t.owner+"/"+a+"/issues/"+e+".json";g.default.delete(r,{data:{project_id:a,id:e}}).then((function(e){if(e){var t=n.state.status_type;n.getIssueList(t)}})).catch((function(e){console.log(e)}))},n.islogin=function(){n.props.showLoginDialog()},n.renderNew=function(){var e=n.props.match.params,t=e.projectsId,a=e.owner;return n.props.checkIfLogin()?h.default.createElement(m.Link,{className:"topWrapper_btn ml10",target:"_blank",to:"/projects/"+a+"/"+t+"/issues/new"},"+ 创建任务"):h.default.createElement("a",{className:"topWrapper_btn ml10",onClick:n.islogin},"+ 创建任务")},n.changeBeginTime=function(e,t){var a=n.state.status_type;n.setState({begin:t}),n.getIssueList(a,t,n.state.end)},n.changeEndTime=function(e,t){var a=n.state.status_type;n.setState({end:t}),n.getIssueList(a,n.state.begin,t)},n.checkIssues=function(e){n.setState({checkedValue:e});var t=n.state.allValue;n.setState({all:t&&e&&e.length===t.length}),0===e.length&&n.setState({update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:{update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0}})},n.changeAll=function(e){if(e.target.checked){var t=n.state.allValue;n.setState({checkedValue:t})}else n.setState({checkedValue:[]});n.setState({all:e.target.checked})},n.updateIssues=function(){var e=n.state,t=e.checkedValue,a=e.select_params,r=n.props.match.params,o=r.projectsId,l=r.owner;if(a.update_author_id||a.update_fixed_version_id||a.update_status_id){n.setState({isSpin:!0});var i="/"+l+"/"+o+"/issues/series_update.json";g.default.post(i,{ids:t,assigned_to_id:a.update_author_id,fixed_version_id:a.update_fixed_version_id,status_id:a.update_status_id}).then((function(e){e&&(n.props.showNotification("修改成功!"),n.successFunc())})).catch((function(e){console.log(e)}))}else n.resetSelectParams()},n.successFunc=function(){n.resetSelectParams();var e=n.state.status_type;n.getIssueList(e)},n.resetSelectParams=function(){var e=n.state.select_params;e.update_author_id=void 0,e.update_fixed_version_id=void 0,e.update_status_id=void 0,n.setState({all:!1,checkedValue:[],update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:e})},n.deleteIssues=function(){n.props.confirm({content:"是否确认删除所有选中的任务?",onOk:function(){n.setState({isSpin:!0});var e=n.state.checkedValue,t=n.props.match.params,a=t.projectsId,r="/"+t.owner+"/"+a+"/issues/clean.json";g.default.post(r,{ids:e}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.successFunc())})).catch((function(e){console.log(e)}))}})},n.menu=function(){return h.default.createElement(c.default,{onClick:function(e){return n.getMenu(e)}},h.default.createElement(c.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),h.default.createElement(c.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),h.default.createElement(c.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),h.default.createElement(c.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",fixed_version_ids:"里程碑",status_ids:"状态",done_ratios:"完成度",paix:"排序",update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",begin:"",end:"",checkedValue:[],allValue:[],all:!1,select_params:{assigned_to_id:void 0,author_id:void 0,issue_tag_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,fixed_version_id:void 0,order_name:void 0,order_type:void 0,search:void 0,update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0,page:1,limit:15}},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.current_user,n=this.state,c=n.issue_chosen,u=n.issues,f=n.search_count,d=n.data,m=n.author_id,g=n.assigned_to_id,C=n.isSpin,O=n.status_type,k=n.select_params,E=n.begin,S=n.end,P=n.checkedValue,x=n.all;return h.default.createElement("div",{className:"main"},h.default.createElement("div",{className:"topWrapper",style:{paddingTop:"10px"}},h.default.createElement("ul",{className:"topWrapper_type"},h.default.createElement("li",null,h.default.createElement("label",null,"所有:"),h.default.createElement("span",{className:O?"":"active",onClick:function(){return e.openorder()}},d&&d.all_count)),h.default.createElement("li",null,h.default.createElement("label",null,"开启中:"),h.default.createElement("span",{className:"1"===O?"active":"",onClick:function(){return e.openorder("1")}},d&&d.open_count)),h.default.createElement("li",null,h.default.createElement("label",null,"已关闭:"),h.default.createElement("span",{className:"2"===O?"active":"",onClick:function(){return e.openorder("2")}},d&&d.close_count))),this.renderNew()),h.default.createElement("div",{className:"topWrapper"},h.default.createElement("div",{className:"target-detail-search"},h.default.createElement(w,{placeholder:"输入issue名称进行搜索",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),h.default.createElement("div",null,h.default.createElement(s.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):"",style:{marginRight:"20px"},placeholder:"请选择开始时间",onChange:this.changeBeginTime}),h.default.createElement(s.default,{value:S?(0,v.default)(S,"YYYY-MM-DD"):"",placeholder:"请选择结束时间",onChange:this.changeEndTime}))),h.default.createElement(a.default,{spinning:C},h.default.createElement("div",{className:"f-wrap-between screenWrap"},h.default.createElement("div",{className:"df"},t&&t.login?h.default.createElement(i.default,{value:"0",style:{lineHeight:"50px",marginRight:"15px"},checked:x,onChange:this.changeAll}):"",P&&P.length>0?h.default.createElement("span",{style:{lineHeight:"50px"}},"选中",P.length,"个issue"):h.default.createElement("ul",{className:"searchBanner"},h.default.createElement("li",{className:m||g?"":"active",onClick:function(){return e.ChangeAssign()}},h.default.createElement("label",null,"搜索结果"),h.default.createElement("span",null,d&&d.search_count)),h.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:g?"active":"",onClick:function(){return e.ChangeAssign(1)}},h.default.createElement("label",null,"指派给我"),h.default.createElement("span",null,d&&d.assign_me_count)),h.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:m?"active":"",onClick:function(){return e.ChangeAssign(2)}},h.default.createElement("label",null,"我的发布"),h.default.createElement("span",null,d&&d.my_published_count)))),P&&P.length>0?h.default.createElement("ul",{className:"topWrapper_select wrapperStyle"},h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"更换负责人","update_author_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_author_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(c&&c.issue_version,"更换里程碑","update_fixed_version_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_fixed_version_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(c&&c.issue_status,"修改状态","update_status_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_status_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("a",{onClick:this.updateIssues,className:"updateBtn blue mr20"},"确定"),h.default.createElement("a",{onClick:this.deleteIssues,className:"updateBtn red mr20"},"删除")):h.default.createElement("ul",{className:"topWrapper_select"},h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.issue_tag_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.author_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.assigned_to_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.tracker_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.fixed_version_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.status_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.done_ratios,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.paix,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),0===f?h.default.createElement(y.default,{_html:"暂时还没有相关数据!"}):h.default.createElement("div",{style:{minHeight:"500px"}},h.default.createElement(i.default.Group,{name:"issues",onChange:this.checkIssues,value:P,style:{width:"100%"}},u&&u.length>0&&u.map((function(n,a){return h.default.createElement(b.default,p({key:a,item:n,checkbox:t?h.default.createElement(i.default,{value:n.id,key:n.id,style:{margin:"4px 15px 0px 0px"}}):"",search_count:f,page:k.page,limit:k.limit},e.props,e.state,{deletedetail:e.deletedetail}))})))),f>k.limit?h.default.createElement("div",{className:"mt30 mb10 edu-txt-center"},h.default.createElement(r.default,{simple:!0,defaultCurrent:k.page,total:f,pageSize:k.limit,onChange:this.ChangePage})):""))}}]),t}(d.Component);t.default=k},ZMcG:function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},fDcq:function(e,t,n){"use strict";var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=6,f=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,a=[],r=[],o=t.firstDayOfWeek(),l=void 0,i=h()(),s=0;s<f;s++){var c=(o+s)%f;i.day(c),a[s]=t.weekdaysMin(i),r[s]=t.weekdaysShort(i)}e.showWeekNumber&&(l=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var p=r.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},a[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},l,p))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function O(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,a=e.selectedValue,r=e.value,o=e.showWeekNumber,l=e.dateRender,i=e.disabledDate,s=e.hoverValue,c=void 0,d=void 0,h=void 0,m=[],v=Object(C.e)(r),y=n+"-cell",b=n+"-week-number-cell",E=n+"-date",S=n+"-today",P=n+"-selected-day",x=n+"-selected-date",j=n+"-selected-start-date",_=n+"-selected-end-date",N=n+"-in-range-cell",D=n+"-last-month-cell",V=n+"-next-month-btn-day",T=n+"-disabled-cell",M=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",I=n+"-last-day-of-month",A=r.clone();A.date(1);var F=(A.day()+7-r.localeData().firstDayOfWeek())%7,H=A.clone();H.add(0-F,"days");var L=0;for(c=0;c<p;c++)for(d=0;d<f;d++)h=H,L&&(h=h.clone()).add(L,"days"),m.push(h),L++;var Y,W=[];for(L=0,c=0;c<p;c++){var B,G=void 0,Q=void 0,K=!1,Z=[];for(o&&(Q=u.a.createElement("td",{key:m[L].week(),role:"gridcell",className:b},m[L].week())),d=0;d<f;d++){var z=null,q=null;h=m[L],d<f-1&&(z=m[L+1]),d>0&&(q=m[L-1]);var X=y,U=!1,J=!1;O(h,v)&&(X+=" "+S,G=!0);var $=w(h,r),ee=k(h,r);if(a&&Array.isArray(a)){var te=s.length?s:a;if(!$&&!ee){var ne=te[0],ae=te[1];ne&&O(h,ne)&&(J=!0,K=!0,X+=" "+j),(ne||ae)&&(O(h,ae)?(J=!0,K=!0,X+=" "+_):(null==ne&&h.isBefore(ae,"day")||null==ae&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(ae,"day"))&&(X+=" "+N))}}else O(h,r)&&(J=!0,K=!0);O(h,a)&&(X+=" "+x),$&&(X+=" "+D),ee&&(X+=" "+V),h.clone().endOf("month").date()===h.date()&&(X+=" "+I),i&&i(h,r)&&(U=!0,q&&i(q,r)||(X+=" "+M),z&&i(z,r)||(X+=" "+R)),J&&(X+=" "+P),U&&(X+=" "+T);var re=void 0;if(l)re=l(h,r);else{var oe=t?t(h,r):h.date();re=u.a.createElement("div",{key:(Y=h,"rc-calendar-"+Y.year()+"-"+Y.month()+"-"+Y.date()),className:E,"aria-selected":J,"aria-disabled":U},oe)}Z.push(u.a.createElement("td",{key:L,onClick:U?void 0:e.onSelect.bind(null,h),onMouseEnter:U?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:X},re)),L++}W.push(u.a.createElement("tr",{key:c,role:"row",className:g()((B={},B[n+"-current-week"]=G,B[n+"-active-week"]=K,B))},Q,Z))}return u.a.createElement("tbody",{className:n+"-tbody"},W)},t}(u.a.Component);E.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},E.defaultProps={hoverValue:[]};var S=E,P=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(S,e))},t}(u.a.Component);t.a=P},hxti:function(e,t,n){(function(t){for(var a=n("bQgK"),r="undefined"==typeof window?t:window,o=["moz","webkit"],l="AnimationFrame",i=r["request"+l],s=r["cancel"+l]||r["cancelRequest"+l],c=0;!i&&c<o.length;c++)i=r[o[c]+"Request"+l],s=r[o[c]+"Cancel"+l]||r[o[c]+"CancelRequest"+l];if(!i||!s){var u=0,p=0,f=[];i=function(e){if(0===f.length){var t=a(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.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 f.push({handle:++p,callback:e,cancelled:!1}),p},s=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return i.call(r,e)},e.exports.cancel=function(){s.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=i,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return O}));var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=n("17x9"),f=n.n(p),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:f.a.object,defaultValue:f.a.object,onKeyDown:f.a.func},C={onKeyDown:function(){}},O=function(e){var t,n;return n=t=function(t){function n(){var e,a,o;r()(this,n);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return e=a=l()(this,t.call.apply(t,[this].concat(s))),a.onSelect=function(e,t){e&&a.setValue(e),a.setSelectedValue(e,t)},a.renderRoot=function(e){var t,n=a.props,r=n.prefixCls,o=((t={})[r]=1,t[r+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:a.saveRoot,className:""+h()(o),style:a.props.style,tabIndex:"0",onKeyDown:a.onKeyDown,onBlur:a.onBlur},e.children)},a.setSelectedValue=function(e,t){"selectedValue"in a.props||a.setState({selectedValue:e}),a.props.onSelect&&a.props.onSelect(e,t)},a.setValue=function(e){var t=a.state.value;"value"in a.props||a.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&a.props.onChange(e)},a.isAllowedDate=function(e){var t=a.props.disabledDate,n=a.props.disabledTime;return Object(y.g)(e,t,n)},o=e,l()(a,o)}return s()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var a=t.value,r=t.selectedValue,o={};return"value"in t&&(o.value=a||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=r),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"jsC+":function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n.n(a),o=n("17x9"),l=n.n(o),i=n("i8i4"),s=n.n(i),c=n("uciX"),u=n("TSYQ"),p=n.n(u),f={adjustX:1,adjustY:1},d=[0,0],h={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},m=n("VCL8"),v=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};var y=function(e){function t(n){!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,e.call(this,n));return b.call(a),a.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},r=p()(n.className,this.getOpenClassName());return t&&e?Object(a.cloneElement)(e,{className:r}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,a=e.animation,o=e.align,l=e.placement,i=e.getPopupContainer,s=e.showAction,u=e.hideAction,p=e.overlayClassName,f=e.overlayStyle,d=e.trigger,m=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),y=u;return y||-1===d.indexOf("contextMenu")||(y=["click"]),r.a.createElement(c.a,v({},m,{prefixCls:t,ref:this.saveTrigger,popupClassName:p,popupStyle:f,builtinPlacements:h,action:d,showAction:s,hideAction:y||[],popupPlacement:l,popupAlign:o,popupTransitionName:n,popupAnimation:a,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:i}),this.renderChildren())},t}(a.Component);y.propTypes={minOverlayWidthMatchTrigger:l.a.bool,onVisibleChange:l.a.func,onOverlayClick:l.a.func,prefixCls:l.a.string,children:l.a.any,transitionName:l.a.string,overlayClassName:l.a.string,openClassName:l.a.string,animation:l.a.any,align:l.a.object,overlayStyle:l.a.object,placement:l.a.string,overlay:l.a.oneOfType([l.a.node,l.a.func]),trigger:l.a.array,alignPoint:l.a.bool,showAction:l.a.array,hideAction:l.a.array,getPopupContainer:l.a.func,visible:l.a.bool,defaultVisible:l.a.bool},y.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var b=function(){var e=this;this.onClick=function(t){var n=e.props,a=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),a.onClick&&a.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,a=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!a},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),a={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete a.prefixCls,r.a.cloneElement(n,a)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),a=s.a.findDOMNode(e);a&&n&&a.offsetWidth>n.offsetWidth&&(n.style.minWidth=a.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(m.polyfill)(y);var g=y,C=n("H84U"),O=n("6CfX"),w=n("CtXQ"),k=n("CWQg");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 S(){return(S=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}).apply(this,arguments)}function P(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(k.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var V=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&&j(e,t)}(i,e);var t,n,r,o,l=(t=i,function(){var e,n=D(t);if(N()){var a=D(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return _(this,e)});function i(){var e;return P(this,i),(e=l.apply(this,arguments)).renderOverlay=function(t){var n,r=e.props.overlay;n="function"==typeof r?r():r;var o=(n=a.Children.only(n)).props;Object(O.a)(!o.mode||"vertical"===o.mode,"Dropdown",'mode="'.concat(o.mode,"\" is not supported for Dropdown's Menu."));var l=o.selectable,i=void 0!==l&&l,s=o.focusable,c=void 0===s||s,u=a.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},a.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?r:a.cloneElement(n,{mode:"vertical",selectable:i,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,r=t.getPopupContainer,o=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.children,c=l.trigger,u=l.disabled,f=l.getPopupContainer,d=o("dropdown",i),h=a.Children.only(s),m=a.cloneElement(h,{className:p()(h.props.className,"".concat(d,"-trigger")),disabled:u}),v=u?[]:c;return v&&-1!==v.indexOf("contextMenu")&&(n=!0),a.createElement(g,S({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:f||r,transitionName:e.getTransitionName(),trigger:v,overlay:function(){return e.renderOverlay(d)}}),m)},e}return n=i,(r=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,a=e.transitionName;return void 0!==a?a:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return a.createElement(C.a,null,this.renderDropDown)}}])&&x(n.prototype,r),o&&x(n,o),i}(a.Component);V.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 R(){return(R=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}).apply(this,arguments)}function I(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(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 L(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},B=T.default.Group,G=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&&F(e,t)}(i,e);var t,n,r,o,l=(t=i,function(){var e,n=Y(t);if(L()){var a=Y(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return H(this,e)});function i(){var e;return I(this,i),(e=l.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,r=t.getPrefixCls,o=e.props,l=o.prefixCls,i=o.type,s=o.disabled,c=o.onClick,u=o.htmlType,f=o.children,d=o.className,h=o.overlay,m=o.trigger,v=o.align,y=o.visible,b=o.onVisibleChange,g=o.placement,C=o.getPopupContainer,O=o.href,k=o.icon,E=void 0===k?a.createElement(w.default,{type:"ellipsis"}):k,S=o.title,P=W(o,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),x=r("dropdown-button",l),j={align:v,overlay:h,disabled:s,trigger:s?[]:m,onVisibleChange:b,placement:g,getPopupContainer:C||n};return"visible"in e.props&&(j.visible=y),a.createElement(B,R({},P,{className:p()(x,d)}),a.createElement(T.default,{type:i,disabled:s,onClick:c,htmlType:u,href:O,title:S},f),a.createElement(V,j,a.createElement(T.default,{type:i},E)))},e}return n=i,(r=[{key:"render",value:function(){return a.createElement(C.a,null,this.renderButton)}}])&&A(n.prototype,r),o&&A(n,o),i}(a.Component);G.defaultProps={placement:"bottomRight",type:"default"},V.Button=G;t.default=V},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("17x9"),o=n("VCL8"),l=n("TSYQ"),i=n.n(l),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),p=n("H84U"),f=n("6CfX");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 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 m(){return(m=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}).apply(this,arguments)}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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}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&&b(e,t)}(c,e);var t,n,r,o,l=(t=c,function(){var e,n=w(t);if(O()){var a=w(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return v(this,c),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,r=t.getPrefixCls,o=C(e),l=o.props,c=o.context,u=l.prefixCls,p=l.className,f=l.children,d=l.indeterminate,v=l.style,y=l.onMouseEnter,b=l.onMouseLeave,g=k(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=c.checkboxGroup,w=r("checkbox",u),E=m({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:f,value:l.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(l.value),E.disabled=l.disabled||O.disabled);var S=i()(p,(h(n={},"".concat(w,"-wrapper"),!0),h(n,"".concat(w,"-wrapper-checked"),E.checked),h(n,"".concat(w,"-wrapper-disabled"),E.disabled),n)),P=i()(h({},"".concat(w,"-indeterminate"),d));return a.createElement("label",{className:S,style:v,onMouseEnter:y,onMouseLeave:b},a.createElement(s.a,m({},E,{prefixCls:w,className:P,ref:e.saveCheckbox})),void 0!==f&&a.createElement("span",null,f))},e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,a=(this.context||{}).checkboxGroup,r=void 0===a?{}:a;n!==t&&r.registerValue&&r.cancelValue&&(r.cancelValue(t),r.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return a.createElement(p.a,null,this.renderCheckbox)}}])&&y(n.prototype,r),o&&y(n,o),c}(a.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:r.any},Object(o.polyfill)(E);var S=E,P=n("BGR+");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 j(){return(j=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}).apply(this,arguments)}function _(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(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)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},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&&V(e,t)}(s,e);var t,n,r,o,l=(t=s,function(){var e,n=I(t);if(R()){var a=I(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return T(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,a=t.state.value.indexOf(e.value),r=_(t.state.value);-1===a?r.push(e.value):r.splice(a,1),"value"in t.props||t.setState({value:r});var o=t.props.onChange;if(o){var l=t.getOptions();o(r.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,r=M(t),o=r.props,l=r.state,s=o.prefixCls,c=o.className,u=o.style,p=o.options,f=A(o,["prefixCls","className","style","options"]),d=n("checkbox",s),h="".concat(d,"-group"),m=Object(P.a)(f,["children","defaultValue","value","onChange","disabled"]),v=o.children;p&&p.length>0&&(v=t.getOptions().map((function(e){return a.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:o.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var y=i()(h,c);return a.createElement("div",j({className:y,style:u},m),v)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(r=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return a.createElement(p.a,null,this.renderGroup)}}])&&D(n.prototype,r),o&&D(n,o),s}(a.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:r.array,value:r.array,options:r.array.isRequired,onChange:r.func},F.childContextTypes={checkboxGroup:r.any},Object(o.polyfill)(F);var H=F;S.Group=H;t.default=S},mr32:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("TSYQ"),o=n.n(r),l=n("BGR+"),i=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 p(){return(p=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}).apply(this,arguments)}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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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 a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},C=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)}(s,e);var t,n,r,l,i=(t=s,function(){var e,n=b(t);if(y()){var a=b(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return v(this,e)});function s(){var e;return d(this,s),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,a=t.onChange;a&&a(!n)},e.renderCheckableTag=function(t){var n,r=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.className,c=l.checked,u=g(l,["prefixCls","className","checked"]),d=r("tag",i),h=o()(d,(f(n={},"".concat(d,"-checkable"),!0),f(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,a.createElement("span",p({},u,{className:h,onClick:e.handleClick}))},e}return n=s,(r=[{key:"render",value:function(){return a.createElement(c.a,null,this.renderCheckableTag)}}])&&h(n.prototype,r),l&&h(n,l),s}(a.Component),O=n("CWQg"),w=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),E=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 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 x(){return(x=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}).apply(this,arguments)}function j(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)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 D(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},M=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(p,e);var t,n,r,i,u=(t=p,function(){var e,n=V(t);if(D()){var a=V(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return N(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=u.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,r=n.children,o=T(n,["children"]),i="onClick"in o||r&&"a"===r.type,s=Object(l.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return i?a.createElement(E.a,null,a.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),r,t.renderCloseIcon())):a.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),r,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=p,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(r=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,a=this.isPresetColor();return x({backgroundColor:t&&!a?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,a=this.props,r=a.prefixCls,l=a.className,i=a.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",r);return o()(u,(P(t={},"".concat(u,"-").concat(i),c),P(t,"".concat(u,"-has-color"),i&&!c),P(t,"".concat(u,"-hidden"),!s),t),l)}},{key:"setVisible",value:function(e,t){var n=this.props,a=n.onClose,r=n.afterClose;a&&a(t),r&&!a&&r(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&M.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?a.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return a.createElement(c.a,null,this.renderTag)}}])&&j(n.prototype,r),i&&j(n,i),p}(a.Component);R.CheckableTag=C,R.defaultProps={closable:!1},Object(i.polyfill)(R);t.default=R},u3En:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var a=n("jo6Y"),r=n.n(a),o=n("QbLZ"),l=n.n(o),i=n("iCc5"),s=n.n(i),c=n("FYw3"),u=n.n(c),p=n("mRg0"),f=n.n(p),d=n("q1tI"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("TSYQ"),b=n.n(y),g=n("VCL8"),C=function(e){function t(n){s()(this,t);var a=u()(this,e.call(this,n));a.handleChange=function(e){var t=a.props,n=t.disabled,r=t.onChange;n||("checked"in a.props||a.setState({checked:e.target.checked}),r&&r({target:l()({},a.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},a.saveInput=function(e){a.input=e};var r="checked"in n?n.checked:n.defaultChecked;return a.state={checked:r},a}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,i=t.name,s=t.id,c=t.type,u=t.disabled,p=t.readOnly,f=t.tabIndex,d=t.onClick,m=t.onFocus,v=t.onBlur,y=t.autoFocus,g=t.value,C=r()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),w=this.state.checked,k=b()(n,a,((e={})[n+"-checked"]=w,e[n+"-disabled"]=u,e));return h.a.createElement("span",{className:k,style:o},h.a.createElement("input",l()({name:i,id:s,type:c,readOnly:p,disabled:u,tabIndex:f,className:n+"-input",checked:!!w,onClick:d,onFocus:m,onBlur:v,onChange:this.handleChange,autoFocus:y,ref:this.saveInput,value:g},O)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:v.a.string,className:v.a.string,style:v.a.object,name:v.a.string,id:v.a.string,type:v.a.string,defaultChecked:v.a.oneOfType([v.a.number,v.a.bool]),checked:v.a.oneOfType([v.a.number,v.a.bool]),disabled:v.a.bool,onFocus:v.a.func,onBlur:v.a.func,onChange:v.a.func,onClick:v.a.func,tabIndex:v.a.oneOfType([v.a.string,v.a.number]),readOnly:v.a.bool,autoFocus:v.a.bool,value:v.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var O=C;t.a=O}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[34,73,78],{"+eQT":function(e,t,n){"use strict";n.r(t);var a=n("QbLZ"),r=n.n(a),o=n("iCc5"),l=n.n(o),i=n("FYw3"),s=n.n(i),c=n("mRg0"),u=n.n(c),p=n("q1tI"),f=n.n(p),d=n("i8i4"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("4IlW"),b=n("VCL8"),g=n("fDcq");function C(e){return e}function O(e){return f.a.Children.map(e,C)}var w=n("01ui");function k(e){this.props.changeYear(e)}function E(){}var S=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.setAndSelectValue=function(e){a.setValue(e),a.props.onSelect(e)},a.setValue=function(e){"value"in a.props&&a.setState({value:e})},a.nextYear=k.bind(a,1),a.previousYear=k.bind(a,-1),a.prefixCls=n.rootPrefixCls+"-month-panel",a.state={value:n.value||n.defaultValue},a}return u()(t,e),t.getDerivedStateFromProps=function(e){var t={};return"value"in e&&(t={value:e.value}),t},t.prototype.render=function(){var e=this.props,t=this.state.value,n=e.locale,a=e.cellRender,r=e.contentRender,o=e.renderFooter,l=t.year(),i=this.prefixCls,s=o&&o("month");return f.a.createElement("div",{className:i,style:e.style},f.a.createElement("div",null,f.a.createElement("div",{className:i+"-header"},f.a.createElement("a",{className:i+"-prev-year-btn",role:"button",onClick:this.previousYear,title:n.previousYear}),f.a.createElement("a",{className:i+"-year-select",role:"button",onClick:e.onYearPanelShow,title:n.yearSelect},f.a.createElement("span",{className:i+"-year-select-content"},l),f.a.createElement("span",{className:i+"-year-select-arrow"},"x")),f.a.createElement("a",{className:i+"-next-year-btn",role:"button",onClick:this.nextYear,title:n.nextYear})),f.a.createElement("div",{className:i+"-body"},f.a.createElement(w.a,{disabledDate:e.disabledDate,onSelect:this.setAndSelectValue,locale:n,value:t,cellRender:a,contentRender:r,prefixCls:i})),s&&f.a.createElement("div",{className:i+"-footer"},s)))},t}(f.a.Component);S.propTypes={onChange:v.a.func,disabledDate:v.a.func,onSelect:v.a.func,renderFooter:v.a.func,rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object},S.defaultProps={onChange:E,onSelect:E},Object(b.polyfill)(S);var P=S,x=n("TSYQ"),j=n.n(x);function _(e){var t=this.state.value.clone();t.add(e,"year"),this.setState({value:t})}function N(e){var t=this.state.value.clone();t.year(e),t.month(this.state.value.month()),this.setState({value:t}),this.props.onSelect(t)}var D=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.prefixCls=n.rootPrefixCls+"-year-panel",a.state={value:n.value||n.defaultValue},a.nextDecade=_.bind(a,10),a.previousDecade=_.bind(a,-10),a}return u()(t,e),t.prototype.years=function(){for(var e=this.state.value.year(),t=10*parseInt(e/10,10)-1,n=[],a=0,r=0;r<4;r++){n[r]=[];for(var o=0;o<3;o++){var l=t+a,i=String(l);n[r][o]={content:i,year:l,title:i},a++}}return n},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,a=t.locale,r=t.renderFooter,o=this.years(),l=n.year(),i=10*parseInt(l/10,10),s=i+9,c=this.prefixCls,u=o.map((function(t,n){var a=t.map((function(t){var n,a=((n={})[c+"-cell"]=1,n[c+"-selected-cell"]=t.year===l,n[c+"-last-decade-cell"]=t.year<i,n[c+"-next-decade-cell"]=t.year>s,n),r=void 0;return r=t.year<i?e.previousDecade:t.year>s?e.nextDecade:N.bind(e,t.year),f.a.createElement("td",{role:"gridcell",title:t.title,key:t.content,onClick:r,className:j()(a)},f.a.createElement("a",{className:c+"-year"},t.content))}));return f.a.createElement("tr",{key:n,role:"row"},a)})),p=r&&r("year");return f.a.createElement("div",{className:this.prefixCls},f.a.createElement("div",null,f.a.createElement("div",{className:c+"-header"},f.a.createElement("a",{className:c+"-prev-decade-btn",role:"button",onClick:this.previousDecade,title:a.previousDecade}),f.a.createElement("a",{className:c+"-decade-select",role:"button",onClick:t.onDecadePanelShow,title:a.decadeSelect},f.a.createElement("span",{className:c+"-decade-select-content"},i,"-",s),f.a.createElement("span",{className:c+"-decade-select-arrow"},"x")),f.a.createElement("a",{className:c+"-next-decade-btn",role:"button",onClick:this.nextDecade,title:a.nextDecade})),f.a.createElement("div",{className:c+"-body"},f.a.createElement("table",{className:c+"-table",cellSpacing:"0",role:"grid"},f.a.createElement("tbody",{className:c+"-tbody"},u))),p&&f.a.createElement("div",{className:c+"-footer"},p)))},t}(f.a.Component),V=D;D.propTypes={rootPrefixCls:v.a.string,value:v.a.object,defaultValue:v.a.object,renderFooter:v.a.func},D.defaultProps={onSelect:function(){}};function T(e){var t=this.state.value.clone();t.add(e,"years"),this.setState({value:t})}function M(e,t){var n=this.state.value.clone();n.year(e),n.month(this.state.value.month()),this.props.onSelect(n),t.preventDefault()}var R=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.state={value:n.value||n.defaultValue},a.prefixCls=n.rootPrefixCls+"-decade-panel",a.nextCentury=T.bind(a,100),a.previousCentury=T.bind(a,-100),a}return u()(t,e),t.prototype.render=function(){for(var e=this,t=this.state.value,n=this.props,a=n.locale,r=n.renderFooter,o=t.year(),l=100*parseInt(o/100,10),i=l-10,s=l+99,c=[],u=0,p=this.prefixCls,d=0;d<4;d++){c[d]=[];for(var h=0;h<3;h++){var m=i+10*u,v=i+10*u+9;c[d][h]={startDecade:m,endDecade:v},u++}}var y=r&&r("decade"),b=c.map((function(t,n){var a=t.map((function(t){var n,a=t.startDecade,r=t.endDecade,i=a<l,c=r>s,u=((n={})[p+"-cell"]=1,n[p+"-selected-cell"]=a<=o&&o<=r,n[p+"-last-century-cell"]=i,n[p+"-next-century-cell"]=c,n),d=a+"-"+r,h=void 0;return h=i?e.previousCentury:c?e.nextCentury:M.bind(e,a),f.a.createElement("td",{key:a,onClick:h,role:"gridcell",className:j()(u)},f.a.createElement("a",{className:p+"-decade"},d))}));return f.a.createElement("tr",{key:n,role:"row"},a)}));return f.a.createElement("div",{className:this.prefixCls},f.a.createElement("div",{className:p+"-header"},f.a.createElement("a",{className:p+"-prev-century-btn",role:"button",onClick:this.previousCentury,title:a.previousCentury}),f.a.createElement("div",{className:p+"-century"},l,"-",s),f.a.createElement("a",{className:p+"-next-century-btn",role:"button",onClick:this.nextCentury,title:a.nextCentury})),f.a.createElement("div",{className:p+"-body"},f.a.createElement("table",{className:p+"-table",cellSpacing:"0",role:"grid"},f.a.createElement("tbody",{className:p+"-tbody"},b))),y&&f.a.createElement("div",{className:p+"-footer"},y))},t}(f.a.Component),I=R;function A(e){var t=this.props.value.clone();t.add(e,"months"),this.props.onValueChange(t)}function F(e){var t=this.props.value.clone();t.add(e,"years"),this.props.onValueChange(t)}function H(e,t){return e?t:null}R.propTypes={locale:v.a.object,value:v.a.object,defaultValue:v.a.object,rootPrefixCls:v.a.string,renderFooter:v.a.func},R.defaultProps={onSelect:function(){}};var L=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return Y.call(a),a.nextMonth=A.bind(a,1),a.previousMonth=A.bind(a,-1),a.nextYear=F.bind(a,1),a.previousYear=F.bind(a,-1),a.state={yearPanelReferer:null},a}return u()(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.prefixCls,a=t.locale,r=t.mode,o=t.value,l=t.showTimePicker,i=t.enableNext,s=t.enablePrev,c=t.disabledMonth,u=t.renderFooter,p=null;return"month"===r&&(p=f.a.createElement(P,{locale:a,value:o,rootPrefixCls:n,onSelect:this.onMonthSelect,onYearPanelShow:function(){return e.showYearPanel("month")},disabledDate:c,cellRender:t.monthCellRender,contentRender:t.monthCellContentRender,renderFooter:u,changeYear:this.changeYear})),"year"===r&&(p=f.a.createElement(V,{locale:a,defaultValue:o,rootPrefixCls:n,onSelect:this.onYearSelect,onDecadePanelShow:this.showDecadePanel,renderFooter:u})),"decade"===r&&(p=f.a.createElement(I,{locale:a,defaultValue:o,rootPrefixCls:n,onSelect:this.onDecadeSelect,renderFooter:u})),f.a.createElement("div",{className:n+"-header"},f.a.createElement("div",{style:{position:"relative"}},H(s&&!l,f.a.createElement("a",{className:n+"-prev-year-btn",role:"button",onClick:this.previousYear,title:a.previousYear})),H(s&&!l,f.a.createElement("a",{className:n+"-prev-month-btn",role:"button",onClick:this.previousMonth,title:a.previousMonth})),this.monthYearElement(l),H(i&&!l,f.a.createElement("a",{className:n+"-next-month-btn",onClick:this.nextMonth,title:a.nextMonth})),H(i&&!l,f.a.createElement("a",{className:n+"-next-year-btn",onClick:this.nextYear,title:a.nextYear}))),p)},t}(f.a.Component);L.propTypes={prefixCls:v.a.string,value:v.a.object,onValueChange:v.a.func,showTimePicker:v.a.bool,onPanelChange:v.a.func,locale:v.a.object,enablePrev:v.a.any,enableNext:v.a.any,disabledMonth:v.a.func,renderFooter:v.a.func,onMonthSelect:v.a.func},L.defaultProps={enableNext:1,enablePrev:1,onPanelChange:function(){},onValueChange:function(){}};var Y=function(){var e=this;this.onMonthSelect=function(t){e.props.onPanelChange(t,"date"),e.props.onMonthSelect?e.props.onMonthSelect(t):e.props.onValueChange(t)},this.onYearSelect=function(t){var n=e.state.yearPanelReferer;e.setState({yearPanelReferer:null}),e.props.onPanelChange(t,n),e.props.onValueChange(t)},this.onDecadeSelect=function(t){e.props.onPanelChange(t,"year"),e.props.onValueChange(t)},this.changeYear=function(t){t>0?e.nextYear():e.previousYear()},this.monthYearElement=function(t){var n=e.props,a=n.prefixCls,r=n.locale,o=n.value,l=o.localeData(),i=r.monthBeforeYear,s=a+"-"+(i?"my-select":"ym-select"),c=t?" "+a+"-time-status":"",u=f.a.createElement("a",{className:a+"-year-select"+c,role:"button",onClick:t?null:function(){return e.showYearPanel("date")},title:t?null:r.yearSelect},o.format(r.yearFormat)),p=f.a.createElement("a",{className:a+"-month-select"+c,role:"button",onClick:t?null:e.showMonthPanel,title:t?null:r.monthSelect},r.monthFormat?o.format(r.monthFormat):l.monthsShort(o)),d=void 0;t&&(d=f.a.createElement("a",{className:a+"-day-select"+c,role:"button"},o.format(r.dayFormat)));var h=[];return h=i?[p,d,u]:[u,p,d],f.a.createElement("span",{className:s},O(h))},this.showMonthPanel=function(){e.props.onPanelChange(null,"month")},this.showYearPanel=function(t){e.setState({yearPanelReferer:t}),e.props.onPanelChange(null,"year")},this.showDecadePanel=function(){e.props.onPanelChange(null,"decade")}},W=L,B=n("GrtH");function G(e){var t=e.prefixCls,n=e.locale,a=e.value,r=e.timePicker,o=e.disabled,l=e.disabledDate,i=e.onToday,s=e.text,c=(!s&&r?n.now:s)||n.today,u=l&&!Object(B.g)(Object(B.e)(a),l)||o,p=u?t+"-today-btn-disabled":"";return f.a.createElement("a",{className:t+"-today-btn "+p,role:"button",onClick:u?null:i,title:Object(B.f)(a)},c)}function Q(e){var t=e.prefixCls,n=e.locale,a=e.okDisabled,r=e.onOk,o=t+"-ok-btn";return a&&(o+=" "+t+"-ok-btn-disabled"),f.a.createElement("a",{className:o,role:"button",onClick:a?null:r},n.ok)}function K(e){var t,n=e.prefixCls,a=e.locale,r=e.showTimePicker,o=e.onOpenTimePicker,l=e.onCloseTimePicker,i=e.timePickerDisabled,s=j()(((t={})[n+"-time-picker-btn"]=!0,t[n+"-time-picker-btn-disabled"]=i,t)),c=null;return i||(c=r?l:o),f.a.createElement("a",{className:s,role:"button",onClick:c},r?a.dateSelect:a.timeSelect)}var Z=function(e){function t(){return l()(this,t),s()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.onSelect=function(e){this.props.onSelect(e)},t.prototype.getRootDOMNode=function(){return h.a.findDOMNode(this)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.prefixCls,a=e.showOk,o=e.timePicker,l=e.renderFooter,i=e.mode,s=null,c=l&&l(i);if(e.showToday||o||c){var u,p=void 0;e.showToday&&(p=f.a.createElement(G,r()({},e,{value:t})));var d=void 0;(!0===a||!1!==a&&e.timePicker)&&(d=f.a.createElement(Q,e));var h=void 0;e.timePicker&&(h=f.a.createElement(K,e));var m=void 0;(p||h||d||c)&&(m=f.a.createElement("span",{className:n+"-footer-btn"},c,O([p,h,d])));var v=j()(n+"-footer",((u={})[n+"-footer-show-ok"]=d,u));s=f.a.createElement("div",{className:v},m)}return s},t}(f.a.Component);Z.propTypes={prefixCls:v.a.string,showDateInput:v.a.bool,disabledTime:v.a.any,timePicker:v.a.element,selectedValue:v.a.any,showOk:v.a.bool,onSelect:v.a.func,value:v.a.object,renderFooter:v.a.func,defaultValue:v.a.object,mode:v.a.string};var z=Z,q=n("jBZG"),X=n("F4Vz"),U=n("wd/R"),J=n.n(U),$=void 0,ee=void 0,te=void 0,ne=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));ae.call(a);var r=n.selectedValue;return a.state={str:Object(B.a)(r,a.props.format),invalid:!1,hasFocus:!1},a}return u()(t,e),t.prototype.componentDidUpdate=function(){!te||!this.state.hasFocus||this.state.invalid||0===$&&0===ee||te.setSelectionRange($,ee)},t.getDerivedStateFromProps=function(e,t){var n={};te&&($=te.selectionStart,ee=te.selectionEnd);var a=e.selectedValue;return t.hasFocus||(n={str:Object(B.a)(a,e.format),invalid:!1}),n},t.getInstance=function(){return te},t.prototype.render=function(){var e=this.props,t=this.state,n=t.invalid,a=t.str,r=e.locale,o=e.prefixCls,l=e.placeholder,i=e.clearIcon,s=e.inputMode,c=n?o+"-input-invalid":"";return f.a.createElement("div",{className:o+"-input-wrap"},f.a.createElement("div",{className:o+"-date-input-wrap"},f.a.createElement("input",{ref:this.saveDateInput,className:o+"-input "+c,value:a,disabled:e.disabled,placeholder:l,onChange:this.onInputChange,onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,inputMode:s})),e.showClear?f.a.createElement("a",{role:"button",title:r.clear,onClick:this.onClear},i||f.a.createElement("span",{className:o+"-clear-btn"})):null)},t}(f.a.Component);ne.propTypes={prefixCls:v.a.string,timePicker:v.a.object,value:v.a.object,disabledTime:v.a.any,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),locale:v.a.object,disabledDate:v.a.func,onChange:v.a.func,onClear:v.a.func,placeholder:v.a.string,onSelect:v.a.func,selectedValue:v.a.object,clearIcon:v.a.node,inputMode:v.a.string};var ae=function(){var e=this;this.onClear=function(){e.setState({str:""}),e.props.onClear(null)},this.onInputChange=function(t){var n=t.target.value,a=e.props,r=a.disabledDate,o=a.format,l=a.onChange,i=a.selectedValue;if(!n)return l(null),void e.setState({invalid:!1,str:n});var s=J()(n,o,!0);if(s.isValid()){var c=e.props.value.clone();c.year(s.year()).month(s.month()).date(s.date()).hour(s.hour()).minute(s.minute()).second(s.second()),!c||r&&r(c)?e.setState({invalid:!0,str:n}):(i!==c||i&&c&&!i.isSame(c))&&(e.setState({invalid:!1,str:n}),l(c))}else e.setState({invalid:!0,str:n})},this.onFocus=function(){e.setState({hasFocus:!0})},this.onBlur=function(){e.setState((function(e,t){return{hasFocus:!1,str:Object(B.a)(t.value,t.format)}}))},this.onKeyDown=function(t){var n=t.keyCode,a=e.props,r=a.onSelect,o=a.value,l=a.disabledDate;n===y.a.ENTER&&r&&((!l||!l(o))&&r(o.clone()),t.preventDefault())},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.focus=function(){te&&te.focus()},this.saveDateInput=function(e){te=e}};Object(b.polyfill)(ne);var re=ne;function oe(e){return e.clone().startOf("month")}function le(e){return e.clone().endOf("month")}function ie(e,t,n){return e.clone().add(t,n)}function se(){}var ce=function(e){return!(!J.a.isMoment(e)||!e.isValid())&&e},ue=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return pe.call(a),a.state={mode:a.props.mode||"date",value:ce(n.value)||ce(n.defaultValue)||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},a}return u()(t,e),t.prototype.componentDidMount=function(){this.props.showDateInput&&this.saveFocusElement(re.getInstance())},t.getDerivedStateFromProps=function(e,t){var n=e.value,a=e.selectedValue,r={};return"mode"in e&&t.mode!==e.mode&&(r={mode:e.mode}),"value"in e&&(r.value=ce(n)||ce(e.defaultValue)||Object(q.d)(t.value)),"selectedValue"in e&&(r.selectedValue=a),r},t.prototype.render=function(){var e=this.props,t=this.state,n=e.locale,a=e.prefixCls,o=e.disabledDate,l=e.dateInputPlaceholder,i=e.timePicker,s=e.disabledTime,c=e.clearIcon,u=e.renderFooter,p=e.inputMode,d=e.monthCellRender,h=e.monthCellContentRender,m=t.value,v=t.selectedValue,y=t.mode,b="time"===y,C=b&&s&&i?Object(B.c)(v,s):null,O=null;if(i&&b){var w=r()({showHour:!0,showSecond:!0,showMinute:!0},i.props,C,{onChange:this.onDateInputChange,value:v,disabledTime:s});void 0!==i.props.defaultValue&&(w.defaultOpenValue=i.props.defaultValue),O=f.a.cloneElement(i,w)}var k=e.showDateInput?f.a.createElement(re,{format:this.getFormat(),key:"date-input",value:m,locale:n,placeholder:l,showClear:!0,disabledTime:s,disabledDate:o,onClear:this.onClear,prefixCls:a,selectedValue:v,onChange:this.onDateInputChange,onSelect:this.onDateInputSelect,clearIcon:c,inputMode:p}):null,E=[];return e.renderSidebar&&E.push(e.renderSidebar()),E.push(f.a.createElement("div",{className:a+"-panel",key:"panel"},k,f.a.createElement("div",{tabIndex:this.props.focusablePanel?0:void 0,className:a+"-date-panel"},f.a.createElement(W,{locale:n,mode:y,value:m,onValueChange:this.setValue,onPanelChange:this.onPanelChange,renderFooter:u,showTimePicker:b,prefixCls:a,monthCellRender:d,monthCellContentRender:h}),i&&b?f.a.createElement("div",{className:a+"-time-picker"},f.a.createElement("div",{className:a+"-time-picker-panel"},O)):null,f.a.createElement("div",{className:a+"-body"},f.a.createElement(g.a,{locale:n,value:m,selectedValue:v,prefixCls:a,dateRender:e.dateRender,onSelect:this.onDateTableSelect,disabledDate:o,showWeekNumber:e.showWeekNumber})),f.a.createElement(z,{showOk:e.showOk,mode:y,renderFooter:e.renderFooter,locale:n,prefixCls:a,showToday:e.showToday,disabledTime:s,showTimePicker:b,showDateInput:e.showDateInput,timePicker:i,selectedValue:v,timePickerDisabled:!v,value:m,disabledDate:o,okDisabled:!(!1===e.showOk||v&&this.isAllowedDate(v)),onOk:this.onOk,onSelect:this.onSelect,onToday:this.onToday,onOpenTimePicker:this.openTimePicker,onCloseTimePicker:this.closeTimePicker})))),this.renderRoot({children:E,className:e.showWeekNumber?a+"-week-number":""})},t}(f.a.Component);ue.propTypes=r()({},q.b,X.c,{prefixCls:v.a.string,className:v.a.string,style:v.a.object,defaultValue:v.a.object,value:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,mode:v.a.oneOf(["time","date","month","year","decade"]),locale:v.a.object,showDateInput:v.a.bool,showWeekNumber:v.a.bool,showToday:v.a.bool,showOk:v.a.bool,onSelect:v.a.func,onOk:v.a.func,onKeyDown:v.a.func,timePicker:v.a.element,dateInputPlaceholder:v.a.any,onClear:v.a.func,onChange:v.a.func,onPanelChange:v.a.func,disabledDate:v.a.func,disabledTime:v.a.any,dateRender:v.a.func,renderFooter:v.a.func,renderSidebar:v.a.func,clearIcon:v.a.node,focusablePanel:v.a.bool,inputMode:v.a.string,onBlur:v.a.func}),ue.defaultProps=r()({},q.a,X.b,{showToday:!0,showDateInput:!0,timePicker:null,onOk:se,onPanelChange:se,focusablePanel:!0});var pe=function(){var e=this;this.onPanelChange=function(t,n){var a=e.props,r=e.state;"mode"in a||e.setState({mode:n}),a.onPanelChange(t||r.value,n)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,a=t.ctrlKey||t.metaKey,r=e.props.disabledDate,o=e.state.value;switch(n){case y.a.DOWN:return e.goTime(1,"weeks"),t.preventDefault(),1;case y.a.UP:return e.goTime(-1,"weeks"),t.preventDefault(),1;case y.a.LEFT:return a?e.goTime(-1,"years"):e.goTime(-1,"days"),t.preventDefault(),1;case y.a.RIGHT:return a?e.goTime(1,"years"):e.goTime(1,"days"),t.preventDefault(),1;case y.a.HOME:return e.setValue(oe(e.state.value)),t.preventDefault(),1;case y.a.END:return e.setValue(le(e.state.value)),t.preventDefault(),1;case y.a.PAGE_DOWN:return e.goTime(1,"month"),t.preventDefault(),1;case y.a.PAGE_UP:return e.goTime(-1,"month"),t.preventDefault(),1;case y.a.ENTER:return r&&r(o)||e.onSelect(o,{source:"keyboard"}),t.preventDefault(),1;default:return e.props.onKeyDown(t),1}}},this.onClear=function(){e.onSelect(null),e.props.onClear()},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDate(t)&&e.props.onOk(t)},this.onDateInputChange=function(t){e.onSelect(t,{source:"dateInput"})},this.onDateInputSelect=function(t){e.onSelect(t,{source:"dateInputSelect"})},this.onDateTableSelect=function(t){var n=e.props.timePicker;if(!e.state.selectedValue&&n){var a=n.props.defaultValue;a&&Object(B.h)(a,t)}e.onSelect(t)},this.onToday=function(){var t=e.state.value,n=Object(B.e)(t);e.onSelect(n,{source:"todayButton"})},this.onBlur=function(t){setTimeout((function(){var n=re.getInstance(),a=e.rootInstance;!a||a.contains(document.activeElement)||n&&n.contains(document.activeElement)||e.props.onBlur&&e.props.onBlur(t)}),0)},this.getRootDOMNode=function(){return h.a.findDOMNode(e)},this.openTimePicker=function(){e.onPanelChange(null,"time")},this.closeTimePicker=function(){e.onPanelChange(null,"date")},this.goTime=function(t,n){e.setValue(ie(e.state.value,t,n))}};Object(b.polyfill)(ue);var fe=Object(q.c)(Object(X.a)(ue)),de=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));return a.onKeyDown=function(e){var t=e.keyCode,n=e.ctrlKey||e.metaKey,r=a.state.value,o=a.props.disabledDate,l=r;switch(t){case y.a.DOWN:(l=r.clone()).add(3,"months");break;case y.a.UP:(l=r.clone()).add(-3,"months");break;case y.a.LEFT:l=r.clone(),n?l.add(-1,"years"):l.add(-1,"months");break;case y.a.RIGHT:l=r.clone(),n?l.add(1,"years"):l.add(1,"months");break;case y.a.ENTER:return o&&o(r)||a.onSelect(r),e.preventDefault(),1;default:return}if(l!==r)return a.setValue(l),e.preventDefault(),1},a.handlePanelChange=function(e,t){"date"!==t&&a.setState({mode:t})},a.state={mode:"month",value:n.value||n.defaultValue||J()(),selectedValue:n.selectedValue||n.defaultSelectedValue},a}return u()(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=t.mode,a=t.value,r=f.a.createElement("div",{className:e.prefixCls+"-month-calendar-content"},f.a.createElement("div",{className:e.prefixCls+"-month-header-wrap"},f.a.createElement(W,{prefixCls:e.prefixCls,mode:n,value:a,locale:e.locale,disabledMonth:e.disabledDate,monthCellRender:e.monthCellRender,monthCellContentRender:e.monthCellContentRender,onMonthSelect:this.onSelect,onValueChange:this.setValue,onPanelChange:this.handlePanelChange})),f.a.createElement(z,{prefixCls:e.prefixCls,renderFooter:e.renderFooter}));return this.renderRoot({className:e.prefixCls+"-month-calendar",children:r})},t}(f.a.Component);de.propTypes=r()({},q.b,X.c,{monthCellRender:v.a.func,value:v.a.object,defaultValue:v.a.object,selectedValue:v.a.object,defaultSelectedValue:v.a.object,disabledDate:v.a.func}),de.defaultProps=r()({},X.b,q.a);var he=Object(b.polyfill)(Object(q.c)(Object(X.a)(de))),me=n("2GS6"),ve={adjustX:1,adjustY:1},ye=[0,0],be={bottomLeft:{points:["tl","tl"],overflow:ve,offset:[0,-3],targetOffset:ye},bottomRight:{points:["tr","tr"],overflow:ve,offset:[0,-3],targetOffset:ye},topRight:{points:["br","br"],overflow:ve,offset:[0,3],targetOffset:ye},topLeft:{points:["bl","bl"],overflow:ve,offset:[0,3],targetOffset:ye}},ge=n("uciX");function Ce(){}function Oe(e,t){this[e]=t}var we=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));ke.call(a);var r=void 0;r="open"in n?n.open:n.defaultOpen;var o=n.value||n.defaultValue;return a.saveCalendarRef=Oe.bind(a,"calendarInstance"),a.state={open:r,value:o},a}return u()(t,e),t.prototype.componentDidUpdate=function(e,t){!t.open&&this.state.open&&(this.focusTimeout=setTimeout(this.focusCalendar,0,this))},t.prototype.componentWillUnmount=function(){clearTimeout(this.focusTimeout)},t.getDerivedStateFromProps=function(e){var t={},n=e.value,a=e.open;return"value"in e&&(t.value=n),void 0!==a&&(t.open=a),t},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.placement,a=e.style,r=e.getCalendarContainer,o=e.align,l=e.animation,i=e.disabled,s=e.dropdownClassName,c=e.transitionName,u=e.children,p=this.state;return f.a.createElement(ge.a,{popup:this.getCalendarElement(),popupAlign:o,builtinPlacements:be,popupPlacement:n,action:i&&!p.open?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:r,popupStyle:a,popupAnimation:l,popupTransitionName:c,popupVisible:p.open,onPopupVisibleChange:this.onVisibleChange,prefixCls:t,popupClassName:s},f.a.cloneElement(u(p,e),{onKeyDown:this.onKeyDown}))},t}(f.a.Component);we.propTypes={animation:v.a.oneOfType([v.a.func,v.a.string]),disabled:v.a.bool,transitionName:v.a.string,onChange:v.a.func,onOpenChange:v.a.func,children:v.a.func,getCalendarContainer:v.a.func,calendar:v.a.element,style:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,prefixCls:v.a.string,placement:v.a.any,value:v.a.oneOfType([v.a.object,v.a.array]),defaultValue:v.a.oneOfType([v.a.object,v.a.array]),align:v.a.object,dateRender:v.a.func,onBlur:v.a.func},we.defaultProps={prefixCls:"rc-calendar-picker",style:{},align:{},placement:"bottomLeft",defaultOpen:!1,onChange:Ce,onOpenChange:Ce,onBlur:Ce};var ke=function(){var e=this;this.onCalendarKeyDown=function(t){t.keyCode===y.a.ESC&&(t.stopPropagation(),e.close(e.focus))},this.onCalendarSelect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.props;"value"in a||e.setState({value:t}),("keyboard"===n.source||"dateInputSelect"===n.source||!a.calendar.props.timePicker&&"dateInput"!==n.source||"todayButton"===n.source)&&e.close(e.focus),a.onChange(t)},this.onKeyDown=function(t){e.state.open||t.keyCode!==y.a.DOWN&&t.keyCode!==y.a.ENTER||(e.open(),t.preventDefault())},this.onCalendarOk=function(){e.close(e.focus)},this.onCalendarClear=function(){e.close(e.focus)},this.onCalendarBlur=function(){e.setOpen(!1)},this.onVisibleChange=function(t){e.setOpen(t)},this.getCalendarElement=function(){var t=e.props,n=e.state,a=t.calendar.props,r=n.value,o=r,l={ref:e.saveCalendarRef,defaultValue:o||a.defaultValue,selectedValue:r,onKeyDown:e.onCalendarKeyDown,onOk:Object(me.a)(a.onOk,e.onCalendarOk),onSelect:Object(me.a)(a.onSelect,e.onCalendarSelect),onClear:Object(me.a)(a.onClear,e.onCalendarClear),onBlur:Object(me.a)(a.onBlur,e.onCalendarBlur)};return f.a.cloneElement(t.calendar,l)},this.setOpen=function(t,n){var a=e.props.onOpenChange;e.state.open!==t&&("open"in e.props||e.setState({open:t},n),a(t))},this.open=function(t){e.setOpen(!0,t)},this.close=function(t){e.setOpen(!1,t)},this.focus=function(){e.state.open||h.a.findDOMNode(e).focus()},this.focusCalendar=function(){e.state.open&&e.calendarInstance&&e.calendarInstance.focus()}};Object(b.polyfill)(we);var Ee=we,Se=n("BGR+"),Pe=n("CtXQ"),xe=n("H84U"),je=n("6CfX"),_e=n("veqR"),Ne=n("RqAY");function De(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}function Ve(e){return(Ve="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(){return(Te=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}).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 Re(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)}}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(e,t){return!t||"object"!==Ve(t)&&"function"!=typeof t?Fe(e):t}function Fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function He(){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 Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ye(e){var t=function(t){!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,t);var n,a,r,o,l=(n=i,function(){var e,t=Le(n);if(He()){var a=Le(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return Ae(this,e)});function i(t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(n=l.call(this,t)).saveInput=function(e){n.input=e},n.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),n.handleChange(null)},n.handleChange=function(e){var t=Fe(n).props;"value"in t||n.setState({value:e,showDate:e}),t.onChange(e,De(e,t.format))},n.handleCalendarChange=function(e){n.setState({showDate:e})},n.handleOpenChange=function(e){var t=n.props.onOpenChange;"open"in n.props||n.setState({open:e}),t&&t(e)},n.renderFooter=function(){var e=n.props.renderExtraFooter,t=Fe(n),a=t.prefixCls;return e?p.createElement("div",{className:"".concat(a,"-footer-extra")},e.apply(void 0,arguments)):null},n.renderPicker=function(t){var a,r,o=t.getPrefixCls,l=n.state,i=l.value,s=l.showDate,c=l.open,u=Object(Se.a)(n.props,["onChange"]),f=u.prefixCls,d=u.locale,h=u.localeCode,m=u.suffixIcon,v=o("calendar",f);n.prefixCls=v;var y="placeholder"in u?u.placeholder:d.lang.placeholder,b=u.showTime?u.disabledTime:null,g=j()((Me(a={},"".concat(v,"-time"),u.showTime),Me(a,"".concat(v,"-month"),he===e),a));i&&h&&i.locale(h);var C={},O={},w={};u.showTime?(O={onSelect:n.handleChange},w.minWidth=195):C={onChange:n.handleChange},"mode"in u&&(O.mode=u.mode),Object(je.a)(!("onOK"in u),"DatePicker","It should be `DatePicker[onOk]` or `MonthPicker[onOk]`, instead of `onOK`!");var k=p.createElement(e,Te({},O,{disabledDate:u.disabledDate,disabledTime:b,locale:d.lang,timePicker:u.timePicker,defaultValue:u.defaultPickerValue||Object(_e.a)(U)(),dateInputPlaceholder:y,prefixCls:v,className:g,onOk:u.onOk,dateRender:u.dateRender,format:u.format,showToday:u.showToday,monthCellContentRender:u.monthCellContentRender,renderFooter:n.renderFooter,onPanelChange:u.onPanelChange,onChange:n.handleCalendarChange,value:s})),E=!u.disabled&&u.allowClear&&i?p.createElement(Pe.default,{type:"close-circle",className:"".concat(v,"-picker-clear"),onClick:n.clearSelection,theme:"filled"}):null,S=m&&(p.isValidElement(m)?p.cloneElement(m,{className:j()((r={},Me(r,m.props.className,m.props.className),Me(r,"".concat(v,"-picker-icon"),!0),r))}):p.createElement("span",{className:"".concat(v,"-picker-icon")},m))||p.createElement(Pe.default,{type:"calendar",className:"".concat(v,"-picker-icon")}),P=Object(Ne.a)(u),x=function(e){var t=e.value;return p.createElement("div",null,p.createElement("input",Te({ref:n.saveInput,disabled:u.disabled,readOnly:!0,value:De(t,u.format),placeholder:y,className:u.pickerInputClass,tabIndex:u.tabIndex,name:u.name},P)),E,S)};return p.createElement("span",{id:u.id,className:j()(u.className,u.pickerClass),style:Te(Te({},w),u.style),onFocus:u.onFocus,onBlur:u.onBlur,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},p.createElement(Ee,Te({},u,C,{calendar:k,value:i,prefixCls:"".concat(v,"-picker-container"),style:u.popupStyle,open:c,onOpenChange:n.handleOpenChange}),x))};var a=t.value||t.defaultValue;if(a&&!Object(_e.a)(U).isMoment(a))throw new Error("The value/defaultValue of DatePicker or MonthPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return n.state={value:a,showDate:a,open:!1},n}return a=i,o=[{key:"getDerivedStateFromProps",value:function(e,t){var n={},a=t.open;return"open"in e&&(n.open=e.open,a=e.open||!1),"value"in e&&(n.value=e.value,(e.value!==t.value||!a&&e.value!==t.showDate)&&(n.showDate=e.value)),Object.keys(n).length>0?n:null}}],(r=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderPicker)}}])&&Re(a.prototype,r),o&&Re(a,o),i}(p.Component);return t.defaultProps={allowClear:!0,showToday:!0},Object(b.polyfill)(t),t}function We(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)}}function Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qe(e,t){return(Qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze=function(e){function t(e){var n,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,r=Be(t).call(this,e),n=!r||"object"!=typeof r&&"function"!=typeof r?Ge(a):r,Ke(Ge(n),"onInputChange",(function(e){var t=e.target.value;n.setState({str:t});var a=n.props,r=a.format,o=a.hourOptions,l=a.minuteOptions,i=a.secondOptions,s=a.disabledHours,c=a.disabledMinutes,u=a.disabledSeconds,p=a.onChange;if(t){var f=n.props.value,d=n.getProtoValue().clone(),h=J()(t,r,!0);if(!h.isValid())return void n.setState({invalid:!0});if(d.hour(h.hour()).minute(h.minute()).second(h.second()),o.indexOf(d.hour())<0||l.indexOf(d.minute())<0||i.indexOf(d.second())<0)return void n.setState({invalid:!0});var m=s(),v=c(d.hour()),y=u(d.hour(),d.minute());if(m&&m.indexOf(d.hour())>=0||v&&v.indexOf(d.minute())>=0||y&&y.indexOf(d.second())>=0)return void n.setState({invalid:!0});if(f){if(f.hour()!==d.hour()||f.minute()!==d.minute()||f.second()!==d.second()){var b=f.clone();b.hour(d.hour()),b.minute(d.minute()),b.second(d.second()),p(b)}}else f!==d&&p(d)}else p(null);n.setState({invalid:!1})})),Ke(Ge(n),"onKeyDown",(function(e){var t=n.props,a=t.onEsc,r=t.onKeyDown;27===e.keyCode&&a(),r(e)}));var o=e.value,l=e.format;return n.state={str:o&&o.format(l)||"",invalid:!1},n}var n,a,r;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&&Qe(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){var e=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)((function(){e.refInput.focus(),e.refInput.select()}))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.value,a=t.format;n!==e.value&&this.setState({str:n&&n.format(a)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var e=this.props,t=e.value,n=e.defaultOpenValue;return t||n}},{key:"getInput",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.placeholder,r=t.inputReadOnly,o=this.state,l=o.invalid,i=o.str,s=l?"".concat(n,"-input-invalid"):"";return f.a.createElement("input",{className:j()("".concat(n,"-input"),s),ref:function(t){e.refInput=t},onKeyDown:this.onKeyDown,value:i,placeholder:a,onChange:this.onInputChange,readOnly:!!r})}},{key:"render",value:function(){var e=this.props.prefixCls;return f.a.createElement("div",{className:"".concat(e,"-input-wrap")},this.getInput())}}])&&We(n.prototype,a),r&&We(n,r),t}(p.Component);Ke(Ze,"propTypes",{format:v.a.string,prefixCls:v.a.string,disabledDate:v.a.func,placeholder:v.a.string,clearText:v.a.string,value:v.a.object,inputReadOnly:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onChange:v.a.func,onEsc:v.a.func,defaultOpenValue:v.a.object,currentSelectPanel:v.a.string,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),Ke(Ze,"defaultProps",{inputReadOnly:!1});var ze=Ze,qe=n("hxti"),Xe=n.n(qe);function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(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)}}function $e(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?tt(e):t}function et(e){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nt(e,t){return(nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=function(e){function t(){var e,n;Ue(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return at(tt(n=$e(this,(e=et(t)).call.apply(e,[this].concat(r)))),"state",{active:!1}),at(tt(n),"onSelect",(function(e){var t=n.props;(0,t.onSelect)(t.type,e)})),at(tt(n),"handleMouseEnter",(function(e){var t=n.props.onMouseEnter;n.setState({active:!0}),t(e)})),at(tt(n),"handleMouseLeave",(function(){n.setState({active:!1})})),at(tt(n),"saveList",(function(e){n.list=e})),n}var n,a,r;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&&nt(e,t)}(t,e),n=t,(a=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(e){var t=this.props.selectedIndex;e.selectedIndex!==t&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var e=this,t=this.props,n=t.options,a=t.selectedIndex,r=t.prefixCls,o=t.onEsc;return n.map((function(t,n){var l,i=j()((at(l={},"".concat(r,"-select-option-selected"),a===n),at(l,"".concat(r,"-select-option-disabled"),t.disabled),l)),s=t.disabled?void 0:function(){e.onSelect(t.value)};return f.a.createElement("li",{role:"button",onClick:s,className:i,key:n,disabled:t.disabled,tabIndex:"0",onKeyDown:function(e){13===e.keyCode?s():27===e.keyCode&&o()}},t.value)}))}},{key:"scrollToSelected",value:function(e){var t=this.props.selectedIndex,n=h.a.findDOMNode(this),a=h.a.findDOMNode(this.list);if(a){var r=t;r<0&&(r=0),function e(t,n,a){if(a<=0)Xe()((function(){t.scrollTop=n}));else{var r=(n-t.scrollTop)/a*10;Xe()((function(){t.scrollTop+=r,t.scrollTop!==n&&e(t,n,a-10)}))}}(n,a.children[r].offsetTop,e)}}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.options,a=this.state.active;if(0===n.length)return null;var r=j()("".concat(t,"-select"),at({},"".concat(t,"-select-active"),a));return f.a.createElement("div",{className:r,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},f.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&Je(n.prototype,a),r&&Je(n,r),t}(p.Component);at(rt,"propTypes",{prefixCls:v.a.string,options:v.a.array,selectedIndex:v.a.number,type:v.a.string,onSelect:v.a.func,onMouseEnter:v.a.func,onEsc:v.a.func});var ot=rt;function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function it(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)}}function st(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?ut(e):t}function ct(e){return(ct=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ut(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dt=function(e,t){var n="".concat(e);e<10&&(n="0".concat(e));var a=!1;return t&&t.indexOf(e)>=0&&(a=!0),{value:n,disabled:a}},ht=function(e){function t(){var e,n;lt(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return ft(ut(n=st(this,(e=ct(t)).call.apply(e,[this].concat(r)))),"onItemChange",(function(e,t){var a=n.props,r=a.onChange,o=a.defaultOpenValue,l=a.use12Hours,i=a.value,s=a.isAM,c=a.onAmPmChange,u=(i||o).clone();if("hour"===e)l?s?u.hour(+t%12):u.hour(+t%12+12):u.hour(+t);else if("minute"===e)u.minute(+t);else if("ampm"===e){var p=t.toUpperCase();l&&("PM"===p&&u.hour()<12&&u.hour(u.hour()%12+12),"AM"===p&&u.hour()>=12&&u.hour(u.hour()-12)),c(p)}else u.second(+t);r(u)})),ft(ut(n),"onEnterSelectPanel",(function(e){(0,n.props.onCurrentSelectPanelChange)(e)})),n}var n,a,r;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&&pt(e,t)}(t,e),n=t,(a=[{key:"getHourSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.hourOptions,o=n.disabledHours,l=n.showHour,i=n.use12Hours,s=n.onEsc;if(!l)return null;var c,u,p=o();return i?(c=[12].concat(r.filter((function(e){return e<12&&e>0}))),u=e%12||12):(c=r,u=e),f.a.createElement(ot,{prefixCls:a,options:c.map((function(e){return dt(e,p)})),selectedIndex:c.indexOf(u),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("hour")},onEsc:s})}},{key:"getMinuteSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.minuteOptions,o=n.disabledMinutes,l=n.defaultOpenValue,i=n.showMinute,s=n.value,c=n.onEsc;if(!i)return null;var u=o((s||l).hour());return f.a.createElement(ot,{prefixCls:a,options:r.map((function(e){return dt(e,u)})),selectedIndex:r.indexOf(e),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("minute")},onEsc:c})}},{key:"getSecondSelect",value:function(e){var t=this,n=this.props,a=n.prefixCls,r=n.secondOptions,o=n.disabledSeconds,l=n.showSecond,i=n.defaultOpenValue,s=n.value,c=n.onEsc;if(!l)return null;var u=s||i,p=o(u.hour(),u.minute());return f.a.createElement(ot,{prefixCls:a,options:r.map((function(e){return dt(e,p)})),selectedIndex:r.indexOf(e),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("second")},onEsc:c})}},{key:"getAMPMSelect",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.use12Hours,r=t.format,o=t.isAM,l=t.onEsc;if(!a)return null;var i=["am","pm"].map((function(e){return r.match(/\sA/)?e.toUpperCase():e})).map((function(e){return{value:e}})),s=o?0:1;return f.a.createElement(ot,{prefixCls:n,options:i,selectedIndex:s,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("ampm")},onEsc:l})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.defaultOpenValue,a=e.value||n;return f.a.createElement("div",{className:"".concat(t,"-combobox")},this.getHourSelect(a.hour()),this.getMinuteSelect(a.minute()),this.getSecondSelect(a.second()),this.getAMPMSelect(a.hour()))}}])&&it(n.prototype,a),r&&it(n,r),t}(p.Component);ft(ht,"propTypes",{format:v.a.string,defaultOpenValue:v.a.object,prefixCls:v.a.string,value:v.a.object,onChange:v.a.func,onAmPmChange:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,hourOptions:v.a.array,minuteOptions:v.a.array,secondOptions:v.a.array,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,onCurrentSelectPanelChange:v.a.func,use12Hours:v.a.bool,onEsc:v.a.func,isAM:v.a.bool});var mt=ht;function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function yt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(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)}}function gt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ot(e):t}function Ct(e){return(Ct=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 wt(e,t){return(wt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kt(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(){}function St(e,t,n){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=[],o=0;o<e;o+=a)(!t||t.indexOf(o)<0||!n)&&r.push(o);return r}var Pt=function(e){function t(){var e,n;yt(this,t);for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];return kt(Ot(n=gt(this,(e=Ct(t)).call.apply(e,[this].concat(r)))),"state",{}),kt(Ot(n),"onChange",(function(e){var t=n.props.onChange;n.setState({value:e}),t(e)})),kt(Ot(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),kt(Ot(n),"onCurrentSelectPanelChange",(function(e){n.setState({currentSelectPanel:e})})),kt(Ot(n),"disabledHours",(function(){var e=n.props,t=e.use12Hours,a=(0,e.disabledHours)();return t&&Array.isArray(a)&&(a=n.isAM()?a.filter((function(e){return e<12})).map((function(e){return 0===e?12:e})):a.map((function(e){return 12===e?12:e-12}))),a})),n}var n,a,r;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&&wt(e,t)}(t,e),n=t,r=[{key:"getDerivedStateFromProps",value:function(e,t){return"value"in e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(n),!0).forEach((function(t){kt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{value:e.value}):null}}],(a=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var e=this.props.defaultOpenValue,t=this.state.value||e;return t.hour()>=0&&t.hour()<12}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,a=e.placeholder,r=e.disabledMinutes,o=e.disabledSeconds,l=e.hideDisabledOptions,i=e.showHour,s=e.showMinute,c=e.showSecond,u=e.format,p=e.defaultOpenValue,d=e.clearText,h=e.onEsc,m=e.addon,v=e.use12Hours,y=e.focusOnOpen,b=e.onKeyDown,g=e.hourStep,C=e.minuteStep,O=e.secondStep,w=e.inputReadOnly,k=e.clearIcon,E=this.state,S=E.value,P=E.currentSelectPanel,x=this.disabledHours(),_=r(S?S.hour():null),N=o(S?S.hour():null,S?S.minute():null),D=St(24,x,l,g),V=St(60,_,l,C),T=St(60,N,l,O),M=function(e,t,n,a){var r=t.slice().sort((function(t,n){return Math.abs(e.hour()-t)-Math.abs(e.hour()-n)}))[0],o=n.slice().sort((function(t,n){return Math.abs(e.minute()-t)-Math.abs(e.minute()-n)}))[0],l=a.slice().sort((function(t,n){return Math.abs(e.second()-t)-Math.abs(e.second()-n)}))[0];return J()("".concat(r,":").concat(o,":").concat(l),"HH:mm:ss")}(p,D,V,T);return f.a.createElement("div",{className:j()(n,"".concat(t,"-inner"))},f.a.createElement(ze,{clearText:d,prefixCls:t,defaultOpenValue:M,value:S,currentSelectPanel:P,onEsc:h,format:u,placeholder:a,hourOptions:D,minuteOptions:V,secondOptions:T,disabledHours:this.disabledHours,disabledMinutes:r,disabledSeconds:o,onChange:this.onChange,focusOnOpen:y,onKeyDown:b,inputReadOnly:w,clearIcon:k}),f.a.createElement(mt,{prefixCls:t,value:S,defaultOpenValue:M,format:u,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:i,showMinute:s,showSecond:c,hourOptions:D,minuteOptions:V,secondOptions:T,disabledHours:this.disabledHours,disabledMinutes:r,disabledSeconds:o,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:v,onEsc:h,isAM:this.isAM()}),m(this))}}])&&bt(n.prototype,a),r&&bt(n,r),t}(p.Component);kt(Pt,"propTypes",{clearText:v.a.string,prefixCls:v.a.string,className:v.a.string,defaultOpenValue:v.a.object,value:v.a.object,placeholder:v.a.string,format:v.a.string,inputReadOnly:v.a.bool,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onEsc:v.a.func,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,addon:v.a.func,focusOnOpen:v.a.bool,onKeyDown:v.a.func,clearIcon:v.a.node}),kt(Pt,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:Et,disabledHours:Et,disabledMinutes:Et,disabledSeconds:Et,defaultOpenValue:J()(),use12Hours:!1,addon:Et,onKeyDown:Et,onAmPmChange:Et,inputReadOnly:!1}),Object(b.polyfill)(Pt);var xt=Pt,jt=n("61s2"),_t=n("YMnH"),Nt={adjustX:1,adjustY:1},Dt=[0,0],Vt={bottomLeft:{points:["tl","tl"],overflow:Nt,offset:[0,-3],targetOffset:Dt},bottomRight:{points:["tr","tr"],overflow:Nt,offset:[0,-3],targetOffset:Dt},topRight:{points:["br","br"],overflow:Nt,offset:[0,3],targetOffset:Dt},topLeft:{points:["bl","bl"],overflow:Nt,offset:[0,3],targetOffset:Dt}};function Tt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Mt(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)}}function Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function It(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function At(e,t){return(At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ht(){}function Lt(e,t){this[e]=t}var Yt=function(e){function t(e){var n,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,r=Rt(t).call(this,e),n=!r||"object"!=typeof r&&"function"!=typeof r?It(a):r,Ft(It(n),"onPanelChange",(function(e){n.setValue(e)})),Ft(It(n),"onAmPmChange",(function(e){(0,n.props.onAmPmChange)(e)})),Ft(It(n),"onClear",(function(e){e.stopPropagation(),n.setValue(null),n.setOpen(!1)})),Ft(It(n),"onVisibleChange",(function(e){n.setOpen(e)})),Ft(It(n),"onEsc",(function(){n.setOpen(!1),n.focus()})),Ft(It(n),"onKeyDown",(function(e){40===e.keyCode&&n.setOpen(!0)})),n.saveInputRef=Lt.bind(It(n),"picker"),n.savePanelRef=Lt.bind(It(n),"panelInstance");var o=e.defaultOpen,l=e.defaultValue,i=e.open,s=void 0===i?o:i,c=e.value,u=void 0===c?l:c;return n.state={open:s,value:u},n}var n,a,r;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&&At(e,t)}(t,e),n=t,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n={};return"value"in e&&(n.value=e.value),void 0!==e.open&&(n.open=e.open),Object.keys(n).length>0?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){Ft(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n):null}}],(a=[{key:"setValue",value:function(e){var t=this.props.onChange;"value"in this.props||this.setState({value:e}),t(e)}},{key:"getFormat",value:function(){var e=this.props,t=e.format,n=e.showHour,a=e.showMinute,r=e.showSecond,o=e.use12Hours;return t||(o?[n?"h":"",a?"mm":"",r?"ss":""].filter((function(e){return!!e})).join(":").concat(" a"):[n?"HH":"",a?"mm":"",r?"ss":""].filter((function(e){return!!e})).join(":"))}},{key:"getPanelElement",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,a=e.disabledHours,r=e.disabledMinutes,o=e.disabledSeconds,l=e.hideDisabledOptions,i=e.inputReadOnly,s=e.showHour,c=e.showMinute,u=e.showSecond,p=e.defaultOpenValue,d=e.clearText,h=e.addon,m=e.use12Hours,v=e.focusOnOpen,y=e.onKeyDown,b=e.hourStep,g=e.minuteStep,C=e.secondStep,O=e.clearIcon,w=this.state.value;return f.a.createElement(xt,{clearText:d,prefixCls:"".concat(t,"-panel"),ref:this.savePanelRef,value:w,inputReadOnly:i,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:p,showHour:s,showMinute:c,showSecond:u,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:a,disabledMinutes:r,disabledSeconds:o,hideDisabledOptions:l,use12Hours:m,hourStep:b,minuteStep:g,secondStep:C,addon:h,focusOnOpen:v,onKeyDown:y,clearIcon:O})}},{key:"getPopupClassName",value:function(){var e=this.props,t=e.showHour,n=e.showMinute,a=e.showSecond,r=e.use12Hours,o=e.prefixCls,l=e.popupClassName,i=0;return t&&(i+=1),n&&(i+=1),a&&(i+=1),r&&(i+=1),j()(l,Ft({},"".concat(o,"-panel-narrow"),!(t&&n&&a||r)),"".concat(o,"-panel-column-").concat(i))}},{key:"setOpen",value:function(e){var t=this.props,n=t.onOpen,a=t.onClose;this.state.open!==e&&("open"in this.props||this.setState({open:e}),e?n({open:e}):a({open:e}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var e=this,t=this.state.value,n=this.props,a=n.prefixCls,r=n.allowEmpty,o=n.clearIcon,l=n.clearText,i=n.disabled;if(!r||!t||i)return null;if(f.a.isValidElement(o)){var s=(o.props||{}).onClick;return f.a.cloneElement(o,{onClick:function(){s&&s.apply(void 0,arguments),e.onClear.apply(e,arguments)}})}return f.a.createElement("a",{role:"button",className:"".concat(a,"-clear"),title:l,onClick:this.onClear,tabIndex:0},o||f.a.createElement("i",{className:"".concat(a,"-clear-icon")}))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.placeholder,a=e.placement,r=e.align,o=e.id,l=e.disabled,i=e.transitionName,s=e.style,c=e.className,u=e.getPopupContainer,p=e.name,d=e.autoComplete,h=e.onFocus,m=e.onBlur,v=e.autoFocus,y=e.inputReadOnly,b=e.inputIcon,g=e.popupStyle,C=this.state,O=C.open,w=C.value,k=this.getPopupClassName();return f.a.createElement(ge.a,{prefixCls:"".concat(t,"-panel"),popupClassName:k,popupStyle:g,popup:this.getPanelElement(),popupAlign:r,builtinPlacements:Vt,popupPlacement:a,action:l?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:u,popupTransitionName:i,popupVisible:O,onPopupVisibleChange:this.onVisibleChange},f.a.createElement("span",{className:j()(t,c),style:s},f.a.createElement("input",{className:"".concat(t,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:p,onKeyDown:this.onKeyDown,disabled:l,value:w&&w.format(this.getFormat())||"",autoComplete:d,onFocus:h,onBlur:m,autoFocus:v,onChange:Ht,readOnly:!!y,id:o}),b||f.a.createElement("span",{className:"".concat(t,"-icon")}),this.renderClearButton()))}}])&&Mt(n.prototype,a),r&&Mt(n,r),t}(p.Component);Ft(Yt,"propTypes",{prefixCls:v.a.string,clearText:v.a.string,value:v.a.object,defaultOpenValue:v.a.object,inputReadOnly:v.a.bool,disabled:v.a.bool,allowEmpty:v.a.bool,defaultValue:v.a.object,open:v.a.bool,defaultOpen:v.a.bool,align:v.a.object,placement:v.a.any,transitionName:v.a.string,getPopupContainer:v.a.func,placeholder:v.a.string,format:v.a.string,showHour:v.a.bool,showMinute:v.a.bool,showSecond:v.a.bool,style:v.a.object,className:v.a.string,popupClassName:v.a.string,popupStyle:v.a.object,disabledHours:v.a.func,disabledMinutes:v.a.func,disabledSeconds:v.a.func,hideDisabledOptions:v.a.bool,onChange:v.a.func,onAmPmChange:v.a.func,onOpen:v.a.func,onClose:v.a.func,onFocus:v.a.func,onBlur:v.a.func,addon:v.a.func,name:v.a.string,autoComplete:v.a.string,use12Hours:v.a.bool,hourStep:v.a.number,minuteStep:v.a.number,secondStep:v.a.number,focusOnOpen:v.a.bool,onKeyDown:v.a.func,autoFocus:v.a.bool,id:v.a.string,inputIcon:v.a.node,clearIcon:v.a.node}),Ft(Yt,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},align:{},defaultOpenValue:J()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:Ht,disabledMinutes:Ht,disabledSeconds:Ht,hideDisabledOptions:!1,placement:"bottomLeft",onChange:Ht,onAmPmChange:Ht,onOpen:Ht,onClose:Ht,onFocus:Ht,onBlur:Ht,addon:Ht,use12Hours:!1,focusOnOpen:!1,onKeyDown:Ht}),Object(b.polyfill)(Yt);var Wt=Yt,Bt=n("RlXo");function Gt(e){return(Gt="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 Qt(){return(Qt=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}).apply(this,arguments)}function Kt(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)}}function Zt(e,t){return(Zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(e,t){return!t||"object"!==Gt(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 qt(){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 Xt(e){return(Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ut=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n};function Jt(e){return{showHour:e.indexOf("H")>-1||e.indexOf("h")>-1||e.indexOf("k")>-1,showMinute:e.indexOf("m")>-1,showSecond:e.indexOf("s")>-1}}var $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&&Zt(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=Xt(t);if(qt()){var a=Xt(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return zt(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).getDefaultLocale=function(){return Qt(Qt({},Bt.a),t.props.locale)},t.handleOpenClose=function(e){var n=e.open,a=t.props.onOpenChange;a&&a(n)},t.saveTimePicker=function(e){t.timePickerRef=e},t.handleChange=function(e){"value"in t.props||t.setState({value:e});var n=t.props,a=n.onChange,r=n.format,o=void 0===r?"HH:mm:ss":r;a&&a(e,e&&e.format(o)||"")},t.renderTimePicker=function(e){return p.createElement(xe.a,null,(function(n){var a=n.getPopupContainer,r=n.getPrefixCls,o=t.props,l=o.getPopupContainer,i=o.prefixCls,s=o.className,c=o.addon,u=o.placeholder,f=Ut(o,["getPopupContainer","prefixCls","className","addon","placeholder"]),d=f.size,h=Object(Se.a)(f,["defaultValue","suffixIcon","allowEmpty","allowClear"]),m=t.getDefaultFormat(),v=r("time-picker",i),y=j()(s,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(v,"-").concat(d),!!d));return p.createElement(Wt,Qt({},Jt(m),h,{allowEmpty:t.getAllowClear(),prefixCls:v,getPopupContainer:l||a,ref:t.saveTimePicker,format:m,className:y,value:t.state.value,placeholder:void 0===u?e.placeholder:u,onChange:t.handleChange,onOpen:t.handleOpenClose,onClose:t.handleOpenClose,addon:function(e){return c?p.createElement("div",{className:"".concat(v,"-panel-addon")},c(e)):null},inputIcon:t.renderInputIcon(v),clearIcon:t.renderClearIcon(v)}))}))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(U).isMoment(n))throw new Error("The value/defaultValue of TimePicker must be a moment object after `antd@2.0`, see: https://u.ant.design/time-picker-value");return t.state={value:n},Object(je.a)(!("allowEmpty"in e),"TimePicker","`allowEmpty` is deprecated. Please use `allowClear` instead."),t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(a=[{key:"getDefaultFormat",value:function(){var e=this.props,t=e.format,n=e.use12Hours;return t||(n?"h:mm:ss a":"HH:mm:ss")}},{key:"getAllowClear",value:function(){var e=this.props,t=e.allowClear,n=e.allowEmpty;return"allowClear"in this.props?t:n}},{key:"focus",value:function(){this.timePickerRef.focus()}},{key:"blur",value:function(){this.timePickerRef.blur()}},{key:"renderInputIcon",value:function(e){var t=this.props.suffixIcon,n=t&&p.isValidElement(t)&&p.cloneElement(t,{className:j()(t.props.className,"".concat(e,"-clock-icon"))})||p.createElement(Pe.default,{type:"clock-circle",className:"".concat(e,"-clock-icon")});return p.createElement("span",{className:"".concat(e,"-icon")},n)}},{key:"renderClearIcon",value:function(e){var t=this.props.clearIcon,n="".concat(e,"-clear");return t&&p.isValidElement(t)?p.cloneElement(t,{className:j()(t.props.className,n)}):p.createElement(Pe.default,{type:"close-circle",className:n,theme:"filled"})}},{key:"render",value:function(){return p.createElement(_t.a,{componentName:"TimePicker",defaultLocale:this.getDefaultLocale()},this.renderTimePicker)}}])&&Kt(n.prototype,a),r&&Kt(n,r),l}(p.Component);$t.defaultProps={align:{offset:[0,-2]},disabledHours:void 0,disabledMinutes:void 0,disabledSeconds:void 0,hideDisabledOptions:!1,placement:"bottomLeft",transitionName:"slide-up",focusOnOpen:!0},Object(b.polyfill)($t);function en(e){return(en="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 tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nn(){return(nn=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}).apply(this,arguments)}function an(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(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)}}function on(e,t){return(on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t){return!t||"object"!==en(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 sn(){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 cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var un={date:"YYYY-MM-DD",dateTime:"YYYY-MM-DD HH:mm:ss",week:"gggg-wo",month:"YYYY-MM"},pn={date:"dateFormat",dateTime:"dateTimeFormat",week:"weekFormat",month:"monthFormat"};function fn(e){var t=0;return e.showHour&&(t+=1),e.showMinute&&(t+=1),e.showSecond&&(t+=1),e.use12Hours&&(t+=1),t}function dn(e,t){(Array.isArray(e)?e:[e]).forEach((function(e){e&&Object(je.a)(!Object(_e.a)(U).isMoment(e)||e.isValid(),"DatePicker","`".concat(t,"` provides invalidate moment time. If you want to set empty value, use `null` instead."))}))}function hn(e,t){var n=function(n){!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&&on(e,t)}(s,n);var a,r,o,l,i=(a=s,function(){var e,t=cn(a);if(sn()){var n=cn(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ln(this,e)});function s(){var n;return an(this,s),(n=i.apply(this,arguments)).state={},n.savePicker=function(e){n.picker=e},n.getDefaultLocale=function(){var e=nn(nn({},jt.a),n.props.locale);return e.lang=nn(nn({},e.lang),(n.props.locale||{}).lang),e},n.handleOpenChange=function(e){(0,n.props.onOpenChange)(e)},n.handleFocus=function(e){var t=n.props.onFocus;t&&t(e)},n.handleBlur=function(e){var t=n.props.onBlur;t&&t(e)},n.handleMouseEnter=function(e){var t=n.props.onMouseEnter;t&&t(e)},n.handleMouseLeave=function(e){var t=n.props.onMouseLeave;t&&t(e)},n.renderPicker=function(a,r){var o=n.props,l=o.format,i=o.showTime,s=i?"".concat(t,"Time"):t,c=l||a[pn[s]]||un[s];return p.createElement(xe.a,null,(function(t){var o,l=t.getPrefixCls,s=t.getPopupContainer,u=n.props,f=u.prefixCls,d=u.inputPrefixCls,h=u.getCalendarContainer,m=u.size,v=u.disabled,y=h||s,b=l("calendar",f),g=l("input",d),C=j()("".concat(b,"-picker"),tn({},"".concat(b,"-picker-").concat(m),!!m)),O=j()("".concat(b,"-picker-input"),g,(tn(o={},"".concat(g,"-lg"),"large"===m),tn(o,"".concat(g,"-sm"),"small"===m),tn(o,"".concat(g,"-disabled"),v),o)),w=i&&i.format||"HH:mm:ss",k=nn(nn({},Jt(w)),{format:w,use12Hours:i&&i.use12Hours}),E=fn(k),S="".concat(b,"-time-picker-column-").concat(E),P=i?p.createElement(xt,nn({},k,i,{prefixCls:"".concat(b,"-time-picker"),className:S,placeholder:a.timePickerLocale.placeholder,transitionName:"slide-up",onEsc:function(){}})):null;return p.createElement(e,nn({},n.props,{getCalendarContainer:y,format:c,ref:n.savePicker,pickerClass:C,pickerInputClass:O,locale:a,localeCode:r,timePicker:P,onOpenChange:n.handleOpenChange,onFocus:n.handleFocus,onBlur:n.handleBlur,onMouseEnter:n.handleMouseEnter,onMouseLeave:n.handleMouseLeave}))}))},n}return r=s,l=[{key:"getDerivedStateFromProps",value:function(e){var t=e.value;return dn(e.defaultValue,"defaultValue"),dn(t,"value"),{}}}],(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return p.createElement(_t.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}])&&rn(r.prototype,o),l&&rn(r,l),s}(p.Component);return n.defaultProps={transitionName:"slide-up",popupStyle:{},onChange:function(){},onOk:function(){},onOpenChange:function(){},locale:{}},Object(b.polyfill)(n),n}var mn=function(e){function t(){return l()(this,t),s()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.value,a=e.hoverValue,o=e.selectedValue,l=e.mode,i=e.direction,s=e.locale,c=e.format,u=e.placeholder,p=e.disabledDate,d=e.timePicker,h=e.disabledTime,m=e.timePickerDisabledTime,v=e.showTimePicker,y=e.onInputChange,b=e.onInputSelect,C=e.enablePrev,O=e.enableNext,w=e.clearIcon,k=e.showClear,E=e.inputMode,S=v&&d,P=S&&h?Object(B.c)(o,h):null,x=t+"-range",j={locale:s,value:n,prefixCls:t,showTimePicker:v},_="left"===i?0:1,N=S&&f.a.cloneElement(d,r()({showHour:!0,showMinute:!0,showSecond:!0},d.props,P,m,{onChange:y,defaultOpenValue:n,value:o[_]})),D=e.showDateInput&&f.a.createElement(re,{format:c,locale:s,prefixCls:t,timePicker:d,disabledDate:p,placeholder:u,disabledTime:h,value:n,showClear:k||!1,selectedValue:o[_],onChange:y,onSelect:b,clearIcon:w,inputMode:E});return f.a.createElement("div",{className:x+"-part "+x+"-"+i},D,f.a.createElement("div",{style:{outline:"none"}},f.a.createElement(W,r()({},j,{mode:l,enableNext:O,enablePrev:C,onValueChange:e.onValueChange,onPanelChange:e.onPanelChange,disabledMonth:e.disabledMonth})),v?f.a.createElement("div",{className:t+"-time-picker"},f.a.createElement("div",{className:t+"-time-picker-panel"},N)):null,f.a.createElement("div",{className:t+"-body"},f.a.createElement(g.a,r()({},j,{hoverValue:a,selectedValue:o,dateRender:e.dateRender,onSelect:e.onSelect,onDayHover:e.onDayHover,disabledDate:p,showWeekNumber:e.showWeekNumber})))))},t}(f.a.Component);mn.propTypes={prefixCls:v.a.string,value:v.a.any,hoverValue:v.a.any,selectedValue:v.a.any,direction:v.a.any,locale:v.a.any,showDateInput:v.a.bool,showTimePicker:v.a.bool,format:v.a.any,placeholder:v.a.any,disabledDate:v.a.any,timePicker:v.a.any,disabledTime:v.a.any,onInputChange:v.a.func,onInputSelect:v.a.func,timePickerDisabledTime:v.a.object,enableNext:v.a.any,enablePrev:v.a.any,clearIcon:v.a.node,dateRender:v.a.func,inputMode:v.a.string};var vn=mn;function yn(){}function bn(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}function gn(e){var t=e[0],n=e[1];return n&&null==t&&(t=n.clone().subtract(1,"month")),t&&null==n&&(n=t.clone().add(1,"month")),[t,n]}function Cn(e,t){var n,a=e.selectedValue||t&&e.defaultSelectedValue,r=e.value||t&&e.defaultValue,o=gn(r||a);return n=o,!Array.isArray(n)||0!==n.length&&!n.every((function(e){return!e}))?o:t&&[J()(),J()().add(1,"months")]}function On(e,t){for(var n=t?t().concat():[],a=0;a<e;a++)-1===n.indexOf(a)&&n.push(a);return n}function wn(e,t,n){if(t){var a=this.state.selectedValue.concat(),r="left"===e?0:1;a[r]=t,a[0]&&this.compare(a[0],a[1])>0&&(a[1-r]=this.state.showTimePicker?a[r]:void 0),this.props.onInputSelect(a),this.fireSelectValueChange(a,null,n||{source:"dateInput"})}}var kn=function(e){function t(n){l()(this,t);var a=s()(this,e.call(this,n));En.call(a);var r=n.selectedValue||n.defaultSelectedValue,o=Cn(n,1);return a.state={selectedValue:r,prevSelectedValue:r,firstSelectedValue:null,hoverValue:n.hoverValue||[],value:o,showTimePicker:!1,mode:n.mode||["date","date"],panelTriggerSource:""},a}return u()(t,e),t.getDerivedStateFromProps=function(e,t){var n={};return"value"in e&&(n.value=Cn(e,0)),"hoverValue"in e&&!bn(t.hoverValue,e.hoverValue)&&(n.hoverValue=e.hoverValue),"selectedValue"in e&&(n.selectedValue=e.selectedValue,n.prevSelectedValue=e.selectedValue),"mode"in e&&!bn(t.mode,e.mode)&&(n.mode=e.mode),n},t.prototype.render=function(){var e,t,n=this.props,a=this.state,o=n.prefixCls,l=n.dateInputPlaceholder,i=n.seperator,s=n.timePicker,c=n.showOk,u=n.locale,p=n.showClear,d=n.showToday,h=n.type,m=n.clearIcon,v=a.hoverValue,y=a.selectedValue,b=a.mode,g=a.showTimePicker,C=((e={})[n.className]=!!n.className,e[o]=1,e[o+"-hidden"]=!n.visible,e[o+"-range"]=1,e[o+"-show-time-picker"]=g,e[o+"-week-number"]=n.showWeekNumber,e),O=j()(C),w={selectedValue:a.selectedValue,onSelect:this.onSelect,onDayHover:"start"===h&&y[1]||"end"===h&&y[0]||v.length?this.onDayHover:void 0},k=void 0,E=void 0;l&&(Array.isArray(l)?(k=l[0],E=l[1]):k=E=l);var S=!0===c||!1!==c&&!!s,P=j()(((t={})[o+"-footer"]=!0,t[o+"-range-bottom"]=!0,t[o+"-footer-show-ok"]=S,t)),x=this.getStartValue(),_=this.getEndValue(),N=Object(B.e)(x),D=N.month(),V=N.year(),T=x.year()===V&&x.month()===D||_.year()===V&&_.month()===D,M=x.clone().add(1,"months"),R=M.year()===_.year()&&M.month()===_.month(),I=n.renderFooter();return f.a.createElement("div",{ref:this.saveRoot,className:O,style:n.style,tabIndex:"0",onKeyDown:this.onKeyDown},n.renderSidebar(),f.a.createElement("div",{className:o+"-panel"},p&&y[0]&&y[1]?f.a.createElement("a",{role:"button",title:u.clear,onClick:this.clear},m||f.a.createElement("span",{className:o+"-clear-btn"})):null,f.a.createElement("div",{className:o+"-date-panel",onMouseLeave:"both"!==h?this.onDatePanelLeave:void 0,onMouseEnter:"both"!==h?this.onDatePanelEnter:void 0},f.a.createElement(vn,r()({},n,w,{hoverValue:v,direction:"left",disabledTime:this.disabledStartTime,disabledMonth:this.disabledStartMonth,format:this.getFormat(),value:x,mode:b[0],placeholder:k,onInputChange:this.onStartInputChange,onInputSelect:this.onStartInputSelect,onValueChange:this.onStartValueChange,onPanelChange:this.onStartPanelChange,showDateInput:this.props.showDateInput,timePicker:s,showTimePicker:g||"time"===b[0],enablePrev:!0,enableNext:!R||this.isMonthYearPanelShow(b[1]),clearIcon:m})),f.a.createElement("span",{className:o+"-range-middle"},i),f.a.createElement(vn,r()({},n,w,{hoverValue:v,direction:"right",format:this.getFormat(),timePickerDisabledTime:this.getEndDisableTime(),placeholder:E,value:_,mode:b[1],onInputChange:this.onEndInputChange,onInputSelect:this.onEndInputSelect,onValueChange:this.onEndValueChange,onPanelChange:this.onEndPanelChange,showDateInput:this.props.showDateInput,timePicker:s,showTimePicker:g||"time"===b[1],disabledTime:this.disabledEndTime,disabledMonth:this.disabledEndMonth,enablePrev:!R||this.isMonthYearPanelShow(b[0]),enableNext:!0,clearIcon:m}))),f.a.createElement("div",{className:P},d||n.timePicker||S||I?f.a.createElement("div",{className:o+"-footer-btn"},I,d?f.a.createElement(G,r()({},n,{disabled:T,value:a.value[0],onToday:this.onToday,text:u.backToToday})):null,n.timePicker?f.a.createElement(K,r()({},n,{showTimePicker:g||"time"===b[0]&&"time"===b[1],onOpenTimePicker:this.onOpenTimePicker,onCloseTimePicker:this.onCloseTimePicker,timePickerDisabled:!this.hasSelectedValue()||v.length})):null,S?f.a.createElement(Q,r()({},n,{onOk:this.onOk,okDisabled:!this.isAllowedDateAndTime(y)||!this.hasSelectedValue()||v.length})):null):null)))},t}(f.a.Component);kn.propTypes=r()({},X.c,{prefixCls:v.a.string,dateInputPlaceholder:v.a.any,seperator:v.a.string,defaultValue:v.a.any,value:v.a.any,hoverValue:v.a.any,mode:v.a.arrayOf(v.a.oneOf(["time","date","month","year","decade"])),showDateInput:v.a.bool,timePicker:v.a.any,showOk:v.a.bool,showToday:v.a.bool,defaultSelectedValue:v.a.array,selectedValue:v.a.array,onOk:v.a.func,showClear:v.a.bool,locale:v.a.object,onChange:v.a.func,onSelect:v.a.func,onValueChange:v.a.func,onHoverChange:v.a.func,onPanelChange:v.a.func,format:v.a.oneOfType([v.a.string,v.a.arrayOf(v.a.string)]),onClear:v.a.func,type:v.a.any,disabledDate:v.a.func,disabledTime:v.a.func,clearIcon:v.a.node,onKeyDown:v.a.func}),kn.defaultProps=r()({},X.b,{type:"both",seperator:"~",defaultSelectedValue:[],onValueChange:yn,onHoverChange:yn,onPanelChange:yn,disabledTime:yn,onInputSelect:yn,showToday:!0,showDateInput:!0});var En=function(){var e=this;this.onDatePanelEnter=function(){e.hasSelectedValue()&&e.fireHoverValueChange(e.state.selectedValue.concat())},this.onDatePanelLeave=function(){e.hasSelectedValue()&&e.fireHoverValueChange([])},this.onSelect=function(t){var n=e.props.type,a=e.state,r=a.selectedValue,o=a.prevSelectedValue,l=a.firstSelectedValue,i=void 0;if("both"===n)l?e.compare(l,t)<0?(Object(B.h)(o[1],t),i=[l,t]):(Object(B.h)(o[0],t),Object(B.h)(o[1],l),i=[t,l]):(Object(B.h)(o[0],t),i=[t]);else if("start"===n){Object(B.h)(o[0],t);var s=r[1];i=s&&e.compare(s,t)>0?[t,s]:[t]}else{var c=r[0];c&&e.compare(c,t)<=0?(Object(B.h)(o[1],t),i=[c,t]):(Object(B.h)(o[0],t),i=[t])}e.fireSelectValueChange(i)},this.onKeyDown=function(t){if("input"!==t.target.nodeName.toLowerCase()){var n=t.keyCode,a=t.ctrlKey||t.metaKey,r=e.state,o=r.selectedValue,l=r.hoverValue,i=r.firstSelectedValue,s=r.value,c=e.props,u=c.onKeyDown,p=c.disabledDate,f=function(n){var a=void 0,r=void 0,c=void 0;if(i?1===l.length?(a=l[0].clone(),r=n(a),c=e.onDayHover(r)):(a=l[0].isSame(i,"day")?l[1]:l[0],r=n(a),c=e.onDayHover(r)):(a=l[0]||o[0]||s[0]||J()(),c=[r=n(a)],e.fireHoverValueChange(c)),c.length>=2){if(c.some((function(e){return!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=arguments[2];return e.some((function(e){return e.isSame(t,n)}))}(s,e,"month")}))){var u=c.slice().sort((function(e,t){return e.valueOf()-t.valueOf()}));u[0].isSame(u[1],"month")&&(u[1]=u[0].clone().add(1,"month")),e.fireValueChange(u)}}else if(1===c.length){var p=s.findIndex((function(e){return e.isSame(a,"month")}));if(-1===p&&(p=0),s.every((function(e){return!e.isSame(r,"month")}))){var f=s.slice();f[p]=r.clone(),e.fireValueChange(f)}}return t.preventDefault(),r};switch(n){case y.a.DOWN:return void f((function(e){return ie(e,1,"weeks")}));case y.a.UP:return void f((function(e){return ie(e,-1,"weeks")}));case y.a.LEFT:return void f(a?function(e){return ie(e,-1,"years")}:function(e){return ie(e,-1,"days")});case y.a.RIGHT:return void f(a?function(e){return ie(e,1,"years")}:function(e){return ie(e,1,"days")});case y.a.HOME:return void f((function(e){return oe(e)}));case y.a.END:return void f((function(e){return le(e)}));case y.a.PAGE_DOWN:return void f((function(e){return ie(e,1,"month")}));case y.a.PAGE_UP:return void f((function(e){return ie(e,-1,"month")}));case y.a.ENTER:var d=void 0;return!(d=0===l.length?f((function(e){return e})):1===l.length?l[0]:l[0].isSame(i,"day")?l[1]:l[0])||p&&p(d)||e.onSelect(d),void t.preventDefault();default:u&&u(t)}}},this.onDayHover=function(t){var n=[],a=e.state,r=a.selectedValue,o=a.firstSelectedValue,l=e.props.type;if("start"===l&&r[1])n=e.compare(t,r[1])<0?[t,r[1]]:[t];else if("end"===l&&r[0])n=e.compare(t,r[0])>0?[r[0],t]:[];else{if(!o)return e.state.hoverValue.length&&e.setState({hoverValue:[]}),n;n=e.compare(t,o)<0?[t,o]:[o,t]}return e.fireHoverValueChange(n),n},this.onToday=function(){var t=Object(B.e)(e.state.value[0]),n=t.clone().add(1,"months");e.setState({value:[t,n]})},this.onOpenTimePicker=function(){e.setState({showTimePicker:!0})},this.onCloseTimePicker=function(){e.setState({showTimePicker:!1})},this.onOk=function(){var t=e.state.selectedValue;e.isAllowedDateAndTime(t)&&e.props.onOk(e.state.selectedValue)},this.onStartInputChange=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=["left"].concat(n);return wn.apply(e,r)},this.onEndInputChange=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=["right"].concat(n);return wn.apply(e,r)},this.onStartInputSelect=function(t){var n=["left",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onEndInputSelect=function(t){var n=["right",t,{source:"dateInputSelect"}];return wn.apply(e,n)},this.onStartValueChange=function(t){var n=[].concat(e.state.value);return n[0]=t,e.fireValueChange(n)},this.onEndValueChange=function(t){var n=[].concat(e.state.value);return n[1]=t,e.fireValueChange(n)},this.onStartPanelChange=function(t,n){var a=e.props,r=e.state,o=[n,r.mode[1]],l={panelTriggerSource:"start"};"mode"in a||(l.mode=o),e.setState(l);var i=[t||r.value[0],r.value[1]];a.onPanelChange(i,o)},this.onEndPanelChange=function(t,n){var a=e.props,r=e.state,o=[r.mode[0],n],l={panelTriggerSource:"end"};"mode"in a||(l.mode=o),e.setState(l);var i=[r.value[0],t||r.value[1]];a.onPanelChange(i,o)},this.getStartValue=function(){var t=e.state,n=t.selectedValue,a=t.showTimePicker,r=t.value,o=t.mode,l=t.panelTriggerSource,i=r[0];return n[0]&&e.props.timePicker&&(i=i.clone(),Object(B.h)(n[0],i)),a&&n[0]&&(i=n[0]),"end"===l&&"date"===o[0]&&"date"===o[1]&&i.isSame(r[1],"month")&&(i=i.clone().subtract(1,"month")),i},this.getEndValue=function(){var t=e.state,n=t.value,a=t.selectedValue,r=t.showTimePicker,o=t.mode,l=t.panelTriggerSource,i=n[1]?n[1].clone():n[0].clone().add(1,"month");return a[1]&&e.props.timePicker&&Object(B.h)(a[1],i),r&&(i=a[1]?a[1]:e.getStartValue()),!r&&"end"!==l&&"date"===o[0]&&"date"===o[1]&&i.isSame(n[0],"month")&&(i=i.clone().add(1,"month")),i},this.getEndDisableTime=function(){var t=e.state,n=t.selectedValue,a=t.value,r=(0,e.props.disabledTime)(n,"end")||{},o=n&&n[0]||a[0].clone();if(!n[1]||o.isSame(n[1],"day")){var l=o.hour(),i=o.minute(),s=o.second(),c=r.disabledHours,u=r.disabledMinutes,p=r.disabledSeconds,f=u?u():[],d=p?p():[];return c=On(l,c),u=On(i,u),p=On(s,p),{disabledHours:function(){return c},disabledMinutes:function(e){return e===l?u:f},disabledSeconds:function(e,t){return e===l&&t===i?p:d}}}return r},this.isAllowedDateAndTime=function(t){return Object(B.g)(t[0],e.props.disabledDate,e.disabledStartTime)&&Object(B.g)(t[1],e.props.disabledDate,e.disabledEndTime)},this.isMonthYearPanelShow=function(e){return["month","year","decade"].indexOf(e)>-1},this.hasSelectedValue=function(){var t=e.state.selectedValue;return!!t[1]&&!!t[0]},this.compare=function(t,n){return e.props.timePicker?t.diff(n):t.diff(n,"days")},this.fireSelectValueChange=function(t,n,a){var r=e.props.timePicker,o=e.state.prevSelectedValue;if(r&&r.props.defaultValue){var l=r.props.defaultValue;!o[0]&&t[0]&&Object(B.h)(l[0],t[0]),!o[1]&&t[1]&&Object(B.h)(l[1],t[1])}if("selectedValue"in e.props||e.setState({selectedValue:t}),!e.state.selectedValue[0]||!e.state.selectedValue[1]){var i=t[0]||J()(),s=t[1]||i.clone().add(1,"months");e.setState({selectedValue:t,value:gn([i,s])})}t[0]&&!t[1]&&(e.setState({firstSelectedValue:t[0]}),e.fireHoverValueChange(t.concat())),e.props.onChange(t),(n||t[0]&&t[1])&&(e.setState({prevSelectedValue:t,firstSelectedValue:null}),e.fireHoverValueChange([]),e.props.onSelect(t,a))},this.fireValueChange=function(t){var n=e.props;"value"in n||e.setState({value:t}),n.onValueChange(t)},this.fireHoverValueChange=function(t){var n=e.props;"hoverValue"in n||e.setState({hoverValue:t}),n.onHoverChange(t)},this.clear=function(){e.fireSelectValueChange([],!0),e.props.onClear()},this.disabledStartTime=function(t){return e.props.disabledTime(t,"start")},this.disabledEndTime=function(t){return e.props.disabledTime(t,"end")},this.disabledStartMonth=function(t){var n=e.state.value;return t.isAfter(n[1],"month")},this.disabledEndMonth=function(t){var n=e.state.value;return t.isBefore(n[0],"month")}};Object(b.polyfill)(kn);var Sn=Object(X.a)(kn),Pn=n("Gytx"),xn=n.n(Pn),jn=n("mr32");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 Nn(e){var t,n=e.suffixIcon,a=e.prefixCls;return n&&(p.isValidElement(n)?p.cloneElement(n,{className:j()((t={},_n(t,n.props.className,n.props.className),_n(t,"".concat(a,"-picker-icon"),!0),t))}):p.createElement("span",{className:"".concat(a,"-picker-icon")},n))||p.createElement(Pe.default,{type:"calendar",className:"".concat(a,"-picker-icon")})}function Dn(e){return(Dn="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 Vn(){return(Vn=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}).apply(this,arguments)}function Tn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mn(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)}}function Rn(e,t){return(Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function In(e,t){return!t||"object"!==Dn(t)&&"function"!=typeof t?An(e):t}function An(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(){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 Hn(e){return(Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ln(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=[],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||null==i.return||i.return()}finally{if(r)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Yn(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yn(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 Yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Wn(e,t){var n=Ln(e,2),a=n[0],r=n[1];if(a||r)return t&&"month"===t[0]?[a,r]:[a,r&&r.isSame(a,"month")?r.clone().add(1,"month"):r]}function Bn(e){if(e)return Array.isArray(e)?e:[e,e.clone().add(1,"month")]}function Gn(e,t){if(t&&e&&0!==e.length){var n=Ln(e,2),a=n[0],r=n[1];a&&a.locale(t),r&&r.locale(t)}}var Qn=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&&Rn(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=Hn(t);if(Fn()){var a=Hn(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return In(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).savePicker=function(e){t.picker=e},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.setState({value:[]}),t.handleChange([])},t.clearHoverValue=function(){return t.setState({hoverValue:[]})},t.handleChange=function(e){var n=An(t).props;"value"in n||t.setState((function(t){var n=t.showDate;return{value:e,showDate:Wn(e)||n}})),e[0]&&e[1]&&e[0].diff(e[1])>0&&(e[1]=void 0);var a=Ln(e,2),r=a[0],o=a[1];"function"==typeof n.onChange&&n.onChange(e,[De(r,n.format),De(o,n.format)])},t.handleOpenChange=function(e){"open"in t.props||t.setState({open:e}),!1===e&&t.clearHoverValue();var n=t.props.onOpenChange;n&&n(e)},t.handleShowDateChange=function(e){return t.setState({showDate:e})},t.handleHoverChange=function(e){return t.setState({hoverValue:e})},t.handleRangeMouseLeave=function(){t.state.open&&t.clearHoverValue()},t.handleCalendarInputSelect=function(e){Ln(e,1)[0]&&t.setState((function(t){var n=t.showDate;return{value:e,showDate:Wn(e)||n}}))},t.handleRangeClick=function(e){"function"==typeof e&&(e=e()),t.setValue(e,!0);var n=t.props,a=n.onOk,r=n.onOpenChange;a&&a(e),r&&r(!1)},t.renderFooter=function(){var e=t.props,n=e.ranges,a=e.renderExtraFooter,r=An(t),o=r.prefixCls,l=r.tagPrefixCls;if(!n&&!a)return null;var i=a?p.createElement("div",{className:"".concat(o,"-footer-extra"),key:"extra"},a()):null,s=n&&Object.keys(n).map((function(e){var a=n[e],r="function"==typeof a?a.call(An(t)):a;return p.createElement(jn.default,{key:e,prefixCls:l,color:"blue",onClick:function(){return t.handleRangeClick(a)},onMouseEnter:function(){return t.setState({hoverValue:r})},onMouseLeave:t.handleRangeMouseLeave},e)}));return[s&&s.length>0?p.createElement("div",{className:"".concat(o,"-footer-extra ").concat(o,"-range-quick-selector"),key:"range"},s):null,i]},t.renderRangePicker=function(e){var n,a=e.getPrefixCls,r=An(t),o=r.state,l=r.props,i=o.value,s=o.showDate,c=o.hoverValue,u=o.open,f=l.prefixCls,d=l.tagPrefixCls,h=l.popupStyle,m=l.style,v=l.disabledDate,y=l.disabledTime,b=l.showTime,g=l.showToday,C=l.ranges,O=l.onOk,w=l.locale,k=l.localeCode,E=l.format,S=l.dateRender,P=l.onCalendarChange,x=l.suffixIcon,_=l.separator,N=a("calendar",f),D=a("tag",d);t.prefixCls=N,t.tagPrefixCls=D,Gn(i,k),Gn(s,k),Object(je.a)(!("onOK"in l),"RangePicker","It should be `RangePicker[onOk]`, instead of `onOK`!");var V=j()((Tn(n={},"".concat(N,"-time"),b),Tn(n,"".concat(N,"-range-with-ranges"),C),n)),T={onChange:t.handleChange},M={onOk:t.handleChange};l.timePicker?T.onChange=function(e){return t.handleChange(e)}:M={},"mode"in l&&(M.mode=l.mode);var R=Array.isArray(l.placeholder)?l.placeholder[0]:w.lang.rangePlaceholder[0],I=Array.isArray(l.placeholder)?l.placeholder[1]:w.lang.rangePlaceholder[1],A=p.createElement(Sn,Vn({},M,{seperator:_,onChange:P,format:E,prefixCls:N,className:V,renderFooter:t.renderFooter,timePicker:l.timePicker,disabledDate:v,disabledTime:y,dateInputPlaceholder:[R,I],locale:w.lang,onOk:O,dateRender:S,value:s,onValueChange:t.handleShowDateChange,hoverValue:c,onHoverChange:t.handleHoverChange,onPanelChange:l.onPanelChange,showToday:g,onInputSelect:t.handleCalendarInputSelect})),F={};l.showTime&&(F.width=m&&m.width||350);var H=Ln(i,2),L=H[0],Y=H[1],W=!l.disabled&&l.allowClear&&i&&(L||Y)?p.createElement(Pe.default,{type:"close-circle",className:"".concat(N,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,B=p.createElement(Nn,{suffixIcon:x,prefixCls:N}),G=function(e){var t=Ln(e.value,2),n=t[0],a=t[1];return p.createElement("span",{className:l.pickerInputClass},p.createElement("input",{disabled:l.disabled,readOnly:!0,value:De(n,l.format),placeholder:R,className:"".concat(N,"-range-picker-input"),tabIndex:-1}),p.createElement("span",{className:"".concat(N,"-range-picker-separator")}," ",_," "),p.createElement("input",{disabled:l.disabled,readOnly:!0,value:De(a,l.format),placeholder:I,className:"".concat(N,"-range-picker-input"),tabIndex:-1}),W,B)};return p.createElement("span",{ref:t.savePicker,id:"number"==typeof l.id?l.id.toString():l.id,className:j()(l.className,l.pickerClass),style:Vn(Vn({},m),F),tabIndex:l.disabled?-1:0,onFocus:l.onFocus,onBlur:l.onBlur,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},p.createElement(Ee,Vn({},l,T,{calendar:A,value:i,open:u,onOpenChange:t.handleOpenChange,prefixCls:"".concat(N,"-picker-container"),style:h}),G))};var n=e.value||e.defaultValue||[],a=Ln(n,2),r=a[0],i=a[1];if(r&&!Object(_e.a)(U).isMoment(r)||i&&!Object(_e.a)(U).isMoment(i))throw new Error("The value/defaultValue of RangePicker must be a moment object array after `antd@2.0`, see: https://u.ant.design/date-picker-value");var s,c=n&&(s=n,!Array.isArray(s)||0!==s.length&&!s.every((function(e){return!e})))?n:e.defaultPickerValue;return t.state={value:n,showDate:Bn(c||Object(_e.a)(U)()),open:e.open,hoverValue:[]},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e,t){var n=null;if("value"in e){var a=e.value||[];n={value:a},xn()(e.value,t.value)||(n=Vn(Vn({},n),{showDate:Wn(a,e.mode)||t.showDate}))}return"open"in e&&t.open!==e.open&&(n=Vn(Vn({},n),{open:e.open})),n}}],(a=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"setValue",value:function(e,t){this.handleChange(e),!t&&this.props.showTime||"open"in this.props||this.setState({open:!1})}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderRangePicker)}}])&&Mn(n.prototype,a),r&&Mn(n,r),l}(p.Component);Qn.defaultProps={allowClear:!0,showToday:!1,separator:"~"},Object(b.polyfill)(Qn);var Kn=Qn;function Zn(e){return(Zn="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 zn(){return(zn=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}).apply(this,arguments)}function qn(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)}}function Xn(e,t){return(Xn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Un(e,t){return!t||"object"!==Zn(t)&&"function"!=typeof t?Jn(e):t}function Jn(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 ea(e){return(ea=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ta=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&&Xn(e,t)}(l,e);var t,n,a,r,o=(t=l,function(){var e,n=ea(t);if($n()){var a=ea(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return Un(this,e)});function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=o.call(this,e)).saveInput=function(e){t.input=e},t.weekDateRender=function(e){var n=t.state.value,a=Jn(t).prefixCls,r=t.props.dateRender,o=r?r(e):e.date();return n&&e.year()===n.year()&&e.week()===n.week()?p.createElement("div",{className:"".concat(a,"-selected-day")},p.createElement("div",{className:"".concat(a,"-date")},o)):p.createElement("div",{className:"".concat(a,"-date")},o)},t.handleChange=function(e){"value"in t.props||t.setState({value:e}),t.props.onChange(e,function(e,t){return e&&e.format(t)||""}(e,t.props.format))},t.handleOpenChange=function(e){var n=t.props.onOpenChange;"open"in t.props||t.setState({open:e}),n&&n(e)},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.handleChange(null)},t.renderFooter=function(){var e=t.props,n=e.prefixCls,a=e.renderExtraFooter;return a?p.createElement("div",{className:"".concat(n,"-footer-extra")},a.apply(void 0,arguments)):null},t.renderWeekPicker=function(e){var n=e.getPrefixCls,a=t.props,r=a.prefixCls,o=a.className,l=a.disabled,i=a.pickerClass,s=a.popupStyle,c=a.pickerInputClass,u=a.format,f=a.allowClear,d=a.locale,h=a.localeCode,m=a.disabledDate,v=a.style,y=a.onFocus,b=a.onBlur,g=a.id,C=a.suffixIcon,O=a.defaultPickerValue,w=n("calendar",r);t.prefixCls=w;var k=t.state,E=k.open,S=k.value;S&&h&&S.locale(h);var P="placeholder"in t.props?t.props.placeholder:d.lang.placeholder,x=p.createElement(fe,{showWeekNumber:!0,dateRender:t.weekDateRender,prefixCls:w,format:u,locale:d.lang,showDateInput:!1,showToday:!1,disabledDate:m,renderFooter:t.renderFooter,defaultValue:O}),_=!l&&f&&t.state.value?p.createElement(Pe.default,{type:"close-circle",className:"".concat(w,"-picker-clear"),onClick:t.clearSelection,theme:"filled"}):null,N=p.createElement(Nn,{suffixIcon:C,prefixCls:w}),D=function(e){var n=e.value;return p.createElement("span",{style:{display:"inline-block",width:"100%"}},p.createElement("input",{ref:t.saveInput,disabled:l,readOnly:!0,value:n&&n.format(u)||"",placeholder:P,className:c,onFocus:y,onBlur:b}),_,N)};return p.createElement("span",{className:j()(o,i),style:v,id:g},p.createElement(Ee,zn({},t.props,{calendar:x,prefixCls:"".concat(w,"-picker-container"),value:S,onChange:t.handleChange,open:E,onOpenChange:t.handleOpenChange,style:s}),D))};var n=e.value||e.defaultValue;if(n&&!Object(_e.a)(U).isMoment(n))throw new Error("The value/defaultValue of WeekPicker must be a moment object after `antd@2.0`, see: https://u.ant.design/date-picker-value");return t.state={value:n,open:e.open},t}return n=l,r=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e||"open"in e){var t={};return"value"in e&&(t.value=e.value),"open"in e&&(t.open=e.open),t}return null}}],(a=[{key:"componentDidUpdate",value:function(e,t){"open"in this.props||!t.open||this.state.open||this.focus()}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return p.createElement(xe.a,null,this.renderWeekPicker)}}])&&qn(n.prototype,a),r&&qn(n,r),l}(p.Component);ta.defaultProps={format:"gggg-wo",allowClear:!0},Object(b.polyfill)(ta);var na=ta;function aa(){return(aa=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}).apply(this,arguments)}var ra=hn(Ye(fe),"date"),oa=hn(Ye(he),"month");aa(ra,{RangePicker:hn(Kn,"date"),MonthPicker:oa,WeekPicker:hn(na,"week")});t.default=ra},"+hnl":function(e,t,n){},"01ui":function(e,t,n){"use strict";var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=n("17x9"),f=n.n(p),d=n("TSYQ"),h=n.n(d),m=n("VCL8"),v=n("GrtH");var y=function(e){function t(){var n,a,o;r()(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=a=l()(this,e.call.apply(e,[this].concat(s))),a.state={},o=n,l()(a,o)}return s()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,a=0;a<4;a++){t[a]=[];for(var r=0;r<3;r++){e.month(n);var o=Object(v.b)(e);t[a][r]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,a=Object(v.e)(n),r=this.months(),o=n.month(),l=t.prefixCls,i=t.locale,s=t.contentRender,c=t.cellRender,p=r.map((function(r,p){var f=r.map((function(r){var p,f=!1;if(t.disabledDate){var d=n.clone();d.month(r.value),f=t.disabledDate(d)}var m=((p={})[l+"-cell"]=1,p[l+"-cell-disabled"]=f,p[l+"-selected-cell"]=r.value===o,p[l+"-current-cell"]=a.year()===n.year()&&r.value===a.month(),p),v=void 0;if(c){var y=n.clone();y.month(r.value),v=c(y,i)}else{var b=void 0;if(s){var g=n.clone();g.month(r.value),b=s(g,i)}else b=r.content;v=u.a.createElement("a",{className:l+"-month"},b)}return u.a.createElement("td",{role:"gridcell",key:r.value,onClick:f?null:function(){return e.chooseMonth(r.value)},title:r.title,className:h()(m)},v)}));return u.a.createElement("tr",{key:p,role:"row"},f)}));return u.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},u.a.createElement("tbody",{className:l+"-tbody"},p))},t}(c.Component);y.defaultProps={onSelect:function(){}},y.propTypes={onSelect:f.a.func,cellRender:f.a.func,prefixCls:f.a.string,value:f.a.object},Object(m.polyfill)(y),t.a=y},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),o=i(r),l=i(n("dF3D"));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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),a(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return r.default.createElement(a.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var r=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}},"Dt+G":function(e,t,n){},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m}));var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("17x9"),u=n.n(c),p=n("u7YQ");function f(){}var d={className:u.a.string,locale:u.a.object,style:u.a.object,visible:u.a.bool,onSelect:u.a.func,prefixCls:u.a.string,onChange:u.a.func,onOk:u.a.func},h={locale:p.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:f,onChange:f,onClear:f,renderFooter:function(){return null},renderSidebar:function(){return null}},m=function(e){var t,n;return n=t=function(e){function t(){var n,a,o;r()(this,t);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return n=a=l()(this,e.call.apply(e,[this].concat(s))),a.getFormat=function(){var e=a.props.format,t=a.props,n=t.locale,r=t.timePicker;return e||(e=r?n.dateTimeFormat:n.dateFormat),e},a.focus=function(){a.focusElement?a.focusElement.focus():a.rootInstance&&a.rootInstance.focus()},a.saveFocusElement=function(e){a.focusElement=e},a.saveRoot=function(e){a.rootInstance=e},o=n,l()(a,o)}return s()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(n("NJEC")),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}}();n("k994");var o=n("q1tI"),l=c(o),i=n("eO8H"),s=n("D5tj");function c(e){return e&&e.__esModule?e:{default:e}}var u=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.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return l.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},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),r(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.item,r=t.checkbox,o=t.mile,c=this.props.match.params,u=c.projectsId,p=c.owner,f=this.props.current_user;return n&&l.default.createElement("div",{className:"issueItem"},f&&f.login&&r,l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/detail",target:"_blank",title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),l.default.createElement("p",{className:"color-grey-6 font-12"},l.default.createElement("span",null,n.format_time),l.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":l.default.createElement("span",{className:"ml20"},l.default.createElement("span",null,n.updated_at),l.default.createElement("span",{className:"ml5"},"更新")))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),l.default.createElement("li",null,n.author_name?l.default.createElement(i.Link,{to:"/users/"+n.author_login,className:"show-user-link"},n.author_name):"--"),l.default.createElement("li",null,n.assign_user_name?l.default.createElement(i.Link,{to:"/users/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),l.default.createElement("li",null,n.tracker||"--"),o?"":l.default.createElement("li",null,n.version||"--"),l.default.createElement("li",null,n.issue_status||"--"),l.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"milepostleft"},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/detail"},l.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),f&&f.login?l.default.createElement("div",{style:{display:this.state.orderid===n.id&&this.state.isdisplay?"flex":"none"}},l.default.createElement("div",{className:"mr8 ml8 color-grey-9"},l.default.createElement(i.Link,{to:"/projects/"+p+"/"+u+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),l.default.createElement("div",{className:"color-grey-9"},l.default.createElement(a.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},l.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(o.Component);t.default=u},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"h",(function(){return f})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return m}));var a=n("QbLZ"),r=n.n(a),o=n("wd/R"),l=n.n(o),i={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function s(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function c(e){return e.format("LL")}function u(e){return c(s(e))}function p(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function f(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=r()({},i,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var a=e.hour(),r=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(a))if(-1===t.disabledMinutes(a).indexOf(r))n=-1!==t.disabledSeconds(a,r).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function m(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},"N1L+":function(e,t,n){},NJEC:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("VCL8"),o=n("3S7+"),l=n("CtXQ"),i=n("2/Rp"),s=n("YMnH"),c=n("ZvpZ"),u=n("H84U");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 f(){return(f=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}).apply(this,arguments)}function d(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)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==p(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 y(){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 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 a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},C=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)}(C,e);var t,n,r,l,p=(t=C,function(){var e,n=b(t);if(y()){var a=b(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return m(this,e)});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),(t=p.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 r=t.props,o=r.okButtonProps,l=r.cancelButtonProps,s=r.title,c=r.cancelText,u=r.okText,p=r.okType,d=r.icon;return a.createElement("div",null,a.createElement("div",{className:"".concat(e,"-inner-content")},a.createElement("div",{className:"".concat(e,"-message")},d,a.createElement("div",{className:"".concat(e,"-message-title")},s)),a.createElement("div",{className:"".concat(e,"-buttons")},a.createElement(i.default,f({onClick:t.onCancel,size:"small"},l),c||n.cancelText),a.createElement(i.default,f({onClick:t.onConfirm,type:p,size:"small"},o),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,r=t.props,l=r.prefixCls,i=r.placement,u=g(r,["prefixCls","placement"]),p=n("popover",l),d=a.createElement(s.a,{componentName:"Popconfirm",defaultLocale:c.a.Popconfirm},(function(e){return t.renderOverlay(p,e)}));return a.createElement(o.default,f({},u,{prefixCls:p,placement:i,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:d,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return n=C,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(r=[{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 a=n.onVisibleChange;a&&a(e,t)}},{key:"render",value:function(){return a.createElement(u.a,null,this.renderConfirm)}}])&&d(n.prototype,r),l&&d(n,l),C}(a.Component);C.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:a.createElement(l.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(r.polyfill)(C),t.default=C},Phz4:function(e,t,n){},RqAY:function(e,t,n){"use strict";function a(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 a}))},U8R4:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("ZMcG"),n("1vPl"),n("N1L+"),n("0lcf")},WT1Z:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=C(n("W9HT")),r=C(n("NUBc")),o=C(n("jsC+")),l=C(n("CtXQ")),i=C(n("kaz8")),s=C(n("+eQT")),c=C(n("BvKs")),u=C(n("5rEg")),p=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},f=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("YQTV"),n("aIZi"),n("2oDE"),n("MKzF"),n("U8R4"),n("2WkQ"),n("1vPl");var d=n("q1tI"),h=C(d),m=n("eO8H");n("6JOy"),n("Phz4");var v=C(n("wd/R")),y=C(n("2CTR")),b=C(n("GqXi")),g=C(n("vDqi"));function C(e){return e&&e.__esModule?e:{default: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}var w=u.default.Search,k=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.getSelectList(),n.getIssueList("1")},n.getSelectList=function(){n.setState({isSpin:!0});var e=n.props.match.params,t=e.projectsId,a="/"+e.owner+"/"+t+"/issues/index_chosen.json";g.default.get(a).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getIssueList=function(e,t,a){n.setState({isSpin:!0});var r=n.state.select_params,o=n.props.match.params,l=o.projectsId,i="/"+o.owner+"/"+l+"/issues.json";g.default.get(i,{params:p({},r,{start_date:t,due_date:a,status_type:e})}).then((function(e){if(e){var t=e.data.issues;n.setState({data:e.data,issues:t,search_count:e.data.search_count,isSpin:!1,allValue:t&&t.length>0&&t.map((function(e){return e.id}))})}})).catch((function(e){console.log(e)}))},n.getMenu=function(e,t,a){n.setState({isSpin:!0});var r=e.key.split("-");"created_on"===r[0]?("desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}),n.state.select_params.order_name=e.key):"updated_on"===r[0]&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.state.select_params.order_name=r[0],n.state.select_params.order_type=e.item.props.value,n.state.select_params.page=1;var o=n.state.status_type;n.getIssueList(o)},n.getOption=function(e,t,a,r){var o,l=n.props.current_user,i="all"===e.key?void 0:e.key,s=n.state.author_id,c=n.state.assigned_to_id,u=n.state.select_params;if(u[""+t]=i,u.page=1,l&&(s=u.author_id&&u.author_id===l.user_id?l.user_id:void 0,c=u.assigned_to_id&&u.assigned_to_id===l.user_id?l.user_id:void 0),n.setState((O(o={},t+"s",a),O(o,"select_params",u),O(o,"author_id",s),O(o,"assigned_to_id",c),o)),!r){var p=n.state.status_type;n.getIssueList(p)}},n.renderMenu=function(e,t,a,r){return h.default.createElement(c.default,null,h.default.createElement(c.default.Item,{key:"all",onClick:function(e){return n.getOption(e,a,t,r)}},t),e&&e.length>0&&e.map((function(e,t){return h.default.createElement(c.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,a,e.name,r)},style:{textAlign:e.color?"left":"center",padding:"6px 15px"}},e.color&&h.default.createElement("span",{className:"tagColor",style:{backgroundColor:""+e.color}}),e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0,checkedValue:[],all:!1});var t=n.state.status_type;n.state.select_params.page=e,n.getIssueList(t)},n.searchFunc=function(e){n.setState({search:e,isSpin:!0,checkedValue:[],all:void 0});var t=n.state.status_type;n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList(t)},n.openorder=function(e){n.setState({author_id:void 0,assigned_to_id:void 0,status_type:e,issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",fixed_version_ids:"里程碑",paix:"排序",checkedValue:[],all:void 0}),n.state.select_params={search:void 0,page:1,limit:15},n.getIssueList(e)},n.ChangeAssign=function(e){var t=n.props.current_user;if(n.setState({isSpin:!0}),e){if(!t)return void n.setState({isSpin:!1});1===e?(n.setState({assigned_to_ids:t.username,assigned_to_id:t.user_id,author_id:void 0,author_ids:"发布人"}),n.state.select_params.author_id=void 0,n.state.select_params.assigned_to_id=t.user_id):(n.setState({author_ids:t.username,author_id:t.user_id,assigned_to_id:void 0,assigned_to_ids:"负责人"}),n.state.select_params.assigned_to_id=void 0,n.state.select_params.author_id=t.user_id)}else n.setState({author_ids:"发布人",author_id:void 0,assigned_to_ids:"负责人",assigned_to_id:void 0}),n.state.select_params.assigned_to_id=void 0,n.state.select_params.author_id=void 0;var a=n.state.status_type;n.getIssueList(a)},n.deletedetail=function(e){var t=n.props.match.params,a=t.projectsId,r="/projects/"+t.owner+"/"+a+"/issues/"+e+".json";g.default.delete(r,{data:{project_id:a,id:e}}).then((function(e){if(e){var t=n.state.status_type;n.getIssueList(t)}})).catch((function(e){console.log(e)}))},n.islogin=function(){n.props.showLoginDialog()},n.renderNew=function(){var e=n.props.match.params,t=e.projectsId,a=e.owner;return n.props.checkIfLogin()?h.default.createElement(m.Link,{className:"topWrapper_btn ml10",target:"_blank",to:"/projects/"+a+"/"+t+"/issues/new"},"+ 创建任务"):h.default.createElement("a",{className:"topWrapper_btn ml10",onClick:n.islogin},"+ 创建任务")},n.changeBeginTime=function(e,t){var a=n.state.status_type;n.setState({begin:t}),n.getIssueList(a,t,n.state.end)},n.changeEndTime=function(e,t){var a=n.state.status_type;n.setState({end:t}),n.getIssueList(a,n.state.begin,t)},n.checkIssues=function(e){n.setState({checkedValue:e});var t=n.state.allValue;n.setState({all:t&&e&&e.length===t.length}),0===e.length&&n.setState({update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:{update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0}})},n.changeAll=function(e){if(e.target.checked){var t=n.state.allValue;n.setState({checkedValue:t})}else n.setState({checkedValue:[]});n.setState({all:e.target.checked})},n.updateIssues=function(){var e=n.state,t=e.checkedValue,a=e.select_params,r=n.props.match.params,o=r.projectsId,l=r.owner;if(a.update_author_id||a.update_fixed_version_id||a.update_status_id){n.setState({isSpin:!0});var i="/"+l+"/"+o+"/issues/series_update.json";g.default.post(i,{ids:t,assigned_to_id:a.update_author_id,fixed_version_id:a.update_fixed_version_id,status_id:a.update_status_id}).then((function(e){e&&(n.props.showNotification("修改成功!"),n.successFunc())})).catch((function(e){console.log(e)}))}else n.resetSelectParams()},n.successFunc=function(){n.resetSelectParams();var e=n.state.status_type;n.getIssueList(e)},n.resetSelectParams=function(){var e=n.state.select_params;e.update_author_id=void 0,e.update_fixed_version_id=void 0,e.update_status_id=void 0,n.setState({all:!1,checkedValue:[],update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",select_params:e})},n.deleteIssues=function(){n.props.confirm({content:"是否确认删除所有选中的任务?",onOk:function(){n.setState({isSpin:!0});var e=n.state.checkedValue,t=n.props.match.params,a=t.projectsId,r="/"+t.owner+"/"+a+"/issues/clean.json";g.default.post(r,{ids:e}).then((function(e){e&&(n.props.showNotification("删除成功!"),n.successFunc())})).catch((function(e){console.log(e)}))}})},n.menu=function(){return h.default.createElement(c.default,{onClick:function(e){return n.getMenu(e)}},h.default.createElement(c.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),h.default.createElement(c.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),h.default.createElement(c.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),h.default.createElement(c.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新"))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",fixed_version_ids:"里程碑",status_ids:"状态",done_ratios:"完成度",paix:"排序",update_author_ids:"更换负责人",update_fixed_version_ids:"更换里程碑",update_status_ids:"修改状态",begin:"",end:"",checkedValue:[],allValue:[],all:!1,select_params:{assigned_to_id:void 0,author_id:void 0,issue_tag_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,fixed_version_id:void 0,order_name:void 0,order_type:void 0,search:void 0,update_author_id:void 0,update_fixed_version_id:void 0,update_status_id:void 0,page:1,limit:15}},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.current_user,n=this.state,c=n.issue_chosen,u=n.issues,f=n.search_count,d=n.data,m=n.author_id,g=n.assigned_to_id,C=n.isSpin,O=n.status_type,k=n.select_params,E=n.begin,S=n.end,P=n.checkedValue,x=n.all;return h.default.createElement("div",{className:"main"},h.default.createElement("div",{className:"topWrapper",style:{paddingTop:"10px"}},h.default.createElement("ul",{className:"topWrapper_type"},h.default.createElement("li",null,h.default.createElement("label",null,"所有:"),h.default.createElement("span",{className:O?"":"active",onClick:function(){return e.openorder()}},d&&d.all_count)),h.default.createElement("li",null,h.default.createElement("label",null,"开启中:"),h.default.createElement("span",{className:"1"===O?"active":"",onClick:function(){return e.openorder("1")}},d&&d.open_count)),h.default.createElement("li",null,h.default.createElement("label",null,"已关闭:"),h.default.createElement("span",{className:"2"===O?"active":"",onClick:function(){return e.openorder("2")}},d&&d.close_count))),this.renderNew()),h.default.createElement("div",{className:"topWrapper"},h.default.createElement("div",{className:"target-detail-search"},h.default.createElement(w,{placeholder:"输入issue名称进行搜索",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),h.default.createElement("div",null,h.default.createElement(s.default,{value:E?(0,v.default)(E,"YYYY-MM-DD"):"",style:{marginRight:"20px"},placeholder:"请选择开始时间",onChange:this.changeBeginTime}),h.default.createElement(s.default,{value:S?(0,v.default)(S,"YYYY-MM-DD"):"",placeholder:"请选择结束时间",onChange:this.changeEndTime}))),h.default.createElement(a.default,{spinning:C},h.default.createElement("div",{className:"f-wrap-between screenWrap"},h.default.createElement("div",{className:"df"},t&&t.login?h.default.createElement(i.default,{value:"0",style:{lineHeight:"50px",marginRight:"15px"},checked:x,onChange:this.changeAll}):"",P&&P.length>0?h.default.createElement("span",{style:{lineHeight:"50px"}},"选中",P.length,"个issue"):h.default.createElement("ul",{className:"searchBanner"},h.default.createElement("li",{className:m||g?"":"active",onClick:function(){return e.ChangeAssign()}},h.default.createElement("label",null,"搜索结果"),h.default.createElement("span",null,d&&d.search_count)),h.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:g?"active":"",onClick:function(){return e.ChangeAssign(1)}},h.default.createElement("label",null,"指派给我"),h.default.createElement("span",null,d&&d.assign_me_count)),h.default.createElement("li",{style:{display:t&&""===t.login?"none":"flex"},className:m?"active":"",onClick:function(){return e.ChangeAssign(2)}},h.default.createElement("label",null,"我的发布"),h.default.createElement("span",null,d&&d.my_published_count)))),P&&P.length>0?h.default.createElement("ul",{className:"topWrapper_select wrapperStyle"},h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"更换负责人","update_author_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_author_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(c&&c.issue_version,"更换里程碑","update_fixed_version_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_fixed_version_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",{className:"mr20"},h.default.createElement(o.default,{className:"topWrapperSelect wrapperStyle",overlay:this.renderMenu(c&&c.issue_status,"修改状态","update_status_id",!0),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.update_status_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("a",{onClick:this.updateIssues,className:"updateBtn blue mr20"},"确定"),h.default.createElement("a",{onClick:this.deleteIssues,className:"updateBtn red mr20"},"删除")):h.default.createElement("ul",{className:"topWrapper_select"},h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.issue_tag_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.author_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.assigned_to_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.tracker_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.fixed_version_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.status_ids,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(c&&c.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.done_ratios,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))),h.default.createElement("li",null,h.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.menu(),trigger:["click"],placement:"bottomCenter"},h.default.createElement("span",null,this.state.paix,h.default.createElement(l.default,{type:"caret-down",className:"ml5"})))))),0===f?h.default.createElement(y.default,{_html:"暂时还没有相关数据!"}):h.default.createElement("div",{style:{minHeight:"500px"}},h.default.createElement(i.default.Group,{name:"issues",onChange:this.checkIssues,value:P,style:{width:"100%"}},u&&u.length>0&&u.map((function(n,a){return h.default.createElement(b.default,p({key:a,item:n,checkbox:t?h.default.createElement(i.default,{value:n.id,key:n.id,style:{margin:"4px 15px 0px 0px"}}):"",search_count:f,page:k.page,limit:k.limit},e.props,e.state,{deletedetail:e.deletedetail}))})))),f>k.limit?h.default.createElement("div",{className:"mt30 mb10 edu-txt-center"},h.default.createElement(r.default,{simple:!0,defaultCurrent:k.page,total:f,pageSize:k.limit,onChange:this.ChangePage})):""))}}]),t}(d.Component);t.default=k},ZMcG:function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},fDcq:function(e,t,n){"use strict";var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=6,f=7,d=n("wd/R"),h=n.n(d),m=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,a=[],r=[],o=t.firstDayOfWeek(),l=void 0,i=h()(),s=0;s<f;s++){var c=(o+s)%f;i.day(c),a[s]=t.weekdaysMin(i),r[s]=t.weekdaysShort(i)}e.showWeekNumber&&(l=u.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},u.a.createElement("span",{className:n+"-column-header-inner"},"x")));var p=r.map((function(e,t){return u.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},u.a.createElement("span",{className:n+"-column-header-inner"},a[t]))}));return u.a.createElement("thead",null,u.a.createElement("tr",{role:"row"},l,p))},t}(u.a.Component),v=n("17x9"),y=n.n(v),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function O(e,t){return e&&t&&e.isSame(t,"day")}function w(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function k(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,a=e.selectedValue,r=e.value,o=e.showWeekNumber,l=e.dateRender,i=e.disabledDate,s=e.hoverValue,c=void 0,d=void 0,h=void 0,m=[],v=Object(C.e)(r),y=n+"-cell",b=n+"-week-number-cell",E=n+"-date",S=n+"-today",P=n+"-selected-day",x=n+"-selected-date",j=n+"-selected-start-date",_=n+"-selected-end-date",N=n+"-in-range-cell",D=n+"-last-month-cell",V=n+"-next-month-btn-day",T=n+"-disabled-cell",M=n+"-disabled-cell-first-of-row",R=n+"-disabled-cell-last-of-row",I=n+"-last-day-of-month",A=r.clone();A.date(1);var F=(A.day()+7-r.localeData().firstDayOfWeek())%7,H=A.clone();H.add(0-F,"days");var L=0;for(c=0;c<p;c++)for(d=0;d<f;d++)h=H,L&&(h=h.clone()).add(L,"days"),m.push(h),L++;var Y,W=[];for(L=0,c=0;c<p;c++){var B,G=void 0,Q=void 0,K=!1,Z=[];for(o&&(Q=u.a.createElement("td",{key:m[L].week(),role:"gridcell",className:b},m[L].week())),d=0;d<f;d++){var z=null,q=null;h=m[L],d<f-1&&(z=m[L+1]),d>0&&(q=m[L-1]);var X=y,U=!1,J=!1;O(h,v)&&(X+=" "+S,G=!0);var $=w(h,r),ee=k(h,r);if(a&&Array.isArray(a)){var te=s.length?s:a;if(!$&&!ee){var ne=te[0],ae=te[1];ne&&O(h,ne)&&(J=!0,K=!0,X+=" "+j),(ne||ae)&&(O(h,ae)?(J=!0,K=!0,X+=" "+_):(null==ne&&h.isBefore(ae,"day")||null==ae&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(ae,"day"))&&(X+=" "+N))}}else O(h,r)&&(J=!0,K=!0);O(h,a)&&(X+=" "+x),$&&(X+=" "+D),ee&&(X+=" "+V),h.clone().endOf("month").date()===h.date()&&(X+=" "+I),i&&i(h,r)&&(U=!0,q&&i(q,r)||(X+=" "+M),z&&i(z,r)||(X+=" "+R)),J&&(X+=" "+P),U&&(X+=" "+T);var re=void 0;if(l)re=l(h,r);else{var oe=t?t(h,r):h.date();re=u.a.createElement("div",{key:(Y=h,"rc-calendar-"+Y.year()+"-"+Y.month()+"-"+Y.date()),className:E,"aria-selected":J,"aria-disabled":U},oe)}Z.push(u.a.createElement("td",{key:L,onClick:U?void 0:e.onSelect.bind(null,h),onMouseEnter:U?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:X},re)),L++}W.push(u.a.createElement("tr",{key:c,role:"row",className:g()((B={},B[n+"-current-week"]=G,B[n+"-active-week"]=K,B))},Q,Z))}return u.a.createElement("tbody",{className:n+"-tbody"},W)},t}(u.a.Component);E.propTypes={contentRender:y.a.func,dateRender:y.a.func,disabledDate:y.a.func,prefixCls:y.a.string,selectedValue:y.a.oneOfType([y.a.object,y.a.arrayOf(y.a.object)]),value:y.a.object,hoverValue:y.a.any,showWeekNumber:y.a.bool},E.defaultProps={hoverValue:[]};var S=E,P=function(e){function t(){return r()(this,t),l()(this,e.apply(this,arguments))}return s()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return u.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},u.a.createElement(m,e),u.a.createElement(S,e))},t}(u.a.Component);t.a=P},hxti:function(e,t,n){(function(t){for(var a=n("bQgK"),r="undefined"==typeof window?t:window,o=["moz","webkit"],l="AnimationFrame",i=r["request"+l],s=r["cancel"+l]||r["cancelRequest"+l],c=0;!i&&c<o.length;c++)i=r[o[c]+"Request"+l],s=r[o[c]+"Cancel"+l]||r[o[c]+"CancelRequest"+l];if(!i||!s){var u=0,p=0,f=[];i=function(e){if(0===f.length){var t=a(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.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 f.push({handle:++p,callback:e,cancelled:!1}),p},s=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return i.call(r,e)},e.exports.cancel=function(){s.apply(r,arguments)},e.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=i,e.cancelAnimationFrame=s}}).call(this,n("yLpj"))},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return O}));var a=n("iCc5"),r=n.n(a),o=n("FYw3"),l=n.n(o),i=n("mRg0"),s=n.n(i),c=n("q1tI"),u=n.n(c),p=n("17x9"),f=n.n(p),d=n("TSYQ"),h=n.n(d),m=n("wd/R"),v=n.n(m),y=n("GrtH");function b(e){return e?Object(y.e)(e):v()()}var g={value:f.a.object,defaultValue:f.a.object,onKeyDown:f.a.func},C={onKeyDown:function(){}},O=function(e){var t,n;return n=t=function(t){function n(){var e,a,o;r()(this,n);for(var i=arguments.length,s=Array(i),c=0;c<i;c++)s[c]=arguments[c];return e=a=l()(this,t.call.apply(t,[this].concat(s))),a.onSelect=function(e,t){e&&a.setValue(e),a.setSelectedValue(e,t)},a.renderRoot=function(e){var t,n=a.props,r=n.prefixCls,o=((t={})[r]=1,t[r+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return u.a.createElement("div",{ref:a.saveRoot,className:""+h()(o),style:a.props.style,tabIndex:"0",onKeyDown:a.onKeyDown,onBlur:a.onBlur},e.children)},a.setSelectedValue=function(e,t){"selectedValue"in a.props||a.setState({selectedValue:e}),a.props.onSelect&&a.props.onSelect(e,t)},a.setValue=function(e){var t=a.state.value;"value"in a.props||a.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&a.props.onChange(e)},a.isAllowedDate=function(e){var t=a.props.disabledDate,n=a.props.disabledTime;return Object(y.g)(e,t,n)},o=e,l()(a,o)}return s()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var a=t.value,r=t.selectedValue,o={};return"value"in t&&(o.value=a||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=r),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},"jsC+":function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n.n(a),o=n("17x9"),l=n.n(o),i=n("i8i4"),s=n.n(i),c=n("uciX"),u=n("TSYQ"),p=n.n(u),f={adjustX:1,adjustY:1},d=[0,0],h={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},m=n("VCL8"),v=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};var y=function(e){function t(n){!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,e.call(this,n));return b.call(a),a.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},r=p()(n.className,this.getOpenClassName());return t&&e?Object(a.cloneElement)(e,{className:r}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,a=e.animation,o=e.align,l=e.placement,i=e.getPopupContainer,s=e.showAction,u=e.hideAction,p=e.overlayClassName,f=e.overlayStyle,d=e.trigger,m=function(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),y=u;return y||-1===d.indexOf("contextMenu")||(y=["click"]),r.a.createElement(c.a,v({},m,{prefixCls:t,ref:this.saveTrigger,popupClassName:p,popupStyle:f,builtinPlacements:h,action:d,showAction:s,hideAction:y||[],popupPlacement:l,popupAlign:o,popupTransitionName:n,popupAnimation:a,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:i}),this.renderChildren())},t}(a.Component);y.propTypes={minOverlayWidthMatchTrigger:l.a.bool,onVisibleChange:l.a.func,onOverlayClick:l.a.func,prefixCls:l.a.string,children:l.a.any,transitionName:l.a.string,overlayClassName:l.a.string,openClassName:l.a.string,animation:l.a.any,align:l.a.object,overlayStyle:l.a.object,placement:l.a.string,overlay:l.a.oneOfType([l.a.node,l.a.func]),trigger:l.a.array,alignPoint:l.a.bool,showAction:l.a.array,hideAction:l.a.array,getPopupContainer:l.a.func,visible:l.a.bool,defaultVisible:l.a.bool},y.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var b=function(){var e=this;this.onClick=function(t){var n=e.props,a=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),a.onClick&&a.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,a=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!a},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),a={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete a.prefixCls,r.a.cloneElement(n,a)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),a=s.a.findDOMNode(e);a&&n&&a.offsetWidth>n.offsetWidth&&(n.style.minWidth=a.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(m.polyfill)(y);var g=y,C=n("H84U"),O=n("6CfX"),w=n("CtXQ"),k=n("CWQg");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 S(){return(S=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}).apply(this,arguments)}function P(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(k.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var V=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&&j(e,t)}(i,e);var t,n,r,o,l=(t=i,function(){var e,n=D(t);if(N()){var a=D(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return _(this,e)});function i(){var e;return P(this,i),(e=l.apply(this,arguments)).renderOverlay=function(t){var n,r=e.props.overlay;n="function"==typeof r?r():r;var o=(n=a.Children.only(n)).props;Object(O.a)(!o.mode||"vertical"===o.mode,"Dropdown",'mode="'.concat(o.mode,"\" is not supported for Dropdown's Menu."));var l=o.selectable,i=void 0!==l&&l,s=o.focusable,c=void 0===s||s,u=a.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},a.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?r:a.cloneElement(n,{mode:"vertical",selectable:i,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,r=t.getPopupContainer,o=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.children,c=l.trigger,u=l.disabled,f=l.getPopupContainer,d=o("dropdown",i),h=a.Children.only(s),m=a.cloneElement(h,{className:p()(h.props.className,"".concat(d,"-trigger")),disabled:u}),v=u?[]:c;return v&&-1!==v.indexOf("contextMenu")&&(n=!0),a.createElement(g,S({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:f||r,transitionName:e.getTransitionName(),trigger:v,overlay:function(){return e.renderOverlay(d)}}),m)},e}return n=i,(r=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,a=e.transitionName;return void 0!==a?a:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return a.createElement(C.a,null,this.renderDropDown)}}])&&x(n.prototype,r),o&&x(n,o),i}(a.Component);V.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 R(){return(R=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}).apply(this,arguments)}function I(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(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 L(){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 Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},B=T.default.Group,G=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&&F(e,t)}(i,e);var t,n,r,o,l=(t=i,function(){var e,n=Y(t);if(L()){var a=Y(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return H(this,e)});function i(){var e;return I(this,i),(e=l.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,r=t.getPrefixCls,o=e.props,l=o.prefixCls,i=o.type,s=o.disabled,c=o.onClick,u=o.htmlType,f=o.children,d=o.className,h=o.overlay,m=o.trigger,v=o.align,y=o.visible,b=o.onVisibleChange,g=o.placement,C=o.getPopupContainer,O=o.href,k=o.icon,E=void 0===k?a.createElement(w.default,{type:"ellipsis"}):k,S=o.title,P=W(o,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),x=r("dropdown-button",l),j={align:v,overlay:h,disabled:s,trigger:s?[]:m,onVisibleChange:b,placement:g,getPopupContainer:C||n};return"visible"in e.props&&(j.visible=y),a.createElement(B,R({},P,{className:p()(x,d)}),a.createElement(T.default,{type:i,disabled:s,onClick:c,htmlType:u,href:O,title:S},f),a.createElement(V,j,a.createElement(T.default,{type:i},E)))},e}return n=i,(r=[{key:"render",value:function(){return a.createElement(C.a,null,this.renderButton)}}])&&A(n.prototype,r),o&&A(n,o),i}(a.Component);G.defaultProps={placement:"bottomRight",type:"default"},V.Button=G;t.default=V},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},kaz8:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("17x9"),o=n("VCL8"),l=n("TSYQ"),i=n.n(l),s=n("x1Ya"),c=n("Gytx"),u=n.n(c),p=n("H84U"),f=n("6CfX");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 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 m(){return(m=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}).apply(this,arguments)}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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}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&&b(e,t)}(c,e);var t,n,r,o,l=(t=c,function(){var e,n=w(t);if(O()){var a=w(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return g(this,e)});function c(){var e;return v(this,c),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,r=t.getPrefixCls,o=C(e),l=o.props,c=o.context,u=l.prefixCls,p=l.className,f=l.children,d=l.indeterminate,v=l.style,y=l.onMouseEnter,b=l.onMouseLeave,g=k(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=c.checkboxGroup,w=r("checkbox",u),E=m({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:f,value:l.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(l.value),E.disabled=l.disabled||O.disabled);var S=i()(p,(h(n={},"".concat(w,"-wrapper"),!0),h(n,"".concat(w,"-wrapper-checked"),E.checked),h(n,"".concat(w,"-wrapper-disabled"),E.disabled),n)),P=i()(h({},"".concat(w,"-indeterminate"),d));return a.createElement("label",{className:S,style:v,onMouseEnter:y,onMouseLeave:b},a.createElement(s.a,m({},E,{prefixCls:w,className:P,ref:e.saveCheckbox})),void 0!==f&&a.createElement("span",null,f))},e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!u()(this.props,e)||!u()(this.state,t)||!u()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,a=(this.context||{}).checkboxGroup,r=void 0===a?{}:a;n!==t&&r.registerValue&&r.cancelValue&&(r.cancelValue(t),r.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return a.createElement(p.a,null,this.renderCheckbox)}}])&&y(n.prototype,r),o&&y(n,o),c}(a.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:r.any},Object(o.polyfill)(E);var S=E,P=n("BGR+");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 j(){return(j=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}).apply(this,arguments)}function _(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(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)}}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?M(e):t}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var A=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},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&&V(e,t)}(s,e);var t,n,r,o,l=(t=s,function(){var e,n=I(t);if(R()){var a=I(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return T(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,a=t.state.value.indexOf(e.value),r=_(t.state.value);-1===a?r.push(e.value):r.splice(a,1),"value"in t.props||t.setState({value:r});var o=t.props.onChange;if(o){var l=t.getOptions();o(r.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,r=M(t),o=r.props,l=r.state,s=o.prefixCls,c=o.className,u=o.style,p=o.options,f=A(o,["prefixCls","className","style","options"]),d=n("checkbox",s),h="".concat(d,"-group"),m=Object(P.a)(f,["children","defaultValue","value","onChange","disabled"]),v=o.children;p&&p.length>0&&(v=t.getOptions().map((function(e){return a.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:o.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var y=i()(h,c);return a.createElement("div",j({className:y,style:u},m),v)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(r=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return a.createElement(p.a,null,this.renderGroup)}}])&&D(n.prototype,r),o&&D(n,o),s}(a.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:r.array,value:r.array,options:r.array.isRequired,onChange:r.func},F.childContextTypes={checkboxGroup:r.any},Object(o.polyfill)(F);var H=F;S.Group=H;t.default=S},mr32:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),r=n("TSYQ"),o=n.n(r),l=n("BGR+"),i=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 p(){return(p=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}).apply(this,arguments)}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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y(){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 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 a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},C=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)}(s,e);var t,n,r,l,i=(t=s,function(){var e,n=b(t);if(y()){var a=b(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return v(this,e)});function s(){var e;return d(this,s),(e=i.apply(this,arguments)).handleClick=function(){var t=e.props,n=t.checked,a=t.onChange;a&&a(!n)},e.renderCheckableTag=function(t){var n,r=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.className,c=l.checked,u=g(l,["prefixCls","className","checked"]),d=r("tag",i),h=o()(d,(f(n={},"".concat(d,"-checkable"),!0),f(n,"".concat(d,"-checkable-checked"),c),n),s);return delete u.onChange,a.createElement("span",p({},u,{className:h,onClick:e.handleClick}))},e}return n=s,(r=[{key:"render",value:function(){return a.createElement(c.a,null,this.renderCheckableTag)}}])&&h(n.prototype,r),l&&h(n,l),s}(a.Component),O=n("CWQg"),w=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),k=n("6CfX"),E=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 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 x(){return(x=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}).apply(this,arguments)}function j(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)}}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 D(){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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},M=new RegExp("^(".concat(w.join("|"),")(-inverse)?$")),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&&_(e,t)}(p,e);var t,n,r,i,u=(t=p,function(){var e,n=V(t);if(D()){var a=V(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return N(this,e)});function p(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(t=u.call(this,e)).state={visible:!0},t.handleIconClick=function(e){e.stopPropagation(),t.setVisible(!1,e)},t.renderTag=function(e){var n=t.props,r=n.children,o=T(n,["children"]),i="onClick"in o||r&&"a"===r.type,s=Object(l.a)(o,["onClose","afterClose","color","visible","closable","prefixCls"]);return i?a.createElement(E.a,null,a.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),r,t.renderCloseIcon())):a.createElement("span",x({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),r,t.renderCloseIcon())},Object(k.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=p,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(r=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,a=this.isPresetColor();return x({backgroundColor:t&&!a?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,a=this.props,r=a.prefixCls,l=a.className,i=a.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",r);return o()(u,(P(t={},"".concat(u,"-").concat(i),c),P(t,"".concat(u,"-has-color"),i&&!c),P(t,"".concat(u,"-hidden"),!s),t),l)}},{key:"setVisible",value:function(e,t){var n=this.props,a=n.onClose,r=n.afterClose;a&&a(t),r&&!a&&r(),t.defaultPrevented||"visible"in this.props||this.setState({visible:e})}},{key:"isPresetColor",value:function(){var e=this.props.color;return!!e&&M.test(e)}},{key:"renderCloseIcon",value:function(){return this.props.closable?a.createElement(s.default,{type:"close",onClick:this.handleIconClick}):null}},{key:"render",value:function(){return a.createElement(c.a,null,this.renderTag)}}])&&j(n.prototype,r),i&&j(n,i),p}(a.Component);R.CheckableTag=C,R.defaultProps={closable:!1},Object(i.polyfill)(R);t.default=R},u3En:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var a=n("jo6Y"),r=n.n(a),o=n("QbLZ"),l=n.n(o),i=n("iCc5"),s=n.n(i),c=n("FYw3"),u=n.n(c),p=n("mRg0"),f=n.n(p),d=n("q1tI"),h=n.n(d),m=n("17x9"),v=n.n(m),y=n("TSYQ"),b=n.n(y),g=n("VCL8"),C=function(e){function t(n){s()(this,t);var a=u()(this,e.call(this,n));a.handleChange=function(e){var t=a.props,n=t.disabled,r=t.onChange;n||("checked"in a.props||a.setState({checked:e.target.checked}),r&&r({target:l()({},a.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},a.saveInput=function(e){a.input=e};var r="checked"in n?n.checked:n.defaultChecked;return a.state={checked:r},a}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,a=t.className,o=t.style,i=t.name,s=t.id,c=t.type,u=t.disabled,p=t.readOnly,f=t.tabIndex,d=t.onClick,m=t.onFocus,v=t.onBlur,y=t.autoFocus,g=t.value,C=r()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),w=this.state.checked,k=b()(n,a,((e={})[n+"-checked"]=w,e[n+"-disabled"]=u,e));return h.a.createElement("span",{className:k,style:o},h.a.createElement("input",l()({name:i,id:s,type:c,readOnly:p,disabled:u,tabIndex:f,className:n+"-input",checked:!!w,onClick:d,onFocus:m,onBlur:v,onChange:this.handleChange,autoFocus:y,ref:this.saveInput,value:g},O)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:v.a.string,className:v.a.string,style:v.a.object,name:v.a.string,id:v.a.string,type:v.a.string,defaultChecked:v.a.oneOfType([v.a.number,v.a.bool]),checked:v.a.oneOfType([v.a.number,v.a.bool]),disabled:v.a.bool,onFocus:v.a.func,onBlur:v.a.func,onChange:v.a.func,onClick:v.a.func,tabIndex:v.a.oneOfType([v.a.string,v.a.number]),readOnly:v.a.bool,autoFocus:v.a.bool,value:v.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var O=C;t.a=O}}]); \ No newline at end of file diff --git a/static/js/34.6b334f93.chunk.js b/static/js/35.5d8e6ba3.chunk.js similarity index 99% rename from static/js/34.6b334f93.chunk.js rename to static/js/35.5d8e6ba3.chunk.js index 911dc2006..9dae51543 100644 --- a/static/js/34.6b334f93.chunk.js +++ b/static/js/35.5d8e6ba3.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[34,9],{"01ui":function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("VCL8"),m=n("GrtH");var v=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.state={},o=n,l()(r,o)}return u()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var a=0;a<3;a++){e.month(n);var o=Object(m.b)(e);t[r][a]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(m.e)(n),a=this.months(),o=n.month(),l=t.prefixCls,c=t.locale,u=t.contentRender,i=t.cellRender,f=a.map((function(a,f){var p=a.map((function(a){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(a.value),p=t.disabledDate(d)}var y=((f={})[l+"-cell"]=1,f[l+"-cell-disabled"]=p,f[l+"-selected-cell"]=a.value===o,f[l+"-current-cell"]=r.year()===n.year()&&a.value===r.month(),f),m=void 0;if(i){var v=n.clone();v.month(a.value),m=i(v,c)}else{var b=void 0;if(u){var g=n.clone();g.month(a.value),b=u(g,c)}else b=a.content;m=s.a.createElement("a",{className:l+"-month"},b)}return s.a.createElement("td",{role:"gridcell",key:a.value,onClick:p?null:function(){return e.chooseMonth(a.value)},title:a.title,className:h()(y)},m)}));return s.a.createElement("tr",{key:f,role:"row"},p)}));return s.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},s.a.createElement("tbody",{className:l+"-tbody"},f))},t}(i.Component);v.defaultProps={onSelect:function(){}},v.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(y.polyfill)(v),t.a=v},"1WFl":function(e,t,n){},"6JOy":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),a=n("SiX+");n.d(t,"Group",(function(){return a.a}));var o=n("KNH7");n.d(t,"Button",(function(){return o.a})),r.a.Button=o.a,r.a.Group=a.a,t.default=r.a},BMrR:function(e,t,n){"use strict";n.r(t);var r=n("qrJ5");t.default=r.a},CF58:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("1WFl"),n("8QGh"),n("K4yd")},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("17x9"),s=n.n(i),f=n("u7YQ");function p(){}var d={className:s.a.string,locale:s.a.object,style:s.a.object,visible:s.a.bool,onSelect:s.a.func,prefixCls:s.a.string,onChange:s.a.func,onOk:s.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},y=function(e){var t,n;return n=t=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,a=t.timePicker;return e||(e=a?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},o=n,l()(r,o)}return u()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("QbLZ"),a=n.n(r),o=n("wd/R"),l=n.n(o),c={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function u(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function i(e){return e.format("LL")}function s(e){return i(u(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=a()({},c,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),a=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(a))n=-1!==t.disabledSeconds(r,a).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function y(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},IxYK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),a=b(n("JBPa")),o=b(n("BMrR")),l=b(n("kPKH")),c=b(n("2fM7")),u=b(n("Vl3Y")),i=b(n("PArb")),s=b(n("9yH6")),f=b(n("5rEg")),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},d=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("CF58"),n("Jmwx"),n("rO+z"),n("8QGh"),n("tULf"),n("qNb/"),n("K4yd"),n("1vPl");var h=n("q1tI"),y=b(h),m=b(n("vDqi")),v=b(n("wd/R"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=f.default.TextArea,C=s.default.Group,S=s.default.Button,O=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.getmeil()},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.getmeil=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,a=n.props.match.params.meilid,o="/"+r+"/"+t+"/milestones/"+a+"/edit.json";m.default.get(o,{params:{projectsId:t,meilid:a}}).then((function(e){e&&(n.setState({data:e.data,selectedValue:e.data.effective_date&&(0,v.default)(e.data.effective_date)}),n.props.form.setFieldsValue({name:e.data.name,description:e.data.description}))})).catch((function(e){console.log(e)}))},n.submit=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.owner,l=n.props.match.params.meilid,c="/"+o+"/"+a+"/milestones/"+l+".json",u=n.state.selectedValue&&n.state.selectedValue.format("YYYY-MM-DD");m.default.put(c,p({},t,{project_id:a,id:l,effective_date:u,status:"open"})).then((function(e){e&&(n.setState({isSpin:!1}),n.props.history.push("/projects/"+o+"/"+a+"/milestones"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.claertime=function(){n.setState({selectedValue:void 0})},n.state={data:void 0,value:(0,v.default)("2017-01-25"),selectedValue:(0,v.default)("2020-2-12"),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),d(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.state,n=t.isSpin,s=t.selectedValue;return y.default.createElement("div",{className:"main"},y.default.createElement(u.default,null,y.default.createElement("div",{style:{marginLeft:15,marginTop:24}},y.default.createElement("h1",null,"编辑里程碑"),y.default.createElement("h5",{className:"mt-5 color-grey-9"},"里程碑可以组织任务和合并请求,并跟踪进度.")),y.default.createElement(i.default,null),y.default.createElement("div",{style:{display:"flex"}},y.default.createElement("div",{className:"newmilepostleft"},"标题",y.default.createElement("div",null,y.default.createElement(u.default.Item,null,e("name",{rules:[{required:!0,message:"请输入标题"}]})(y.default.createElement(f.default,{placeholder:"标题"})))),"描述",y.default.createElement(u.default.Item,null,e("description",{rules:[{required:!0,message:"请输入描述内容"}]})(y.default.createElement(g,{placeholder:"请输入描述内容...",style:{height:"150px"}})))),y.default.createElement("div",{className:"newmilepostrighe"},"截止日期(可选) ",y.default.createElement("a",{style:{color:"red"},onClick:this.claertime},"清除"),y.default.createElement("div",null,y.default.createElement(f.default,{style:{width:"120px"},value:s&&s.format("YYYY-MM-DD")})),y.default.createElement("div",{style:{width:300,border:"1px solid #d9d9d9",borderRadius:4,marginTop:5}},y.default.createElement(a.default,{fullscreen:!1,headerRender:function(e){for(var t=e.value,n=e.type,r=e.onChange,a=e.onTypeChange,u=[],i=t.clone(),s=t.localeData(),f=[],p=0;p<12;p++)i.month(p),f.push(s.monthsShort(i));for(var d=0;d<12;d++)u.push(y.default.createElement(c.default.Option,{className:"month-item",key:""+d},f[d]));for(var h=t.month(),m=t.year(),v=[],b=m-10;b<m+10;b+=1)v.push(y.default.createElement(c.default.Option,{key:b,value:b,className:"year-item"},b));return y.default.createElement("div",{style:{padding:10}},y.default.createElement(o.default,{type:"flex",justify:"space-between"},y.default.createElement(l.default,null,y.default.createElement(C,{size:"small",onChange:function(e){return a(e.target.value)},value:n},y.default.createElement(S,{value:"month"},"月份"),y.default.createElement(S,{value:"year"},"年份"))),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,className:"my-year-select",style:{width:80},onChange:function(e){var n=t.clone().year(e);r(n)},value:String(m)},v)),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,value:String(h),onChange:function(e){var n=t.clone();n.month(parseInt(e,10)),r(n)}},u))))},onPanelChange:this.onPanelChange,onSelect:this.onSelect})))),y.default.createElement(i.default,null),y.default.createElement("div",{className:"clearfix mt15",onClick:this.submit},y.default.createElement(r.default,{spinning:n},y.default.createElement("a",{className:"topWrapper_btn fr"},"更新里程碑")))))}}]),t}(h.Component),w=u.default.create({name:"UpdatemileFrom"})(O);t.default=w},JBPa:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("17x9"),l=n.n(o),c=n("wd/R"),u=n.n(c),i=n("QbLZ"),s=n.n(i),f=n("iCc5"),p=n.n(f),d=n("FYw3"),h=n.n(d),y=n("mRg0"),m=n.n(y),v=n("VCL8"),b=n("fDcq"),g=n("01ui"),C=n("jBZG"),S=n("F4Vz"),O=n("GrtH");function w(){}var E=function(e){function t(){return p()(this,t),h()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.onYearChange=function(e){var t=this.props.value.clone();t.year(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.onMonthChange=function(e){var t=this.props.value.clone();t.month(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.yearSelectElement=function(e){for(var t=this.props,n=t.yearSelectOffset,r=t.yearSelectTotal,o=t.prefixCls,l=t.Select,c=e-n,u=c+r,i=[],s=c;s<u;s++)i.push(a.a.createElement(l.Option,{key:""+s},s));return a.a.createElement(l,{className:o+"-header-year-select",onChange:this.onYearChange.bind(this),dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1},i)},t.prototype.monthSelectElement=function(e){for(var t=this.props,n=t.value.clone(),r=t.prefixCls,o=[],l=t.Select,c=0;c<12;c++)n.month(c),o.push(a.a.createElement(l.Option,{key:""+c},Object(O.b)(n)));return a.a.createElement(l,{className:r+"-header-month-select",dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",overflowX:"hidden",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1,onChange:this.onMonthChange.bind(this)},o)},t.prototype.changeTypeToDate=function(){this.props.onTypeChange("date")},t.prototype.changeTypeToMonth=function(){this.props.onTypeChange("month")},t.prototype.render=function(){var e=this.props,t=e.value,n=e.locale,r=e.prefixCls,o=e.type,l=e.showTypeSwitch,c=e.headerComponents,u=t.year(),i=t.month(),s=this.yearSelectElement(u),f="month"===o?null:this.monthSelectElement(i),p=r+"-header-switcher",d=l?a.a.createElement("span",{className:p},"date"===o?a.a.createElement("span",{className:p+"-focus"},n.month):a.a.createElement("span",{onClick:this.changeTypeToDate.bind(this),className:p+"-normal"},n.month),"month"===o?a.a.createElement("span",{className:p+"-focus"},n.year):a.a.createElement("span",{onClick:this.changeTypeToMonth.bind(this),className:p+"-normal"},n.year)):null;return a.a.createElement("div",{className:r+"-header"},d,f,s,c)},t}(r.Component);E.propTypes={value:l.a.object,locale:l.a.object,yearSelectOffset:l.a.number,yearSelectTotal:l.a.number,onValueChange:l.a.func,onTypeChange:l.a.func,Select:l.a.func,prefixCls:l.a.string,type:l.a.string,showTypeSwitch:l.a.bool,headerComponents:l.a.array},E.defaultProps={yearSelectOffset:10,yearSelectTotal:20,onValueChange:w,onTypeChange:w};var x=E,j=function(e){function t(n){p()(this,t);var r=h()(this,e.call(this,n));R.call(r);var a=void 0;return a="type"in n?n.type:n.defaultType,r.state={type:a,value:n.value||n.defaultValue||u()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return m()(t,e),t.getDerivedStateFromProps=function(e,t){var n={},r=e.value,a=e.selectedValue;return"type"in e&&(n={type:e.type}),"value"in e&&(n.value=r||e.defaultValue||Object(C.d)(t.value)),"selectedValue"in e&&(n.selectedValue=a),n},t.prototype.render=function(){var e=this.props,t=e.locale,n=e.prefixCls,r=e.fullscreen,o=e.showHeader,l=e.headerComponent,c=e.headerRender,u=e.disabledDate,i=this.state,f=i.value,p=i.type,d=null;if(o)if(c)d=c(f,p,t);else{var h=l||x;d=a.a.createElement(h,s()({key:"calendar-header"},e,{prefixCls:n+"-full",type:p,value:f,onTypeChange:this.setType,onValueChange:this.setValue}))}var y="date"===p?a.a.createElement(b.a,{dateRender:e.dateCellRender,contentRender:e.dateCellContentRender,locale:t,prefixCls:n,onSelect:this.onSelect,value:f,disabledDate:u}):a.a.createElement(g.a,{cellRender:e.monthCellRender,contentRender:e.monthCellContentRender,locale:t,onSelect:this.onMonthSelect,prefixCls:n+"-month-panel",value:f,disabledDate:u}),m=[d,a.a.createElement("div",{key:"calendar-body",className:n+"-calendar-body"},y)],v=[n+"-full"];return r&&v.push(n+"-fullscreen"),this.renderRoot({children:m,className:v.join(" ")})},t}(a.a.Component);j.propTypes=s()({},C.b,S.c,{defaultType:l.a.string,type:l.a.string,prefixCls:l.a.string,locale:l.a.object,onTypeChange:l.a.func,fullscreen:l.a.bool,monthCellRender:l.a.func,dateCellRender:l.a.func,showTypeSwitch:l.a.bool,Select:l.a.func.isRequired,headerComponents:l.a.array,headerComponent:l.a.object,headerRender:l.a.func,showHeader:l.a.bool,disabledDate:l.a.func,value:l.a.object,defaultValue:l.a.object,selectedValue:l.a.object,defaultSelectedValue:l.a.object}),j.defaultProps=s()({},C.a,S.b,{defaultType:"date",fullscreen:!1,showTypeSwitch:!0,showHeader:!0,onTypeChange:function(){}});var R=function(){var e=this;this.onMonthSelect=function(t){e.onSelect(t,{target:"month"})},this.setType=function(t){"type"in e.props||e.setState({type:t}),e.props.onTypeChange(t)}};Object(v.polyfill)(j);var P=Object(C.c)(Object(S.a)(j)),k=n("2fM7"),N=n("SiX+"),T=n("KNH7"),D=n("H84U");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 _(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return M(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(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 M(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 F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==V(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(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=k.default.Option;function B(e){for(var t=e.clone(),n=e.localeData(),r=[],a=0;a<12;a++)t.month(a),r.push(n.monthsShort(t));return r}var 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&&H(e,t)}(c,e);var t,n,a,o,l=(t=c,function(){var e,n=A(t);if(G()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Y(this,e)});function c(){var e;return F(this,c),(e=l.apply(this,arguments)).onYearChange=function(t){var n=e.props,r=n.value,a=n.validRange,o=r.clone();if(o.year(parseInt(t,10)),a){var l=_(a,2),c=l[0],u=l[1],i=o.get("year"),s=o.get("month");i===u.get("year")&&s>u.get("month")&&o.month(u.get("month")),i===c.get("year")&&s<c.get("month")&&o.month(c.get("month"))}var f=e.props.onValueChange;f&&f(o)},e.onMonthChange=function(t){var n=e.props.value.clone();n.month(parseInt(t,10));var r=e.props.onValueChange;r&&r(n)},e.onInternalTypeChange=function(t){e.onTypeChange(t.target.value)},e.onTypeChange=function(t){var n=e.props.onTypeChange;n&&n(t)},e.getCalenderHeaderNode=function(t){e.calenderHeaderNode=t},e.getMonthYearSelections=function(t){var n=e.props,r=n.prefixCls,a=n.type,o=n.value,l=t("fullcalendar",r);return{yearReactNode:e.getYearSelectElement(l,o.year()),monthReactNode:"month"===a?e.getMonthSelectElement(l,o.month(),B(o)):null}},e.getTypeSwitch=function(){var t=e.props,n=t.locale,a=void 0===n?{}:n,o=t.type,l=t.fullscreen?"default":"small";return r.createElement(N.a,{onChange:e.onInternalTypeChange,value:o,size:l},r.createElement(T.a,{value:"month"},a.month),r.createElement(T.a,{value:"year"},a.year))},e.headerRenderCustom=function(t){var n=e.props,r=n.type,a=n.onValueChange;return t({value:n.value,type:r||"month",onChange:a,onTypeChange:e.onTypeChange})},e.renderHeader=function(t){var n=t.getPrefixCls,a=e.props,o=a.prefixCls,l=a.headerRender,c=e.getTypeSwitch(),u=e.getMonthYearSelections(n),i=u.yearReactNode,s=u.monthReactNode;return l?e.headerRenderCustom(l):r.createElement("div",{className:"".concat(o,"-header"),ref:e.getCalenderHeaderNode},i,s,c)},e}return n=c,(a=[{key:"getYearSelectElement",value:function(e,t){var n=this,a=this.props,o=a.yearSelectOffset,l=a.yearSelectTotal,c=a.locale,u=void 0===c?{}:c,i=a.fullscreen,s=a.validRange,f=t-o,p=f+l;s&&(f=s[0].get("year"),p=s[1].get("year")+1);for(var d="年"===u.year?"年":"",h=[],y=f;y<p;y++)h.push(r.createElement(q,{key:"".concat(y)},y+d));return r.createElement(k.default,{size:i?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-year-select"),onChange:this.onYearChange,value:String(t),getPopupContainer:function(){return n.calenderHeaderNode}},h)}},{key:"getMonthSelectElement",value:function(e,t,n){var a=this,o=this.props,l=o.fullscreen,c=o.validRange,u=o.value,i=[],s=0,f=12;if(c){var p=_(c,2),d=p[0],h=p[1],y=u.get("year");h.get("year")===y&&(f=h.get("month")+1),d.get("year")===y&&(s=d.get("month"))}for(var m=s;m<f;m++)i.push(r.createElement(q,{key:"".concat(m)},n[m]));return r.createElement(k.default,{size:l?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-month-select"),value:String(t),onChange:this.onMonthChange,getPopupContainer:function(){return a.calenderHeaderNode}},i)}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderHeader)}}])&&I(n.prototype,a),o&&I(n,o),c}(r.Component);L.defaultProps={yearSelectOffset:10,yearSelectTotal:20};var z=n("3x3+"),W=n("YMnH"),K=n("veqR");function Q(e){return(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})(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 Z(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(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 J(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 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 $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?te(e):t}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ae(){return null}var 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&&$(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ee(this,e)});function u(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).onHeaderValueChange=function(e){t.setValue(e,"changePanel")},t.onHeaderTypeChange=function(e){t.setState({mode:e}),t.onPanelChange(t.state.value,e)},t.onSelect=function(e){t.setValue(e,"select")},t.setValue=function(e,n){var r=t.props.value||t.state.value,a=t.state.mode;"value"in t.props||t.setState({value:e}),"select"===n?(r&&r.month()!==e.month()&&t.onPanelChange(e,a),t.props.onSelect&&t.props.onSelect(e)):"changePanel"===n&&t.onPanelChange(e,a)},t.getDateRange=function(e,t){return function(n){if(!n)return!1;var r=Z(e,2),a=r[0],o=r[1],l=!n.isBetween(a,o,"days","[]");return t&&t(n)||l}},t.getDefaultLocale=function(){var e=U(U({},z.a),t.props.locale);return e.lang=U(U({},e.lang),(t.props.locale||{}).lang),e},t.monthCellRender=function(e){var n=t.props.monthCellRender,a=void 0===n?ae:n,o=te(t).prefixCls;return r.createElement("div",{className:"".concat(o,"-month")},r.createElement("div",{className:"".concat(o,"-value")},e.localeData().monthsShort(e)),r.createElement("div",{className:"".concat(o,"-content")},a(e)))},t.dateCellRender=function(e){var n,a=t.props.dateCellRender,o=void 0===a?ae:a,l=te(t).prefixCls;return r.createElement("div",{className:"".concat(l,"-date")},r.createElement("div",{className:"".concat(l,"-value")},(n=e.date())<10?"0".concat(n):"".concat(n)),r.createElement("div",{className:"".concat(l,"-content")},o(e)))},t.renderCalendar=function(e,n){var a=te(t),o=a.state,l=a.props,c=o.value,u=o.mode;c&&n&&c.locale(n);var i=l.prefixCls,s=l.style,f=l.className,p=l.fullscreen,d=l.headerRender,h=l.dateFullCellRender,y=l.monthFullCellRender||t.monthCellRender,m=h||t.dateCellRender,v=l.disabledDate;return l.validRange&&(v=t.getDateRange(l.validRange,v)),r.createElement(D.a,null,(function(n){var a=(0,n.getPrefixCls)("fullcalendar",i);t.prefixCls=a;var o=f||"";return p&&(o+=" ".concat(a,"-fullscreen")),r.createElement("div",{className:o,style:s},r.createElement(L,{fullscreen:p,type:u,headerRender:d,value:c,locale:e.lang,prefixCls:a,onTypeChange:t.onHeaderTypeChange,onValueChange:t.onHeaderValueChange,validRange:l.validRange}),r.createElement(P,U({},l,{disabledDate:v,Select:ae,locale:e.lang,type:"year"===u?"month":"date",prefixCls:a,showHeader:!1,value:c,monthCellRender:y,dateCellRender:m,onSelect:t.onSelect})))}))};var n=e.value||e.defaultValue||Object(K.a)(c)();if(!Object(K.a)(c).isMoment(n))throw new Error("The value/defaultValue of Calendar must be a moment object after `antd@2.0`, see: https://u.ant.design/calendar-value");return t.state={value:n,mode:e.mode||"month"},t}return n=u,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"value"in e&&(t.value=e.value),"mode"in e&&(t.mode=e.mode),Object.keys(t).length>0?t:null}}],(a=[{key:"onPanelChange",value:function(e,t){var n=this.props,r=n.onPanelChange,a=n.onChange;r&&r(e,t),a&&e!==this.state.value&&a(e)}},{key:"render",value:function(){return r.createElement(W.a,{componentName:"Calendar",defaultLocale:this.getDefaultLocale},this.renderCalendar)}}])&&X(n.prototype,a),o&&X(n,o),u}(r.Component);oe.defaultProps={locale:{},fullscreen:!0,onSelect:ae,onPanelChange:ae,onChange:ae},oe.propTypes={monthCellRender:o.func,dateCellRender:o.func,monthFullCellRender:o.func,dateFullCellRender:o.func,fullscreen:o.bool,locale:o.object,prefixCls:o.string,className:o.string,style:o.object,onPanelChange:o.func,value:o.object,onSelect:o.func,onChange:o.func,headerRender:o.func},Object(v.polyfill)(oe);t.default=oe},Jmwx:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),a=n("17x9"),o=n("oOh1"),l=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(v,e);var t,n,a,c,m=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,c=y(a,["prefixCls"]),i=n("radio-button",l);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(o.a,u({prefixCls:i},c))},e}return n=v,(a=[{key:"render",value:function(){return r.createElement(l.a,null,this.renderRadioButton)}}])&&s(n.prototype,a),c&&s(n,c),v}(r.Component);m.contextTypes={radioGroup:a.any}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,h=e.className,y=e.children,m=e.dashed,v=i(e,["prefixCls","type","orientation","className","children","dashed"]),b=a("divider",l),g=d.length>0?"-".concat(d):d,C=o()(h,b,"".concat(b,"-").concat(f),(u(n={},"".concat(b,"-with-text").concat(g),y),u(n,"".concat(b,"-dashed"),!!m),n));return r.createElement("div",c({className:C},v,{role:"separator"}),y&&r.createElement("span",{className:"".concat(b,"-inner-text")},y))}))}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),l=n.n(o),c=n("Gytx"),u=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}var C=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)}(i,e);var t,n,a,o,c=(t=i,function(){var e,n=b(t);if(v()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var a=t.props.onChange;a&&r!==n&&a(e)},t.renderGroup=function(e){var n=e.getPrefixCls,a=m(t).props,o=a.prefixCls,c=a.className,u=void 0===c?"":c,i=a.options,f=a.buttonStyle,p=n("radio",o),d="".concat(p,"-group"),h=l()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(a.size),a.size),u),y=a.children;return i&&i.length>0&&(y=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:a.style,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,id:a.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var a=g(e.children);n=a&&a.value}return t.state={value:n},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(a=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,a),o&&d(n,o),i}(r.Component);C.defaultProps={buttonStyle:"outline"},C.childContextTypes={radioGroup:a.any},Object(i.polyfill)(C),t.a=C},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=6,p=7,d=n("wd/R"),h=n.n(d),y=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],a=[],o=t.firstDayOfWeek(),l=void 0,c=h()(),u=0;u<p;u++){var i=(o+u)%p;c.day(i),r[u]=t.weekdaysMin(c),a[u]=t.weekdaysShort(c)}e.showWeekNumber&&(l=s.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},s.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=a.map((function(e,t){return s.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},s.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return s.a.createElement("thead",null,s.a.createElement("tr",{role:"row"},l,f))},t}(s.a.Component),m=n("17x9"),v=n.n(m),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function S(e,t){return e&&t&&e.isSame(t,"day")}function O(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function w(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,a=e.value,o=e.showWeekNumber,l=e.dateRender,c=e.disabledDate,u=e.hoverValue,i=void 0,d=void 0,h=void 0,y=[],m=Object(C.e)(a),v=n+"-cell",b=n+"-week-number-cell",E=n+"-date",x=n+"-today",j=n+"-selected-day",R=n+"-selected-date",P=n+"-selected-start-date",k=n+"-selected-end-date",N=n+"-in-range-cell",T=n+"-last-month-cell",D=n+"-next-month-btn-day",V=n+"-disabled-cell",_=n+"-disabled-cell-first-of-row",M=n+"-disabled-cell-last-of-row",F=n+"-last-day-of-month",I=a.clone();I.date(1);var H=(I.day()+7-a.localeData().firstDayOfWeek())%7,Y=I.clone();Y.add(0-H,"days");var G=0;for(i=0;i<f;i++)for(d=0;d<p;d++)h=Y,G&&(h=h.clone()).add(G,"days"),y.push(h),G++;var A,q=[];for(G=0,i=0;i<f;i++){var B,L=void 0,z=void 0,W=!1,K=[];for(o&&(z=s.a.createElement("td",{key:y[G].week(),role:"gridcell",className:b},y[G].week())),d=0;d<p;d++){var Q=null,U=null;h=y[G],d<p-1&&(Q=y[G+1]),d>0&&(U=y[G-1]);var Z=v,J=!1,X=!1;S(h,m)&&(Z+=" "+x,L=!0);var $=O(h,a),ee=w(h,a);if(r&&Array.isArray(r)){var te=u.length?u:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&S(h,ne)&&(X=!0,W=!0,Z+=" "+P),(ne||re)&&(S(h,re)?(X=!0,W=!0,Z+=" "+k):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Z+=" "+N))}}else S(h,a)&&(X=!0,W=!0);S(h,r)&&(Z+=" "+R),$&&(Z+=" "+T),ee&&(Z+=" "+D),h.clone().endOf("month").date()===h.date()&&(Z+=" "+F),c&&c(h,a)&&(J=!0,U&&c(U,a)||(Z+=" "+_),Q&&c(Q,a)||(Z+=" "+M)),X&&(Z+=" "+j),J&&(Z+=" "+V);var ae=void 0;if(l)ae=l(h,a);else{var oe=t?t(h,a):h.date();ae=s.a.createElement("div",{key:(A=h,"rc-calendar-"+A.year()+"-"+A.month()+"-"+A.date()),className:E,"aria-selected":X,"aria-disabled":J},oe)}K.push(s.a.createElement("td",{key:G,onClick:J?void 0:e.onSelect.bind(null,h),onMouseEnter:J?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:Z},ae)),G++}q.push(s.a.createElement("tr",{key:i,role:"row",className:g()((B={},B[n+"-current-week"]=L,B[n+"-active-week"]=W,B))},z,K))}return s.a.createElement("tbody",{className:n+"-tbody"},q)},t}(s.a.Component);E.propTypes={contentRender:v.a.func,dateRender:v.a.func,disabledDate:v.a.func,prefixCls:v.a.string,selectedValue:v.a.oneOfType([v.a.object,v.a.arrayOf(v.a.object)]),value:v.a.object,hoverValue:v.a.any,showWeekNumber:v.a.bool},E.defaultProps={hoverValue:[]};var x=E,j=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return s.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},s.a.createElement(y,e),s.a.createElement(x,e))},t}(s.a.Component);t.a=j},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return S}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("wd/R"),m=n.n(y),v=n("GrtH");function b(e){return e?Object(v.e)(e):m()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},C={onKeyDown:function(){}},S=function(e){var t,n;return n=t=function(t){function n(){var e,r,o;a()(this,n);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return e=r=l()(this,t.call.apply(t,[this].concat(u))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,a=n.prefixCls,o=((t={})[a]=1,t[a+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return s.a.createElement("div",{ref:r.saveRoot,className:""+h()(o),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(v.g)(e,t,n)},o=e,l()(r,o)}return u()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,a=t.selectedValue,o={};return"value"in t&&(o.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=a),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},kPKH:function(e,t,n){"use strict";n.r(t);var r=n("/kpp");t.default=r.a},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),a=n("17x9"),o=n("x1Ya"),l=n("TSYQ"),c=n.n(l),u=n("Gytx"),i=n.n(u),s=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(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(){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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 g(){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 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},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,a,l,u=(t=f,function(){var e,n=C(t);if(g()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,a=t.getPrefixCls,l=b(e),u=l.props,i=l.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,m=S(u,["prefixCls","className","children","style"]),v=i.radioGroup,g=a("radio",s),C=d({},m);v&&(C.name=v.name,C.onChange=e.onChange,C.checked=u.value===v.value,C.disabled=u.disabled||v.disabled);var O=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),C.checked),p(n,"".concat(g,"-wrapper-disabled"),C.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(o.a,d({},C,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,a),l&&y(n,l),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:a.any}},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},"rO+z":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},txnC:function(e,t,n){},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),u=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),m=n.n(y),v=n("TSYQ"),b=n.n(v),g=n("VCL8"),C=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,u=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,g=t.value,C=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),S=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),O=this.state.checked,w=b()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:w,style:o},h.a.createElement("input",l()({name:c,id:u,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},S)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var S=C;t.a=S}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[35,9],{"01ui":function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("VCL8"),m=n("GrtH");var v=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.state={},o=n,l()(r,o)}return u()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var a=0;a<3;a++){e.month(n);var o=Object(m.b)(e);t[r][a]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(m.e)(n),a=this.months(),o=n.month(),l=t.prefixCls,c=t.locale,u=t.contentRender,i=t.cellRender,f=a.map((function(a,f){var p=a.map((function(a){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(a.value),p=t.disabledDate(d)}var y=((f={})[l+"-cell"]=1,f[l+"-cell-disabled"]=p,f[l+"-selected-cell"]=a.value===o,f[l+"-current-cell"]=r.year()===n.year()&&a.value===r.month(),f),m=void 0;if(i){var v=n.clone();v.month(a.value),m=i(v,c)}else{var b=void 0;if(u){var g=n.clone();g.month(a.value),b=u(g,c)}else b=a.content;m=s.a.createElement("a",{className:l+"-month"},b)}return s.a.createElement("td",{role:"gridcell",key:a.value,onClick:p?null:function(){return e.chooseMonth(a.value)},title:a.title,className:h()(y)},m)}));return s.a.createElement("tr",{key:f,role:"row"},p)}));return s.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},s.a.createElement("tbody",{className:l+"-tbody"},f))},t}(i.Component);v.defaultProps={onSelect:function(){}},v.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(y.polyfill)(v),t.a=v},"1WFl":function(e,t,n){},"6JOy":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),a=n("SiX+");n.d(t,"Group",(function(){return a.a}));var o=n("KNH7");n.d(t,"Button",(function(){return o.a})),r.a.Button=o.a,r.a.Group=a.a,t.default=r.a},BMrR:function(e,t,n){"use strict";n.r(t);var r=n("qrJ5");t.default=r.a},CF58:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("1WFl"),n("8QGh"),n("K4yd")},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("17x9"),s=n.n(i),f=n("u7YQ");function p(){}var d={className:s.a.string,locale:s.a.object,style:s.a.object,visible:s.a.bool,onSelect:s.a.func,prefixCls:s.a.string,onChange:s.a.func,onOk:s.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},y=function(e){var t,n;return n=t=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,a=t.timePicker;return e||(e=a?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},o=n,l()(r,o)}return u()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("QbLZ"),a=n.n(r),o=n("wd/R"),l=n.n(o),c={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function u(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function i(e){return e.format("LL")}function s(e){return i(u(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=a()({},c,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),a=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(a))n=-1!==t.disabledSeconds(r,a).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function y(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},IxYK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),a=b(n("JBPa")),o=b(n("BMrR")),l=b(n("kPKH")),c=b(n("2fM7")),u=b(n("Vl3Y")),i=b(n("PArb")),s=b(n("9yH6")),f=b(n("5rEg")),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},d=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("CF58"),n("Jmwx"),n("rO+z"),n("8QGh"),n("tULf"),n("qNb/"),n("K4yd"),n("1vPl");var h=n("q1tI"),y=b(h),m=b(n("vDqi")),v=b(n("wd/R"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=f.default.TextArea,C=s.default.Group,S=s.default.Button,O=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.getmeil()},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.getmeil=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner,a=n.props.match.params.meilid,o="/"+r+"/"+t+"/milestones/"+a+"/edit.json";m.default.get(o,{params:{projectsId:t,meilid:a}}).then((function(e){e&&(n.setState({data:e.data,selectedValue:e.data.effective_date&&(0,v.default)(e.data.effective_date)}),n.props.form.setFieldsValue({name:e.data.name,description:e.data.description}))})).catch((function(e){console.log(e)}))},n.submit=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.owner,l=n.props.match.params.meilid,c="/"+o+"/"+a+"/milestones/"+l+".json",u=n.state.selectedValue&&n.state.selectedValue.format("YYYY-MM-DD");m.default.put(c,p({},t,{project_id:a,id:l,effective_date:u,status:"open"})).then((function(e){e&&(n.setState({isSpin:!1}),n.props.history.push("/projects/"+o+"/"+a+"/milestones"))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.claertime=function(){n.setState({selectedValue:void 0})},n.state={data:void 0,value:(0,v.default)("2017-01-25"),selectedValue:(0,v.default)("2020-2-12"),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),d(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.state,n=t.isSpin,s=t.selectedValue;return y.default.createElement("div",{className:"main"},y.default.createElement(u.default,null,y.default.createElement("div",{style:{marginLeft:15,marginTop:24}},y.default.createElement("h1",null,"编辑里程碑"),y.default.createElement("h5",{className:"mt-5 color-grey-9"},"里程碑可以组织任务和合并请求,并跟踪进度.")),y.default.createElement(i.default,null),y.default.createElement("div",{style:{display:"flex"}},y.default.createElement("div",{className:"newmilepostleft"},"标题",y.default.createElement("div",null,y.default.createElement(u.default.Item,null,e("name",{rules:[{required:!0,message:"请输入标题"}]})(y.default.createElement(f.default,{placeholder:"标题"})))),"描述",y.default.createElement(u.default.Item,null,e("description",{rules:[{required:!0,message:"请输入描述内容"}]})(y.default.createElement(g,{placeholder:"请输入描述内容...",style:{height:"150px"}})))),y.default.createElement("div",{className:"newmilepostrighe"},"截止日期(可选) ",y.default.createElement("a",{style:{color:"red"},onClick:this.claertime},"清除"),y.default.createElement("div",null,y.default.createElement(f.default,{style:{width:"120px"},value:s&&s.format("YYYY-MM-DD")})),y.default.createElement("div",{style:{width:300,border:"1px solid #d9d9d9",borderRadius:4,marginTop:5}},y.default.createElement(a.default,{fullscreen:!1,headerRender:function(e){for(var t=e.value,n=e.type,r=e.onChange,a=e.onTypeChange,u=[],i=t.clone(),s=t.localeData(),f=[],p=0;p<12;p++)i.month(p),f.push(s.monthsShort(i));for(var d=0;d<12;d++)u.push(y.default.createElement(c.default.Option,{className:"month-item",key:""+d},f[d]));for(var h=t.month(),m=t.year(),v=[],b=m-10;b<m+10;b+=1)v.push(y.default.createElement(c.default.Option,{key:b,value:b,className:"year-item"},b));return y.default.createElement("div",{style:{padding:10}},y.default.createElement(o.default,{type:"flex",justify:"space-between"},y.default.createElement(l.default,null,y.default.createElement(C,{size:"small",onChange:function(e){return a(e.target.value)},value:n},y.default.createElement(S,{value:"month"},"月份"),y.default.createElement(S,{value:"year"},"年份"))),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,className:"my-year-select",style:{width:80},onChange:function(e){var n=t.clone().year(e);r(n)},value:String(m)},v)),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,value:String(h),onChange:function(e){var n=t.clone();n.month(parseInt(e,10)),r(n)}},u))))},onPanelChange:this.onPanelChange,onSelect:this.onSelect})))),y.default.createElement(i.default,null),y.default.createElement("div",{className:"clearfix mt15",onClick:this.submit},y.default.createElement(r.default,{spinning:n},y.default.createElement("a",{className:"topWrapper_btn fr"},"更新里程碑")))))}}]),t}(h.Component),w=u.default.create({name:"UpdatemileFrom"})(O);t.default=w},JBPa:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("17x9"),l=n.n(o),c=n("wd/R"),u=n.n(c),i=n("QbLZ"),s=n.n(i),f=n("iCc5"),p=n.n(f),d=n("FYw3"),h=n.n(d),y=n("mRg0"),m=n.n(y),v=n("VCL8"),b=n("fDcq"),g=n("01ui"),C=n("jBZG"),S=n("F4Vz"),O=n("GrtH");function w(){}var E=function(e){function t(){return p()(this,t),h()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.onYearChange=function(e){var t=this.props.value.clone();t.year(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.onMonthChange=function(e){var t=this.props.value.clone();t.month(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.yearSelectElement=function(e){for(var t=this.props,n=t.yearSelectOffset,r=t.yearSelectTotal,o=t.prefixCls,l=t.Select,c=e-n,u=c+r,i=[],s=c;s<u;s++)i.push(a.a.createElement(l.Option,{key:""+s},s));return a.a.createElement(l,{className:o+"-header-year-select",onChange:this.onYearChange.bind(this),dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1},i)},t.prototype.monthSelectElement=function(e){for(var t=this.props,n=t.value.clone(),r=t.prefixCls,o=[],l=t.Select,c=0;c<12;c++)n.month(c),o.push(a.a.createElement(l.Option,{key:""+c},Object(O.b)(n)));return a.a.createElement(l,{className:r+"-header-month-select",dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",overflowX:"hidden",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1,onChange:this.onMonthChange.bind(this)},o)},t.prototype.changeTypeToDate=function(){this.props.onTypeChange("date")},t.prototype.changeTypeToMonth=function(){this.props.onTypeChange("month")},t.prototype.render=function(){var e=this.props,t=e.value,n=e.locale,r=e.prefixCls,o=e.type,l=e.showTypeSwitch,c=e.headerComponents,u=t.year(),i=t.month(),s=this.yearSelectElement(u),f="month"===o?null:this.monthSelectElement(i),p=r+"-header-switcher",d=l?a.a.createElement("span",{className:p},"date"===o?a.a.createElement("span",{className:p+"-focus"},n.month):a.a.createElement("span",{onClick:this.changeTypeToDate.bind(this),className:p+"-normal"},n.month),"month"===o?a.a.createElement("span",{className:p+"-focus"},n.year):a.a.createElement("span",{onClick:this.changeTypeToMonth.bind(this),className:p+"-normal"},n.year)):null;return a.a.createElement("div",{className:r+"-header"},d,f,s,c)},t}(r.Component);E.propTypes={value:l.a.object,locale:l.a.object,yearSelectOffset:l.a.number,yearSelectTotal:l.a.number,onValueChange:l.a.func,onTypeChange:l.a.func,Select:l.a.func,prefixCls:l.a.string,type:l.a.string,showTypeSwitch:l.a.bool,headerComponents:l.a.array},E.defaultProps={yearSelectOffset:10,yearSelectTotal:20,onValueChange:w,onTypeChange:w};var x=E,j=function(e){function t(n){p()(this,t);var r=h()(this,e.call(this,n));R.call(r);var a=void 0;return a="type"in n?n.type:n.defaultType,r.state={type:a,value:n.value||n.defaultValue||u()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return m()(t,e),t.getDerivedStateFromProps=function(e,t){var n={},r=e.value,a=e.selectedValue;return"type"in e&&(n={type:e.type}),"value"in e&&(n.value=r||e.defaultValue||Object(C.d)(t.value)),"selectedValue"in e&&(n.selectedValue=a),n},t.prototype.render=function(){var e=this.props,t=e.locale,n=e.prefixCls,r=e.fullscreen,o=e.showHeader,l=e.headerComponent,c=e.headerRender,u=e.disabledDate,i=this.state,f=i.value,p=i.type,d=null;if(o)if(c)d=c(f,p,t);else{var h=l||x;d=a.a.createElement(h,s()({key:"calendar-header"},e,{prefixCls:n+"-full",type:p,value:f,onTypeChange:this.setType,onValueChange:this.setValue}))}var y="date"===p?a.a.createElement(b.a,{dateRender:e.dateCellRender,contentRender:e.dateCellContentRender,locale:t,prefixCls:n,onSelect:this.onSelect,value:f,disabledDate:u}):a.a.createElement(g.a,{cellRender:e.monthCellRender,contentRender:e.monthCellContentRender,locale:t,onSelect:this.onMonthSelect,prefixCls:n+"-month-panel",value:f,disabledDate:u}),m=[d,a.a.createElement("div",{key:"calendar-body",className:n+"-calendar-body"},y)],v=[n+"-full"];return r&&v.push(n+"-fullscreen"),this.renderRoot({children:m,className:v.join(" ")})},t}(a.a.Component);j.propTypes=s()({},C.b,S.c,{defaultType:l.a.string,type:l.a.string,prefixCls:l.a.string,locale:l.a.object,onTypeChange:l.a.func,fullscreen:l.a.bool,monthCellRender:l.a.func,dateCellRender:l.a.func,showTypeSwitch:l.a.bool,Select:l.a.func.isRequired,headerComponents:l.a.array,headerComponent:l.a.object,headerRender:l.a.func,showHeader:l.a.bool,disabledDate:l.a.func,value:l.a.object,defaultValue:l.a.object,selectedValue:l.a.object,defaultSelectedValue:l.a.object}),j.defaultProps=s()({},C.a,S.b,{defaultType:"date",fullscreen:!1,showTypeSwitch:!0,showHeader:!0,onTypeChange:function(){}});var R=function(){var e=this;this.onMonthSelect=function(t){e.onSelect(t,{target:"month"})},this.setType=function(t){"type"in e.props||e.setState({type:t}),e.props.onTypeChange(t)}};Object(v.polyfill)(j);var P=Object(C.c)(Object(S.a)(j)),k=n("2fM7"),N=n("SiX+"),T=n("KNH7"),D=n("H84U");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 _(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return M(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(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 M(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 F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==V(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(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=k.default.Option;function B(e){for(var t=e.clone(),n=e.localeData(),r=[],a=0;a<12;a++)t.month(a),r.push(n.monthsShort(t));return r}var 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&&H(e,t)}(c,e);var t,n,a,o,l=(t=c,function(){var e,n=A(t);if(G()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Y(this,e)});function c(){var e;return F(this,c),(e=l.apply(this,arguments)).onYearChange=function(t){var n=e.props,r=n.value,a=n.validRange,o=r.clone();if(o.year(parseInt(t,10)),a){var l=_(a,2),c=l[0],u=l[1],i=o.get("year"),s=o.get("month");i===u.get("year")&&s>u.get("month")&&o.month(u.get("month")),i===c.get("year")&&s<c.get("month")&&o.month(c.get("month"))}var f=e.props.onValueChange;f&&f(o)},e.onMonthChange=function(t){var n=e.props.value.clone();n.month(parseInt(t,10));var r=e.props.onValueChange;r&&r(n)},e.onInternalTypeChange=function(t){e.onTypeChange(t.target.value)},e.onTypeChange=function(t){var n=e.props.onTypeChange;n&&n(t)},e.getCalenderHeaderNode=function(t){e.calenderHeaderNode=t},e.getMonthYearSelections=function(t){var n=e.props,r=n.prefixCls,a=n.type,o=n.value,l=t("fullcalendar",r);return{yearReactNode:e.getYearSelectElement(l,o.year()),monthReactNode:"month"===a?e.getMonthSelectElement(l,o.month(),B(o)):null}},e.getTypeSwitch=function(){var t=e.props,n=t.locale,a=void 0===n?{}:n,o=t.type,l=t.fullscreen?"default":"small";return r.createElement(N.a,{onChange:e.onInternalTypeChange,value:o,size:l},r.createElement(T.a,{value:"month"},a.month),r.createElement(T.a,{value:"year"},a.year))},e.headerRenderCustom=function(t){var n=e.props,r=n.type,a=n.onValueChange;return t({value:n.value,type:r||"month",onChange:a,onTypeChange:e.onTypeChange})},e.renderHeader=function(t){var n=t.getPrefixCls,a=e.props,o=a.prefixCls,l=a.headerRender,c=e.getTypeSwitch(),u=e.getMonthYearSelections(n),i=u.yearReactNode,s=u.monthReactNode;return l?e.headerRenderCustom(l):r.createElement("div",{className:"".concat(o,"-header"),ref:e.getCalenderHeaderNode},i,s,c)},e}return n=c,(a=[{key:"getYearSelectElement",value:function(e,t){var n=this,a=this.props,o=a.yearSelectOffset,l=a.yearSelectTotal,c=a.locale,u=void 0===c?{}:c,i=a.fullscreen,s=a.validRange,f=t-o,p=f+l;s&&(f=s[0].get("year"),p=s[1].get("year")+1);for(var d="年"===u.year?"年":"",h=[],y=f;y<p;y++)h.push(r.createElement(q,{key:"".concat(y)},y+d));return r.createElement(k.default,{size:i?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-year-select"),onChange:this.onYearChange,value:String(t),getPopupContainer:function(){return n.calenderHeaderNode}},h)}},{key:"getMonthSelectElement",value:function(e,t,n){var a=this,o=this.props,l=o.fullscreen,c=o.validRange,u=o.value,i=[],s=0,f=12;if(c){var p=_(c,2),d=p[0],h=p[1],y=u.get("year");h.get("year")===y&&(f=h.get("month")+1),d.get("year")===y&&(s=d.get("month"))}for(var m=s;m<f;m++)i.push(r.createElement(q,{key:"".concat(m)},n[m]));return r.createElement(k.default,{size:l?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-month-select"),value:String(t),onChange:this.onMonthChange,getPopupContainer:function(){return a.calenderHeaderNode}},i)}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderHeader)}}])&&I(n.prototype,a),o&&I(n,o),c}(r.Component);L.defaultProps={yearSelectOffset:10,yearSelectTotal:20};var z=n("3x3+"),W=n("YMnH"),K=n("veqR");function Q(e){return(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})(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 Z(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(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 J(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 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 $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?te(e):t}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ae(){return null}var 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&&$(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ee(this,e)});function u(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).onHeaderValueChange=function(e){t.setValue(e,"changePanel")},t.onHeaderTypeChange=function(e){t.setState({mode:e}),t.onPanelChange(t.state.value,e)},t.onSelect=function(e){t.setValue(e,"select")},t.setValue=function(e,n){var r=t.props.value||t.state.value,a=t.state.mode;"value"in t.props||t.setState({value:e}),"select"===n?(r&&r.month()!==e.month()&&t.onPanelChange(e,a),t.props.onSelect&&t.props.onSelect(e)):"changePanel"===n&&t.onPanelChange(e,a)},t.getDateRange=function(e,t){return function(n){if(!n)return!1;var r=Z(e,2),a=r[0],o=r[1],l=!n.isBetween(a,o,"days","[]");return t&&t(n)||l}},t.getDefaultLocale=function(){var e=U(U({},z.a),t.props.locale);return e.lang=U(U({},e.lang),(t.props.locale||{}).lang),e},t.monthCellRender=function(e){var n=t.props.monthCellRender,a=void 0===n?ae:n,o=te(t).prefixCls;return r.createElement("div",{className:"".concat(o,"-month")},r.createElement("div",{className:"".concat(o,"-value")},e.localeData().monthsShort(e)),r.createElement("div",{className:"".concat(o,"-content")},a(e)))},t.dateCellRender=function(e){var n,a=t.props.dateCellRender,o=void 0===a?ae:a,l=te(t).prefixCls;return r.createElement("div",{className:"".concat(l,"-date")},r.createElement("div",{className:"".concat(l,"-value")},(n=e.date())<10?"0".concat(n):"".concat(n)),r.createElement("div",{className:"".concat(l,"-content")},o(e)))},t.renderCalendar=function(e,n){var a=te(t),o=a.state,l=a.props,c=o.value,u=o.mode;c&&n&&c.locale(n);var i=l.prefixCls,s=l.style,f=l.className,p=l.fullscreen,d=l.headerRender,h=l.dateFullCellRender,y=l.monthFullCellRender||t.monthCellRender,m=h||t.dateCellRender,v=l.disabledDate;return l.validRange&&(v=t.getDateRange(l.validRange,v)),r.createElement(D.a,null,(function(n){var a=(0,n.getPrefixCls)("fullcalendar",i);t.prefixCls=a;var o=f||"";return p&&(o+=" ".concat(a,"-fullscreen")),r.createElement("div",{className:o,style:s},r.createElement(L,{fullscreen:p,type:u,headerRender:d,value:c,locale:e.lang,prefixCls:a,onTypeChange:t.onHeaderTypeChange,onValueChange:t.onHeaderValueChange,validRange:l.validRange}),r.createElement(P,U({},l,{disabledDate:v,Select:ae,locale:e.lang,type:"year"===u?"month":"date",prefixCls:a,showHeader:!1,value:c,monthCellRender:y,dateCellRender:m,onSelect:t.onSelect})))}))};var n=e.value||e.defaultValue||Object(K.a)(c)();if(!Object(K.a)(c).isMoment(n))throw new Error("The value/defaultValue of Calendar must be a moment object after `antd@2.0`, see: https://u.ant.design/calendar-value");return t.state={value:n,mode:e.mode||"month"},t}return n=u,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"value"in e&&(t.value=e.value),"mode"in e&&(t.mode=e.mode),Object.keys(t).length>0?t:null}}],(a=[{key:"onPanelChange",value:function(e,t){var n=this.props,r=n.onPanelChange,a=n.onChange;r&&r(e,t),a&&e!==this.state.value&&a(e)}},{key:"render",value:function(){return r.createElement(W.a,{componentName:"Calendar",defaultLocale:this.getDefaultLocale},this.renderCalendar)}}])&&X(n.prototype,a),o&&X(n,o),u}(r.Component);oe.defaultProps={locale:{},fullscreen:!0,onSelect:ae,onPanelChange:ae,onChange:ae},oe.propTypes={monthCellRender:o.func,dateCellRender:o.func,monthFullCellRender:o.func,dateFullCellRender:o.func,fullscreen:o.bool,locale:o.object,prefixCls:o.string,className:o.string,style:o.object,onPanelChange:o.func,value:o.object,onSelect:o.func,onChange:o.func,headerRender:o.func},Object(v.polyfill)(oe);t.default=oe},Jmwx:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),a=n("17x9"),o=n("oOh1"),l=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(v,e);var t,n,a,c,m=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,c=y(a,["prefixCls"]),i=n("radio-button",l);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(o.a,u({prefixCls:i},c))},e}return n=v,(a=[{key:"render",value:function(){return r.createElement(l.a,null,this.renderRadioButton)}}])&&s(n.prototype,a),c&&s(n,c),v}(r.Component);m.contextTypes={radioGroup:a.any}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,h=e.className,y=e.children,m=e.dashed,v=i(e,["prefixCls","type","orientation","className","children","dashed"]),b=a("divider",l),g=d.length>0?"-".concat(d):d,C=o()(h,b,"".concat(b,"-").concat(f),(u(n={},"".concat(b,"-with-text").concat(g),y),u(n,"".concat(b,"-dashed"),!!m),n));return r.createElement("div",c({className:C},v,{role:"separator"}),y&&r.createElement("span",{className:"".concat(b,"-inner-text")},y))}))}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),l=n.n(o),c=n("Gytx"),u=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}var C=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)}(i,e);var t,n,a,o,c=(t=i,function(){var e,n=b(t);if(v()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var a=t.props.onChange;a&&r!==n&&a(e)},t.renderGroup=function(e){var n=e.getPrefixCls,a=m(t).props,o=a.prefixCls,c=a.className,u=void 0===c?"":c,i=a.options,f=a.buttonStyle,p=n("radio",o),d="".concat(p,"-group"),h=l()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(a.size),a.size),u),y=a.children;return i&&i.length>0&&(y=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:a.style,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,id:a.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var a=g(e.children);n=a&&a.value}return t.state={value:n},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(a=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,a),o&&d(n,o),i}(r.Component);C.defaultProps={buttonStyle:"outline"},C.childContextTypes={radioGroup:a.any},Object(i.polyfill)(C),t.a=C},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=6,p=7,d=n("wd/R"),h=n.n(d),y=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],a=[],o=t.firstDayOfWeek(),l=void 0,c=h()(),u=0;u<p;u++){var i=(o+u)%p;c.day(i),r[u]=t.weekdaysMin(c),a[u]=t.weekdaysShort(c)}e.showWeekNumber&&(l=s.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},s.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=a.map((function(e,t){return s.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},s.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return s.a.createElement("thead",null,s.a.createElement("tr",{role:"row"},l,f))},t}(s.a.Component),m=n("17x9"),v=n.n(m),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function S(e,t){return e&&t&&e.isSame(t,"day")}function O(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function w(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,a=e.value,o=e.showWeekNumber,l=e.dateRender,c=e.disabledDate,u=e.hoverValue,i=void 0,d=void 0,h=void 0,y=[],m=Object(C.e)(a),v=n+"-cell",b=n+"-week-number-cell",E=n+"-date",x=n+"-today",j=n+"-selected-day",R=n+"-selected-date",P=n+"-selected-start-date",k=n+"-selected-end-date",N=n+"-in-range-cell",T=n+"-last-month-cell",D=n+"-next-month-btn-day",V=n+"-disabled-cell",_=n+"-disabled-cell-first-of-row",M=n+"-disabled-cell-last-of-row",F=n+"-last-day-of-month",I=a.clone();I.date(1);var H=(I.day()+7-a.localeData().firstDayOfWeek())%7,Y=I.clone();Y.add(0-H,"days");var G=0;for(i=0;i<f;i++)for(d=0;d<p;d++)h=Y,G&&(h=h.clone()).add(G,"days"),y.push(h),G++;var A,q=[];for(G=0,i=0;i<f;i++){var B,L=void 0,z=void 0,W=!1,K=[];for(o&&(z=s.a.createElement("td",{key:y[G].week(),role:"gridcell",className:b},y[G].week())),d=0;d<p;d++){var Q=null,U=null;h=y[G],d<p-1&&(Q=y[G+1]),d>0&&(U=y[G-1]);var Z=v,J=!1,X=!1;S(h,m)&&(Z+=" "+x,L=!0);var $=O(h,a),ee=w(h,a);if(r&&Array.isArray(r)){var te=u.length?u:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&S(h,ne)&&(X=!0,W=!0,Z+=" "+P),(ne||re)&&(S(h,re)?(X=!0,W=!0,Z+=" "+k):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Z+=" "+N))}}else S(h,a)&&(X=!0,W=!0);S(h,r)&&(Z+=" "+R),$&&(Z+=" "+T),ee&&(Z+=" "+D),h.clone().endOf("month").date()===h.date()&&(Z+=" "+F),c&&c(h,a)&&(J=!0,U&&c(U,a)||(Z+=" "+_),Q&&c(Q,a)||(Z+=" "+M)),X&&(Z+=" "+j),J&&(Z+=" "+V);var ae=void 0;if(l)ae=l(h,a);else{var oe=t?t(h,a):h.date();ae=s.a.createElement("div",{key:(A=h,"rc-calendar-"+A.year()+"-"+A.month()+"-"+A.date()),className:E,"aria-selected":X,"aria-disabled":J},oe)}K.push(s.a.createElement("td",{key:G,onClick:J?void 0:e.onSelect.bind(null,h),onMouseEnter:J?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:Z},ae)),G++}q.push(s.a.createElement("tr",{key:i,role:"row",className:g()((B={},B[n+"-current-week"]=L,B[n+"-active-week"]=W,B))},z,K))}return s.a.createElement("tbody",{className:n+"-tbody"},q)},t}(s.a.Component);E.propTypes={contentRender:v.a.func,dateRender:v.a.func,disabledDate:v.a.func,prefixCls:v.a.string,selectedValue:v.a.oneOfType([v.a.object,v.a.arrayOf(v.a.object)]),value:v.a.object,hoverValue:v.a.any,showWeekNumber:v.a.bool},E.defaultProps={hoverValue:[]};var x=E,j=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return s.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},s.a.createElement(y,e),s.a.createElement(x,e))},t}(s.a.Component);t.a=j},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return S}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("wd/R"),m=n.n(y),v=n("GrtH");function b(e){return e?Object(v.e)(e):m()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},C={onKeyDown:function(){}},S=function(e){var t,n;return n=t=function(t){function n(){var e,r,o;a()(this,n);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return e=r=l()(this,t.call.apply(t,[this].concat(u))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,a=n.prefixCls,o=((t={})[a]=1,t[a+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return s.a.createElement("div",{ref:r.saveRoot,className:""+h()(o),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(v.g)(e,t,n)},o=e,l()(r,o)}return u()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,a=t.selectedValue,o={};return"value"in t&&(o.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=a),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},kPKH:function(e,t,n){"use strict";n.r(t);var r=n("/kpp");t.default=r.a},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),a=n("17x9"),o=n("x1Ya"),l=n("TSYQ"),c=n.n(l),u=n("Gytx"),i=n.n(u),s=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(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(){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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 g(){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 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},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,a,l,u=(t=f,function(){var e,n=C(t);if(g()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,a=t.getPrefixCls,l=b(e),u=l.props,i=l.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,m=S(u,["prefixCls","className","children","style"]),v=i.radioGroup,g=a("radio",s),C=d({},m);v&&(C.name=v.name,C.onChange=e.onChange,C.checked=u.value===v.value,C.disabled=u.disabled||v.disabled);var O=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),C.checked),p(n,"".concat(g,"-wrapper-disabled"),C.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(o.a,d({},C,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,a),l&&y(n,l),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:a.any}},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},"rO+z":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},txnC:function(e,t,n){},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),u=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),m=n.n(y),v=n("TSYQ"),b=n.n(v),g=n("VCL8"),C=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,u=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,g=t.value,C=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),S=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),O=this.state.checked,w=b()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:w,style:o},h.a.createElement("input",l()({name:c,id:u,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},S)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var S=C;t.a=S}}]); \ No newline at end of file diff --git a/static/js/35.1fa91e18.chunk.js b/static/js/36.634d235a.chunk.js similarity index 99% rename from static/js/35.1fa91e18.chunk.js rename to static/js/36.634d235a.chunk.js index 913375f0e..cf3776b7b 100644 --- a/static/js/35.1fa91e18.chunk.js +++ b/static/js/36.634d235a.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[35,9],{"01ui":function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("VCL8"),m=n("GrtH");var v=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.state={},o=n,l()(r,o)}return u()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var a=0;a<3;a++){e.month(n);var o=Object(m.b)(e);t[r][a]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(m.e)(n),a=this.months(),o=n.month(),l=t.prefixCls,c=t.locale,u=t.contentRender,i=t.cellRender,f=a.map((function(a,f){var p=a.map((function(a){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(a.value),p=t.disabledDate(d)}var y=((f={})[l+"-cell"]=1,f[l+"-cell-disabled"]=p,f[l+"-selected-cell"]=a.value===o,f[l+"-current-cell"]=r.year()===n.year()&&a.value===r.month(),f),m=void 0;if(i){var v=n.clone();v.month(a.value),m=i(v,c)}else{var b=void 0;if(u){var g=n.clone();g.month(a.value),b=u(g,c)}else b=a.content;m=s.a.createElement("a",{className:l+"-month"},b)}return s.a.createElement("td",{role:"gridcell",key:a.value,onClick:p?null:function(){return e.chooseMonth(a.value)},title:a.title,className:h()(y)},m)}));return s.a.createElement("tr",{key:f,role:"row"},p)}));return s.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},s.a.createElement("tbody",{className:l+"-tbody"},f))},t}(i.Component);v.defaultProps={onSelect:function(){}},v.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(y.polyfill)(v),t.a=v},"1WFl":function(e,t,n){},"6JOy":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),a=n("SiX+");n.d(t,"Group",(function(){return a.a}));var o=n("KNH7");n.d(t,"Button",(function(){return o.a})),r.a.Button=o.a,r.a.Group=a.a,t.default=r.a},BMrR:function(e,t,n){"use strict";n.r(t);var r=n("qrJ5");t.default=r.a},CF58:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("1WFl"),n("8QGh"),n("K4yd")},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("17x9"),s=n.n(i),f=n("u7YQ");function p(){}var d={className:s.a.string,locale:s.a.object,style:s.a.object,visible:s.a.bool,onSelect:s.a.func,prefixCls:s.a.string,onChange:s.a.func,onOk:s.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},y=function(e){var t,n;return n=t=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,a=t.timePicker;return e||(e=a?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},o=n,l()(r,o)}return u()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("QbLZ"),a=n.n(r),o=n("wd/R"),l=n.n(o),c={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function u(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function i(e){return e.format("LL")}function s(e){return i(u(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=a()({},c,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),a=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(a))n=-1!==t.disabledSeconds(r,a).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function y(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},JBPa:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("17x9"),l=n.n(o),c=n("wd/R"),u=n.n(c),i=n("QbLZ"),s=n.n(i),f=n("iCc5"),p=n.n(f),d=n("FYw3"),h=n.n(d),y=n("mRg0"),m=n.n(y),v=n("VCL8"),b=n("fDcq"),g=n("01ui"),C=n("jBZG"),S=n("F4Vz"),O=n("GrtH");function w(){}var E=function(e){function t(){return p()(this,t),h()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.onYearChange=function(e){var t=this.props.value.clone();t.year(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.onMonthChange=function(e){var t=this.props.value.clone();t.month(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.yearSelectElement=function(e){for(var t=this.props,n=t.yearSelectOffset,r=t.yearSelectTotal,o=t.prefixCls,l=t.Select,c=e-n,u=c+r,i=[],s=c;s<u;s++)i.push(a.a.createElement(l.Option,{key:""+s},s));return a.a.createElement(l,{className:o+"-header-year-select",onChange:this.onYearChange.bind(this),dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1},i)},t.prototype.monthSelectElement=function(e){for(var t=this.props,n=t.value.clone(),r=t.prefixCls,o=[],l=t.Select,c=0;c<12;c++)n.month(c),o.push(a.a.createElement(l.Option,{key:""+c},Object(O.b)(n)));return a.a.createElement(l,{className:r+"-header-month-select",dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",overflowX:"hidden",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1,onChange:this.onMonthChange.bind(this)},o)},t.prototype.changeTypeToDate=function(){this.props.onTypeChange("date")},t.prototype.changeTypeToMonth=function(){this.props.onTypeChange("month")},t.prototype.render=function(){var e=this.props,t=e.value,n=e.locale,r=e.prefixCls,o=e.type,l=e.showTypeSwitch,c=e.headerComponents,u=t.year(),i=t.month(),s=this.yearSelectElement(u),f="month"===o?null:this.monthSelectElement(i),p=r+"-header-switcher",d=l?a.a.createElement("span",{className:p},"date"===o?a.a.createElement("span",{className:p+"-focus"},n.month):a.a.createElement("span",{onClick:this.changeTypeToDate.bind(this),className:p+"-normal"},n.month),"month"===o?a.a.createElement("span",{className:p+"-focus"},n.year):a.a.createElement("span",{onClick:this.changeTypeToMonth.bind(this),className:p+"-normal"},n.year)):null;return a.a.createElement("div",{className:r+"-header"},d,f,s,c)},t}(r.Component);E.propTypes={value:l.a.object,locale:l.a.object,yearSelectOffset:l.a.number,yearSelectTotal:l.a.number,onValueChange:l.a.func,onTypeChange:l.a.func,Select:l.a.func,prefixCls:l.a.string,type:l.a.string,showTypeSwitch:l.a.bool,headerComponents:l.a.array},E.defaultProps={yearSelectOffset:10,yearSelectTotal:20,onValueChange:w,onTypeChange:w};var x=E,j=function(e){function t(n){p()(this,t);var r=h()(this,e.call(this,n));R.call(r);var a=void 0;return a="type"in n?n.type:n.defaultType,r.state={type:a,value:n.value||n.defaultValue||u()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return m()(t,e),t.getDerivedStateFromProps=function(e,t){var n={},r=e.value,a=e.selectedValue;return"type"in e&&(n={type:e.type}),"value"in e&&(n.value=r||e.defaultValue||Object(C.d)(t.value)),"selectedValue"in e&&(n.selectedValue=a),n},t.prototype.render=function(){var e=this.props,t=e.locale,n=e.prefixCls,r=e.fullscreen,o=e.showHeader,l=e.headerComponent,c=e.headerRender,u=e.disabledDate,i=this.state,f=i.value,p=i.type,d=null;if(o)if(c)d=c(f,p,t);else{var h=l||x;d=a.a.createElement(h,s()({key:"calendar-header"},e,{prefixCls:n+"-full",type:p,value:f,onTypeChange:this.setType,onValueChange:this.setValue}))}var y="date"===p?a.a.createElement(b.a,{dateRender:e.dateCellRender,contentRender:e.dateCellContentRender,locale:t,prefixCls:n,onSelect:this.onSelect,value:f,disabledDate:u}):a.a.createElement(g.a,{cellRender:e.monthCellRender,contentRender:e.monthCellContentRender,locale:t,onSelect:this.onMonthSelect,prefixCls:n+"-month-panel",value:f,disabledDate:u}),m=[d,a.a.createElement("div",{key:"calendar-body",className:n+"-calendar-body"},y)],v=[n+"-full"];return r&&v.push(n+"-fullscreen"),this.renderRoot({children:m,className:v.join(" ")})},t}(a.a.Component);j.propTypes=s()({},C.b,S.c,{defaultType:l.a.string,type:l.a.string,prefixCls:l.a.string,locale:l.a.object,onTypeChange:l.a.func,fullscreen:l.a.bool,monthCellRender:l.a.func,dateCellRender:l.a.func,showTypeSwitch:l.a.bool,Select:l.a.func.isRequired,headerComponents:l.a.array,headerComponent:l.a.object,headerRender:l.a.func,showHeader:l.a.bool,disabledDate:l.a.func,value:l.a.object,defaultValue:l.a.object,selectedValue:l.a.object,defaultSelectedValue:l.a.object}),j.defaultProps=s()({},C.a,S.b,{defaultType:"date",fullscreen:!1,showTypeSwitch:!0,showHeader:!0,onTypeChange:function(){}});var R=function(){var e=this;this.onMonthSelect=function(t){e.onSelect(t,{target:"month"})},this.setType=function(t){"type"in e.props||e.setState({type:t}),e.props.onTypeChange(t)}};Object(v.polyfill)(j);var P=Object(C.c)(Object(S.a)(j)),k=n("2fM7"),N=n("SiX+"),T=n("KNH7"),D=n("H84U");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 _(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return M(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(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 M(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 F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==V(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(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=k.default.Option;function B(e){for(var t=e.clone(),n=e.localeData(),r=[],a=0;a<12;a++)t.month(a),r.push(n.monthsShort(t));return r}var 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&&H(e,t)}(c,e);var t,n,a,o,l=(t=c,function(){var e,n=A(t);if(G()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Y(this,e)});function c(){var e;return F(this,c),(e=l.apply(this,arguments)).onYearChange=function(t){var n=e.props,r=n.value,a=n.validRange,o=r.clone();if(o.year(parseInt(t,10)),a){var l=_(a,2),c=l[0],u=l[1],i=o.get("year"),s=o.get("month");i===u.get("year")&&s>u.get("month")&&o.month(u.get("month")),i===c.get("year")&&s<c.get("month")&&o.month(c.get("month"))}var f=e.props.onValueChange;f&&f(o)},e.onMonthChange=function(t){var n=e.props.value.clone();n.month(parseInt(t,10));var r=e.props.onValueChange;r&&r(n)},e.onInternalTypeChange=function(t){e.onTypeChange(t.target.value)},e.onTypeChange=function(t){var n=e.props.onTypeChange;n&&n(t)},e.getCalenderHeaderNode=function(t){e.calenderHeaderNode=t},e.getMonthYearSelections=function(t){var n=e.props,r=n.prefixCls,a=n.type,o=n.value,l=t("fullcalendar",r);return{yearReactNode:e.getYearSelectElement(l,o.year()),monthReactNode:"month"===a?e.getMonthSelectElement(l,o.month(),B(o)):null}},e.getTypeSwitch=function(){var t=e.props,n=t.locale,a=void 0===n?{}:n,o=t.type,l=t.fullscreen?"default":"small";return r.createElement(N.a,{onChange:e.onInternalTypeChange,value:o,size:l},r.createElement(T.a,{value:"month"},a.month),r.createElement(T.a,{value:"year"},a.year))},e.headerRenderCustom=function(t){var n=e.props,r=n.type,a=n.onValueChange;return t({value:n.value,type:r||"month",onChange:a,onTypeChange:e.onTypeChange})},e.renderHeader=function(t){var n=t.getPrefixCls,a=e.props,o=a.prefixCls,l=a.headerRender,c=e.getTypeSwitch(),u=e.getMonthYearSelections(n),i=u.yearReactNode,s=u.monthReactNode;return l?e.headerRenderCustom(l):r.createElement("div",{className:"".concat(o,"-header"),ref:e.getCalenderHeaderNode},i,s,c)},e}return n=c,(a=[{key:"getYearSelectElement",value:function(e,t){var n=this,a=this.props,o=a.yearSelectOffset,l=a.yearSelectTotal,c=a.locale,u=void 0===c?{}:c,i=a.fullscreen,s=a.validRange,f=t-o,p=f+l;s&&(f=s[0].get("year"),p=s[1].get("year")+1);for(var d="年"===u.year?"年":"",h=[],y=f;y<p;y++)h.push(r.createElement(q,{key:"".concat(y)},y+d));return r.createElement(k.default,{size:i?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-year-select"),onChange:this.onYearChange,value:String(t),getPopupContainer:function(){return n.calenderHeaderNode}},h)}},{key:"getMonthSelectElement",value:function(e,t,n){var a=this,o=this.props,l=o.fullscreen,c=o.validRange,u=o.value,i=[],s=0,f=12;if(c){var p=_(c,2),d=p[0],h=p[1],y=u.get("year");h.get("year")===y&&(f=h.get("month")+1),d.get("year")===y&&(s=d.get("month"))}for(var m=s;m<f;m++)i.push(r.createElement(q,{key:"".concat(m)},n[m]));return r.createElement(k.default,{size:l?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-month-select"),value:String(t),onChange:this.onMonthChange,getPopupContainer:function(){return a.calenderHeaderNode}},i)}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderHeader)}}])&&I(n.prototype,a),o&&I(n,o),c}(r.Component);L.defaultProps={yearSelectOffset:10,yearSelectTotal:20};var z=n("3x3+"),W=n("YMnH"),Q=n("veqR");function K(e){return(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})(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 Z(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(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 J(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 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 $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e,t){return!t||"object"!==K(t)&&"function"!=typeof t?te(e):t}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ae(){return null}var 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&&$(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ee(this,e)});function u(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).onHeaderValueChange=function(e){t.setValue(e,"changePanel")},t.onHeaderTypeChange=function(e){t.setState({mode:e}),t.onPanelChange(t.state.value,e)},t.onSelect=function(e){t.setValue(e,"select")},t.setValue=function(e,n){var r=t.props.value||t.state.value,a=t.state.mode;"value"in t.props||t.setState({value:e}),"select"===n?(r&&r.month()!==e.month()&&t.onPanelChange(e,a),t.props.onSelect&&t.props.onSelect(e)):"changePanel"===n&&t.onPanelChange(e,a)},t.getDateRange=function(e,t){return function(n){if(!n)return!1;var r=Z(e,2),a=r[0],o=r[1],l=!n.isBetween(a,o,"days","[]");return t&&t(n)||l}},t.getDefaultLocale=function(){var e=U(U({},z.a),t.props.locale);return e.lang=U(U({},e.lang),(t.props.locale||{}).lang),e},t.monthCellRender=function(e){var n=t.props.monthCellRender,a=void 0===n?ae:n,o=te(t).prefixCls;return r.createElement("div",{className:"".concat(o,"-month")},r.createElement("div",{className:"".concat(o,"-value")},e.localeData().monthsShort(e)),r.createElement("div",{className:"".concat(o,"-content")},a(e)))},t.dateCellRender=function(e){var n,a=t.props.dateCellRender,o=void 0===a?ae:a,l=te(t).prefixCls;return r.createElement("div",{className:"".concat(l,"-date")},r.createElement("div",{className:"".concat(l,"-value")},(n=e.date())<10?"0".concat(n):"".concat(n)),r.createElement("div",{className:"".concat(l,"-content")},o(e)))},t.renderCalendar=function(e,n){var a=te(t),o=a.state,l=a.props,c=o.value,u=o.mode;c&&n&&c.locale(n);var i=l.prefixCls,s=l.style,f=l.className,p=l.fullscreen,d=l.headerRender,h=l.dateFullCellRender,y=l.monthFullCellRender||t.monthCellRender,m=h||t.dateCellRender,v=l.disabledDate;return l.validRange&&(v=t.getDateRange(l.validRange,v)),r.createElement(D.a,null,(function(n){var a=(0,n.getPrefixCls)("fullcalendar",i);t.prefixCls=a;var o=f||"";return p&&(o+=" ".concat(a,"-fullscreen")),r.createElement("div",{className:o,style:s},r.createElement(L,{fullscreen:p,type:u,headerRender:d,value:c,locale:e.lang,prefixCls:a,onTypeChange:t.onHeaderTypeChange,onValueChange:t.onHeaderValueChange,validRange:l.validRange}),r.createElement(P,U({},l,{disabledDate:v,Select:ae,locale:e.lang,type:"year"===u?"month":"date",prefixCls:a,showHeader:!1,value:c,monthCellRender:y,dateCellRender:m,onSelect:t.onSelect})))}))};var n=e.value||e.defaultValue||Object(Q.a)(c)();if(!Object(Q.a)(c).isMoment(n))throw new Error("The value/defaultValue of Calendar must be a moment object after `antd@2.0`, see: https://u.ant.design/calendar-value");return t.state={value:n,mode:e.mode||"month"},t}return n=u,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"value"in e&&(t.value=e.value),"mode"in e&&(t.mode=e.mode),Object.keys(t).length>0?t:null}}],(a=[{key:"onPanelChange",value:function(e,t){var n=this.props,r=n.onPanelChange,a=n.onChange;r&&r(e,t),a&&e!==this.state.value&&a(e)}},{key:"render",value:function(){return r.createElement(W.a,{componentName:"Calendar",defaultLocale:this.getDefaultLocale},this.renderCalendar)}}])&&X(n.prototype,a),o&&X(n,o),u}(r.Component);oe.defaultProps={locale:{},fullscreen:!0,onSelect:ae,onPanelChange:ae,onChange:ae},oe.propTypes={monthCellRender:o.func,dateCellRender:o.func,monthFullCellRender:o.func,dateFullCellRender:o.func,fullscreen:o.bool,locale:o.object,prefixCls:o.string,className:o.string,style:o.object,onPanelChange:o.func,value:o.object,onSelect:o.func,onChange:o.func,headerRender:o.func},Object(v.polyfill)(oe);t.default=oe},Jmwx:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),a=n("17x9"),o=n("oOh1"),l=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(v,e);var t,n,a,c,m=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,c=y(a,["prefixCls"]),i=n("radio-button",l);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(o.a,u({prefixCls:i},c))},e}return n=v,(a=[{key:"render",value:function(){return r.createElement(l.a,null,this.renderRadioButton)}}])&&s(n.prototype,a),c&&s(n,c),v}(r.Component);m.contextTypes={radioGroup:a.any}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,h=e.className,y=e.children,m=e.dashed,v=i(e,["prefixCls","type","orientation","className","children","dashed"]),b=a("divider",l),g=d.length>0?"-".concat(d):d,C=o()(h,b,"".concat(b,"-").concat(f),(u(n={},"".concat(b,"-with-text").concat(g),y),u(n,"".concat(b,"-dashed"),!!m),n));return r.createElement("div",c({className:C},v,{role:"separator"}),y&&r.createElement("span",{className:"".concat(b,"-inner-text")},y))}))}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),l=n.n(o),c=n("Gytx"),u=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}var C=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)}(i,e);var t,n,a,o,c=(t=i,function(){var e,n=b(t);if(v()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var a=t.props.onChange;a&&r!==n&&a(e)},t.renderGroup=function(e){var n=e.getPrefixCls,a=m(t).props,o=a.prefixCls,c=a.className,u=void 0===c?"":c,i=a.options,f=a.buttonStyle,p=n("radio",o),d="".concat(p,"-group"),h=l()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(a.size),a.size),u),y=a.children;return i&&i.length>0&&(y=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:a.style,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,id:a.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var a=g(e.children);n=a&&a.value}return t.state={value:n},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(a=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,a),o&&d(n,o),i}(r.Component);C.defaultProps={buttonStyle:"outline"},C.childContextTypes={radioGroup:a.any},Object(i.polyfill)(C),t.a=C},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=6,p=7,d=n("wd/R"),h=n.n(d),y=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],a=[],o=t.firstDayOfWeek(),l=void 0,c=h()(),u=0;u<p;u++){var i=(o+u)%p;c.day(i),r[u]=t.weekdaysMin(c),a[u]=t.weekdaysShort(c)}e.showWeekNumber&&(l=s.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},s.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=a.map((function(e,t){return s.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},s.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return s.a.createElement("thead",null,s.a.createElement("tr",{role:"row"},l,f))},t}(s.a.Component),m=n("17x9"),v=n.n(m),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function S(e,t){return e&&t&&e.isSame(t,"day")}function O(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function w(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,a=e.value,o=e.showWeekNumber,l=e.dateRender,c=e.disabledDate,u=e.hoverValue,i=void 0,d=void 0,h=void 0,y=[],m=Object(C.e)(a),v=n+"-cell",b=n+"-week-number-cell",E=n+"-date",x=n+"-today",j=n+"-selected-day",R=n+"-selected-date",P=n+"-selected-start-date",k=n+"-selected-end-date",N=n+"-in-range-cell",T=n+"-last-month-cell",D=n+"-next-month-btn-day",V=n+"-disabled-cell",_=n+"-disabled-cell-first-of-row",M=n+"-disabled-cell-last-of-row",F=n+"-last-day-of-month",I=a.clone();I.date(1);var H=(I.day()+7-a.localeData().firstDayOfWeek())%7,Y=I.clone();Y.add(0-H,"days");var G=0;for(i=0;i<f;i++)for(d=0;d<p;d++)h=Y,G&&(h=h.clone()).add(G,"days"),y.push(h),G++;var A,q=[];for(G=0,i=0;i<f;i++){var B,L=void 0,z=void 0,W=!1,Q=[];for(o&&(z=s.a.createElement("td",{key:y[G].week(),role:"gridcell",className:b},y[G].week())),d=0;d<p;d++){var K=null,U=null;h=y[G],d<p-1&&(K=y[G+1]),d>0&&(U=y[G-1]);var Z=v,J=!1,X=!1;S(h,m)&&(Z+=" "+x,L=!0);var $=O(h,a),ee=w(h,a);if(r&&Array.isArray(r)){var te=u.length?u:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&S(h,ne)&&(X=!0,W=!0,Z+=" "+P),(ne||re)&&(S(h,re)?(X=!0,W=!0,Z+=" "+k):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Z+=" "+N))}}else S(h,a)&&(X=!0,W=!0);S(h,r)&&(Z+=" "+R),$&&(Z+=" "+T),ee&&(Z+=" "+D),h.clone().endOf("month").date()===h.date()&&(Z+=" "+F),c&&c(h,a)&&(J=!0,U&&c(U,a)||(Z+=" "+_),K&&c(K,a)||(Z+=" "+M)),X&&(Z+=" "+j),J&&(Z+=" "+V);var ae=void 0;if(l)ae=l(h,a);else{var oe=t?t(h,a):h.date();ae=s.a.createElement("div",{key:(A=h,"rc-calendar-"+A.year()+"-"+A.month()+"-"+A.date()),className:E,"aria-selected":X,"aria-disabled":J},oe)}Q.push(s.a.createElement("td",{key:G,onClick:J?void 0:e.onSelect.bind(null,h),onMouseEnter:J?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:Z},ae)),G++}q.push(s.a.createElement("tr",{key:i,role:"row",className:g()((B={},B[n+"-current-week"]=L,B[n+"-active-week"]=W,B))},z,Q))}return s.a.createElement("tbody",{className:n+"-tbody"},q)},t}(s.a.Component);E.propTypes={contentRender:v.a.func,dateRender:v.a.func,disabledDate:v.a.func,prefixCls:v.a.string,selectedValue:v.a.oneOfType([v.a.object,v.a.arrayOf(v.a.object)]),value:v.a.object,hoverValue:v.a.any,showWeekNumber:v.a.bool},E.defaultProps={hoverValue:[]};var x=E,j=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return s.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},s.a.createElement(y,e),s.a.createElement(x,e))},t}(s.a.Component);t.a=j},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return S}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("wd/R"),m=n.n(y),v=n("GrtH");function b(e){return e?Object(v.e)(e):m()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},C={onKeyDown:function(){}},S=function(e){var t,n;return n=t=function(t){function n(){var e,r,o;a()(this,n);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return e=r=l()(this,t.call.apply(t,[this].concat(u))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,a=n.prefixCls,o=((t={})[a]=1,t[a+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return s.a.createElement("div",{ref:r.saveRoot,className:""+h()(o),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(v.g)(e,t,n)},o=e,l()(r,o)}return u()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,a=t.selectedValue,o={};return"value"in t&&(o.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=a),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},kPKH:function(e,t,n){"use strict";n.r(t);var r=n("/kpp");t.default=r.a},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),a=n("17x9"),o=n("x1Ya"),l=n("TSYQ"),c=n.n(l),u=n("Gytx"),i=n.n(u),s=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(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(){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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 g(){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 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},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,a,l,u=(t=f,function(){var e,n=C(t);if(g()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,a=t.getPrefixCls,l=b(e),u=l.props,i=l.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,m=S(u,["prefixCls","className","children","style"]),v=i.radioGroup,g=a("radio",s),C=d({},m);v&&(C.name=v.name,C.onChange=e.onChange,C.checked=u.value===v.value,C.disabled=u.disabled||v.disabled);var O=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),C.checked),p(n,"".concat(g,"-wrapper-disabled"),C.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(o.a,d({},C,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,a),l&&y(n,l),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:a.any}},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},"rO+z":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},s4sY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),a=b(n("JBPa")),o=b(n("BMrR")),l=b(n("kPKH")),c=b(n("2fM7")),u=b(n("Vl3Y")),i=b(n("PArb")),s=b(n("9yH6")),f=b(n("5rEg")),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},d=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("CF58"),n("Jmwx"),n("rO+z"),n("8QGh"),n("tULf"),n("qNb/"),n("K4yd"),n("1vPl");var h=n("q1tI"),y=b(h),m=b(n("vDqi")),v=b(n("wd/R"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=f.default.TextArea,C=s.default.Group,S=s.default.Button,O=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.checkIfLogin()&&n.props.history.push("/403")},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.submit=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.owner,l="/"+o+"/"+a+"/milestones.json",c=void 0;n.state.selectedValue&&(c=n.state.selectedValue.format("YYYY-MM-DD")),m.default.post(l,p({},t,{project_id:a,effective_date:c,status:"open"})).then((function(e){e&&(n.setState({isSpin:!1}),n.props.history.push("/projects/"+o+"/"+a+"/milestones"))})).catch((function(e){n.setState({isSpin:!1})}))}}))},n.cleartime=function(){n.setState({selectedValue:void 0})},n.state={data:void 0,value:(0,v.default)("2017-01-25"),selectedValue: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),d(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.state.isSpin;return y.default.createElement("div",{className:"main"},y.default.createElement(u.default,null,y.default.createElement("div",{style:{marginLeft:15,marginTop:24}},y.default.createElement("h1",null,"新的里程碑"),y.default.createElement("h5",{className:"mt-5 color-grey-9"},"里程碑可以组织任务和合并请求,并跟踪进度.")),y.default.createElement(i.default,null),y.default.createElement("div",{style:{display:"flex"}},y.default.createElement("div",{className:"newmilepostleft"},"标题",y.default.createElement("div",null,y.default.createElement(u.default.Item,null,e("name",{rules:[{required:!0,message:"请输入标题"}]})(y.default.createElement(f.default,{placeholder:"标题",autoComplete:"off"})))),"描述",y.default.createElement(u.default.Item,null,e("description",{rules:[{required:!0,message:"请输入描述内容"}]})(y.default.createElement(g,{placeholder:"请输入描述内容...",style:{height:"150px"}})))),y.default.createElement("div",{className:"newmilepostrighe"},y.default.createElement("a",{style:{color:"black"}},"截止日期(可选)")," ",y.default.createElement("a",{style:{color:"red"},onClick:this.cleartime},"清除"),y.default.createElement("div",null,y.default.createElement(f.default,{style:{width:"120px"},value:this.state.selectedValue&&this.state.selectedValue.format("YYYY-MM-DD")})),y.default.createElement("div",{style:{width:300,border:"1px solid #d9d9d9",borderRadius:4,marginTop:25}},y.default.createElement(a.default,{fullscreen:!1,headerRender:function(e){for(var t=e.value,n=e.type,r=e.onChange,a=e.onTypeChange,u=[],i=t.clone(),s=t.localeData(),f=[],p=0;p<12;p++)i.month(p),f.push(s.monthsShort(i));for(var d=0;d<12;d++)u.push(y.default.createElement(c.default.Option,{className:"month-item",key:""+d},f[d]));for(var h=t.month(),m=t.year(),v=[],b=m-10;b<m+10;b+=1)v.push(y.default.createElement(c.default.Option,{key:b,value:b,className:"year-item"},b));return y.default.createElement("div",{style:{padding:10}},y.default.createElement(o.default,{type:"flex",justify:"space-between"},y.default.createElement(l.default,null,y.default.createElement(C,{size:"small",onChange:function(e){return a(e.target.value)},value:n},y.default.createElement(S,{value:"month"},"日期"),y.default.createElement(S,{value:"year"},"月份"))),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,className:"my-year-select",style:{width:80},onChange:function(e){var n=t.clone().year(e);r(n)},value:String(m)},v)),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,value:String(h),onChange:function(e){var n=t.clone();n.month(parseInt(e,10)),r(n)}},u))))},onPanelChange:this.onPanelChange,onSelect:this.onSelect})))),y.default.createElement(i.default,null),y.default.createElement("div",{className:"clearfix mt15",onClick:this.submit},y.default.createElement(r.default,{spinning:t},y.default.createElement("a",{className:"topWrapper_btn fr"},"创建里程碑")))))}}]),t}(h.Component),w=u.default.create({name:"NewMilepostFrom"})(O);t.default=w},txnC:function(e,t,n){},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),u=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),m=n.n(y),v=n("TSYQ"),b=n.n(v),g=n("VCL8"),C=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,u=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,g=t.value,C=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),S=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),O=this.state.checked,w=b()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:w,style:o},h.a.createElement("input",l()({name:c,id:u,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},S)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var S=C;t.a=S}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[36,9],{"01ui":function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("VCL8"),m=n("GrtH");var v=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.state={},o=n,l()(r,o)}return u()(t,e),t.getDerivedStateFromProps=function(e){return"value"in e?{value:e.value}:null},t.prototype.setAndSelectValue=function(e){this.setState({value:e}),this.props.onSelect(e)},t.prototype.chooseMonth=function(e){var t=this.state.value.clone();t.month(e),this.setAndSelectValue(t)},t.prototype.months=function(){for(var e=this.state.value.clone(),t=[],n=0,r=0;r<4;r++){t[r]=[];for(var a=0;a<3;a++){e.month(n);var o=Object(m.b)(e);t[r][a]={value:n,content:o,title:o},n++}}return t},t.prototype.render=function(){var e=this,t=this.props,n=this.state.value,r=Object(m.e)(n),a=this.months(),o=n.month(),l=t.prefixCls,c=t.locale,u=t.contentRender,i=t.cellRender,f=a.map((function(a,f){var p=a.map((function(a){var f,p=!1;if(t.disabledDate){var d=n.clone();d.month(a.value),p=t.disabledDate(d)}var y=((f={})[l+"-cell"]=1,f[l+"-cell-disabled"]=p,f[l+"-selected-cell"]=a.value===o,f[l+"-current-cell"]=r.year()===n.year()&&a.value===r.month(),f),m=void 0;if(i){var v=n.clone();v.month(a.value),m=i(v,c)}else{var b=void 0;if(u){var g=n.clone();g.month(a.value),b=u(g,c)}else b=a.content;m=s.a.createElement("a",{className:l+"-month"},b)}return s.a.createElement("td",{role:"gridcell",key:a.value,onClick:p?null:function(){return e.chooseMonth(a.value)},title:a.title,className:h()(y)},m)}));return s.a.createElement("tr",{key:f,role:"row"},p)}));return s.a.createElement("table",{className:l+"-table",cellSpacing:"0",role:"grid"},s.a.createElement("tbody",{className:l+"-tbody"},f))},t}(i.Component);v.defaultProps={onSelect:function(){}},v.propTypes={onSelect:p.a.func,cellRender:p.a.func,prefixCls:p.a.string,value:p.a.object},Object(y.polyfill)(v),t.a=v},"1WFl":function(e,t,n){},"6JOy":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),a=n("SiX+");n.d(t,"Group",(function(){return a.a}));var o=n("KNH7");n.d(t,"Button",(function(){return o.a})),r.a.Button=o.a,r.a.Group=a.a,t.default=r.a},BMrR:function(e,t,n){"use strict";n.r(t);var r=n("qrJ5");t.default=r.a},CF58:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("1WFl"),n("8QGh"),n("K4yd")},F4Vz:function(e,t,n){"use strict";n.d(t,"c",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("17x9"),s=n.n(i),f=n("u7YQ");function p(){}var d={className:s.a.string,locale:s.a.object,style:s.a.object,visible:s.a.bool,onSelect:s.a.func,prefixCls:s.a.string,onChange:s.a.func,onOk:s.a.func},h={locale:f.a,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:p,onChange:p,onClear:p,renderFooter:function(){return null},renderSidebar:function(){return null}},y=function(e){var t,n;return n=t=function(e){function t(){var n,r,o;a()(this,t);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return n=r=l()(this,e.call.apply(e,[this].concat(u))),r.getFormat=function(){var e=r.props.format,t=r.props,n=t.locale,a=t.timePicker;return e||(e=a?n.dateTimeFormat:n.dateFormat),e},r.focus=function(){r.focusElement?r.focusElement.focus():r.rootInstance&&r.rootInstance.focus()},r.saveFocusElement=function(e){r.focusElement=e},r.saveRoot=function(e){r.rootInstance=e},o=n,l()(r,o)}return u()(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.visible||e.visible},t}(e),t.displayName="CommonMixinWrapper",t.defaultProps=e.defaultProps,t.getDerivedStateFromProps=e.getDerivedStateFromProps,n}},GrtH:function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return i})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return p})),n.d(t,"c",(function(){return d})),n.d(t,"g",(function(){return h})),n.d(t,"a",(function(){return y}));var r=n("QbLZ"),a=n.n(r),o=n("wd/R"),l=n.n(o),c={disabledHours:function(){return[]},disabledMinutes:function(){return[]},disabledSeconds:function(){return[]}};function u(e){var t=l()();return t.locale(e.locale()).utcOffset(e.utcOffset()),t}function i(e){return e.format("LL")}function s(e){return i(u(e))}function f(e){var t=e.locale();return e.localeData()["zh-cn"===t?"months":"monthsShort"](e)}function p(e,t){l.a.isMoment(e)&&l.a.isMoment(t)&&(t.hour(e.hour()),t.minute(e.minute()),t.second(e.second()),t.millisecond(e.millisecond()))}function d(e,t){var n=t?t(e):{};return n=a()({},c,n)}function h(e,t,n){return(!t||!t(e))&&!(n&&!function(e,t){return function(e,t){var n=!1;if(e){var r=e.hour(),a=e.minute(),o=e.second();if(-1===t.disabledHours().indexOf(r))if(-1===t.disabledMinutes(r).indexOf(a))n=-1!==t.disabledSeconds(r,a).indexOf(o);else n=!0;else n=!0}return!n}(e,d(e,t))}(e,n))}function y(e,t){return e?(Array.isArray(t)&&(t=t[0]),e.format(t)):""}},JBPa:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n.n(r),o=n("17x9"),l=n.n(o),c=n("wd/R"),u=n.n(c),i=n("QbLZ"),s=n.n(i),f=n("iCc5"),p=n.n(f),d=n("FYw3"),h=n.n(d),y=n("mRg0"),m=n.n(y),v=n("VCL8"),b=n("fDcq"),g=n("01ui"),C=n("jBZG"),S=n("F4Vz"),O=n("GrtH");function w(){}var E=function(e){function t(){return p()(this,t),h()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.onYearChange=function(e){var t=this.props.value.clone();t.year(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.onMonthChange=function(e){var t=this.props.value.clone();t.month(parseInt(e,10)),this.props.onValueChange(t)},t.prototype.yearSelectElement=function(e){for(var t=this.props,n=t.yearSelectOffset,r=t.yearSelectTotal,o=t.prefixCls,l=t.Select,c=e-n,u=c+r,i=[],s=c;s<u;s++)i.push(a.a.createElement(l.Option,{key:""+s},s));return a.a.createElement(l,{className:o+"-header-year-select",onChange:this.onYearChange.bind(this),dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1},i)},t.prototype.monthSelectElement=function(e){for(var t=this.props,n=t.value.clone(),r=t.prefixCls,o=[],l=t.Select,c=0;c<12;c++)n.month(c),o.push(a.a.createElement(l.Option,{key:""+c},Object(O.b)(n)));return a.a.createElement(l,{className:r+"-header-month-select",dropdownStyle:{zIndex:2e3},dropdownMenuStyle:{maxHeight:250,overflow:"auto",overflowX:"hidden",fontSize:12},optionLabelProp:"children",value:String(e),showSearch:!1,onChange:this.onMonthChange.bind(this)},o)},t.prototype.changeTypeToDate=function(){this.props.onTypeChange("date")},t.prototype.changeTypeToMonth=function(){this.props.onTypeChange("month")},t.prototype.render=function(){var e=this.props,t=e.value,n=e.locale,r=e.prefixCls,o=e.type,l=e.showTypeSwitch,c=e.headerComponents,u=t.year(),i=t.month(),s=this.yearSelectElement(u),f="month"===o?null:this.monthSelectElement(i),p=r+"-header-switcher",d=l?a.a.createElement("span",{className:p},"date"===o?a.a.createElement("span",{className:p+"-focus"},n.month):a.a.createElement("span",{onClick:this.changeTypeToDate.bind(this),className:p+"-normal"},n.month),"month"===o?a.a.createElement("span",{className:p+"-focus"},n.year):a.a.createElement("span",{onClick:this.changeTypeToMonth.bind(this),className:p+"-normal"},n.year)):null;return a.a.createElement("div",{className:r+"-header"},d,f,s,c)},t}(r.Component);E.propTypes={value:l.a.object,locale:l.a.object,yearSelectOffset:l.a.number,yearSelectTotal:l.a.number,onValueChange:l.a.func,onTypeChange:l.a.func,Select:l.a.func,prefixCls:l.a.string,type:l.a.string,showTypeSwitch:l.a.bool,headerComponents:l.a.array},E.defaultProps={yearSelectOffset:10,yearSelectTotal:20,onValueChange:w,onTypeChange:w};var x=E,j=function(e){function t(n){p()(this,t);var r=h()(this,e.call(this,n));R.call(r);var a=void 0;return a="type"in n?n.type:n.defaultType,r.state={type:a,value:n.value||n.defaultValue||u()(),selectedValue:n.selectedValue||n.defaultSelectedValue},r}return m()(t,e),t.getDerivedStateFromProps=function(e,t){var n={},r=e.value,a=e.selectedValue;return"type"in e&&(n={type:e.type}),"value"in e&&(n.value=r||e.defaultValue||Object(C.d)(t.value)),"selectedValue"in e&&(n.selectedValue=a),n},t.prototype.render=function(){var e=this.props,t=e.locale,n=e.prefixCls,r=e.fullscreen,o=e.showHeader,l=e.headerComponent,c=e.headerRender,u=e.disabledDate,i=this.state,f=i.value,p=i.type,d=null;if(o)if(c)d=c(f,p,t);else{var h=l||x;d=a.a.createElement(h,s()({key:"calendar-header"},e,{prefixCls:n+"-full",type:p,value:f,onTypeChange:this.setType,onValueChange:this.setValue}))}var y="date"===p?a.a.createElement(b.a,{dateRender:e.dateCellRender,contentRender:e.dateCellContentRender,locale:t,prefixCls:n,onSelect:this.onSelect,value:f,disabledDate:u}):a.a.createElement(g.a,{cellRender:e.monthCellRender,contentRender:e.monthCellContentRender,locale:t,onSelect:this.onMonthSelect,prefixCls:n+"-month-panel",value:f,disabledDate:u}),m=[d,a.a.createElement("div",{key:"calendar-body",className:n+"-calendar-body"},y)],v=[n+"-full"];return r&&v.push(n+"-fullscreen"),this.renderRoot({children:m,className:v.join(" ")})},t}(a.a.Component);j.propTypes=s()({},C.b,S.c,{defaultType:l.a.string,type:l.a.string,prefixCls:l.a.string,locale:l.a.object,onTypeChange:l.a.func,fullscreen:l.a.bool,monthCellRender:l.a.func,dateCellRender:l.a.func,showTypeSwitch:l.a.bool,Select:l.a.func.isRequired,headerComponents:l.a.array,headerComponent:l.a.object,headerRender:l.a.func,showHeader:l.a.bool,disabledDate:l.a.func,value:l.a.object,defaultValue:l.a.object,selectedValue:l.a.object,defaultSelectedValue:l.a.object}),j.defaultProps=s()({},C.a,S.b,{defaultType:"date",fullscreen:!1,showTypeSwitch:!0,showHeader:!0,onTypeChange:function(){}});var R=function(){var e=this;this.onMonthSelect=function(t){e.onSelect(t,{target:"month"})},this.setType=function(t){"type"in e.props||e.setState({type:t}),e.props.onTypeChange(t)}};Object(v.polyfill)(j);var P=Object(C.c)(Object(S.a)(j)),k=n("2fM7"),N=n("SiX+"),T=n("KNH7"),D=n("H84U");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 _(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return M(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(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 M(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 F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==V(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(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=k.default.Option;function B(e){for(var t=e.clone(),n=e.localeData(),r=[],a=0;a<12;a++)t.month(a),r.push(n.monthsShort(t));return r}var 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&&H(e,t)}(c,e);var t,n,a,o,l=(t=c,function(){var e,n=A(t);if(G()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Y(this,e)});function c(){var e;return F(this,c),(e=l.apply(this,arguments)).onYearChange=function(t){var n=e.props,r=n.value,a=n.validRange,o=r.clone();if(o.year(parseInt(t,10)),a){var l=_(a,2),c=l[0],u=l[1],i=o.get("year"),s=o.get("month");i===u.get("year")&&s>u.get("month")&&o.month(u.get("month")),i===c.get("year")&&s<c.get("month")&&o.month(c.get("month"))}var f=e.props.onValueChange;f&&f(o)},e.onMonthChange=function(t){var n=e.props.value.clone();n.month(parseInt(t,10));var r=e.props.onValueChange;r&&r(n)},e.onInternalTypeChange=function(t){e.onTypeChange(t.target.value)},e.onTypeChange=function(t){var n=e.props.onTypeChange;n&&n(t)},e.getCalenderHeaderNode=function(t){e.calenderHeaderNode=t},e.getMonthYearSelections=function(t){var n=e.props,r=n.prefixCls,a=n.type,o=n.value,l=t("fullcalendar",r);return{yearReactNode:e.getYearSelectElement(l,o.year()),monthReactNode:"month"===a?e.getMonthSelectElement(l,o.month(),B(o)):null}},e.getTypeSwitch=function(){var t=e.props,n=t.locale,a=void 0===n?{}:n,o=t.type,l=t.fullscreen?"default":"small";return r.createElement(N.a,{onChange:e.onInternalTypeChange,value:o,size:l},r.createElement(T.a,{value:"month"},a.month),r.createElement(T.a,{value:"year"},a.year))},e.headerRenderCustom=function(t){var n=e.props,r=n.type,a=n.onValueChange;return t({value:n.value,type:r||"month",onChange:a,onTypeChange:e.onTypeChange})},e.renderHeader=function(t){var n=t.getPrefixCls,a=e.props,o=a.prefixCls,l=a.headerRender,c=e.getTypeSwitch(),u=e.getMonthYearSelections(n),i=u.yearReactNode,s=u.monthReactNode;return l?e.headerRenderCustom(l):r.createElement("div",{className:"".concat(o,"-header"),ref:e.getCalenderHeaderNode},i,s,c)},e}return n=c,(a=[{key:"getYearSelectElement",value:function(e,t){var n=this,a=this.props,o=a.yearSelectOffset,l=a.yearSelectTotal,c=a.locale,u=void 0===c?{}:c,i=a.fullscreen,s=a.validRange,f=t-o,p=f+l;s&&(f=s[0].get("year"),p=s[1].get("year")+1);for(var d="年"===u.year?"年":"",h=[],y=f;y<p;y++)h.push(r.createElement(q,{key:"".concat(y)},y+d));return r.createElement(k.default,{size:i?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-year-select"),onChange:this.onYearChange,value:String(t),getPopupContainer:function(){return n.calenderHeaderNode}},h)}},{key:"getMonthSelectElement",value:function(e,t,n){var a=this,o=this.props,l=o.fullscreen,c=o.validRange,u=o.value,i=[],s=0,f=12;if(c){var p=_(c,2),d=p[0],h=p[1],y=u.get("year");h.get("year")===y&&(f=h.get("month")+1),d.get("year")===y&&(s=d.get("month"))}for(var m=s;m<f;m++)i.push(r.createElement(q,{key:"".concat(m)},n[m]));return r.createElement(k.default,{size:l?"default":"small",dropdownMatchSelectWidth:!1,className:"".concat(e,"-month-select"),value:String(t),onChange:this.onMonthChange,getPopupContainer:function(){return a.calenderHeaderNode}},i)}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderHeader)}}])&&I(n.prototype,a),o&&I(n,o),c}(r.Component);L.defaultProps={yearSelectOffset:10,yearSelectTotal:20};var z=n("3x3+"),W=n("YMnH"),Q=n("veqR");function K(e){return(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})(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 Z(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,a=!1,o=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(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 J(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 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 $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e,t){return!t||"object"!==K(t)&&"function"!=typeof t?te(e):t}function te(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ne(){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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ae(){return null}var 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&&$(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=re(t);if(ne()){var r=re(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return ee(this,e)});function u(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=l.call(this,e)).onHeaderValueChange=function(e){t.setValue(e,"changePanel")},t.onHeaderTypeChange=function(e){t.setState({mode:e}),t.onPanelChange(t.state.value,e)},t.onSelect=function(e){t.setValue(e,"select")},t.setValue=function(e,n){var r=t.props.value||t.state.value,a=t.state.mode;"value"in t.props||t.setState({value:e}),"select"===n?(r&&r.month()!==e.month()&&t.onPanelChange(e,a),t.props.onSelect&&t.props.onSelect(e)):"changePanel"===n&&t.onPanelChange(e,a)},t.getDateRange=function(e,t){return function(n){if(!n)return!1;var r=Z(e,2),a=r[0],o=r[1],l=!n.isBetween(a,o,"days","[]");return t&&t(n)||l}},t.getDefaultLocale=function(){var e=U(U({},z.a),t.props.locale);return e.lang=U(U({},e.lang),(t.props.locale||{}).lang),e},t.monthCellRender=function(e){var n=t.props.monthCellRender,a=void 0===n?ae:n,o=te(t).prefixCls;return r.createElement("div",{className:"".concat(o,"-month")},r.createElement("div",{className:"".concat(o,"-value")},e.localeData().monthsShort(e)),r.createElement("div",{className:"".concat(o,"-content")},a(e)))},t.dateCellRender=function(e){var n,a=t.props.dateCellRender,o=void 0===a?ae:a,l=te(t).prefixCls;return r.createElement("div",{className:"".concat(l,"-date")},r.createElement("div",{className:"".concat(l,"-value")},(n=e.date())<10?"0".concat(n):"".concat(n)),r.createElement("div",{className:"".concat(l,"-content")},o(e)))},t.renderCalendar=function(e,n){var a=te(t),o=a.state,l=a.props,c=o.value,u=o.mode;c&&n&&c.locale(n);var i=l.prefixCls,s=l.style,f=l.className,p=l.fullscreen,d=l.headerRender,h=l.dateFullCellRender,y=l.monthFullCellRender||t.monthCellRender,m=h||t.dateCellRender,v=l.disabledDate;return l.validRange&&(v=t.getDateRange(l.validRange,v)),r.createElement(D.a,null,(function(n){var a=(0,n.getPrefixCls)("fullcalendar",i);t.prefixCls=a;var o=f||"";return p&&(o+=" ".concat(a,"-fullscreen")),r.createElement("div",{className:o,style:s},r.createElement(L,{fullscreen:p,type:u,headerRender:d,value:c,locale:e.lang,prefixCls:a,onTypeChange:t.onHeaderTypeChange,onValueChange:t.onHeaderValueChange,validRange:l.validRange}),r.createElement(P,U({},l,{disabledDate:v,Select:ae,locale:e.lang,type:"year"===u?"month":"date",prefixCls:a,showHeader:!1,value:c,monthCellRender:y,dateCellRender:m,onSelect:t.onSelect})))}))};var n=e.value||e.defaultValue||Object(Q.a)(c)();if(!Object(Q.a)(c).isMoment(n))throw new Error("The value/defaultValue of Calendar must be a moment object after `antd@2.0`, see: https://u.ant.design/calendar-value");return t.state={value:n,mode:e.mode||"month"},t}return n=u,o=[{key:"getDerivedStateFromProps",value:function(e){var t={};return"value"in e&&(t.value=e.value),"mode"in e&&(t.mode=e.mode),Object.keys(t).length>0?t:null}}],(a=[{key:"onPanelChange",value:function(e,t){var n=this.props,r=n.onPanelChange,a=n.onChange;r&&r(e,t),a&&e!==this.state.value&&a(e)}},{key:"render",value:function(){return r.createElement(W.a,{componentName:"Calendar",defaultLocale:this.getDefaultLocale},this.renderCalendar)}}])&&X(n.prototype,a),o&&X(n,o),u}(r.Component);oe.defaultProps={locale:{},fullscreen:!0,onSelect:ae,onPanelChange:ae,onChange:ae},oe.propTypes={monthCellRender:o.func,dateCellRender:o.func,monthFullCellRender:o.func,dateFullCellRender:o.func,fullscreen:o.bool,locale:o.object,prefixCls:o.string,className:o.string,style:o.object,onPanelChange:o.func,value:o.object,onSelect:o.func,onChange:o.func,headerRender:o.func},Object(v.polyfill)(oe);t.default=oe},Jmwx:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("q1tI"),a=n("17x9"),o=n("oOh1"),l=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(v,e);var t,n,a,c,m=(t=v,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=m.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,c=y(a,["prefixCls"]),i=n("radio-button",l);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(o.a,u({prefixCls:i},c))},e}return n=v,(a=[{key:"render",value:function(){return r.createElement(l.a,null,this.renderRadioButton)}}])&&s(n.prototype,a),c&&s(n,c),v}(r.Component);m.contextTypes={radioGroup:a.any}},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,h=e.className,y=e.children,m=e.dashed,v=i(e,["prefixCls","type","orientation","className","children","dashed"]),b=a("divider",l),g=d.length>0?"-".concat(d):d,C=o()(h,b,"".concat(b,"-").concat(f),(u(n={},"".concat(b,"-with-text").concat(g),y),u(n,"".concat(b,"-dashed"),!!m),n));return r.createElement("div",c({className:C},v,{role:"separator"}),y&&r.createElement("span",{className:"".concat(b,"-inner-text")},y))}))}},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),a=n("17x9"),o=n("TSYQ"),l=n.n(o),c=n("Gytx"),u=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}var C=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)}(i,e);var t,n,a,o,c=(t=i,function(){var e,n=b(t);if(v()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var a=t.props.onChange;a&&r!==n&&a(e)},t.renderGroup=function(e){var n=e.getPrefixCls,a=m(t).props,o=a.prefixCls,c=a.className,u=void 0===c?"":c,i=a.options,f=a.buttonStyle,p=n("radio",o),d="".concat(p,"-group"),h=l()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(a.size),a.size),u),y=a.children;return i&&i.length>0&&(y=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:a.style,onMouseEnter:a.onMouseEnter,onMouseLeave:a.onMouseLeave,id:a.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var a=g(e.children);n=a&&a.value}return t.state={value:n},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(a=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!u()(this.props,e)||!u()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,a),o&&d(n,o),i}(r.Component);C.defaultProps={buttonStyle:"outline"},C.childContextTypes={radioGroup:a.any},Object(i.polyfill)(C),t.a=C},fDcq:function(e,t,n){"use strict";var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=6,p=7,d=n("wd/R"),h=n.n(d),y=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){for(var e=this.props,t=e.value.localeData(),n=e.prefixCls,r=[],a=[],o=t.firstDayOfWeek(),l=void 0,c=h()(),u=0;u<p;u++){var i=(o+u)%p;c.day(i),r[u]=t.weekdaysMin(c),a[u]=t.weekdaysShort(c)}e.showWeekNumber&&(l=s.a.createElement("th",{role:"columnheader",className:n+"-column-header "+n+"-week-number-header"},s.a.createElement("span",{className:n+"-column-header-inner"},"x")));var f=a.map((function(e,t){return s.a.createElement("th",{key:t,role:"columnheader",title:e,className:n+"-column-header"},s.a.createElement("span",{className:n+"-column-header-inner"},r[t]))}));return s.a.createElement("thead",null,s.a.createElement("tr",{role:"row"},l,f))},t}(s.a.Component),m=n("17x9"),v=n.n(m),b=n("TSYQ"),g=n.n(b),C=n("GrtH");function S(e,t){return e&&t&&e.isSame(t,"day")}function O(e,t){return e.year()<t.year()?1:e.year()===t.year()&&e.month()<t.month()}function w(e,t){return e.year()>t.year()?1:e.year()===t.year()&&e.month()>t.month()}var E=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.contentRender,n=e.prefixCls,r=e.selectedValue,a=e.value,o=e.showWeekNumber,l=e.dateRender,c=e.disabledDate,u=e.hoverValue,i=void 0,d=void 0,h=void 0,y=[],m=Object(C.e)(a),v=n+"-cell",b=n+"-week-number-cell",E=n+"-date",x=n+"-today",j=n+"-selected-day",R=n+"-selected-date",P=n+"-selected-start-date",k=n+"-selected-end-date",N=n+"-in-range-cell",T=n+"-last-month-cell",D=n+"-next-month-btn-day",V=n+"-disabled-cell",_=n+"-disabled-cell-first-of-row",M=n+"-disabled-cell-last-of-row",F=n+"-last-day-of-month",I=a.clone();I.date(1);var H=(I.day()+7-a.localeData().firstDayOfWeek())%7,Y=I.clone();Y.add(0-H,"days");var G=0;for(i=0;i<f;i++)for(d=0;d<p;d++)h=Y,G&&(h=h.clone()).add(G,"days"),y.push(h),G++;var A,q=[];for(G=0,i=0;i<f;i++){var B,L=void 0,z=void 0,W=!1,Q=[];for(o&&(z=s.a.createElement("td",{key:y[G].week(),role:"gridcell",className:b},y[G].week())),d=0;d<p;d++){var K=null,U=null;h=y[G],d<p-1&&(K=y[G+1]),d>0&&(U=y[G-1]);var Z=v,J=!1,X=!1;S(h,m)&&(Z+=" "+x,L=!0);var $=O(h,a),ee=w(h,a);if(r&&Array.isArray(r)){var te=u.length?u:r;if(!$&&!ee){var ne=te[0],re=te[1];ne&&S(h,ne)&&(X=!0,W=!0,Z+=" "+P),(ne||re)&&(S(h,re)?(X=!0,W=!0,Z+=" "+k):(null==ne&&h.isBefore(re,"day")||null==re&&h.isAfter(ne,"day")||h.isAfter(ne,"day")&&h.isBefore(re,"day"))&&(Z+=" "+N))}}else S(h,a)&&(X=!0,W=!0);S(h,r)&&(Z+=" "+R),$&&(Z+=" "+T),ee&&(Z+=" "+D),h.clone().endOf("month").date()===h.date()&&(Z+=" "+F),c&&c(h,a)&&(J=!0,U&&c(U,a)||(Z+=" "+_),K&&c(K,a)||(Z+=" "+M)),X&&(Z+=" "+j),J&&(Z+=" "+V);var ae=void 0;if(l)ae=l(h,a);else{var oe=t?t(h,a):h.date();ae=s.a.createElement("div",{key:(A=h,"rc-calendar-"+A.year()+"-"+A.month()+"-"+A.date()),className:E,"aria-selected":X,"aria-disabled":J},oe)}Q.push(s.a.createElement("td",{key:G,onClick:J?void 0:e.onSelect.bind(null,h),onMouseEnter:J?void 0:e.onDayHover&&e.onDayHover.bind(null,h)||void 0,role:"gridcell",title:Object(C.d)(h),className:Z},ae)),G++}q.push(s.a.createElement("tr",{key:i,role:"row",className:g()((B={},B[n+"-current-week"]=L,B[n+"-active-week"]=W,B))},z,Q))}return s.a.createElement("tbody",{className:n+"-tbody"},q)},t}(s.a.Component);E.propTypes={contentRender:v.a.func,dateRender:v.a.func,disabledDate:v.a.func,prefixCls:v.a.string,selectedValue:v.a.oneOfType([v.a.object,v.a.arrayOf(v.a.object)]),value:v.a.object,hoverValue:v.a.any,showWeekNumber:v.a.bool},E.defaultProps={hoverValue:[]};var x=E,j=function(e){function t(){return a()(this,t),l()(this,e.apply(this,arguments))}return u()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls;return s.a.createElement("table",{className:t+"-table",cellSpacing:"0",role:"grid"},s.a.createElement(y,e),s.a.createElement(x,e))},t}(s.a.Component);t.a=j},jBZG:function(e,t,n){"use strict";n.d(t,"d",(function(){return b})),n.d(t,"b",(function(){return g})),n.d(t,"a",(function(){return C})),n.d(t,"c",(function(){return S}));var r=n("iCc5"),a=n.n(r),o=n("FYw3"),l=n.n(o),c=n("mRg0"),u=n.n(c),i=n("q1tI"),s=n.n(i),f=n("17x9"),p=n.n(f),d=n("TSYQ"),h=n.n(d),y=n("wd/R"),m=n.n(y),v=n("GrtH");function b(e){return e?Object(v.e)(e):m()()}var g={value:p.a.object,defaultValue:p.a.object,onKeyDown:p.a.func},C={onKeyDown:function(){}},S=function(e){var t,n;return n=t=function(t){function n(){var e,r,o;a()(this,n);for(var c=arguments.length,u=Array(c),i=0;i<c;i++)u[i]=arguments[i];return e=r=l()(this,t.call.apply(t,[this].concat(u))),r.onSelect=function(e,t){e&&r.setValue(e),r.setSelectedValue(e,t)},r.renderRoot=function(e){var t,n=r.props,a=n.prefixCls,o=((t={})[a]=1,t[a+"-hidden"]=!n.visible,t[n.className]=!!n.className,t[e.className]=!!e.className,t);return s.a.createElement("div",{ref:r.saveRoot,className:""+h()(o),style:r.props.style,tabIndex:"0",onKeyDown:r.onKeyDown,onBlur:r.onBlur},e.children)},r.setSelectedValue=function(e,t){"selectedValue"in r.props||r.setState({selectedValue:e}),r.props.onSelect&&r.props.onSelect(e,t)},r.setValue=function(e){var t=r.state.value;"value"in r.props||r.setState({value:e}),(t&&e&&!t.isSame(e)||!t&&e||t&&!e)&&r.props.onChange(e)},r.isAllowedDate=function(e){var t=r.props.disabledDate,n=r.props.disabledTime;return Object(v.g)(e,t,n)},o=e,l()(r,o)}return u()(n,t),n.getDerivedStateFromProps=function(t,n){if(e.getDerivedStateFromProps)return e.getDerivedStateFromProps(t,n);var r=t.value,a=t.selectedValue,o={};return"value"in t&&(o.value=r||t.defaultValue||b(n.value)),"selectedValue"in t&&(o.selectedValue=a),o},n}(e),t.displayName="CalendarMixinWrapper",t.defaultProps=e.defaultProps,n}},kPKH:function(e,t,n){"use strict";n.r(t);var r=n("/kpp");t.default=r.a},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("q1tI"),a=n("17x9"),o=n("x1Ya"),l=n("TSYQ"),c=n.n(l),u=n("Gytx"),i=n.n(u),s=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(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(){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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){return!t||"object"!==f(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 g(){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 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},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,a,l,u=(t=f,function(){var e,n=C(t);if(g()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return h(this,f),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,a=t.getPrefixCls,l=b(e),u=l.props,i=l.context,s=u.prefixCls,f=u.className,h=u.children,y=u.style,m=S(u,["prefixCls","className","children","style"]),v=i.radioGroup,g=a("radio",s),C=d({},m);v&&(C.name=v.name,C.onChange=e.onChange,C.checked=u.value===v.value,C.disabled=u.disabled||v.disabled);var O=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),C.checked),p(n,"".concat(g,"-wrapper-disabled"),C.disabled),n));return r.createElement("label",{className:O,style:y,onMouseEnter:u.onMouseEnter,onMouseLeave:u.onMouseLeave},r.createElement(o.a,d({},C,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=f,(a=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&y(n.prototype,a),l&&y(n,l),f}(r.Component);O.defaultProps={type:"radio"},O.contextTypes={radioGroup:a.any}},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},"rO+z":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("4t1q")},s4sY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),a=b(n("JBPa")),o=b(n("BMrR")),l=b(n("kPKH")),c=b(n("2fM7")),u=b(n("Vl3Y")),i=b(n("PArb")),s=b(n("9yH6")),f=b(n("5rEg")),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},d=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("CF58"),n("Jmwx"),n("rO+z"),n("8QGh"),n("tULf"),n("qNb/"),n("K4yd"),n("1vPl");var h=n("q1tI"),y=b(h),m=b(n("vDqi")),v=b(n("wd/R"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var g=f.default.TextArea,C=s.default.Group,S=s.default.Button,O=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.checkIfLogin()&&n.props.history.push("/403")},n.onPanelChange=function(e,t){n.setState({value:e})},n.onSelect=function(e){n.setState({value:e,selectedValue:e})},n.submit=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.owner,l="/"+o+"/"+a+"/milestones.json",c=void 0;n.state.selectedValue&&(c=n.state.selectedValue.format("YYYY-MM-DD")),m.default.post(l,p({},t,{project_id:a,effective_date:c,status:"open"})).then((function(e){e&&(n.setState({isSpin:!1}),n.props.history.push("/projects/"+o+"/"+a+"/milestones"))})).catch((function(e){n.setState({isSpin:!1})}))}}))},n.cleartime=function(){n.setState({selectedValue:void 0})},n.state={data:void 0,value:(0,v.default)("2017-01-25"),selectedValue: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),d(t,[{key:"render",value:function(){var e=this.props.form.getFieldDecorator,t=this.state.isSpin;return y.default.createElement("div",{className:"main"},y.default.createElement(u.default,null,y.default.createElement("div",{style:{marginLeft:15,marginTop:24}},y.default.createElement("h1",null,"新的里程碑"),y.default.createElement("h5",{className:"mt-5 color-grey-9"},"里程碑可以组织任务和合并请求,并跟踪进度.")),y.default.createElement(i.default,null),y.default.createElement("div",{style:{display:"flex"}},y.default.createElement("div",{className:"newmilepostleft"},"标题",y.default.createElement("div",null,y.default.createElement(u.default.Item,null,e("name",{rules:[{required:!0,message:"请输入标题"}]})(y.default.createElement(f.default,{placeholder:"标题",autoComplete:"off"})))),"描述",y.default.createElement(u.default.Item,null,e("description",{rules:[{required:!0,message:"请输入描述内容"}]})(y.default.createElement(g,{placeholder:"请输入描述内容...",style:{height:"150px"}})))),y.default.createElement("div",{className:"newmilepostrighe"},y.default.createElement("a",{style:{color:"black"}},"截止日期(可选)")," ",y.default.createElement("a",{style:{color:"red"},onClick:this.cleartime},"清除"),y.default.createElement("div",null,y.default.createElement(f.default,{style:{width:"120px"},value:this.state.selectedValue&&this.state.selectedValue.format("YYYY-MM-DD")})),y.default.createElement("div",{style:{width:300,border:"1px solid #d9d9d9",borderRadius:4,marginTop:25}},y.default.createElement(a.default,{fullscreen:!1,headerRender:function(e){for(var t=e.value,n=e.type,r=e.onChange,a=e.onTypeChange,u=[],i=t.clone(),s=t.localeData(),f=[],p=0;p<12;p++)i.month(p),f.push(s.monthsShort(i));for(var d=0;d<12;d++)u.push(y.default.createElement(c.default.Option,{className:"month-item",key:""+d},f[d]));for(var h=t.month(),m=t.year(),v=[],b=m-10;b<m+10;b+=1)v.push(y.default.createElement(c.default.Option,{key:b,value:b,className:"year-item"},b));return y.default.createElement("div",{style:{padding:10}},y.default.createElement(o.default,{type:"flex",justify:"space-between"},y.default.createElement(l.default,null,y.default.createElement(C,{size:"small",onChange:function(e){return a(e.target.value)},value:n},y.default.createElement(S,{value:"month"},"日期"),y.default.createElement(S,{value:"year"},"月份"))),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,className:"my-year-select",style:{width:80},onChange:function(e){var n=t.clone().year(e);r(n)},value:String(m)},v)),y.default.createElement(l.default,null,y.default.createElement(c.default,{size:"small",dropdownMatchSelectWidth:!1,value:String(h),onChange:function(e){var n=t.clone();n.month(parseInt(e,10)),r(n)}},u))))},onPanelChange:this.onPanelChange,onSelect:this.onSelect})))),y.default.createElement(i.default,null),y.default.createElement("div",{className:"clearfix mt15",onClick:this.submit},y.default.createElement(r.default,{spinning:t},y.default.createElement("a",{className:"topWrapper_btn fr"},"创建里程碑")))))}}]),t}(h.Component),w=u.default.create({name:"NewMilepostFrom"})(O);t.default=w},txnC:function(e,t,n){},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),u=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),h=n.n(d),y=n("17x9"),m=n.n(y),v=n("TSYQ"),b=n.n(v),g=n("VCL8"),C=function(e){function t(n){u()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,u=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,m=t.onBlur,v=t.autoFocus,g=t.value,C=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),S=Object.keys(C).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=C[t]),e}),{}),O=this.state.checked,w=b()(n,r,((e={})[n+"-checked"]=O,e[n+"-disabled"]=s,e));return h.a.createElement("span",{className:w,style:o},h.a.createElement("input",l()({name:c,id:u,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!O,onClick:d,onFocus:y,onBlur:m,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},S)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);C.propTypes={prefixCls:m.a.string,className:m.a.string,style:m.a.object,name:m.a.string,id:m.a.string,type:m.a.string,defaultChecked:m.a.oneOfType([m.a.number,m.a.bool]),checked:m.a.oneOfType([m.a.number,m.a.bool]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,onChange:m.a.func,onClick:m.a.func,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),readOnly:m.a.bool,autoFocus:m.a.bool,value:m.a.any},C.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(C);var S=C;t.a=S}}]); \ No newline at end of file diff --git a/static/js/36.7e08bbd6.chunk.js b/static/js/37.8a8a58c9.chunk.js similarity index 99% rename from static/js/36.7e08bbd6.chunk.js rename to static/js/37.8a8a58c9.chunk.js index a947d3530..61773af47 100644 --- a/static/js/36.7e08bbd6.chunk.js +++ b/static/js/37.8a8a58c9.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[36,77],{"+QRC":function(e,t,n){"use strict";var r=n("E9nw"),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,l,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return u}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=l(o),a=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function c(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 u=function(e){function t(){return c(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),r(t,[{key:"render",value:function(){var e=this.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},E9nw:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},HdAM:function(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"),c=n("YMnH"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==f(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 h(){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 v(e){return(v=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=v(t);if(h()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},a),s||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(c.a,{componentName:"Popconfirm",defaultLocale:s.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 n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),a&&d(n,a),O}(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},"O+5t":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("HdAM"),n("TfFZ"),n("1vPl")},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},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},fyLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),o=b(n("NUBc")),i=b(n("NJEC")),a=b(n("jsC+")),l=b(n("CtXQ")),c=b(n("BvKs")),s=b(n("wFql")),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("YQTV"),n("k994"),n("aIZi"),n("2oDE"),n("2WkQ"),n("O+5t");var f=n("q1tI"),p=b(f),d=n("eO8H"),y=b(n("2CTR")),m=b(n("vDqi"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var h=s.default.Text,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.componentDidMount=function(){n.getList(1,n.state.status,"desc")},n.getList=function(e,t,r,o){var i=n.props.match.params,a=i.projectsId,l=i.owner,c=n.state.limit,s="/"+l+"/"+a+"/milestones.json";m.default.get(s,{params:{projectsId:a,page:e,limit:c,status:t,order_type:r,order_name:o}}).then((function(e){e&&n.setState({data:e.data,spinings:!1})})).catch((function(e){console.log(e)}))},n.opneMilelist=function(e){var t=n.state.order_name;if(e){var r=n.props.current_user;1===e?(n.setState({status:"open",openselect:r.user_id,closeselect:void 0}),n.getList(1,"open","desc",t)):(n.setState({status:"closed",openselect:void 0,closeselect:r.user_id}),n.getList(1,"closed","desc",t))}},n.updatestatusemile=function(e,t){var r=n.props.match.params,o=r.projectsId,i="/"+r.owner+"/"+o+"/milestones/"+t.id+"/update_status.json",a=n.props.current_user;m.default.post(i,{project_id:o,id:t.id,status:e}).then((function(t){t&&(n.setState({status:e,closeselect:"closed"===e?a.user_id:void 0,openselect:"closed"===e?void 0:a.user_id}),n.getList(1,e,"desc"))})).catch((function(e){console.log(e)}))},n.closemile=function(e){var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/milestones/"+e.id+".json";m.default.delete(o,{data:{project_id:r,id:e.id}}).then((function(e){e&&n.getList(1,n.state.status,"desc")})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e}),n.getList(e)},n.arrayList=function(e){n.setState({order_name:e.key,order_type:e.item.props.value}),n.getList(1,n.state.status,e.item.props.value,e.key)},n.newshow=function(){n.setState({display:"block"})},n.newclose=function(){n.setState({display:"none"})},n.state={data:void 0,limit:15,page:1,order_type:void 0,display:"none",status:"open",openselect:1,closeselect:void 0,order_name:void 0,spinings:!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.state,n=t.data,s=t.limit,u=t.page,f=t.openselect,m=t.closeselect,b=t.spinings,v=this.props.match.params,g=v.projectsId,O=v.owner,E=p.default.createElement(c.default,{onClick:this.arrayList},p.default.createElement(c.default.Item,{key:"created_on",value:"desc"},"到期日从近到远"),p.default.createElement(c.default.Item,{key:"created_on",value:"asc"},"到期日从远到近"),p.default.createElement(c.default.Item,{key:"percent",value:"desc"},"完成度从低到高"),p.default.createElement(c.default.Item,{key:"percent",value:"asc"},"完成度从高到低"),p.default.createElement(c.default.Item,{key:"issues_count",value:"desc"},"任务从多到少"),p.default.createElement(c.default.Item,{key:"issues_count",value:"asc"},"任务从少到多"));return p.default.createElement(r.default,{spinning:b},p.default.createElement("div",{className:"main"},p.default.createElement("div",{style:{display:this.state.display}},p.default.createElement("div",{className:"tagdiv"},p.default.createElement("span",null,"里程碑",n&&n.issue_tags_count,"已创建"))),p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},p.default.createElement("div",{className:"topWrapper_type_infos"},p.default.createElement("li",{className:f?"active":"",onClick:function(){return e.opneMilelist(1)}},n&&n.open_count,"个开启中"),p.default.createElement("li",{className:m?"active":"",onClick:function(){return e.opneMilelist(2)}},n&&n.closed_count,"个已关闭")),p.default.createElement("div",{className:"topWrapper_select"},p.default.createElement("ul",{className:"topWrapper_select mb-0"},p.default.createElement("li",null,p.default.createElement(a.default,{className:"topWrapperSelect",overlay:E,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,"排序",p.default.createElement(l.default,{type:"caret-down",className:"ml5"}))))),n&&n.user_admin_or_member?p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/new",className:"topWrapper_btn"},"新的里程碑"):"")),n&&n.versions&&n.versions.length>0?p.default.createElement("div",{className:"tagList"},0===n.versions.length?p.default.createElement(y.default,null):n.versions.map((function(t,r){return p.default.createElement("div",{style:{display:"block"},key:r},p.default.createElement("div",{className:"milepostdiv"},p.default.createElement("div",{className:"milepostwidth"},p.default.createElement("div",{className:"grid-item width100"},p.default.createElement("i",{className:"iconfont icon-lubiaosignpost3 font-12 mr3"}),p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/"+t.id,className:"font-16"},t.name)))),p.default.createElement("div",{className:"milepostdiv",style:{marginTop:5}},p.default.createElement("div",{className:"milepostrighe"},p.default.createElement("div",{className:"grid-item mr10"},p.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),p.default.createElement("span",{className:t.effective_date?"color-red":"color-grey-c"},t.effective_date||"暂无截止时间")),p.default.createElement("div",{className:"grid-item mr10 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-issue font-14 mr5"}),p.default.createElement("span",null,t.open_issues_count,"个开启")),p.default.createElement("div",{className:"grid-item mr10 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-shanchudiao font-14 mr5"}),p.default.createElement("span",null,t.close_issues_count,"个关闭"))),n&&n.user_admin_or_member?p.default.createElement("div",{className:"milepostleft"},p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}),p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/"+t.id+"/edit",className:"color-grey-9"},"编辑")),p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14 mr5"}),p.default.createElement("a",{onClick:function(){return e.updatestatusemile("closed"===e.state.status?"open":"closed",t)},className:"color-grey-9"},"closed"===e.state.status?"开启":"关闭")),p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-lajitong font-14 mr5"}),p.default.createElement(i.default,{placement:"bottom",title:"是否删除里程碑?",okText:"是",cancelText:"否",onConfirm:function(){return e.closemile(t)}},p.default.createElement("a",{className:"color-grey-9"},"删除")))):""),p.default.createElement("div",{className:"milepostdiv",style:{marginTop:5}},p.default.createElement("div",{className:"textwidth"},p.default.createElement(h,{type:"secondary",ellipsis:{rows:30,expandable:!1,onExpand:Function}},t.description))))}))):p.default.createElement(y.default,{_html:"暂时还没有相关数据!"}),n&&n.versions_count>s?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(o.default,{simple:!0,defaultCurrent:u,total:n&&n.versions_count,pageSize:s,onChange:this.ChangePage})):""))}}]),t}(f.Component);t.default=v},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},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&&s(e,t)}(h,e);var t,n,i,m,b=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return l(this,h),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=h,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&c(n.prototype,i),m&&c(n,m),h}(r.Component);t.a=m},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("i8i4"),c=n.n(l),s=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},m=n("VCL8"),b=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};var h=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,l=e.getPopupContainer,c=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,m=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),h=u;return h||-1===d.indexOf("contextMenu")||(h=["click"]),o.a.createElement(s.a,b({},m,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:c,hideAction:h||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);h.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},h.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=c.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(m.polyfill)(h);var g=h,O=n("H84U"),E=n("6CfX"),C=n("CtXQ"),w=n("CWQg");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 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 S(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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 R(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(w.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(R()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return k(this,e)});function l(){var e;return S(this,l),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(E.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,l=void 0!==a&&a,c=i.focusable,s=void 0===c||c,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:s,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,l=a.prefixCls,c=a.children,s=a.trigger,u=a.disabled,p=a.getPopupContainer,d=i("dropdown",l),y=r.Children.only(c),m=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:u}),b=u?[]:s;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),m)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&P(n.prototype,o),i&&P(n,i),l}(r.Component);D.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 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 I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var n=0;n<t.length;n++){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 L(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 Z(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},X=T.default.Group,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&&W(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=F(t);if(Z()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function l(){var e;return I(this,l),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.type,c=i.disabled,s=i.onClick,u=i.htmlType,p=i.children,d=i.className,y=i.overlay,m=i.trigger,b=i.align,h=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,E=i.href,w=i.icon,x=void 0===w?r.createElement(C.default,{type:"ellipsis"}):w,j=i.title,S=Q(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),P=o("dropdown-button",a),N={align:b,overlay:y,disabled:c,trigger:c?[]:m,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(N.visible=h),r.createElement(X,V({},S,{className:f()(P,d)}),r.createElement(T.default,{type:l,disabled:c,onClick:s,htmlType:u,href:E,title:j},p),r.createElement(D,N,r.createElement(T.default,{type:l},x)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&z(n.prototype,o),i&&z(n,i),l}(r.Component);B.defaultProps={placement:"bottomRight",type:"default"},D.Button=B;t.default=D},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},wFql:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("H84U"),l=n("6CfX");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 s(e,t){"function"==typeof e?e(t):"object"===c(e)&&e&&"current"in e&&(e.current=t)}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(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 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 m(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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)}var v,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,t){var n=e.prefixCls,o=e.component,c=void 0===o?"article":o,u=e.className,f=e["aria-label"],p=e.setContentRef,d=e.children,y=g(e,["prefixCls","component","className","aria-label","setContentRef","children"]),m=t;return p&&(Object(l.a)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),m=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){s(t,e)}))}}(t,p)),r.createElement(a.a,null,(function(e){var t=e.getPrefixCls,o=c,a=t("typography",n);return r.createElement(o,h({className:i()(a,u),"aria-label":f,ref:m},y),d)}))};r.forwardRef?(v=r.forwardRef(O)).displayName="Typography":v=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)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=b(t);if(m()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(){var e;return f(this,l),(e=a.apply(this,arguments)).state={},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O,this.props)}}])&&p(n.prototype,o),i&&p(n,i),l}(r.Component);var E=v,C=n("VCL8"),w=n("Zm9Q"),x=n("m+aA"),j=n("+QRC"),S=n.n(j),P=n("BGR+"),N=n("t23M"),k=n.n(N),R=n("wEI+"),A=n("YMnH"),D=n("gDlH"),T=n("oHiP"),M=n("R3zJ"),V=n("CtXQ"),I=n("3S7+"),z=n("4IlW"),W=n("whJP");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)}function Z(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 Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(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 B(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Q(e,t)}(c,e);var t,n,o,a,l=(t=c,function(){var e,n=H(t);if(B()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return X(this,e)});function c(){var e;return Z(this,c),(e=l.apply(this,arguments)).inComposition=!1,e.state={current:""},e.onChange=function(t){var n=t.target.value;e.setState({current:n.replace(/[\r\n]/g,"")})},e.onCompositionStart=function(){e.inComposition=!0},e.onCompositionEnd=function(){e.inComposition=!1},e.onKeyDown=function(t){var n=t.keyCode;e.inComposition||(e.lastKeyCode=n)},e.onKeyUp=function(t){var n=t.keyCode,r=t.ctrlKey,o=t.altKey,i=t.metaKey,a=t.shiftKey,l=e.props.onCancel;e.lastKeyCode!==n||e.inComposition||r||o||i||a||(n===z.a.ENTER?e.confirmChange():n===z.a.ESC&&l())},e.onBlur=function(){e.confirmChange()},e.confirmChange=function(){var t=e.state.current;(0,e.props.onSave)(t.trim())},e.setTextarea=function(t){e.textarea=t},e}return n=c,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r=e.value,o={prevValue:r};return n!==r&&(o.current=r),o}}],(o=[{key:"componentDidMount",value:function(){if(this.textarea&&this.textarea.resizableTextArea){var e=this.textarea.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}},{key:"render",value:function(){var e=this.state.current,t=this.props,n=t.prefixCls,o=t["aria-label"],a=t.className,l=t.style;return r.createElement("div",{className:i()(n,"".concat(n,"-edit-content"),a),style:l},r.createElement(W.a,{ref:this.setTextarea,value:e,onChange:this.onChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onCompositionStart:this.onCompositionStart,onCompositionEnd:this.onCompositionEnd,onBlur:this.onBlur,"aria-label":o,autoSize:!0}),r.createElement(V.default,{type:"enter",className:"".concat(n,"-edit-content-confirm")}))}}])&&F(n.prototype,o),a&&F(n,a),c}(r.Component);Object(C.polyfill)(_);var q,G=_,Y=n("i8i4"),K={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function U(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}var J=function(e,t,n,o,i){q||((q=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(q));var a,l=window.getComputedStyle(e),c=(a=l,Array.prototype.slice.apply(a).map((function(e){return"".concat(e,": ").concat(a.getPropertyValue(e),";")})).join("")),s=U(l.lineHeight)*(t+1)+U(l.paddingTop)+U(l.paddingBottom);q.setAttribute("style",c),q.style.position="fixed",q.style.left="0",q.style.height="auto",q.style.minHeight="auto",q.style.maxHeight="auto",q.style.top="-999999px",q.style.zIndex="-1000",q.style.textOverflow="clip",q.style.whiteSpace="normal",q.style.webkitLineClamp="none";var u,f,p=(u=Object(w.a)(n),f=[],u.forEach((function(e){var t=f[f.length-1];"string"==typeof e&&"string"==typeof t?f[f.length-1]+=e:f.push(e)})),f);function d(){return q.offsetHeight<s}if(Object(Y.render)(r.createElement("div",{style:K},r.createElement("span",{style:K},p),r.createElement("span",{style:K},o)),q),d())return Object(Y.unmountComponentAtNode)(q),{content:n,text:q.innerHTML,ellipsis:!1};var y=Array.prototype.slice.apply(q.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((function(e){return 8!==e.nodeType})),m=Array.prototype.slice.apply(q.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Object(Y.unmountComponentAtNode)(q);var b=[];q.innerHTML="";var h=document.createElement("span");q.appendChild(h);var v=document.createTextNode(i);function g(e){h.insertBefore(e,v)}function O(e,t){var n=e.nodeType;if(1===n)return g(e),d()?{finished:!1,reactNode:p[t]}:(h.removeChild(e),{finished:!0,reactNode:null});if(3===n){var r=e.textContent||"",o=document.createTextNode(r);return g(o),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.length,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=Math.floor((r+o)/2),l=n.slice(0,a);if(t.textContent=l,r>=o-1)for(var c=o;c>=r;c-=1){var s=n.slice(0,c);if(t.textContent=s,d())return c===n.length?{finished:!1,reactNode:n}:{finished:!0,reactNode:s}}return d()?e(t,n,a,o,a):e(t,n,r,a,i)}(o,r)}return{finished:!1,reactNode:null}}return h.appendChild(v),m.forEach((function(e){q.appendChild(e)})),y.some((function(e,t){var n=O(e,t),r=n.finished,o=n.reactNode;return o&&b.push(o),r})),{content:b,text:q.innerHTML,ellipsis:!0}};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 ee(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(n);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}function ne(e){return(ne="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(){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,t){return!t||"object"!==ne(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(){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 se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=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},fe=Object(M.a)("webkitLineClamp"),pe=Object(M.a)("textOverflow");var 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&&ae(e,t)}(s,e);var t,n,o,a,c=(t=s,function(){var e,n=se(t);if(ce()){var r=se(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return le(this,e)});function s(){var e;return oe(this,s),(e=c.apply(this,arguments)).state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.onExpandClick=function(){var t=e.getEllipsis().onExpand;e.setState({expanded:!0}),t&&t()},e.onEditClick=function(){e.triggerEdit(!0)},e.onEditChange=function(t){var n=e.getEditable().onChange;n&&n(t),e.triggerEdit(!1)},e.onEditCancel=function(){e.triggerEdit(!1)},e.onCopyClick=function(){var t=e.props,n=t.children,r=t.copyable,o=re({},"object"===ne(r)?r:null);void 0===o.text&&(o.text=String(n)),S()(o.text||""),e.setState({copied:!0},(function(){o.onCopy&&o.onCopy(),e.copyId=window.setTimeout((function(){e.setState({copied:!1})}),3e3)}))},e.setContentRef=function(t){e.content=t},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var n=e.getEditable().onStart;t&&n&&n(),e.setState({edit:t},(function(){!t&&e.editIcon&&e.editIcon.focus()}))},e.resizeOnNextFrame=function(){T.a.cancel(e.rafId),e.rafId=Object(T.a)((function(){e.syncEllipsis()}))},e}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){var t=e.children,n=e.editable;return Object(l.a)(!n||"string"==typeof t,"Typography","When `editable` is enabled, the `children` should use string."),{}}}],(o=[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(e){var t=this.props.children,n=this.getEllipsis(),r=this.getEllipsis(e);t===e.children&&n.rows===r.rows||this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),T.a.cancel(this.rafId)}},{key:"getEditable",value:function(e){var t=this.state.edit,n=(e||this.props).editable;return n?re({editing:t},"object"===ne(n)?n:null):{editing:t}}},{key:"getEllipsis",value:function(e){var t=(e||this.props).ellipsis;return t?re({rows:1,expandable:!1},"object"===ne(t)?t:null):{}}},{key:"canUseCSSEllipsis",value:function(){var e=this.state.clientRendered,t=this.props,n=t.editable,r=t.copyable,o=this.getEllipsis(),i=o.rows,a=o.expandable;return!(n||r||a||!e)&&(1===i?pe:fe)}},{key:"syncEllipsis",value:function(){var e=this.state,t=e.ellipsisText,n=e.isEllipsis,r=e.expanded,o=this.getEllipsis().rows,i=this.props.children;if(o&&!(o<0)&&this.content&&!r&&!this.canUseCSSEllipsis()){Object(l.a)(Object(w.a)(i).every((function(e){return"string"==typeof e})),"Typography","`ellipsis` should use string as children only.");var a=J(Object(x.a)(this.content),o,i,this.renderOperations(!0),"..."),c=a.content,s=a.text,u=a.ellipsis;t===s&&n===u||this.setState({ellipsisText:s,ellipsisContent:c,isEllipsis:u})}}},{key:"renderExpand",value:function(e){var t=this.getEllipsis().expandable,n=this.props.prefixCls,o=this.state,i=o.expanded,a=o.isEllipsis;return t&&(e||!i&&a)?r.createElement("a",{key:"expand",className:"".concat(n,"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},this.expandStr):null}},{key:"renderEdit",value:function(){var e=this.props,t=e.editable,n=e.prefixCls;if(t)return r.createElement(I.default,{key:"edit",title:this.editStr},r.createElement(D.a,{ref:this.setEditRef,className:"".concat(n,"-edit"),onClick:this.onEditClick,"aria-label":this.editStr},r.createElement(V.default,{role:"button",type:"edit"})))}},{key:"renderCopy",value:function(){var e=this.state.copied,t=this.props,n=t.copyable,o=t.prefixCls;if(n){var a=e?this.copiedStr:this.copyStr;return r.createElement(I.default,{key:"copy",title:a},r.createElement(D.a,{className:i()("".concat(o,"-copy"),e&&"".concat(o,"-copy-success")),onClick:this.onCopyClick,"aria-label":a},r.createElement(V.default,{role:"button",type:e?"check":"copy"})))}}},{key:"renderEditInput",value:function(){var e=this.props,t=e.children,n=e.prefixCls,o=e.className,i=e.style;return r.createElement(G,{value:"string"==typeof t?t:"",onSave:this.onEditChange,onCancel:this.onEditCancel,prefixCls:n,className:o,style:i})}},{key:"renderOperations",value:function(e){return[this.renderExpand(e),this.renderEdit(),this.renderCopy()].filter((function(e){return e}))}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.ellipsisContent,o=t.isEllipsis,a=t.expanded,l=this.props,c=l.component,s=l.children,u=l.className,f=l.prefixCls,p=l.type,d=l.disabled,y=l.style,m=ue(l,["component","children","className","prefixCls","type","disabled","style"]),b=this.getEllipsis().rows,h=Object(P.a)(m,["prefixCls","editable","copyable","ellipsis","mark","underline","mark","code","delete","underline","strong"].concat(ee(R.configConsumerProps))),v=this.canUseCSSEllipsis(),g=1===b&&v,O=b&&b>1&&v,C=s,w=null;return b&&o&&!a&&!v&&(w=String(s),C=r.createElement("span",{title:String(s),"aria-hidden":"true"},n,"...")),C=function(e,t){var n=e.mark,o=e.code,i=e.underline,a=e.delete,l=e.strong,c=t;function s(e,t){e&&(c=r.createElement(t,{},c))}return s(l,"strong"),s(i,"u"),s(a,"del"),s(o,"code"),s(n,"mark"),c}(this.props,C),r.createElement(A.a,{componentName:"Text"},(function(t){var n,o=t.edit,a=t.copy,l=t.copied,s=t.expand;return e.editStr=o,e.copyStr=a,e.copiedStr=l,e.expandStr=s,r.createElement(k.a,{onResize:e.resizeOnNextFrame,disabled:!b},r.createElement(E,re({className:i()(u,(n={},$(n,"".concat(f,"-").concat(p),p),$(n,"".concat(f,"-disabled"),d),$(n,"".concat(f,"-ellipsis"),b),$(n,"".concat(f,"-ellipsis-single-line"),g),$(n,"".concat(f,"-ellipsis-multiple-line"),O),n)),style:re(re({},y),{WebkitLineClamp:O?b:null}),component:c,ref:e.setContentRef,"aria-label":w},h),C,e.renderOperations()))}))}},{key:"render",value:function(){return this.getEditable().editing?this.renderEditInput():this.renderContent()}}])&&ie(n.prototype,o),a&&ie(n,a),s}(r.Component);de.defaultProps={children:""},Object(C.polyfill)(de);var ye=Object(a.c)({prefixCls:"typography"})(de);function me(){return(me=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 be(e){return(be="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 he=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},ve=function(e){var t=e.ellipsis,n=he(e,["ellipsis"]);return Object(l.a)("object"!==be(t),"Typography.Text","`ellipsis` only supports boolean value."),r.createElement(ye,me({},n,{ellipsis:!!t,component:"span"}))},ge=n("2W6z"),Oe=n.n(ge),Ee=n("CWQg");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)}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},xe=Object(Ee.b)(1,2,3,4),je=function(e){var t,n=e.level,o=void 0===n?1:n,i=we(e,["level"]);return-1!==xe.indexOf(o)?t="h".concat(o):(Oe()(!1,"Title only accept `1 | 2 | 3 | 4` as `level` value."),t="h1"),r.createElement(ye,Ce({},i,{component:t}))};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)}var Pe=function(e){return r.createElement(ye,Se({},e,{component:"div"}))},Ne=E;Ne.Text=ve,Ne.Title=je,Ne.Paragraph=Pe;t.default=Ne}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[37,78],{"+QRC":function(e,t,n){"use strict";var r=n("E9nw"),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,l,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return u}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=l(o),a=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function c(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 u=function(e){function t(){return c(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),r(t,[{key:"render",value:function(){var e=this.props._html;return i.default.createElement("div",{className:"none_panels"},i.default.createElement("div",null,i.default.createElement("img",{src:a.default,alt:""}),i.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},E9nw:function(e,t){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},HdAM:function(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"),c=n("YMnH"),s=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e,t){return!t||"object"!==f(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 h(){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 v(e){return(v=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&&y(e,t)}(O,e);var t,n,o,a,f=(t=O,function(){var e,n=v(t);if(h()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,c=o.title,s=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")},c)),r.createElement("div",{className:"".concat(e,"-buttons")},r.createElement(l.default,p({onClick:t.onCancel,size:"small"},a),s||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(c.a,{componentName:"Popconfirm",defaultLocale:s.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 n=O,a=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),a&&d(n,a),O}(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},"O+5t":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("HdAM"),n("TfFZ"),n("1vPl")},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},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},fyLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n("W9HT")),o=b(n("NUBc")),i=b(n("NJEC")),a=b(n("jsC+")),l=b(n("CtXQ")),c=b(n("BvKs")),s=b(n("wFql")),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("YQTV"),n("k994"),n("aIZi"),n("2oDE"),n("2WkQ"),n("O+5t");var f=n("q1tI"),p=b(f),d=n("eO8H"),y=b(n("2CTR")),m=b(n("vDqi"));function b(e){return e&&e.__esModule?e:{default:e}}n("6JOy");var h=s.default.Text,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.componentDidMount=function(){n.getList(1,n.state.status,"desc")},n.getList=function(e,t,r,o){var i=n.props.match.params,a=i.projectsId,l=i.owner,c=n.state.limit,s="/"+l+"/"+a+"/milestones.json";m.default.get(s,{params:{projectsId:a,page:e,limit:c,status:t,order_type:r,order_name:o}}).then((function(e){e&&n.setState({data:e.data,spinings:!1})})).catch((function(e){console.log(e)}))},n.opneMilelist=function(e){var t=n.state.order_name;if(e){var r=n.props.current_user;1===e?(n.setState({status:"open",openselect:r.user_id,closeselect:void 0}),n.getList(1,"open","desc",t)):(n.setState({status:"closed",openselect:void 0,closeselect:r.user_id}),n.getList(1,"closed","desc",t))}},n.updatestatusemile=function(e,t){var r=n.props.match.params,o=r.projectsId,i="/"+r.owner+"/"+o+"/milestones/"+t.id+"/update_status.json",a=n.props.current_user;m.default.post(i,{project_id:o,id:t.id,status:e}).then((function(t){t&&(n.setState({status:e,closeselect:"closed"===e?a.user_id:void 0,openselect:"closed"===e?void 0:a.user_id}),n.getList(1,e,"desc"))})).catch((function(e){console.log(e)}))},n.closemile=function(e){var t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/milestones/"+e.id+".json";m.default.delete(o,{data:{project_id:r,id:e.id}}).then((function(e){e&&n.getList(1,n.state.status,"desc")})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e}),n.getList(e)},n.arrayList=function(e){n.setState({order_name:e.key,order_type:e.item.props.value}),n.getList(1,n.state.status,e.item.props.value,e.key)},n.newshow=function(){n.setState({display:"block"})},n.newclose=function(){n.setState({display:"none"})},n.state={data:void 0,limit:15,page:1,order_type:void 0,display:"none",status:"open",openselect:1,closeselect:void 0,order_name:void 0,spinings:!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.state,n=t.data,s=t.limit,u=t.page,f=t.openselect,m=t.closeselect,b=t.spinings,v=this.props.match.params,g=v.projectsId,O=v.owner,E=p.default.createElement(c.default,{onClick:this.arrayList},p.default.createElement(c.default.Item,{key:"created_on",value:"desc"},"到期日从近到远"),p.default.createElement(c.default.Item,{key:"created_on",value:"asc"},"到期日从远到近"),p.default.createElement(c.default.Item,{key:"percent",value:"desc"},"完成度从低到高"),p.default.createElement(c.default.Item,{key:"percent",value:"asc"},"完成度从高到低"),p.default.createElement(c.default.Item,{key:"issues_count",value:"desc"},"任务从多到少"),p.default.createElement(c.default.Item,{key:"issues_count",value:"asc"},"任务从少到多"));return p.default.createElement(r.default,{spinning:b},p.default.createElement("div",{className:"main"},p.default.createElement("div",{style:{display:this.state.display}},p.default.createElement("div",{className:"tagdiv"},p.default.createElement("span",null,"里程碑",n&&n.issue_tags_count,"已创建"))),p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},p.default.createElement("div",{className:"topWrapper_type_infos"},p.default.createElement("li",{className:f?"active":"",onClick:function(){return e.opneMilelist(1)}},n&&n.open_count,"个开启中"),p.default.createElement("li",{className:m?"active":"",onClick:function(){return e.opneMilelist(2)}},n&&n.closed_count,"个已关闭")),p.default.createElement("div",{className:"topWrapper_select"},p.default.createElement("ul",{className:"topWrapper_select mb-0"},p.default.createElement("li",null,p.default.createElement(a.default,{className:"topWrapperSelect",overlay:E,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,"排序",p.default.createElement(l.default,{type:"caret-down",className:"ml5"}))))),n&&n.user_admin_or_member?p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/new",className:"topWrapper_btn"},"新的里程碑"):"")),n&&n.versions&&n.versions.length>0?p.default.createElement("div",{className:"tagList"},0===n.versions.length?p.default.createElement(y.default,null):n.versions.map((function(t,r){return p.default.createElement("div",{style:{display:"block"},key:r},p.default.createElement("div",{className:"milepostdiv"},p.default.createElement("div",{className:"milepostwidth"},p.default.createElement("div",{className:"grid-item width100"},p.default.createElement("i",{className:"iconfont icon-lubiaosignpost3 font-12 mr3"}),p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/"+t.id,className:"font-16"},t.name)))),p.default.createElement("div",{className:"milepostdiv",style:{marginTop:5}},p.default.createElement("div",{className:"milepostrighe"},p.default.createElement("div",{className:"grid-item mr10"},p.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),p.default.createElement("span",{className:t.effective_date?"color-red":"color-grey-c"},t.effective_date||"暂无截止时间")),p.default.createElement("div",{className:"grid-item mr10 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-issue font-14 mr5"}),p.default.createElement("span",null,t.open_issues_count,"个开启")),p.default.createElement("div",{className:"grid-item mr10 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-shanchudiao font-14 mr5"}),p.default.createElement("span",null,t.close_issues_count,"个关闭"))),n&&n.user_admin_or_member?p.default.createElement("div",{className:"milepostleft"},p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}),p.default.createElement(d.Link,{to:"/projects/"+O+"/"+g+"/milestones/"+t.id+"/edit",className:"color-grey-9"},"编辑")),p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14 mr5"}),p.default.createElement("a",{onClick:function(){return e.updatestatusemile("closed"===e.state.status?"open":"closed",t)},className:"color-grey-9"},"closed"===e.state.status?"开启":"关闭")),p.default.createElement("div",{className:"grid-item ml15 color-grey-9"},p.default.createElement("i",{className:"iconfont icon-lajitong font-14 mr5"}),p.default.createElement(i.default,{placement:"bottom",title:"是否删除里程碑?",okText:"是",cancelText:"否",onConfirm:function(){return e.closemile(t)}},p.default.createElement("a",{className:"color-grey-9"},"删除")))):""),p.default.createElement("div",{className:"milepostdiv",style:{marginTop:5}},p.default.createElement("div",{className:"textwidth"},p.default.createElement(h,{type:"secondary",ellipsis:{rows:30,expandable:!1,onExpand:Function}},t.description))))}))):p.default.createElement(y.default,{_html:"暂时还没有相关数据!"}),n&&n.versions_count>s?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(o.default,{simple:!0,defaultCurrent:u,total:n&&n.versions_count,pageSize:s,onChange:this.ChangePage})):""))}}]),t}(f.Component);t.default=v},gDlH:function(e,t,n){"use strict";var r=n("q1tI"),o=n("4IlW");function i(e){return(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})(e)}function a(){return(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}).apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){return!t||"object"!==i(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 f(){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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=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},y={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},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&&s(e,t)}(h,e);var t,n,i,m,b=(t=h,function(){var e,n=p(t);if(f()){var r=p(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return u(this,e)});function h(){var e;return l(this,h),(e=b.apply(this,arguments)).onKeyDown=function(e){e.keyCode===o.a.ENTER&&e.preventDefault()},e.onKeyUp=function(t){var n=t.keyCode,r=e.props.onClick;n===o.a.ENTER&&r&&r()},e.setRef=function(t){e.div=t},e}return n=h,(i=[{key:"focus",value:function(){this.div&&this.div.focus()}},{key:"blur",value:function(){this.div&&this.div.blur()}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.noStyle,o=d(e,["style","noStyle"]);return r.createElement("div",a({role:"button",tabIndex:0,ref:this.setRef},o,{onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,style:a(a({},n?null:y),t)}))}}])&&c(n.prototype,i),m&&c(n,m),h}(r.Component);t.a=m},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("i8i4"),c=n.n(l),s=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],y={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},m=n("VCL8"),b=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};var h=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,l=e.getPopupContainer,c=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,m=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),h=u;return h||-1===d.indexOf("contextMenu")||(h=["click"]),o.a.createElement(s.a,b({},m,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:y,action:d,showAction:c,hideAction:h||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);h.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},h.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=c.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(m.polyfill)(h);var g=h,O=n("H84U"),E=n("6CfX"),C=n("CtXQ"),w=n("CWQg");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 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 S(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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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 R(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(w.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&N(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=A(t);if(R()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return k(this,e)});function l(){var e;return S(this,l),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(E.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,l=void 0!==a&&a,c=i.focusable,s=void 0===c||c,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:s,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,l=a.prefixCls,c=a.children,s=a.trigger,u=a.disabled,p=a.getPopupContainer,d=i("dropdown",l),y=r.Children.only(c),m=r.cloneElement(y,{className:f()(y.props.className,"".concat(d,"-trigger")),disabled:u}),b=u?[]:s;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(g,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),m)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&P(n.prototype,o),i&&P(n,i),l}(r.Component);D.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 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 I(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var n=0;n<t.length;n++){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 L(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 Z(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Q=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},X=T.default.Group,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&&W(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=F(t);if(Z()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function l(){var e;return I(this,l),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.type,c=i.disabled,s=i.onClick,u=i.htmlType,p=i.children,d=i.className,y=i.overlay,m=i.trigger,b=i.align,h=i.visible,v=i.onVisibleChange,g=i.placement,O=i.getPopupContainer,E=i.href,w=i.icon,x=void 0===w?r.createElement(C.default,{type:"ellipsis"}):w,j=i.title,S=Q(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),P=o("dropdown-button",a),N={align:b,overlay:y,disabled:c,trigger:c?[]:m,onVisibleChange:v,placement:g,getPopupContainer:O||n};return"visible"in e.props&&(N.visible=h),r.createElement(X,V({},S,{className:f()(P,d)}),r.createElement(T.default,{type:l,disabled:c,onClick:s,htmlType:u,href:E,title:j},p),r.createElement(D,N,r.createElement(T.default,{type:l},x)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&z(n.prototype,o),i&&z(n,i),l}(r.Component);B.defaultProps={placement:"bottomRight",type:"default"},D.Button=B;t.default=D},k994:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Aosp"),n("L/Qf")},wFql:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("H84U"),l=n("6CfX");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 s(e,t){"function"==typeof e?e(t):"object"===c(e)&&e&&"current"in e&&(e.current=t)}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(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 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 m(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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)}var v,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,t){var n=e.prefixCls,o=e.component,c=void 0===o?"article":o,u=e.className,f=e["aria-label"],p=e.setContentRef,d=e.children,y=g(e,["prefixCls","component","className","aria-label","setContentRef","children"]),m=t;return p&&(Object(l.a)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),m=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){s(t,e)}))}}(t,p)),r.createElement(a.a,null,(function(e){var t=e.getPrefixCls,o=c,a=t("typography",n);return r.createElement(o,h({className:i()(a,u),"aria-label":f,ref:m},y),d)}))};r.forwardRef?(v=r.forwardRef(O)).displayName="Typography":v=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)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=b(t);if(m()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(){var e;return f(this,l),(e=a.apply(this,arguments)).state={},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O,this.props)}}])&&p(n.prototype,o),i&&p(n,i),l}(r.Component);var E=v,C=n("VCL8"),w=n("Zm9Q"),x=n("m+aA"),j=n("+QRC"),S=n.n(j),P=n("BGR+"),N=n("t23M"),k=n.n(N),R=n("wEI+"),A=n("YMnH"),D=n("gDlH"),T=n("oHiP"),M=n("R3zJ"),V=n("CtXQ"),I=n("3S7+"),z=n("4IlW"),W=n("whJP");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)}function Z(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 Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(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 B(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&Q(e,t)}(c,e);var t,n,o,a,l=(t=c,function(){var e,n=H(t);if(B()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return X(this,e)});function c(){var e;return Z(this,c),(e=l.apply(this,arguments)).inComposition=!1,e.state={current:""},e.onChange=function(t){var n=t.target.value;e.setState({current:n.replace(/[\r\n]/g,"")})},e.onCompositionStart=function(){e.inComposition=!0},e.onCompositionEnd=function(){e.inComposition=!1},e.onKeyDown=function(t){var n=t.keyCode;e.inComposition||(e.lastKeyCode=n)},e.onKeyUp=function(t){var n=t.keyCode,r=t.ctrlKey,o=t.altKey,i=t.metaKey,a=t.shiftKey,l=e.props.onCancel;e.lastKeyCode!==n||e.inComposition||r||o||i||a||(n===z.a.ENTER?e.confirmChange():n===z.a.ESC&&l())},e.onBlur=function(){e.confirmChange()},e.confirmChange=function(){var t=e.state.current;(0,e.props.onSave)(t.trim())},e.setTextarea=function(t){e.textarea=t},e}return n=c,a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r=e.value,o={prevValue:r};return n!==r&&(o.current=r),o}}],(o=[{key:"componentDidMount",value:function(){if(this.textarea&&this.textarea.resizableTextArea){var e=this.textarea.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}},{key:"render",value:function(){var e=this.state.current,t=this.props,n=t.prefixCls,o=t["aria-label"],a=t.className,l=t.style;return r.createElement("div",{className:i()(n,"".concat(n,"-edit-content"),a),style:l},r.createElement(W.a,{ref:this.setTextarea,value:e,onChange:this.onChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onCompositionStart:this.onCompositionStart,onCompositionEnd:this.onCompositionEnd,onBlur:this.onBlur,"aria-label":o,autoSize:!0}),r.createElement(V.default,{type:"enter",className:"".concat(n,"-edit-content-confirm")}))}}])&&F(n.prototype,o),a&&F(n,a),c}(r.Component);Object(C.polyfill)(_);var q,G=_,Y=n("i8i4"),K={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function U(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}var J=function(e,t,n,o,i){q||((q=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(q));var a,l=window.getComputedStyle(e),c=(a=l,Array.prototype.slice.apply(a).map((function(e){return"".concat(e,": ").concat(a.getPropertyValue(e),";")})).join("")),s=U(l.lineHeight)*(t+1)+U(l.paddingTop)+U(l.paddingBottom);q.setAttribute("style",c),q.style.position="fixed",q.style.left="0",q.style.height="auto",q.style.minHeight="auto",q.style.maxHeight="auto",q.style.top="-999999px",q.style.zIndex="-1000",q.style.textOverflow="clip",q.style.whiteSpace="normal",q.style.webkitLineClamp="none";var u,f,p=(u=Object(w.a)(n),f=[],u.forEach((function(e){var t=f[f.length-1];"string"==typeof e&&"string"==typeof t?f[f.length-1]+=e:f.push(e)})),f);function d(){return q.offsetHeight<s}if(Object(Y.render)(r.createElement("div",{style:K},r.createElement("span",{style:K},p),r.createElement("span",{style:K},o)),q),d())return Object(Y.unmountComponentAtNode)(q),{content:n,text:q.innerHTML,ellipsis:!1};var y=Array.prototype.slice.apply(q.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((function(e){return 8!==e.nodeType})),m=Array.prototype.slice.apply(q.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Object(Y.unmountComponentAtNode)(q);var b=[];q.innerHTML="";var h=document.createElement("span");q.appendChild(h);var v=document.createTextNode(i);function g(e){h.insertBefore(e,v)}function O(e,t){var n=e.nodeType;if(1===n)return g(e),d()?{finished:!1,reactNode:p[t]}:(h.removeChild(e),{finished:!0,reactNode:null});if(3===n){var r=e.textContent||"",o=document.createTextNode(r);return g(o),function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.length,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=Math.floor((r+o)/2),l=n.slice(0,a);if(t.textContent=l,r>=o-1)for(var c=o;c>=r;c-=1){var s=n.slice(0,c);if(t.textContent=s,d())return c===n.length?{finished:!1,reactNode:n}:{finished:!0,reactNode:s}}return d()?e(t,n,a,o,a):e(t,n,r,a,i)}(o,r)}return{finished:!1,reactNode:null}}return h.appendChild(v),m.forEach((function(e){q.appendChild(e)})),y.some((function(e,t){var n=O(e,t),r=n.finished,o=n.reactNode;return o&&b.push(o),r})),{content:b,text:q.innerHTML,ellipsis:!0}};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 ee(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(n);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}function ne(e){return(ne="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(){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,t){return!t||"object"!==ne(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(){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 se(e){return(se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ue=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},fe=Object(M.a)("webkitLineClamp"),pe=Object(M.a)("textOverflow");var 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&&ae(e,t)}(s,e);var t,n,o,a,c=(t=s,function(){var e,n=se(t);if(ce()){var r=se(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return le(this,e)});function s(){var e;return oe(this,s),(e=c.apply(this,arguments)).state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.onExpandClick=function(){var t=e.getEllipsis().onExpand;e.setState({expanded:!0}),t&&t()},e.onEditClick=function(){e.triggerEdit(!0)},e.onEditChange=function(t){var n=e.getEditable().onChange;n&&n(t),e.triggerEdit(!1)},e.onEditCancel=function(){e.triggerEdit(!1)},e.onCopyClick=function(){var t=e.props,n=t.children,r=t.copyable,o=re({},"object"===ne(r)?r:null);void 0===o.text&&(o.text=String(n)),S()(o.text||""),e.setState({copied:!0},(function(){o.onCopy&&o.onCopy(),e.copyId=window.setTimeout((function(){e.setState({copied:!1})}),3e3)}))},e.setContentRef=function(t){e.content=t},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var n=e.getEditable().onStart;t&&n&&n(),e.setState({edit:t},(function(){!t&&e.editIcon&&e.editIcon.focus()}))},e.resizeOnNextFrame=function(){T.a.cancel(e.rafId),e.rafId=Object(T.a)((function(){e.syncEllipsis()}))},e}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){var t=e.children,n=e.editable;return Object(l.a)(!n||"string"==typeof t,"Typography","When `editable` is enabled, the `children` should use string."),{}}}],(o=[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(e){var t=this.props.children,n=this.getEllipsis(),r=this.getEllipsis(e);t===e.children&&n.rows===r.rows||this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),T.a.cancel(this.rafId)}},{key:"getEditable",value:function(e){var t=this.state.edit,n=(e||this.props).editable;return n?re({editing:t},"object"===ne(n)?n:null):{editing:t}}},{key:"getEllipsis",value:function(e){var t=(e||this.props).ellipsis;return t?re({rows:1,expandable:!1},"object"===ne(t)?t:null):{}}},{key:"canUseCSSEllipsis",value:function(){var e=this.state.clientRendered,t=this.props,n=t.editable,r=t.copyable,o=this.getEllipsis(),i=o.rows,a=o.expandable;return!(n||r||a||!e)&&(1===i?pe:fe)}},{key:"syncEllipsis",value:function(){var e=this.state,t=e.ellipsisText,n=e.isEllipsis,r=e.expanded,o=this.getEllipsis().rows,i=this.props.children;if(o&&!(o<0)&&this.content&&!r&&!this.canUseCSSEllipsis()){Object(l.a)(Object(w.a)(i).every((function(e){return"string"==typeof e})),"Typography","`ellipsis` should use string as children only.");var a=J(Object(x.a)(this.content),o,i,this.renderOperations(!0),"..."),c=a.content,s=a.text,u=a.ellipsis;t===s&&n===u||this.setState({ellipsisText:s,ellipsisContent:c,isEllipsis:u})}}},{key:"renderExpand",value:function(e){var t=this.getEllipsis().expandable,n=this.props.prefixCls,o=this.state,i=o.expanded,a=o.isEllipsis;return t&&(e||!i&&a)?r.createElement("a",{key:"expand",className:"".concat(n,"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},this.expandStr):null}},{key:"renderEdit",value:function(){var e=this.props,t=e.editable,n=e.prefixCls;if(t)return r.createElement(I.default,{key:"edit",title:this.editStr},r.createElement(D.a,{ref:this.setEditRef,className:"".concat(n,"-edit"),onClick:this.onEditClick,"aria-label":this.editStr},r.createElement(V.default,{role:"button",type:"edit"})))}},{key:"renderCopy",value:function(){var e=this.state.copied,t=this.props,n=t.copyable,o=t.prefixCls;if(n){var a=e?this.copiedStr:this.copyStr;return r.createElement(I.default,{key:"copy",title:a},r.createElement(D.a,{className:i()("".concat(o,"-copy"),e&&"".concat(o,"-copy-success")),onClick:this.onCopyClick,"aria-label":a},r.createElement(V.default,{role:"button",type:e?"check":"copy"})))}}},{key:"renderEditInput",value:function(){var e=this.props,t=e.children,n=e.prefixCls,o=e.className,i=e.style;return r.createElement(G,{value:"string"==typeof t?t:"",onSave:this.onEditChange,onCancel:this.onEditCancel,prefixCls:n,className:o,style:i})}},{key:"renderOperations",value:function(e){return[this.renderExpand(e),this.renderEdit(),this.renderCopy()].filter((function(e){return e}))}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.ellipsisContent,o=t.isEllipsis,a=t.expanded,l=this.props,c=l.component,s=l.children,u=l.className,f=l.prefixCls,p=l.type,d=l.disabled,y=l.style,m=ue(l,["component","children","className","prefixCls","type","disabled","style"]),b=this.getEllipsis().rows,h=Object(P.a)(m,["prefixCls","editable","copyable","ellipsis","mark","underline","mark","code","delete","underline","strong"].concat(ee(R.configConsumerProps))),v=this.canUseCSSEllipsis(),g=1===b&&v,O=b&&b>1&&v,C=s,w=null;return b&&o&&!a&&!v&&(w=String(s),C=r.createElement("span",{title:String(s),"aria-hidden":"true"},n,"...")),C=function(e,t){var n=e.mark,o=e.code,i=e.underline,a=e.delete,l=e.strong,c=t;function s(e,t){e&&(c=r.createElement(t,{},c))}return s(l,"strong"),s(i,"u"),s(a,"del"),s(o,"code"),s(n,"mark"),c}(this.props,C),r.createElement(A.a,{componentName:"Text"},(function(t){var n,o=t.edit,a=t.copy,l=t.copied,s=t.expand;return e.editStr=o,e.copyStr=a,e.copiedStr=l,e.expandStr=s,r.createElement(k.a,{onResize:e.resizeOnNextFrame,disabled:!b},r.createElement(E,re({className:i()(u,(n={},$(n,"".concat(f,"-").concat(p),p),$(n,"".concat(f,"-disabled"),d),$(n,"".concat(f,"-ellipsis"),b),$(n,"".concat(f,"-ellipsis-single-line"),g),$(n,"".concat(f,"-ellipsis-multiple-line"),O),n)),style:re(re({},y),{WebkitLineClamp:O?b:null}),component:c,ref:e.setContentRef,"aria-label":w},h),C,e.renderOperations()))}))}},{key:"render",value:function(){return this.getEditable().editing?this.renderEditInput():this.renderContent()}}])&&ie(n.prototype,o),a&&ie(n,a),s}(r.Component);de.defaultProps={children:""},Object(C.polyfill)(de);var ye=Object(a.c)({prefixCls:"typography"})(de);function me(){return(me=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 be(e){return(be="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 he=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},ve=function(e){var t=e.ellipsis,n=he(e,["ellipsis"]);return Object(l.a)("object"!==be(t),"Typography.Text","`ellipsis` only supports boolean value."),r.createElement(ye,me({},n,{ellipsis:!!t,component:"span"}))},ge=n("2W6z"),Oe=n.n(ge),Ee=n("CWQg");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)}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},xe=Object(Ee.b)(1,2,3,4),je=function(e){var t,n=e.level,o=void 0===n?1:n,i=we(e,["level"]);return-1!==xe.indexOf(o)?t="h".concat(o):(Oe()(!1,"Title only accept `1 | 2 | 3 | 4` as `level` value."),t="h1"),r.createElement(ye,Ce({},i,{component:t}))};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)}var Pe=function(e){return r.createElement(ye,Se({},e,{component:"div"}))},Ne=E;Ne.Text=ve,Ne.Title=je,Ne.Paragraph=Pe;t.default=Ne}}]); \ No newline at end of file diff --git a/static/js/37.0d377271.chunk.js b/static/js/38.552b62a3.chunk.js similarity index 99% rename from static/js/37.0d377271.chunk.js rename to static/js/38.552b62a3.chunk.js index 408d4be66..d65973e1f 100644 --- a/static/js/37.0d377271.chunk.js +++ b/static/js/38.552b62a3.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[37,77],{"+nTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("NUBc")),a=g(n("jsC+")),i=g(n("CtXQ")),l=g(n("BvKs")),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("04bd"),n("YQTV"),n("aIZi"),n("2oDE"),n("2WkQ");var u=n("q1tI"),f=g(u),p=n("eO8H");n("6JOy");var d=n("spEH"),m=g(n("2CTR")),y=g(n("GqXi")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default: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}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.componentDidMount=function(){n.getSelectList();var e=n.state.page;n.getIssueList(e)},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/issues/index_chosen.json";b.default.get(r).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen})})).catch((function(e){console.log(e)}))},n.getIssueList=function(e,t,r,o,a,i){var l=n.props.match.params,s=l.projectsId,c=l.meilid,u=l.owner,f=n.state,p=f.limit,d=f.order_name,m=f.order_type,y=f.issue_tag_id,g=f.author_id,v=f.assigned_to_id,O=f.tracker_id,E=f.status_id,C=f.done_ratio,w=f.status_type,k="/"+u+"/"+s+"/milestones/"+c+".json",P=o?{page:e,limit:p,order_name:r,order_type:a,issue_tag_id:y,author_id:g,assigned_to_id:v,tracker_id:O,status_id:E,done_ratio:C,status_type:i||w}:h({page:e,limit:p,order_name:d,order_type:m,issue_tag_id:y,author_id:g,assigned_to_id:v,tracker_id:O,status_id:E,done_ratio:C,status_type:i||w},t,r);b.default.get(k,{params:P}).then((function(e){e&&n.setState({data:e.data,issues:e.data.issues,search_count:e.data.search_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getOption=function(e,t,r){var o;"created_on"===e.key?"desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}):"updated_on"===e.key&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.setState((h(o={},t,e.key),h(o,t+"s",r),h(o,"page",1),o)),"created_on"===e.key||"updated_on"===e.key?(n.setState({order_name:e.key,order_type:e.item.props.value}),n.getIssueList(1,t,e.key,!0,e.item.props.value)):n.getIssueList(1,t,e.key)},n.renderMenu=function(e,t,r){return f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{key:"all",onClick:function(e){return n.getOption(e,r,t)}},t),e&&e.length>0&&e.map((function(e,t){return f.default.createElement(l.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0}),n.getIssueList(e)},n.openorder=function(e){n.setState({status_type:e,issue_tag_id:void 0,author_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,assigned_to_id:void 0,issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},(function(){n.getIssueList(1,void 0,void 0,void 0,void 0,e)}))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!0,author_id:void 0,status_id:void 0,assigned_to_id:void 0,limit:15,page:1,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},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:"render",value:function(){var e=this,t=this.state,n=t.issue_chosen,c=t.issues,u=t.limit,b=t.page,g=t.search_count,h=t.data,v=t.isSpin,O=t.status_type,E=this.props.match.params,C=E.projectsId,w=E.meilid,k=E.owner,P=f.default.createElement(l.default,{onClick:function(t){return e.getOption(t)}},f.default.createElement(l.default.Item,{key:"created_on",value:"desc"},"最新创建"),f.default.createElement(l.default.Item,{key:"created_on",value:"asc"},"最早创建"),f.default.createElement(l.default.Item,{key:"updated_on",value:"desc"},"最新更新"),f.default.createElement(l.default.Item,{key:"updated_on",value:"asc"},"最早更新"));return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{className:"miledetail"},f.default.createElement("p",{className:"font-20"},h&&h.name),f.default.createElement(d.FlexAJ,null,f.default.createElement("span",{className:"mt7"},f.default.createElement("span",{className:"mr10"},f.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),h&&h.effective_date?f.default.createElement("span",null,h&&h.effective_date):f.default.createElement("span",null,"暂无截止时间")),f.default.createElement("span",{className:"font-weight-bold"},h&&h.percent&&h.percent.toFixed(2),"%完成 ")),f.default.createElement("div",{className:"milepostdiv"},f.default.createElement(p.Link,{to:"/projects/"+k+"/"+C+"/milestones/"+w+"/edit",className:"topWrapper_btn",style:{marginRight:15}},"编辑里程碑"),f.default.createElement(p.Link,{to:"/projects/"+k+"/"+C+"/issues/"+w+"/new",className:"topWrapper_btn"},"创建任务")))),f.default.createElement(r.default,{spinning:v},f.default.createElement("div",{className:"pl20 pr20"},f.default.createElement("div",{className:"f-wrap-between pt15 pb15 bor-bottom-greyE"},f.default.createElement("ul",{className:"topWrapper_type_infos"},f.default.createElement("li",{className:"1"===O?"active":"",onClick:function(){return e.openorder("1")}},h&&h.open_issues_count,"个开启中"),f.default.createElement("li",{className:"2"===O?"active":"",onClick:function(){return e.openorder("2")}},h&&h.close_issues_count,"个已关闭")),f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:P,trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))))),f.default.createElement("div",{className:"setItemStyle"},0===g?f.default.createElement(m.default,{_html:"暂时还没有相关数据!"}):c&&c.length>0&&c.map((function(t,n){return f.default.createElement(y.default,s({key:n,mile:!0,item:t,search_count:g,page:b,limit:u},e.props,e.state))}))),g>u?f.default.createElement("div",{className:"mt30 mb10 edu-txt-center"},f.default.createElement(o.default,{simple:!0,current:b,total:g,pageSize:u,onChange:this.ChangePage})):"")))}}]),t}(u.Component);t.default=v},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return o.default.createElement(r.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}},"Dt+G":function(e,t,n){},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("NJEC")),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}}();n("k994");var a=n("q1tI"),i=c(a),l=n("eO8H"),s=n("D5tj");function c(e){return e&&e.__esModule?e:{default:e}}var u=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.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return i.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},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,n=t.item,o=t.checkbox,a=t.mile,c=this.props.match.params,u=c.projectsId,f=c.owner,p=this.props.current_user;return n&&i.default.createElement("div",{className:"issueItem"},p&&p.login&&o,i.default.createElement("div",{className:"flex-1"},i.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/detail",target:"_blank",title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),i.default.createElement("p",{className:"color-grey-6 font-12"},i.default.createElement("span",null,n.format_time),i.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":i.default.createElement("span",{className:"ml20"},i.default.createElement("span",null,n.updated_at),i.default.createElement("span",{className:"ml5"},"更新")))),i.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},i.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),i.default.createElement("li",null,n.author_name?i.default.createElement(l.Link,{to:"/users/"+n.author_login,className:"show-user-link"},n.author_name):"--"),i.default.createElement("li",null,n.assign_user_name?i.default.createElement(l.Link,{to:"/users/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),i.default.createElement("li",null,n.tracker||"--"),a?"":i.default.createElement("li",null,n.version||"--"),i.default.createElement("li",null,n.issue_status||"--"),i.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),i.default.createElement("li",null,i.default.createElement("div",{className:"milepostleft"},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/detail"},i.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),p&&p.login?i.default.createElement("div",{style:{display:this.state.orderid===n.id&&this.state.isdisplay?"flex":"none"}},i.default.createElement("div",{className:"mr8 ml8 color-grey-9"},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},i.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),i.default.createElement("div",{className:"color-grey-9"},i.default.createElement(r.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},i.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(a.Component);t.default=u},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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 y(e,t){return!t||"object"!==f(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 g(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=h(t);if(g()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=v(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),b=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};var g=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return h.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),g=u;return g||-1===d.indexOf("contextMenu")||(g=["click"]),o.a.createElement(c.a,b({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:g||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);g.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},g.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var h=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(g);var v=g,O=n("H84U"),E=n("6CfX"),C=n("CtXQ"),w=n("CWQg");function k(e){return(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})(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 j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==k(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 x(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(w.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");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&&N(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=A(t);if(x()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(E.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),y=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),b=u?[]:c;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(v,P({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&_(n.prototype,o),a&&_(n,a),l}(r.Component);R.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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(){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 V(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 I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){return!t||"object"!==T(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 Q(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},z=D.default.Group,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&&I(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=X(t);if(Q()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Z(this,e)});function l(){var e;return V(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,y=a.trigger,b=a.align,g=a.visible,h=a.onVisibleChange,v=a.placement,O=a.getPopupContainer,E=a.href,w=a.icon,k=void 0===w?r.createElement(C.default,{type:"ellipsis"}):w,P=a.title,j=L(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),_=o("dropdown-button",i),N={align:b,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:h,placement:v,getPopupContainer:O||n};return"visible"in e.props&&(N.visible=g),r.createElement(z,M({},j,{className:f()(_,d)}),r.createElement(D.default,{type:l,disabled:s,onClick:c,htmlType:u,href:E,title:P},p),r.createElement(R,N,r.createElement(D.default,{type:l},k)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&W(n.prototype,o),a&&W(n,a),l}(r.Component);F.defaultProps={placement:"bottomRight",type:"default"},R.Button=F;t.default=R},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"),o=n("TSYQ"),a=n.n(o),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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},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&&y(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=h(t);if(g()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=v(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),E=n("CWQg"),C=Object(E.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),w=n("6CfX"),k=n("g0mS");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 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 _(){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)}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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(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 A(){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 R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=new RegExp("^(".concat(C.join("|"),")(-inverse)?$")),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&&S(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=R(t);if(A()){var r=R(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});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=u.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,a=D(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(k.a,null,r.createElement("span",_({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",_({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return _({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(j(t={},"".concat(u,"-").concat(l),c),j(t,"".concat(u,"-has-color"),l&&!c),j(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&T.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(n.prototype,o),l&&N(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},u3En:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[38,78],{"+nTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("NUBc")),a=g(n("jsC+")),i=g(n("CtXQ")),l=g(n("BvKs")),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("04bd"),n("YQTV"),n("aIZi"),n("2oDE"),n("2WkQ");var u=n("q1tI"),f=g(u),p=n("eO8H");n("6JOy");var d=n("spEH"),m=g(n("2CTR")),y=g(n("GqXi")),b=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default: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}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.componentDidMount=function(){n.getSelectList();var e=n.state.page;n.getIssueList(e)},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/issues/index_chosen.json";b.default.get(r).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen})})).catch((function(e){console.log(e)}))},n.getIssueList=function(e,t,r,o,a,i){var l=n.props.match.params,s=l.projectsId,c=l.meilid,u=l.owner,f=n.state,p=f.limit,d=f.order_name,m=f.order_type,y=f.issue_tag_id,g=f.author_id,v=f.assigned_to_id,O=f.tracker_id,E=f.status_id,C=f.done_ratio,w=f.status_type,k="/"+u+"/"+s+"/milestones/"+c+".json",P=o?{page:e,limit:p,order_name:r,order_type:a,issue_tag_id:y,author_id:g,assigned_to_id:v,tracker_id:O,status_id:E,done_ratio:C,status_type:i||w}:h({page:e,limit:p,order_name:d,order_type:m,issue_tag_id:y,author_id:g,assigned_to_id:v,tracker_id:O,status_id:E,done_ratio:C,status_type:i||w},t,r);b.default.get(k,{params:P}).then((function(e){e&&n.setState({data:e.data,issues:e.data.issues,search_count:e.data.search_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getOption=function(e,t,r){var o;"created_on"===e.key?"desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}):"updated_on"===e.key&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.setState((h(o={},t,e.key),h(o,t+"s",r),h(o,"page",1),o)),"created_on"===e.key||"updated_on"===e.key?(n.setState({order_name:e.key,order_type:e.item.props.value}),n.getIssueList(1,t,e.key,!0,e.item.props.value)):n.getIssueList(1,t,e.key)},n.renderMenu=function(e,t,r){return f.default.createElement(l.default,null,f.default.createElement(l.default.Item,{key:"all",onClick:function(e){return n.getOption(e,r,t)}},t),e&&e.length>0&&e.map((function(e,t){return f.default.createElement(l.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0}),n.getIssueList(e)},n.openorder=function(e){n.setState({status_type:e,issue_tag_id:void 0,author_id:void 0,tracker_id:void 0,done_ratio:void 0,status_id:void 0,assigned_to_id:void 0,issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},(function(){n.getIssueList(1,void 0,void 0,void 0,void 0,e)}))},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!0,author_id:void 0,status_id:void 0,assigned_to_id:void 0,limit:15,page:1,search_count:void 0,issue_type:void 0,status_type:"1",issue_tag_ids:"标签",tracker_ids:"类型",author_ids:"发布人",assigned_to_ids:"负责人",status_ids:"状态",done_ratios:"完成度",paix:"排序"},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:"render",value:function(){var e=this,t=this.state,n=t.issue_chosen,c=t.issues,u=t.limit,b=t.page,g=t.search_count,h=t.data,v=t.isSpin,O=t.status_type,E=this.props.match.params,C=E.projectsId,w=E.meilid,k=E.owner,P=f.default.createElement(l.default,{onClick:function(t){return e.getOption(t)}},f.default.createElement(l.default.Item,{key:"created_on",value:"desc"},"最新创建"),f.default.createElement(l.default.Item,{key:"created_on",value:"asc"},"最早创建"),f.default.createElement(l.default.Item,{key:"updated_on",value:"desc"},"最新更新"),f.default.createElement(l.default.Item,{key:"updated_on",value:"asc"},"最早更新"));return f.default.createElement("div",{className:"main",style:{padding:"0px"}},f.default.createElement("div",{className:"miledetail"},f.default.createElement("p",{className:"font-20"},h&&h.name),f.default.createElement(d.FlexAJ,null,f.default.createElement("span",{className:"mt7"},f.default.createElement("span",{className:"mr10"},f.default.createElement("i",{className:"iconfont icon-rili font-14 mr5"}),h&&h.effective_date?f.default.createElement("span",null,h&&h.effective_date):f.default.createElement("span",null,"暂无截止时间")),f.default.createElement("span",{className:"font-weight-bold"},h&&h.percent&&h.percent.toFixed(2),"%完成 ")),f.default.createElement("div",{className:"milepostdiv"},f.default.createElement(p.Link,{to:"/projects/"+k+"/"+C+"/milestones/"+w+"/edit",className:"topWrapper_btn",style:{marginRight:15}},"编辑里程碑"),f.default.createElement(p.Link,{to:"/projects/"+k+"/"+C+"/issues/"+w+"/new",className:"topWrapper_btn"},"创建任务")))),f.default.createElement(r.default,{spinning:v},f.default.createElement("div",{className:"pl20 pr20"},f.default.createElement("div",{className:"f-wrap-between pt15 pb15 bor-bottom-greyE"},f.default.createElement("ul",{className:"topWrapper_type_infos"},f.default.createElement("li",{className:"1"===O?"active":"",onClick:function(){return e.openorder("1")}},h&&h.open_issues_count,"个开启中"),f.default.createElement("li",{className:"2"===O?"active":"",onClick:function(){return e.openorder("2")}},h&&h.close_issues_count,"个已关闭")),f.default.createElement("ul",{className:"topWrapper_select"},f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.issue_tag_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"发布人","author_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.author_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.assign_user,"负责人","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.assigned_to_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.tracker,"类型","tracker_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.tracker_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.issue_status,"状态","status_id"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.status_ids,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:this.renderMenu(n&&n.done_ratio,"完成度","done_ratio"),trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.done_ratios,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))),f.default.createElement("li",null,f.default.createElement(a.default,{className:"topWrapperSelect",overlay:P,trigger:["click"],placement:"bottomCenter"},f.default.createElement("span",null,this.state.paix,f.default.createElement(i.default,{type:"caret-down",className:"ml5"})))))),f.default.createElement("div",{className:"setItemStyle"},0===g?f.default.createElement(m.default,{_html:"暂时还没有相关数据!"}):c&&c.length>0&&c.map((function(t,n){return f.default.createElement(y.default,s({key:n,mile:!0,item:t,search_count:g,page:b,limit:u},e.props,e.state))}))),g>u?f.default.createElement("div",{className:"mt30 mb10 edu-txt-center"},f.default.createElement(o.default,{simple:!0,current:b,total:g,pageSize:u,onChange:this.ChangePage})):"")))}}]),t}(u.Component);t.default=v},"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},D5tj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("mr32"));t.TagInfo=function(e,t){var n="#e74c3c";n="高"===e?"#e67e22":"正常"===e?"#28be6c":"低"===e?"#1abc9c":"#e74c3c";return o.default.createElement(r.default,{color:n,className:t,style:{height:"25px",lineHeight:"23px"}},e)},n("0lcf");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}},"Dt+G":function(e,t,n){},GqXi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("NJEC")),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}}();n("k994");var a=n("q1tI"),i=c(a),l=n("eO8H"),s=n("D5tj");function c(e){return e&&e.__esModule?e:{default:e}}var u=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.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return i.default.createElement("span",{className:"mr10",key:t},e.name)})):"--"},n.deletedetail=function(e){n.props.deletedetail(e)},n.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.state={isdisplay:!1,orderid:""},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,n=t.item,o=t.checkbox,a=t.mile,c=this.props.match.params,u=c.projectsId,f=c.owner,p=this.props.current_user;return n&&i.default.createElement("div",{className:"issueItem"},p&&p.login&&o,i.default.createElement("div",{className:"flex-1"},i.default.createElement("p",{className:"mb10 df",style:{alignItems:"center"}},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/detail",target:"_blank",title:n.name,className:"hide-1 font-16 color-grey-3 lineh-30 mr10",style:{maxWidth:"370px"}},n.name),(0,s.TagInfo)(n.priority,"mr10")),i.default.createElement("p",{className:"color-grey-6 font-12"},i.default.createElement("span",null,n.format_time),i.default.createElement("span",{className:"ml5"},"发布"),n.updated_at===n.format_time?"":i.default.createElement("span",{className:"ml20"},i.default.createElement("span",null,n.updated_at),i.default.createElement("span",{className:"ml5"},"更新")))),i.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(n.id)},onMouseOut:function(){return e.onMouseOut()}},i.default.createElement("li",null,this.set_issue_tags(n.issue_tags)),i.default.createElement("li",null,n.author_name?i.default.createElement(l.Link,{to:"/users/"+n.author_login,className:"show-user-link"},n.author_name):"--"),i.default.createElement("li",null,n.assign_user_name?i.default.createElement(l.Link,{to:"/users/"+n.assign_user_login,className:"show-user-link"},n.assign_user_name):"--"),i.default.createElement("li",null,n.tracker||"--"),a?"":i.default.createElement("li",null,n.version||"--"),i.default.createElement("li",null,n.issue_status||"--"),i.default.createElement("li",{style:{color:"100%"===n.done_ratio?"#28BD6C":"#F73030"}},n.done_ratio||"--"),i.default.createElement("li",null,i.default.createElement("div",{className:"milepostleft"},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/detail"},i.default.createElement("i",{className:"iconfont icon-pinglun1 mr3 font-16"}),n.journals_count),p&&p.login?i.default.createElement("div",{style:{display:this.state.orderid===n.id&&this.state.isdisplay?"flex":"none"}},i.default.createElement("div",{className:"mr8 ml8 color-grey-9"},i.default.createElement(l.Link,{to:"/projects/"+f+"/"+u+"/issues/"+n.id+"/updatedetail",className:"color-grey-9"},i.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"}))),i.default.createElement("div",{className:"color-grey-9"},i.default.createElement(r.default,{placement:"bottom",title:"您确定要删除吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deletedetail(n.id)}},i.default.createElement("i",{className:"iconfont icon-yiguanbi1 font-14"})))):""))))}}]),t}(a.Component);t.default=u},NJEC:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("VCL8"),a=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 y(e,t){return!t||"object"!==f(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 g(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},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)}(O,e);var t,n,o,i,f=(t=O,function(){var e,n=h(t);if(g()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function O(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,O),(t=f.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var n=t.props.onConfirm;n&&n.call(b(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var n=t.props.onCancel;n&&n.call(b(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,a=o.okButtonProps,i=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"},i),c||n.cancelText),r.createElement(l.default,p({onClick:t.onConfirm,type:f,size:"small"},a),u||n.okText))))},t.renderConfirm=function(e){var n=e.getPrefixCls,o=t.props,i=o.prefixCls,l=o.placement,u=v(o,["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(a.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 n=O,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:"defaultVisible"in e?{visible:e.defaultVisible}:null}}],(o=[{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(n.prototype,o),i&&d(n,i),O}(r.Component);O.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:r.createElement(i.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(o.polyfill)(O),t.default=O},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),b=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};var g=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return h.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),g=u;return g||-1===d.indexOf("contextMenu")||(g=["click"]),o.a.createElement(c.a,b({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:g||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);g.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},g.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var h=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(g);var v=g,O=n("H84U"),E=n("6CfX"),C=n("CtXQ"),w=n("CWQg");function k(e){return(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})(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 j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==k(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 x(){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 A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(w.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");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&&N(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=A(t);if(x()){var r=A(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(E.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(C.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,p=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),y=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),b=u?[]:c;return b&&-1!==b.indexOf("contextMenu")&&(n=!0),r.createElement(v,P({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:b,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&_(n.prototype,o),a&&_(n,a),l}(r.Component);R.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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(){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 V(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 I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Z(e,t){return!t||"object"!==T(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 Q(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},z=D.default.Group,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&&I(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=X(t);if(Q()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return Z(this,e)});function l(){var e;return V(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,y=a.trigger,b=a.align,g=a.visible,h=a.onVisibleChange,v=a.placement,O=a.getPopupContainer,E=a.href,w=a.icon,k=void 0===w?r.createElement(C.default,{type:"ellipsis"}):w,P=a.title,j=L(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),_=o("dropdown-button",i),N={align:b,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:h,placement:v,getPopupContainer:O||n};return"visible"in e.props&&(N.visible=g),r.createElement(z,M({},j,{className:f()(_,d)}),r.createElement(D.default,{type:l,disabled:s,onClick:c,htmlType:u,href:E,title:P},p),r.createElement(R,N,r.createElement(D.default,{type:l},k)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&W(n.prototype,o),a&&W(n,a),l}(r.Component);F.defaultProps={placement:"bottomRight",type:"default"},R.Button=F;t.default=R},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"),o=n("TSYQ"),a=n.n(o),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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},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&&y(e,t)}(s,e);var t,n,o,i,l=(t=s,function(){var e,n=h(t);if(g()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function s(){var e;return d(this,s),(e=l.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,i=e.props,l=i.prefixCls,s=i.className,c=i.checked,u=v(i,["prefixCls","className","checked"]),d=o("tag",l),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),i&&m(n,i),s}(r.Component),E=n("CWQg"),C=Object(E.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),w=n("6CfX"),k=n("g0mS");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 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 _(){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)}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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(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 A(){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 R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=new RegExp("^(".concat(C.join("|"),")(-inverse)?$")),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&&S(e,t)}(f,e);var t,n,o,l,u=(t=f,function(){var e,n=R(t);if(A()){var r=R(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});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=u.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,a=D(n,["children"]),l="onClick"in a||o&&"a"===o.type,s=Object(i.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return l?r.createElement(k.a,null,r.createElement("span",_({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",_({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,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 n=f,l=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return _({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,i=r.className,l=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(j(t={},"".concat(u,"-").concat(l),c),j(t,"".concat(u,"-has-color"),l&&!c),j(t,"".concat(u,"-hidden"),!s),t),i)}},{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&&T.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(n.prototype,o),l&&N(n,l),f}(r.Component);M.CheckableTag=O,M.defaultProps={closable:!1},Object(l.polyfill)(M);t.default=M},u3En:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/38.9b837482.chunk.js b/static/js/39.6ecb9c8b.chunk.js similarity index 99% rename from static/js/38.9b837482.chunk.js rename to static/js/39.6ecb9c8b.chunk.js index 8d59660ce..686034eb3 100644 --- a/static/js/38.9b837482.chunk.js +++ b/static/js/39.6ecb9c8b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[38],{"0BMj":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=v(n("2/Rp")),a=v(n("kaz8")),s=v(n("5rEg")),i=v(n("BvKs")),r=v(n("TeRw")),l=v(n("ZTPi")),c=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("L/Qf"),n("MKzF"),n("1vPl"),n("2WkQ"),n("O+I2"),n("AUBz");var u=n("q1tI"),d=v(u),h=n("sYIF"),m=v(n("dDhr")),f=v(n("c1iF")),p=v(n("vDqi")),g=v(n("Cy8O")),b=v(n("t6uJ"));function v(t){return t&&t.__esModule?t:{default:t}}n("sczo"),n("p6FK");l.default.TabPane;var y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.changeType=function(){n.setState({classpass:"password"})},n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.componentDidMount=function(){var t=n.IsPC();n.setState({isphone:t});var e=n.IsPC();"/login"===n.props.match.url?n.setState({tab:["0"]}):"/register"===n.props.match.url&&n.setState({tab:["1"]}),n.setState({pciphone:e})},n.openNotification=function(t,e){r.default.open({message:"提示",description:t,onClick:function(){}})},n.openNotifications=function(t){r.default.open({message:"提示",description:t,onClick:function(){}})},n.StudyMakeMoney=function(){n.setState({login:"",password:"",logins:"",passwords:"",codes:""});try{n.props.Setshowbool(3)}catch(t){}},n.onTabChange=function(t){},n.onAutoLoginChange=function(t){n.setState({autoLogin:t.target.checked})},n.isCorrectname=function(t,e){if(1===e){if(0===t.length)return void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1})}else if(2===e&&0===t.length)return void n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1});n.Emailphonenumberverification(t,e)},n.onReadAgreementChange=function(t){n.setState({readAgreement:t.target.checked})},n.dragOkCallback=function(){if(n.setState({Phonenumberisnotcosytdhk:void 0}),0!==n.state.logins.length){var t=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(n.state.logins)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),void n.Emailphonenumberverification(n.state.logins,2)):(t="手机号格式不正确",n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n.state.logins)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),void n.Emailphonenumberverification(n.state.logins,2)):(t=-1!=n.state.logins.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotcos:t,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})))}n.setState({Phonenumberisnotcos:"账号不能为空",Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.onChange=function(t){n.setState({Agreetotheterms:t.target.checked})},n.postLogin=function(){if(void 0!==n.state.login&&""!=n.state.login)if(void 0!==n.state.password&&""!=n.state.password){p.default.post("/accounts/login.json",{login:n.state.login,password:n.state.password}).then((function(t){if(void 0!==t)if(-2!==t.data.status){if(200===t.status)if(402===t.data.status)window.location.href=t.data.url;else{(0,h.broadcastChannelPostMessage)("refreshPage"),n.setState({isRender:!1});var e=JSON.parse(window.sessionStorage.getItem("yslgeturls"));void 0===e&&(e="/"),null===e&&(e="/"),"null"===e&&(e="/"),window.location.href=e}}else{if("该手机号尚未注册"===t.data.message||"该邮箱尚未注册"===t.data.message)return void n.setState({Phonenumberisnotco:t.data.message});if("错误的账号或密码"===t.data.message)return void n.setState({Phonenumberisnotcodmms:t.data.message});if("违反平台使用规范,账号已被锁定"===t.data.message)return void n.setState({Phonenumberisnotco:t.data.message});if("登录密码出错已达上限,账号已被锁定, 请10分钟后重新登录或找回密码"===t.data.message){var o=d.default.createElement("div",null,d.default.createElement("p",null,"登录密码出错已达上限,账号已被锁定;"),d.default.createElement("p",{className:"mt10"},"请10分钟后重新登录或",d.default.createElement("a",{href:"https://www.trustie.net/account/lost_password",style:{textDecoration:"underline",color:"#4CACFF"}},"找回密码")));return void n.openNotifications(o)}n.openNotification(t.data.message)}})).catch((function(t){}))}else n.setState({Phonenumberisnotcodmm:"密码不能为空"});else n.setState({Phonenumberisnotco:"账号不能为空"})},n.postregistered=function(){if(void 0!==n.state.logins&&""!==n.state.logins&&0!==n.state.logins.length)if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(void 0!==n.state.codes&&""!=n.state.codes&&0!==n.state.codes.length)if(void 0!==n.state.passwords&&""!=n.state.passwords&&0!==n.state.passwords.length)if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length<8)n.setState({Phonenumberisnotcosymmm:"密码不能少于8位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length>16)n.setState({Phonenumberisnotcosymmm:"密码不能超过16位"});else if(!1!==n.state.Agreetotheterms){var t=void 0;t=n.props.weixinlogin?"/weapps/register.json":"/accounts/register.json",p.default.post(t,{login:n.state.logins,password:n.state.passwords,code:n.state.codes}).then((function(t){if(t){if(-2===t.data.status)return"验证码不正确"===t.data.message||"验证码已失效"===t.data.message?void n.setState({Phonenumberisnotcosyzm:"验证码不正确"}):void n.openNotification(t.data.message);n.setMyEduCoderModals()}})).catch((function(t){}))}else n.openNotification("请同意服务协议条款",2);else n.setState({Phonenumberisnotcosymmm:"密码不能为空"});else n.setState({Phonenumberisnotcosyzm:"验证码不能为空"});else n.setState({Phonenumberisnotcosytdhk:"请拖动滑块完成验证",dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});else n.setState({Phonenumberisnotcos:"账号不能为空",Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.Emailphonenumberverification=function(t,e){p.default.get("/accounts/valid_email_and_phone.json",{params:{login:t,type:1}}).then((function(t){if(t)if(-2===t.data.status){if(1===e)return void("该手机号码或邮箱已被注册"===t.data.message?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,dragOk:!0}):n.setState({Phonenumberisnotco:t.data.message,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}));if(2===e)return void n.setState({Phonenumberisnotcos:t.data.message,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})}else{if(1===e)return void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,dragOk:!0});if(2===e)return void n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0})}})).catch((function(t){}))},n.SMSverification=function(){var t=n.state.logins;p.default.get("/accounts/get_verification_code.json",{params:{login:n.state.logins,type:1,smscode:(0,h.setmiyah)(t)}}).then((function(t){1===t.data.status?n.openNotification("验证码已发送,请注意查收"):-2===t.data.status&&n.openNotification(t.data.message)})).catch((function(t){}))},n.Showandhide=function(t){!0===n.state.classpassbool?n.setState({passopens:f.default,classpass:"text",classpassbool:!1}):n.setState({passopens:m.default,classpass:"password",classpassbool:!0})},n.getverificationcode=function(){if(void 0!==n.state.logins&&0!==n.state.logins.length){if(!0===n.state.Phonenumberisnotcobool)return n.openNotification(n.state.Phonenumberisnotcos),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(!0===n.state.getverificationcodes){n.setState({getverificationcodes:void 0});var t=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(t),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else{n.setState({getverificationcodes:void 0});var e=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(e),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else n.openNotification("请拖动滑块验证")}else n.openNotification("请输入手机号或邮箱")},n.loginInputonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;0===t.target.value.length?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,Phonenumberisnotcodmms:void 0,login:e}):n.setState({login:e,Phonenumberisnotco:void 0,Phonenumberisnotcodmms:void 0})},n.inputOnBlur=function(t,e){n.Emailphonenumberverification(t.target.value,1)},n.inputOnBlurzhuche=function(t,e){if(0!==t.target.value.length){var o=void 0;if(!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t.target.value))return o="手机号格式不正确",n.setState({Phonenumberisnotcos:o,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t.target.value)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1}),void n.Emailphonenumberverification(t.target.value,e)):(o=-1!=t.target.value.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotcos:o,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}));n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1})}else n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1})},n.passwordonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({password:e,Phonenumberisnotcodmm:void 0,Phonenumberisnotcodmms:void 0})},n.loginInputonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;0===t.target.value.length?n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,logins:e,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}):n.setState({logins:e,Phonenumberisnotcos:void 0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.passwordonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({passwords:e,Phonenumberisnotcosymmm:void 0})},n.codesonChange=function(t){n.setState({codes:t.target.value,Phonenumberisnotcosyzm:void 0})},n.changeTab=function(t){n.setState({tab:t.key}),0===t.key?n.setState({Phonenumberisnotcos:void 0}):n.setState({Phonenumberisnotco:void 0})},n.loginonkeyup=function(t){if(32==t.keyCode)return!1},n.setNotcompleteds=function(){n.setState({Notcompleteds:!0,MyEduCoderModals:!1,registered:void 0})},n.setMyEduCoderModals=function(){n.setState({MyEduCoderModals:!0,registered:"注册成功"})},n.openweixinlogin=function(){n.setState({weixinlogin:!0})},n.hideweixinlogin=function(){n.setState({weixinlogin:!1,qqlogin:!1,tab:["0"]})},n.openqqlogin=function(){n.setState({qqlogin:!0}),window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code"},n.openphoneqqlogin=function(){window.open("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code")},!0===t.loginstatus&&(n.state={tab:["0"],classpass:"text",passopens:f.default,seconds:60,discodeBtn:!1,clearInterval:!1,autoLogin:!0,classpassbool:!1,readAgreement:!1,getverificationcodes:!0,dragOk:!1,Agreetotheterms:!0,login:"",password:"",logins:"",passwords:"",codes:"",Phonenumberisnotco:void 0,Phonenumberisnotcos:void 0,Phonenumberisnotcosyzm:void 0,Phonenumberisnotcosymmm:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosyfwtk:void 0,Phonenumberisnotcodmm:void 0,Phonenumberisnotcobool:!1,Whethertoverify:!1,pciphone:!0,MyEduCoderModals:!1,registered:void 0,Phonenumberisnotcodmms:void 0,weixinlogin:!1,qqlogin:!1}),!1===t.loginstatus&&(n.state={tab:["1"],classpass:"text",passopens:f.default,seconds:60,discodeBtn:!1,clearInterval:!1,autoLogin:!0,classpassbool:!1,readAgreement:!1,getverificationcodes:!0,dragOk:!1,Agreetotheterms:!0,login:"",password:"",logins:"",passwords:"",codes:"",Phonenumberisnotco:void 0,Phonenumberisnotcos:void 0,Phonenumberisnotcosyzm:void 0,Phonenumberisnotcosymmm:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosyfwtk:void 0,Phonenumberisnotcobool:!1,Phonenumberisnotcodmm:void 0,Whethertoverify:!1,pciphone:!0,MyEduCoderModals:!1,registered:void 0,Phonenumberisnotcodmms:void 0,weixinlogin:!1,qqlogin:!1}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),c(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.autoLogin,l=(e.classpass,e.passopens),c=e.seconds,u=e.getverificationcodes,h=e.Agreetotheterms,m=e.Phonenumberisnotco,f=e.Phonenumberisnotcos,p=e.codes,v=e.tab,y=(e.dragOk,e.Whethertoverify),w=e.classpassbool,E=e.Phonenumberisnotcosytdhk,P=e.Phonenumberisnotcosyzm,A=e.Phonenumberisnotcosymmm,S=e.Phonenumberisnotcodmm,k=(e.readAgreement,e.pciphone),x=e.Phonenumberisnotcodmms,O=e.weixinlogin;return this.state.seconds,d.default.createElement("div",{className:this.props.weixinlogin?"weixinregister":"login_register_content login_register_contents"},d.default.createElement("style",null,"\n .login_register_contents, .login_register_contents .ant-tabs-tabpane {\n display: flex;\n justify-content: center;\n }\n "),d.default.createElement("div",null,!1===O&&void 0===this.props.weixinlogin?d.default.createElement(i.default,{mode:"horizontal",selectedKeys:v,onClick:this.changeTab,className:"mt20"},d.default.createElement(i.default.Item,{key:"0",className:0===v?"active font-18":"font-18"}," 登录"),d.default.createElement(i.default.Item,{key:"1",className:1===v?"active font-18 ":"font-18 ",style:{marginLeft:"10px"}},"注册")):"",!1===O&&0==parseInt(v[0])&&d.default.createElement("div",{style:{width:"340px"}},d.default.createElement("style",null,'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-box-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tposition: relative;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 4px 11px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 38px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tline-height: 1.5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-image: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder: 1px solid #d9d9d9;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-o-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttransition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t .loginInputzhuche{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff!important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 45px !important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 5px;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n '),d.default.createElement(s.default,{placeholder:"请输入登录手机号码或邮箱",value:this.state.login,onChange:this.loginInputonChange,name:"username",className:m&&""!==m?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onBlur:function(e){return t.inputOnBlur(e,1)},style:{marginTop:"30px",height:"38px"},onPressEnter:function(){return t.postLogin()}}),m&&""!=m?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},m)):d.default.createElement("div",{style:{height:"25px"}}),d.default.createElement(s.default,{type:"password",name:"password",id:"password",value:this.state.password,onChange:this.passwordonChange,onPressEnter:function(){return t.postLogin()},className:S&&""!==S?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",placeholder:"密码"}),S&&""!=S?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},S)):void 0===x?d.default.createElement("div",{style:{height:"25px"}}):"",x&&""!=x?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},x)):"",d.default.createElement("div",{className:"left_right font-12 ",style:{color:"#676767"}},d.default.createElement(a.default,{onChange:this.onAutoLoginChange,checked:r},"下次自动登录"),d.default.createElement("a",{onClick:function(){return t.StudyMakeMoney()},className:"mr3 color-grey-9 mt3 font-12"},"找回密码")),d.default.createElement(o.default,{className:"login_btn font-16",type:"primary",style:{height:"46px"},onClick:function(){return t.postLogin()},size:"large"},"登录"),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?!0===this.state.isphone?d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openweixinlogin()}},d.default.createElement("img",{src:n("USIS"),alt:"微信登录"})),d.default.createElement("a",{onClick:function(){return t.openqqlogin()},className:"ml10"},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openphoneqqlogin()}},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):""),!1===O&&1==parseInt(v[0])&&d.default.createElement("div",{style:{width:"340px"}},d.default.createElement(s.default,{placeholder:"请使用手机号/邮箱账号进行注册",className:f&&""!==f?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",value:this.state.logins,type:"text",autoComplete:"off",onChange:this.loginInputonChanges,style:{marginTop:"30px",height:"38px",color:"#999999",fontSize:"14px"}}),f&&""!==f?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},f)):d.default.createElement("div",{style:{height:"25px"}}),!0===this.state.MyEduCoderModals?d.default.createElement(b.default,{modalsType:this.state.MyEduCoderModals,registered:this.state.registered,setNotcompleteds:function(){t.setNotcompleteds()}}):"",!1===y&&!0===k?d.default.createElement(g.default,{dragOkCallback:this.dragOkCallback}):"",!0===y&&!0===k?d.default.createElement(g.default,{dragOkCallback:this.dragOkCallback}):"",d.default.createElement("div",null,!0===k?E&&""!==E?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},E)):d.default.createElement("div",{style:{height:"25px"}}):""),d.default.createElement("div",{className:"yslbutondls"},d.default.createElement(s.default,{className:P&&""!==P?" mr5 font-14 color-grey-9 loginInputzhucheyslass bor-reds":" mr5 font-14 color-grey-9 loginInputzhuche",name:"codes",type:"text",autoComplete:"off",readonly:!0,onfocus:"this.removeAttribute('readonly')",style:{width:"210px",height:"38px"},placeholder:"请输入验证码",onChange:this.codesonChange,value:p}),void 0===u?d.default.createElement(o.default,{className:" ml5 font-14",disabled:!0,style:{width:"120px","text-align":"center",height:"45px"},size:"large"},"重新发送",c,"s"):!0===u?d.default.createElement(o.default,{className:" ml5 font-14",type:"primary",style:{width:"120px","text-align":"center",height:"45px"},onClick:function(){return t.getverificationcode()},size:"large"},"获取验证码"):d.default.createElement(o.default,{className:" ml5 font-14 ",type:"primary",style:{width:"120px","text-align":"center",height:"45px"},onClick:function(){return t.getverificationcode()},size:"large"},"重新发送")),d.default.createElement("div",null,P&&""!==P?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},P)):d.default.createElement("div",{style:{height:"25px"}})),d.default.createElement("style",null,"\n .ant-input-affix-wrapper .ant-input-suffix {\n right: 12px;\n height: 20px;\n }\n .mymimasysl {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-right: none !important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input-group-addon{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;s\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input-group .ant-input:hover {\n z-index: 0 !important;\n }\n "),d.default.createElement(s.default,{placeholder:"输入8~16位密码,区分大小写",type:!1===w?"text":"password",className:A&&"mymimasysl"!==A?" font-14 color-grey-9 loginInputzhucheysl mymimasysl":" font-14 color-grey-9 loginInputzhuche mymimasysl",autoComplete:"new-password",onClick:this.changeType,value:this.state.passwords,onChange:this.passwordonChanges,addonAfter:d.default.createElement("img",{className:"mt5",src:l,onClick:function(e){return t.Showandhide(e)}})}),A&&""!==A?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},A)):d.default.createElement("div",{style:{height:"25px"}}),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?d.default.createElement(a.default,{onChange:this.onChange,checked:h},d.default.createElement("span",{className:"font-14 ",style:{color:"#676767"}},"我已阅读并同意",d.default.createElement("span",null,d.default.createElement("a",{href:"https://forge.educoder.net/help?index=4",target:"_blank",className:"color-blue"},"《服务协议条款》")))):"",d.default.createElement(o.default,{className:" font-16 mb20",type:"primary",style:this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?{height:"46px",width:"100%",marginTop:"26px"}:{height:"46px",width:"100%"},onClick:function(){return t.postregistered()},size:"large"},this.props.weixinlogin?"注册并绑定":"注册"),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?!0===this.state.isphone?d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openweixinlogin()}},d.default.createElement("img",{src:n("USIS"),alt:"微信登录"})),d.default.createElement("a",{onClick:function(){return t.openqqlogin()},className:"ml10"},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openphoneqqlogin()}},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):""),!0===O?d.default.createElement("iframe",{className:"weixinheight390 mt20",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,"+window.location.host+"#wechat_redirect"}):"",!0===O?d.default.createElement("p",{className:"clearfix mb20 textcenter"},d.default.createElement("a",{className:"startlogin color-blue",onClick:function(){return t.hideweixinlogin()}},"返回登录注册")):""))}}]),e}(u.Component);e.default=y},"0guT":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(n("kLXV")),a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("k3Gp");var s=n("q1tI"),i=r(s);n("sYIF"),r(n("vDqi"));function r(t){return t&&t.__esModule?t:{default:t}}n("sczo");var l=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setDownload=function(){window.location.href="/login"},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"render",value:function(){var t=this;return i.default.createElement(o.default,{keyboard:!1,closable:!1,footer:null,destroyOnClose:!0,title:"提示",centered:!0,visible:void 0!==this.props.modalsType&&this.props.modalsType,width:"530px"},i.default.createElement("div",{className:"educouddiv tabeltext-alignleft"},i.default.createElement("div",{className:"tabeltext-alignleft mb20"},i.default.createElement("p",null,"密码已重置,请重新登录")),i.default.createElement("a",{className:"task-btn task-btn-orange bth100",onClick:function(){return t.setDownload()}},"知道啦")))}}]),e}(s.Component);e.default=l},Cy8O:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),s=n("q1tI"),i=(o=s)&&o.__esModule?o:{default:o};n("DD7N");var r=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state={isMove:!1,start:0,moveLength:0,clear:!1,move:0,width:0},t.onMouseUp=t.onMouseUp.bind(t),t.onMouseDown=t.onMouseDown.bind(t),t.onMouseMove=t.onMouseMove.bind(t),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){document.getElementById("dragHandler").addEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(t){console.log("28"),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp);var e=t||window.event;this.setState({isMove:!0,start:e.pageX})}},{key:"onMouseUp",value:function(t){console.log("38");var e=t||window.event;this.setState({isMove:!1});var n=window.getComputedStyle(this.verifyDOM),o=window.getComputedStyle(this.handlerDOM),a=e.clientX-this.verifyDOM.offsetLeft-Number.parseInt(o.width)/2,s=Number.parseInt(n.width)-Number.parseInt(o.width);console.log("moveLength="+a),console.log("maxWidth="+s),a<=s&&(this.setState({move:0,width:0}),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp)),this.props.onDrag&&this.props.onDrag(this.state.clear)}},{key:"onMouseMove",value:function(t){console.log("63");var e=t||window.event,n=window.getComputedStyle(this.verifyDOM),o=window.getComputedStyle(this.handlerDOM),a=e.clientX-this.verifyDOM.offsetLeft-Number.parseInt(o.width)/2,s=Number.parseInt(n.width)-Number.parseInt(o.width);this.state.isMove&&(a<0?a=0:a>=s&&(a=s,this.removeMouseMove()),this.setState({move:a,width:a}))}},{key:"removeMouseMove",value:function(){this.setState({clear:!0}),document.getElementById("dragHandler").removeEventListener("mousedown",this.onMouseDown),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),this.props.dragOkCallback()}},{key:"render",value:function(){var t=this;return i.default.createElement("div",{id:"drag",className:"nl-drag-verify",ref:function(e){t.verifyDOM=e},style:{color:this.state.clear?"#fff":"#252535"}},i.default.createElement("div",{className:"drag_bg",ref:function(e){t.bgDOM=e},style:{width:this.state.width}}),i.default.createElement("div",{className:"drag_text"},this.state.clear?"验证通过":"拖动滑块验证"),i.default.createElement("div",{id:"dragHandler",className:this.state.clear?"handler handler_ok_bg":"handler handler_bg",style:{left:this.state.move},ref:function(e){t.handlerDOM=e}}))}}]),e}(s.Component);e.default=r},DD7N:function(t,e,n){},"MV/f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=f(n("2/Rp")),a=f(n("5rEg")),s=f(n("TeRw")),i=f(n("ZTPi")),r=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("L/Qf"),n("1vPl"),n("O+I2"),n("AUBz");var l=n("q1tI"),c=f(l),u=(n("eO8H"),n("sYIF")),d=f(n("Cy8O")),h=f(n("0guT")),m=f(n("vDqi"));function f(t){return t&&t.__esModule?t:{default:t}}n("sczo"),n("p6FK");i.default.TabPane;var p={width:" 100%",height:"40px"},g=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.componentDidMount=function(){var t=n.IsPC();n.setState({pciphone:t})},n.openNotification=function(t){s.default.open({message:"提示",description:t,onClick:function(){console.log("Notification Clicked!")}})},n.StudyMakeMoney=function(){n.props.Setshowbool(1)},n.changeType=function(){n.setState({classpass:"password"})},n.changeTypey=function(){},n.getverificationcode=function(){if(void 0!==n.state.login&&0!==n.state.login.length){if(!1===n.state.Phonenumberisnotcobool)return n.openNotification(n.state.Phonenumberisnotco),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(!0===n.state.getverificationcodes){n.setState({getverificationcodes:void 0});var t=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(t),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else{n.setState({getverificationcodes:void 0});var e=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(e),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else n.openNotification("拖动滑块验证")}else n.openNotification("请输入手机号或邮箱")},n.SMSverification=function(){var t=n.state.login;m.default.get("/accounts/get_verification_code.json",{params:{login:n.state.login,type:2,smscode:(0,u.setmiyah)(t)}}).then((function(t){1===t.data.status?n.openNotification("验证码已发送,请注意查收"):-2===t.data.status&&n.openNotification(t.data.message)})).catch((function(t){console.log(t)}))},n.cancelReadOnly=function(){n.setState({readonlyInput:!1})},n.Retrievepassword=function(){if(!1===n.state.Phonenumberisnotcobool&&void 0!==n.state.Phonenumberisnotco)return n.openNotification(n.state.Phonenumberisnotco),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(void 0!==n.state.login&&0!==n.state.login.length&&""!==n.state.login)if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(void 0!==n.state.password&&0!==n.state.password.length&&""!==n.state.password)if(void 0!==n.state.passwords&&0!==n.state.passwords.length&&""!==n.state.passwords)if(n.state.password!==n.state.passwords!=="")if(void 0!==n.state.password&&n.state.password.length>0&&n.state.password.length<8)n.setState({Phonenumberisnotcosmmm:"密码不能少于8位"});else if(void 0!==n.state.password&&n.state.password.length>0&&n.state.password.length>16)n.setState({Phonenumberisnotcosmmm:"密码不能超过16位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length<8)n.setState({Phonenumberisnotcosymmmm:"二次密码不能少于8位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length>16)n.setState({Phonenumberisnotcosymmmm:"二次密码不能超过16位"});else if(void 0!==n.state.codes&&0!==n.state.codes.length&&""!==n.state.codes){m.default.post("/accounts/reset_password.json",{login:n.state.login,code:n.state.codes,new_password:n.state.password,new_password_confirmation:n.state.passwords}).then((function(t){if(t){if(-2===t.data.status)return"验证码不正确"===t.data.message||"验证码已失效"===t.data.message?void n.setState({Phonenumberisnotcosyzm:"验证码不正确"}):"1小时内同一手机号发送次数超过限制"===t.data.message?(n.setState({boolyzm:!0}),void n.openNotification(t.data.message)):void n.openNotification(t.data.message);n.setState({modalsType:!0})}})).catch((function(t){}))}else n.setState({Phonenumberisnotcosyzm:"验证码不能为空"});else n.openNotification("两次输入的密码不一致");else n.setState({Phonenumberisnotcosymmmm:"二次密码不能为空"});else n.setState({Phonenumberisnotcosmmm:"密码不能为空"});else n.setState({Phonenumberisnotcosytdhk:"请拖动滑块完成验证",dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});else n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.openNotification=function(t){s.default.open({message:"提示",description:t,onClick:function(){console.log("Notification Clicked!")}})},n.loginInputonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({login:e,Phonenumberisnotco:void 0,dragOk:!1,boolyzm:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.loginInputonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({password:e,Phonenumberisnotcosmmm:void 0})},n.loginInputonChangess=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({passwords:e,Phonenumberisnotcosymmmm:void 0})},n.codesonChange=function(t){n.setState({codes:t.target.value,Phonenumberisnotcosyzm:void 0})},n.inputOnBlur=function(t){n.isCorrectname(t.target.value)},n.isCorrectname=function(t){if(console.log(t.length),0!==t.length){var e=void 0;if(!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t))return e="手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)?void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}):(e=-1!=t.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),void n.Emailphonenumberverification(t));n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0})}else n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0})},n.inputOnBlurzhuche=function(t){if(!1===n.state.pciphone){if(""===n.state.login||0===n.state.login.length)return void n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});var e=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t.target.value)?void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}):(e="手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t.target.value)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}),void n.Emailphonenumberverification(t.target.value)):(e=-1!=t.target.value.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1})))}},n.dragOkCallback=function(){if(console.log(n.state.login),n.setState({Phonenumberisnotcosytdhk:void 0}),""!==n.state.login&&0!==n.state.login.length){var t=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(n.state.login)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,Phonenumberisnotcosytdhk:void 0,dragOk:!0}),void n.Emailphonenumberverification(n.state.login)):(t="手机号格式不正确",n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,Phonenumberisnotcosytdhk:void 0,dragOk:!0}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n.state.login)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,dragOk:!0}),void n.Emailphonenumberverification(n.state.login)):(t=-1!=n.state.login.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotco:t,Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})))}n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,Phonenumberisnotcosytdhk:void 0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.Emailphonenumberverification=function(t){m.default.get("/accounts/valid_email_and_phone.json",{params:{login:t,type:2}}).then((function(e){if(e)return-2===e.data.status?(console.log(t.length),void n.setState({Phonenumberisnotco:e.data.message,Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})):void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,dragOk:!0})})).catch((function(t){console.log(t)}))},n.gobackshowbool=function(){n.props.history.push("/login"),n.props.Setshowbool(1)},n.state={login:"",password:"",passwords:"",seconds:60,codes:"",getverificationcodes:!0,Phonenumberisnotcobool:!0,Phonenumberisnotco:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosmmm:void 0,Phonenumberisnotcosymmmm:void 0,Phonenumberisnotcosyzm:void 0,s:"text",classpass:"text",readonlyInput:!0,dragOk:!1,Whethertoverify:!1,modalsType:!1,pciphone:!0,boolyzm:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"render",value:function(){var t,e,n,s=this,i=this.state,r=(i.autoLogin,i.readAgreement,i.dragOk,i.login,i.password,i.passwords,i.classpass),l=i.seconds,u=i.getverificationcodes,m=i.Phonenumberisnotco,f=i.Phonenumberisnotcosytdhk,g=i.Phonenumberisnotcosmmm,b=i.Phonenumberisnotcosymmmm,v=i.Phonenumberisnotcosyzm,y=(i.readonlyInput,i.codes),w=i.Whethertoverify,E=i.pciphone,P=i.boolyzm;return c.default.createElement("div",{className:"login_register_content"},c.default.createElement(h.default,{modalsType:this.state.modalsType,StudyMakeMoney:function(){return s.StudyMakeMoney()}}),c.default.createElement(a.default,{type:"text",name:"username",value:"namename",style:{height:"0",width:"0",border:"none",display:"none"}}),c.default.createElement(a.default,{type:"password",name:"password",id:"password",value:"123123123",style:{height:"0",width:"0",border:"none",display:"none"}}),c.default.createElement("style",null,"\n\n .login_section .section_header {\n margin-bottom: 16px;\n font-size: 18px;\n width: 100%;\n text-align: center;\n border-bottom: 1px solid rgb(234, 234, 234);\n height: 69px;\n color: #05101A;\n line-height: 69px;\n }\n\t\t\t\t\t\t\t\t.loginInputzhuche{\n\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\tbackground-color: #fff!important;\n\t\t\t\t\t\t\t\t\theight: 45px !important;\n\t\t\t\t\t\t\t\t\tpadding: 5px;\n\n\t\t\t\t\t\t\t\t}\n "),c.default.createElement("div",{className:"login_sectionysl"},c.default.createElement("div",{className:"section_header font-18",style:{color:"#05101A",marginTop:"10px"}},"找回密码"),c.default.createElement("div",{style:{width:"340px"}},c.default.createElement("style",null,'\n .ant-input {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-box-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tposition: relative;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 4px 11px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 38px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tline-height: 1.5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-image: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder: 1px solid #d9d9d9;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-o-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttransition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'),c.default.createElement(a.default,(t={style:p,type:"text",autoComplete:"off",onClick:this.changeTypey,className:m&&""!==m?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",placeholder:"输入注册手机号或邮箱",value:this.state.login,onChange:this.loginInputonChange},n={marginTop:"10px",height:"38px"},(e="style")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t)),m&&""!==m?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},m)):c.default.createElement("div",{style:{height:"25px"}}),!1===w&&!0===E?c.default.createElement(d.default,{dragOkCallback:this.dragOkCallback}):"",!0===w&&!0===E?c.default.createElement(d.default,{dragOkCallback:this.dragOkCallback}):"",c.default.createElement("div",null,!0===E?f&&""!==f?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},f)):c.default.createElement("div",{style:{height:"25px"}}):""),c.default.createElement(a.default,{type:r,className:g&&""!==g?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onClick:this.changeType,autoComplete:"new-password",onChange:this.loginInputonChanges,value:this.state.password,style:{width:"100%",height:"38px"},placeholder:"输入8~16位密码,区分大小写"}),g&&""!==g?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},g)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement(a.default,{type:r,className:b&&""!==b?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onClick:this.changeType,autoComplete:"new-password",onChange:this.loginInputonChangess,value:this.state.passwords,style:{height:"38px",width:"100%"},placeholder:"再次输入新密码"}),b&&""!==b?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},b)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement("div",{className:"yslbutondls"},c.default.createElement(a.default,{className:v&&""!==v?" mr5 font-14 color-grey-9 loginInputzhucheyslass bor-reds":" mr5 font-14 color-grey-9 loginInputzhuche",type:"text",autoComplete:"off",style:{width:"210px",height:"38px"},placeholder:"请输入验证码",onChange:this.codesonChange,value:y}),void 0===u?c.default.createElement(o.default,{className:" ml5 ",disabled:!0,style:{width:"120px","text-align":"center",height:"45px"},size:"large"},"重新发送",l,"s"):!0===u?c.default.createElement(o.default,{className:" ml5 ",style:{width:"120px","text-align":"center",height:"45px"},type:"primary",disabled:P,onClick:function(){return s.getverificationcode()},size:"large"},"获取验证码"):c.default.createElement(o.default,{className:" ml5 ",style:{width:"120px","text-align":"center",height:"45px"},type:"primary",disabled:P,onClick:function(){return s.getverificationcode()},size:"large"},"重新发送")),v&&""!==v?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},v)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement(o.default,{size:"large",type:"primary",style:{height:"46px",width:"100%",marginBottom:"26px"},onClick:this.Retrievepassword},"完成"),c.default.createElement("p",{className:"clearfix mb20 textcenter"},c.default.createElement("a",{className:"startlogin color-blue",onClick:function(){return s.gobackshowbool()}},"返回登录注册")))))}}]),e}(l.Component);e.default=g},USIS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAK40lEQVRoQ9Wae4xU1R3HP+fcxzz2AYsgLKw8RFRAtJYaRZLWVDSiNrXBNcbER0yDjY+Y/kHtH03VpEkf/qPV2mpTo9EmDSuNhiakvgoGLagUE4WisLgLyLIs7mt2Z+Y+T3Puzh3uzt7ZXaxt4iZkMnfuzP38fuf7e5zfQfAV/SmFmM5PCYGazn1T3TOth6X9SBL0URArOhC0w/7tiONNiNWVL+0B5hdQK65C0QH721EPcxr+yxpyxuAxcAQLYmAPsieLmJVBNJmIBhMx0Dve+y1zUaM+quCj+h1UaxnVsppwP6eNOFMDpg2eBGY7srUJ0VPAaG1CzshzbibH1SiulIILELQJaJICpKCg4BjwCYJ3HYc3+wY53FMgbG0i6CmguIowXoXpGjAleBqwXcAotGGfLdlgKjYKweWAEILI1fpVQ+u/+DW6pj+TKAG7/ZBnOx22NB3Ddb+EAZOCx9C3dCDvbUd8dAjDKWLOy3O1BY8JOD8GTULra+OA6xvxqRuw6d8DvJnJ4686j+DpDtTmdkJt9GTerwseQ3eA1DoedTHNLI2zG/m1gLvGebji5QhYu1W/r8BHD6hZifhaRUpKwfPHijw02MdIg42v9d/O5PCp4Elo9mEMlDGtZubZoc4LfDNNElUvVyShYTVY/IBYPtUVio09bdS/hnzav+jjREsWn5UEk8FPAE+DJkNr1mSbgGW1kojfTymNypOqWk+sQmwMgoOjAetPnqRnKvhUcK3pdedGsWTJDE2WwTbg0vihFf1FQVir8aQBVbnUQMZBm/Z9BHtPOawv9FMAvDcOE2rN1+p9HLj2ts7P3wG5959YDTa2kecJqbizXhCmrUAskfizWOPR9RRP18pHSV7oOs6Doy7upWvwdjCWLpPwE8G3Y8xqwyj1Ys+awTWG5GVt0DhJVB4+DjCROSbouKLnVE9P1LqODeWE3Lyvm9dzc3H7jxE8fBVBKnjs7dY9GMMWdiYgn7V5RyqWJbNCraZjaczMLGdGZjmWbMYLBxhyPqQUdI8FZ5zDp/L4+NU4eOAkax2DYrOH27OaIOn1qscj8O0Yi8DsbSIzw+ZWCX9IFpOkJ8dSmcEFLfeyvOXHNNpLJrQ0A85ePhn4FZ8XN5+OhUqqjBwwmWwE+PCjj07wl7kFnG7wk16PwGu9nbPJGl6URS6rXfbYw1nzLNa1bWVOfs1UjRxHRzbzwck7UZSnpfFqloH3D42wvuRSrvV6FVwXmv3bsWa1YVujXIhgV+SUlDQmhckNS3YyJ6crPbjBEFJYmDJfNcINBjBEDkNmo2vdhZf44OTtqZkoLbtUVloNuVxxIuBA/zHcFVfh6dyutV4Ff3YPpk5/ozmyGY+NwC/rFZqVs+5jzfynIqBQ+bx8aAGN1hKuX7wruuaHRV49vICW7Gq+2/ZG1Zgdx6/mVOmtMfgpZBJ7PQj56acj/LGhRFmnx42r8avgjygk+zDngB245ITgWSG4qVbT8fvvL32PObnLIiClFG9/fisN1kK+NfexijEBO49voCVzCatmP1pdlcPDz/Bx/0Pj9V5rRI1BCl7pPMVGw6bUBy4r8R8RhELru6MDeeLSyOMZwyEf+ryO4qJqyU72GsBdKwpYRuOU2i64h+kafhFESMZowRQNlIMe+so7OFX+B3ozVPV8Mi0mngd83DXMNUGGIuDM24vfrgtSBA5ytAtrcJCsmSOvSnyMoqW2YMR5+PblveTMsycFPzz0IuWgl/Nn3ocpcxPuHXL3safvbgad9+rKJkoEgoHDRS7ySxRnzqTcsLii8zgNrjgP69hRcmYDeRXQKcBORPdYw1T5d92irSxqvrEueNew7sUCFjffOqlxQVhi54n1fFHeMQE+0c+7nYMs9Ucptp1Daf8hvCgtavB79mCuBssLyPkGDUpyUCrsetHe1ngNNyz5++mUk8ALQocPTm7i8nm/ja5+MvA0nUN/4rpFu9HZ6Eihg339P2fdObujYjXqdfPa0WUovHHwUXc85ii3s49lZsCoZVDaA94zOkA1uM4ow19g5xaS9QMacPhQUZFKpWBU29SK/q5sfZyL5zw4waPHCtsQwmBB47XRZ0cLr3JkZAtXznshMvRkcQcHh57kirkvVVPlzp7r6S3q703cgAgY6BzhG6bBaOkI5eazcKPMkgYeOmwTihXj0lZKT7F2/uOsmj0e/kD/75nfeC3N9tIpgze+YW/f/XQO/27crinR3+//bIT1qeC1UgkVTyH4Xm2fEQdnLKFlLbexbuGfGSgfiAKwyV7EZ0NbyFvzmJtfO23wd3s2cLz41+j+autc6W8UbO3u5/5UqegeJRmcfsDdKuDRehqPg3bV7Adwg0EODb0UpTbLaMASOZbOvI01rU9MC1x/f2vXOQRq5DR0YnV9wcMnhnkuNThr0yEOFzoub8Qlf5LtVmoxMYTFjUve5uz8FZPC6+K168QddI9ow09nrWgaMBaYaiRk3ZDPgdR0WFuAHIfGMGRztOtJ0Xa9fjt5b8aYybcXPMfi5h/UhX+/9z4ODT1dha6VIpK9Rwa4JZNhZEIB0jfXlnxL0FD0uDnUI4iU7dl0+wxtyNz8GpbMuIVZ2YuxZAMlvwddUZfOuIPdvT/k85FX6/brfsimwVFe9hSjE0r+WL8xlhLjJsv0yWPQ7BT5G7AkFfQMDKrdh+rfyxotZM3ZFLyD44ZHcUIQ8NmAw41uwLBvUkxtsuKyH7e1ul8JyjR4gu+GIc9ELUVaN5dyLQ2ytlmrZo/xPUk1j1e2bvcMFnjLyDKqZVK3rdWb5HjbpjcSwicfKhrKDr9Qig1fRuu1TVq9zXIyDWoHKcWWfpefScGoMinW3UjEcklu3WSWnBmSt3xmlQKeR7FyUvgpdu+1c5e0PigKTsm+gsNdRUW/LymGZUp1t25V8ITXDZNMziPn2uT9Im1ByHPA4qnGC6lSSU4FJpkGIOgqlLnbtzlmuxRLFqXAx5l0s5z0ejyeyOXJhiE5Q8Mr5nsOT0KlFUjMC+vpP87HlX6pquHa+ytzuv1lxQN+wPHApSglpVKR8pTjiaTXkwOh0CITWOSUT04pZjoeP0FxUxyw9SZX1ZycMHDcmCIu71JLmldGPH4jBIPCpGR4lKSHM+2BUAyfHMEVDWxhkjENshreD8iGsDZ02YRg0YSZYcqwKM2Iite7leCxEY93TIOyhvYDysrHyQe40x7BxeD6VbcB8aRWw2cltuORFXky0ierQnJ+yLVhSLuAVfGwKm1gFE8KKllFj9I+UoIO1+c1ISmFJmVVxMlYlMshroY+46FnPXhdnGjCCktkSpKM8MgIG8tWWF7IwiBAD1guEYLFumAKRb4CWhSCXgFdUvJhINglFUdcgadcPGXh5EIcmcOhgKe9PBV0HDOpvUTaYN8LMa0WLF9h22VsCZaG91ysjIHhGxgqQEqBCMVYyEmFChVKGIRmQOAEBJY9Bh2C52ZxTYHrDeBZEv+/GuzHltQ7Sgk8zMYGTBFgBQGmFWKWQkw7j/SKGEYGIf0x8NBEBQ7KyhO4RcKcxPckvmHgKwNvZBTfsPC/sqOUWnhdWePTNn14dWoWRiaP4esjFgfDsDFCE6kcZOghfTkGboYoaRGKDKH0CQOXwM8QmDa+UySY3U/wlR9eJTU02XGhn0UGGWQwglQlpG0gaK58e1iP6FAiR2g0EhoOoVkm/J8fF9YGwNfugLaeAfr61+JIvN525v/9nxD+A2viLnAOie98AAAAAElFTkSuQmCC"},ZxQ5:function(t,e,n){"use strict";n.r(e),e.default=n.p+"static/media/beijintulogontwo.41076faf.png"},bj5I:function(t,e,n){},c1iF:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ3MTE0ODA1ODFGMzExRTk5M0M5OUNFNjQ2MEU5RjQzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ3MTE0ODA2ODFGMzExRTk5M0M5OUNFNjQ2MEU5RjQzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDcxMTQ4MDM4MUYzMTFFOTkzQzk5Q0U2NDYwRTlGNDMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDcxMTQ4MDQ4MUYzMTFFOTkzQzk5Q0U2NDYwRTlGNDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SCWHBAAABG0lEQVR42tzUvUoDQRSG4V0RbZJISsGrEPyBWNikSWdh1kK8CNlKW4OIVkII7BaCEBKIEO/AThQRryCpBGtJJLFa34FvYLMMVmsKDzwMzM/hzBl2/SRJvDxiwcspcku0GMfxn1W0jCP0MMREhpo71J5fEx1ggH3co4qyVDUXKGkwczWNPq5Qwx5eHJUOpI1t3GATIRJb0Qkq2HIkaWCk0caTku3orOdHUWTGT+zizVHJN5YwRjGzto4HrNiKLtEyE45E5spfuM7Ml9DERbrZpuxHlbyROXCKgkYbpjfPOnOebrb5To7Vn76u2FXid+1ZU18CXSnUnplXs9FRorpe7wyrWvvAK+60PnU9fzrMhluZ/7fm/9/fyI8AAwADGEB8vIPBrQAAAABJRU5ErkJggg=="},dDhr:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjRGMjZDRTBBODFGMjExRTk5RThCQTk5RkJFOTAxMDY1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjRGMjZDRTBCODFGMjExRTk5RThCQTk5RkJFOTAxMDY1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEYyNkNFMDg4MUYyMTFFOTlFOEJBOTlGQkU5MDEwNjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEYyNkNFMDk4MUYyMTFFOTlFOEJBOTlGQkU5MDEwNjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7b5AIeAAAAsklEQVR42mL8//8/AzUAEwOVwKhBhAELMmfWrFm7gFQmEN8lQu/stLS0VFwuugnEx4FYi4AhS4HYCp/XcoH4NRBfBOJOINYBYgkgFgRiOSBOBOKrQBwFxNr4DHKH0g5ALAvEp4F4DRBvgBpeCMTNQHwIain2MAKCn0DcAsRHgVgc6kWQ7axA3AHEjEC8Aoi5gFgFn0EHkNjKQLwKiB9B+dOBOAbKnoceaIyjeW0IGgQQYABDsCGs3eczVAAAAABJRU5ErkJggg=="},gLWD:function(t,e,n){},p6FK:function(t,e,n){},qJVj:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=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},a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),s=n("q1tI"),i=m(s),r=m(n("wd/R")),l=n("sYIF");n("bj5I"),n("gLWD"),n("pb8e");var c=m(n("ZxQ5")),u=m(n("umUt")),d=m(n("0BMj")),h=m(n("MV/f"));m(n("dDhr"));function m(t){return t&&t.__esModule?t:{default:t}}c.default,c.default;var f={background:"url("+c.default+")",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"fixed",backgroundSize:"100% 100%",height:" 100%",width:" 100%",position:"absolute",top:"0px",bottom:"0px",minHeight:"100%",paddingTop:"40px"},p=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.Setlogins=function(t){console.log("96ye"),console.log(t),n.setState({logini:t})},n.gohome=function(){window.location.href="/"},n.Setshowbool=function(t,e,o){1===t?n.setState({showbool:1}):3===t&&n.setState({showbool:3})},"/changepassword"===t.match.url?n.state={showbool:3,logini:3,namezh:"",passmm:"",loginstatus:!0}:"/login"===t.match.url?n.state={showbool:1,loginstatus:!0,logini:1,namezh:"",passmm:""}:"/register"===t.match.url?n.state={showbool:1,loginstatus:!1,logini:2,namezh:"",passmm:""}:n.state={showbool:1,logini:1,namezh:"",passmm:"",loginstatus:!0},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t=this,e=this.state,n=e.showbool;e.loginstatus,e.logini;return i.default.createElement("div",{style:f,className:" clearfix"},i.default.createElement("div",null,i.default.createElement("div",{style:{display:"flex","justify-content":"center","align-items":"center",width:"100%"}},i.default.createElement("div",{style:{cursor:"pointer"}},null===this.props.mygetHelmetapi?"":void 0===this.props.mygetHelmetapi||null===this.props.mygetHelmetapi.login_logo_url||void 0===this.props.mygetHelmetapi.login_logo_url?i.default.createElement("img",{style:{cursor:"pointer"},onClick:function(){return t.gohome()},src:u.default}):i.default.createElement("img",{style:{cursor:"pointer"},onClick:function(){return t.gohome()},src:(0,l.getImageUrl)(this.props.mygetHelmetapi.login_logo_url)}))),1===n?i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"25px"}},i.default.createElement("div",null,i.default.createElement(d.default,o({},this.props,this.state,{Setshowbool:function(e){return t.Setshowbool(e)}})))):i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"25px"}},i.default.createElement("div",null,i.default.createElement(h.default,o({},this.props,this.state,{Setshowbool:function(e){return t.Setshowbool(e)}})))),null===this.props.mygetHelmetapi||void 0===this.props.mygetHelmetapi||null===this.props.mygetHelmetapi.main_site||void 0===this.props.mygetHelmetapi.main_site||!0===this.props.mygetHelmetapi.main_site?i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%"}},i.default.createElement("div",{className:"font-14 color-grey-9 ",style:{marginTop:"20px"}},i.default.createElement("span",{className:"font-18"},"©")," ",(0,r.default)().year()," EduCoder",i.default.createElement("span",{className:"ml15 mr15"},"湘ICP备17009477号"),i.default.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"   &   IntelliDE inside.")):""))}}]),e}(s.Component);e.default=p},umUt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAABcCAYAAABJANahAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjU2N0JGMzFGODFEOTExRTlBNzhGRjkzOThFQjI1RTE5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjU2N0JGMzIwODFEOTExRTlBNzhGRjkzOThFQjI1RTE5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTY3QkYzMUQ4MUQ5MTFFOUE3OEZGOTM5OEVCMjVFMTkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NTY3QkYzMUU4MUQ5MTFFOUE3OEZGOTM5OEVCMjVFMTkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz624EmMAAALb0lEQVR42uxdCZAdRRnuDQvBgmAeGKIpc7hbgoJ45AWMqCHorniAGqxdj/JKGTeiRuOR2hc1KBplF1HxKIpdSkTwwF1PlArGh6h4RMlb8KoIus9EBSJHnoajCBrW/2e+sZqunp7peW/f9Lzpv+qv3TfdPfNP99d////fx3TNzMyILGh5udyuRx1NzA9bQXwi8WLiRcQl4sOQ57/E+4lvJ95L/Efim4lrxLvbIeRUrSayom7RmfRiNPjpxKuJj0hQhkGxFP+vka7fSPxD4t8SX0fc6LTK6iQQzCXeSPwW4ie38L4ng5n+RXwl8afbpSHaQXM64B2eQnwxcZ14pMUAUGk+8QY86xvEL/MgyJYeRzxMvIv4HIzz7aIu4kHiHxBfTnyCB0H7iRtgGj0/a3oTDMnzPQjaQ0cRfx6q+CjHZKsQb4cX4kEwS7QMqv+dDsvYD2/i5R4EraezoXIX5UTe7xF/wruIraNXEH8rh0PtZhiQm70maI5eTfzdHBvebCd8wYMgPXHU7qoOcMPfQfxJDwJ74nj/t0Xn0PsxrHkQJKTHEN8k/Z7pECDwsHaqB0Ey+grxEuk3G1drib+Towa/TQRzGP9Qrn/NgyCezoI7KNN/RBCa5eu35AAAPC39bOLLiPcoaTxLeYUHQTQdQjypuX6P5MqeJNwIFZu02AnQBEx3aPK8QQSTXj5OoKEPiWA6WKV5sBPuhVbYDK/hAyII0fZE3I974V40xK3EdxP/UwSLRx5Ajz0I8DEfKYI1BccSLxTBbCRPUi0QQZDqcIPq50DWRcTblLT5EWW+RPwcVyq+y5GVRU8k/rshO1fYjoi0XhEsIFmCRuTVQdeLYLq3VbQAgDsOgDwAeW8FAA5qyjBo7gK4dLSO+IvhD7+ySIgLY9JPNYBgGjybdBd6+TaLMqsMAGD6sAyCotsErIoHY/JsgpeQJ3pvTPpiGJAeBCJYEhbXwI8XwaRMXojtljMS5PuUB0Hw/PdZuI/vzgEAXiiSzyA+l/j4ooNgNfETLPKzBX6lwwDYQly1LHN60UGQZvOBy9PfB1KUOa3oIHiBZf79CLa4ShfAPbWhNRHxkUKAYB7GTxv6oAiCPC7TOZb552Y9JGQJgpXEh1rkf0gEkTbXiec3/mZZZlVRQXCyZf6/EN+fExfxD22wjToCBE+zzH9bjuIEOy3zLywqCJZZ5r8jRyDYY5n/yKKC4Ng2uF9Zka3xekRRQTB/lkGTJc2zzH94UUFg++KLcgSCpZb5u4sKAtuFDD05AsFJs1wXHQOChyzzHyOCuYY80NMt8z9cVBDsT1Hm4zkAQDnF0HWgqCC4O0UZXmG0ynEQXJyizP1FBcGelOUuchgA7yI+JUW5+4oKgl0pyz1LuHkqyPOIP5uy7D1FBcFNTZTl3b4vcggA3PtvaKL874sKghuaLM9nC7qwyZOXvP26yXv8tKgg4GXcO5q8B2/yPDfD3v/NFtgoHGKuFhUETNcmzPegIe084l+J9i3M4KDVpej9rzLk491SSWIhPyb+d5FB8LuYdN7Zw4tPeI1+n4ieol2JyrwZoGj1Xj/ekjYMzcUbXdbFaLjXiGBH1OIEBvD2rMezrBdtXo/eclhE+ow03vK5wrwQZStcMd0kzTPAPET8Bmr2FyLYmsbPuFEkC9GGu4d469kZIvm5ApcTv0cEx9/KoHiqoczPswZB1pqAK2ssBqRnKtd44+oy4vEEYzZvWr0GnshGy/H+GmiVJAC4Fg29VgHA/Jjyf2qBUZl7EDDFhYI3aa7tI14vgm3gmxOo3NuhwpNO1FyYoIfeiXzPJ34JGlSlDTHadtgF/9YFEPB28VqMag536XCjy8vUufFHcP2lItiYolvkyRtJH7CUS7fJpQGP5I0wEDcpYOEdRadJWszUyLzV/moXQODKRo6NMXEDPvjprbAJjocRqGto5i40EO9f5ImcE6HabYmPx1kIUO1Gz+ft6KYQ70oMVez3v16YVwxd4EjdO3M+AdPXYVVH0TNF8OEJ7m08X3+JcIv42PuHAUTeS/BneAc6+qtQ1kdkeT6BS8fVvD0mfULSXnOEW9vRusHhPopLDABgerNL6HUJBDzeftSQfhwMLVa1PF37JIdkXwoX9mq4laZG/hnYgyCC+PQO02TK5yTDq+6Q3LthKywQ5r2ID8KAFR4EZoqbFOKJI97OftAhmUNZfiLMewheJxzcReUiCNhoOsuQPhcu5RLH5N4uzJ/B2SocPZDT1bON+dtCHzGksybgeYfVCe7FPv1rU8hwikgWZWR7gMPR/YY87KJucbSunT7l/Dz0nih6LMbfS4V+L18XDM0vI2ZgSxxc+gy8kmM06TwXwSHsW4T5kzdsLJ7pcD07/9EL7j18oOTbDHnWIb4wCav7XsQROFjTKxlutrQPfwfQyzmCuAOxAA4KnR3jBoaewBrH6zgXXz7hQx84amc6DIqNsbVgHR3aZN2E30PcYFH+qpTDkB8OIuh8WNZ5oS15AUCeQMDEYWUOHe9yWMb70Phbc1SvufsuIs8d8OEW5zoo2xWwQXL3yZ48fiGVDbOPiWC5mQsfyfqlCD5wwV9KvTOH9ZnrbyVfB8ubw7BxU3BpzkWOK7MXXgvPal6W43rsiK+mb4Ofzl8l5SVnurBsmpNADom4zmcs81mKvPh0rAPqLxcuYlL6PngLfPtXimBBCffoqRT34xVPvDaRv8XAoWyes/iqyMcneOxUXlaLSjz54cCTB4EnDwJPHgSePAg8eRB48iDw5EHgyZMnB6klH5xcvnw5b6kaws/61NTUeJ4qIe/yN0vdVAG8KdA0EVKjSlkfcx+uxHAHLs/ojbeoYXjHMctXkuUhrpBMrdy813L5Y95NrXN+n6om3xjeX1D6ioiy2vaSy8aCABVcdqxnjkk9U6U+cC3HnU+tc37fXk2+sqZtkrZXOWm76gzDhobbCYAJDQDqaPSG6EzqAfDTUFR7mdrwUWnqVHKDVMnRGWoAbvwB6dI4VGVDGSZKHQiEIXq3ccthLrK96Hq/Urf7wnpTy3SnaKhwTCpLvXQ0Iu+07sFAfdjYo5QWlpdP9pjU2SJ0ra48owTbYUACB4NmUgWQrfzS/Sck26QBrTQY3pvyDEuyTyLPEBqpN0FPDuWeiBgW3IkToBf+SBlregyGSkli43XcWz64oZJQnmlUeEm5P1/biUZMJT/y74QNUpLuzb+nka6+UxmAKCXUWHUAJxwWRrIGQYmEmFFY7p0T0otxb+hHY7VirC4rai7J1nNZHs4/CK5LDTzRhPxjEjBZY3Xh/mGjj0W8R6gtkqr29ZIMwwq4jAZmTHslcxEttUBZUmH9UIdVShNQyc26aaIJeVZI6rkGDRF6E9byI3+f5HZVMBxNUlod8vZEqPdedRgyEeele1YkUDFYV7QtTqB5AdVHrsqVKQVUGorv3izZHjoRKQ9rEarU/4+19H+f0mBJ5JfvX4ZhJav+KOBWbQAgyTxOzxjAc8sJe7SpvdJrghDxEeP7bFJNUXNDMZE7W3mazd8Oj2QQGqwEu6KRADyVZh86J2VPLRnGc5OVbXqZugKEyLER96pFyYP0knTvagr5a0rv7tJxKxEADVKRZGzLF+C6NRU8EoG2qhLcGOHrcLmGErg/fN/1yN8XkX9UMuR6YIFPSs8uwxV8xK2UVP4jwRaES1WDraZRk7HyM3Ck+/exqmZ7QKqnAQwrtQQdIHSJGUyDFsNCEttopFnt0K1RebqxqALjZVLy74cTjFtVqYKHEAwSUWoORldFMdIGlACSalVPaO4vg3BQMr5s5R+VZJkAKGRN0p8wrhLKNQD7xGZYiBuytO01a3ECoLiqqeioh1Y0RlfVZLwgcNRvMBQbYRp65mAEqOrwGOpp5Ycso5pYwKPkiKmzmpQvaZmGKYDVavqfAAMAZis5wIFsDFEAAAAASUVORK5CYII="},zUvC:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAKVUlEQVRoQ9WZa4xcZRnHf897zpyZ2Wm3tKVAS4OlAZStBAtWSMULoQJGQZG2ojGIkhSERL+AJEjSNjHxgn4xSAL1ghKIaWswaQjVFK8EQgCXWxtKa1kEu/Syt+7Ozsy5vK95z5kze+bszO4W8QPz5cycmXnP/3ne//N/Lq/wHr2MMTKXpUTEzOV3s/1mTg/rtEgW6NatyN69CBvg2D7iNccPJ9f5y4iBLunDsANWrcJs3pzcs693a8hJA08Bx2D7EAv0KCh/ERLOR8IRRFcS0OlLVTHuQow7jvGGMaeBtoas2jdlxMkaMGfgecCHRlBjDdTkMM6ZKzi7LHodmLVK5INKWK5gvgjWgnHgbcHsx8jTfqT27B/gjZ5FRAuK6JUL0e/GgFmBdwI8NIjjLsJbPC+63lVqk4i5RBkjIoKlsF20CRrVfIK9JvfFiJhnI8OD/zru/D4cxl+8lOhkDZgReAp640bUsduQt1/BmSziLHNZ52DuVWLOswBb4GJg7cDT77PGxPcSgr8ehebOlyedPT0NouUXEC25H7N9O3o2/ncF3gK9A2VpMeTheD7zel39YyVyk8QeTr2YXg3Kep0UvKDs+6zXM/+x4EWJ0ZqHjoyr7w55TCz2E+9v3zAz+I7A86CPVHEXllhaKLBDRF8UP9ACSEE0P7fup55PPZt+n/t96vl4N5T658ikbBgYZfD0CuFs4KcBz4MehEKlwBmV0OwWzLndtj5rRMLnxNPW/5Y+07k+tVupwSAHRrW6+tAE7yyFYCbwHYFbTh9ah7KeLpaZX1HsFtGrO/E0T5d2gE3wTU+3AjS/Y82daRra/2agrh4+znjs+T1oy/m8XLYBt962+vzXT6EGBnDdcbxiUf9MkK+nXM0rRt4Y+3lKQbJ0Soxo+y6jPq3/CUSG3xw47nw7nI+/YgXhp/+GtkkrC34a8I07UP3v4I45FE6BKz2XnWKswfanmeDLgsgCEJjnwekVmPBhuJalTRN4LkCtTqYOSAO2Hqn1L43ypwURweozCG2wdgSeenvXUhzLa6CnV5unFZxrpSn2VJa76fbHupXI2/JeuONS4dLl9veJTwZGDdv6DU+9ZZWmyfecoW2gm+sicqD/hFoLTFq+XzNIlPV6y+MWuPX2c/so2OQiLjcozANTmpuA66bTZ/XCr68VFhSnC5UxhnufMTx+cErj2xWoXVZTOgXGueXQEL+zSWpNH0HW6/FTst5++wSeW6bUI+YJEdZMC8jU60kWbOn0ts8LF53RPZ81QsNXHzMM1eInJnzv4PlsDBjhuZeHnM+GNerLe/GzXm8BT7kNFLWDrTeezSeZbjrdtwQe+WKcC2d8PfyyZlt/smtz8bhNTqN1dcnRcfYDjSzXW8Av34rzOnjuaRSVZpOD+eG0zNiWSKZ0+lsXw60Xz1r2cHDY8I1dKV1S8M1Mmw/Q5udQnLv2j7ItPErjPPD/spkornesi7ZsMWo7uEMrKTg1yl7Ag4K5rttWtoK1ueU/XSd8ZuXswANtuOJhgzFp5p3B800qaaMee7Uqm6IytcWHCDZCuGWLaImDciOq/xO4liYnNOWywx7BfLib5ubv/+oaWLNsduDW4Kse1VT9bPVoewpBdSnOjMirLx5V63oVNjoaq/9BGCeklppUKSifYgQ9pmH2irCwGw/ztcqO6+H8U+cGfMNOzeGJfLqfXlFmEtLIaxPOKgcmtUdjTaWpLha45ffBXgqqREnX6VEuh8B4LSnM6ngufVvt3v2VKd2eLUDve07z6Kud6vUu4JX4+46olarEpK5TP+cEQczzFPjrS/FUlZI2VJTLQRHjdUoM2QbBfv+dj80tMFODBicMX9oxvdmYKsoyZUKcncXfe0Sdo4SqrlA/b7AZoBb4R2/BHbyYQgpcXF4SzMKsTrdnz2SrLdd3fRnOXTQ3mqTgb/yD5sBIvpZPSoN8naOQkX1H1YUp8KUvEDz/AGHs8Txw47JbQV+6UNKNTE8YNls++bWTA23X+kW/5hexnnfImG0JLn7yvv3H1NUdgccanqGKdrhPYa5tq6djHzc90nzghj74weUnD/yFQcNtT3TmdFK7T3VRxrDrwJBze0eq5IMzVNwssDXPu7zK3L0WPvkBWFCE0ypzM+DptwznnwpXPpqjxbTkloD3I9n81qj6ZcfgjIurjBw26nxIDE8212qrCrPgb70I/jwA3/wIbOybHfiEb7jyEcPdlwlb/t49+WR4bsbq6opReK2jHOYTEB4Vx2cnsDqpWm16TzwQb2MmWVhDzj4FHr9B8JyZxfD+55MSN69MWa5nHWNE+g9Mynp8qtMSUKeUbwIqJmS9wE9SKC3w+QKpuS3f+7j1fHevWxn8wnbwoxnmLrl6pa7VHYdr7JQC1WkpPy1rs0WWFnqiOr0Ij1uHToGfqsezsnXPZXDzDKDT/785Zli/0xDozvV31vMIb7w5qj7nlDihDJMdi6w07duWLa1XxKGHkCuU4sHmmCR+ftrBJ+8T+lQ8WD4fik7cL+JHSdtWLkClQEwhW1gN1wzD9dlB2+qvFsimIz5PmojJFk0yLVzXRgJN2WgqRvg+hvVZ9ibJZ4qrrWYj1fpuc5cWFdo7obT1S2c1WsvOwarcI4oqilrXRiKlS7Z1s1Wi9boKWYjwW2BVO/hUzprB2qWezs8QkyYiG+Bp0CerC7L3eENurBtGUm93bd1S4HY0kTbLbkTRRJTrAT2Oy5mieQhY0RF8fhSXn1zljWrtSC4JIQMjodxUrfOfUoFJcaiFDo0Zm+Ws19PxRKFGCaEsRcpRwDIRfg70ZcEnw0tbDmSo05wItCWsDH2mtYBx/8++MV9uD4TDpkENQy0oU591PJH1enYgNEHcypWBslYsEM1dCNelARvzO6Pz2Zlip0ZkWo0vYuP2sbEGP9KaMaCmFbV50JjzQKjl9cwIzqvgVTVFp0FJXEpBSEnBZQJ3ZqmTdDBT3M2O4qbUKF+Hy0CgufdEwFMFl7oJqUdF6hVFw6/iz3kElwK3Vxuodrxsh0MlKEw28FRAKZBY9ez0pIzDVcawUeCCmB1tw852kFPKYxtd80pkZPuk5o8moBZBo2Bo6AL1niJ+HYKTHnp2Am+HnyWXwqSP5xTxfCvZEV4kFByhgOEsrVkrDheKYYUSTleYSrIDVBGOCAwIvBjAM5Hm35EhcAxB5OB70Iga+D0efj0keFdj5jTwOg32q5O4ZaFQ9/EKikJogUd4WuO6CkcrHGPVLkKM1TzLf43BsQNLtNJEoSZSitACdg1BoAlKHn7NEFR6CP+nwf408LmjlJ4Gbk1RCEJcr4gbRbiRwvECHG1QFrxxmsCjJmhB+wUiRxM5DqHfICy4hGVNMFkkfM+OUvLg0+PB+FhlEKdWwZlfxPFdnNDBCWs45TIqqqIseErNFepxmaCdCrpWQ7tlIjci8kKi8QZRuUr0nh9eZfV6puPCYAlqQYTSRSS013runLOEcR20amDGHHThGPr/flyYr7Dfdwe03Qyw998XR+J5A/Kx0O379P7JHn13W++/QpxXZquwQhQAAAAASUVORK5CYII="}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[39],{"0BMj":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=v(n("2/Rp")),a=v(n("kaz8")),s=v(n("5rEg")),i=v(n("BvKs")),r=v(n("TeRw")),l=v(n("ZTPi")),c=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("L/Qf"),n("MKzF"),n("1vPl"),n("2WkQ"),n("O+I2"),n("AUBz");var u=n("q1tI"),d=v(u),h=n("sYIF"),m=v(n("dDhr")),f=v(n("c1iF")),p=v(n("vDqi")),g=v(n("Cy8O")),b=v(n("t6uJ"));function v(t){return t&&t.__esModule?t:{default:t}}n("sczo"),n("p6FK");l.default.TabPane;var y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.changeType=function(){n.setState({classpass:"password"})},n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.componentDidMount=function(){var t=n.IsPC();n.setState({isphone:t});var e=n.IsPC();"/login"===n.props.match.url?n.setState({tab:["0"]}):"/register"===n.props.match.url&&n.setState({tab:["1"]}),n.setState({pciphone:e})},n.openNotification=function(t,e){r.default.open({message:"提示",description:t,onClick:function(){}})},n.openNotifications=function(t){r.default.open({message:"提示",description:t,onClick:function(){}})},n.StudyMakeMoney=function(){n.setState({login:"",password:"",logins:"",passwords:"",codes:""});try{n.props.Setshowbool(3)}catch(t){}},n.onTabChange=function(t){},n.onAutoLoginChange=function(t){n.setState({autoLogin:t.target.checked})},n.isCorrectname=function(t,e){if(1===e){if(0===t.length)return void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1})}else if(2===e&&0===t.length)return void n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1});n.Emailphonenumberverification(t,e)},n.onReadAgreementChange=function(t){n.setState({readAgreement:t.target.checked})},n.dragOkCallback=function(){if(n.setState({Phonenumberisnotcosytdhk:void 0}),0!==n.state.logins.length){var t=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(n.state.logins)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),void n.Emailphonenumberverification(n.state.logins,2)):(t="手机号格式不正确",n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n.state.logins)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0}),void n.Emailphonenumberverification(n.state.logins,2)):(t=-1!=n.state.logins.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotcos:t,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})))}n.setState({Phonenumberisnotcos:"账号不能为空",Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.onChange=function(t){n.setState({Agreetotheterms:t.target.checked})},n.postLogin=function(){if(void 0!==n.state.login&&""!=n.state.login)if(void 0!==n.state.password&&""!=n.state.password){p.default.post("/accounts/login.json",{login:n.state.login,password:n.state.password}).then((function(t){if(void 0!==t)if(-2!==t.data.status){if(200===t.status)if(402===t.data.status)window.location.href=t.data.url;else{(0,h.broadcastChannelPostMessage)("refreshPage"),n.setState({isRender:!1});var e=JSON.parse(window.sessionStorage.getItem("yslgeturls"));void 0===e&&(e="/"),null===e&&(e="/"),"null"===e&&(e="/"),window.location.href=e}}else{if("该手机号尚未注册"===t.data.message||"该邮箱尚未注册"===t.data.message)return void n.setState({Phonenumberisnotco:t.data.message});if("错误的账号或密码"===t.data.message)return void n.setState({Phonenumberisnotcodmms:t.data.message});if("违反平台使用规范,账号已被锁定"===t.data.message)return void n.setState({Phonenumberisnotco:t.data.message});if("登录密码出错已达上限,账号已被锁定, 请10分钟后重新登录或找回密码"===t.data.message){var o=d.default.createElement("div",null,d.default.createElement("p",null,"登录密码出错已达上限,账号已被锁定;"),d.default.createElement("p",{className:"mt10"},"请10分钟后重新登录或",d.default.createElement("a",{href:"https://www.trustie.net/account/lost_password",style:{textDecoration:"underline",color:"#4CACFF"}},"找回密码")));return void n.openNotifications(o)}n.openNotification(t.data.message)}})).catch((function(t){}))}else n.setState({Phonenumberisnotcodmm:"密码不能为空"});else n.setState({Phonenumberisnotco:"账号不能为空"})},n.postregistered=function(){if(void 0!==n.state.logins&&""!==n.state.logins&&0!==n.state.logins.length)if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(void 0!==n.state.codes&&""!=n.state.codes&&0!==n.state.codes.length)if(void 0!==n.state.passwords&&""!=n.state.passwords&&0!==n.state.passwords.length)if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length<8)n.setState({Phonenumberisnotcosymmm:"密码不能少于8位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length>16)n.setState({Phonenumberisnotcosymmm:"密码不能超过16位"});else if(!1!==n.state.Agreetotheterms){var t=void 0;t=n.props.weixinlogin?"/weapps/register.json":"/accounts/register.json",p.default.post(t,{login:n.state.logins,password:n.state.passwords,code:n.state.codes}).then((function(t){if(t){if(-2===t.data.status)return"验证码不正确"===t.data.message||"验证码已失效"===t.data.message?void n.setState({Phonenumberisnotcosyzm:"验证码不正确"}):void n.openNotification(t.data.message);n.setMyEduCoderModals()}})).catch((function(t){}))}else n.openNotification("请同意服务协议条款",2);else n.setState({Phonenumberisnotcosymmm:"密码不能为空"});else n.setState({Phonenumberisnotcosyzm:"验证码不能为空"});else n.setState({Phonenumberisnotcosytdhk:"请拖动滑块完成验证",dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});else n.setState({Phonenumberisnotcos:"账号不能为空",Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.Emailphonenumberverification=function(t,e){p.default.get("/accounts/valid_email_and_phone.json",{params:{login:t,type:1}}).then((function(t){if(t)if(-2===t.data.status){if(1===e)return void("该手机号码或邮箱已被注册"===t.data.message?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,dragOk:!0}):n.setState({Phonenumberisnotco:t.data.message,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}));if(2===e)return void n.setState({Phonenumberisnotcos:t.data.message,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})}else{if(1===e)return void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,dragOk:!0});if(2===e)return void n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,dragOk:!0})}})).catch((function(t){}))},n.SMSverification=function(){var t=n.state.logins;p.default.get("/accounts/get_verification_code.json",{params:{login:n.state.logins,type:1,smscode:(0,h.setmiyah)(t)}}).then((function(t){1===t.data.status?n.openNotification("验证码已发送,请注意查收"):-2===t.data.status&&n.openNotification(t.data.message)})).catch((function(t){}))},n.Showandhide=function(t){!0===n.state.classpassbool?n.setState({passopens:f.default,classpass:"text",classpassbool:!1}):n.setState({passopens:m.default,classpass:"password",classpassbool:!0})},n.getverificationcode=function(){if(void 0!==n.state.logins&&0!==n.state.logins.length){if(!0===n.state.Phonenumberisnotcobool)return n.openNotification(n.state.Phonenumberisnotcos),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(!0===n.state.getverificationcodes){n.setState({getverificationcodes:void 0});var t=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(t),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else{n.setState({getverificationcodes:void 0});var e=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(e),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else n.openNotification("请拖动滑块验证")}else n.openNotification("请输入手机号或邮箱")},n.loginInputonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;0===t.target.value.length?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,Phonenumberisnotcodmms:void 0,login:e}):n.setState({login:e,Phonenumberisnotco:void 0,Phonenumberisnotcodmms:void 0})},n.inputOnBlur=function(t,e){n.Emailphonenumberverification(t.target.value,1)},n.inputOnBlurzhuche=function(t,e){if(0!==t.target.value.length){var o=void 0;if(!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t.target.value))return o="手机号格式不正确",n.setState({Phonenumberisnotcos:o,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t.target.value)?(n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1}),void n.Emailphonenumberverification(t.target.value,e)):(o=-1!=t.target.value.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotcos:o,Phonenumberisnotcobool:!0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}));n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1})}else n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1})},n.passwordonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({password:e,Phonenumberisnotcodmm:void 0,Phonenumberisnotcodmms:void 0})},n.loginInputonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;0===t.target.value.length?n.setState({Phonenumberisnotcos:void 0,Phonenumberisnotcobool:!1,logins:e,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify}):n.setState({logins:e,Phonenumberisnotcos:void 0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.passwordonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({passwords:e,Phonenumberisnotcosymmm:void 0})},n.codesonChange=function(t){n.setState({codes:t.target.value,Phonenumberisnotcosyzm:void 0})},n.changeTab=function(t){n.setState({tab:t.key}),0===t.key?n.setState({Phonenumberisnotcos:void 0}):n.setState({Phonenumberisnotco:void 0})},n.loginonkeyup=function(t){if(32==t.keyCode)return!1},n.setNotcompleteds=function(){n.setState({Notcompleteds:!0,MyEduCoderModals:!1,registered:void 0})},n.setMyEduCoderModals=function(){n.setState({MyEduCoderModals:!0,registered:"注册成功"})},n.openweixinlogin=function(){n.setState({weixinlogin:!0})},n.hideweixinlogin=function(){n.setState({weixinlogin:!1,qqlogin:!1,tab:["0"]})},n.openqqlogin=function(){n.setState({qqlogin:!0}),window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code"},n.openphoneqqlogin=function(){window.open("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code")},!0===t.loginstatus&&(n.state={tab:["0"],classpass:"text",passopens:f.default,seconds:60,discodeBtn:!1,clearInterval:!1,autoLogin:!0,classpassbool:!1,readAgreement:!1,getverificationcodes:!0,dragOk:!1,Agreetotheterms:!0,login:"",password:"",logins:"",passwords:"",codes:"",Phonenumberisnotco:void 0,Phonenumberisnotcos:void 0,Phonenumberisnotcosyzm:void 0,Phonenumberisnotcosymmm:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosyfwtk:void 0,Phonenumberisnotcodmm:void 0,Phonenumberisnotcobool:!1,Whethertoverify:!1,pciphone:!0,MyEduCoderModals:!1,registered:void 0,Phonenumberisnotcodmms:void 0,weixinlogin:!1,qqlogin:!1}),!1===t.loginstatus&&(n.state={tab:["1"],classpass:"text",passopens:f.default,seconds:60,discodeBtn:!1,clearInterval:!1,autoLogin:!0,classpassbool:!1,readAgreement:!1,getverificationcodes:!0,dragOk:!1,Agreetotheterms:!0,login:"",password:"",logins:"",passwords:"",codes:"",Phonenumberisnotco:void 0,Phonenumberisnotcos:void 0,Phonenumberisnotcosyzm:void 0,Phonenumberisnotcosymmm:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosyfwtk:void 0,Phonenumberisnotcobool:!1,Phonenumberisnotcodmm:void 0,Whethertoverify:!1,pciphone:!0,MyEduCoderModals:!1,registered:void 0,Phonenumberisnotcodmms:void 0,weixinlogin:!1,qqlogin:!1}),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),c(e,[{key:"render",value:function(){var t=this,e=this.state,r=e.autoLogin,l=(e.classpass,e.passopens),c=e.seconds,u=e.getverificationcodes,h=e.Agreetotheterms,m=e.Phonenumberisnotco,f=e.Phonenumberisnotcos,p=e.codes,v=e.tab,y=(e.dragOk,e.Whethertoverify),w=e.classpassbool,E=e.Phonenumberisnotcosytdhk,P=e.Phonenumberisnotcosyzm,A=e.Phonenumberisnotcosymmm,S=e.Phonenumberisnotcodmm,k=(e.readAgreement,e.pciphone),x=e.Phonenumberisnotcodmms,O=e.weixinlogin;return this.state.seconds,d.default.createElement("div",{className:this.props.weixinlogin?"weixinregister":"login_register_content login_register_contents"},d.default.createElement("style",null,"\n .login_register_contents, .login_register_contents .ant-tabs-tabpane {\n display: flex;\n justify-content: center;\n }\n "),d.default.createElement("div",null,!1===O&&void 0===this.props.weixinlogin?d.default.createElement(i.default,{mode:"horizontal",selectedKeys:v,onClick:this.changeTab,className:"mt20"},d.default.createElement(i.default.Item,{key:"0",className:0===v?"active font-18":"font-18"}," 登录"),d.default.createElement(i.default.Item,{key:"1",className:1===v?"active font-18 ":"font-18 ",style:{marginLeft:"10px"}},"注册")):"",!1===O&&0==parseInt(v[0])&&d.default.createElement("div",{style:{width:"340px"}},d.default.createElement("style",null,'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-box-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tposition: relative;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 4px 11px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 38px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tline-height: 1.5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-image: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder: 1px solid #d9d9d9;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-o-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttransition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t .loginInputzhuche{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff!important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 45px !important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 5px;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\n '),d.default.createElement(s.default,{placeholder:"请输入登录手机号码或邮箱",value:this.state.login,onChange:this.loginInputonChange,name:"username",className:m&&""!==m?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onBlur:function(e){return t.inputOnBlur(e,1)},style:{marginTop:"30px",height:"38px"},onPressEnter:function(){return t.postLogin()}}),m&&""!=m?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},m)):d.default.createElement("div",{style:{height:"25px"}}),d.default.createElement(s.default,{type:"password",name:"password",id:"password",value:this.state.password,onChange:this.passwordonChange,onPressEnter:function(){return t.postLogin()},className:S&&""!==S?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",placeholder:"密码"}),S&&""!=S?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},S)):void 0===x?d.default.createElement("div",{style:{height:"25px"}}):"",x&&""!=x?d.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},x)):"",d.default.createElement("div",{className:"left_right font-12 ",style:{color:"#676767"}},d.default.createElement(a.default,{onChange:this.onAutoLoginChange,checked:r},"下次自动登录"),d.default.createElement("a",{onClick:function(){return t.StudyMakeMoney()},className:"mr3 color-grey-9 mt3 font-12"},"找回密码")),d.default.createElement(o.default,{className:"login_btn font-16",type:"primary",style:{height:"46px"},onClick:function(){return t.postLogin()},size:"large"},"登录"),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?!0===this.state.isphone?d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openweixinlogin()}},d.default.createElement("img",{src:n("USIS"),alt:"微信登录"})),d.default.createElement("a",{onClick:function(){return t.openqqlogin()},className:"ml10"},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openphoneqqlogin()}},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):""),!1===O&&1==parseInt(v[0])&&d.default.createElement("div",{style:{width:"340px"}},d.default.createElement(s.default,{placeholder:"请使用手机号/邮箱账号进行注册",className:f&&""!==f?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",value:this.state.logins,type:"text",autoComplete:"off",onChange:this.loginInputonChanges,style:{marginTop:"30px",height:"38px",color:"#999999",fontSize:"14px"}}),f&&""!==f?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},f)):d.default.createElement("div",{style:{height:"25px"}}),!0===this.state.MyEduCoderModals?d.default.createElement(b.default,{modalsType:this.state.MyEduCoderModals,registered:this.state.registered,setNotcompleteds:function(){t.setNotcompleteds()}}):"",!1===y&&!0===k?d.default.createElement(g.default,{dragOkCallback:this.dragOkCallback}):"",!0===y&&!0===k?d.default.createElement(g.default,{dragOkCallback:this.dragOkCallback}):"",d.default.createElement("div",null,!0===k?E&&""!==E?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},E)):d.default.createElement("div",{style:{height:"25px"}}):""),d.default.createElement("div",{className:"yslbutondls"},d.default.createElement(s.default,{className:P&&""!==P?" mr5 font-14 color-grey-9 loginInputzhucheyslass bor-reds":" mr5 font-14 color-grey-9 loginInputzhuche",name:"codes",type:"text",autoComplete:"off",readonly:!0,onfocus:"this.removeAttribute('readonly')",style:{width:"210px",height:"38px"},placeholder:"请输入验证码",onChange:this.codesonChange,value:p}),void 0===u?d.default.createElement(o.default,{className:" ml5 font-14",disabled:!0,style:{width:"120px","text-align":"center",height:"45px"},size:"large"},"重新发送",c,"s"):!0===u?d.default.createElement(o.default,{className:" ml5 font-14",type:"primary",style:{width:"120px","text-align":"center",height:"45px"},onClick:function(){return t.getverificationcode()},size:"large"},"获取验证码"):d.default.createElement(o.default,{className:" ml5 font-14 ",type:"primary",style:{width:"120px","text-align":"center",height:"45px"},onClick:function(){return t.getverificationcode()},size:"large"},"重新发送")),d.default.createElement("div",null,P&&""!==P?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},P)):d.default.createElement("div",{style:{height:"25px"}})),d.default.createElement("style",null,"\n .ant-input-affix-wrapper .ant-input-suffix {\n right: 12px;\n height: 20px;\n }\n .mymimasysl {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-right: none !important;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input-group-addon{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;s\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.ant-input-group .ant-input:hover {\n z-index: 0 !important;\n }\n "),d.default.createElement(s.default,{placeholder:"输入8~16位密码,区分大小写",type:!1===w?"text":"password",className:A&&"mymimasysl"!==A?" font-14 color-grey-9 loginInputzhucheysl mymimasysl":" font-14 color-grey-9 loginInputzhuche mymimasysl",autoComplete:"new-password",onClick:this.changeType,value:this.state.passwords,onChange:this.passwordonChanges,addonAfter:d.default.createElement("img",{className:"mt5",src:l,onClick:function(e){return t.Showandhide(e)}})}),A&&""!==A?d.default.createElement("p",{className:"color-red mt5 mb5 ",style:{width:" 100%",height:"20px"}},d.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},A)):d.default.createElement("div",{style:{height:"25px"}}),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?d.default.createElement(a.default,{onChange:this.onChange,checked:h},d.default.createElement("span",{className:"font-14 ",style:{color:"#676767"}},"我已阅读并同意",d.default.createElement("span",null,d.default.createElement("a",{href:"https://forge.educoder.net/help?index=4",target:"_blank",className:"color-blue"},"《服务协议条款》")))):"",d.default.createElement(o.default,{className:" font-16 mb20",type:"primary",style:this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?{height:"46px",width:"100%",marginTop:"26px"}:{height:"46px",width:"100%"},onClick:function(){return t.postregistered()},size:"large"},this.props.weixinlogin?"注册并绑定":"注册"),this.props.mygetHelmetapi&&!0===this.props.mygetHelmetapi.main_site?!0===this.state.isphone?d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openweixinlogin()}},d.default.createElement("img",{src:n("USIS"),alt:"微信登录"})),d.default.createElement("a",{onClick:function(){return t.openqqlogin()},className:"ml10"},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):d.default.createElement("p",{className:"clearfix mb10 textcenter"},d.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),d.default.createElement("div",{className:"mt10"},d.default.createElement("a",{onClick:function(){return t.openphoneqqlogin()}},d.default.createElement("img",{src:n("zUvC"),alt:"qq登录"})))):""),!0===O?d.default.createElement("iframe",{className:"weixinheight390 mt20",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,"+window.location.host+"#wechat_redirect"}):"",!0===O?d.default.createElement("p",{className:"clearfix mb20 textcenter"},d.default.createElement("a",{className:"startlogin color-blue",onClick:function(){return t.hideweixinlogin()}},"返回登录注册")):""))}}]),e}(u.Component);e.default=y},"0guT":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(n("kLXV")),a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("k3Gp");var s=n("q1tI"),i=r(s);n("sYIF"),r(n("vDqi"));function r(t){return t&&t.__esModule?t:{default:t}}n("sczo");var l=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.setDownload=function(){window.location.href="/login"},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"render",value:function(){var t=this;return i.default.createElement(o.default,{keyboard:!1,closable:!1,footer:null,destroyOnClose:!0,title:"提示",centered:!0,visible:void 0!==this.props.modalsType&&this.props.modalsType,width:"530px"},i.default.createElement("div",{className:"educouddiv tabeltext-alignleft"},i.default.createElement("div",{className:"tabeltext-alignleft mb20"},i.default.createElement("p",null,"密码已重置,请重新登录")),i.default.createElement("a",{className:"task-btn task-btn-orange bth100",onClick:function(){return t.setDownload()}},"知道啦")))}}]),e}(s.Component);e.default=l},Cy8O:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o,a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),s=n("q1tI"),i=(o=s)&&o.__esModule?o:{default:o};n("DD7N");var r=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.state={isMove:!1,start:0,moveLength:0,clear:!1,move:0,width:0},t.onMouseUp=t.onMouseUp.bind(t),t.onMouseDown=t.onMouseDown.bind(t),t.onMouseMove=t.onMouseMove.bind(t),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){document.getElementById("dragHandler").addEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(t){console.log("28"),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp);var e=t||window.event;this.setState({isMove:!0,start:e.pageX})}},{key:"onMouseUp",value:function(t){console.log("38");var e=t||window.event;this.setState({isMove:!1});var n=window.getComputedStyle(this.verifyDOM),o=window.getComputedStyle(this.handlerDOM),a=e.clientX-this.verifyDOM.offsetLeft-Number.parseInt(o.width)/2,s=Number.parseInt(n.width)-Number.parseInt(o.width);console.log("moveLength="+a),console.log("maxWidth="+s),a<=s&&(this.setState({move:0,width:0}),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp)),this.props.onDrag&&this.props.onDrag(this.state.clear)}},{key:"onMouseMove",value:function(t){console.log("63");var e=t||window.event,n=window.getComputedStyle(this.verifyDOM),o=window.getComputedStyle(this.handlerDOM),a=e.clientX-this.verifyDOM.offsetLeft-Number.parseInt(o.width)/2,s=Number.parseInt(n.width)-Number.parseInt(o.width);this.state.isMove&&(a<0?a=0:a>=s&&(a=s,this.removeMouseMove()),this.setState({move:a,width:a}))}},{key:"removeMouseMove",value:function(){this.setState({clear:!0}),document.getElementById("dragHandler").removeEventListener("mousedown",this.onMouseDown),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),this.props.dragOkCallback()}},{key:"render",value:function(){var t=this;return i.default.createElement("div",{id:"drag",className:"nl-drag-verify",ref:function(e){t.verifyDOM=e},style:{color:this.state.clear?"#fff":"#252535"}},i.default.createElement("div",{className:"drag_bg",ref:function(e){t.bgDOM=e},style:{width:this.state.width}}),i.default.createElement("div",{className:"drag_text"},this.state.clear?"验证通过":"拖动滑块验证"),i.default.createElement("div",{id:"dragHandler",className:this.state.clear?"handler handler_ok_bg":"handler handler_bg",style:{left:this.state.move},ref:function(e){t.handlerDOM=e}}))}}]),e}(s.Component);e.default=r},DD7N:function(t,e,n){},"MV/f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=f(n("2/Rp")),a=f(n("5rEg")),s=f(n("TeRw")),i=f(n("ZTPi")),r=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}();n("L/Qf"),n("1vPl"),n("O+I2"),n("AUBz");var l=n("q1tI"),c=f(l),u=(n("eO8H"),n("sYIF")),d=f(n("Cy8O")),h=f(n("0guT")),m=f(n("vDqi"));function f(t){return t&&t.__esModule?t:{default:t}}n("sczo"),n("p6FK");i.default.TabPane;var p={width:" 100%",height:"40px"},g=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.IsPC=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,o=0;o<e.length;o++)if(t.indexOf(e[o])>0){n=!1;break}return n},n.componentDidMount=function(){var t=n.IsPC();n.setState({pciphone:t})},n.openNotification=function(t){s.default.open({message:"提示",description:t,onClick:function(){console.log("Notification Clicked!")}})},n.StudyMakeMoney=function(){n.props.Setshowbool(1)},n.changeType=function(){n.setState({classpass:"password"})},n.changeTypey=function(){},n.getverificationcode=function(){if(void 0!==n.state.login&&0!==n.state.login.length){if(!1===n.state.Phonenumberisnotcobool)return n.openNotification(n.state.Phonenumberisnotco),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(!0===n.state.getverificationcodes){n.setState({getverificationcodes:void 0});var t=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(t),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else{n.setState({getverificationcodes:void 0});var e=setInterval((function(){n.setState((function(t){return{seconds:t.seconds-1}}),(function(){0==n.state.seconds&&(clearInterval(e),n.setState({getverificationcodes:!1,seconds:60}))}))}),1e3);n.SMSverification()}else n.openNotification("拖动滑块验证")}else n.openNotification("请输入手机号或邮箱")},n.SMSverification=function(){var t=n.state.login;m.default.get("/accounts/get_verification_code.json",{params:{login:n.state.login,type:2,smscode:(0,u.setmiyah)(t)}}).then((function(t){1===t.data.status?n.openNotification("验证码已发送,请注意查收"):-2===t.data.status&&n.openNotification(t.data.message)})).catch((function(t){console.log(t)}))},n.cancelReadOnly=function(){n.setState({readonlyInput:!1})},n.Retrievepassword=function(){if(!1===n.state.Phonenumberisnotcobool&&void 0!==n.state.Phonenumberisnotco)return n.openNotification(n.state.Phonenumberisnotco),void n.setState({Whethertoverify:!0!==n.state.Whethertoverify});if(void 0!==n.state.login&&0!==n.state.login.length&&""!==n.state.login)if(!0!==n.state.pciphone||!1!==n.state.dragOk)if(void 0!==n.state.password&&0!==n.state.password.length&&""!==n.state.password)if(void 0!==n.state.passwords&&0!==n.state.passwords.length&&""!==n.state.passwords)if(n.state.password!==n.state.passwords!=="")if(void 0!==n.state.password&&n.state.password.length>0&&n.state.password.length<8)n.setState({Phonenumberisnotcosmmm:"密码不能少于8位"});else if(void 0!==n.state.password&&n.state.password.length>0&&n.state.password.length>16)n.setState({Phonenumberisnotcosmmm:"密码不能超过16位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length<8)n.setState({Phonenumberisnotcosymmmm:"二次密码不能少于8位"});else if(void 0!==n.state.passwords&&n.state.passwords.length>0&&n.state.passwords.length>16)n.setState({Phonenumberisnotcosymmmm:"二次密码不能超过16位"});else if(void 0!==n.state.codes&&0!==n.state.codes.length&&""!==n.state.codes){m.default.post("/accounts/reset_password.json",{login:n.state.login,code:n.state.codes,new_password:n.state.password,new_password_confirmation:n.state.passwords}).then((function(t){if(t){if(-2===t.data.status)return"验证码不正确"===t.data.message||"验证码已失效"===t.data.message?void n.setState({Phonenumberisnotcosyzm:"验证码不正确"}):"1小时内同一手机号发送次数超过限制"===t.data.message?(n.setState({boolyzm:!0}),void n.openNotification(t.data.message)):void n.openNotification(t.data.message);n.setState({modalsType:!0})}})).catch((function(t){}))}else n.setState({Phonenumberisnotcosyzm:"验证码不能为空"});else n.openNotification("两次输入的密码不一致");else n.setState({Phonenumberisnotcosymmmm:"二次密码不能为空"});else n.setState({Phonenumberisnotcosmmm:"密码不能为空"});else n.setState({Phonenumberisnotcosytdhk:"请拖动滑块完成验证",dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});else n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.openNotification=function(t){s.default.open({message:"提示",description:t,onClick:function(){console.log("Notification Clicked!")}})},n.loginInputonChange=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({login:e,Phonenumberisnotco:void 0,dragOk:!1,boolyzm:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.loginInputonChanges=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({password:e,Phonenumberisnotcosmmm:void 0})},n.loginInputonChangess=function(t){var e;t.target.value.length>0?e=t.target.value.replace(/\s*/g,""):e=t.target.value;n.setState({passwords:e,Phonenumberisnotcosymmmm:void 0})},n.codesonChange=function(t){n.setState({codes:t.target.value,Phonenumberisnotcosyzm:void 0})},n.inputOnBlur=function(t){n.isCorrectname(t.target.value)},n.isCorrectname=function(t){if(console.log(t.length),0!==t.length){var e=void 0;if(!/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t))return e="手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)?void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}):(e=-1!=t.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),void n.Emailphonenumberverification(t));n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0})}else n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0})},n.inputOnBlurzhuche=function(t){if(!1===n.state.pciphone){if(""===n.state.login||0===n.state.login.length)return void n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify});var e=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(t.target.value)?void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}):(e="手机号格式不正确",n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t.target.value)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0}),void n.Emailphonenumberverification(t.target.value)):(e=-1!=t.target.value.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotco:e,Phonenumberisnotcobool:!1})))}},n.dragOkCallback=function(){if(console.log(n.state.login),n.setState({Phonenumberisnotcosytdhk:void 0}),""!==n.state.login&&0!==n.state.login.length){var t=void 0;return/^[1][3,4,5,6,7,8,9][0-9]{9}$/.test(n.state.login)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,Phonenumberisnotcosytdhk:void 0,dragOk:!0}),void n.Emailphonenumberverification(n.state.login)):(t="手机号格式不正确",n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,Phonenumberisnotcosytdhk:void 0,dragOk:!0}),/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(n.state.login)?(n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,dragOk:!0}),void n.Emailphonenumberverification(n.state.login)):(t=-1!=n.state.login.indexOf("@")==!0?"邮箱格式不正确":"手机号格式不正确",void n.setState({Phonenumberisnotco:t,Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})))}n.setState({Phonenumberisnotco:"账号不能为空",Phonenumberisnotcobool:!1,Phonenumberisnotcosytdhk:void 0,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})},n.Emailphonenumberverification=function(t){m.default.get("/accounts/valid_email_and_phone.json",{params:{login:t,type:2}}).then((function(e){if(e)return-2===e.data.status?(console.log(t.length),void n.setState({Phonenumberisnotco:e.data.message,Phonenumberisnotcobool:!1,dragOk:!1,Whethertoverify:!0!==n.state.Whethertoverify})):void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!0,dragOk:!0})})).catch((function(t){console.log(t)}))},n.gobackshowbool=function(){n.props.history.push("/login"),n.props.Setshowbool(1)},n.state={login:"",password:"",passwords:"",seconds:60,codes:"",getverificationcodes:!0,Phonenumberisnotcobool:!0,Phonenumberisnotco:void 0,Phonenumberisnotcosytdhk:void 0,Phonenumberisnotcosmmm:void 0,Phonenumberisnotcosymmmm:void 0,Phonenumberisnotcosyzm:void 0,s:"text",classpass:"text",readonlyInput:!0,dragOk:!1,Whethertoverify:!1,modalsType:!1,pciphone:!0,boolyzm:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"render",value:function(){var t,e,n,s=this,i=this.state,r=(i.autoLogin,i.readAgreement,i.dragOk,i.login,i.password,i.passwords,i.classpass),l=i.seconds,u=i.getverificationcodes,m=i.Phonenumberisnotco,f=i.Phonenumberisnotcosytdhk,g=i.Phonenumberisnotcosmmm,b=i.Phonenumberisnotcosymmmm,v=i.Phonenumberisnotcosyzm,y=(i.readonlyInput,i.codes),w=i.Whethertoverify,E=i.pciphone,P=i.boolyzm;return c.default.createElement("div",{className:"login_register_content"},c.default.createElement(h.default,{modalsType:this.state.modalsType,StudyMakeMoney:function(){return s.StudyMakeMoney()}}),c.default.createElement(a.default,{type:"text",name:"username",value:"namename",style:{height:"0",width:"0",border:"none",display:"none"}}),c.default.createElement(a.default,{type:"password",name:"password",id:"password",value:"123123123",style:{height:"0",width:"0",border:"none",display:"none"}}),c.default.createElement("style",null,"\n\n .login_section .section_header {\n margin-bottom: 16px;\n font-size: 18px;\n width: 100%;\n text-align: center;\n border-bottom: 1px solid rgb(234, 234, 234);\n height: 69px;\n color: #05101A;\n line-height: 69px;\n }\n\t\t\t\t\t\t\t\t.loginInputzhuche{\n\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\tbackground-color: #fff!important;\n\t\t\t\t\t\t\t\t\theight: 45px !important;\n\t\t\t\t\t\t\t\t\tpadding: 5px;\n\n\t\t\t\t\t\t\t\t}\n "),c.default.createElement("div",{className:"login_sectionysl"},c.default.createElement("div",{className:"section_header font-18",style:{color:"#05101A",marginTop:"10px"}},"找回密码"),c.default.createElement("div",{style:{width:"340px"}},c.default.createElement("style",null,'\n .ant-input {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-box-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbox-sizing: border-box;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmargin: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 0;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlist-style: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tposition: relative;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpadding: 4px 11px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twidth: 100%;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\theight: 38px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfont-size: 14px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tline-height: 1.5;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolor: rgba(0, 0, 0, 0.65);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-color: #fff;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbackground-image: none;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder: 1px solid #d9d9d9;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tborder-radius: 4px;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-webkit-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t-o-transition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttransition: all .3s;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'),c.default.createElement(a.default,(t={style:p,type:"text",autoComplete:"off",onClick:this.changeTypey,className:m&&""!==m?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",placeholder:"输入注册手机号或邮箱",value:this.state.login,onChange:this.loginInputonChange},n={marginTop:"10px",height:"38px"},(e="style")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t)),m&&""!==m?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},m)):c.default.createElement("div",{style:{height:"25px"}}),!1===w&&!0===E?c.default.createElement(d.default,{dragOkCallback:this.dragOkCallback}):"",!0===w&&!0===E?c.default.createElement(d.default,{dragOkCallback:this.dragOkCallback}):"",c.default.createElement("div",null,!0===E?f&&""!==f?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},f)):c.default.createElement("div",{style:{height:"25px"}}):""),c.default.createElement(a.default,{type:r,className:g&&""!==g?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onClick:this.changeType,autoComplete:"new-password",onChange:this.loginInputonChanges,value:this.state.password,style:{width:"100%",height:"38px"},placeholder:"输入8~16位密码,区分大小写"}),g&&""!==g?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},g)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement(a.default,{type:r,className:b&&""!==b?" color-grey-9 loginInputzhucheyslass bor-reds":" color-grey-9 loginInputzhuche",onClick:this.changeType,autoComplete:"new-password",onChange:this.loginInputonChangess,value:this.state.passwords,style:{height:"38px",width:"100%"},placeholder:"再次输入新密码"}),b&&""!==b?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},b)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement("div",{className:"yslbutondls"},c.default.createElement(a.default,{className:v&&""!==v?" mr5 font-14 color-grey-9 loginInputzhucheyslass bor-reds":" mr5 font-14 color-grey-9 loginInputzhuche",type:"text",autoComplete:"off",style:{width:"210px",height:"38px"},placeholder:"请输入验证码",onChange:this.codesonChange,value:y}),void 0===u?c.default.createElement(o.default,{className:" ml5 ",disabled:!0,style:{width:"120px","text-align":"center",height:"45px"},size:"large"},"重新发送",l,"s"):!0===u?c.default.createElement(o.default,{className:" ml5 ",style:{width:"120px","text-align":"center",height:"45px"},type:"primary",disabled:P,onClick:function(){return s.getverificationcode()},size:"large"},"获取验证码"):c.default.createElement(o.default,{className:" ml5 ",style:{width:"120px","text-align":"center",height:"45px"},type:"primary",disabled:P,onClick:function(){return s.getverificationcode()},size:"large"},"重新发送")),v&&""!==v?c.default.createElement("p",{className:"color-red mt5 mb5",style:{width:" 100%",height:"20px"}},c.default.createElement("span",{className:"fl",style:{textAlign:"left",width:" 100%"}},v)):c.default.createElement("div",{style:{height:"25px"}}),c.default.createElement(o.default,{size:"large",type:"primary",style:{height:"46px",width:"100%",marginBottom:"26px"},onClick:this.Retrievepassword},"完成"),c.default.createElement("p",{className:"clearfix mb20 textcenter"},c.default.createElement("a",{className:"startlogin color-blue",onClick:function(){return s.gobackshowbool()}},"返回登录注册")))))}}]),e}(l.Component);e.default=g},USIS:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAK40lEQVRoQ9Wae4xU1R3HP+fcxzz2AYsgLKw8RFRAtJYaRZLWVDSiNrXBNcbER0yDjY+Y/kHtH03VpEkf/qPV2mpTo9EmDSuNhiakvgoGLagUE4WisLgLyLIs7mt2Z+Y+T3Puzh3uzt7ZXaxt4iZkMnfuzP38fuf7e5zfQfAV/SmFmM5PCYGazn1T3TOth6X9SBL0URArOhC0w/7tiONNiNWVL+0B5hdQK65C0QH721EPcxr+yxpyxuAxcAQLYmAPsieLmJVBNJmIBhMx0Dve+y1zUaM+quCj+h1UaxnVsppwP6eNOFMDpg2eBGY7srUJ0VPAaG1CzshzbibH1SiulIILELQJaJICpKCg4BjwCYJ3HYc3+wY53FMgbG0i6CmguIowXoXpGjAleBqwXcAotGGfLdlgKjYKweWAEILI1fpVQ+u/+DW6pj+TKAG7/ZBnOx22NB3Ddb+EAZOCx9C3dCDvbUd8dAjDKWLOy3O1BY8JOD8GTULra+OA6xvxqRuw6d8DvJnJ4686j+DpDtTmdkJt9GTerwseQ3eA1DoedTHNLI2zG/m1gLvGebji5QhYu1W/r8BHD6hZifhaRUpKwfPHijw02MdIg42v9d/O5PCp4Elo9mEMlDGtZubZoc4LfDNNElUvVyShYTVY/IBYPtUVio09bdS/hnzav+jjREsWn5UEk8FPAE+DJkNr1mSbgGW1kojfTymNypOqWk+sQmwMgoOjAetPnqRnKvhUcK3pdedGsWTJDE2WwTbg0vihFf1FQVir8aQBVbnUQMZBm/Z9BHtPOawv9FMAvDcOE2rN1+p9HLj2ts7P3wG5959YDTa2kecJqbizXhCmrUAskfizWOPR9RRP18pHSV7oOs6Doy7upWvwdjCWLpPwE8G3Y8xqwyj1Ys+awTWG5GVt0DhJVB4+DjCROSbouKLnVE9P1LqODeWE3Lyvm9dzc3H7jxE8fBVBKnjs7dY9GMMWdiYgn7V5RyqWJbNCraZjaczMLGdGZjmWbMYLBxhyPqQUdI8FZ5zDp/L4+NU4eOAkax2DYrOH27OaIOn1qscj8O0Yi8DsbSIzw+ZWCX9IFpOkJ8dSmcEFLfeyvOXHNNpLJrQ0A85ePhn4FZ8XN5+OhUqqjBwwmWwE+PCjj07wl7kFnG7wk16PwGu9nbPJGl6URS6rXfbYw1nzLNa1bWVOfs1UjRxHRzbzwck7UZSnpfFqloH3D42wvuRSrvV6FVwXmv3bsWa1YVujXIhgV+SUlDQmhckNS3YyJ6crPbjBEFJYmDJfNcINBjBEDkNmo2vdhZf44OTtqZkoLbtUVloNuVxxIuBA/zHcFVfh6dyutV4Ff3YPpk5/ozmyGY+NwC/rFZqVs+5jzfynIqBQ+bx8aAGN1hKuX7wruuaHRV49vICW7Gq+2/ZG1Zgdx6/mVOmtMfgpZBJ7PQj56acj/LGhRFmnx42r8avgjygk+zDngB245ITgWSG4qVbT8fvvL32PObnLIiClFG9/fisN1kK+NfexijEBO49voCVzCatmP1pdlcPDz/Bx/0Pj9V5rRI1BCl7pPMVGw6bUBy4r8R8RhELru6MDeeLSyOMZwyEf+ryO4qJqyU72GsBdKwpYRuOU2i64h+kafhFESMZowRQNlIMe+so7OFX+B3ozVPV8Mi0mngd83DXMNUGGIuDM24vfrgtSBA5ytAtrcJCsmSOvSnyMoqW2YMR5+PblveTMsycFPzz0IuWgl/Nn3ocpcxPuHXL3safvbgad9+rKJkoEgoHDRS7ySxRnzqTcsLii8zgNrjgP69hRcmYDeRXQKcBORPdYw1T5d92irSxqvrEueNew7sUCFjffOqlxQVhi54n1fFHeMQE+0c+7nYMs9Ucptp1Daf8hvCgtavB79mCuBssLyPkGDUpyUCrsetHe1ngNNyz5++mUk8ALQocPTm7i8nm/ja5+MvA0nUN/4rpFu9HZ6Eihg339P2fdObujYjXqdfPa0WUovHHwUXc85ii3s49lZsCoZVDaA94zOkA1uM4ow19g5xaS9QMacPhQUZFKpWBU29SK/q5sfZyL5zw4waPHCtsQwmBB47XRZ0cLr3JkZAtXznshMvRkcQcHh57kirkvVVPlzp7r6S3q703cgAgY6BzhG6bBaOkI5eazcKPMkgYeOmwTihXj0lZKT7F2/uOsmj0e/kD/75nfeC3N9tIpgze+YW/f/XQO/27crinR3+//bIT1qeC1UgkVTyH4Xm2fEQdnLKFlLbexbuGfGSgfiAKwyV7EZ0NbyFvzmJtfO23wd3s2cLz41+j+autc6W8UbO3u5/5UqegeJRmcfsDdKuDRehqPg3bV7Adwg0EODb0UpTbLaMASOZbOvI01rU9MC1x/f2vXOQRq5DR0YnV9wcMnhnkuNThr0yEOFzoub8Qlf5LtVmoxMYTFjUve5uz8FZPC6+K168QddI9ow09nrWgaMBaYaiRk3ZDPgdR0WFuAHIfGMGRztOtJ0Xa9fjt5b8aYybcXPMfi5h/UhX+/9z4ODT1dha6VIpK9Rwa4JZNhZEIB0jfXlnxL0FD0uDnUI4iU7dl0+wxtyNz8GpbMuIVZ2YuxZAMlvwddUZfOuIPdvT/k85FX6/brfsimwVFe9hSjE0r+WL8xlhLjJsv0yWPQ7BT5G7AkFfQMDKrdh+rfyxotZM3ZFLyD44ZHcUIQ8NmAw41uwLBvUkxtsuKyH7e1ul8JyjR4gu+GIc9ELUVaN5dyLQ2ytlmrZo/xPUk1j1e2bvcMFnjLyDKqZVK3rdWb5HjbpjcSwicfKhrKDr9Qig1fRuu1TVq9zXIyDWoHKcWWfpefScGoMinW3UjEcklu3WSWnBmSt3xmlQKeR7FyUvgpdu+1c5e0PigKTsm+gsNdRUW/LymGZUp1t25V8ITXDZNMziPn2uT9Im1ByHPA4qnGC6lSSU4FJpkGIOgqlLnbtzlmuxRLFqXAx5l0s5z0ejyeyOXJhiE5Q8Mr5nsOT0KlFUjMC+vpP87HlX6pquHa+ytzuv1lxQN+wPHApSglpVKR8pTjiaTXkwOh0CITWOSUT04pZjoeP0FxUxyw9SZX1ZycMHDcmCIu71JLmldGPH4jBIPCpGR4lKSHM+2BUAyfHMEVDWxhkjENshreD8iGsDZ02YRg0YSZYcqwKM2Iite7leCxEY93TIOyhvYDysrHyQe40x7BxeD6VbcB8aRWw2cltuORFXky0ierQnJ+yLVhSLuAVfGwKm1gFE8KKllFj9I+UoIO1+c1ISmFJmVVxMlYlMshroY+46FnPXhdnGjCCktkSpKM8MgIG8tWWF7IwiBAD1guEYLFumAKRb4CWhSCXgFdUvJhINglFUdcgadcPGXh5EIcmcOhgKe9PBV0HDOpvUTaYN8LMa0WLF9h22VsCZaG91ysjIHhGxgqQEqBCMVYyEmFChVKGIRmQOAEBJY9Bh2C52ZxTYHrDeBZEv+/GuzHltQ7Sgk8zMYGTBFgBQGmFWKWQkw7j/SKGEYGIf0x8NBEBQ7KyhO4RcKcxPckvmHgKwNvZBTfsPC/sqOUWnhdWePTNn14dWoWRiaP4esjFgfDsDFCE6kcZOghfTkGboYoaRGKDKH0CQOXwM8QmDa+UySY3U/wlR9eJTU02XGhn0UGGWQwglQlpG0gaK58e1iP6FAiR2g0EhoOoVkm/J8fF9YGwNfugLaeAfr61+JIvN525v/9nxD+A2viLnAOie98AAAAAElFTkSuQmCC"},ZxQ5:function(t,e,n){"use strict";n.r(e),e.default=n.p+"static/media/beijintulogontwo.41076faf.png"},bj5I:function(t,e,n){},c1iF:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjQ3MTE0ODA1ODFGMzExRTk5M0M5OUNFNjQ2MEU5RjQzIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjQ3MTE0ODA2ODFGMzExRTk5M0M5OUNFNjQ2MEU5RjQzIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NDcxMTQ4MDM4MUYzMTFFOTkzQzk5Q0U2NDYwRTlGNDMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NDcxMTQ4MDQ4MUYzMTFFOTkzQzk5Q0U2NDYwRTlGNDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6SCWHBAAABG0lEQVR42tzUvUoDQRSG4V0RbZJISsGrEPyBWNikSWdh1kK8CNlKW4OIVkII7BaCEBKIEO/AThQRryCpBGtJJLFa34FvYLMMVmsKDzwMzM/hzBl2/SRJvDxiwcspcku0GMfxn1W0jCP0MMREhpo71J5fEx1ggH3co4qyVDUXKGkwczWNPq5Qwx5eHJUOpI1t3GATIRJb0Qkq2HIkaWCk0caTku3orOdHUWTGT+zizVHJN5YwRjGzto4HrNiKLtEyE45E5spfuM7Ml9DERbrZpuxHlbyROXCKgkYbpjfPOnOebrb5To7Vn76u2FXid+1ZU18CXSnUnplXs9FRorpe7wyrWvvAK+60PnU9fzrMhluZ/7fm/9/fyI8AAwADGEB8vIPBrQAAAABJRU5ErkJggg=="},dDhr:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjRGMjZDRTBBODFGMjExRTk5RThCQTk5RkJFOTAxMDY1IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjRGMjZDRTBCODFGMjExRTk5RThCQTk5RkJFOTAxMDY1Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEYyNkNFMDg4MUYyMTFFOTlFOEJBOTlGQkU5MDEwNjUiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEYyNkNFMDk4MUYyMTFFOTlFOEJBOTlGQkU5MDEwNjUiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7b5AIeAAAAsklEQVR42mL8//8/AzUAEwOVwKhBhAELMmfWrFm7gFQmEN8lQu/stLS0VFwuugnEx4FYi4AhS4HYCp/XcoH4NRBfBOJOINYBYgkgFgRiOSBOBOKrQBwFxNr4DHKH0g5ALAvEp4F4DRBvgBpeCMTNQHwIain2MAKCn0DcAsRHgVgc6kWQ7axA3AHEjEC8Aoi5gFgFn0EHkNjKQLwKiB9B+dOBOAbKnoceaIyjeW0IGgQQYABDsCGs3eczVAAAAABJRU5ErkJggg=="},gLWD:function(t,e,n){},p6FK:function(t,e,n){},qJVj:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=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},a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),s=n("q1tI"),i=m(s),r=m(n("wd/R")),l=n("sYIF");n("bj5I"),n("gLWD"),n("pb8e");var c=m(n("ZxQ5")),u=m(n("umUt")),d=m(n("0BMj")),h=m(n("MV/f"));m(n("dDhr"));function m(t){return t&&t.__esModule?t:{default:t}}c.default,c.default;var f={background:"url("+c.default+")",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundAttachment:"fixed",backgroundSize:"100% 100%",height:" 100%",width:" 100%",position:"absolute",top:"0px",bottom:"0px",minHeight:"100%",paddingTop:"40px"},p=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.Setlogins=function(t){console.log("96ye"),console.log(t),n.setState({logini:t})},n.gohome=function(){window.location.href="/"},n.Setshowbool=function(t,e,o){1===t?n.setState({showbool:1}):3===t&&n.setState({showbool:3})},"/changepassword"===t.match.url?n.state={showbool:3,logini:3,namezh:"",passmm:"",loginstatus:!0}:"/login"===t.match.url?n.state={showbool:1,loginstatus:!0,logini:1,namezh:"",passmm:""}:"/register"===t.match.url?n.state={showbool:1,loginstatus:!1,logini:2,namezh:"",passmm:""}:n.state={showbool:1,logini:1,namezh:"",passmm:"",loginstatus:!0},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var t=this,e=this.state,n=e.showbool;e.loginstatus,e.logini;return i.default.createElement("div",{style:f,className:" clearfix"},i.default.createElement("div",null,i.default.createElement("div",{style:{display:"flex","justify-content":"center","align-items":"center",width:"100%"}},i.default.createElement("div",{style:{cursor:"pointer"}},null===this.props.mygetHelmetapi?"":void 0===this.props.mygetHelmetapi||null===this.props.mygetHelmetapi.login_logo_url||void 0===this.props.mygetHelmetapi.login_logo_url?i.default.createElement("img",{style:{cursor:"pointer"},onClick:function(){return t.gohome()},src:u.default}):i.default.createElement("img",{style:{cursor:"pointer"},onClick:function(){return t.gohome()},src:(0,l.getImageUrl)(this.props.mygetHelmetapi.login_logo_url)}))),1===n?i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"25px"}},i.default.createElement("div",null,i.default.createElement(d.default,o({},this.props,this.state,{Setshowbool:function(e){return t.Setshowbool(e)}})))):i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%",marginTop:"25px"}},i.default.createElement("div",null,i.default.createElement(h.default,o({},this.props,this.state,{Setshowbool:function(e){return t.Setshowbool(e)}})))),null===this.props.mygetHelmetapi||void 0===this.props.mygetHelmetapi||null===this.props.mygetHelmetapi.main_site||void 0===this.props.mygetHelmetapi.main_site||!0===this.props.mygetHelmetapi.main_site?i.default.createElement("div",{style:{display:"flex",justifyContent:"center",width:"100%"}},i.default.createElement("div",{className:"font-14 color-grey-9 ",style:{marginTop:"20px"}},i.default.createElement("span",{className:"font-18"},"©")," ",(0,r.default)().year()," EduCoder",i.default.createElement("span",{className:"ml15 mr15"},"湘ICP备17009477号"),i.default.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"   &   IntelliDE inside.")):""))}}]),e}(s.Component);e.default=p},umUt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIEAAABcCAYAAABJANahAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjU2N0JGMzFGODFEOTExRTlBNzhGRjkzOThFQjI1RTE5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjU2N0JGMzIwODFEOTExRTlBNzhGRjkzOThFQjI1RTE5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NTY3QkYzMUQ4MUQ5MTFFOUE3OEZGOTM5OEVCMjVFMTkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NTY3QkYzMUU4MUQ5MTFFOUE3OEZGOTM5OEVCMjVFMTkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz624EmMAAALb0lEQVR42uxdCZAdRRnuDQvBgmAeGKIpc7hbgoJ45AWMqCHorniAGqxdj/JKGTeiRuOR2hc1KBplF1HxKIpdSkTwwF1PlArGh6h4RMlb8KoIus9EBSJHnoajCBrW/2e+sZqunp7peW/f9Lzpv+qv3TfdPfNP99d////fx3TNzMyILGh5udyuRx1NzA9bQXwi8WLiRcQl4sOQ57/E+4lvJ95L/Efim4lrxLvbIeRUrSayom7RmfRiNPjpxKuJj0hQhkGxFP+vka7fSPxD4t8SX0fc6LTK6iQQzCXeSPwW4ie38L4ng5n+RXwl8afbpSHaQXM64B2eQnwxcZ14pMUAUGk+8QY86xvEL/MgyJYeRzxMvIv4HIzz7aIu4kHiHxBfTnyCB0H7iRtgGj0/a3oTDMnzPQjaQ0cRfx6q+CjHZKsQb4cX4kEwS7QMqv+dDsvYD2/i5R4EraezoXIX5UTe7xF/wruIraNXEH8rh0PtZhiQm70maI5eTfzdHBvebCd8wYMgPXHU7qoOcMPfQfxJDwJ74nj/t0Xn0PsxrHkQJKTHEN8k/Z7pECDwsHaqB0Ey+grxEuk3G1drib+Towa/TQRzGP9Qrn/NgyCezoI7KNN/RBCa5eu35AAAPC39bOLLiPcoaTxLeYUHQTQdQjypuX6P5MqeJNwIFZu02AnQBEx3aPK8QQSTXj5OoKEPiWA6WKV5sBPuhVbYDK/hAyII0fZE3I974V40xK3EdxP/UwSLRx5Ajz0I8DEfKYI1BccSLxTBbCRPUi0QQZDqcIPq50DWRcTblLT5EWW+RPwcVyq+y5GVRU8k/rshO1fYjoi0XhEsIFmCRuTVQdeLYLq3VbQAgDsOgDwAeW8FAA5qyjBo7gK4dLSO+IvhD7+ySIgLY9JPNYBgGjybdBd6+TaLMqsMAGD6sAyCotsErIoHY/JsgpeQJ3pvTPpiGJAeBCJYEhbXwI8XwaRMXojtljMS5PuUB0Hw/PdZuI/vzgEAXiiSzyA+l/j4ooNgNfETLPKzBX6lwwDYQly1LHN60UGQZvOBy9PfB1KUOa3oIHiBZf79CLa4ShfAPbWhNRHxkUKAYB7GTxv6oAiCPC7TOZb552Y9JGQJgpXEh1rkf0gEkTbXiec3/mZZZlVRQXCyZf6/EN+fExfxD22wjToCBE+zzH9bjuIEOy3zLywqCJZZ5r8jRyDYY5n/yKKC4Ng2uF9Zka3xekRRQTB/lkGTJc2zzH94UUFg++KLcgSCpZb5u4sKAtuFDD05AsFJs1wXHQOChyzzHyOCuYY80NMt8z9cVBDsT1Hm4zkAQDnF0HWgqCC4O0UZXmG0ynEQXJyizP1FBcGelOUuchgA7yI+JUW5+4oKgl0pyz1LuHkqyPOIP5uy7D1FBcFNTZTl3b4vcggA3PtvaKL874sKghuaLM9nC7qwyZOXvP26yXv8tKgg4GXcO5q8B2/yPDfD3v/NFtgoHGKuFhUETNcmzPegIe084l+J9i3M4KDVpej9rzLk491SSWIhPyb+d5FB8LuYdN7Zw4tPeI1+n4ieol2JyrwZoGj1Xj/ekjYMzcUbXdbFaLjXiGBH1OIEBvD2rMezrBdtXo/eclhE+ow03vK5wrwQZStcMd0kzTPAPET8Bmr2FyLYmsbPuFEkC9GGu4d469kZIvm5ApcTv0cEx9/KoHiqoczPswZB1pqAK2ssBqRnKtd44+oy4vEEYzZvWr0GnshGy/H+GmiVJAC4Fg29VgHA/Jjyf2qBUZl7EDDFhYI3aa7tI14vgm3gmxOo3NuhwpNO1FyYoIfeiXzPJ34JGlSlDTHadtgF/9YFEPB28VqMag536XCjy8vUufFHcP2lItiYolvkyRtJH7CUS7fJpQGP5I0wEDcpYOEdRadJWszUyLzV/moXQODKRo6NMXEDPvjprbAJjocRqGto5i40EO9f5ImcE6HabYmPx1kIUO1Gz+ft6KYQ70oMVez3v16YVwxd4EjdO3M+AdPXYVVH0TNF8OEJ7m08X3+JcIv42PuHAUTeS/BneAc6+qtQ1kdkeT6BS8fVvD0mfULSXnOEW9vRusHhPopLDABgerNL6HUJBDzeftSQfhwMLVa1PF37JIdkXwoX9mq4laZG/hnYgyCC+PQO02TK5yTDq+6Q3LthKywQ5r2ID8KAFR4EZoqbFOKJI97OftAhmUNZfiLMewheJxzcReUiCNhoOsuQPhcu5RLH5N4uzJ/B2SocPZDT1bON+dtCHzGksybgeYfVCe7FPv1rU8hwikgWZWR7gMPR/YY87KJucbSunT7l/Dz0nih6LMbfS4V+L18XDM0vI2ZgSxxc+gy8kmM06TwXwSHsW4T5kzdsLJ7pcD07/9EL7j18oOTbDHnWIb4wCav7XsQROFjTKxlutrQPfwfQyzmCuAOxAA4KnR3jBoaewBrH6zgXXz7hQx84amc6DIqNsbVgHR3aZN2E30PcYFH+qpTDkB8OIuh8WNZ5oS15AUCeQMDEYWUOHe9yWMb70Phbc1SvufsuIs8d8OEW5zoo2xWwQXL3yZ48fiGVDbOPiWC5mQsfyfqlCD5wwV9KvTOH9ZnrbyVfB8ubw7BxU3BpzkWOK7MXXgvPal6W43rsiK+mb4Ofzl8l5SVnurBsmpNADom4zmcs81mKvPh0rAPqLxcuYlL6PngLfPtXimBBCffoqRT34xVPvDaRv8XAoWyes/iqyMcneOxUXlaLSjz54cCTB4EnDwJPHgSePAg8eRB48iDw5EHgyZMnB6klH5xcvnw5b6kaws/61NTUeJ4qIe/yN0vdVAG8KdA0EVKjSlkfcx+uxHAHLs/ojbeoYXjHMctXkuUhrpBMrdy813L5Y95NrXN+n6om3xjeX1D6ioiy2vaSy8aCABVcdqxnjkk9U6U+cC3HnU+tc37fXk2+sqZtkrZXOWm76gzDhobbCYAJDQDqaPSG6EzqAfDTUFR7mdrwUWnqVHKDVMnRGWoAbvwB6dI4VGVDGSZKHQiEIXq3ccthLrK96Hq/Urf7wnpTy3SnaKhwTCpLvXQ0Iu+07sFAfdjYo5QWlpdP9pjU2SJ0ra48owTbYUACB4NmUgWQrfzS/Sck26QBrTQY3pvyDEuyTyLPEBqpN0FPDuWeiBgW3IkToBf+SBlregyGSkli43XcWz64oZJQnmlUeEm5P1/biUZMJT/y74QNUpLuzb+nka6+UxmAKCXUWHUAJxwWRrIGQYmEmFFY7p0T0otxb+hHY7VirC4rai7J1nNZHs4/CK5LDTzRhPxjEjBZY3Xh/mGjj0W8R6gtkqr29ZIMwwq4jAZmTHslcxEttUBZUmH9UIdVShNQyc26aaIJeVZI6rkGDRF6E9byI3+f5HZVMBxNUlod8vZEqPdedRgyEeele1YkUDFYV7QtTqB5AdVHrsqVKQVUGorv3izZHjoRKQ9rEarU/4+19H+f0mBJ5JfvX4ZhJav+KOBWbQAgyTxOzxjAc8sJe7SpvdJrghDxEeP7bFJNUXNDMZE7W3mazd8Oj2QQGqwEu6KRADyVZh86J2VPLRnGc5OVbXqZugKEyLER96pFyYP0knTvagr5a0rv7tJxKxEADVKRZGzLF+C6NRU8EoG2qhLcGOHrcLmGErg/fN/1yN8XkX9UMuR6YIFPSs8uwxV8xK2UVP4jwRaES1WDraZRk7HyM3Ck+/exqmZ7QKqnAQwrtQQdIHSJGUyDFsNCEttopFnt0K1RebqxqALjZVLy74cTjFtVqYKHEAwSUWoORldFMdIGlACSalVPaO4vg3BQMr5s5R+VZJkAKGRN0p8wrhLKNQD7xGZYiBuytO01a3ECoLiqqeioh1Y0RlfVZLwgcNRvMBQbYRp65mAEqOrwGOpp5Ycso5pYwKPkiKmzmpQvaZmGKYDVavqfAAMAZis5wIFsDFEAAAAASUVORK5CYII="},zUvC:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAKVUlEQVRoQ9WZa4xcZRnHf897zpyZ2Wm3tKVAS4OlAZStBAtWSMULoQJGQZG2ojGIkhSERL+AJEjSNjHxgn4xSAL1ghKIaWswaQjVFK8EQgCXWxtKa1kEu/Syt+7Ozsy5vK95z5kze+bszO4W8QPz5cycmXnP/3ne//N/Lq/wHr2MMTKXpUTEzOV3s/1mTg/rtEgW6NatyN69CBvg2D7iNccPJ9f5y4iBLunDsANWrcJs3pzcs693a8hJA08Bx2D7EAv0KCh/ERLOR8IRRFcS0OlLVTHuQow7jvGGMaeBtoas2jdlxMkaMGfgecCHRlBjDdTkMM6ZKzi7LHodmLVK5INKWK5gvgjWgnHgbcHsx8jTfqT27B/gjZ5FRAuK6JUL0e/GgFmBdwI8NIjjLsJbPC+63lVqk4i5RBkjIoKlsF20CRrVfIK9JvfFiJhnI8OD/zru/D4cxl+8lOhkDZgReAp640bUsduQt1/BmSziLHNZ52DuVWLOswBb4GJg7cDT77PGxPcSgr8ehebOlyedPT0NouUXEC25H7N9O3o2/ncF3gK9A2VpMeTheD7zel39YyVyk8QeTr2YXg3Kep0UvKDs+6zXM/+x4EWJ0ZqHjoyr7w55TCz2E+9v3zAz+I7A86CPVHEXllhaKLBDRF8UP9ACSEE0P7fup55PPZt+n/t96vl4N5T658ikbBgYZfD0CuFs4KcBz4MehEKlwBmV0OwWzLndtj5rRMLnxNPW/5Y+07k+tVupwSAHRrW6+tAE7yyFYCbwHYFbTh9ah7KeLpaZX1HsFtGrO/E0T5d2gE3wTU+3AjS/Y82daRra/2agrh4+znjs+T1oy/m8XLYBt962+vzXT6EGBnDdcbxiUf9MkK+nXM0rRt4Y+3lKQbJ0Soxo+y6jPq3/CUSG3xw47nw7nI+/YgXhp/+GtkkrC34a8I07UP3v4I45FE6BKz2XnWKswfanmeDLgsgCEJjnwekVmPBhuJalTRN4LkCtTqYOSAO2Hqn1L43ypwURweozCG2wdgSeenvXUhzLa6CnV5unFZxrpSn2VJa76fbHupXI2/JeuONS4dLl9veJTwZGDdv6DU+9ZZWmyfecoW2gm+sicqD/hFoLTFq+XzNIlPV6y+MWuPX2c/so2OQiLjcozANTmpuA66bTZ/XCr68VFhSnC5UxhnufMTx+cErj2xWoXVZTOgXGueXQEL+zSWpNH0HW6/FTst5++wSeW6bUI+YJEdZMC8jU60kWbOn0ts8LF53RPZ81QsNXHzMM1eInJnzv4PlsDBjhuZeHnM+GNerLe/GzXm8BT7kNFLWDrTeezSeZbjrdtwQe+WKcC2d8PfyyZlt/smtz8bhNTqN1dcnRcfYDjSzXW8Av34rzOnjuaRSVZpOD+eG0zNiWSKZ0+lsXw60Xz1r2cHDY8I1dKV1S8M1Mmw/Q5udQnLv2j7ItPErjPPD/spkornesi7ZsMWo7uEMrKTg1yl7Ag4K5rttWtoK1ueU/XSd8ZuXswANtuOJhgzFp5p3B800qaaMee7Uqm6IytcWHCDZCuGWLaImDciOq/xO4liYnNOWywx7BfLib5ubv/+oaWLNsduDW4Kse1VT9bPVoewpBdSnOjMirLx5V63oVNjoaq/9BGCeklppUKSifYgQ9pmH2irCwGw/ztcqO6+H8U+cGfMNOzeGJfLqfXlFmEtLIaxPOKgcmtUdjTaWpLha45ffBXgqqREnX6VEuh8B4LSnM6ngufVvt3v2VKd2eLUDve07z6Kud6vUu4JX4+46olarEpK5TP+cEQczzFPjrS/FUlZI2VJTLQRHjdUoM2QbBfv+dj80tMFODBicMX9oxvdmYKsoyZUKcncXfe0Sdo4SqrlA/b7AZoBb4R2/BHbyYQgpcXF4SzMKsTrdnz2SrLdd3fRnOXTQ3mqTgb/yD5sBIvpZPSoN8naOQkX1H1YUp8KUvEDz/AGHs8Txw47JbQV+6UNKNTE8YNls++bWTA23X+kW/5hexnnfImG0JLn7yvv3H1NUdgccanqGKdrhPYa5tq6djHzc90nzghj74weUnD/yFQcNtT3TmdFK7T3VRxrDrwJBze0eq5IMzVNwssDXPu7zK3L0WPvkBWFCE0ypzM+DptwznnwpXPpqjxbTkloD3I9n81qj6ZcfgjIurjBw26nxIDE8212qrCrPgb70I/jwA3/wIbOybHfiEb7jyEcPdlwlb/t49+WR4bsbq6opReK2jHOYTEB4Vx2cnsDqpWm16TzwQb2MmWVhDzj4FHr9B8JyZxfD+55MSN69MWa5nHWNE+g9Mynp8qtMSUKeUbwIqJmS9wE9SKC3w+QKpuS3f+7j1fHevWxn8wnbwoxnmLrl6pa7VHYdr7JQC1WkpPy1rs0WWFnqiOr0Ij1uHToGfqsezsnXPZXDzDKDT/785Zli/0xDozvV31vMIb7w5qj7nlDihDJMdi6w07duWLa1XxKGHkCuU4sHmmCR+ftrBJ+8T+lQ8WD4fik7cL+JHSdtWLkClQEwhW1gN1wzD9dlB2+qvFsimIz5PmojJFk0yLVzXRgJN2WgqRvg+hvVZ9ibJZ4qrrWYj1fpuc5cWFdo7obT1S2c1WsvOwarcI4oqilrXRiKlS7Z1s1Wi9boKWYjwW2BVO/hUzprB2qWezs8QkyYiG+Bp0CerC7L3eENurBtGUm93bd1S4HY0kTbLbkTRRJTrAT2Oy5mieQhY0RF8fhSXn1zljWrtSC4JIQMjodxUrfOfUoFJcaiFDo0Zm+Ws19PxRKFGCaEsRcpRwDIRfg70ZcEnw0tbDmSo05wItCWsDH2mtYBx/8++MV9uD4TDpkENQy0oU591PJH1enYgNEHcypWBslYsEM1dCNelARvzO6Pz2Zlip0ZkWo0vYuP2sbEGP9KaMaCmFbV50JjzQKjl9cwIzqvgVTVFp0FJXEpBSEnBZQJ3ZqmTdDBT3M2O4qbUKF+Hy0CgufdEwFMFl7oJqUdF6hVFw6/iz3kElwK3Vxuodrxsh0MlKEw28FRAKZBY9ez0pIzDVcawUeCCmB1tw852kFPKYxtd80pkZPuk5o8moBZBo2Bo6AL1niJ+HYKTHnp2Am+HnyWXwqSP5xTxfCvZEV4kFByhgOEsrVkrDheKYYUSTleYSrIDVBGOCAwIvBjAM5Hm35EhcAxB5OB70Iga+D0efj0keFdj5jTwOg32q5O4ZaFQ9/EKikJogUd4WuO6CkcrHGPVLkKM1TzLf43BsQNLtNJEoSZSitACdg1BoAlKHn7NEFR6CP+nwf408LmjlJ4Gbk1RCEJcr4gbRbiRwvECHG1QFrxxmsCjJmhB+wUiRxM5DqHfICy4hGVNMFkkfM+OUvLg0+PB+FhlEKdWwZlfxPFdnNDBCWs45TIqqqIseErNFepxmaCdCrpWQ7tlIjci8kKi8QZRuUr0nh9eZfV6puPCYAlqQYTSRSS013runLOEcR20amDGHHThGPr/flyYr7Dfdwe03Qyw998XR+J5A/Kx0O379P7JHn13W++/QpxXZquwQhQAAAAASUVORK5CYII="}}]); \ No newline at end of file diff --git a/static/js/39.dac1122e.chunk.js b/static/js/40.0985bcda.chunk.js similarity index 99% rename from static/js/39.dac1122e.chunk.js rename to static/js/40.0985bcda.chunk.js index 6c9bf83f4..44ea6f295 100644 --- a/static/js/39.dac1122e.chunk.js +++ b/static/js/40.0985bcda.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[39,9,71],{"+hnl":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),i=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 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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 f(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 d(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},v=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)}(b,e);var t,n,o,u,v=(t=b,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function b(){var e;return l(this,b),(e=v.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,u=y(o,["prefixCls"]),l=n("radio-button",i);return e.context.radioGroup&&(u.checked=e.props.value===e.context.radioGroup.value,u.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,s({prefixCls:l},u))},e}return n=b,(o=[{key:"render",value:function(){return r.createElement(i.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),u&&c(n,u),b}(r.Component);v.contextTypes={radioGroup:o.any}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},QCje:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("xaim")},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),u=n("Gytx"),s=n.n(u),l=n("VCL8"),c=n("oOh1"),p=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 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 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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,a,u=(t=l,function(){var e,n=m(t);if(b()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=u.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=v(t).props,a=o.prefixCls,u=o.className,s=void 0===u?"":u,l=o.options,p=o.buttonStyle,f=n("radio",a),d="".concat(f,"-group"),h=i()(d,"".concat(d,"-").concat(p),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),s),y=o.children;return l&&l.length>0&&(y=l.map((function(e){return"string"==typeof e?r.createElement(c.a,{key:e,prefixCls:f,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:f,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),l}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(l.polyfill)(O),t.a=O},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],o=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),i=u(n("q1tI"));function u(e){return e&&e.__esModule?e:{default:e}}var s=u(n("vOnD")).default.div(a);t.default=function(e){var t=e.children;return i.default.createElement(s,null,t)}},fyUT:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Y}));var r=n("q1tI"),o=n.n(r),a=n("TSYQ"),i=n.n(a),u=n("jo6Y"),s=n.n(u),l=n("QbLZ"),c=n.n(l),p=n("iCc5"),f=n.n(p),d=n("FYw3"),h=n.n(d),y=n("mRg0"),v=n.n(y),b=n("17x9"),m=n.n(b),g=n("4IlW"),O=n("V7oC"),x=n.n(O),C=function(e){function t(){f()(this,t);var e=h()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={active:!1},e.onTouchStart=function(t){e.triggerEvent("TouchStart",!0,t)},e.onTouchMove=function(t){e.triggerEvent("TouchMove",!1,t)},e.onTouchEnd=function(t){e.triggerEvent("TouchEnd",!1,t)},e.onTouchCancel=function(t){e.triggerEvent("TouchCancel",!1,t)},e.onMouseDown=function(t){e.triggerEvent("MouseDown",!0,t)},e.onMouseUp=function(t){e.triggerEvent("MouseUp",!1,t)},e.onMouseLeave=function(t){e.triggerEvent("MouseLeave",!1,t)},e}return v()(t,e),x()(t,[{key:"componentDidUpdate",value:function(){this.props.disabled&&this.state.active&&this.setState({active:!1})}},{key:"triggerEvent",value:function(e,t,n){var r="on"+e,o=this.props.children;o.props[r]&&o.props[r](n),t!==this.state.active&&this.setState({active:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.disabled,r=e.activeClassName,a=e.activeStyle,u=n?void 0:{onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchCancel,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onMouseLeave:this.onMouseLeave},s=o.a.Children.only(t);if(!n&&this.state.active){var l=s.props,p=l.style,f=l.className;return!1!==a&&(a&&(p=c()({},p,a)),f=i()(f,r)),o.a.cloneElement(s,c()({className:f,style:p},u))}return o.a.cloneElement(s,u)}}]),t}(o.a.Component),w=C;C.defaultProps={disabled:!1};var E=function(e){function t(){return f()(this,t),h()(this,e.apply(this,arguments))}return v()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.disabled,r=s()(e,["prefixCls","disabled"]);return o.a.createElement(w,{disabled:n,activeClassName:t+"-handler-active"},o.a.createElement("span",r))},t}(r.Component);E.propTypes={prefixCls:m.a.string,disabled:m.a.bool,onTouchStart:m.a.func,onTouchEnd:m.a.func,onMouseDown:m.a.func,onMouseUp:m.a.func,onMouseLeave:m.a.func};var S=E;function k(){}function _(e){e.preventDefault()}var P=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,j=function(e){return null!=e},N=function(e,t){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},M=function(e){function t(n){f()(this,t);var r=h()(this,e.call(this,n));T.call(r);var o=void 0;o="value"in n?n.value:n.defaultValue,r.state={focused:n.autoFocus};var a=r.getValidValue(r.toNumber(o));return r.state=c()({},r.state,{inputValue:r.toPrecisionAsStep(a),value:a}),r}return v()(t,e),t.prototype.componentDidMount=function(){this.componentDidUpdate()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.value,r=t.onChange,o=t.max,a=t.min,i=this.state.focused;if(e){if(!N(e.value,n)||!N(e.max,o)||!N(e.min,a)){var u=i?n:this.getValidValue(n),s=void 0;s=this.pressingUpOrDown?u:this.inputting?this.rawInput:this.toPrecisionAsStep(u),this.setState({value:u,inputValue:s})}var l="value"in this.props?n:this.state.value;"max"in this.props&&e.max!==o&&"number"==typeof l&&l>o&&r&&r(o),"min"in this.props&&e.min!==a&&"number"==typeof l&&l<a&&r&&r(a)}try{if(void 0!==this.cursorStart&&this.state.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.state.value===this.props.value){if(this.currentValue===this.input.value)switch(this.lastKeyCode){case g.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case g.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1)}}else{var c=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===g.a.BACKSPACE?c=this.cursorStart-1:this.lastKeyCode===g.a.DELETE&&(c=this.cursorStart):c=this.input.value.length,this.fixCaret(c,c)}}catch(e){}this.lastKeyCode=null,this.pressingUpOrDown&&(this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus(),this.pressingUpOrDown=!1)},t.prototype.componentWillUnmount=function(){this.stop()},t.prototype.getCurrentValidValue=function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t,10))?this.state.value:this.getValidValue(t),this.toNumber(t)},t.prototype.getRatio=function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},t.prototype.getValueFromEvent=function(e){var t=e.target.value.trim().replace(/。/g,".");return j(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t},t.prototype.getValidValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.min,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.max,r=parseFloat(e,10);return isNaN(r)?e:(r<t&&(r=t),r>n&&(r=n),r)},t.prototype.setValue=function(e,t){var n=this.props.precision,r=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),o=this.state,a=o.value,i=void 0===a?null:a,u=o.inputValue,s=void 0===u?null:u,l="number"==typeof r?r.toFixed(n):""+r,c=r!==i||l!==""+s;return"value"in this.props?this.setState({inputValue:this.toPrecisionAsStep(this.state.value)},t):this.setState({value:r,inputValue:this.toPrecisionAsStep(e)},t),c&&this.props.onChange(r),r},t.prototype.getPrecision=function(e){if(j(this.props.precision))return this.props.precision;var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n},t.prototype.getMaxPrecision=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.props,r=n.precision,o=n.step;if(j(r))return r;var a=this.getPrecision(t),i=this.getPrecision(o),u=this.getPrecision(e);return e?Math.max(u,a+i):a+i},t.prototype.getPrecisionFactor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getMaxPrecision(e,t);return Math.pow(10,n)},t.prototype.fixCaret=function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var n=this.input.selectionStart,r=this.input.selectionEnd;e===n&&t===r||this.input.setSelectionRange(e,t)}catch(e){}},t.prototype.focus=function(){this.input.focus(),this.recordCursorPosition()},t.prototype.blur=function(){this.input.blur()},t.prototype.formatWrapper=function(e){return this.props.formatter?this.props.formatter(e):e},t.prototype.toPrecisionAsStep=function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)},t.prototype.isNotCompleteNumber=function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},t.prototype.toNumber=function(e){var t=this.props.precision,n=this.state.focused,r=e&&e.length>16&&n;return this.isNotCompleteNumber(e)||r?e:j(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)},t.prototype.upStep=function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),o=Math.abs(this.getMaxPrecision(e,t)),a=((r*e+r*n*t)/r).toFixed(o);return this.toNumber(a)},t.prototype.downStep=function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),o=Math.abs(this.getMaxPrecision(e,t)),a=((r*e-r*n*t)/r).toFixed(o);return this.toNumber(a)},t.prototype.step=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments[3];this.stop(),t&&(t.persist(),t.preventDefault());var a=this.props;if(!a.disabled){var i=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(i)){var u=this[e+"Step"](i,r),s=u>a.max||u<a.min;u>a.max?u=a.max:u<a.min&&(u=a.min),this.setValue(u),this.setState({focused:!0}),s||(this.autoStepTimer=setTimeout((function(){n[e](t,r,!0)}),o?200:600))}}},t.prototype.render=function(){var e,t=c()({},this.props),n=t.prefixCls,r=t.disabled,a=t.readOnly,u=t.useTouch,l=t.autoComplete,p=t.upHandler,f=t.downHandler,d=(s()(t,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler"]),i()(((e={})[n]=!0,e[t.className]=!!t.className,e[n+"-disabled"]=r,e[n+"-focused"]=this.state.focused,e))),h="",y="",v=this.state.value;if(v||0===v)if(isNaN(v))h=n+"-handler-up-disabled",y=n+"-handler-down-disabled";else{var b=Number(v);b>=t.max&&(h=n+"-handler-up-disabled"),b<=t.min&&(y=n+"-handler-down-disabled")}var m={};for(var g in t)!t.hasOwnProperty(g)||"data-"!==g.substr(0,5)&&"aria-"!==g.substr(0,5)&&"role"!==g||(m[g]=t[g]);var O=!t.readOnly&&!t.disabled,x=this.getInputDisplayValue(),C=void 0,w=void 0;u?(C={onTouchStart:O&&!h?this.up:k,onTouchEnd:this.stop},w={onTouchStart:O&&!y?this.down:k,onTouchEnd:this.stop}):(C={onMouseDown:O&&!h?this.up:k,onMouseUp:this.stop,onMouseLeave:this.stop},w={onMouseDown:O&&!y?this.down:k,onMouseUp:this.stop,onMouseLeave:this.stop});var E=!!h||r||a,P=!!y||r||a;return o.a.createElement("div",{className:d,style:t.style,title:t.title,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},o.a.createElement("div",{className:n+"-handler-wrap"},o.a.createElement(S,c()({ref:this.saveUp,disabled:E,prefixCls:n,unselectable:"unselectable"},C,{role:"button","aria-label":"Increase Value","aria-disabled":!!E,className:n+"-handler "+n+"-handler-up "+h}),p||o.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-up-inner",onClick:_})),o.a.createElement(S,c()({ref:this.saveDown,disabled:P,prefixCls:n,unselectable:"unselectable"},w,{role:"button","aria-label":"Decrease Value","aria-disabled":!!P,className:n+"-handler "+n+"-handler-down "+y}),f||o.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-down-inner",onClick:_}))),o.a.createElement("div",{className:n+"-input-wrap"},o.a.createElement("input",c()({role:"spinbutton","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":v,required:t.required,type:t.type,placeholder:t.placeholder,onClick:t.onClick,onMouseUp:this.onMouseUp,className:n+"-input",tabIndex:t.tabIndex,autoComplete:l,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:O?this.onKeyDown:k,onKeyUp:O?this.onKeyUp:k,autoFocus:t.autoFocus,maxLength:t.maxLength,readOnly:t.readOnly,disabled:t.disabled,max:t.max,min:t.min,step:t.step,name:t.name,title:t.title,id:t.id,onChange:this.onChange,ref:this.saveInput,value:x,pattern:t.pattern,inputMode:t.inputMode},m))))},t}(o.a.Component);M.propTypes={value:m.a.oneOfType([m.a.number,m.a.string]),defaultValue:m.a.oneOfType([m.a.number,m.a.string]),focusOnUpDown:m.a.bool,autoFocus:m.a.bool,onChange:m.a.func,onPressEnter:m.a.func,onKeyDown:m.a.func,onKeyUp:m.a.func,prefixCls:m.a.string,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,readOnly:m.a.bool,max:m.a.number,min:m.a.number,step:m.a.oneOfType([m.a.number,m.a.string]),upHandler:m.a.node,downHandler:m.a.node,useTouch:m.a.bool,formatter:m.a.func,parser:m.a.func,onMouseEnter:m.a.func,onMouseLeave:m.a.func,onMouseOver:m.a.func,onMouseOut:m.a.func,onMouseUp:m.a.func,precision:m.a.number,required:m.a.bool,pattern:m.a.string,decimalSeparator:m.a.string,inputMode:m.a.string},M.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-P,step:1,style:{},onChange:k,onKeyDown:k,onPressEnter:k,onFocus:k,onBlur:k,parser:function(e){return e.replace(/[^\w\.-]+/g,"")},required:!1,autoComplete:"off"};var T=function(){var e=this;this.onKeyDown=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e.props,i=a.onKeyDown,u=a.onPressEnter;if(t.keyCode===g.a.UP){var s=e.getRatio(t);e.up(t,s),e.stop()}else if(t.keyCode===g.a.DOWN){var l=e.getRatio(t);e.down(t,l),e.stop()}else t.keyCode===g.a.ENTER&&u&&u(t);e.recordCursorPosition(),e.lastKeyCode=t.keyCode,i&&i.apply(void 0,[t].concat(r))},this.onKeyUp=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e.props.onKeyUp;e.stop(),e.recordCursorPosition(),a&&a.apply(void 0,[t].concat(r))},this.onChange=function(t){var n=e.props.onChange;e.state.focused&&(e.inputting=!0),e.rawInput=e.props.parser(e.getValueFromEvent(t)),e.setState({inputValue:e.rawInput}),n(e.toNumber(e.rawInput))},this.onMouseUp=function(){var t=e.props.onMouseUp;e.recordCursorPosition(),t&&t.apply(void 0,arguments)},this.onFocus=function(){var t;e.setState({focused:!0}),(t=e.props).onFocus.apply(t,arguments)},this.onBlur=function(){var t=e.props.onBlur;e.inputting=!1,e.setState({focused:!1});var n=e.getCurrentValidValue(e.state.inputValue),r=e.setValue(n);if(t){var o=e.input.value,a=e.getInputDisplayValue({focus:!1,value:r});e.input.value=a,t.apply(void 0,arguments),e.input.value=o}},this.getInputDisplayValue=function(t){var n=t||e.state,r=n.focused,o=n.inputValue,a=n.value,i=void 0;null==(i=r?o:e.toPrecisionAsStep(a))&&(i="");var u=e.formatWrapper(i);return j(e.props.decimalSeparator)&&(u=u.toString().replace(".",e.props.decimalSeparator)),u},this.recordCursorPosition=function(){try{e.cursorStart=e.input.selectionStart,e.cursorEnd=e.input.selectionEnd,e.currentValue=e.input.value,e.cursorBefore=e.input.value.substring(0,e.cursorStart),e.cursorAfter=e.input.value.substring(e.cursorEnd)}catch(e){}},this.restoreByAfter=function(t){if(void 0===t)return!1;var n=e.input.value,r=n.lastIndexOf(t);if(-1===r)return!1;var o=e.cursorBefore.length;return e.lastKeyCode===g.a.DELETE&&e.cursorBefore.charAt(o-1)===t[0]?(e.fixCaret(o,o),!0):r+t.length===n.length&&(e.fixCaret(r,r),!0)},this.partRestoreByAfter=function(t){return void 0!==t&&Array.prototype.some.call(t,(function(n,r){var o=t.substring(r);return e.restoreByAfter(o)}))},this.stop=function(){e.autoStepTimer&&clearTimeout(e.autoStepTimer)},this.down=function(t,n,r){e.pressingUpOrDown=!0,e.step("down",t,n,r)},this.up=function(t,n,r){e.pressingUpOrDown=!0,e.step("up",t,n,r)},this.saveUp=function(t){e.upHandler=t},this.saveDown=function(t){e.downHandler=t},this.saveInput=function(t){e.input=t}},R=M,V=n("CtXQ"),D=n("H84U");function I(e){return(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})(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(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 K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==I(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(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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},Y=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)}(s,e);var t,n,o,a,u=(t=s,function(){var e,n=H(t);if(B()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function s(){var e;return G(this,s),(e=u.apply(this,arguments)).saveInputNumber=function(t){e.inputNumberRef=t},e.renderInputNumber=function(t){var n,o=t.getPrefixCls,a=e.props,u=a.className,s=a.size,l=a.prefixCls,c=q(a,["className","size","prefixCls"]),p=o("input-number",l),f=i()((F(n={},"".concat(p,"-lg"),"large"===s),F(n,"".concat(p,"-sm"),"small"===s),n),u),d=r.createElement(V.default,{type:"up",className:"".concat(p,"-handler-up-inner")}),h=r.createElement(V.default,{type:"down",className:"".concat(p,"-handler-down-inner")});return r.createElement(R,U({ref:e.saveInputNumber,className:f,upHandler:d,downHandler:h,prefixCls:p},c))},e}return n=s,(o=[{key:"focus",value:function(){this.inputNumberRef.focus()}},{key:"blur",value:function(){this.inputNumberRef.blur()}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderInputNumber)}}])&&A(n.prototype,o),a&&A(n,a),s}(r.Component);Y.defaultProps={step:1}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),u=n.n(i),s=n("x1Ya"),l=n("Gytx"),c=n.n(l),p=n("H84U"),f=n("6CfX");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 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(){return(y=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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){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 w=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},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)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=C(t);if(x()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function l(){var e;return v(this,l),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,l=a.context,c=i.prefixCls,p=i.className,f=i.children,d=i.indeterminate,v=i.style,b=i.onMouseEnter,m=i.onMouseLeave,g=w(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),x=l.checkboxGroup,C=o("checkbox",c),E=y({},g);x&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),x.toggleOption({label:f,value:i.value})},E.name=x.name,E.checked=-1!==x.value.indexOf(i.value),E.disabled=i.disabled||x.disabled);var S=u()(p,(h(n={},"".concat(C,"-wrapper"),!0),h(n,"".concat(C,"-wrapper-checked"),E.checked),h(n,"".concat(C,"-wrapper-disabled"),E.disabled),n)),k=u()(h({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:S,style:v,onMouseEnter:b,onMouseLeave:m},r.createElement(s.a,y({},E,{prefixCls:C,className:k,ref:e.saveCheckbox})),void 0!==f&&r.createElement("span",null,f))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&b(n.prototype,o),a&&b(n,a),l}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(E);var S=E,k=n("BGR+");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 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){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==_(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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},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&&T(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(D()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(j(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=j(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=V(t),a=o.props,i=o.state,s=a.prefixCls,l=a.className,c=a.style,p=a.options,f=U(a,["prefixCls","className","style","options"]),d=n("checkbox",s),h="".concat(d,"-group"),y=Object(k.a)(f,["children","defaultValue","value","onChange","disabled"]),v=a.children;p&&p.length>0&&(v=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var b=u()(h,l);return r.createElement("div",P({className:b,style:c},y),v)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&M(n.prototype,o),a&&M(n,a),s}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(F);var G=F;S.Group=G;t.default=S},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),i=n("TSYQ"),u=n.n(i),s=n("Gytx"),l=n.n(s),c=n("H84U");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 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 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 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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=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 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},C=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)}(p,e);var t,n,o,i,s=(t=p,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function p(){var e;return h(this,p),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,i=m(e),s=i.props,l=i.context,c=s.prefixCls,p=s.className,h=s.children,y=s.style,v=x(s,["prefixCls","className","children","style"]),b=l.radioGroup,g=o("radio",c),O=d({},v);b&&(O.name=b.name,O.onChange=e.onChange,O.checked=s.value===b.value,O.disabled=s.disabled||b.disabled);var C=u()(p,(f(n={},"".concat(g,"-wrapper"),!0),f(n,"".concat(g,"-wrapper-checked"),O.checked),f(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:y,onMouseEnter:s.onMouseEnter,onMouseLeave:s.onMouseLeave},r.createElement(a.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=p,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderRadio)}}])&&y(n.prototype,o),i&&y(n,i),p}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pSeD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("2/Rp")),o=v(n("fyUT")),a=v(n("2fM7")),i=v(n("9yH6")),u=v(n("kaz8")),s=v(n("Vl3Y")),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,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf"),n("QCje"),n("8QGh"),n("K4yd"),n("MKzF"),n("tULf");var p=n("q1tI"),f=v(p),d=v(n("ess8")),h=n("spEH"),y=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=s.default.create()((0,p.forwardRef)((function(e){var t=e.form,n=e.match,v=e.history,b=e.showNotification,m=(0,p.useState)(!1),g=c(m,2),O=g[0],x=g[1],C=(0,p.useState)(!1),w=c(C,2),E=w[0],S=w[1],k=(0,p.useState)(void 0),_=c(k,2),P=_[0],j=_[1],N=(0,p.useState)(void 0),M=c(N,2),T=M[0],R=M[1],V=(0,p.useState)(void 0),D=c(V,2),I=D[0],U=D[1],F=(0,p.useState)(void 0),G=c(F,2),A=G[0],K=G[1],L=n.params,B=L.projectsId,H=L.owner,q=L.branch,Y=t.getFieldDecorator,z=t.validateFields,Q=t.setFieldsValue;t.getFieldsValue;(0,p.useEffect)((function(){var e="/"+H+"/"+B+"/collaborators.json";y.default.get(e).then((function(e){K(e.data.members)})).catch((function(e){}))}),[]),(0,p.useEffect)((function(){q&&function(e,t,n){var r="/"+e+"/"+t+"/protected_branches/"+n+"/edit.json";y.default.get(r).then((function(e){if(e){x(e.data.protected),S(e.data.protected);var t=e.data.protected_branch;if(t){var n=t.enable_push_whitelist?2:t.enable_push?1:0;Q(l({},t,{enable_push:n})),U(n),j(t.enable_merge_whitelist),R(t.enable_approvals_whitelist)}}})).catch((function(e){}))}(H,B,q)}),[]);var X=(0,p.useCallback)((function(e,t,n,r,o,a,i){return f.default.createElement("div",{className:o},f.default.createElement("span",{className:a?"required":""},e),f.default.createElement(s.default.Item,null,Y(t,{rules:n,validateFirst:!0,valuePropName:i?"checked":"value"})(r)))}),[]);return f.default.createElement("div",{style:{backgroundColor:"#fff"}},f.default.createElement(d.default,null,"新建'",q,"'保护分支规则"),f.default.createElement(s.default,null,f.default.createElement("div",{style:{padding:"20px 30px"}},X("","branchProtect",[],f.default.createElement(u.default,{checked:O,onChange:function(e){x(e.target.checked)}},"启用分支保护",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"组织删除并限制Git推送和合并到分支")),"setStyleRule"),f.default.createElement("div",{className:"pl25 shortStyle"},X("","enable_push",[],f.default.createElement(i.default.Group,{disabled:!O,onChange:function(e){U(e.target.value)}},f.default.createElement(i.default,{className:"columsRadio",value:0},"禁用推送",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"此分支不允许推送")),f.default.createElement(i.default,{className:"columsRadio",value:1},"启用推送",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"任何拥有写访问权限的人将被允许推送到此分支(但不能强行推送)")),f.default.createElement(i.default,{className:"columsRadio",value:2},"启用推送白名单",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只有列入白名单的用户或团队才能被允许推送到此分支(但不能强行推送)"))),""),f.default.createElement("div",{className:"pl25 pt5 pb5 mb15"},X("","push_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||void 0===I||2!==I},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","enable_merge_whitelist",[],f.default.createElement(u.default,{disabled:!O,checked:P,onChange:function(e){j(e.target.checked)}},"启用合并白名单",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"仅允许白名单用户或团队合并合并请求到此分支")),"setStyleRule"),f.default.createElement("div",{className:"pl25 pt5 pb5"},X("","merge_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||!P},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","enable_status_check",[],f.default.createElement(u.default,{disabled:!O},"启用状态检查"),"setStyleRule",!1,!0),f.default.createElement("div",{style:{display:"flex",alignItems:"center"}},X("所需的批准数","required_approvals",[],f.default.createElement(o.default,{min:0,style:{width:"140px"}}),"inlineFlex"),f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只允许合并有足够审核人数的拉取请求")),X("","enable_approvals_whitelist",[],f.default.createElement(u.default,{name:"enable_approvals_whitelist",disabled:!O,checked:T,onChange:function(e){R(e.target.checked)}},"批准仅限列入白名单的用户或团队",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只有白名单用户或团队的审核才能计数 没有批准的白名单,任何有写访问权限的人的审核都将计数")),"setStyleRule"),f.default.createElement("div",{className:"pl25 pt5 pb5 mb15"},X("","approvals_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||!T},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","block_on_rejected_reviews",[],f.default.createElement(u.default,{disabled:!O,name:"block_on_rejected_reviews"},"拒绝审核阻止了合并",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"如果官方审查人员要求作出改动,即使有足够的批准,合并也不允许")),"setStyleRule",!1,!0),X("","dismiss_stale_approvals",[],f.default.createElement(u.default,{disabled:!O,name:"dismiss_stale_approvals"},"取消过时的批准",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"当新的提交更改合并请求内容被推送到分支时,旧的批准将被撤销")),"setStyleRule",!1,!0),X("","require_signed_commits",[],f.default.createElement(u.default,{disabled:!O,name:"require_signed_commits"},"需要签名提交"),"setStyleRule",!1,!0),X("","block_on_outdated_branch",[],f.default.createElement(u.default,{disabled:!O,name:"block_on_outdated_branch"},"如果拉取请求已经过时,阻止合并",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"当头部分支落后基础分支时,不能合并")),"setStyleRule",!1,!0)),f.default.createElement("div",{className:"df pb30 pt20"},f.default.createElement(r.default,{type:"primary",onClick:function(){z((function(e,t){if(!e){var n="";n=E?"/"+H+"/"+B+"/protected_branches/"+q+".json":"/"+H+"/"+B+"/protected_branches.json",(0,y.default)({method:E?O?"patch":"delete":"post",url:n,params:l({branch_name:q,enable_push:0===t.enable_push,enable_push_whitelist:2===t.enable_push},t)}).then((function(e){e&&b("保存成功!")})).catch((function(e){}))}}))}},"保存"),f.default.createElement(h.Cancel,{className:"ml30",onClick:function(){v.push("/projects/"+H+"/"+B+"/setting/branch")}},"取消")))))})))},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),u=n("iCc5"),s=n.n(u),l=n("FYw3"),c=n.n(l),p=n("mRg0"),f=n.n(p),d=n("q1tI"),h=n.n(d),y=n("17x9"),v=n.n(y),b=n("TSYQ"),m=n.n(b),g=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=c()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,u=t.name,s=t.id,l=t.type,c=t.disabled,p=t.readOnly,f=t.tabIndex,d=t.onClick,y=t.onFocus,v=t.onBlur,b=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),x=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,w=m()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=c,e));return h.a.createElement("span",{className:w,style:a},h.a.createElement("input",i()({name:u,id:s,type:l,readOnly:p,disabled:c,tabIndex:f,className:n+"-input",checked:!!C,onClick:d,onFocus:y,onBlur:v,onChange:this.handleChange,autoFocus:b,ref:this.saveInput,value:g},x)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:v.a.string,className:v.a.string,style:v.a.object,name:v.a.string,id:v.a.string,type:v.a.string,defaultChecked:v.a.oneOfType([v.a.number,v.a.bool]),checked:v.a.oneOfType([v.a.number,v.a.bool]),disabled:v.a.bool,onFocus:v.a.func,onBlur:v.a.func,onChange:v.a.func,onClick:v.a.func,tabIndex:v.a.oneOfType([v.a.string,v.a.number]),readOnly:v.a.bool,autoFocus:v.a.bool,value:v.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var x=O;t.a=x},xaim:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[40,9,73],{"+hnl":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),i=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 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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 f(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 d(){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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},v=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)}(b,e);var t,n,o,u,v=(t=b,function(){var e,n=h(t);if(d()){var r=h(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function b(){var e;return l(this,b),(e=v.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,u=y(o,["prefixCls"]),l=n("radio-button",i);return e.context.radioGroup&&(u.checked=e.props.value===e.context.radioGroup.value,u.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,s({prefixCls:l},u))},e}return n=b,(o=[{key:"render",value:function(){return r.createElement(i.a,null,this.renderRadioButton)}}])&&c(n.prototype,o),u&&c(n,u),b}(r.Component);v.contextTypes={radioGroup:o.any}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},QCje:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("xaim")},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),i=n.n(a),u=n("Gytx"),s=n.n(u),l=n("VCL8"),c=n("oOh1"),p=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 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 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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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)}(l,e);var t,n,o,a,u=(t=l,function(){var e,n=m(t);if(b()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function l(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=u.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=v(t).props,a=o.prefixCls,u=o.className,s=void 0===u?"":u,l=o.options,p=o.buttonStyle,f=n("radio",a),d="".concat(f,"-group"),h=i()(d,"".concat(d,"-").concat(p),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),s),y=o.children;return l&&l.length>0&&(y=l.map((function(e){return"string"==typeof e?r.createElement(c.a,{key:e,prefixCls:f,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(c.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:f,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:h,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},y)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),l}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(l.polyfill)(O),t.a=O},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],o=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),i=u(n("q1tI"));function u(e){return e&&e.__esModule?e:{default:e}}var s=u(n("vOnD")).default.div(a);t.default=function(e){var t=e.children;return i.default.createElement(s,null,t)}},fyUT:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return Y}));var r=n("q1tI"),o=n.n(r),a=n("TSYQ"),i=n.n(a),u=n("jo6Y"),s=n.n(u),l=n("QbLZ"),c=n.n(l),p=n("iCc5"),f=n.n(p),d=n("FYw3"),h=n.n(d),y=n("mRg0"),v=n.n(y),b=n("17x9"),m=n.n(b),g=n("4IlW"),O=n("V7oC"),x=n.n(O),C=function(e){function t(){f()(this,t);var e=h()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={active:!1},e.onTouchStart=function(t){e.triggerEvent("TouchStart",!0,t)},e.onTouchMove=function(t){e.triggerEvent("TouchMove",!1,t)},e.onTouchEnd=function(t){e.triggerEvent("TouchEnd",!1,t)},e.onTouchCancel=function(t){e.triggerEvent("TouchCancel",!1,t)},e.onMouseDown=function(t){e.triggerEvent("MouseDown",!0,t)},e.onMouseUp=function(t){e.triggerEvent("MouseUp",!1,t)},e.onMouseLeave=function(t){e.triggerEvent("MouseLeave",!1,t)},e}return v()(t,e),x()(t,[{key:"componentDidUpdate",value:function(){this.props.disabled&&this.state.active&&this.setState({active:!1})}},{key:"triggerEvent",value:function(e,t,n){var r="on"+e,o=this.props.children;o.props[r]&&o.props[r](n),t!==this.state.active&&this.setState({active:t})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.disabled,r=e.activeClassName,a=e.activeStyle,u=n?void 0:{onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchCancel,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onMouseLeave:this.onMouseLeave},s=o.a.Children.only(t);if(!n&&this.state.active){var l=s.props,p=l.style,f=l.className;return!1!==a&&(a&&(p=c()({},p,a)),f=i()(f,r)),o.a.cloneElement(s,c()({className:f,style:p},u))}return o.a.cloneElement(s,u)}}]),t}(o.a.Component),w=C;C.defaultProps={disabled:!1};var E=function(e){function t(){return f()(this,t),h()(this,e.apply(this,arguments))}return v()(t,e),t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.disabled,r=s()(e,["prefixCls","disabled"]);return o.a.createElement(w,{disabled:n,activeClassName:t+"-handler-active"},o.a.createElement("span",r))},t}(r.Component);E.propTypes={prefixCls:m.a.string,disabled:m.a.bool,onTouchStart:m.a.func,onTouchEnd:m.a.func,onMouseDown:m.a.func,onMouseUp:m.a.func,onMouseLeave:m.a.func};var S=E;function k(){}function _(e){e.preventDefault()}var P=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,j=function(e){return null!=e},N=function(e,t){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)},M=function(e){function t(n){f()(this,t);var r=h()(this,e.call(this,n));T.call(r);var o=void 0;o="value"in n?n.value:n.defaultValue,r.state={focused:n.autoFocus};var a=r.getValidValue(r.toNumber(o));return r.state=c()({},r.state,{inputValue:r.toPrecisionAsStep(a),value:a}),r}return v()(t,e),t.prototype.componentDidMount=function(){this.componentDidUpdate()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.value,r=t.onChange,o=t.max,a=t.min,i=this.state.focused;if(e){if(!N(e.value,n)||!N(e.max,o)||!N(e.min,a)){var u=i?n:this.getValidValue(n),s=void 0;s=this.pressingUpOrDown?u:this.inputting?this.rawInput:this.toPrecisionAsStep(u),this.setState({value:u,inputValue:s})}var l="value"in this.props?n:this.state.value;"max"in this.props&&e.max!==o&&"number"==typeof l&&l>o&&r&&r(o),"min"in this.props&&e.min!==a&&"number"==typeof l&&l<a&&r&&r(a)}try{if(void 0!==this.cursorStart&&this.state.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.state.value===this.props.value){if(this.currentValue===this.input.value)switch(this.lastKeyCode){case g.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case g.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1)}}else{var c=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===g.a.BACKSPACE?c=this.cursorStart-1:this.lastKeyCode===g.a.DELETE&&(c=this.cursorStart):c=this.input.value.length,this.fixCaret(c,c)}}catch(e){}this.lastKeyCode=null,this.pressingUpOrDown&&(this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus(),this.pressingUpOrDown=!1)},t.prototype.componentWillUnmount=function(){this.stop()},t.prototype.getCurrentValidValue=function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t,10))?this.state.value:this.getValidValue(t),this.toNumber(t)},t.prototype.getRatio=function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t},t.prototype.getValueFromEvent=function(e){var t=e.target.value.trim().replace(/。/g,".");return j(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t},t.prototype.getValidValue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.min,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.max,r=parseFloat(e,10);return isNaN(r)?e:(r<t&&(r=t),r>n&&(r=n),r)},t.prototype.setValue=function(e,t){var n=this.props.precision,r=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),o=this.state,a=o.value,i=void 0===a?null:a,u=o.inputValue,s=void 0===u?null:u,l="number"==typeof r?r.toFixed(n):""+r,c=r!==i||l!==""+s;return"value"in this.props?this.setState({inputValue:this.toPrecisionAsStep(this.state.value)},t):this.setState({value:r,inputValue:this.toPrecisionAsStep(e)},t),c&&this.props.onChange(r),r},t.prototype.getPrecision=function(e){if(j(this.props.precision))return this.props.precision;var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n},t.prototype.getMaxPrecision=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.props,r=n.precision,o=n.step;if(j(r))return r;var a=this.getPrecision(t),i=this.getPrecision(o),u=this.getPrecision(e);return e?Math.max(u,a+i):a+i},t.prototype.getPrecisionFactor=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.getMaxPrecision(e,t);return Math.pow(10,n)},t.prototype.fixCaret=function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var n=this.input.selectionStart,r=this.input.selectionEnd;e===n&&t===r||this.input.setSelectionRange(e,t)}catch(e){}},t.prototype.focus=function(){this.input.focus(),this.recordCursorPosition()},t.prototype.blur=function(){this.input.blur()},t.prototype.formatWrapper=function(e){return this.props.formatter?this.props.formatter(e):e},t.prototype.toPrecisionAsStep=function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)},t.prototype.isNotCompleteNumber=function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1},t.prototype.toNumber=function(e){var t=this.props.precision,n=this.state.focused,r=e&&e.length>16&&n;return this.isNotCompleteNumber(e)||r?e:j(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)},t.prototype.upStep=function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),o=Math.abs(this.getMaxPrecision(e,t)),a=((r*e+r*n*t)/r).toFixed(o);return this.toNumber(a)},t.prototype.downStep=function(e,t){var n=this.props.step,r=this.getPrecisionFactor(e,t),o=Math.abs(this.getMaxPrecision(e,t)),a=((r*e-r*n*t)/r).toFixed(o);return this.toNumber(a)},t.prototype.step=function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments[3];this.stop(),t&&(t.persist(),t.preventDefault());var a=this.props;if(!a.disabled){var i=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(i)){var u=this[e+"Step"](i,r),s=u>a.max||u<a.min;u>a.max?u=a.max:u<a.min&&(u=a.min),this.setValue(u),this.setState({focused:!0}),s||(this.autoStepTimer=setTimeout((function(){n[e](t,r,!0)}),o?200:600))}}},t.prototype.render=function(){var e,t=c()({},this.props),n=t.prefixCls,r=t.disabled,a=t.readOnly,u=t.useTouch,l=t.autoComplete,p=t.upHandler,f=t.downHandler,d=(s()(t,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler"]),i()(((e={})[n]=!0,e[t.className]=!!t.className,e[n+"-disabled"]=r,e[n+"-focused"]=this.state.focused,e))),h="",y="",v=this.state.value;if(v||0===v)if(isNaN(v))h=n+"-handler-up-disabled",y=n+"-handler-down-disabled";else{var b=Number(v);b>=t.max&&(h=n+"-handler-up-disabled"),b<=t.min&&(y=n+"-handler-down-disabled")}var m={};for(var g in t)!t.hasOwnProperty(g)||"data-"!==g.substr(0,5)&&"aria-"!==g.substr(0,5)&&"role"!==g||(m[g]=t[g]);var O=!t.readOnly&&!t.disabled,x=this.getInputDisplayValue(),C=void 0,w=void 0;u?(C={onTouchStart:O&&!h?this.up:k,onTouchEnd:this.stop},w={onTouchStart:O&&!y?this.down:k,onTouchEnd:this.stop}):(C={onMouseDown:O&&!h?this.up:k,onMouseUp:this.stop,onMouseLeave:this.stop},w={onMouseDown:O&&!y?this.down:k,onMouseUp:this.stop,onMouseLeave:this.stop});var E=!!h||r||a,P=!!y||r||a;return o.a.createElement("div",{className:d,style:t.style,title:t.title,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseOver:t.onMouseOver,onMouseOut:t.onMouseOut},o.a.createElement("div",{className:n+"-handler-wrap"},o.a.createElement(S,c()({ref:this.saveUp,disabled:E,prefixCls:n,unselectable:"unselectable"},C,{role:"button","aria-label":"Increase Value","aria-disabled":!!E,className:n+"-handler "+n+"-handler-up "+h}),p||o.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-up-inner",onClick:_})),o.a.createElement(S,c()({ref:this.saveDown,disabled:P,prefixCls:n,unselectable:"unselectable"},w,{role:"button","aria-label":"Decrease Value","aria-disabled":!!P,className:n+"-handler "+n+"-handler-down "+y}),f||o.a.createElement("span",{unselectable:"unselectable",className:n+"-handler-down-inner",onClick:_}))),o.a.createElement("div",{className:n+"-input-wrap"},o.a.createElement("input",c()({role:"spinbutton","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-valuenow":v,required:t.required,type:t.type,placeholder:t.placeholder,onClick:t.onClick,onMouseUp:this.onMouseUp,className:n+"-input",tabIndex:t.tabIndex,autoComplete:l,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:O?this.onKeyDown:k,onKeyUp:O?this.onKeyUp:k,autoFocus:t.autoFocus,maxLength:t.maxLength,readOnly:t.readOnly,disabled:t.disabled,max:t.max,min:t.min,step:t.step,name:t.name,title:t.title,id:t.id,onChange:this.onChange,ref:this.saveInput,value:x,pattern:t.pattern,inputMode:t.inputMode},m))))},t}(o.a.Component);M.propTypes={value:m.a.oneOfType([m.a.number,m.a.string]),defaultValue:m.a.oneOfType([m.a.number,m.a.string]),focusOnUpDown:m.a.bool,autoFocus:m.a.bool,onChange:m.a.func,onPressEnter:m.a.func,onKeyDown:m.a.func,onKeyUp:m.a.func,prefixCls:m.a.string,tabIndex:m.a.oneOfType([m.a.string,m.a.number]),disabled:m.a.bool,onFocus:m.a.func,onBlur:m.a.func,readOnly:m.a.bool,max:m.a.number,min:m.a.number,step:m.a.oneOfType([m.a.number,m.a.string]),upHandler:m.a.node,downHandler:m.a.node,useTouch:m.a.bool,formatter:m.a.func,parser:m.a.func,onMouseEnter:m.a.func,onMouseLeave:m.a.func,onMouseOver:m.a.func,onMouseOut:m.a.func,onMouseUp:m.a.func,precision:m.a.number,required:m.a.bool,pattern:m.a.string,decimalSeparator:m.a.string,inputMode:m.a.string},M.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-P,step:1,style:{},onChange:k,onKeyDown:k,onPressEnter:k,onFocus:k,onBlur:k,parser:function(e){return e.replace(/[^\w\.-]+/g,"")},required:!1,autoComplete:"off"};var T=function(){var e=this;this.onKeyDown=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e.props,i=a.onKeyDown,u=a.onPressEnter;if(t.keyCode===g.a.UP){var s=e.getRatio(t);e.up(t,s),e.stop()}else if(t.keyCode===g.a.DOWN){var l=e.getRatio(t);e.down(t,l),e.stop()}else t.keyCode===g.a.ENTER&&u&&u(t);e.recordCursorPosition(),e.lastKeyCode=t.keyCode,i&&i.apply(void 0,[t].concat(r))},this.onKeyUp=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var a=e.props.onKeyUp;e.stop(),e.recordCursorPosition(),a&&a.apply(void 0,[t].concat(r))},this.onChange=function(t){var n=e.props.onChange;e.state.focused&&(e.inputting=!0),e.rawInput=e.props.parser(e.getValueFromEvent(t)),e.setState({inputValue:e.rawInput}),n(e.toNumber(e.rawInput))},this.onMouseUp=function(){var t=e.props.onMouseUp;e.recordCursorPosition(),t&&t.apply(void 0,arguments)},this.onFocus=function(){var t;e.setState({focused:!0}),(t=e.props).onFocus.apply(t,arguments)},this.onBlur=function(){var t=e.props.onBlur;e.inputting=!1,e.setState({focused:!1});var n=e.getCurrentValidValue(e.state.inputValue),r=e.setValue(n);if(t){var o=e.input.value,a=e.getInputDisplayValue({focus:!1,value:r});e.input.value=a,t.apply(void 0,arguments),e.input.value=o}},this.getInputDisplayValue=function(t){var n=t||e.state,r=n.focused,o=n.inputValue,a=n.value,i=void 0;null==(i=r?o:e.toPrecisionAsStep(a))&&(i="");var u=e.formatWrapper(i);return j(e.props.decimalSeparator)&&(u=u.toString().replace(".",e.props.decimalSeparator)),u},this.recordCursorPosition=function(){try{e.cursorStart=e.input.selectionStart,e.cursorEnd=e.input.selectionEnd,e.currentValue=e.input.value,e.cursorBefore=e.input.value.substring(0,e.cursorStart),e.cursorAfter=e.input.value.substring(e.cursorEnd)}catch(e){}},this.restoreByAfter=function(t){if(void 0===t)return!1;var n=e.input.value,r=n.lastIndexOf(t);if(-1===r)return!1;var o=e.cursorBefore.length;return e.lastKeyCode===g.a.DELETE&&e.cursorBefore.charAt(o-1)===t[0]?(e.fixCaret(o,o),!0):r+t.length===n.length&&(e.fixCaret(r,r),!0)},this.partRestoreByAfter=function(t){return void 0!==t&&Array.prototype.some.call(t,(function(n,r){var o=t.substring(r);return e.restoreByAfter(o)}))},this.stop=function(){e.autoStepTimer&&clearTimeout(e.autoStepTimer)},this.down=function(t,n,r){e.pressingUpOrDown=!0,e.step("down",t,n,r)},this.up=function(t,n,r){e.pressingUpOrDown=!0,e.step("up",t,n,r)},this.saveUp=function(t){e.upHandler=t},this.saveDown=function(t){e.downHandler=t},this.saveInput=function(t){e.input=t}},R=M,V=n("CtXQ"),D=n("H84U");function I(e){return(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})(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(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 K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){return!t||"object"!==I(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(){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 H(e){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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},Y=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)}(s,e);var t,n,o,a,u=(t=s,function(){var e,n=H(t);if(B()){var r=H(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return L(this,e)});function s(){var e;return G(this,s),(e=u.apply(this,arguments)).saveInputNumber=function(t){e.inputNumberRef=t},e.renderInputNumber=function(t){var n,o=t.getPrefixCls,a=e.props,u=a.className,s=a.size,l=a.prefixCls,c=q(a,["className","size","prefixCls"]),p=o("input-number",l),f=i()((F(n={},"".concat(p,"-lg"),"large"===s),F(n,"".concat(p,"-sm"),"small"===s),n),u),d=r.createElement(V.default,{type:"up",className:"".concat(p,"-handler-up-inner")}),h=r.createElement(V.default,{type:"down",className:"".concat(p,"-handler-down-inner")});return r.createElement(R,U({ref:e.saveInputNumber,className:f,upHandler:d,downHandler:h,prefixCls:p},c))},e}return n=s,(o=[{key:"focus",value:function(){this.inputNumberRef.focus()}},{key:"blur",value:function(){this.inputNumberRef.blur()}},{key:"render",value:function(){return r.createElement(D.a,null,this.renderInputNumber)}}])&&A(n.prototype,o),a&&A(n,a),s}(r.Component);Y.defaultProps={step:1}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),u=n.n(i),s=n("x1Ya"),l=n("Gytx"),c=n.n(l),p=n("H84U"),f=n("6CfX");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 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(){return(y=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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){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 w=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},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)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=C(t);if(x()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function l(){var e;return v(this,l),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,l=a.context,c=i.prefixCls,p=i.className,f=i.children,d=i.indeterminate,v=i.style,b=i.onMouseEnter,m=i.onMouseLeave,g=w(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),x=l.checkboxGroup,C=o("checkbox",c),E=y({},g);x&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),x.toggleOption({label:f,value:i.value})},E.name=x.name,E.checked=-1!==x.value.indexOf(i.value),E.disabled=i.disabled||x.disabled);var S=u()(p,(h(n={},"".concat(C,"-wrapper"),!0),h(n,"".concat(C,"-wrapper-checked"),E.checked),h(n,"".concat(C,"-wrapper-disabled"),E.disabled),n)),k=u()(h({},"".concat(C,"-indeterminate"),d));return r.createElement("label",{className:S,style:v,onMouseEnter:b,onMouseLeave:m},r.createElement(s.a,y({},E,{prefixCls:C,className:k,ref:e.saveCheckbox})),void 0!==f&&r.createElement("span",null,f))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!c()(this.props,e)||!c()(this.state,t)||!c()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&b(n.prototype,o),a&&b(n,a),l}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(E);var S=E,k=n("BGR+");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 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){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==_(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 D(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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},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&&T(e,t)}(s,e);var t,n,o,a,i=(t=s,function(){var e,n=I(t);if(D()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(j(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=j(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=V(t),a=o.props,i=o.state,s=a.prefixCls,l=a.className,c=a.style,p=a.options,f=U(a,["prefixCls","className","style","options"]),d=n("checkbox",s),h="".concat(d,"-group"),y=Object(k.a)(f,["children","defaultValue","value","onChange","disabled"]),v=a.children;p&&p.length>0&&(v=t.getOptions().map((function(e){return r.createElement(S,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var b=u()(h,l);return r.createElement("div",P({className:b,style:c},y),v)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=s,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!c()(this.props,e)||!c()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&M(n.prototype,o),a&&M(n,a),s}(r.Component);F.defaultProps={options:[]},F.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},F.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(F);var G=F;S.Group=G;t.default=S},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),i=n("TSYQ"),u=n.n(i),s=n("Gytx"),l=n.n(s),c=n("H84U");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 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 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 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,t){return!t||"object"!==p(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=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 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},C=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)}(p,e);var t,n,o,i,s=(t=p,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function p(){var e;return h(this,p),(e=s.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,i=m(e),s=i.props,l=i.context,c=s.prefixCls,p=s.className,h=s.children,y=s.style,v=x(s,["prefixCls","className","children","style"]),b=l.radioGroup,g=o("radio",c),O=d({},v);b&&(O.name=b.name,O.onChange=e.onChange,O.checked=s.value===b.value,O.disabled=s.disabled||b.disabled);var C=u()(p,(f(n={},"".concat(g,"-wrapper"),!0),f(n,"".concat(g,"-wrapper-checked"),O.checked),f(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:C,style:y,onMouseEnter:s.onMouseEnter,onMouseLeave:s.onMouseLeave},r.createElement(a.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==h?r.createElement("span",null,h):null)},e}return n=p,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(c.a,null,this.renderRadio)}}])&&y(n.prototype,o),i&&y(n,i),p}(r.Component);C.defaultProps={type:"radio"},C.contextTypes={radioGroup:o.any}},pSeD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("2/Rp")),o=v(n("fyUT")),a=v(n("2fM7")),i=v(n("9yH6")),u=v(n("kaz8")),s=v(n("Vl3Y")),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,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf"),n("QCje"),n("8QGh"),n("K4yd"),n("MKzF"),n("tULf");var p=n("q1tI"),f=v(p),d=v(n("ess8")),h=n("spEH"),y=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=s.default.create()((0,p.forwardRef)((function(e){var t=e.form,n=e.match,v=e.history,b=e.showNotification,m=(0,p.useState)(!1),g=c(m,2),O=g[0],x=g[1],C=(0,p.useState)(!1),w=c(C,2),E=w[0],S=w[1],k=(0,p.useState)(void 0),_=c(k,2),P=_[0],j=_[1],N=(0,p.useState)(void 0),M=c(N,2),T=M[0],R=M[1],V=(0,p.useState)(void 0),D=c(V,2),I=D[0],U=D[1],F=(0,p.useState)(void 0),G=c(F,2),A=G[0],K=G[1],L=n.params,B=L.projectsId,H=L.owner,q=L.branch,Y=t.getFieldDecorator,z=t.validateFields,Q=t.setFieldsValue;t.getFieldsValue;(0,p.useEffect)((function(){var e="/"+H+"/"+B+"/collaborators.json";y.default.get(e).then((function(e){K(e.data.members)})).catch((function(e){}))}),[]),(0,p.useEffect)((function(){q&&function(e,t,n){var r="/"+e+"/"+t+"/protected_branches/"+n+"/edit.json";y.default.get(r).then((function(e){if(e){x(e.data.protected),S(e.data.protected);var t=e.data.protected_branch;if(t){var n=t.enable_push_whitelist?2:t.enable_push?1:0;Q(l({},t,{enable_push:n})),U(n),j(t.enable_merge_whitelist),R(t.enable_approvals_whitelist)}}})).catch((function(e){}))}(H,B,q)}),[]);var X=(0,p.useCallback)((function(e,t,n,r,o,a,i){return f.default.createElement("div",{className:o},f.default.createElement("span",{className:a?"required":""},e),f.default.createElement(s.default.Item,null,Y(t,{rules:n,validateFirst:!0,valuePropName:i?"checked":"value"})(r)))}),[]);return f.default.createElement("div",{style:{backgroundColor:"#fff"}},f.default.createElement(d.default,null,"新建'",q,"'保护分支规则"),f.default.createElement(s.default,null,f.default.createElement("div",{style:{padding:"20px 30px"}},X("","branchProtect",[],f.default.createElement(u.default,{checked:O,onChange:function(e){x(e.target.checked)}},"启用分支保护",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"组织删除并限制Git推送和合并到分支")),"setStyleRule"),f.default.createElement("div",{className:"pl25 shortStyle"},X("","enable_push",[],f.default.createElement(i.default.Group,{disabled:!O,onChange:function(e){U(e.target.value)}},f.default.createElement(i.default,{className:"columsRadio",value:0},"禁用推送",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"此分支不允许推送")),f.default.createElement(i.default,{className:"columsRadio",value:1},"启用推送",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"任何拥有写访问权限的人将被允许推送到此分支(但不能强行推送)")),f.default.createElement(i.default,{className:"columsRadio",value:2},"启用推送白名单",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只有列入白名单的用户或团队才能被允许推送到此分支(但不能强行推送)"))),""),f.default.createElement("div",{className:"pl25 pt5 pb5 mb15"},X("","push_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||void 0===I||2!==I},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","enable_merge_whitelist",[],f.default.createElement(u.default,{disabled:!O,checked:P,onChange:function(e){j(e.target.checked)}},"启用合并白名单",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"仅允许白名单用户或团队合并合并请求到此分支")),"setStyleRule"),f.default.createElement("div",{className:"pl25 pt5 pb5"},X("","merge_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||!P},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","enable_status_check",[],f.default.createElement(u.default,{disabled:!O},"启用状态检查"),"setStyleRule",!1,!0),f.default.createElement("div",{style:{display:"flex",alignItems:"center"}},X("所需的批准数","required_approvals",[],f.default.createElement(o.default,{min:0,style:{width:"140px"}}),"inlineFlex"),f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只允许合并有足够审核人数的拉取请求")),X("","enable_approvals_whitelist",[],f.default.createElement(u.default,{name:"enable_approvals_whitelist",disabled:!O,checked:T,onChange:function(e){R(e.target.checked)}},"批准仅限列入白名单的用户或团队",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"只有白名单用户或团队的审核才能计数 没有批准的白名单,任何有写访问权限的人的审核都将计数")),"setStyleRule"),f.default.createElement("div",{className:"pl25 pt5 pb5 mb15"},X("","approvals_whitelist_usernames",[],f.default.createElement(a.default,{mode:"multiple",placeholder:"搜索用户",style:{width:"100%"},disabled:!O||!T},A&&A.map((function(e){return f.default.createElement(a.default.Option,{key:e.id,value:e.login},e.name)}))),"setStyleRule")),X("","block_on_rejected_reviews",[],f.default.createElement(u.default,{disabled:!O,name:"block_on_rejected_reviews"},"拒绝审核阻止了合并",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"如果官方审查人员要求作出改动,即使有足够的批准,合并也不允许")),"setStyleRule",!1,!0),X("","dismiss_stale_approvals",[],f.default.createElement(u.default,{disabled:!O,name:"dismiss_stale_approvals"},"取消过时的批准",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"当新的提交更改合并请求内容被推送到分支时,旧的批准将被撤销")),"setStyleRule",!1,!0),X("","require_signed_commits",[],f.default.createElement(u.default,{disabled:!O,name:"require_signed_commits"},"需要签名提交"),"setStyleRule",!1,!0),X("","block_on_outdated_branch",[],f.default.createElement(u.default,{disabled:!O,name:"block_on_outdated_branch"},"如果拉取请求已经过时,阻止合并",f.default.createElement("span",{className:"color-grey-9 ml5 font-12"},"当头部分支落后基础分支时,不能合并")),"setStyleRule",!1,!0)),f.default.createElement("div",{className:"df pb30 pt20"},f.default.createElement(r.default,{type:"primary",onClick:function(){z((function(e,t){if(!e){var n="";n=E?"/"+H+"/"+B+"/protected_branches/"+q+".json":"/"+H+"/"+B+"/protected_branches.json",(0,y.default)({method:E?O?"patch":"delete":"post",url:n,params:l({branch_name:q,enable_push:0===t.enable_push,enable_push_whitelist:2===t.enable_push},t)}).then((function(e){e&&b("保存成功!")})).catch((function(e){}))}}))}},"保存"),f.default.createElement(h.Cancel,{className:"ml30",onClick:function(){v.push("/projects/"+H+"/"+B+"/setting/branch")}},"取消")))))})))},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),u=n("iCc5"),s=n.n(u),l=n("FYw3"),c=n.n(l),p=n("mRg0"),f=n.n(p),d=n("q1tI"),h=n.n(d),y=n("17x9"),v=n.n(y),b=n("TSYQ"),m=n.n(b),g=n("VCL8"),O=function(e){function t(n){s()(this,t);var r=c()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,u=t.name,s=t.id,l=t.type,c=t.disabled,p=t.readOnly,f=t.tabIndex,d=t.onClick,y=t.onFocus,v=t.onBlur,b=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),x=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),C=this.state.checked,w=m()(n,r,((e={})[n+"-checked"]=C,e[n+"-disabled"]=c,e));return h.a.createElement("span",{className:w,style:a},h.a.createElement("input",i()({name:u,id:s,type:l,readOnly:p,disabled:c,tabIndex:f,className:n+"-input",checked:!!C,onClick:d,onFocus:y,onBlur:v,onChange:this.handleChange,autoFocus:b,ref:this.saveInput,value:g},x)),h.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:v.a.string,className:v.a.string,style:v.a.object,name:v.a.string,id:v.a.string,type:v.a.string,defaultChecked:v.a.oneOfType([v.a.number,v.a.bool]),checked:v.a.oneOfType([v.a.number,v.a.bool]),disabled:v.a.bool,onFocus:v.a.func,onBlur:v.a.func,onChange:v.a.func,onClick:v.a.func,tabIndex:v.a.oneOfType([v.a.string,v.a.number]),readOnly:v.a.bool,autoFocus:v.a.bool,value:v.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var x=O;t.a=x},xaim:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/40.a40a6619.chunk.js b/static/js/41.8f046fb5.chunk.js similarity index 99% rename from static/js/40.a40a6619.chunk.js rename to static/js/41.8f046fb5.chunk.js index 78c484ded..e3842c7a7 100644 --- a/static/js/40.a40a6619.chunk.js +++ b/static/js/41.8f046fb5.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[40],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=c(a),l=c(n("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=s},"3cxI":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},EEGS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=A(n("W9HT")),a=A(n("NUBc")),o=A(n("PArb")),l=A(n("diRs")),c=A(n("2/Rp")),i=A(n("BvKs")),u=A(n("5rEg")),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},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("YQTV"),n("qNb/"),n("Aosp"),n("L/Qf"),n("2WkQ"),n("1vPl");var p=n("q1tI"),d=A(p),m=n("eO8H"),y=A(n("vDqi")),g=A(n("z+6C")),b=A(n("2CTR")),h=A(n("lbbv")),v=A(n("FPGT"));function A(e){return e&&e.__esModule?e:{default:e}}var E=u.default.Search,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.get_projects()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,r=e.match.params.username;(e.project_type!==n.props.project_type||r&&t&&r!==t)&&n.get_projects()},n.get_projects=function(e){var t=n.props.match.params.username,r=n.props.project_type,a="/users/"+t+"/projects.json",o=n.state,l=o.page,c=o.limit,i=o.search,u=o.sort_by,s=o.category,f=o.is_public;n.setState({isSpin:!0}),y.default.get(a,{params:{page:l,limit:c,search:i,sort_by:u,category:s,project_type:r,is_public:void 0!==e?e:f}}).then((function(e){e&&n.setState({projectsList:e.data.projects,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changeCategory=function(e){n.state.category=e.target.value,n.get_projects()},n.changePage=function(e){n.state.page=e,n.get_projects()},n.ChangeSoryBy=function(e){n.state.sort_by=e.key,n.get_projects()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.changeStatus=function(e){var t=n.state.is_public===e?void 0:e;n.state.is_public=t,n.get_projects(t)},n.menu=function(){return d.default.createElement(i.default,{onClick:n.ChangeSoryBy},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:"forked_count"},"fork数据排序"),d.default.createElement(i.default.Item,{key:"praises_count"},"点赞数量排序"))},n.newItem=function(){return d.default.createElement(i.default,null,d.default.createElement(i.default.Item,{key:"created_mirror"},d.default.createElement(m.Link,{to:"/projects/mirror/new"},"新建镜像项目")),d.default.createElement(i.default.Item,{key:"created_deposit"},d.default.createElement(m.Link,{to:"/projects/deposit/new"},"新建托管项目")))},n.category_button=function(e){var t=n.props,r=t.current_user,a=t.user;return(a&&r&&a.login===r.login?[{type:void 0,name:"所有"},{type:"manage",name:"我创建的"},{type:"join",name:"我参与的"},{type:"watched",name:"我关注的"},{type:"forked",name:"我Fork的"}]:[{type:void 0,name:"所有"},{type:"manage",name:"TA创建的"},{type:"join",name:"TA参与的"},{type:"watched",name:"TA关注的"},{type:"forked",name:"TAFork的"}]).map((function(t,r){return d.default.createElement("span",{key:r,className:"pr15"},d.default.createElement(c.default,{type:e&&e===t.type||!e&&!t.type?"primary":"default",ghost:e&&e===t.type||!e&&!t.type,value:t.type,onClick:n.changeCategory},t.name))}))},n.state={page:1,limit:15,sort_by:void 0,totalCount:void 0,isSpin:!1,projectsList:void 0,total:void 0,category:void 0,is_public: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,n=t.current_user,c=t.user,i=this.state,u=i.category,f=i.is_public,p=this.state,m=p.projectsList,y=p.isSpin,A=p.total,w=p.search,O=p.limit,k=p.page;return d.default.createElement(r.default,{spinning:y},d.default.createElement("div",{className:"list-r-operation"},d.default.createElement(E,{placeholder:"输入项目名称关键字进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_projects,className:"list-r-Search",value:w,onChange:this.changeSearchValue}),d.default.createElement("div",null,n&&c&&n.login===c.login&&d.default.createElement(l.default,{content:this.newItem(),trigger:["click"],placement:"bottom",className:"mr50"},d.default.createElement("a",{className:"ant-dropdown-link"},d.default.createElement("span",{className:"color-blue font-16"},d.default.createElement("img",{src:h.default,alt:"",width:"13px"})," 新建"))),d.default.createElement(l.default,{content:this.menu(),trigger:["click"],placement:"bottom"},d.default.createElement("a",{className:"ant-dropdown-link"},d.default.createElement("span",{className:"color-blue font-16"},"排序 ",d.default.createElement("img",{src:v.default,alt:"",width:"10px"})))))),d.default.createElement("div",{className:"infosType"},d.default.createElement("div",null,this.category_button(u)),c&&n&&c.login===n.login?d.default.createElement("p",{className:"infoStatus"},d.default.createElement("span",{className:"public"===f?"active":"",onClick:function(){return e.changeStatus("public")}},"公有"),!f&&d.default.createElement(o.default,{type:"vertical",className:"statusDivider"}),d.default.createElement("span",{className:"private"===f?"active":"",onClick:function(){return e.changeStatus("private")}},"私有")):""),m&&m.length>0?d.default.createElement(g.default,s({},this.props,this.state,{projects:m})):d.default.createElement(b.default,{_html:"暂时没有项目"}),A&&A>O?d.default.createElement("div",{className:"edu-txt-center pt30 mb30 border-top-grey"},d.default.createElement(a.default,{simple:!0,defaultCurrent:k,total:A,pageSize:O,onChange:this.changePage})):"")}}]),t}(p.Component);t.default=w},FPGT:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAJCAYAAADkZNYtAAAA0UlEQVQoU4XPsUpCARTG8f9nOESLLYVdoVVy6RGiB+gJahZ0USebxKmGUBeD5nqBeoDoEVoUH+DeoBZdpEHyi6so11A72znndz44Ctp+Bi74v16UvfNxaocesLfFj6c/FBSDXMt1i5tNWOY6rOl2hnlwOvfNu83J3wOJfrjLKUVN5jhOb/vM8AosZ4AF52FVb7FJLghafkRcLtPNU1TT1aJfwQcdH6bNAMgAo4nIf1X0uRbHw6OOSzJdi/JHRffJH1aSZ4uGU8E+3WhImaamSfwLSmg7J0wuJwcAAAAASUVORK5CYII="},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 i(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 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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,m=e.className,y=e.children,g=e.dashed,b=u(e,["prefixCls","type","orientation","className","children","dashed"]),h=a("divider",l),v=d.length>0?"-".concat(d):d,A=o()(m,h,"".concat(h,"-").concat(f),(i(n={},"".concat(h,"-with-text").concat(v),y),i(n,"".concat(h,"-dashed"),!!g),n));return r.createElement("div",c({className:A},b,{role:"separator"}),y&&r.createElement("span",{className:"".concat(h,"-inner-text")},y))}))}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return g}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),l=n("6CfX");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 i(){return(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}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},g=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&&f(e,t)}(h,e);var t,n,c,g,b=(t=h,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function h(){var e;return u(this,h),(e=b.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,l=o.prefixCls,c=y(o,["prefixCls"]);delete c.title;var u=n("popover",l);return r.createElement(a.default,i({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=h,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&s(n.prototype,c),g&&s(n,g),h}(r.Component);g.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},la1e:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAABs0lEQVQ4T5WSsWtUQRCHv5m9s4kSG7XzTwgWioQoYhCMhSJRXt5pEgx2QYgpIlppkSIQQrARLLQIwr13YkAQRBJstLExEJLOQm2sDw0W3puR9y4eOT1MbovdZWbnm9/MjrC9PA0V3KZA+oAt4A1qDwq3aX6eB3rA1xF9KCNZNXdJvnmii+CD4DMo74BeXEcxZgqAMo/YM6COcRpkHuStxDYtXguXMJtjy0/KTb7/UVSAa6VTRZao8b7N/oQD9MgHVO+KJ7IK+kjibHnno93unoRhsEnxROuoHZWI+m5B7eroxfRrDviJ2iGJ+NElYD+m33LAJtiYxHzsCpBwAeSeeKr3cQ7mHe0KkMoKplXxJQ6zTzfAhvaqwpMwATbFET/enIPnYZjMF3E7IxU+/0+J10r9mL2kZGflKpsFoPnnegvzaco+KFf40gniaWkAbBnRUYkaK61JbEESncS5Q7BzEvGp7duS8gk8e5VPqFxrBv8DKJRUww3EZ/FwUSq/1gpbntntBciExNnrneBWCW3Z0nAZ/DHIbSCAL4Bel5HG6t+ldQQ0e1I+hjWebndoXGI2OvXlN28Np9vm0kEpAAAAAElFTkSuQmCC"},lbbv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAVCAYAAABCIB6VAAABeElEQVRIS82VzStEURjGf88dUgqRjWEskFJ2ko3s5I9RuL4WNrJQ5OPiP7C3sLBTLCRlY6FsUBYuG987H3de3VujmTBXM0PO5tT5+J2n5zzvOWr0zCi+PZo4kLHgu9oJcSoROCPNEBP+iJY+wL4rFSo8uWj1SjBkMCWQQV9JwBlBSc/mBZPARknBqTVrTQecGVyUFNy0bHUmbhG3vw8GDgu9vI9IiISMrhzFxUJz9mdbIaOnWHgaqiW2/8bjQgokSoHDGHAXVhvT5jTV0foSEBSViuZlawnEOeLcH1FbtpX/Bxy+CyQYjF4wqAWGQysM1qIx48kflaekZ6+CMv+Bcmb0FpeMBs86HDjJs+7Sd5UKrTgF2gx6r1ztx4F/rLhxxWYxpoDjZxi4cXUdB8/M57282jmrqayIyrkduAe2zKL+y6YEm/6wdsPJvOBwQb1nDRViHaM/Vq0YjzILfMpx1uacXyO1ap1BQLfjUPXdAWmHvashHcUJeAfhzNAdCh13ggAAAABJRU5ErkJggg=="},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},txnC:function(e,t,n){},"z+6C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("3S7+")),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("TfFZ");var o=n("q1tI"),l=f(o),c=n("sYIF"),i=n("eO8H");n("7dqz");var u=f(n("2CTR"));n("3cxI");var s=f(n("la1e"));function f(e){return e&&e.__esModule?e:{default:e}}function p(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}var m=function(e){function t(){var e,n,r;p(this,t);for(var a=arguments.length,o=Array(a),l=0;l<a;l++)o[l]=arguments[l];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.TurnToDetail=function(e,t){r.props.history.push({pathname:t,state:e})},d(r,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.projects,t=e&&e.length>0?e.map((function(e,t){return l.default.createElement("div",{className:"p-r-Item",key:t},"educoder"===e.platform?l.default.createElement("a",{href:"javascript:void(0)",style:{cursor:"default"},className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:e.author&&e.author.image_url})):l.default.createElement(i.Link,{to:"/users/"+e.author.login,className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:(0,c.getImageUrl)(""+(e.author&&e.author.image_url))})),l.default.createElement("div",{className:"p-r-Infos"},l.default.createElement("div",{className:"p-r-name"},l.default.createElement(i.Link,{to:"/projects/"+e.author.login+"/"+e.identifier,className:"hide-1 color-grey-3 font-18 task-hide ",style:{whiteSpace:"wrap",display:"flex",width:400}},e.author.name,"/",e.name,e.forked_from_project_id?l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})):"",e.type&&0!==e.type?2===e.type?l.default.createElement(r.default,{title:"该项目是一个镜像",className:"ml5"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement("span",{className:"p-r-tags"},l.default.createElement("span",{className:"pariseTag"},l.default.createElement("img",{src:s.default,alt:"",className:"pariseImg"}),"赞 ",e.praises_count),l.default.createElement("span",null,l.default.createElement("i",{className:"iconfont icon-fork mr3 font-16",style:{color:"#1B8FFF"}}),"fork ",e.forked_count))),l.default.createElement("p",{className:"break_word task-hide-2 mt10",style:{maxHeight:"44px",lineHeight:"22px"}},e.description),l.default.createElement("div",{className:"p-r-about"},l.default.createElement("span",{className:"p-r-detail"},e.last_update_time?l.default.createElement("span",null,l.default.createElement("label",null,"更新于"),e.time_ago):"",e.language&&e.language.id?l.default.createElement("span",{className:"color-grey-3"},e.language.name):""))))})):l.default.createElement(u.default,{_html:"暂无数据~"});return l.default.createElement("div",{className:"project-list minH-670"},t)}}]),t}(o.Component);t.default=m}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[41],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=c(a),l=c(n("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s=function(e){function t(){return i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=s},"3cxI":function(e,t,n){},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},EEGS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=A(n("W9HT")),a=A(n("NUBc")),o=A(n("PArb")),l=A(n("diRs")),c=A(n("2/Rp")),i=A(n("BvKs")),u=A(n("5rEg")),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},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("YQTV"),n("qNb/"),n("Aosp"),n("L/Qf"),n("2WkQ"),n("1vPl");var p=n("q1tI"),d=A(p),m=n("eO8H"),y=A(n("vDqi")),g=A(n("z+6C")),b=A(n("2CTR")),h=A(n("lbbv")),v=A(n("FPGT"));function A(e){return e&&e.__esModule?e:{default:e}}var E=u.default.Search,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.get_projects()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,r=e.match.params.username;(e.project_type!==n.props.project_type||r&&t&&r!==t)&&n.get_projects()},n.get_projects=function(e){var t=n.props.match.params.username,r=n.props.project_type,a="/users/"+t+"/projects.json",o=n.state,l=o.page,c=o.limit,i=o.search,u=o.sort_by,s=o.category,f=o.is_public;n.setState({isSpin:!0}),y.default.get(a,{params:{page:l,limit:c,search:i,sort_by:u,category:s,project_type:r,is_public:void 0!==e?e:f}}).then((function(e){e&&n.setState({projectsList:e.data.projects,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changeCategory=function(e){n.state.category=e.target.value,n.get_projects()},n.changePage=function(e){n.state.page=e,n.get_projects()},n.ChangeSoryBy=function(e){n.state.sort_by=e.key,n.get_projects()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.changeStatus=function(e){var t=n.state.is_public===e?void 0:e;n.state.is_public=t,n.get_projects(t)},n.menu=function(){return d.default.createElement(i.default,{onClick:n.ChangeSoryBy},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:"forked_count"},"fork数据排序"),d.default.createElement(i.default.Item,{key:"praises_count"},"点赞数量排序"))},n.newItem=function(){return d.default.createElement(i.default,null,d.default.createElement(i.default.Item,{key:"created_mirror"},d.default.createElement(m.Link,{to:"/projects/mirror/new"},"新建镜像项目")),d.default.createElement(i.default.Item,{key:"created_deposit"},d.default.createElement(m.Link,{to:"/projects/deposit/new"},"新建托管项目")))},n.category_button=function(e){var t=n.props,r=t.current_user,a=t.user;return(a&&r&&a.login===r.login?[{type:void 0,name:"所有"},{type:"manage",name:"我创建的"},{type:"join",name:"我参与的"},{type:"watched",name:"我关注的"},{type:"forked",name:"我Fork的"}]:[{type:void 0,name:"所有"},{type:"manage",name:"TA创建的"},{type:"join",name:"TA参与的"},{type:"watched",name:"TA关注的"},{type:"forked",name:"TAFork的"}]).map((function(t,r){return d.default.createElement("span",{key:r,className:"pr15"},d.default.createElement(c.default,{type:e&&e===t.type||!e&&!t.type?"primary":"default",ghost:e&&e===t.type||!e&&!t.type,value:t.type,onClick:n.changeCategory},t.name))}))},n.state={page:1,limit:15,sort_by:void 0,totalCount:void 0,isSpin:!1,projectsList:void 0,total:void 0,category:void 0,is_public: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,n=t.current_user,c=t.user,i=this.state,u=i.category,f=i.is_public,p=this.state,m=p.projectsList,y=p.isSpin,A=p.total,w=p.search,O=p.limit,k=p.page;return d.default.createElement(r.default,{spinning:y},d.default.createElement("div",{className:"list-r-operation"},d.default.createElement(E,{placeholder:"输入项目名称关键字进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_projects,className:"list-r-Search",value:w,onChange:this.changeSearchValue}),d.default.createElement("div",null,n&&c&&n.login===c.login&&d.default.createElement(l.default,{content:this.newItem(),trigger:["click"],placement:"bottom",className:"mr50"},d.default.createElement("a",{className:"ant-dropdown-link"},d.default.createElement("span",{className:"color-blue font-16"},d.default.createElement("img",{src:h.default,alt:"",width:"13px"})," 新建"))),d.default.createElement(l.default,{content:this.menu(),trigger:["click"],placement:"bottom"},d.default.createElement("a",{className:"ant-dropdown-link"},d.default.createElement("span",{className:"color-blue font-16"},"排序 ",d.default.createElement("img",{src:v.default,alt:"",width:"10px"})))))),d.default.createElement("div",{className:"infosType"},d.default.createElement("div",null,this.category_button(u)),c&&n&&c.login===n.login?d.default.createElement("p",{className:"infoStatus"},d.default.createElement("span",{className:"public"===f?"active":"",onClick:function(){return e.changeStatus("public")}},"公有"),!f&&d.default.createElement(o.default,{type:"vertical",className:"statusDivider"}),d.default.createElement("span",{className:"private"===f?"active":"",onClick:function(){return e.changeStatus("private")}},"私有")):""),m&&m.length>0?d.default.createElement(g.default,s({},this.props,this.state,{projects:m})):d.default.createElement(b.default,{_html:"暂时没有项目"}),A&&A>O?d.default.createElement("div",{className:"edu-txt-center pt30 mb30 border-top-grey"},d.default.createElement(a.default,{simple:!0,defaultCurrent:k,total:A,pageSize:O,onChange:this.changePage})):"")}}]),t}(p.Component);t.default=w},FPGT:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAJCAYAAADkZNYtAAAA0UlEQVQoU4XPsUpCARTG8f9nOESLLYVdoVVy6RGiB+gJahZ0USebxKmGUBeD5nqBeoDoEVoUH+DeoBZdpEHyi6so11A72znndz44Ctp+Bi74v16UvfNxaocesLfFj6c/FBSDXMt1i5tNWOY6rOl2hnlwOvfNu83J3wOJfrjLKUVN5jhOb/vM8AosZ4AF52FVb7FJLghafkRcLtPNU1TT1aJfwQcdH6bNAMgAo4nIf1X0uRbHw6OOSzJdi/JHRffJH1aSZ4uGU8E+3WhImaamSfwLSmg7J0wuJwcAAAAASUVORK5CYII="},PArb:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("TSYQ"),o=n.n(a),l=n("H84U");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 i(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 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};t.default=function(e){return r.createElement(l.a,null,(function(t){var n,a=t.getPrefixCls,l=e.prefixCls,s=e.type,f=void 0===s?"horizontal":s,p=e.orientation,d=void 0===p?"center":p,m=e.className,y=e.children,g=e.dashed,b=u(e,["prefixCls","type","orientation","className","children","dashed"]),h=a("divider",l),v=d.length>0?"-".concat(d):d,A=o()(m,h,"".concat(h,"-").concat(f),(i(n={},"".concat(h,"-with-text").concat(v),y),i(n,"".concat(h,"-dashed"),!!g),n));return r.createElement("div",c({className:A},b,{role:"separator"}),y&&r.createElement("span",{className:"".concat(h,"-inner-text")},y))}))}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return g}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),l=n("6CfX");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 i(){return(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}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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},g=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&&f(e,t)}(h,e);var t,n,c,g,b=(t=h,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function h(){var e;return u(this,h),(e=b.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,l=o.prefixCls,c=y(o,["prefixCls"]);delete c.title;var u=n("popover",l);return r.createElement(a.default,i({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=h,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&s(n.prototype,c),g&&s(n,g),h}(r.Component);g.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},la1e:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAABs0lEQVQ4T5WSsWtUQRCHv5m9s4kSG7XzTwgWioQoYhCMhSJRXt5pEgx2QYgpIlppkSIQQrARLLQIwr13YkAQRBJstLExEJLOQm2sDw0W3puR9y4eOT1MbovdZWbnm9/MjrC9PA0V3KZA+oAt4A1qDwq3aX6eB3rA1xF9KCNZNXdJvnmii+CD4DMo74BeXEcxZgqAMo/YM6COcRpkHuStxDYtXguXMJtjy0/KTb7/UVSAa6VTRZao8b7N/oQD9MgHVO+KJ7IK+kjibHnno93unoRhsEnxROuoHZWI+m5B7eroxfRrDviJ2iGJ+NElYD+m33LAJtiYxHzsCpBwAeSeeKr3cQ7mHe0KkMoKplXxJQ6zTzfAhvaqwpMwATbFET/enIPnYZjMF3E7IxU+/0+J10r9mL2kZGflKpsFoPnnegvzaco+KFf40gniaWkAbBnRUYkaK61JbEESncS5Q7BzEvGp7duS8gk8e5VPqFxrBv8DKJRUww3EZ/FwUSq/1gpbntntBciExNnrneBWCW3Z0nAZ/DHIbSCAL4Bel5HG6t+ldQQ0e1I+hjWebndoXGI2OvXlN28Np9vm0kEpAAAAAElFTkSuQmCC"},lbbv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAVCAYAAABCIB6VAAABeElEQVRIS82VzStEURjGf88dUgqRjWEskFJ2ko3s5I9RuL4WNrJQ5OPiP7C3sLBTLCRlY6FsUBYuG987H3de3VujmTBXM0PO5tT5+J2n5zzvOWr0zCi+PZo4kLHgu9oJcSoROCPNEBP+iJY+wL4rFSo8uWj1SjBkMCWQQV9JwBlBSc/mBZPARknBqTVrTQecGVyUFNy0bHUmbhG3vw8GDgu9vI9IiISMrhzFxUJz9mdbIaOnWHgaqiW2/8bjQgokSoHDGHAXVhvT5jTV0foSEBSViuZlawnEOeLcH1FbtpX/Bxy+CyQYjF4wqAWGQysM1qIx48kflaekZ6+CMv+Bcmb0FpeMBs86HDjJs+7Sd5UKrTgF2gx6r1ztx4F/rLhxxWYxpoDjZxi4cXUdB8/M57282jmrqayIyrkduAe2zKL+y6YEm/6wdsPJvOBwQb1nDRViHaM/Vq0YjzILfMpx1uacXyO1ap1BQLfjUPXdAWmHvashHcUJeAfhzNAdCh13ggAAAABJRU5ErkJggg=="},"qNb/":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("txnC")},txnC:function(e,t,n){},"z+6C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("3S7+")),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("TfFZ");var o=n("q1tI"),l=f(o),c=n("sYIF"),i=n("eO8H");n("7dqz");var u=f(n("2CTR"));n("3cxI");var s=f(n("la1e"));function f(e){return e&&e.__esModule?e:{default:e}}function p(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}var m=function(e){function t(){var e,n,r;p(this,t);for(var a=arguments.length,o=Array(a),l=0;l<a;l++)o[l]=arguments[l];return n=r=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),r.TurnToDetail=function(e,t){r.props.history.push({pathname:t,state:e})},d(r,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.projects,t=e&&e.length>0?e.map((function(e,t){return l.default.createElement("div",{className:"p-r-Item",key:t},"educoder"===e.platform?l.default.createElement("a",{href:"javascript:void(0)",style:{cursor:"default"},className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:e.author&&e.author.image_url})):l.default.createElement(i.Link,{to:"/users/"+e.author.login,className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:(0,c.getImageUrl)(""+(e.author&&e.author.image_url))})),l.default.createElement("div",{className:"p-r-Infos"},l.default.createElement("div",{className:"p-r-name"},l.default.createElement(i.Link,{to:"/projects/"+e.author.login+"/"+e.identifier,className:"hide-1 color-grey-3 font-18 task-hide ",style:{whiteSpace:"wrap",display:"flex",width:400}},e.author.name,"/",e.name,e.forked_from_project_id?l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})):"",e.type&&0!==e.type?2===e.type?l.default.createElement(r.default,{title:"该项目是一个镜像",className:"ml5"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement("span",{className:"p-r-tags"},l.default.createElement("span",{className:"pariseTag"},l.default.createElement("img",{src:s.default,alt:"",className:"pariseImg"}),"赞 ",e.praises_count),l.default.createElement("span",null,l.default.createElement("i",{className:"iconfont icon-fork mr3 font-16",style:{color:"#1B8FFF"}}),"fork ",e.forked_count))),l.default.createElement("p",{className:"break_word task-hide-2 mt10",style:{maxHeight:"44px",lineHeight:"22px"}},e.description),l.default.createElement("div",{className:"p-r-about"},l.default.createElement("span",{className:"p-r-detail"},e.last_update_time?l.default.createElement("span",null,l.default.createElement("label",null,"更新于"),e.time_ago):"",e.language&&e.language.id?l.default.createElement("span",{className:"color-grey-3"},e.language.name):""))))})):l.default.createElement(u.default,{_html:"暂无数据~"});return l.default.createElement("div",{className:"project-list minH-670"},t)}}]),t}(o.Component);t.default=m}}]); \ No newline at end of file diff --git a/static/js/41.d046077c.chunk.js b/static/js/42.2979649e.chunk.js similarity index 99% rename from static/js/41.d046077c.chunk.js rename to static/js/42.2979649e.chunk.js index 756068e45..dd973e10d 100644 --- a/static/js/41.d046077c.chunk.js +++ b/static/js/42.2979649e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[41,77],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},LmtA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("mr32")),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}}();n("0lcf");var a=n("q1tI"),l=c(a),i=n("eO8H"),s=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m");var u=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.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return l.default.createElement("span",{className:"issue-tag-show",style:{color:e.color}},e.name)})):"--"},n.state={isdisplay:!1,orderid:""},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,n=t.issues,o=(t.project_name,t.project_author_name),a=this.props.match.params,c=a.projectsId,u=a.owner,f=this.props.current_user;return l.default.createElement("div",null,function(){if(n&&n.length>0)return n.map((function(t,n){return l.default.createElement("div",{className:"issueItem"},l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb15 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/pulls/"+t.pull_request_id+"/Messagecount",className:"hide-1 font-15 color-grey-3 fwb lineh-30 mr10",style:{maxWidth:"300px"}},t.name),l.default.createElement(r.default,{className:"pr_tags_"+t.pull_request_staus},"merged"===t.pull_request_staus?"已合并":"closed"===t.pull_request_staus?"已拒绝":"开启的")),l.default.createElement("p",{className:"grid-item font-13"},l.default.createElement(i.Link,{to:"/users/"+(t&&t.author_login),className:"show-user-link"},l.default.createElement("img",{className:"radius",src:(0,s.getImageUrl)("images/"+(t&&t.avatar_url)),alt:"",width:"24",height:"24"})),l.default.createElement("span",null,l.default.createElement(i.Link,{to:"/users/"+(t&&t.author_login),className:"show-user-link color-grey-8 ml5"},t&&t.author_name),l.default.createElement("span",{className:"ml15 color-grey-8"},"open"===t.pull_request_staus?"创建于":"merged"===t.pull_request_staus?"合并于":"更新于"),l.default.createElement("span",{className:"color-grey-8"},t.pr_time),l.default.createElement("span",{className:"ml15"},l.default.createElement(r.default,{className:"pr-branch-tag"},l.default.createElement(i.Link,{to:"/projects/"+(t.is_original?t.fork_project_user:u)+"/"+(t.is_original?t.fork_project_identifier:c)+"/branch/"+t.pull_request_head,className:"maxW200px hide-1 ver-middle"},t.is_original?t.fork_project_user:o,":",t.pull_request_head)),l.default.createElement("span",{className:"mr8 ver-middle"},l.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),l.default.createElement(r.default,{className:"pr-branch-tag"},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/branch/"+t.pull_request_base,className:"maxW200px hide-1 ver-middle"},o,":",t.pull_request_base)))))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(t.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,t.priority),l.default.createElement("li",null,e.set_issue_tags(t.issue_tags)),l.default.createElement("li",null,t.assign_user_name?l.default.createElement(i.Link,{to:"/users/"+t.assign_user_login,className:"show-user-link"},t.assign_user_name):"--"),l.default.createElement("li",null,t.version||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"flex1 df",style:{justifyContent:"center"}},t.journals_count?l.default.createElement(i.Link,{className:"mr5 color-grey-8",to:"/projects/"+u+"/"+c+"/pulls/"+t.pull_request_id+"/Messagecount"},l.default.createElement("i",{className:"iconfont icon-huifu1 font-15 mr5 ver-middle"}),t.journals_count):"",f&&f.login?l.default.createElement("div",{className:"milepostleft",style:{display:e.state.orderid===t.id&&e.state.isdisplay?"flex":"none"}},l.default.createElement("div",{className:"grid-item mr15 color-grey-9"},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/merge/"+t.pull_request_id+"/updatemerge",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"})))):""))))}))}())}}]),t}(a.Component);t.default=u},Phz4:function(e,t,n){},VSCt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),o=h(n("jsC+")),a=h(n("CtXQ")),l=h(n("NUBc")),i=h(n("BvKs")),s=h(n("5rEg")),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("04bd"),n("aIZi"),n("2oDE"),n("YQTV"),n("2WkQ"),n("1vPl");var f=n("q1tI"),p=h(f);n("js5m"),n("6JOy"),n("Phz4");var d=h(n("kre1")),m=h(n("LmtA")),y=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var g=s.default.Search,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.getSelectList(),n.getIssueList()},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/issues/index_chosen.json";y.default.get(r).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen})})).catch((function(e){console.log(e)}))},n.getIssueList=function(){var e=n.state.select_params,t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/pulls.json";y.default.get(o,{params:e}).then((function(e){e&&n.setState({data:e.data,issues:e.data.issues,search_count:e.data.search_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getMenu=function(e,t,r){n.setState({isSpin:!0});var o=e.key.split("-");"created_on"===o[0]?("desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}),n.state.select_params.order_name=e.key):"updated_on"===o[0]&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.state.select_params.order_name=o[0],n.state.select_params.order_type=e.item.props.value,n.state.select_params.page=1,n.getIssueList()},n.getOption=function(e,t,r){n.setState({isSpin:!0});var o,a,l,i="all"===e.key?void 0:e.key;n.setState((l=r,(a="${id}s")in(o={})?Object.defineProperty(o,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[a]=l,o)),n.state.select_params[""+t]=i,n.state.select_params.page=1,n.state[t+"s"]=r,n.getIssueList()},n.renderMenu=function(e,t,r){return p.default.createElement(i.default,null,p.default.createElement(i.default.Item,{key:"all",onClick:function(e){return n.getOption(e,r,t)}},t),e&&e.length>0&&e.map((function(e,t){return p.default.createElement(i.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0}),n.state.select_params.page=e,n.getIssueList()},n.searchFunc=function(e){n.setState({search:e,isSpin:!0}),n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList()},n.openorder=function(e){n.setState({isSpin:!0}),n.setState({status_type:e,issue_tag_ids:"标签",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级"}),n.state.select_params={status_type:e,search:void 0,page:1,limit:15},n.getIssueList()},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:void 0,openselect:1,closeselect:void 0,issue_tag_ids:"标签",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级",select_params:{status_type:void 0,assigned_to_id:void 0,fixed_version_id:void 0,priority_id:void 0,order_name:void 0,order_type:void 0,search:void 0,page:1,limit:15}},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:"islogin",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner;!1!==this.props.checkIfLogin()?this.props.history.push("/projects/"+n+"/"+t+"/pulls/new"):this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,s=t.owner,u=this.state,f=u.issue_chosen,y=u.issues,h=u.limit,b=u.page,v=u.search_count,_=u.data,O=u.isSpin,E=u.status_type,C=u.select_params,w=p.default.createElement(i.default,{onClick:function(t){return e.getMenu(t)}},p.default.createElement(i.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),p.default.createElement(i.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),p.default.createElement(i.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),p.default.createElement(i.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新")),j=p.default.createElement(p.default.Fragment,null,v>h?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(l.default,{simple:!0,defaultCurrent:b,total:v,pageSize:h,onChange:this.ChangePage})):"");return p.default.createElement("div",{className:"main"},p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},p.default.createElement("div",{className:"target-detail-search"},p.default.createElement(g,{placeholder:"输入关键字搜索合并请求",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),p.default.createElement("a",{className:"topWrapper_btn ml10",onClick:function(){return e.islogin()}},"+ 新建合并请求")),p.default.createElement("div",{className:"f-wrap-between screenWrap"},p.default.createElement("div",{className:"df"},p.default.createElement("ul",{className:"searchBanner"},p.default.createElement("li",{className:E?"":"active",onClick:function(){return e.openorder(void 0)}},p.default.createElement("label",null,"搜索结果"),p.default.createElement("span",null,_&&_.search_count)),p.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},p.default.createElement("label",null,"开启的"),p.default.createElement("span",null,_&&_.open_count)),p.default.createElement("li",{className:"11"===E?"active":"",onClick:function(){return e.openorder("11")}},p.default.createElement("label",null,"已合并"),p.default.createElement("span",null,_&&_.merged_issues_size)),p.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},p.default.createElement("label",null,"已拒绝"),p.default.createElement("span",null,_&&_.close_count)))),p.default.createElement("ul",{className:"topWrapper_select"},p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.priority,"优先级","priority_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.priority_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.issue_tag_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.assign_user,"审查人员","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.assigned_to_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.fixed_version_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:w,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.paix,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))))),_&&_.search_count&&_.search_count>0?p.default.createElement("div",{style:{minHeight:"470px"}},p.default.createElement(r.default,{spinning:O},p.default.createElement(m.default,c({issues:y,search_count:v,page:C.page,limit:C.limit,project_name:_.project_name,project_author_name:_.project_author_name},this.props,this.state)),j)):p.default.createElement(d.default,{_html:"暂时还没有相关数据!",projectsId:n,owner:s}))}}]),t}(f.Component);t.default=b},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},js5m:function(e,t,n){},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),l=n.n(a),i=n("i8i4"),s=n.n(i),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),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};var g=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return b.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,l=e.placement,i=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),g=u;return g||-1===d.indexOf("contextMenu")||(g=["click"]),o.a.createElement(c.a,h({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:g||[],popupPlacement:l,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:i}),this.renderChildren())},t}(r.Component);g.propTypes={minOverlayWidthMatchTrigger:l.a.bool,onVisibleChange:l.a.func,onOverlayClick:l.a.func,prefixCls:l.a.string,children:l.a.any,transitionName:l.a.string,overlayClassName:l.a.string,openClassName:l.a.string,animation:l.a.any,align:l.a.object,overlayStyle:l.a.object,placement:l.a.string,overlay:l.a.oneOfType([l.a.node,l.a.func]),trigger:l.a.array,alignPoint:l.a.bool,showAction:l.a.array,hideAction:l.a.array,getPopupContainer:l.a.func,visible:l.a.bool,defaultVisible:l.a.bool},g.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var b=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(g);var v=g,_=n("H84U"),O=n("6CfX"),E=n("CtXQ"),C=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==w(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 x(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&N(e,t)}(i,e);var t,n,o,a,l=(t=i,function(){var e,n=T(t);if(x()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function i(){var e;return P(this,i),(e=l.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(O.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var l=a.selectable,i=void 0!==l&&l,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(E.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:i,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.children,c=l.trigger,u=l.disabled,p=l.getPopupContainer,d=a("dropdown",i),m=r.Children.only(s),y=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),h=u?[]:c;return h&&-1!==h.indexOf("contextMenu")&&(n=!0),r.createElement(v,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:h,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=i,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderDropDown)}}])&&k(n.prototype,o),a&&k(n,a),i}(r.Component);I.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var M=n("2/Rp");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)}function R(){return(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}).apply(this,arguments)}function D(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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(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 A(){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 Q(e){return(Q=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 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},X=M.default.Group,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&&q(e,t)}(i,e);var t,n,o,a,l=(t=i,function(){var e,n=Q(t);if(A()){var r=Q(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function i(){var e;return D(this,i),(e=l.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,l=a.prefixCls,i=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,y=a.trigger,h=a.align,g=a.visible,b=a.onVisibleChange,v=a.placement,_=a.getPopupContainer,O=a.href,C=a.icon,w=void 0===C?r.createElement(E.default,{type:"ellipsis"}):C,j=a.title,P=B(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",l),N={align:h,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:b,placement:v,getPopupContainer:_||n};return"visible"in e.props&&(N.visible=g),r.createElement(X,R({},P,{className:f()(k,d)}),r.createElement(M.default,{type:i,disabled:s,onClick:c,htmlType:u,href:O,title:j},p),r.createElement(I,N,r.createElement(M.default,{type:i},w)))},e}return n=i,(o=[{key:"render",value:function(){return r.createElement(_.a,null,this.renderButton)}}])&&W(n.prototype,o),a&&W(n,a),i}(r.Component);F.defaultProps={placement:"bottomRight",type:"default"},I.Button=F;t.default=I},kre1: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}}(),a=n("q1tI"),l=(r=a)&&r.__esModule?r:{default:r},i=n("eO8H");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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:"render",value:function(){var e=this.props,t=(e._html,e.projectsId),n=e.owner;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("div",{className:"mb15"},l.default.createElement("i",{className:"iconfont icon-hebingqingqiu font-80 ver-middle color-grey-b"})),l.default.createElement("h3",null,"欢迎使用合并请求!"),l.default.createElement("div",{className:"color-grey-8"},"合并请求可以帮助您与他人协作编写代码。在使用之前,请先创建一个 ",l.default.createElement(i.Link,{className:"color-blue",to:"/projects/"+n+"/"+t+"/pulls/new"},"合并请求"))))}}]),t}(a.Component);t.default=u},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),l=n("BGR+"),i=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},_=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)}(s,e);var t,n,o,l,i=(t=s,function(){var e,n=b(t);if(g()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function s(){var e;return d(this,s),(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,o=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.className,c=l.checked,u=v(l,["prefixCls","className","checked"]),d=o("tag",i),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),l&&m(n,l),s}(r.Component),O=n("CWQg"),E=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),C=n("6CfX"),w=n("g0mS");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 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 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){for(var n=0;n<t.length;n++){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 x(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 T(){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 I(e){return(I=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},L=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&S(e,t)}(f,e);var t,n,o,i,u=(t=f,function(){var e,n=I(t);if(T()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});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=u.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,a=M(n,["children"]),i="onClick"in a||o&&"a"===o.type,s=Object(l.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return i?r.createElement(w.a,null,r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(C.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return k({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,l=r.className,i=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(P(t={},"".concat(u,"-").concat(i),c),P(t,"".concat(u,"-has-color"),i&&!c),P(t,"".concat(u,"-hidden"),!s),t),l)}},{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&&L.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(n.prototype,o),i&&N(n,i),f}(r.Component);R.CheckableTag=_,R.defaultProps={closable:!1},Object(i.polyfill)(R);t.default=R},u3En:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[42,78],{"0lcf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("u3En")},"6JOy":function(e,t,n){},"7Lfq":function(e,t,n){},LmtA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("mr32")),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}}();n("0lcf");var a=n("q1tI"),l=c(a),i=n("eO8H"),s=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m");var u=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.onMouseMove=function(e){n.setState({isdisplay:!0,orderid:e})},n.onMouseOut=function(){n.setState({isdisplay:!1})},n.set_issue_tags=function(e){return e&&e.length>0?e.map((function(e,t){return l.default.createElement("span",{className:"issue-tag-show",style:{color:e.color}},e.name)})):"--"},n.state={isdisplay:!1,orderid:""},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,n=t.issues,o=(t.project_name,t.project_author_name),a=this.props.match.params,c=a.projectsId,u=a.owner,f=this.props.current_user;return l.default.createElement("div",null,function(){if(n&&n.length>0)return n.map((function(t,n){return l.default.createElement("div",{className:"issueItem"},l.default.createElement("div",{className:"flex-1"},l.default.createElement("p",{className:"mb15 df",style:{alignItems:"center"}},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/pulls/"+t.pull_request_id+"/Messagecount",className:"hide-1 font-15 color-grey-3 fwb lineh-30 mr10",style:{maxWidth:"300px"}},t.name),l.default.createElement(r.default,{className:"pr_tags_"+t.pull_request_staus},"merged"===t.pull_request_staus?"已合并":"closed"===t.pull_request_staus?"已拒绝":"开启的")),l.default.createElement("p",{className:"grid-item font-13"},l.default.createElement(i.Link,{to:"/users/"+(t&&t.author_login),className:"show-user-link"},l.default.createElement("img",{className:"radius",src:(0,s.getImageUrl)("images/"+(t&&t.avatar_url)),alt:"",width:"24",height:"24"})),l.default.createElement("span",null,l.default.createElement(i.Link,{to:"/users/"+(t&&t.author_login),className:"show-user-link color-grey-8 ml5"},t&&t.author_name),l.default.createElement("span",{className:"ml15 color-grey-8"},"open"===t.pull_request_staus?"创建于":"merged"===t.pull_request_staus?"合并于":"更新于"),l.default.createElement("span",{className:"color-grey-8"},t.pr_time),l.default.createElement("span",{className:"ml15"},l.default.createElement(r.default,{className:"pr-branch-tag"},l.default.createElement(i.Link,{to:"/projects/"+(t.is_original?t.fork_project_user:u)+"/"+(t.is_original?t.fork_project_identifier:c)+"/branch/"+t.pull_request_head,className:"maxW200px hide-1 ver-middle"},t.is_original?t.fork_project_user:o,":",t.pull_request_head)),l.default.createElement("span",{className:"mr8 ver-middle"},l.default.createElement("i",{className:"iconfont icon-youjiang color-grey-c font-16"})),l.default.createElement(r.default,{className:"pr-branch-tag"},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/branch/"+t.pull_request_base,className:"maxW200px hide-1 ver-middle"},o,":",t.pull_request_base)))))),l.default.createElement("ul",{className:"topWrapper_select no-cursor",onMouseMove:function(){return e.onMouseMove(t.id)},onMouseOut:function(){return e.onMouseOut()}},l.default.createElement("li",null,t.priority),l.default.createElement("li",null,e.set_issue_tags(t.issue_tags)),l.default.createElement("li",null,t.assign_user_name?l.default.createElement(i.Link,{to:"/users/"+t.assign_user_login,className:"show-user-link"},t.assign_user_name):"--"),l.default.createElement("li",null,t.version||"--"),l.default.createElement("li",null,l.default.createElement("div",{className:"flex1 df",style:{justifyContent:"center"}},t.journals_count?l.default.createElement(i.Link,{className:"mr5 color-grey-8",to:"/projects/"+u+"/"+c+"/pulls/"+t.pull_request_id+"/Messagecount"},l.default.createElement("i",{className:"iconfont icon-huifu1 font-15 mr5 ver-middle"}),t.journals_count):"",f&&f.login?l.default.createElement("div",{className:"milepostleft",style:{display:e.state.orderid===t.id&&e.state.isdisplay?"flex":"none"}},l.default.createElement("div",{className:"grid-item mr15 color-grey-9"},l.default.createElement(i.Link,{to:"/projects/"+u+"/"+c+"/merge/"+t.pull_request_id+"/updatemerge",className:"color-grey-9"},l.default.createElement("i",{className:"iconfont icon-bianji3 font-14 mr5"})))):""))))}))}())}}]),t}(a.Component);t.default=u},Phz4:function(e,t,n){},VSCt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),o=h(n("jsC+")),a=h(n("CtXQ")),l=h(n("NUBc")),i=h(n("BvKs")),s=h(n("5rEg")),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("04bd"),n("aIZi"),n("2oDE"),n("YQTV"),n("2WkQ"),n("1vPl");var f=n("q1tI"),p=h(f);n("js5m"),n("6JOy"),n("Phz4");var d=h(n("kre1")),m=h(n("LmtA")),y=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var g=s.default.Search,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.getSelectList(),n.getIssueList()},n.getSelectList=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/issues/index_chosen.json";y.default.get(r).then((function(e){e&&n.setState({issue_chosen:e.data.issue_chosen})})).catch((function(e){console.log(e)}))},n.getIssueList=function(){var e=n.state.select_params,t=n.props.match.params,r=t.projectsId,o="/"+t.owner+"/"+r+"/pulls.json";y.default.get(o,{params:e}).then((function(e){e&&n.setState({data:e.data,issues:e.data.issues,search_count:e.data.search_count,isSpin:!1})})).catch((function(e){console.log(e)}))},n.getMenu=function(e,t,r){n.setState({isSpin:!0});var o=e.key.split("-");"created_on"===o[0]?("desc"===e.item.props.value?n.setState({paix:"最新创建"}):n.setState({paix:"最早创建"}),n.state.select_params.order_name=e.key):"updated_on"===o[0]&&("desc"===e.item.props.value?n.setState({paix:"最新更新"}):n.setState({paix:"最早更新"})),n.state.select_params.order_name=o[0],n.state.select_params.order_type=e.item.props.value,n.state.select_params.page=1,n.getIssueList()},n.getOption=function(e,t,r){n.setState({isSpin:!0});var o,a,l,i="all"===e.key?void 0:e.key;n.setState((l=r,(a="${id}s")in(o={})?Object.defineProperty(o,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[a]=l,o)),n.state.select_params[""+t]=i,n.state.select_params.page=1,n.state[t+"s"]=r,n.getIssueList()},n.renderMenu=function(e,t,r){return p.default.createElement(i.default,null,p.default.createElement(i.default.Item,{key:"all",onClick:function(e){return n.getOption(e,r,t)}},t),e&&e.length>0&&e.map((function(e,t){return p.default.createElement(i.default.Item,{key:e.id,onClick:function(t){return n.getOption(t,r,e.name)}},e.name)})))},n.ChangePage=function(e){n.setState({isSpin:!0}),n.state.select_params.page=e,n.getIssueList()},n.searchFunc=function(e){n.setState({search:e,isSpin:!0}),n.state.select_params.search=e,n.state.select_params.page=1,n.getIssueList()},n.openorder=function(e){n.setState({isSpin:!0}),n.setState({status_type:e,issue_tag_ids:"标签",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级"}),n.state.select_params={status_type:e,search:void 0,page:1,limit:15},n.getIssueList()},n.state={issue_chosen:void 0,data:void 0,issues:void 0,isSpin:!1,search:void 0,author_id:void 0,assigned_to_id:void 0,search_count:void 0,issue_type:void 0,status_type:void 0,openselect:1,closeselect:void 0,issue_tag_ids:"标签",fixed_version_ids:"里程碑",assigned_to_ids:"审查人员",paix:"排序",priority_ids:"优先级",select_params:{status_type:void 0,assigned_to_id:void 0,fixed_version_id:void 0,priority_id:void 0,order_name:void 0,order_type:void 0,search:void 0,page:1,limit:15}},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:"islogin",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner;!1!==this.props.checkIfLogin()?this.props.history.push("/projects/"+n+"/"+t+"/pulls/new"):this.props.showLoginDialog()}},{key:"render",value:function(){var e=this,t=this.props.match.params,n=t.projectsId,s=t.owner,u=this.state,f=u.issue_chosen,y=u.issues,h=u.limit,b=u.page,v=u.search_count,_=u.data,O=u.isSpin,E=u.status_type,C=u.select_params,w=p.default.createElement(i.default,{onClick:function(t){return e.getMenu(t)}},p.default.createElement(i.default.Item,{key:"created_on-desc",value:"desc"},"最新创建"),p.default.createElement(i.default.Item,{key:"created_on-asc",value:"asc"},"最早创建"),p.default.createElement(i.default.Item,{key:"updated_on-desc",value:"desc"},"最新更新"),p.default.createElement(i.default.Item,{key:"updated_on-asc",value:"asc"},"最早更新")),j=p.default.createElement(p.default.Fragment,null,v>h?p.default.createElement("div",{className:"mt30 mb50 edu-txt-center"},p.default.createElement(l.default,{simple:!0,defaultCurrent:b,total:v,pageSize:h,onChange:this.ChangePage})):"");return p.default.createElement("div",{className:"main"},p.default.createElement("div",{className:"topWrapper",style:{borderBottom:"1px solid #eee"}},p.default.createElement("div",{className:"target-detail-search"},p.default.createElement(g,{placeholder:"输入关键字搜索合并请求",enterButton:!0,onSearch:this.searchFunc,style:{width:300}})),p.default.createElement("a",{className:"topWrapper_btn ml10",onClick:function(){return e.islogin()}},"+ 新建合并请求")),p.default.createElement("div",{className:"f-wrap-between screenWrap"},p.default.createElement("div",{className:"df"},p.default.createElement("ul",{className:"searchBanner"},p.default.createElement("li",{className:E?"":"active",onClick:function(){return e.openorder(void 0)}},p.default.createElement("label",null,"搜索结果"),p.default.createElement("span",null,_&&_.search_count)),p.default.createElement("li",{className:"1"===E?"active":"",onClick:function(){return e.openorder("1")}},p.default.createElement("label",null,"开启的"),p.default.createElement("span",null,_&&_.open_count)),p.default.createElement("li",{className:"11"===E?"active":"",onClick:function(){return e.openorder("11")}},p.default.createElement("label",null,"已合并"),p.default.createElement("span",null,_&&_.merged_issues_size)),p.default.createElement("li",{className:"2"===E?"active":"",onClick:function(){return e.openorder("2")}},p.default.createElement("label",null,"已拒绝"),p.default.createElement("span",null,_&&_.close_count)))),p.default.createElement("ul",{className:"topWrapper_select"},p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.priority,"优先级","priority_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.priority_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_tag,"标签","issue_tag_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.issue_tag_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.assign_user,"审查人员","assigned_to_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.assigned_to_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:this.renderMenu(f&&f.issue_version,"里程碑","fixed_version_id"),trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.fixed_version_ids,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))),p.default.createElement("li",null,p.default.createElement(o.default,{className:"topWrapperSelect",overlay:w,trigger:["click"],placement:"bottomCenter"},p.default.createElement("span",null,this.state.paix,p.default.createElement(a.default,{type:"caret-down",className:"ml5"})))))),_&&_.search_count&&_.search_count>0?p.default.createElement("div",{style:{minHeight:"470px"}},p.default.createElement(r.default,{spinning:O},p.default.createElement(m.default,c({issues:y,search_count:v,page:C.page,limit:C.limit,project_name:_.project_name,project_author_name:_.project_author_name},this.props,this.state)),j)):p.default.createElement(d.default,{_html:"暂时还没有相关数据!",projectsId:n,owner:s}))}}]),t}(f.Component);t.default=b},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},js5m:function(e,t,n){},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),a=n("17x9"),l=n.n(a),i=n("i8i4"),s=n.n(i),c=n("uciX"),u=n("TSYQ"),f=n.n(u),p={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:p,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:p,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:p,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:p,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:p,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:p,offset:[0,4],targetOffset:d}},y=n("VCL8"),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};var g=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return b.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,l=e.placement,i=e.getPopupContainer,s=e.showAction,u=e.hideAction,f=e.overlayClassName,p=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),g=u;return g||-1===d.indexOf("contextMenu")||(g=["click"]),o.a.createElement(c.a,h({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:p,builtinPlacements:m,action:d,showAction:s,hideAction:g||[],popupPlacement:l,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:i}),this.renderChildren())},t}(r.Component);g.propTypes={minOverlayWidthMatchTrigger:l.a.bool,onVisibleChange:l.a.func,onOverlayClick:l.a.func,prefixCls:l.a.string,children:l.a.any,transitionName:l.a.string,overlayClassName:l.a.string,openClassName:l.a.string,animation:l.a.any,align:l.a.object,overlayStyle:l.a.object,placement:l.a.string,overlay:l.a.oneOfType([l.a.node,l.a.func]),trigger:l.a.array,alignPoint:l.a.bool,showAction:l.a.array,hideAction:l.a.array,getPopupContainer:l.a.func,visible:l.a.bool,defaultVisible:l.a.bool},g.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var b=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(g);var v=g,_=n("H84U"),O=n("6CfX"),E=n("CtXQ"),C=n("CWQg");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k(e,t){for(var n=0;n<t.length;n++){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 N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==w(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 x(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&N(e,t)}(i,e);var t,n,o,a,l=(t=i,function(){var e,n=T(t);if(x()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return S(this,e)});function i(){var e;return P(this,i),(e=l.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(O.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var l=a.selectable,i=void 0!==l&&l,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(E.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:i,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.children,c=l.trigger,u=l.disabled,p=l.getPopupContainer,d=a("dropdown",i),m=r.Children.only(s),y=r.cloneElement(m,{className:f()(m.props.className,"".concat(d,"-trigger")),disabled:u}),h=u?[]:c;return h&&-1!==h.indexOf("contextMenu")&&(n=!0),r.createElement(v,j({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:p||o,transitionName:e.getTransitionName(),trigger:h,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=i,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(_.a,null,this.renderDropDown)}}])&&k(n.prototype,o),a&&k(n,a),i}(r.Component);I.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var M=n("2/Rp");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)}function R(){return(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}).apply(this,arguments)}function D(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 q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function V(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 A(){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 Q(e){return(Q=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 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},X=M.default.Group,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&&q(e,t)}(i,e);var t,n,o,a,l=(t=i,function(){var e,n=Q(t);if(A()){var r=Q(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return V(this,e)});function i(){var e;return D(this,i),(e=l.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,l=a.prefixCls,i=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,p=a.children,d=a.className,m=a.overlay,y=a.trigger,h=a.align,g=a.visible,b=a.onVisibleChange,v=a.placement,_=a.getPopupContainer,O=a.href,C=a.icon,w=void 0===C?r.createElement(E.default,{type:"ellipsis"}):C,j=a.title,P=B(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),k=o("dropdown-button",l),N={align:h,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:b,placement:v,getPopupContainer:_||n};return"visible"in e.props&&(N.visible=g),r.createElement(X,R({},P,{className:f()(k,d)}),r.createElement(M.default,{type:i,disabled:s,onClick:c,htmlType:u,href:O,title:j},p),r.createElement(I,N,r.createElement(M.default,{type:i},w)))},e}return n=i,(o=[{key:"render",value:function(){return r.createElement(_.a,null,this.renderButton)}}])&&W(n.prototype,o),a&&W(n,a),i}(r.Component);F.defaultProps={placement:"bottomRight",type:"default"},I.Button=F;t.default=I},kre1: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}}(),a=n("q1tI"),l=(r=a)&&r.__esModule?r:{default:r},i=n("eO8H");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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:"render",value:function(){var e=this.props,t=(e._html,e.projectsId),n=e.owner;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("div",{className:"mb15"},l.default.createElement("i",{className:"iconfont icon-hebingqingqiu font-80 ver-middle color-grey-b"})),l.default.createElement("h3",null,"欢迎使用合并请求!"),l.default.createElement("div",{className:"color-grey-8"},"合并请求可以帮助您与他人协作编写代码。在使用之前,请先创建一个 ",l.default.createElement(i.Link,{className:"color-blue",to:"/projects/"+n+"/"+t+"/pulls/new"},"合并请求"))))}}]),t}(a.Component);t.default=u},mr32:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),a=n.n(o),l=n("BGR+"),i=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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},_=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)}(s,e);var t,n,o,l,i=(t=s,function(){var e,n=b(t);if(g()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function s(){var e;return d(this,s),(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,o=t.getPrefixCls,l=e.props,i=l.prefixCls,s=l.className,c=l.checked,u=v(l,["prefixCls","className","checked"]),d=o("tag",i),m=a()(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 n=s,(o=[{key:"render",value:function(){return r.createElement(c.a,null,this.renderCheckableTag)}}])&&m(n.prototype,o),l&&m(n,l),s}(r.Component),O=n("CWQg"),E=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"),C=n("6CfX"),w=n("g0mS");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 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 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){for(var n=0;n<t.length;n++){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 x(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 T(){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 I(e){return(I=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},L=new RegExp("^(".concat(E.join("|"),")(-inverse)?$")),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&&S(e,t)}(f,e);var t,n,o,i,u=(t=f,function(){var e,n=I(t);if(T()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});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=u.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,a=M(n,["children"]),i="onClick"in a||o&&"a"===o.type,s=Object(l.a)(a,["onClose","afterClose","color","visible","closable","prefixCls"]);return i?r.createElement(w.a,null,r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())):r.createElement("span",k({},s,{className:t.getTagClassName(e),style:t.getTagStyle()}),o,t.renderCloseIcon())},Object(C.a)(!("afterClose"in e),"Tag","'afterClose' will be deprecated, please use 'onClose', we will remove this in the next version."),t}return n=f,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getTagStyle",value:function(){var e=this.props,t=e.color,n=e.style,r=this.isPresetColor();return k({backgroundColor:t&&!r?t:void 0},n)}},{key:"getTagClassName",value:function(e){var t,n=e.getPrefixCls,r=this.props,o=r.prefixCls,l=r.className,i=r.color,s=this.state.visible,c=this.isPresetColor(),u=n("tag",o);return a()(u,(P(t={},"".concat(u,"-").concat(i),c),P(t,"".concat(u,"-has-color"),i&&!c),P(t,"".concat(u,"-hidden"),!s),t),l)}},{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&&L.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(n.prototype,o),i&&N(n,i),f}(r.Component);R.CheckableTag=_,R.defaultProps={closable:!1},Object(i.polyfill)(R);t.default=R},u3En:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/42.48cbd01c.chunk.js b/static/js/43.3a9bdd51.chunk.js similarity index 99% rename from static/js/42.48cbd01c.chunk.js rename to static/js/43.3a9bdd51.chunk.js index 21cb33506..a341d3ecc 100644 --- a/static/js/42.48cbd01c.chunk.js +++ b/static/js/43.3a9bdd51.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[42],{"+hnl":function(e,t,n){},"+vQn":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("uIZd")},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},Ctgt:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),l=n("17x9"),i=n.n(l),a=n("VCL8");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 u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return 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}var b=n("TSYQ"),y=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=p(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?d(r):o,h(d(d(n)),"handleClick",(function(e){var t=n.state.checked,r=n.props.onClick,o=!t;n.setChecked(o,e),r&&r(o,e)})),h(d(d(n)),"handleKeyDown",(function(e){37===e.keyCode?n.setChecked(!1,e):39===e.keyCode&&n.setChecked(!0,e)})),h(d(d(n)),"handleMouseUp",(function(e){var t=n.props.onMouseUp;n.node&&n.node.blur(),t&&t(e)})),h(d(d(n)),"saveNode",(function(e){n.node=e}));var l=!1;return l="checked"in e?!!e.checked:!!e.defaultChecked,n.state={checked:l},n}var n,r,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&&s(e,t)}(t,e),n=t,l=[{key:"getDerivedStateFromProps",value:function(e){var t={},n=e.checked;return"checked"in e&&(t.checked=!!n),t}}],(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"setChecked",value:function(e,t){var n=this.props,r=n.disabled,o=n.onChange;r||("checked"in this.props||this.setState({checked:e}),o&&o(e,t))}},{key:"focus",value:function(){this.node.focus()}},{key:"blur",value:function(){this.node.blur()}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.prefixCls,l=t.disabled,i=t.loadingIcon,a=t.checkedChildren,f=t.unCheckedChildren,p=u(t,["className","prefixCls","disabled","loadingIcon","checkedChildren","unCheckedChildren"]),s=this.state.checked,d=b((h(e={},n,!!n),h(e,r,!0),h(e,"".concat(r,"-checked"),s),h(e,"".concat(r,"-disabled"),l),e));return o.a.createElement("button",c({},p,{type:"button",role:"switch","aria-checked":s,disabled:l,className:d,ref:this.saveNode,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onMouseUp:this.handleMouseUp}),i,o.a.createElement("span",{className:"".concat(r,"-inner")},s?a:f))}}])&&f(n.prototype,r),l&&f(n,l),t}(r.Component);y.propTypes={className:i.a.string,prefixCls:i.a.string,disabled:i.a.bool,checkedChildren:i.a.any,unCheckedChildren:i.a.any,onChange:i.a.func,onMouseUp:i.a.func,onClick:i.a.func,tabIndex:i.a.number,checked:i.a.bool,defaultChecked:i.a.bool,autoFocus:i.a.bool,loadingIcon:i.a.node},y.defaultProps={prefixCls:"rc-switch",checkedChildren:null,unCheckedChildren:null,className:"",defaultChecked:!1},Object(a.polyfill)(y),t.default=y},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 l=Object.keys(e),i=Object.keys(t);if(l.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),c=0;c<l.length;c++){var u=l[c];if(!a(u))return!1;var f=e[u],p=t[u];if(!1===(o=n?n.call(r,f,p,u):void 0)||void 0===o&&f!==p)return!1}return!0}},IaUq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,l=g(n("2/Rp")),i=g(n("Sdc0")),a=g(n("kaz8")),c=g(n("9yH6")),u=g(n("Vl3Y")),f=g(n("5rEg")),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},s=(r=["{\n padding:20px 30px;\n}"],o=["{\n padding:20px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("L/Qf"),n("+vQn"),n("MKzF"),n("K4yd"),n("tULf"),n("1vPl");var d=n("q1tI"),h=g(d),b=n("spEH"),y=g(n("vOnD"));function g(e){return e&&e.__esModule?e:{default:e}}var v=f.default.TextArea,m=y.default.div(s),x={lineHeight:"25px",height:"25px",display:"block"},w=p({},x,{marginBottom:"7px"});t.default=u.default.create()((0,d.forwardRef)((function(e){var t=e.form,n=t.getFieldDecorator,r=(t.validateFields,t.setFieldsValue,(0,d.useCallback)((function(e,t,r,o,l,i){return h.default.createElement(h.default.Fragment,null,h.default.createElement("span",{className:l?"required":""},e),h.default.createElement(u.default.Item,{style:{marginBottom:i+"px"||!1}},n(t,{rules:r,validateFirst:!0})(o)))}),[]));return h.default.createElement(b.WhiteBack,{className:"mb30"},h.default.createElement(b.Banner,null,"新建团队"),h.default.createElement(m,null,h.default.createElement(u.default,null,r("团队名称:","name",[{required:!0,message:"请输入团队名称"}],h.default.createElement(f.default,{placeholder:"请输入团队名称"}),!0),r(h.default.createElement("span",null,"团队描述:",h.default.createElement("span",{className:"color-grey-8"},"(描述团队的目的或作用)")),"desc",[],h.default.createElement(v,{placeholder:"请输入团队描述"})),r("项目权限:","operation",[],h.default.createElement(c.default.Group,null,h.default.createElement(c.default,{value:"0",style:w},"指定项目",h.default.createElement("span",{className:"color-grey-8"},"(团队成员将只能访问添加到团队的项目。 选择此项 ",h.default.createElement("span",{className:"color-grey-3"},"将不会")," 自动删除已经添加的项目)")),h.default.createElement(c.default,{value:"1",style:x},"所有项目",h.default.createElement("span",{className:"color-grey-8"},"(团队可以访问所有项目。选择此选项将 ",h.default.createElement("span",{className:"color-grey-3"},"添加所有现有的")," 项目到指定团队)"))),!1,0),r("","operation",[],h.default.createElement(a.default,{value:"0",style:x},"新建项目",h.default.createElement("span",{className:"color-grey-8"},"(成员可以在组织中新建项目。创建者将自动获得新建的项目的管理员权限。)"))),r("权限:","halfoperation",[],h.default.createElement(c.default.Group,null,h.default.createElement(c.default,{value:"0",style:w},"读取权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以查看和克隆团队项目)")),h.default.createElement(c.default,{value:"1",style:w},"写入权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以查看和推送提交到团队项目)")),h.default.createElement(c.default,{value:"2",style:x},"管理员权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以拉取和推送到团队项目同时可以添加协作者)"))),!1),h.default.createElement("p",{class:"required"},"允许访问项目单元:"),h.default.createElement(b.AlignCenter,null,r("","allowCode",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"代码库",h.default.createElement("span",{className:"color-grey-8 ml15"},"(查看源码、文件、提交和分支)"))),h.default.createElement(b.AlignCenter,null,r("","allowtask",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"任务",h.default.createElement("span",{className:"color-grey-8 ml15"},"(组织 bug 报告、任务和里程碑)"))),h.default.createElement(b.AlignCenter,null,r("","allowPull",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"合并请求",h.default.createElement("span",{className:"color-grey-8 ml15"},"(启用合并请求和代码评审)"))),h.default.createElement(b.AlignCenter,{className:"mb20"},r("","allowVersion",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"版本发布",h.default.createElement("span",{className:"color-grey-8 ml15"},"(跟踪项目版本和下载)"))),h.default.createElement(l.default,{type:"primary"},"新建团队"),h.default.createElement(b.Cancel,{className:"ml30"},"取消"))))})))},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},Sdc0:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return k}));var r=n("q1tI"),o=n("17x9"),l=n("XIdC"),i=n.n(l),a=n("TSYQ"),c=n.n(a),u=n("BGR+"),f=n("g0mS"),p=n("CtXQ"),s=n("H84U"),d=n("6CfX");function h(e){return(h="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 b(){return(b=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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){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 m(e,t){return!t||"object"!==h(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 x(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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)}(h,e);var t,n,o,l,a=(t=h,function(){var e,n=w(t);if(x()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=a.call(this,e)).saveSwitch=function(e){t.rcSwitch=e},t.renderSwitch=function(e){var n,o=e.getPrefixCls,l=t.props,a=l.prefixCls,s=l.size,d=l.loading,h=l.className,g=void 0===h?"":h,v=l.disabled,m=o("switch",a),x=c()(g,(y(n={},"".concat(m,"-small"),"small"===s),y(n,"".concat(m,"-loading"),d),n)),w=d?r.createElement(p.default,{type:"loading",className:"".concat(m,"-loading-icon")}):null;return r.createElement(f.a,{insertExtraNode:!0},r.createElement(i.a,b({},Object(u.a)(t.props,["loading"]),{prefixCls:m,className:x,disabled:v||d,ref:t.saveSwitch,loadingIcon:w})))},Object(d.a)("checked"in e||!("value"in e),"Switch","`value` is not validate prop, do you mean `checked`?"),t}return n=h,(o=[{key:"focus",value:function(){this.rcSwitch.focus()}},{key:"blur",value:function(){this.rcSwitch.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderSwitch)}}])&&g(n.prototype,o),l&&g(n,l),h}(r.Component);k.__ANT_SWITCH=!0,k.propTypes={prefixCls:o.string,size:o.oneOf(["small","default","large"]),className:o.string}},XIdC:function(e,t,n){e.exports=n("Ctgt")},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 l(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 i(e){return l(e)}function a(e){return l(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,l=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||l.clientLeft||0,top:r-=i.clientTop||l.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=i(r),t.top+=a(r),t}var u=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),f=/^(top|right|bottom|left)$/,p="left";var s=void 0;function d(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===s(e,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,l=n||o.defaultView.getComputedStyle(e,null);return l&&(r=l.getPropertyValue(t)||l[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(u.test(n)&&!f.test(t)){var r=e.style,o=r[p],l=e.runtimeStyle[p];e.runtimeStyle[p]=e.currentStyle[p],r[p]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[p]=o,e.runtimeStyle[p]=l}return""===n?"auto":n});var b=["margin","border","padding"];function y(e,t,n){var r={},o=e.style,l=void 0;for(l in t)t.hasOwnProperty(l)&&(r[l]=o[l],o[l]=t[l]);for(l in n.call(e),t)t.hasOwnProperty(l)&&(o[l]=r[l])}function g(e,t,n){var r=0,o=void 0,l=void 0,i=void 0;for(l=0;l<t.length;l++)if(o=t[l])for(i=0;i<n.length;i++){var a=void 0;a="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(s(e,a))||0}return r}function v(e){return null!=e&&e==e.window}var m={};function x(e,t,n){if(v(e))return"width"===t?m.viewportWidth(e):m.viewportHeight(e);if(9===e.nodeType)return"width"===t?m.docWidth(e):m.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,l=(s(e),h(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=s(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=l?1:-1);var a=void 0!==o||l,c=o||i;if(-1===n)return a?c-g(e,["border","padding"],r):i;if(a){var u=2===n?-g(e,["border"],r):g(e,["margin"],r);return c+(1===n?0:u)}return i+g(e,b.slice(n),r)}d(["Width","Height"],(function(e){m["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],m["viewport"+e](n))},m["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,l=r.documentElement[n];return"CSS1Compat"===r.compatMode&&l||o&&o[n]||l}}));var w={position:"absolute",visibility:"hidden",display:"block"};function k(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=x.apply(void 0,n):y(e,w,(function(){t=x.apply(void 0,n)})),t}function O(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)):s(e,t);for(var l in t)t.hasOwnProperty(l)&&O(e,l,t[l])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);m["outer"+t]=function(t,n){return t&&k(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];m[e]=function(t,r){if(void 0===r)return t&&k(t,e,-1);if(t){s(t);return h(t)&&(r+=g(t,["padding","border"],n)),O(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 c(e);!function(e,t){"static"===O(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,l=void 0;for(l in t)t.hasOwnProperty(l)&&(o=parseFloat(O(e,l))||0,r[l]=o+t[l]-n[l]);O(e,r)}(e,t)},isWindow:v,each:d,css:O,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(v(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(v(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},m)},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),l=n("VCL8"),i=n("TSYQ"),a=n.n(i),c=n("x1Ya"),u=n("Gytx"),f=n.n(u),p=n("H84U"),s=n("6CfX");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 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 b(){return(b=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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){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 m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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},C=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,o,l,i=(t=u,function(){var e,n=k(t);if(w()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function u(){var e;return y(this,u),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,l=x(e),i=l.props,u=l.context,f=i.prefixCls,p=i.className,s=i.children,d=i.indeterminate,y=i.style,g=i.onMouseEnter,v=i.onMouseLeave,m=O(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,k=o("checkbox",f),C=b({},m);w&&(C.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),w.toggleOption({label:s,value:i.value})},C.name=w.name,C.checked=-1!==w.value.indexOf(i.value),C.disabled=i.disabled||w.disabled);var E=a()(p,(h(n={},"".concat(k,"-wrapper"),!0),h(n,"".concat(k,"-wrapper-checked"),C.checked),h(n,"".concat(k,"-wrapper-disabled"),C.disabled),n)),j=a()(h({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:E,style:y,onMouseEnter:g,onMouseLeave:v},r.createElement(c.a,b({},C,{prefixCls:k,className:j,ref:e.saveCheckbox})),void 0!==s&&r.createElement("span",null,s))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(s.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!f()(this.props,e)||!f()(this.state,t)||!f()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&g(n.prototype,o),l&&g(n,l),u}(r.Component);C.__ANT_CHECKBOX=!0,C.defaultProps={indeterminate:!1},C.contextTypes={checkboxGroup:o.any},Object(l.polyfill)(C);var E=C,j=n("BGR+");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 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 B(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(){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 L(e){return(L=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},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&&_(e,t)}(c,e);var t,n,o,l,i=(t=c,function(){var e,n=L(t);if(V()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});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),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(B(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=B(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var l=t.props.onChange;if(l){var i=t.getOptions();l(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=D(t),l=o.props,i=o.state,c=l.prefixCls,u=l.className,f=l.style,p=l.options,s=G(l,["prefixCls","className","style","options"]),d=n("checkbox",c),h="".concat(d,"-group"),b=Object(j.a)(s,["children","defaultValue","value","onChange","disabled"]),y=l.children;p&&p.length>0&&(y=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:l.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var g=a()(h,u);return r.createElement("div",P({className:g,style:f},b),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=c,l=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!f()(this.props,e)||!f()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&T(n.prototype,o),l&&T(n,l),c}(r.Component);I.defaultProps={options:[]},I.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},I.childContextTypes={checkboxGroup:o.any},Object(l.polyfill)(I);var F=I;E.Group=F;t.default=E},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=E(["{\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}"]),l=E(["{\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}"]),i=E(["{\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}"]),a=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),c=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),u=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),s=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),d=E(["{\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=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),y=E(["{\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}"]),g=E(["{\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}"]),v=E(["{\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}"]),m=E(["{\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}"]),x=E(["{\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}"]),w=E(["{\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}"]),k=E(["{\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}"]),O=n("vOnD"),C=(r=O)&&r.__esModule?r:{default:r};function E(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(o),t.AlignCenterBetween=C.default.div(l),t.FlexAJ=C.default.div(i),t.AlignCenter=C.default.div(a),t.Box=C.default.div(c),t.Long=C.default.div(u),t.Short=C.default.div(f),t.Gap=C.default.div(p),t.WhiteBack=C.default.div(s),t.Blueline=C.default.a(d),t.Redline=C.default.a(h),t.Greenline=C.default.a(b),t.Greenback=C.default.a(y),t.Blueback=C.default.a(g),t.Redback=C.default.a(v),t.NumUl=C.default.ul(m),t.GreenUnder=C.default.a(x),t.Cancel=C.default.a(w),t.Content=C.default.div(k)},uIZd:function(e,t,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,l=n.onlyScrollIfNeeded,i=n.alignWithTop,a=n.alignWithLeft,c=n.offsetTop||0,u=n.offsetLeft||0,f=n.offsetBottom||0,p=n.offsetRight||0;o=void 0===o||o;var s=r.isWindow(t),d=r.offset(e),h=r.outerHeight(e),b=r.outerWidth(e),y=void 0,g=void 0,v=void 0,m=void 0,x=void 0,w=void 0,k=void 0,O=void 0,C=void 0,E=void 0;s?(k=t,E=r.height(k),C=r.width(k),O={left:r.scrollLeft(k),top:r.scrollTop(k)},x={left:d.left-O.left-u,top:d.top-O.top-c},w={left:d.left+b-(O.left+C)+p,top:d.top+h-(O.top+E)+f},m=O):(y=r.offset(t),g=t.clientHeight,v=t.clientWidth,m={left:t.scrollLeft,top:t.scrollTop},x={left:d.left-(y.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-u,top:d.top-(y.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},w={left:d.left+b-(y.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(y.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+f}),x.top<0||w.top>0?!0===i?r.scrollTop(t,m.top+x.top):!1===i?r.scrollTop(t,m.top+w.top):x.top<0?r.scrollTop(t,m.top+x.top):r.scrollTop(t,m.top+w.top):l||((i=void 0===i||!!i)?r.scrollTop(t,m.top+x.top):r.scrollTop(t,m.top+w.top)),o&&(x.left<0||w.left>0?!0===a?r.scrollLeft(t,m.left+x.left):!1===a?r.scrollLeft(t,m.left+w.left):x.left<0?r.scrollLeft(t,m.left+x.left):r.scrollLeft(t,m.left+w.left):l||((a=void 0===a||!!a)?r.scrollLeft(t,m.left+x.left):r.scrollLeft(t,m.left+w.left)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[43],{"+hnl":function(e,t,n){},"+vQn":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("uIZd")},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},Ctgt:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),l=n("17x9"),i=n.n(l),a=n("VCL8");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 u(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}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 p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return 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}var b=n("TSYQ"),y=function(e){function t(e){var n,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=p(t).call(this,e),n=!o||"object"!=typeof o&&"function"!=typeof o?d(r):o,h(d(d(n)),"handleClick",(function(e){var t=n.state.checked,r=n.props.onClick,o=!t;n.setChecked(o,e),r&&r(o,e)})),h(d(d(n)),"handleKeyDown",(function(e){37===e.keyCode?n.setChecked(!1,e):39===e.keyCode&&n.setChecked(!0,e)})),h(d(d(n)),"handleMouseUp",(function(e){var t=n.props.onMouseUp;n.node&&n.node.blur(),t&&t(e)})),h(d(d(n)),"saveNode",(function(e){n.node=e}));var l=!1;return l="checked"in e?!!e.checked:!!e.defaultChecked,n.state={checked:l},n}var n,r,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&&s(e,t)}(t,e),n=t,l=[{key:"getDerivedStateFromProps",value:function(e){var t={},n=e.checked;return"checked"in e&&(t.checked=!!n),t}}],(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"setChecked",value:function(e,t){var n=this.props,r=n.disabled,o=n.onChange;r||("checked"in this.props||this.setState({checked:e}),o&&o(e,t))}},{key:"focus",value:function(){this.node.focus()}},{key:"blur",value:function(){this.node.blur()}},{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.prefixCls,l=t.disabled,i=t.loadingIcon,a=t.checkedChildren,f=t.unCheckedChildren,p=u(t,["className","prefixCls","disabled","loadingIcon","checkedChildren","unCheckedChildren"]),s=this.state.checked,d=b((h(e={},n,!!n),h(e,r,!0),h(e,"".concat(r,"-checked"),s),h(e,"".concat(r,"-disabled"),l),e));return o.a.createElement("button",c({},p,{type:"button",role:"switch","aria-checked":s,disabled:l,className:d,ref:this.saveNode,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onMouseUp:this.handleMouseUp}),i,o.a.createElement("span",{className:"".concat(r,"-inner")},s?a:f))}}])&&f(n.prototype,r),l&&f(n,l),t}(r.Component);y.propTypes={className:i.a.string,prefixCls:i.a.string,disabled:i.a.bool,checkedChildren:i.a.any,unCheckedChildren:i.a.any,onChange:i.a.func,onMouseUp:i.a.func,onClick:i.a.func,tabIndex:i.a.number,checked:i.a.bool,defaultChecked:i.a.bool,autoFocus:i.a.bool,loadingIcon:i.a.node},y.defaultProps={prefixCls:"rc-switch",checkedChildren:null,unCheckedChildren:null,className:"",defaultChecked:!1},Object(a.polyfill)(y),t.default=y},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 l=Object.keys(e),i=Object.keys(t);if(l.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),c=0;c<l.length;c++){var u=l[c];if(!a(u))return!1;var f=e[u],p=t[u];if(!1===(o=n?n.call(r,f,p,u):void 0)||void 0===o&&f!==p)return!1}return!0}},IaUq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,l=g(n("2/Rp")),i=g(n("Sdc0")),a=g(n("kaz8")),c=g(n("9yH6")),u=g(n("Vl3Y")),f=g(n("5rEg")),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},s=(r=["{\n padding:20px 30px;\n}"],o=["{\n padding:20px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("L/Qf"),n("+vQn"),n("MKzF"),n("K4yd"),n("tULf"),n("1vPl");var d=n("q1tI"),h=g(d),b=n("spEH"),y=g(n("vOnD"));function g(e){return e&&e.__esModule?e:{default:e}}var v=f.default.TextArea,m=y.default.div(s),x={lineHeight:"25px",height:"25px",display:"block"},w=p({},x,{marginBottom:"7px"});t.default=u.default.create()((0,d.forwardRef)((function(e){var t=e.form,n=t.getFieldDecorator,r=(t.validateFields,t.setFieldsValue,(0,d.useCallback)((function(e,t,r,o,l,i){return h.default.createElement(h.default.Fragment,null,h.default.createElement("span",{className:l?"required":""},e),h.default.createElement(u.default.Item,{style:{marginBottom:i+"px"||!1}},n(t,{rules:r,validateFirst:!0})(o)))}),[]));return h.default.createElement(b.WhiteBack,{className:"mb30"},h.default.createElement(b.Banner,null,"新建团队"),h.default.createElement(m,null,h.default.createElement(u.default,null,r("团队名称:","name",[{required:!0,message:"请输入团队名称"}],h.default.createElement(f.default,{placeholder:"请输入团队名称"}),!0),r(h.default.createElement("span",null,"团队描述:",h.default.createElement("span",{className:"color-grey-8"},"(描述团队的目的或作用)")),"desc",[],h.default.createElement(v,{placeholder:"请输入团队描述"})),r("项目权限:","operation",[],h.default.createElement(c.default.Group,null,h.default.createElement(c.default,{value:"0",style:w},"指定项目",h.default.createElement("span",{className:"color-grey-8"},"(团队成员将只能访问添加到团队的项目。 选择此项 ",h.default.createElement("span",{className:"color-grey-3"},"将不会")," 自动删除已经添加的项目)")),h.default.createElement(c.default,{value:"1",style:x},"所有项目",h.default.createElement("span",{className:"color-grey-8"},"(团队可以访问所有项目。选择此选项将 ",h.default.createElement("span",{className:"color-grey-3"},"添加所有现有的")," 项目到指定团队)"))),!1,0),r("","operation",[],h.default.createElement(a.default,{value:"0",style:x},"新建项目",h.default.createElement("span",{className:"color-grey-8"},"(成员可以在组织中新建项目。创建者将自动获得新建的项目的管理员权限。)"))),r("权限:","halfoperation",[],h.default.createElement(c.default.Group,null,h.default.createElement(c.default,{value:"0",style:w},"读取权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以查看和克隆团队项目)")),h.default.createElement(c.default,{value:"1",style:w},"写入权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以查看和推送提交到团队项目)")),h.default.createElement(c.default,{value:"2",style:x},"管理员权限",h.default.createElement("span",{className:"color-grey-8"},"(成员可以拉取和推送到团队项目同时可以添加协作者)"))),!1),h.default.createElement("p",{class:"required"},"允许访问项目单元:"),h.default.createElement(b.AlignCenter,null,r("","allowCode",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"代码库",h.default.createElement("span",{className:"color-grey-8 ml15"},"(查看源码、文件、提交和分支)"))),h.default.createElement(b.AlignCenter,null,r("","allowtask",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"任务",h.default.createElement("span",{className:"color-grey-8 ml15"},"(组织 bug 报告、任务和里程碑)"))),h.default.createElement(b.AlignCenter,null,r("","allowPull",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"合并请求",h.default.createElement("span",{className:"color-grey-8 ml15"},"(启用合并请求和代码评审)"))),h.default.createElement(b.AlignCenter,{className:"mb20"},r("","allowVersion",[],h.default.createElement(i.default,null),!1,0),h.default.createElement("span",{className:"ml30 color-grey-3"},"版本发布",h.default.createElement("span",{className:"color-grey-8 ml15"},"(跟踪项目版本和下载)"))),h.default.createElement(l.default,{type:"primary"},"新建团队"),h.default.createElement(b.Cancel,{className:"ml30"},"取消"))))})))},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},Sdc0:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return k}));var r=n("q1tI"),o=n("17x9"),l=n("XIdC"),i=n.n(l),a=n("TSYQ"),c=n.n(a),u=n("BGR+"),f=n("g0mS"),p=n("CtXQ"),s=n("H84U"),d=n("6CfX");function h(e){return(h="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 b(){return(b=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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){for(var n=0;n<t.length;n++){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 m(e,t){return!t||"object"!==h(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 x(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=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)}(h,e);var t,n,o,l,a=(t=h,function(){var e,n=w(t);if(x()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=a.call(this,e)).saveSwitch=function(e){t.rcSwitch=e},t.renderSwitch=function(e){var n,o=e.getPrefixCls,l=t.props,a=l.prefixCls,s=l.size,d=l.loading,h=l.className,g=void 0===h?"":h,v=l.disabled,m=o("switch",a),x=c()(g,(y(n={},"".concat(m,"-small"),"small"===s),y(n,"".concat(m,"-loading"),d),n)),w=d?r.createElement(p.default,{type:"loading",className:"".concat(m,"-loading-icon")}):null;return r.createElement(f.a,{insertExtraNode:!0},r.createElement(i.a,b({},Object(u.a)(t.props,["loading"]),{prefixCls:m,className:x,disabled:v||d,ref:t.saveSwitch,loadingIcon:w})))},Object(d.a)("checked"in e||!("value"in e),"Switch","`value` is not validate prop, do you mean `checked`?"),t}return n=h,(o=[{key:"focus",value:function(){this.rcSwitch.focus()}},{key:"blur",value:function(){this.rcSwitch.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderSwitch)}}])&&g(n.prototype,o),l&&g(n,l),h}(r.Component);k.__ANT_SWITCH=!0,k.propTypes={prefixCls:o.string,size:o.oneOf(["small","default","large"]),className:o.string}},XIdC:function(e,t,n){e.exports=n("Ctgt")},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 l(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 i(e){return l(e)}function a(e){return l(e,!0)}function c(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,l=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||l.clientLeft||0,top:r-=i.clientTop||l.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=i(r),t.top+=a(r),t}var u=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),f=/^(top|right|bottom|left)$/,p="left";var s=void 0;function d(e,t){for(var n=0;n<e.length;n++)t(e[n])}function h(e){return"border-box"===s(e,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,l=n||o.defaultView.getComputedStyle(e,null);return l&&(r=l.getPropertyValue(t)||l[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(u.test(n)&&!f.test(t)){var r=e.style,o=r[p],l=e.runtimeStyle[p];e.runtimeStyle[p]=e.currentStyle[p],r[p]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[p]=o,e.runtimeStyle[p]=l}return""===n?"auto":n});var b=["margin","border","padding"];function y(e,t,n){var r={},o=e.style,l=void 0;for(l in t)t.hasOwnProperty(l)&&(r[l]=o[l],o[l]=t[l]);for(l in n.call(e),t)t.hasOwnProperty(l)&&(o[l]=r[l])}function g(e,t,n){var r=0,o=void 0,l=void 0,i=void 0;for(l=0;l<t.length;l++)if(o=t[l])for(i=0;i<n.length;i++){var a=void 0;a="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(s(e,a))||0}return r}function v(e){return null!=e&&e==e.window}var m={};function x(e,t,n){if(v(e))return"width"===t?m.viewportWidth(e):m.viewportHeight(e);if(9===e.nodeType)return"width"===t?m.docWidth(e):m.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,l=(s(e),h(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=s(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=l?1:-1);var a=void 0!==o||l,c=o||i;if(-1===n)return a?c-g(e,["border","padding"],r):i;if(a){var u=2===n?-g(e,["border"],r):g(e,["margin"],r);return c+(1===n?0:u)}return i+g(e,b.slice(n),r)}d(["Width","Height"],(function(e){m["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],m["viewport"+e](n))},m["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,l=r.documentElement[n];return"CSS1Compat"===r.compatMode&&l||o&&o[n]||l}}));var w={position:"absolute",visibility:"hidden",display:"block"};function k(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=x.apply(void 0,n):y(e,w,(function(){t=x.apply(void 0,n)})),t}function O(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)):s(e,t);for(var l in t)t.hasOwnProperty(l)&&O(e,l,t[l])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);m["outer"+t]=function(t,n){return t&&k(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];m[e]=function(t,r){if(void 0===r)return t&&k(t,e,-1);if(t){s(t);return h(t)&&(r+=g(t,["padding","border"],n)),O(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 c(e);!function(e,t){"static"===O(e,"position")&&(e.style.position="relative");var n=c(e),r={},o=void 0,l=void 0;for(l in t)t.hasOwnProperty(l)&&(o=parseFloat(O(e,l))||0,r[l]=o+t[l]-n[l]);O(e,r)}(e,t)},isWindow:v,each:d,css:O,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(v(e)){if(void 0===t)return i(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(v(e)){if(void 0===t)return a(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},m)},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),l=n("VCL8"),i=n("TSYQ"),a=n.n(i),c=n("x1Ya"),u=n("Gytx"),f=n.n(u),p=n("H84U"),s=n("6CfX");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 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 b(){return(b=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,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){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 m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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},C=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,o,l,i=(t=u,function(){var e,n=k(t);if(w()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function u(){var e;return y(this,u),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,l=x(e),i=l.props,u=l.context,f=i.prefixCls,p=i.className,s=i.children,d=i.indeterminate,y=i.style,g=i.onMouseEnter,v=i.onMouseLeave,m=O(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,k=o("checkbox",f),C=b({},m);w&&(C.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),w.toggleOption({label:s,value:i.value})},C.name=w.name,C.checked=-1!==w.value.indexOf(i.value),C.disabled=i.disabled||w.disabled);var E=a()(p,(h(n={},"".concat(k,"-wrapper"),!0),h(n,"".concat(k,"-wrapper-checked"),C.checked),h(n,"".concat(k,"-wrapper-disabled"),C.disabled),n)),j=a()(h({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:E,style:y,onMouseEnter:g,onMouseLeave:v},r.createElement(c.a,b({},C,{prefixCls:k,className:j,ref:e.saveCheckbox})),void 0!==s&&r.createElement("span",null,s))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(s.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!f()(this.props,e)||!f()(this.state,t)||!f()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&g(n.prototype,o),l&&g(n,l),u}(r.Component);C.__ANT_CHECKBOX=!0,C.defaultProps={indeterminate:!1},C.contextTypes={checkboxGroup:o.any},Object(l.polyfill)(C);var E=C,j=n("BGR+");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 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 B(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 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 _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(){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 L(e){return(L=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},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&&_(e,t)}(c,e);var t,n,o,l,i=(t=c,function(){var e,n=L(t);if(V()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});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),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(B(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=B(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var l=t.props.onChange;if(l){var i=t.getOptions();l(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=D(t),l=o.props,i=o.state,c=l.prefixCls,u=l.className,f=l.style,p=l.options,s=G(l,["prefixCls","className","style","options"]),d=n("checkbox",c),h="".concat(d,"-group"),b=Object(j.a)(s,["children","defaultValue","value","onChange","disabled"]),y=l.children;p&&p.length>0&&(y=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:l.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(h,"-item")},e.label)})));var g=a()(h,u);return r.createElement("div",P({className:g,style:f},b),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=c,l=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!f()(this.props,e)||!f()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&T(n.prototype,o),l&&T(n,l),c}(r.Component);I.defaultProps={options:[]},I.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},I.childContextTypes={checkboxGroup:o.any},Object(l.polyfill)(I);var F=I;E.Group=F;t.default=E},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var r,o=E(["{\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}"]),l=E(["{\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}"]),i=E(["{\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}"]),a=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),c=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),u=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),f=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),p=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),s=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),d=E(["{\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=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),y=E(["{\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}"]),g=E(["{\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}"]),v=E(["{\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}"]),m=E(["{\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}"]),x=E(["{\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}"]),w=E(["{\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}"]),k=E(["{\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}"]),O=n("vOnD"),C=(r=O)&&r.__esModule?r:{default:r};function E(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=C.default.div(o),t.AlignCenterBetween=C.default.div(l),t.FlexAJ=C.default.div(i),t.AlignCenter=C.default.div(a),t.Box=C.default.div(c),t.Long=C.default.div(u),t.Short=C.default.div(f),t.Gap=C.default.div(p),t.WhiteBack=C.default.div(s),t.Blueline=C.default.a(d),t.Redline=C.default.a(h),t.Greenline=C.default.a(b),t.Greenback=C.default.a(y),t.Blueback=C.default.a(g),t.Redback=C.default.a(v),t.NumUl=C.default.ul(m),t.GreenUnder=C.default.a(x),t.Cancel=C.default.a(w),t.Content=C.default.div(k)},uIZd:function(e,t,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,l=n.onlyScrollIfNeeded,i=n.alignWithTop,a=n.alignWithLeft,c=n.offsetTop||0,u=n.offsetLeft||0,f=n.offsetBottom||0,p=n.offsetRight||0;o=void 0===o||o;var s=r.isWindow(t),d=r.offset(e),h=r.outerHeight(e),b=r.outerWidth(e),y=void 0,g=void 0,v=void 0,m=void 0,x=void 0,w=void 0,k=void 0,O=void 0,C=void 0,E=void 0;s?(k=t,E=r.height(k),C=r.width(k),O={left:r.scrollLeft(k),top:r.scrollTop(k)},x={left:d.left-O.left-u,top:d.top-O.top-c},w={left:d.left+b-(O.left+C)+p,top:d.top+h-(O.top+E)+f},m=O):(y=r.offset(t),g=t.clientHeight,v=t.clientWidth,m={left:t.scrollLeft,top:t.scrollTop},x={left:d.left-(y.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-u,top:d.top-(y.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-c},w={left:d.left+b-(y.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+p,top:d.top+h-(y.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+f}),x.top<0||w.top>0?!0===i?r.scrollTop(t,m.top+x.top):!1===i?r.scrollTop(t,m.top+w.top):x.top<0?r.scrollTop(t,m.top+x.top):r.scrollTop(t,m.top+w.top):l||((i=void 0===i||!!i)?r.scrollTop(t,m.top+x.top):r.scrollTop(t,m.top+w.top)),o&&(x.left<0||w.left>0?!0===a?r.scrollLeft(t,m.left+x.left):!1===a?r.scrollLeft(t,m.left+w.left):x.left<0?r.scrollLeft(t,m.left+x.left):r.scrollLeft(t,m.left+w.left):l||((a=void 0===a||!!a)?r.scrollLeft(t,m.left+x.left):r.scrollLeft(t,m.left+w.left)))}}}]); \ No newline at end of file diff --git a/static/js/43.e8713cab.chunk.js b/static/js/44.a0b083a8.chunk.js similarity index 99% rename from static/js/43.e8713cab.chunk.js rename to static/js/44.a0b083a8.chunk.js index da48b3c0b..e2c3c3853 100644 --- a/static/js/43.e8713cab.chunk.js +++ b/static/js/44.a0b083a8.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[43],{"/oTB":function(e,t,a){},"2CTR":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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}}(),r=a("q1tI"),o=c(r),l=c(a("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function i(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 u=function(e){function t(){return i(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),n(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=u},"3cxI":function(e,t,a){},"9hAI":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=b(a("W9HT")),r=b(a("diRs")),o=b(a("2fM7")),l=b(a("NUBc")),c=b(a("BvKs")),i=b(a("5rEg")),s=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},u=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("Aosp"),a("8QGh"),a("YQTV"),a("2WkQ"),a("1vPl");var f=a("q1tI"),p=b(f),d=a("eO8H"),m=a("sYIF");a("7dqz"),a("3cxI"),a("/oTB");var g=b(a("z+6C")),y=b(a("vDqi")),h=b(a("lbbv")),E=b(a("FPGT")),v=b(a("bFaK"));function b(e){return e&&e.__esModule?e:{default:e}}var A=i.default.Search,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 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.state,t=e.page,n=e.limit,r=e.search,o=e.sort,l=e.project_type,c=e.category_id,i=e.languageId;a.getListData(t,n,r,o,l,c,i),a.getType(),a.getCategory(),a.getRecommand(),a.getLanguage()},a.getLanguage=function(){y.default.get("/project_languages.json").then((function(e){e&&a.setState({languageList:e.data.project_languages})})).catch((function(e){}))},a.getRecommand=function(){y.default.get("/projects/recommend.json").then((function(e){e&&a.setState({recommendList:e.data})})).catch((function(e){}))},a.getListData=function(e,t,n,r,o,l,c){var i=a.props.current_user;y.default.get("/projects.json",{params:{user_id:i&&i.user_id,page:e,limit:t,search:n,sort_by:r,project_type:o,category_id:l,language_id:c}}).then((function(e){e&&a.setState({projectsList:e.data.projects,total:e.data.total_count,isSpin:!1})})).catch((function(e){}))},a.getType=function(){y.default.get("/projects/group_type_list.json").then((function(e){e&&e.data&&a.setTypeList(e.data,void 0)})).catch((function(e){}))},a.setTypeList=function(e,t){a.setState({typeList:e.map((function(n,r){return p.default.createElement("li",{key:r,className:t&&t===n.project_type?"active":"",onClick:function(){return a.changeType(""+n.project_type,e)}},p.default.createElement("p",null,p.default.createElement("span",{className:"font-16"},n.name),p.default.createElement("span",{className:"color-blue"},n.projects_count)))}))})},a.changeType=function(e,t){a.setState({isSpin:!0,project_type:e,search:void 0}),a.setTypeList(t,e);var n=a.state,r=n.page,o=n.limit,l=n.sort,c=n.category_id,i=n.languageId;a.getListData(r,o,void 0,l,e,c,i)},a.getCategory=function(){y.default.get("/project_categories/group_list.json").then((function(e){e&&e.data&&a.setCategoryList(e.data,void 0)})).catch((function(e){}))},a.setCategoryList=function(e,t){a.setState({categoryList:e.map((function(n,r){return p.default.createElement("li",{key:r,className:t&&parseInt(t)===n.id?"active":"",onClick:function(){return a.changeCategory(""+n.id,e)}},p.default.createElement("p",null,p.default.createElement("span",{className:"font-16"},n.name),p.default.createElement("span",{className:"color-blue"},n.projects_count)))}))})},a.changeCategory=function(e,t){a.setState({category_id:e,page:1}),a.setCategoryList(t,e);var n=a.state,r=n.limit,o=n.sort,l=n.project_type,c=n.languageId;a.getListData(1,r,void 0,o,l,e,c)},a.ChangeSoryBy=function(e){a.setState({sort_by:e.key,page:1,search:void 0,isSpin:!0});var t=a.state,n=t.limit,r=t.project_type,o=t.category_id,l=t.languageId;a.getListData(1,n,void 0,e.key,r,o,l)},a.searchFun=function(e){a.setState({page:1,search:e,isSpin:!0,project_type:void 0,sort:"updated_on"});var t=a.state,n=t.limit,r=t.sort,o=t.category_id,l=t.languageId;a.getListData(1,n,e,r,void 0,o,l)},a.changeSearchValue=function(e){a.setState({search:e.target.value})},a.ChangePage=function(e){a.setState({page:e});var t=a.state,n=t.limit,r=t.search,o=t.sort,l=t.project_type,c=t.category_id,i=t.languageId;a.getListData(e,n,r,o,l,c,i)},a.getoDetail=function(e,t){a.props.history.push("/projects/"+e+"/"+t)},a.changeLanguage=function(e){a.setState({isSpin:!0,languageId:0===e?void 0:e});var t=a.state,n=t.page,r=t.limit,o=t.sort,l=t.project_type,c=t.category_id;a.getListData(n,r,void 0,o,l,c,0===e?void 0:e)},a.menu=function(){return p.default.createElement(c.default,{onClick:a.ChangeSoryBy},p.default.createElement(c.default.Item,{key:"updated_on"},"更新时间排序"),p.default.createElement(c.default.Item,{key:"created_on"},"创建时间排序"),p.default.createElement(c.default.Item,{key:"forked_count"},"fork数据排序"),p.default.createElement(c.default.Item,{key:"praises_count"},"点赞数量排序"))},a.newItem=function(){return p.default.createElement(c.default,null,p.default.createElement(c.default.Item,{key:"created_mirror"},p.default.createElement(d.Link,{to:"/projects/mirror/new"},"新建镜像项目")),p.default.createElement(c.default.Item,{key:"created_deposit"},p.default.createElement(d.Link,{to:"/projects/deposit/new"},"新建托管项目")))},a.pagination=function(e,t,n){return e&&e>t?p.default.createElement("div",{className:"edu-txt-center pt30 mb30 border-top-grey"},p.default.createElement(l.default,{simple:!0,defaultCurrent:n,total:e,pageSize:t,onChange:a.ChangePage})):""},a.state={projectsList:void 0,page:1,limit:15,search:void 0,sort:void 0,total:0,isSpin:!0,project_type:void 0,category_id:void 0,typeList:void 0,categoryList:void 0,recommendList:void 0,languageList:void 0,languageId: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),u(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,a=this.state,l=a.projectsList,c=a.recommendList,i=a.languageList,u=a.languageId,f=a.isSpin,d=a.total,y=a.search,b=a.limit,w=a.page,O=a.typeList,j=a.categoryList;return p.default.createElement("div",null,p.default.createElement("p",{className:"t_project_banner"},p.default.createElement("img",{src:v.default,width:"100%",alt:""})),c&&c.length>0&&p.default.createElement("div",{className:"recommandProjects"},c.map((function(t,a){return p.default.createElement("div",{onClick:function(){return e.getoDetail(t.author&&t.author.login,t.identifier)}},p.default.createElement("div",{className:"mainInfo"},p.default.createElement("img",{src:(0,m.getUrl)("/images/"+(t.author&&t.author.image_url)),alt:""}),p.default.createElement("p",{className:"school"},t.name),p.default.createElement("p",{className:"name"},t.author&&t.author.name)),p.default.createElement("div",{className:"baseInfo"},p.default.createElement("span",{className:"look"},p.default.createElement("i",{className:"iconfont icon-dianjiliang font-12"}),t.visits),p.default.createElement("span",{className:"type"},t.category&&t.category.name)))}))),p.default.createElement("div",{className:"ProjectListIndex"},p.default.createElement("div",{className:"list-left"},p.default.createElement("ul",{className:"list-l-Menu"},p.default.createElement("li",{className:"MenuTitle"},p.default.createElement("i",{className:"iconfont icon-xiangmuleixing color-grey-9 font-15 mr5"}),"项目类型"),O),p.default.createElement("ul",{className:"list-l-Menu"},p.default.createElement("li",{className:"MenuTitle"},p.default.createElement("i",{className:"iconfont icon-xiangmuleibie color-grey-9 font-15 mr5"}),"项目类别"),j)),p.default.createElement("div",{className:"list-right boxShandow radius-2",style:{padding:0}},p.default.createElement(n.default,{spinning:f},p.default.createElement("div",{className:"list-r-operation"},p.default.createElement("div",null,p.default.createElement(o.default,{showSearch:!0,placeholder:"请选择语言",style:{width:"150px",marginRight:"20px"},size:"large",onChange:this.changeLanguage,value:u,allowClear:!0,optionFilterProp:"children",filterOption:function(e,t){return t.props.children.toLowerCase().indexOf(e.toLowerCase())>=0}},p.default.createElement(o.default.Option,{key:0,value:0},"请选择语言"),i&&i.length>0&&i.map((function(e,t){return p.default.createElement(o.default.Option,{key:e.id,value:e.id},e.name)}))),p.default.createElement(A,{placeholder:"输入项目名称关键字进行搜索",enterButton:"搜索",size:"large",onSearch:this.searchFun,className:"list-r-Search",value:y,onChange:this.changeSearchValue})),p.default.createElement("div",null,t&&t.login&&p.default.createElement(r.default,{content:this.newItem(),trigger:["click"],placement:"bottom",className:"mr50"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-blue font-16"},p.default.createElement("img",{src:h.default,alt:"",width:"13px"})," 新建"))),p.default.createElement(r.default,{content:this.menu(),trigger:["click"],placement:"bottom"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-blue font-16"},"排序 ",p.default.createElement("img",{src:E.default,alt:"",width:"10px"})))))),p.default.createElement(g.default,s({},this.props,this.state,{projects:l})),this.pagination(d,b,w)))))}}]),t}(f.Component);t.default=w},Aosp:function(e,t,a){"use strict";a.r(t);a("SchZ"),a("Dt+G")},"Dt+G":function(e,t,a){},FPGT:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAJCAYAAADkZNYtAAAA0UlEQVQoU4XPsUpCARTG8f9nOESLLYVdoVVy6RGiB+gJahZ0USebxKmGUBeD5nqBeoDoEVoUH+DeoBZdpEHyi6so11A72znndz44Ctp+Bi74v16UvfNxaocesLfFj6c/FBSDXMt1i5tNWOY6rOl2hnlwOvfNu83J3wOJfrjLKUVN5jhOb/vM8AosZ4AF52FVb7FJLghafkRcLtPNU1TT1aJfwQcdH6bNAMgAo4nIf1X0uRbHw6OOSzJdi/JHRffJH1aSZ4uGU8E+3WhImaamSfwLSmg7J0wuJwcAAAAASUVORK5CYII="},bFaK:function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/banner_list.e02c5e16.jpg"},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return y}));var n=a("q1tI"),r=a("3S7+"),o=a("H84U"),l=a("6CfX");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 i(){return(i=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}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},y=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&&f(e,t)}(E,e);var t,a,c,y,h=(t=E,function(){var e,a=m(t);if(d()){var n=m(this).constructor;e=Reflect.construct(a,arguments,n)}else e=a.apply(this,arguments);return p(this,e)});function E(){var e;return s(this,E),(e=h.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var a=t.getPrefixCls,o=e.props,l=o.prefixCls,c=g(o,["prefixCls"]);delete c.title;var s=a("popover",l);return n.createElement(r.default,i({},c,{prefixCls:s,ref:e.saveTooltip,overlay:e.getOverlay(s)}))},e}return a=E,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,a=t.title,r=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),n.createElement("div",null,a&&n.createElement("div",{className:"".concat(e,"-title")},a),n.createElement("div",{className:"".concat(e,"-inner-content")},r))}},{key:"render",value:function(){return n.createElement(o.a,null,this.renderPopover)}}])&&u(a.prototype,c),y&&u(a,y),E}(n.Component);y.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},la1e:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAABs0lEQVQ4T5WSsWtUQRCHv5m9s4kSG7XzTwgWioQoYhCMhSJRXt5pEgx2QYgpIlppkSIQQrARLLQIwr13YkAQRBJstLExEJLOQm2sDw0W3puR9y4eOT1MbovdZWbnm9/MjrC9PA0V3KZA+oAt4A1qDwq3aX6eB3rA1xF9KCNZNXdJvnmii+CD4DMo74BeXEcxZgqAMo/YM6COcRpkHuStxDYtXguXMJtjy0/KTb7/UVSAa6VTRZao8b7N/oQD9MgHVO+KJ7IK+kjibHnno93unoRhsEnxROuoHZWI+m5B7eroxfRrDviJ2iGJ+NElYD+m33LAJtiYxHzsCpBwAeSeeKr3cQ7mHe0KkMoKplXxJQ6zTzfAhvaqwpMwATbFET/enIPnYZjMF3E7IxU+/0+J10r9mL2kZGflKpsFoPnnegvzaco+KFf40gniaWkAbBnRUYkaK61JbEESncS5Q7BzEvGp7duS8gk8e5VPqFxrBv8DKJRUww3EZ/FwUSq/1gpbntntBciExNnrneBWCW3Z0nAZ/DHIbSCAL4Bel5HG6t+ldQQ0e1I+hjWebndoXGI2OvXlN28Np9vm0kEpAAAAAElFTkSuQmCC"},lbbv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAVCAYAAABCIB6VAAABeElEQVRIS82VzStEURjGf88dUgqRjWEskFJ2ko3s5I9RuL4WNrJQ5OPiP7C3sLBTLCRlY6FsUBYuG987H3de3VujmTBXM0PO5tT5+J2n5zzvOWr0zCi+PZo4kLHgu9oJcSoROCPNEBP+iJY+wL4rFSo8uWj1SjBkMCWQQV9JwBlBSc/mBZPARknBqTVrTQecGVyUFNy0bHUmbhG3vw8GDgu9vI9IiISMrhzFxUJz9mdbIaOnWHgaqiW2/8bjQgokSoHDGHAXVhvT5jTV0foSEBSViuZlawnEOeLcH1FbtpX/Bxy+CyQYjF4wqAWGQysM1qIx48kflaekZ6+CMv+Bcmb0FpeMBs86HDjJs+7Sd5UKrTgF2gx6r1ztx4F/rLhxxWYxpoDjZxi4cXUdB8/M57282jmrqayIyrkduAe2zKL+y6YEm/6wdsPJvOBwQb1nDRViHaM/Vq0YjzILfMpx1uacXyO1ap1BQLfjUPXdAWmHvashHcUJeAfhzNAdCh13ggAAAABJRU5ErkJggg=="},"z+6C":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(a("3S7+")),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}}();a("TfFZ");var o=a("q1tI"),l=f(o),c=a("sYIF"),i=a("eO8H");a("7dqz");var s=f(a("2CTR"));a("3cxI");var u=f(a("la1e"));function f(e){return e&&e.__esModule?e:{default:e}}function p(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}var m=function(e){function t(){var e,a,n;p(this,t);for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return a=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.TurnToDetail=function(e,t){n.props.history.push({pathname:t,state:e})},d(n,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.projects,t=e&&e.length>0?e.map((function(e,t){return l.default.createElement("div",{className:"p-r-Item",key:t},"educoder"===e.platform?l.default.createElement("a",{href:"javascript:void(0)",style:{cursor:"default"},className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:e.author&&e.author.image_url})):l.default.createElement(i.Link,{to:"/users/"+e.author.login,className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:(0,c.getImageUrl)(""+(e.author&&e.author.image_url))})),l.default.createElement("div",{className:"p-r-Infos"},l.default.createElement("div",{className:"p-r-name"},l.default.createElement(i.Link,{to:"/projects/"+e.author.login+"/"+e.identifier,className:"hide-1 color-grey-3 font-18 task-hide ",style:{whiteSpace:"wrap",display:"flex",width:400}},e.author.name,"/",e.name,e.forked_from_project_id?l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})):"",e.type&&0!==e.type?2===e.type?l.default.createElement(n.default,{title:"该项目是一个镜像",className:"ml5"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement("span",{className:"p-r-tags"},l.default.createElement("span",{className:"pariseTag"},l.default.createElement("img",{src:u.default,alt:"",className:"pariseImg"}),"赞 ",e.praises_count),l.default.createElement("span",null,l.default.createElement("i",{className:"iconfont icon-fork mr3 font-16",style:{color:"#1B8FFF"}}),"fork ",e.forked_count))),l.default.createElement("p",{className:"break_word task-hide-2 mt10",style:{maxHeight:"44px",lineHeight:"22px"}},e.description),l.default.createElement("div",{className:"p-r-about"},l.default.createElement("span",{className:"p-r-detail"},e.last_update_time?l.default.createElement("span",null,l.default.createElement("label",null,"更新于"),e.time_ago):"",e.language&&e.language.id?l.default.createElement("span",{className:"color-grey-3"},e.language.name):""))))})):l.default.createElement(s.default,{_html:"暂无数据~"});return l.default.createElement("div",{className:"project-list minH-670"},t)}}]),t}(o.Component);t.default=m}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[44],{"/oTB":function(e,t,a){},"2CTR":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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}}(),r=a("q1tI"),o=c(r),l=c(a("dF3D"));function c(e){return e&&e.__esModule?e:{default:e}}function i(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 u=function(e){function t(){return i(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),n(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=u},"3cxI":function(e,t,a){},"9hAI":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=b(a("W9HT")),r=b(a("diRs")),o=b(a("2fM7")),l=b(a("NUBc")),c=b(a("BvKs")),i=b(a("5rEg")),s=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},u=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("Aosp"),a("8QGh"),a("YQTV"),a("2WkQ"),a("1vPl");var f=a("q1tI"),p=b(f),d=a("eO8H"),m=a("sYIF");a("7dqz"),a("3cxI"),a("/oTB");var g=b(a("z+6C")),y=b(a("vDqi")),h=b(a("lbbv")),E=b(a("FPGT")),v=b(a("bFaK"));function b(e){return e&&e.__esModule?e:{default:e}}var A=i.default.Search,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 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.state,t=e.page,n=e.limit,r=e.search,o=e.sort,l=e.project_type,c=e.category_id,i=e.languageId;a.getListData(t,n,r,o,l,c,i),a.getType(),a.getCategory(),a.getRecommand(),a.getLanguage()},a.getLanguage=function(){y.default.get("/project_languages.json").then((function(e){e&&a.setState({languageList:e.data.project_languages})})).catch((function(e){}))},a.getRecommand=function(){y.default.get("/projects/recommend.json").then((function(e){e&&a.setState({recommendList:e.data})})).catch((function(e){}))},a.getListData=function(e,t,n,r,o,l,c){var i=a.props.current_user;y.default.get("/projects.json",{params:{user_id:i&&i.user_id,page:e,limit:t,search:n,sort_by:r,project_type:o,category_id:l,language_id:c}}).then((function(e){e&&a.setState({projectsList:e.data.projects,total:e.data.total_count,isSpin:!1})})).catch((function(e){}))},a.getType=function(){y.default.get("/projects/group_type_list.json").then((function(e){e&&e.data&&a.setTypeList(e.data,void 0)})).catch((function(e){}))},a.setTypeList=function(e,t){a.setState({typeList:e.map((function(n,r){return p.default.createElement("li",{key:r,className:t&&t===n.project_type?"active":"",onClick:function(){return a.changeType(""+n.project_type,e)}},p.default.createElement("p",null,p.default.createElement("span",{className:"font-16"},n.name),p.default.createElement("span",{className:"color-blue"},n.projects_count)))}))})},a.changeType=function(e,t){a.setState({isSpin:!0,project_type:e,search:void 0}),a.setTypeList(t,e);var n=a.state,r=n.page,o=n.limit,l=n.sort,c=n.category_id,i=n.languageId;a.getListData(r,o,void 0,l,e,c,i)},a.getCategory=function(){y.default.get("/project_categories/group_list.json").then((function(e){e&&e.data&&a.setCategoryList(e.data,void 0)})).catch((function(e){}))},a.setCategoryList=function(e,t){a.setState({categoryList:e.map((function(n,r){return p.default.createElement("li",{key:r,className:t&&parseInt(t)===n.id?"active":"",onClick:function(){return a.changeCategory(""+n.id,e)}},p.default.createElement("p",null,p.default.createElement("span",{className:"font-16"},n.name),p.default.createElement("span",{className:"color-blue"},n.projects_count)))}))})},a.changeCategory=function(e,t){a.setState({category_id:e,page:1}),a.setCategoryList(t,e);var n=a.state,r=n.limit,o=n.sort,l=n.project_type,c=n.languageId;a.getListData(1,r,void 0,o,l,e,c)},a.ChangeSoryBy=function(e){a.setState({sort_by:e.key,page:1,search:void 0,isSpin:!0});var t=a.state,n=t.limit,r=t.project_type,o=t.category_id,l=t.languageId;a.getListData(1,n,void 0,e.key,r,o,l)},a.searchFun=function(e){a.setState({page:1,search:e,isSpin:!0,project_type:void 0,sort:"updated_on"});var t=a.state,n=t.limit,r=t.sort,o=t.category_id,l=t.languageId;a.getListData(1,n,e,r,void 0,o,l)},a.changeSearchValue=function(e){a.setState({search:e.target.value})},a.ChangePage=function(e){a.setState({page:e});var t=a.state,n=t.limit,r=t.search,o=t.sort,l=t.project_type,c=t.category_id,i=t.languageId;a.getListData(e,n,r,o,l,c,i)},a.getoDetail=function(e,t){a.props.history.push("/projects/"+e+"/"+t)},a.changeLanguage=function(e){a.setState({isSpin:!0,languageId:0===e?void 0:e});var t=a.state,n=t.page,r=t.limit,o=t.sort,l=t.project_type,c=t.category_id;a.getListData(n,r,void 0,o,l,c,0===e?void 0:e)},a.menu=function(){return p.default.createElement(c.default,{onClick:a.ChangeSoryBy},p.default.createElement(c.default.Item,{key:"updated_on"},"更新时间排序"),p.default.createElement(c.default.Item,{key:"created_on"},"创建时间排序"),p.default.createElement(c.default.Item,{key:"forked_count"},"fork数据排序"),p.default.createElement(c.default.Item,{key:"praises_count"},"点赞数量排序"))},a.newItem=function(){return p.default.createElement(c.default,null,p.default.createElement(c.default.Item,{key:"created_mirror"},p.default.createElement(d.Link,{to:"/projects/mirror/new"},"新建镜像项目")),p.default.createElement(c.default.Item,{key:"created_deposit"},p.default.createElement(d.Link,{to:"/projects/deposit/new"},"新建托管项目")))},a.pagination=function(e,t,n){return e&&e>t?p.default.createElement("div",{className:"edu-txt-center pt30 mb30 border-top-grey"},p.default.createElement(l.default,{simple:!0,defaultCurrent:n,total:e,pageSize:t,onChange:a.ChangePage})):""},a.state={projectsList:void 0,page:1,limit:15,search:void 0,sort:void 0,total:0,isSpin:!0,project_type:void 0,category_id:void 0,typeList:void 0,categoryList:void 0,recommendList:void 0,languageList:void 0,languageId: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),u(t,[{key:"render",value:function(){var e=this,t=this.props.current_user,a=this.state,l=a.projectsList,c=a.recommendList,i=a.languageList,u=a.languageId,f=a.isSpin,d=a.total,y=a.search,b=a.limit,w=a.page,O=a.typeList,j=a.categoryList;return p.default.createElement("div",null,p.default.createElement("p",{className:"t_project_banner"},p.default.createElement("img",{src:v.default,width:"100%",alt:""})),c&&c.length>0&&p.default.createElement("div",{className:"recommandProjects"},c.map((function(t,a){return p.default.createElement("div",{onClick:function(){return e.getoDetail(t.author&&t.author.login,t.identifier)}},p.default.createElement("div",{className:"mainInfo"},p.default.createElement("img",{src:(0,m.getUrl)("/images/"+(t.author&&t.author.image_url)),alt:""}),p.default.createElement("p",{className:"school"},t.name),p.default.createElement("p",{className:"name"},t.author&&t.author.name)),p.default.createElement("div",{className:"baseInfo"},p.default.createElement("span",{className:"look"},p.default.createElement("i",{className:"iconfont icon-dianjiliang font-12"}),t.visits),p.default.createElement("span",{className:"type"},t.category&&t.category.name)))}))),p.default.createElement("div",{className:"ProjectListIndex"},p.default.createElement("div",{className:"list-left"},p.default.createElement("ul",{className:"list-l-Menu"},p.default.createElement("li",{className:"MenuTitle"},p.default.createElement("i",{className:"iconfont icon-xiangmuleixing color-grey-9 font-15 mr5"}),"项目类型"),O),p.default.createElement("ul",{className:"list-l-Menu"},p.default.createElement("li",{className:"MenuTitle"},p.default.createElement("i",{className:"iconfont icon-xiangmuleibie color-grey-9 font-15 mr5"}),"项目类别"),j)),p.default.createElement("div",{className:"list-right boxShandow radius-2",style:{padding:0}},p.default.createElement(n.default,{spinning:f},p.default.createElement("div",{className:"list-r-operation"},p.default.createElement("div",null,p.default.createElement(o.default,{showSearch:!0,placeholder:"请选择语言",style:{width:"150px",marginRight:"20px"},size:"large",onChange:this.changeLanguage,value:u,allowClear:!0,optionFilterProp:"children",filterOption:function(e,t){return t.props.children.toLowerCase().indexOf(e.toLowerCase())>=0}},p.default.createElement(o.default.Option,{key:0,value:0},"请选择语言"),i&&i.length>0&&i.map((function(e,t){return p.default.createElement(o.default.Option,{key:e.id,value:e.id},e.name)}))),p.default.createElement(A,{placeholder:"输入项目名称关键字进行搜索",enterButton:"搜索",size:"large",onSearch:this.searchFun,className:"list-r-Search",value:y,onChange:this.changeSearchValue})),p.default.createElement("div",null,t&&t.login&&p.default.createElement(r.default,{content:this.newItem(),trigger:["click"],placement:"bottom",className:"mr50"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-blue font-16"},p.default.createElement("img",{src:h.default,alt:"",width:"13px"})," 新建"))),p.default.createElement(r.default,{content:this.menu(),trigger:["click"],placement:"bottom"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-blue font-16"},"排序 ",p.default.createElement("img",{src:E.default,alt:"",width:"10px"})))))),p.default.createElement(g.default,s({},this.props,this.state,{projects:l})),this.pagination(d,b,w)))))}}]),t}(f.Component);t.default=w},Aosp:function(e,t,a){"use strict";a.r(t);a("SchZ"),a("Dt+G")},"Dt+G":function(e,t,a){},FPGT:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAJCAYAAADkZNYtAAAA0UlEQVQoU4XPsUpCARTG8f9nOESLLYVdoVVy6RGiB+gJahZ0USebxKmGUBeD5nqBeoDoEVoUH+DeoBZdpEHyi6so11A72znndz44Ctp+Bi74v16UvfNxaocesLfFj6c/FBSDXMt1i5tNWOY6rOl2hnlwOvfNu83J3wOJfrjLKUVN5jhOb/vM8AosZ4AF52FVb7FJLghafkRcLtPNU1TT1aJfwQcdH6bNAMgAo4nIf1X0uRbHw6OOSzJdi/JHRffJH1aSZ4uGU8E+3WhImaamSfwLSmg7J0wuJwcAAAAASUVORK5CYII="},bFaK:function(e,t,a){"use strict";a.r(t),t.default=a.p+"static/media/banner_list.e02c5e16.jpg"},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,a){"use strict";a.r(t),a.d(t,"default",(function(){return y}));var n=a("q1tI"),r=a("3S7+"),o=a("H84U"),l=a("6CfX");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 i(){return(i=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}).apply(this,arguments)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},y=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&&f(e,t)}(E,e);var t,a,c,y,h=(t=E,function(){var e,a=m(t);if(d()){var n=m(this).constructor;e=Reflect.construct(a,arguments,n)}else e=a.apply(this,arguments);return p(this,e)});function E(){var e;return s(this,E),(e=h.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var a=t.getPrefixCls,o=e.props,l=o.prefixCls,c=g(o,["prefixCls"]);delete c.title;var s=a("popover",l);return n.createElement(r.default,i({},c,{prefixCls:s,ref:e.saveTooltip,overlay:e.getOverlay(s)}))},e}return a=E,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,a=t.title,r=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),n.createElement("div",null,a&&n.createElement("div",{className:"".concat(e,"-title")},a),n.createElement("div",{className:"".concat(e,"-inner-content")},r))}},{key:"render",value:function(){return n.createElement(o.a,null,this.renderPopover)}}])&&u(a.prototype,c),y&&u(a,y),E}(n.Component);y.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},la1e:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAPCAYAAADtc08vAAABs0lEQVQ4T5WSsWtUQRCHv5m9s4kSG7XzTwgWioQoYhCMhSJRXt5pEgx2QYgpIlppkSIQQrARLLQIwr13YkAQRBJstLExEJLOQm2sDw0W3puR9y4eOT1MbovdZWbnm9/MjrC9PA0V3KZA+oAt4A1qDwq3aX6eB3rA1xF9KCNZNXdJvnmii+CD4DMo74BeXEcxZgqAMo/YM6COcRpkHuStxDYtXguXMJtjy0/KTb7/UVSAa6VTRZao8b7N/oQD9MgHVO+KJ7IK+kjibHnno93unoRhsEnxROuoHZWI+m5B7eroxfRrDviJ2iGJ+NElYD+m33LAJtiYxHzsCpBwAeSeeKr3cQ7mHe0KkMoKplXxJQ6zTzfAhvaqwpMwATbFET/enIPnYZjMF3E7IxU+/0+J10r9mL2kZGflKpsFoPnnegvzaco+KFf40gniaWkAbBnRUYkaK61JbEESncS5Q7BzEvGp7duS8gk8e5VPqFxrBv8DKJRUww3EZ/FwUSq/1gpbntntBciExNnrneBWCW3Z0nAZ/DHIbSCAL4Bel5HG6t+ldQQ0e1I+hjWebndoXGI2OvXlN28Np9vm0kEpAAAAAElFTkSuQmCC"},lbbv:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAVCAYAAABCIB6VAAABeElEQVRIS82VzStEURjGf88dUgqRjWEskFJ2ko3s5I9RuL4WNrJQ5OPiP7C3sLBTLCRlY6FsUBYuG987H3de3VujmTBXM0PO5tT5+J2n5zzvOWr0zCi+PZo4kLHgu9oJcSoROCPNEBP+iJY+wL4rFSo8uWj1SjBkMCWQQV9JwBlBSc/mBZPARknBqTVrTQecGVyUFNy0bHUmbhG3vw8GDgu9vI9IiISMrhzFxUJz9mdbIaOnWHgaqiW2/8bjQgokSoHDGHAXVhvT5jTV0foSEBSViuZlawnEOeLcH1FbtpX/Bxy+CyQYjF4wqAWGQysM1qIx48kflaekZ6+CMv+Bcmb0FpeMBs86HDjJs+7Sd5UKrTgF2gx6r1ztx4F/rLhxxWYxpoDjZxi4cXUdB8/M57282jmrqayIyrkduAe2zKL+y6YEm/6wdsPJvOBwQb1nDRViHaM/Vq0YjzILfMpx1uacXyO1ap1BQLfjUPXdAWmHvashHcUJeAfhzNAdCh13ggAAAABJRU5ErkJggg=="},"z+6C":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=f(a("3S7+")),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}}();a("TfFZ");var o=a("q1tI"),l=f(o),c=a("sYIF"),i=a("eO8H");a("7dqz");var s=f(a("2CTR"));a("3cxI");var u=f(a("la1e"));function f(e){return e&&e.__esModule?e:{default:e}}function p(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}var m=function(e){function t(){var e,a,n;p(this,t);for(var r=arguments.length,o=Array(r),l=0;l<r;l++)o[l]=arguments[l];return a=n=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),n.TurnToDetail=function(e,t){n.props.history.push({pathname:t,state:e})},d(n,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.projects,t=e&&e.length>0?e.map((function(e,t){return l.default.createElement("div",{className:"p-r-Item",key:t},"educoder"===e.platform?l.default.createElement("a",{href:"javascript:void(0)",style:{cursor:"default"},className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:e.author&&e.author.image_url})):l.default.createElement(i.Link,{to:"/users/"+e.author.login,className:"show-user-link"},l.default.createElement("img",{className:"p-r-photo",alt:"",src:(0,c.getImageUrl)(""+(e.author&&e.author.image_url))})),l.default.createElement("div",{className:"p-r-Infos"},l.default.createElement("div",{className:"p-r-name"},l.default.createElement(i.Link,{to:"/projects/"+e.author.login+"/"+e.identifier,className:"hide-1 color-grey-3 font-18 task-hide ",style:{whiteSpace:"wrap",display:"flex",width:400}},e.author.name,"/",e.name,e.forked_from_project_id?l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})):"",e.type&&0!==e.type?2===e.type?l.default.createElement(n.default,{title:"该项目是一个镜像",className:"ml5"},l.default.createElement("i",{className:"iconfont icon-banbenku font-18 color-green"})):l.default.createElement("span",{className:"ml5"},l.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"})):""),l.default.createElement("span",{className:"p-r-tags"},l.default.createElement("span",{className:"pariseTag"},l.default.createElement("img",{src:u.default,alt:"",className:"pariseImg"}),"赞 ",e.praises_count),l.default.createElement("span",null,l.default.createElement("i",{className:"iconfont icon-fork mr3 font-16",style:{color:"#1B8FFF"}}),"fork ",e.forked_count))),l.default.createElement("p",{className:"break_word task-hide-2 mt10",style:{maxHeight:"44px",lineHeight:"22px"}},e.description),l.default.createElement("div",{className:"p-r-about"},l.default.createElement("span",{className:"p-r-detail"},e.last_update_time?l.default.createElement("span",null,l.default.createElement("label",null,"更新于"),e.time_ago):"",e.language&&e.language.id?l.default.createElement("span",{className:"color-grey-3"},e.language.name):""))))})):l.default.createElement(s.default,{_html:"暂无数据~"});return l.default.createElement("div",{className:"project-list minH-670"},t)}}]),t}(o.Component);t.default=m}}]); \ No newline at end of file diff --git a/static/js/44.9a8ba034.chunk.js b/static/js/45.09b27fa9.chunk.js similarity index 99% rename from static/js/44.9a8ba034.chunk.js rename to static/js/45.09b27fa9.chunk.js index cbb50a2c8..dba531135 100644 --- a/static/js/44.9a8ba034.chunk.js +++ b/static/js/45.09b27fa9.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[44,9,71],{"+hnl":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),u=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=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 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},h=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&&f(e,t)}(v,e);var t,n,o,c,h=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=h.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,u=o.prefixCls,c=b(o,["prefixCls"]),i=n("radio-button",u);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,l({prefixCls:i},c))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(u.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),v}(r.Component);h.contextTypes={radioGroup:o.any}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),u=n.n(a),c=n("Gytx"),l=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(i,e);var t,n,o,a,c=(t=i,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=h(t).props,a=o.prefixCls,c=o.className,l=void 0===c?"":c,i=o.options,f=o.buttonStyle,p=n("radio",a),d="".concat(p,"-group"),y=u()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),b=o.children;return i&&i.length>0&&(b=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},b)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=i,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),i}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(i.polyfill)(O),t.a=O},ejHd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=m(n("2/Rp")),u=m(n("kaz8")),c=m(n("9yH6")),l=m(n("5rEg")),i=m(n("Vl3Y")),s=m(n("2fM7")),f=(r=["{\n padding:0px 30px\n}"],o=["{\n padding:0px 30px\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("L/Qf"),n("MKzF"),n("K4yd"),n("1vPl"),n("tULf"),n("8QGh");var p=n("q1tI"),d=m(p),y=n("eO8H"),b=n("spEH"),h=m(n("ess8")),v=m(n("vOnD"));function m(e){return e&&e.__esModule?e:{default:e}}var g=s.default.Option,O=v.default.div(f),x={display:"block",height:"30px",lineHeight:"30px"};t.default=i.default.create()((0,p.forwardRef)((function(e){var t=e.form.getFieldDecorator,n=(0,p.useCallback)((function(e,n,r,o,a){return d.default.createElement(d.default.Fragment,null,d.default.createElement("span",{className:a?"required":""},e),d.default.createElement(i.default.Item,null,t(n,{rules:r,validateFirst:!0})(o)))}),[]);return d.default.createElement(b.WhiteBack,{className:"hooksNew"},d.default.createElement(h.default,null,d.default.createElement("span",null,"管理web钩子")),d.default.createElement(O,null,d.default.createElement("p",{className:"mt15 mb15 color-grey-8"},"Gitea 将向目标 URL 发送具有指定内容类型的 POST 请求。在 ",d.default.createElement(y.Link,{to:"",className:"color-blue"},"webhooks 指南")," 中阅读更多内容。"),n("目标URL","URL",[{required:!0,message:"请输入目标URL"}],d.default.createElement(l.default,{placeholder:"目标URL"}),!0),n("HTTP方法","HTTP",[],d.default.createElement(s.default,{placeholder:"HTTP方法"},d.default.createElement(g,{value:"0"},"请选择HTTP方法"))),n("POST Content Type","Type",[],d.default.createElement(s.default,{placeholder:"POST Content Type"},d.default.createElement(g,{value:"0"},"请选择POST Content Type"))),n("秘钥文本","passwordtext",[],d.default.createElement(l.default,{type:"password"})),n("触发条件:","condition",[],d.default.createElement(c.default.Group,null,d.default.createElement(c.default,{value:"0",style:x},"推送事件"),d.default.createElement(c.default,{value:"1",style:x},"所有事件"),d.default.createElement(c.default,{value:"2",style:x},"自定义事件"))),n("分支过滤","branch",[],d.default.createElement(l.default,{type:"password"})),d.default.createElement("p",{className:"font-12 mt10 pb15",style:{borderBottom:"1px solid #eee"}},"推送、创建,删除分支事件白名单,支持匹配符。如果为空或者 *,所有分支的事件均被触发。",d.default.createElement("br",null),"语法参见 ",d.default.createElement(y.Link,{to:"github.com/gobwas/glob",className:"color-blue",target:"_blank"},"github.com/gobwas/glob")," 。示例: Master, $","{master,release*}","。"),n("","active",[],d.default.createElement(u.default,null,"激活",d.default.createElement("span",{className:"ml30 color-grey-8"},"触发事件的信息将发送到此 webhook 网址。"))),d.default.createElement("div",{className:"df pb30"},d.default.createElement(a.default,{type:"primary"},"保存"),d.default.createElement(b.Cancel,{className:"ml30"},"取消"))))})))},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],o=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),u=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var l=c(n("vOnD")).default.div(a);t.default=function(e){var t=e.children;return u.default.createElement(l,null,t)}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),u=n("TSYQ"),c=n.n(u),l=n("x1Ya"),i=n("Gytx"),s=n.n(i),f=n("H84U"),p=n("6CfX");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 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(){return(b=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&m(e,t)}(i,e);var t,n,o,a,u=(t=i,function(){var e,n=k(t);if(x()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function i(){var e;return h(this,i),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),u=a.props,i=a.context,s=u.prefixCls,f=u.className,p=u.children,d=u.indeterminate,h=u.style,v=u.onMouseEnter,m=u.onMouseLeave,g=C(u,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),x=i.checkboxGroup,k=o("checkbox",s),j=b({},g);x&&(j.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),x.toggleOption({label:p,value:u.value})},j.name=x.name,j.checked=-1!==x.value.indexOf(u.value),j.disabled=u.disabled||x.disabled);var w=c()(f,(y(n={},"".concat(k,"-wrapper"),!0),y(n,"".concat(k,"-wrapper-checked"),j.checked),y(n,"".concat(k,"-wrapper-disabled"),j.disabled),n)),E=c()(y({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:w,style:h,onMouseEnter:v,onMouseLeave:m},r.createElement(l.a,b({},j,{prefixCls:k,className:E,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=i,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),i}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var w=j,E=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==P(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 M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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,o,a,u=(t=l,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=u.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var u=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return u.findIndex((function(t){return t.value===e}))-u.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=V(t),a=o.props,u=o.state,l=a.prefixCls,i=a.className,s=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),b=Object(E.a)(p,["children","defaultValue","value","onChange","disabled"]),h=a.children;f&&f.length>0&&(h=t.getOptions().map((function(e){return r.createElement(w,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==u.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var v=c()(y,i);return r.createElement("div",S({className:v,style:s},b),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),l}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var F=L;w.Group=F;t.default=w},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),u=n("TSYQ"),c=n.n(u),l=n("Gytx"),i=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=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 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=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)}(f,e);var t,n,o,u,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,u=m(e),l=u.props,i=u.context,s=l.prefixCls,f=l.className,y=l.children,b=l.style,h=x(l,["prefixCls","className","children","style"]),v=i.radioGroup,g=o("radio",s),O=d({},h);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=l.value===v.value,O.disabled=l.disabled||v.disabled);var k=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:k,style:b,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(a.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&b(n.prototype,o),u&&b(n,u),f}(r.Component);k.defaultProps={type:"radio"},k.contextTypes={radioGroup:o.any}},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),u=n.n(a),c=n("iCc5"),l=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),b=n("17x9"),h=n.n(b),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:u()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?u()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,l=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,b=t.onFocus,h=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),x=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),k=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=k,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:C,style:a},y.a.createElement("input",u()({name:c,id:l,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!k,onClick:d,onFocus:b,onBlur:h,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},x)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:h.a.string,className:h.a.string,style:h.a.object,name:h.a.string,id:h.a.string,type:h.a.string,defaultChecked:h.a.oneOfType([h.a.number,h.a.bool]),checked:h.a.oneOfType([h.a.number,h.a.bool]),disabled:h.a.bool,onFocus:h.a.func,onBlur:h.a.func,onChange:h.a.func,onClick:h.a.func,tabIndex:h.a.oneOfType([h.a.string,h.a.number]),readOnly:h.a.bool,autoFocus:h.a.bool,value:h.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var x=O;t.a=x}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[45,9,73],{"+hnl":function(e,t,n){},"9yH6":function(e,t,n){"use strict";n.r(t);var r=n("oOh1"),o=n("SiX+");n.d(t,"Group",(function(){return o.a}));var a=n("KNH7");n.d(t,"Button",(function(){return a.a})),r.a.Button=a.a,r.a.Group=o.a,t.default=r.a},K4yd:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vXNv")},KNH7:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("q1tI"),o=n("17x9"),a=n("oOh1"),u=n("H84U");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 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 i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 y(e){return(y=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 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},h=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&&f(e,t)}(v,e);var t,n,o,c,h=(t=v,function(){var e,n=y(t);if(d()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function v(){var e;return i(this,v),(e=h.apply(this,arguments)).renderRadioButton=function(t){var n=t.getPrefixCls,o=e.props,u=o.prefixCls,c=b(o,["prefixCls"]),i=n("radio-button",u);return e.context.radioGroup&&(c.checked=e.props.value===e.context.radioGroup.value,c.disabled=e.props.disabled||e.context.radioGroup.disabled),r.createElement(a.a,l({prefixCls:i},c))},e}return n=v,(o=[{key:"render",value:function(){return r.createElement(u.a,null,this.renderRadioButton)}}])&&s(n.prototype,o),c&&s(n,c),v}(r.Component);h.contextTypes={radioGroup:o.any}},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},"SiX+":function(e,t,n){"use strict";var r=n("q1tI"),o=n("17x9"),a=n("TSYQ"),u=n.n(a),c=n("Gytx"),l=n.n(c),i=n("VCL8"),s=n("oOh1"),f=n("H84U");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(e,t){for(var n=0;n<t.length;n++){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 b(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){var t=null,n=!1;return r.Children.forEach(e,(function(e){e&&e.props&&e.props.checked&&(t=e.props.value,n=!0)})),n?{value:t}:void 0}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&&y(e,t)}(i,e);var t,n,o,a,c=(t=i,function(){var e,n=m(t);if(v()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function i(e){var t,n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=c.call(this,e)).onRadioChange=function(e){var n=t.state.value,r=e.target.value;"value"in t.props||t.setState({value:r});var o=t.props.onChange;o&&r!==n&&o(e)},t.renderGroup=function(e){var n=e.getPrefixCls,o=h(t).props,a=o.prefixCls,c=o.className,l=void 0===c?"":c,i=o.options,f=o.buttonStyle,p=n("radio",a),d="".concat(p,"-group"),y=u()(d,"".concat(d,"-").concat(f),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"".concat(d,"-").concat(o.size),o.size),l),b=o.children;return i&&i.length>0&&(b=i.map((function(e){return"string"==typeof e?r.createElement(s.a,{key:e,prefixCls:p,disabled:t.props.disabled,value:e,checked:t.state.value===e},e):r.createElement(s.a,{key:"radio-group-value-options-".concat(e.value),prefixCls:p,disabled:e.disabled||t.props.disabled,value:e.value,checked:t.state.value===e.value},e.label)}))),r.createElement("div",{className:y,style:o.style,onMouseEnter:o.onMouseEnter,onMouseLeave:o.onMouseLeave,id:o.id},b)},"value"in e)n=e.value;else if("defaultValue"in e)n=e.defaultValue;else{var o=g(e.children);n=o&&o.value}return t.state={value:n},t}return n=i,a=[{key:"getDerivedStateFromProps",value:function(e){if("value"in e)return{value:e.value};var t=g(e.children);return t?{value:t.value}:null}}],(o=[{key:"getChildContext",value:function(){return{radioGroup:{onChange:this.onRadioChange,value:this.state.value,disabled:this.props.disabled,name:this.props.name}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&d(n.prototype,o),a&&d(n,a),i}(r.Component);O.defaultProps={buttonStyle:"outline"},O.childContextTypes={radioGroup:o.any},Object(i.polyfill)(O),t.a=O},ejHd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=m(n("2/Rp")),u=m(n("kaz8")),c=m(n("9yH6")),l=m(n("5rEg")),i=m(n("Vl3Y")),s=m(n("2fM7")),f=(r=["{\n padding:0px 30px\n}"],o=["{\n padding:0px 30px\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("L/Qf"),n("MKzF"),n("K4yd"),n("1vPl"),n("tULf"),n("8QGh");var p=n("q1tI"),d=m(p),y=n("eO8H"),b=n("spEH"),h=m(n("ess8")),v=m(n("vOnD"));function m(e){return e&&e.__esModule?e:{default:e}}var g=s.default.Option,O=v.default.div(f),x={display:"block",height:"30px",lineHeight:"30px"};t.default=i.default.create()((0,p.forwardRef)((function(e){var t=e.form.getFieldDecorator,n=(0,p.useCallback)((function(e,n,r,o,a){return d.default.createElement(d.default.Fragment,null,d.default.createElement("span",{className:a?"required":""},e),d.default.createElement(i.default.Item,null,t(n,{rules:r,validateFirst:!0})(o)))}),[]);return d.default.createElement(b.WhiteBack,{className:"hooksNew"},d.default.createElement(h.default,null,d.default.createElement("span",null,"管理web钩子")),d.default.createElement(O,null,d.default.createElement("p",{className:"mt15 mb15 color-grey-8"},"Gitea 将向目标 URL 发送具有指定内容类型的 POST 请求。在 ",d.default.createElement(y.Link,{to:"",className:"color-blue"},"webhooks 指南")," 中阅读更多内容。"),n("目标URL","URL",[{required:!0,message:"请输入目标URL"}],d.default.createElement(l.default,{placeholder:"目标URL"}),!0),n("HTTP方法","HTTP",[],d.default.createElement(s.default,{placeholder:"HTTP方法"},d.default.createElement(g,{value:"0"},"请选择HTTP方法"))),n("POST Content Type","Type",[],d.default.createElement(s.default,{placeholder:"POST Content Type"},d.default.createElement(g,{value:"0"},"请选择POST Content Type"))),n("秘钥文本","passwordtext",[],d.default.createElement(l.default,{type:"password"})),n("触发条件:","condition",[],d.default.createElement(c.default.Group,null,d.default.createElement(c.default,{value:"0",style:x},"推送事件"),d.default.createElement(c.default,{value:"1",style:x},"所有事件"),d.default.createElement(c.default,{value:"2",style:x},"自定义事件"))),n("分支过滤","branch",[],d.default.createElement(l.default,{type:"password"})),d.default.createElement("p",{className:"font-12 mt10 pb15",style:{borderBottom:"1px solid #eee"}},"推送、创建,删除分支事件白名单,支持匹配符。如果为空或者 *,所有分支的事件均被触发。",d.default.createElement("br",null),"语法参见 ",d.default.createElement(y.Link,{to:"github.com/gobwas/glob",className:"color-blue",target:"_blank"},"github.com/gobwas/glob")," 。示例: Master, $","{master,release*}","。"),n("","active",[],d.default.createElement(u.default,null,"激活",d.default.createElement("span",{className:"ml30 color-grey-8"},"触发事件的信息将发送到此 webhook 网址。"))),d.default.createElement("div",{className:"df pb30"},d.default.createElement(a.default,{type:"primary"},"保存"),d.default.createElement(b.Cancel,{className:"ml30"},"取消"))))})))},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,a=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],o=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}}))),u=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var l=c(n("vOnD")).default.div(a);t.default=function(e){var t=e.children;return u.default.createElement(l,null,t)}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),u=n("TSYQ"),c=n.n(u),l=n("x1Ya"),i=n("Gytx"),s=n.n(i),f=n("H84U"),p=n("6CfX");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 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(){return(b=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 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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&m(e,t)}(i,e);var t,n,o,a,u=(t=i,function(){var e,n=k(t);if(x()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function i(){var e;return h(this,i),(e=u.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),u=a.props,i=a.context,s=u.prefixCls,f=u.className,p=u.children,d=u.indeterminate,h=u.style,v=u.onMouseEnter,m=u.onMouseLeave,g=C(u,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),x=i.checkboxGroup,k=o("checkbox",s),j=b({},g);x&&(j.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),x.toggleOption({label:p,value:u.value})},j.name=x.name,j.checked=-1!==x.value.indexOf(u.value),j.disabled=u.disabled||x.disabled);var w=c()(f,(y(n={},"".concat(k,"-wrapper"),!0),y(n,"".concat(k,"-wrapper-checked"),j.checked),y(n,"".concat(k,"-wrapper-disabled"),j.disabled),n)),E=c()(y({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:w,style:h,onMouseEnter:v,onMouseLeave:m},r.createElement(l.a,b({},j,{prefixCls:k,className:E,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=i,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),i}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var w=j,E=n("BGR+");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 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 _(e){return function(e){if(Array.isArray(e))return R(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 R(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(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 R(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 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 G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==P(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 M(){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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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=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,o,a,u=(t=l,function(){var e,n=I(t);if(M()){var r=I(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return N(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=u.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(_(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=_(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var u=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return u.findIndex((function(t){return t.value===e}))-u.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=V(t),a=o.props,u=o.state,l=a.prefixCls,i=a.className,s=a.style,f=a.options,p=D(a,["prefixCls","className","style","options"]),d=n("checkbox",l),y="".concat(d,"-group"),b=Object(E.a)(p,["children","defaultValue","value","onChange","disabled"]),h=a.children;f&&f.length>0&&(h=t.getOptions().map((function(e){return r.createElement(w,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==u.value.indexOf(e.value),onChange:e.onChange,className:"".concat(y,"-item")},e.label)})));var v=c()(y,i);return r.createElement("div",S({className:v,style:s},b),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&T(n.prototype,o),a&&T(n,a),l}(r.Component);L.defaultProps={options:[]},L.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},L.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(L);var F=L;w.Group=F;t.default=w},oOh1:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n("q1tI"),o=n("17x9"),a=n("x1Ya"),u=n("TSYQ"),c=n.n(u),l=n("Gytx"),i=n.n(l),s=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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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,t){return!t||"object"!==f(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){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 O(e){return(O=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 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=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)}(f,e);var t,n,o,u,l=(t=f,function(){var e,n=O(t);if(g()){var r=O(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function f(){var e;return y(this,f),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.onChange=function(t){e.props.onChange&&e.props.onChange(t),e.context.radioGroup&&e.context.radioGroup.onChange&&e.context.radioGroup.onChange(t)},e.renderRadio=function(t){var n,o=t.getPrefixCls,u=m(e),l=u.props,i=u.context,s=l.prefixCls,f=l.className,y=l.children,b=l.style,h=x(l,["prefixCls","className","children","style"]),v=i.radioGroup,g=o("radio",s),O=d({},h);v&&(O.name=v.name,O.onChange=e.onChange,O.checked=l.value===v.value,O.disabled=l.disabled||v.disabled);var k=c()(f,(p(n={},"".concat(g,"-wrapper"),!0),p(n,"".concat(g,"-wrapper-checked"),O.checked),p(n,"".concat(g,"-wrapper-disabled"),O.disabled),n));return r.createElement("label",{className:k,style:b,onMouseEnter:l.onMouseEnter,onMouseLeave:l.onMouseLeave},r.createElement(a.a,d({},O,{prefixCls:g,ref:e.saveCheckbox})),void 0!==y?r.createElement("span",null,y):null)},e}return n=f,(o=[{key:"shouldComponentUpdate",value:function(e,t,n){return!i()(this.props,e)||!i()(this.state,t)||!i()(this.context.radioGroup,n.radioGroup)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(s.a,null,this.renderRadio)}}])&&b(n.prototype,o),u&&b(n,u),f}(r.Component);k.defaultProps={type:"radio"},k.contextTypes={radioGroup:o.any}},vXNv:function(e,t,n){},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),u=n.n(a),c=n("iCc5"),l=n.n(c),i=n("FYw3"),s=n.n(i),f=n("mRg0"),p=n.n(f),d=n("q1tI"),y=n.n(d),b=n("17x9"),h=n.n(b),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:u()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?u()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,l=t.id,i=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,b=t.onFocus,h=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),x=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),k=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=k,e[n+"-disabled"]=s,e));return y.a.createElement("span",{className:C,style:a},y.a.createElement("input",u()({name:c,id:l,type:i,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!k,onClick:d,onFocus:b,onBlur:h,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},x)),y.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:h.a.string,className:h.a.string,style:h.a.object,name:h.a.string,id:h.a.string,type:h.a.string,defaultChecked:h.a.oneOfType([h.a.number,h.a.bool]),checked:h.a.oneOfType([h.a.number,h.a.bool]),disabled:h.a.bool,onFocus:h.a.func,onBlur:h.a.func,onChange:h.a.func,onClick:h.a.func,tabIndex:h.a.oneOfType([h.a.string,h.a.number]),readOnly:h.a.bool,autoFocus:h.a.bool,value:h.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var x=O;t.a=x}}]); \ No newline at end of file diff --git a/static/js/45.6bee55e2.chunk.js b/static/js/46.e161bc84.chunk.js similarity index 99% rename from static/js/45.6bee55e2.chunk.js rename to static/js/46.e161bc84.chunk.js index 1be9f2368..f9d826c71 100644 --- a/static/js/45.6bee55e2.chunk.js +++ b/static/js/46.e161bc84.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[45,71],{"+hnl":function(e,t,n){},"2oGH":function(e,t,n){},Jj8u:function(e,t,n){},MByq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("2/Rp")),a=g(n("kaz8")),i=g(n("lrIw")),c=g(n("Vl3Y")),l=g(n("5rEg")),u=g(n("2fM7")),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},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("MKzF"),n("bipt"),n("tULf"),n("1vPl"),n("8QGh");var p=n("q1tI"),d=g(p),m=n("eO8H"),y=n("J66h");n("7dqz"),n("Jj8u");var h=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default: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 v=u.default.Option,O=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.getCategory(),n.getLanguage(),n.getGitignore(),n.getLicenses()},n.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.getCategory=function(){h.default.get("/project_categories.json").then((function(e){e&&(n.setOptionsList(e.data.project_categories,"project_category"),n.setState({CategoryList:e.data.project_categories}))})).catch((function(e){}))},n.getLanguage=function(){h.default.get("/project_languages.json").then((function(e){e&&(n.setOptionsList(e.data.project_languages,"project_language"),n.setState({LanguageList:e.data.project_languages}))})).catch((function(e){}))},n.getGitignore=function(){h.default.get("/ignores.json").then((function(e){e&&(n.setOptionsList(e.data.ignores,"ignore"),n.setState({GitignoreList:e.data.ignores}))})).catch((function(e){}))},n.getLicenses=function(){h.default.get("/licenses.json").then((function(e){e&&(n.setOptionsList(e.data.licenses,"license"),n.setState({LicensesList:e.data.licenses}))})).catch((function(e){}))},n.setOptionsList=function(e,t,r){if(e&&e.length>0){var o=e;r&&(o=e.filter((function(e){return e.name.toLowerCase().indexOf(r.toLowerCase())>-1})));var a=o&&o.map((function(e){return d.default.createElement(v,{key:e.id,value:e.name},e.name)}));n.setState(b({},t+"_list",a))}},n.subMitFrom=function(){n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{n.setState({isSpin:!0});var r=n.props.current_user,o=n.props.match.params.projectsType,a=n.state,i=a.project_language_id,c=a.project_category_id,l=a.license_id,u=a.ignore_id,f=y.Base64.encode(t.password),p="deposit"===o?"/projects.json":"/projects/migrate.json";h.default.post(p,s({},t,{auth_password:f,project_language_id:i,project_category_id:c,license_id:l,ignore_id:u,user_id:r.user_id})).then((function(e){e&&e.data.id&&(n.setState({isSpin:!1}),n.props.showNotification(("deposit"===o?"托管":"镜像")+"项目创建成功!"),n.props.history.push("/projects/"+(r&&r.login)+"/"+e.data.identifier))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.ChangePlatform=function(e,t,r,o){var a;n.setOptionsList(o,r,e),n.setState((b(a={},r+"_id",t.key),b(a,r+"_name",e),a))},n.blurCategory=function(e,t,r){var o,a=t&&t.filter((function(t){return t.name===e}));a&&0!==a.length||(n.props.form.setFieldsValue(b({},r,void 0)),n.setState((b(o={},r+"_name",void 0),b(o,r+"_id",void 0),o)),n.setOptionsList(t,r))},n.checkId=function(e,t,n,r,o){var a=r.filter((function(e){return e.name===t}));t||n(),a&&a.length>0?n():n("请在下拉选项中选择正确的"+o+"!"),n()},n.changeMirrorCheck=function(){var e=n.state.mirrorCheck;n.setState({mirrorCheck:!e})},n.ChangeAddr=function(e){var t=e.target.value;if(t.indexOf("/")>-1){var r=t.split("/"),o=r[r.length-1];if(o.indexOf(".git")>-1){var a=o.split(".")[0];if(!a)return;n.props.form.setFieldsValue({repository_name:a})}}},n.state={preType:"0",languageValue:"0",gitignoreType:"0",LicensesType:"0",mirrorCheck:!1,CategoryList:void 0,LanguageList:void 0,GitignoreList:void 0,LicensesList:void 0,isSpin:!1,project_language_id:void 0,project_category_id:void 0,license_id:void 0,ignore_id:void 0,project_language_list:void 0,project_category_list:void 0,license_list:void 0,ignore_list:void 0,project_language_name:void 0,project_category_name:void 0,license_name:void 0,ignore_name: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.form.getFieldDecorator,n=this.props.match.params.projectsType,u=this.state,s=(u.preType,u.languageValue,u.gitignoreType,u.LicensesType,u.CategoryList),f=u.LanguageList,p=u.GitignoreList,y=u.LicensesList,h=u.isSpin,g=(u.project_language_name,u.project_category_name,u.license_name,u.ignore_name,u.project_language_list),b=u.project_category_list,v=u.license_list,O=u.ignore_list,_=u.mirrorCheck;return d.default.createElement("div",{className:"main back-white"},d.default.createElement("div",{className:"newPanel"},d.default.createElement("div",{className:"newPanel_title"},"创建","deposit"===n?"托管":"镜像","项目"),d.default.createElement(r.default,{spinning:h},d.default.createElement(c.default,null,d.default.createElement("div",{className:"newPanel_content"},"deposit"!==n&&d.default.createElement(d.default.Fragment,null,d.default.createElement(c.default.Item,{label:"镜像版本库地址",style:{marginBottom:"0px"}},t("clone_addr",{rules:[{required:!0,message:"请填写镜像版本库地址"}]})(d.default.createElement(l.default,{placeholder:"输入需要同步到本项目的镜像版本库地址",onChange:this.ChangeAddr}))),d.default.createElement("p",{className:"formTip color-orange"},"示例:https://github.com/facebook/reack.git")),"deposit"!==n&&d.default.createElement(d.default.Fragment,null,d.default.createElement("p",{className:"mt10 mb10 color-grey-3 pointer",onClick:this.changeMirrorCheck},"需要授权验证",d.default.createElement("i",{className:_?"iconfont icon-xiajiantou font-13 ml10 color-grey-8":"iconfont icon-youjiantou font-13 ml10 color-grey-8"})),_&&d.default.createElement("div",{className:"df mb20",style:{alignItems:"center"}},d.default.createElement("span",{className:"mr10"},"用户名"),d.default.createElement(c.default.Item,{style:{marginBottom:"0px"},label:""},t("auth_username",{rules:[]})(d.default.createElement(l.default,{placeholder:"请输入对应平台的登录用户名",style:{width:"240px"}}))),d.default.createElement("span",{className:"mr10"},"密码"),d.default.createElement(c.default.Item,{style:{marginBottom:"0px"},label:""},t("password",{rules:[]})(d.default.createElement(l.default,{placeholder:"请输入对应平台的登录密码",type:"password",style:{width:"240px"}}))))),d.default.createElement(c.default.Item,{label:"项目名称"},t("name",{rules:[{required:!0,message:"请填写项目名称"}]})(d.default.createElement(l.default,{placeholder:"例如:团队协作方法与研究"}))),d.default.createElement(c.default.Item,{label:"项目简介"},t("description",{rules:[{required:!0,message:"请填写项目简介"}]})(d.default.createElement(l.default.TextArea,{placeholder:"项目的介绍",autoSize:{minRows:2,maxRows:6}}))),d.default.createElement(c.default.Item,{label:"仓库名称"},t("repository_name",{rules:[{required:!0,message:"请填写仓库名称"}]})(d.default.createElement(l.default,{placeholder:"仓库名称请使用与项目相关的英文关键字"}))),d.default.createElement(c.default.Item,{label:"项目类别"},t("project_category",{rules:[{required:!0,message:"请选择大类别"},{validator:function(t,n,r){return e.checkId(t,n,r,s,"项目类别")}}]})(d.default.createElement(i.default,{placeholder:"请选择项目类别",onChange:function(t,n){return e.ChangePlatform(t,n,"project_category",s)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,s,"project_category")}},b))),d.default.createElement(c.default.Item,{label:"项目语言"},t("project_language",{rules:[{required:!0,message:"请选择项目语言"},{validator:function(t,n,r){return e.checkId(t,n,r,f,"项目语言")}}]})(d.default.createElement(i.default,{placeholder:"请选择项目语言",onChange:function(t,n){return e.ChangePlatform(t,n,"project_language",f)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,f,"project_language")}},g))),"deposit"===n&&d.default.createElement(d.default.Fragment,null,d.default.createElement(c.default.Item,{label:".gitignore"},t("ignore",{rules:[{required:!0,message:"请选择gitignore"},{validator:function(t,n,r){return e.checkId(t,n,r,p,"gitignore")}}]})(d.default.createElement(i.default,{placeholder:"请选择gitignore,用来定义哪些文件不需要添加到版本管理中",onChange:function(t,n){return e.ChangePlatform(t,n,"ignore",p)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,p,"ignore")}},O))),d.default.createElement(c.default.Item,{label:"开源许可证"},t("license",{rules:[{required:!0,message:"请选择开源许可证"},{validator:function(t,n,r){return e.checkId(t,n,r,y,"开源许可证")}}]})(d.default.createElement(i.default,{placeholder:"请选择开源许可证",onChange:function(t,n){return e.ChangePlatform(t,n,"license",y)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,y,"license")}},v)))),d.default.createElement(c.default.Item,{label:"可见性",style:{margin:"0px"},className:"privatePart"},t("private")(d.default.createElement(a.default,{value:"limit"},"将项目设为私有",d.default.createElement("span",{className:"ml15 font-13 color-grey-9"},"(只有项目所有人或拥有权限的项目成员才能看到)")))),"deposit"!==n&&d.default.createElement(c.default.Item,{label:"迁移类型:",style:{margin:"0px"},className:"privatePart"},t("is_mirror")(d.default.createElement(a.default,{value:"limit"},"该仓库将是一个",d.default.createElement("span",{className:"color-blue"},"镜像"),"(设置为镜像后,该项目为只读,不能进行push等相关操作)"))),d.default.createElement("div",null,"注:",d.default.createElement("span",{className:"ant-form-item-required"})," 为必填项,否则为选填"),d.default.createElement(c.default.Item,{className:"formTip mt20"},d.default.createElement(o.default,{type:"primary",onClick:this.subMitFrom,className:"mr20"},"创建项目"),d.default.createElement(m.Link,{to:"/projects",className:"btn_32"},"取消")))))))}}]),t}(p.Component),_=c.default.create({name:"NewWorkForm"})(O);t.default=_},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),c=n.n(i),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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(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(){return(y=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 g(e,t){for(var n=0;n<t.length;n++){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 v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return 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(e){return!1}}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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=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)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=j(t);if(_()){var r=j(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,u=a.context,s=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,h=i.style,g=i.onMouseEnter,b=i.onMouseLeave,v=C(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),_=u.checkboxGroup,j=o("checkbox",s),k=y({},v);_&&(k.onChange=function(){v.onChange&&v.onChange.apply(v,arguments),_.toggleOption({label:p,value:i.value})},k.name=_.name,k.checked=-1!==_.value.indexOf(i.value),k.disabled=i.disabled||_.disabled);var E=c()(f,(m(n={},"".concat(j,"-wrapper"),!0),m(n,"".concat(j,"-wrapper-checked"),k.checked),m(n,"".concat(j,"-wrapper-disabled"),k.disabled),n)),x=c()(m({},"".concat(j,"-indeterminate"),d));return r.createElement("label",{className:E,style:h,onMouseEnter:g,onMouseLeave:b},r.createElement(l.a,y({},k,{prefixCls:j,className:x,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&g(n.prototype,o),a&&g(n,a),u}(r.Component);k.__ANT_CHECKBOX=!0,k.defaultProps={indeterminate:!1},k.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(k);var E=k,x=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return L(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 L(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(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 L(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 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 I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(){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 F(e){return(F=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},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&&I(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=F(t);if(V()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return T(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,l=a.prefixCls,u=a.className,s=a.style,f=a.options,p=G(a,["prefixCls","className","style","options"]),d=n("checkbox",l),m="".concat(d,"-group"),y=Object(x.a)(p,["children","defaultValue","value","onChange","disabled"]),h=a.children;f&&f.length>0&&(h=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var g=c()(m,u);return r.createElement("div",S({className:g,style:s},y),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),a&&N(n,a),l}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},M.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(M);var A=M;E.Group=A;t.default=E},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var r=n("q1tI"),o=n("i+PK"),a=n("TSYQ"),i=n.n(a);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=i.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),a&&s(n,a),c}(r.Component),h=n("5rEg"),g=n("2fM7"),b=n("H84U");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 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 _(){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)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){return!t||"object"!==v(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 x(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var P=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,c,l=(t=u,function(){var e,n=w(t);if(x()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return E(this,e)});function u(){var e;return j(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(h.default,null),a=_({},n.props);return delete a.children,r.createElement(y,a,n)},e.renderAutoComplete=function(t){var n,a,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,m=l.optionLabelProp,y=l.dataSource,h=l.children,b=c("select",u),j=i()((O(n={},"".concat(b,"-lg"),"large"===s),O(n,"".concat(b,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(b,"-show-search"),!0),O(n,"".concat(b,"-auto-complete"),!0),n)),C=r.Children.toArray(h);return a=C.length&&S(C[0])?h:y?y.map((function(e){if(r.isValidElement(e))return e;switch(v(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(g.default,_({},e.props,{className:j,mode:g.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:m,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),a)},e}return n=u,(a=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(b.a,null,this.renderAutoComplete)}}])&&C(n.prototype,a),c&&C(n,c),u}(r.Component);P.Option=o.b,P.OptGroup=o.a,P.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),y=n("17x9"),h=n.n(y),g=n("TSYQ"),b=n.n(g),v=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,h=t.onBlur,g=t.autoFocus,v=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),_=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),j=this.state.checked,C=b()(n,r,((e={})[n+"-checked"]=j,e[n+"-disabled"]=s,e));return m.a.createElement("span",{className:C,style:a},m.a.createElement("input",i()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!j,onClick:d,onFocus:y,onBlur:h,onChange:this.handleChange,autoFocus:g,ref:this.saveInput,value:v},_)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:h.a.string,className:h.a.string,style:h.a.object,name:h.a.string,id:h.a.string,type:h.a.string,defaultChecked:h.a.oneOfType([h.a.number,h.a.bool]),checked:h.a.oneOfType([h.a.number,h.a.bool]),disabled:h.a.bool,onFocus:h.a.func,onBlur:h.a.func,onChange:h.a.func,onClick:h.a.func,tabIndex:h.a.oneOfType([h.a.string,h.a.number]),readOnly:h.a.bool,autoFocus:h.a.bool,value:h.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(v.polyfill)(O);var _=O;t.a=_}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[46,73],{"+hnl":function(e,t,n){},"2oGH":function(e,t,n){},Jj8u:function(e,t,n){},MByq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n("W9HT")),o=g(n("2/Rp")),a=g(n("kaz8")),i=g(n("lrIw")),c=g(n("Vl3Y")),l=g(n("5rEg")),u=g(n("2fM7")),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},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("MKzF"),n("bipt"),n("tULf"),n("1vPl"),n("8QGh");var p=n("q1tI"),d=g(p),m=n("eO8H"),y=n("J66h");n("7dqz"),n("Jj8u");var h=g(n("vDqi"));function g(e){return e&&e.__esModule?e:{default: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 v=u.default.Option,O=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.getCategory(),n.getLanguage(),n.getGitignore(),n.getLicenses()},n.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.getCategory=function(){h.default.get("/project_categories.json").then((function(e){e&&(n.setOptionsList(e.data.project_categories,"project_category"),n.setState({CategoryList:e.data.project_categories}))})).catch((function(e){}))},n.getLanguage=function(){h.default.get("/project_languages.json").then((function(e){e&&(n.setOptionsList(e.data.project_languages,"project_language"),n.setState({LanguageList:e.data.project_languages}))})).catch((function(e){}))},n.getGitignore=function(){h.default.get("/ignores.json").then((function(e){e&&(n.setOptionsList(e.data.ignores,"ignore"),n.setState({GitignoreList:e.data.ignores}))})).catch((function(e){}))},n.getLicenses=function(){h.default.get("/licenses.json").then((function(e){e&&(n.setOptionsList(e.data.licenses,"license"),n.setState({LicensesList:e.data.licenses}))})).catch((function(e){}))},n.setOptionsList=function(e,t,r){if(e&&e.length>0){var o=e;r&&(o=e.filter((function(e){return e.name.toLowerCase().indexOf(r.toLowerCase())>-1})));var a=o&&o.map((function(e){return d.default.createElement(v,{key:e.id,value:e.name},e.name)}));n.setState(b({},t+"_list",a))}},n.subMitFrom=function(){n.props.form.validateFieldsAndScroll((function(e,t){if(e)n.setState({isSpin:!1});else{n.setState({isSpin:!0});var r=n.props.current_user,o=n.props.match.params.projectsType,a=n.state,i=a.project_language_id,c=a.project_category_id,l=a.license_id,u=a.ignore_id,f=y.Base64.encode(t.password),p="deposit"===o?"/projects.json":"/projects/migrate.json";h.default.post(p,s({},t,{auth_password:f,project_language_id:i,project_category_id:c,license_id:l,ignore_id:u,user_id:r.user_id})).then((function(e){e&&e.data.id&&(n.setState({isSpin:!1}),n.props.showNotification(("deposit"===o?"托管":"镜像")+"项目创建成功!"),n.props.history.push("/projects/"+(r&&r.login)+"/"+e.data.identifier))})).catch((function(e){n.setState({isSpin:!1}),console.log(e)}))}}))},n.ChangePlatform=function(e,t,r,o){var a;n.setOptionsList(o,r,e),n.setState((b(a={},r+"_id",t.key),b(a,r+"_name",e),a))},n.blurCategory=function(e,t,r){var o,a=t&&t.filter((function(t){return t.name===e}));a&&0!==a.length||(n.props.form.setFieldsValue(b({},r,void 0)),n.setState((b(o={},r+"_name",void 0),b(o,r+"_id",void 0),o)),n.setOptionsList(t,r))},n.checkId=function(e,t,n,r,o){var a=r.filter((function(e){return e.name===t}));t||n(),a&&a.length>0?n():n("请在下拉选项中选择正确的"+o+"!"),n()},n.changeMirrorCheck=function(){var e=n.state.mirrorCheck;n.setState({mirrorCheck:!e})},n.ChangeAddr=function(e){var t=e.target.value;if(t.indexOf("/")>-1){var r=t.split("/"),o=r[r.length-1];if(o.indexOf(".git")>-1){var a=o.split(".")[0];if(!a)return;n.props.form.setFieldsValue({repository_name:a})}}},n.state={preType:"0",languageValue:"0",gitignoreType:"0",LicensesType:"0",mirrorCheck:!1,CategoryList:void 0,LanguageList:void 0,GitignoreList:void 0,LicensesList:void 0,isSpin:!1,project_language_id:void 0,project_category_id:void 0,license_id:void 0,ignore_id:void 0,project_language_list:void 0,project_category_list:void 0,license_list:void 0,ignore_list:void 0,project_language_name:void 0,project_category_name:void 0,license_name:void 0,ignore_name: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.form.getFieldDecorator,n=this.props.match.params.projectsType,u=this.state,s=(u.preType,u.languageValue,u.gitignoreType,u.LicensesType,u.CategoryList),f=u.LanguageList,p=u.GitignoreList,y=u.LicensesList,h=u.isSpin,g=(u.project_language_name,u.project_category_name,u.license_name,u.ignore_name,u.project_language_list),b=u.project_category_list,v=u.license_list,O=u.ignore_list,_=u.mirrorCheck;return d.default.createElement("div",{className:"main back-white"},d.default.createElement("div",{className:"newPanel"},d.default.createElement("div",{className:"newPanel_title"},"创建","deposit"===n?"托管":"镜像","项目"),d.default.createElement(r.default,{spinning:h},d.default.createElement(c.default,null,d.default.createElement("div",{className:"newPanel_content"},"deposit"!==n&&d.default.createElement(d.default.Fragment,null,d.default.createElement(c.default.Item,{label:"镜像版本库地址",style:{marginBottom:"0px"}},t("clone_addr",{rules:[{required:!0,message:"请填写镜像版本库地址"}]})(d.default.createElement(l.default,{placeholder:"输入需要同步到本项目的镜像版本库地址",onChange:this.ChangeAddr}))),d.default.createElement("p",{className:"formTip color-orange"},"示例:https://github.com/facebook/reack.git")),"deposit"!==n&&d.default.createElement(d.default.Fragment,null,d.default.createElement("p",{className:"mt10 mb10 color-grey-3 pointer",onClick:this.changeMirrorCheck},"需要授权验证",d.default.createElement("i",{className:_?"iconfont icon-xiajiantou font-13 ml10 color-grey-8":"iconfont icon-youjiantou font-13 ml10 color-grey-8"})),_&&d.default.createElement("div",{className:"df mb20",style:{alignItems:"center"}},d.default.createElement("span",{className:"mr10"},"用户名"),d.default.createElement(c.default.Item,{style:{marginBottom:"0px"},label:""},t("auth_username",{rules:[]})(d.default.createElement(l.default,{placeholder:"请输入对应平台的登录用户名",style:{width:"240px"}}))),d.default.createElement("span",{className:"mr10"},"密码"),d.default.createElement(c.default.Item,{style:{marginBottom:"0px"},label:""},t("password",{rules:[]})(d.default.createElement(l.default,{placeholder:"请输入对应平台的登录密码",type:"password",style:{width:"240px"}}))))),d.default.createElement(c.default.Item,{label:"项目名称"},t("name",{rules:[{required:!0,message:"请填写项目名称"}]})(d.default.createElement(l.default,{placeholder:"例如:团队协作方法与研究"}))),d.default.createElement(c.default.Item,{label:"项目简介"},t("description",{rules:[{required:!0,message:"请填写项目简介"}]})(d.default.createElement(l.default.TextArea,{placeholder:"项目的介绍",autoSize:{minRows:2,maxRows:6}}))),d.default.createElement(c.default.Item,{label:"仓库名称"},t("repository_name",{rules:[{required:!0,message:"请填写仓库名称"}]})(d.default.createElement(l.default,{placeholder:"仓库名称请使用与项目相关的英文关键字"}))),d.default.createElement(c.default.Item,{label:"项目类别"},t("project_category",{rules:[{required:!0,message:"请选择大类别"},{validator:function(t,n,r){return e.checkId(t,n,r,s,"项目类别")}}]})(d.default.createElement(i.default,{placeholder:"请选择项目类别",onChange:function(t,n){return e.ChangePlatform(t,n,"project_category",s)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,s,"project_category")}},b))),d.default.createElement(c.default.Item,{label:"项目语言"},t("project_language",{rules:[{required:!0,message:"请选择项目语言"},{validator:function(t,n,r){return e.checkId(t,n,r,f,"项目语言")}}]})(d.default.createElement(i.default,{placeholder:"请选择项目语言",onChange:function(t,n){return e.ChangePlatform(t,n,"project_language",f)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,f,"project_language")}},g))),"deposit"===n&&d.default.createElement(d.default.Fragment,null,d.default.createElement(c.default.Item,{label:".gitignore"},t("ignore",{rules:[{required:!0,message:"请选择gitignore"},{validator:function(t,n,r){return e.checkId(t,n,r,p,"gitignore")}}]})(d.default.createElement(i.default,{placeholder:"请选择gitignore,用来定义哪些文件不需要添加到版本管理中",onChange:function(t,n){return e.ChangePlatform(t,n,"ignore",p)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,p,"ignore")}},O))),d.default.createElement(c.default.Item,{label:"开源许可证"},t("license",{rules:[{required:!0,message:"请选择开源许可证"},{validator:function(t,n,r){return e.checkId(t,n,r,y,"开源许可证")}}]})(d.default.createElement(i.default,{placeholder:"请选择开源许可证",onChange:function(t,n){return e.ChangePlatform(t,n,"license",y)},className:"plateAutoComplete",onBlur:function(t){return e.blurCategory(t,y,"license")}},v)))),d.default.createElement(c.default.Item,{label:"可见性",style:{margin:"0px"},className:"privatePart"},t("private")(d.default.createElement(a.default,{value:"limit"},"将项目设为私有",d.default.createElement("span",{className:"ml15 font-13 color-grey-9"},"(只有项目所有人或拥有权限的项目成员才能看到)")))),"deposit"!==n&&d.default.createElement(c.default.Item,{label:"迁移类型:",style:{margin:"0px"},className:"privatePart"},t("is_mirror")(d.default.createElement(a.default,{value:"limit"},"该仓库将是一个",d.default.createElement("span",{className:"color-blue"},"镜像"),"(设置为镜像后,该项目为只读,不能进行push等相关操作)"))),d.default.createElement("div",null,"注:",d.default.createElement("span",{className:"ant-form-item-required"})," 为必填项,否则为选填"),d.default.createElement(c.default.Item,{className:"formTip mt20"},d.default.createElement(o.default,{type:"primary",onClick:this.subMitFrom,className:"mr20"},"创建项目"),d.default.createElement(m.Link,{to:"/projects",className:"btn_32"},"取消")))))))}}]),t}(p.Component),_=c.default.create({name:"NewWorkForm"})(O);t.default=_},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),i=n("TSYQ"),c=n.n(i),l=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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(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(){return(y=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 g(e,t){for(var n=0;n<t.length;n++){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 v(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return 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(e){return!1}}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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=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)}(u,e);var t,n,o,a,i=(t=u,function(){var e,n=j(t);if(_()){var r=j(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return v(this,e)});function u(){var e;return h(this,u),(e=i.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),i=a.props,u=a.context,s=i.prefixCls,f=i.className,p=i.children,d=i.indeterminate,h=i.style,g=i.onMouseEnter,b=i.onMouseLeave,v=C(i,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),_=u.checkboxGroup,j=o("checkbox",s),k=y({},v);_&&(k.onChange=function(){v.onChange&&v.onChange.apply(v,arguments),_.toggleOption({label:p,value:i.value})},k.name=_.name,k.checked=-1!==_.value.indexOf(i.value),k.disabled=i.disabled||_.disabled);var E=c()(f,(m(n={},"".concat(j,"-wrapper"),!0),m(n,"".concat(j,"-wrapper-checked"),k.checked),m(n,"".concat(j,"-wrapper-disabled"),k.disabled),n)),x=c()(m({},"".concat(j,"-indeterminate"),d));return r.createElement("label",{className:E,style:h,onMouseEnter:g,onMouseLeave:b},r.createElement(l.a,y({},k,{prefixCls:j,className:x,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&g(n.prototype,o),a&&g(n,a),u}(r.Component);k.__ANT_CHECKBOX=!0,k.defaultProps={indeterminate:!1},k.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(k);var E=k,x=n("BGR+");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 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 P(e){return function(e){if(Array.isArray(e))return L(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 L(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(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 L(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 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 I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(){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 F(e){return(F=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},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&&I(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=F(t);if(V()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return T(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=i.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(P(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=P(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var i=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return i.findIndex((function(t){return t.value===e}))-i.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,i=o.state,l=a.prefixCls,u=a.className,s=a.style,f=a.options,p=G(a,["prefixCls","className","style","options"]),d=n("checkbox",l),m="".concat(d,"-group"),y=Object(x.a)(p,["children","defaultValue","value","onChange","disabled"]),h=a.children;f&&f.length>0&&(h=t.getOptions().map((function(e){return r.createElement(E,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==i.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var g=c()(m,u);return r.createElement("div",S({className:g,style:s},y),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=l,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&N(n.prototype,o),a&&N(n,a),l}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},M.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(M);var A=M;E.Group=A;t.default=E},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var r=n("q1tI"),o=n("i+PK"),a=n("TSYQ"),i=n.n(a);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 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 u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y=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&&f(e,t)}(c,e);var t,n,o,a,i=(t=c,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;return u(this,c),(e=i.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=c,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,l(l({},this.props),{ref:this.saveRef}),null)}}])&&s(n.prototype,o),a&&s(n,a),c}(r.Component),h=n("5rEg"),g=n("2fM7"),b=n("H84U");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 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 _(){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)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e,t){return!t||"object"!==v(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 x(){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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}var P=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,c,l=(t=u,function(){var e,n=w(t);if(x()){var r=w(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return E(this,e)});function u(){var e;return j(this,u),(e=l.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(h.default,null),a=_({},n.props);return delete a.children,r.createElement(y,a,n)},e.renderAutoComplete=function(t){var n,a,c=t.getPrefixCls,l=e.props,u=l.prefixCls,s=l.size,f=l.className,p=void 0===f?"":f,d=l.notFoundContent,m=l.optionLabelProp,y=l.dataSource,h=l.children,b=c("select",u),j=i()((O(n={},"".concat(b,"-lg"),"large"===s),O(n,"".concat(b,"-sm"),"small"===s),O(n,p,!!p),O(n,"".concat(b,"-show-search"),!0),O(n,"".concat(b,"-auto-complete"),!0),n)),C=r.Children.toArray(h);return a=C.length&&S(C[0])?h:y?y.map((function(e){if(r.isValidElement(e))return e;switch(v(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(g.default,_({},e.props,{className:j,mode:g.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:m,getInputElement:e.getInputElement,notFoundContent:d,ref:e.saveSelect}),a)},e}return n=u,(a=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(b.a,null,this.renderAutoComplete)}}])&&C(n.prototype,a),c&&C(n,c),u}(r.Component);P.Option=o.b,P.OptGroup=o.a,P.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),i=n.n(a),c=n("iCc5"),l=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),y=n("17x9"),h=n.n(y),g=n("TSYQ"),b=n.n(g),v=n("VCL8"),O=function(e){function t(n){l()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:i()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?i()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,c=t.name,l=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,y=t.onFocus,h=t.onBlur,g=t.autoFocus,v=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),_=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),j=this.state.checked,C=b()(n,r,((e={})[n+"-checked"]=j,e[n+"-disabled"]=s,e));return m.a.createElement("span",{className:C,style:a},m.a.createElement("input",i()({name:c,id:l,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!j,onClick:d,onFocus:y,onBlur:h,onChange:this.handleChange,autoFocus:g,ref:this.saveInput,value:v},_)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);O.propTypes={prefixCls:h.a.string,className:h.a.string,style:h.a.object,name:h.a.string,id:h.a.string,type:h.a.string,defaultChecked:h.a.oneOfType([h.a.number,h.a.bool]),checked:h.a.oneOfType([h.a.number,h.a.bool]),disabled:h.a.bool,onFocus:h.a.func,onBlur:h.a.func,onChange:h.a.func,onClick:h.a.func,tabIndex:h.a.oneOfType([h.a.string,h.a.number]),readOnly:h.a.bool,autoFocus:h.a.bool,value:h.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(v.polyfill)(O);var _=O;t.a=_}}]); \ No newline at end of file diff --git a/static/js/46.77b36974.chunk.js b/static/js/47.2c5b6e01.chunk.js similarity index 99% rename from static/js/46.77b36974.chunk.js rename to static/js/47.2c5b6e01.chunk.js index 72877e7c1..37aa52121 100644 --- a/static/js/46.77b36974.chunk.js +++ b/static/js/47.2c5b6e01.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[46],{"+hnl":function(e,t,r){},"9Do8":function(e,t,r){"use strict";e.exports=r("zt9T")},Gytx:function(e,t){e.exports=function(e,t,r,o){var n=r?r.call(o,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),a=0;a<i.length;a++){var u=i[a];if(!c(u))return!1;var f=e[u],s=t[u];if(!1===(n=r?r.call(o,f,s,u):void 0)||void 0===n&&f!==s)return!1}return!0}},MKzF:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("+hnl")},PArb:function(e,t,r){"use strict";r.r(t);var o=r("q1tI"),n=r("TSYQ"),i=r.n(n),l=r("H84U");function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};t.default=function(e){return o.createElement(l.a,null,(function(t){var r,n=t.getPrefixCls,l=e.prefixCls,f=e.type,s=void 0===f?"horizontal":f,p=e.orientation,d=void 0===p?"center":p,v=e.className,y=e.children,h=e.dashed,b=u(e,["prefixCls","type","orientation","className","children","dashed"]),m=n("divider",l),g=d.length>0?"-".concat(d):d,O=i()(v,m,"".concat(m,"-").concat(s),(a(r={},"".concat(m,"-with-text").concat(g),y),a(r,"".concat(m,"-dashed"),!!h),r));return o.createElement("div",c({className:O},b,{role:"separator"}),y&&o.createElement("span",{className:"".concat(m,"-inner-text")},y))}))}},jB5C:function(e,t,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},n="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 r=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof r){var n=e.document;"number"!=typeof(r=n.documentElement[o])&&(r=n.body[o])}return r}function l(e){return i(e)}function c(e){return i(e,!0)}function a(e){var t=function(e){var t,r=void 0,o=void 0,n=e.ownerDocument,i=n.body,l=n&&n.documentElement;return r=(t=e.getBoundingClientRect()).left,o=t.top,{left:r-=l.clientLeft||i.clientLeft||0,top:o-=l.clientTop||i.clientTop||0}}(e),r=e.ownerDocument,o=r.defaultView||r.parentWindow;return t.left+=l(o),t.top+=c(o),t}var u=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),f=/^(top|right|bottom|left)$/,s="left";var p=void 0;function d(e,t){for(var r=0;r<e.length;r++)t(e[r])}function v(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,r){var o="",n=e.ownerDocument,i=r||n.defaultView.getComputedStyle(e,null);return i&&(o=i.getPropertyValue(t)||i[t]),o}:function(e,t){var r=e.currentStyle&&e.currentStyle[t];if(u.test(r)&&!f.test(t)){var o=e.style,n=o[s],i=e.runtimeStyle[s];e.runtimeStyle[s]=e.currentStyle[s],o[s]="fontSize"===t?"1em":r||0,r=o.pixelLeft+"px",o[s]=n,e.runtimeStyle[s]=i}return""===r?"auto":r});var y=["margin","border","padding"];function h(e,t,r){var o={},n=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o[i]=n[i],n[i]=t[i]);for(i in r.call(e),t)t.hasOwnProperty(i)&&(n[i]=o[i])}function b(e,t,r){var o=0,n=void 0,i=void 0,l=void 0;for(i=0;i<t.length;i++)if(n=t[i])for(l=0;l<r.length;l++){var c=void 0;c="border"===n?n+r[l]+"Width":n+r[l],o+=parseFloat(p(e,c))||0}return o}function m(e){return null!=e&&e==e.window}var g={};function O(e,t,r){if(m(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],n="width"===t?e.offsetWidth:e.offsetHeight,i=(p(e),v(e)),l=0;(null==n||n<=0)&&(n=void 0,(null==(l=p(e,t))||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===r&&(r=i?1:-1);var c=void 0!==n||i,a=n||l;if(-1===r)return c?a-b(e,["border","padding"],o):l;if(c){var u=2===r?-b(e,["border"],o):b(e,["margin"],o);return a+(1===r?0:u)}return l+b(e,y.slice(r),o)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var r=t.document;return Math.max(r.documentElement["scroll"+e],r.body["scroll"+e],g["viewport"+e](r))},g["viewport"+e]=function(t){var r="client"+e,o=t.document,n=o.body,i=o.documentElement[r];return"CSS1Compat"===o.compatMode&&i||n&&n[r]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function x(e){var t=void 0,r=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,r):h(e,w,(function(){t=O.apply(void 0,r)})),t}function j(e,t,r){var o=r;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):p(e,t);for(var i in t)t.hasOwnProperty(i)&&j(e,i,t[i])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,r){return t&&x(t,e,r?0:1)};var r="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,o){if(void 0===o)return t&&x(t,e,-1);if(t){p(t);return v(t)&&(o+=b(t,["padding","border"],r)),j(t,e,o)}}})),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return a(e);!function(e,t){"static"===j(e,"position")&&(e.style.position="relative");var r=a(e),o={},n=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(n=parseFloat(j(e,i))||0,o[i]=n+t[i]-r[i]);j(e,o)}(e,t)},isWindow:m,each:d,css:j,clone:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);if(e.overflow)for(var r in e)e.hasOwnProperty(r)&&(t.overflow[r]=e.overflow[r]);return t},scrollLeft:function(e,t){if(m(e)){if(void 0===t)return l(e);window.scrollTo(t,c(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(m(e)){if(void 0===t)return c(e);window.scrollTo(l(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},kaz8:function(e,t,r){"use strict";r.r(t);var o=r("q1tI"),n=r("17x9"),i=r("VCL8"),l=r("TSYQ"),c=r.n(l),a=r("x1Ya"),u=r("Gytx"),f=r.n(u),s=r("H84U"),p=r("6CfX");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 v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},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&&m(e,t)}(u,e);var t,r,n,i,l=(t=u,function(){var e,r=x(t);if(w()){var o=x(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var r,n=t.getPrefixCls,i=O(e),l=i.props,u=i.context,f=l.prefixCls,s=l.className,p=l.children,d=l.indeterminate,h=l.style,b=l.onMouseEnter,m=l.onMouseLeave,g=j(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,x=n("checkbox",f),S=y({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:l.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(l.value),S.disabled=l.disabled||w.disabled);var C=c()(s,(v(r={},"".concat(x,"-wrapper"),!0),v(r,"".concat(x,"-wrapper-checked"),S.checked),v(r,"".concat(x,"-wrapper-disabled"),S.disabled),r)),k=c()(v({},"".concat(x,"-indeterminate"),d));return o.createElement("label",{className:C,style:h,onMouseEnter:b,onMouseLeave:m},o.createElement(a.a,y({},S,{prefixCls:x,className:k,ref:e.saveCheckbox})),void 0!==p&&o.createElement("span",null,p))},e}return r=u,(n=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,r=void 0===t?{}:t;r.registerValue&&r.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,r){return!f()(this.props,e)||!f()(this.state,t)||!f()(this.context.checkboxGroup,r.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,r=this.props.value,o=(this.context||{}).checkboxGroup,n=void 0===o?{}:o;r!==t&&n.registerValue&&n.cancelValue&&(n.cancelValue(t),n.registerValue(r))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,r=void 0===t?{}:t;r.cancelValue&&r.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderCheckbox)}}])&&b(r.prototype,n),i&&b(r,i),u}(o.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:n.any},Object(i.polyfill)(S);var C=S,k=r("BGR+");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 T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function E(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 r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))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 r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function L(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},H=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)}(a,e);var t,r,n,i,l=(t=a,function(){var e,r=N(t);if(G()){var o=N(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return R(this,e)});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=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var r=t.registeredValues;return{registeredValues:[].concat(E(r),[e])}}))},t.toggleOption=function(e){var r=t.state.registeredValues,o=t.state.value.indexOf(e.value),n=E(t.state.value);-1===o?n.push(e.value):n.splice(o,1),"value"in t.props||t.setState({value:n});var i=t.props.onChange;if(i){var l=t.getOptions();i(n.filter((function(e){return-1!==r.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var r=e.getPrefixCls,n=_(t),i=n.props,l=n.state,a=i.prefixCls,u=i.className,f=i.style,s=i.options,p=D(i,["prefixCls","className","style","options"]),d=r("checkbox",a),v="".concat(d,"-group"),y=Object(k.a)(p,["children","defaultValue","value","onChange","disabled"]),h=i.children;s&&s.length>0&&(h=t.getOptions().map((function(e){return o.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(v,"-item")},e.label)})));var b=c()(v,u);return o.createElement("div",T({className:b,style:f},y),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return r=a,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!f()(this.props,e)||!f()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderGroup)}}])&&L(r.prototype,n),i&&L(r,i),a}(o.Component);H.defaultProps={options:[]},H.propTypes={defaultValue:n.array,value:n.array,options:n.array.isRequired,onChange:n.func},H.childContextTypes={checkboxGroup:n.any},Object(i.polyfill)(H);var I=H;C.Group=I;t.default=C},"qNb/":function(e,t,r){"use strict";r.r(t);r("SchZ"),r("txnC")},txnC:function(e,t,r){},zt9T:function(e,t,r){"use strict";var o=r("jB5C");e.exports=function(e,t,r){r=r||{},9===t.nodeType&&(t=o.getWindow(t));var n=r.allowHorizontalScroll,i=r.onlyScrollIfNeeded,l=r.alignWithTop,c=r.alignWithLeft,a=r.offsetTop||0,u=r.offsetLeft||0,f=r.offsetBottom||0,s=r.offsetRight||0;n=void 0===n||n;var p=o.isWindow(t),d=o.offset(e),v=o.outerHeight(e),y=o.outerWidth(e),h=void 0,b=void 0,m=void 0,g=void 0,O=void 0,w=void 0,x=void 0,j=void 0,S=void 0,C=void 0;p?(x=t,C=o.height(x),S=o.width(x),j={left:o.scrollLeft(x),top:o.scrollTop(x)},O={left:d.left-j.left-u,top:d.top-j.top-a},w={left:d.left+y-(j.left+S)+s,top:d.top+v-(j.top+C)+f},g=j):(h=o.offset(t),b=t.clientHeight,m=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:d.left-(h.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-u,top:d.top-(h.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},w={left:d.left+y-(h.left+m+(parseFloat(o.css(t,"borderRightWidth"))||0))+s,top:d.top+v-(h.top+b+(parseFloat(o.css(t,"borderBottomWidth"))||0))+f}),O.top<0||w.top>0?!0===l?o.scrollTop(t,g.top+O.top):!1===l?o.scrollTop(t,g.top+w.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+w.top):i||((l=void 0===l||!!l)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+w.top)),n&&(O.left<0||w.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+w.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+w.left):i||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+w.left)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[47],{"+hnl":function(e,t,r){},"9Do8":function(e,t,r){"use strict";e.exports=r("zt9T")},Gytx:function(e,t){e.exports=function(e,t,r,o){var n=r?r.call(o,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),l=Object.keys(t);if(i.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),a=0;a<i.length;a++){var u=i[a];if(!c(u))return!1;var f=e[u],s=t[u];if(!1===(n=r?r.call(o,f,s,u):void 0)||void 0===n&&f!==s)return!1}return!0}},MKzF:function(e,t,r){"use strict";r.r(t);r("SchZ"),r("+hnl")},PArb:function(e,t,r){"use strict";r.r(t);var o=r("q1tI"),n=r("TSYQ"),i=r.n(n),l=r("H84U");function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r};t.default=function(e){return o.createElement(l.a,null,(function(t){var r,n=t.getPrefixCls,l=e.prefixCls,f=e.type,s=void 0===f?"horizontal":f,p=e.orientation,d=void 0===p?"center":p,v=e.className,y=e.children,h=e.dashed,b=u(e,["prefixCls","type","orientation","className","children","dashed"]),m=n("divider",l),g=d.length>0?"-".concat(d):d,O=i()(v,m,"".concat(m,"-").concat(s),(a(r={},"".concat(m,"-with-text").concat(g),y),a(r,"".concat(m,"-dashed"),!!h),r));return o.createElement("div",c({className:O},b,{role:"separator"}),y&&o.createElement("span",{className:"".concat(m,"-inner-text")},y))}))}},jB5C:function(e,t,r){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},n="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 r=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof r){var n=e.document;"number"!=typeof(r=n.documentElement[o])&&(r=n.body[o])}return r}function l(e){return i(e)}function c(e){return i(e,!0)}function a(e){var t=function(e){var t,r=void 0,o=void 0,n=e.ownerDocument,i=n.body,l=n&&n.documentElement;return r=(t=e.getBoundingClientRect()).left,o=t.top,{left:r-=l.clientLeft||i.clientLeft||0,top:o-=l.clientTop||i.clientTop||0}}(e),r=e.ownerDocument,o=r.defaultView||r.parentWindow;return t.left+=l(o),t.top+=c(o),t}var u=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),f=/^(top|right|bottom|left)$/,s="left";var p=void 0;function d(e,t){for(var r=0;r<e.length;r++)t(e[r])}function v(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,r){var o="",n=e.ownerDocument,i=r||n.defaultView.getComputedStyle(e,null);return i&&(o=i.getPropertyValue(t)||i[t]),o}:function(e,t){var r=e.currentStyle&&e.currentStyle[t];if(u.test(r)&&!f.test(t)){var o=e.style,n=o[s],i=e.runtimeStyle[s];e.runtimeStyle[s]=e.currentStyle[s],o[s]="fontSize"===t?"1em":r||0,r=o.pixelLeft+"px",o[s]=n,e.runtimeStyle[s]=i}return""===r?"auto":r});var y=["margin","border","padding"];function h(e,t,r){var o={},n=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o[i]=n[i],n[i]=t[i]);for(i in r.call(e),t)t.hasOwnProperty(i)&&(n[i]=o[i])}function b(e,t,r){var o=0,n=void 0,i=void 0,l=void 0;for(i=0;i<t.length;i++)if(n=t[i])for(l=0;l<r.length;l++){var c=void 0;c="border"===n?n+r[l]+"Width":n+r[l],o+=parseFloat(p(e,c))||0}return o}function m(e){return null!=e&&e==e.window}var g={};function O(e,t,r){if(m(e))return"width"===t?g.viewportWidth(e):g.viewportHeight(e);if(9===e.nodeType)return"width"===t?g.docWidth(e):g.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],n="width"===t?e.offsetWidth:e.offsetHeight,i=(p(e),v(e)),l=0;(null==n||n<=0)&&(n=void 0,(null==(l=p(e,t))||Number(l)<0)&&(l=e.style[t]||0),l=parseFloat(l)||0),void 0===r&&(r=i?1:-1);var c=void 0!==n||i,a=n||l;if(-1===r)return c?a-b(e,["border","padding"],o):l;if(c){var u=2===r?-b(e,["border"],o):b(e,["margin"],o);return a+(1===r?0:u)}return l+b(e,y.slice(r),o)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var r=t.document;return Math.max(r.documentElement["scroll"+e],r.body["scroll"+e],g["viewport"+e](r))},g["viewport"+e]=function(t){var r="client"+e,o=t.document,n=o.body,i=o.documentElement[r];return"CSS1Compat"===o.compatMode&&i||n&&n[r]||i}}));var w={position:"absolute",visibility:"hidden",display:"block"};function x(e){var t=void 0,r=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,r):h(e,w,(function(){t=O.apply(void 0,r)})),t}function j(e,t,r){var o=r;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):p(e,t);for(var i in t)t.hasOwnProperty(i)&&j(e,i,t[i])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,r){return t&&x(t,e,r?0:1)};var r="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,o){if(void 0===o)return t&&x(t,e,-1);if(t){p(t);return v(t)&&(o+=b(t,["padding","border"],r)),j(t,e,o)}}})),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return a(e);!function(e,t){"static"===j(e,"position")&&(e.style.position="relative");var r=a(e),o={},n=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(n=parseFloat(j(e,i))||0,o[i]=n+t[i]-r[i]);j(e,o)}(e,t)},isWindow:m,each:d,css:j,clone:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);if(e.overflow)for(var r in e)e.hasOwnProperty(r)&&(t.overflow[r]=e.overflow[r]);return t},scrollLeft:function(e,t){if(m(e)){if(void 0===t)return l(e);window.scrollTo(t,c(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(m(e)){if(void 0===t)return c(e);window.scrollTo(l(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},kaz8:function(e,t,r){"use strict";r.r(t);var o=r("q1tI"),n=r("17x9"),i=r("VCL8"),l=r("TSYQ"),c=r.n(l),a=r("x1Ya"),u=r("Gytx"),f=r.n(u),s=r("H84U"),p=r("6CfX");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 v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},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&&m(e,t)}(u,e);var t,r,n,i,l=(t=u,function(){var e,r=x(t);if(w()){var o=x(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g(this,e)});function u(){var e;return h(this,u),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var r,n=t.getPrefixCls,i=O(e),l=i.props,u=i.context,f=l.prefixCls,s=l.className,p=l.children,d=l.indeterminate,h=l.style,b=l.onMouseEnter,m=l.onMouseLeave,g=j(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),w=u.checkboxGroup,x=n("checkbox",f),S=y({},g);w&&(S.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),w.toggleOption({label:p,value:l.value})},S.name=w.name,S.checked=-1!==w.value.indexOf(l.value),S.disabled=l.disabled||w.disabled);var C=c()(s,(v(r={},"".concat(x,"-wrapper"),!0),v(r,"".concat(x,"-wrapper-checked"),S.checked),v(r,"".concat(x,"-wrapper-disabled"),S.disabled),r)),k=c()(v({},"".concat(x,"-indeterminate"),d));return o.createElement("label",{className:C,style:h,onMouseEnter:b,onMouseLeave:m},o.createElement(a.a,y({},S,{prefixCls:x,className:k,ref:e.saveCheckbox})),void 0!==p&&o.createElement("span",null,p))},e}return r=u,(n=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,r=void 0===t?{}:t;r.registerValue&&r.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,r){return!f()(this.props,e)||!f()(this.state,t)||!f()(this.context.checkboxGroup,r.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,r=this.props.value,o=(this.context||{}).checkboxGroup,n=void 0===o?{}:o;r!==t&&n.registerValue&&n.cancelValue&&(n.cancelValue(t),n.registerValue(r))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,r=void 0===t?{}:t;r.cancelValue&&r.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderCheckbox)}}])&&b(r.prototype,n),i&&b(r,i),u}(o.Component);S.__ANT_CHECKBOX=!0,S.defaultProps={indeterminate:!1},S.contextTypes={checkboxGroup:n.any},Object(i.polyfill)(S);var C=S,k=r("BGR+");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 T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}function E(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 r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))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 r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function L(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(){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 N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]])}return r},H=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)}(a,e);var t,r,n,i,l=(t=a,function(){var e,r=N(t);if(G()){var o=N(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return R(this,e)});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=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var r=t.registeredValues;return{registeredValues:[].concat(E(r),[e])}}))},t.toggleOption=function(e){var r=t.state.registeredValues,o=t.state.value.indexOf(e.value),n=E(t.state.value);-1===o?n.push(e.value):n.splice(o,1),"value"in t.props||t.setState({value:n});var i=t.props.onChange;if(i){var l=t.getOptions();i(n.filter((function(e){return-1!==r.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var r=e.getPrefixCls,n=_(t),i=n.props,l=n.state,a=i.prefixCls,u=i.className,f=i.style,s=i.options,p=D(i,["prefixCls","className","style","options"]),d=r("checkbox",a),v="".concat(d,"-group"),y=Object(k.a)(p,["children","defaultValue","value","onChange","disabled"]),h=i.children;s&&s.length>0&&(h=t.getOptions().map((function(e){return o.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:i.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(v,"-item")},e.label)})));var b=c()(v,u);return o.createElement("div",T({className:b,style:f},y),h)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return r=a,i=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!f()(this.props,e)||!f()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return o.createElement(s.a,null,this.renderGroup)}}])&&L(r.prototype,n),i&&L(r,i),a}(o.Component);H.defaultProps={options:[]},H.propTypes={defaultValue:n.array,value:n.array,options:n.array.isRequired,onChange:n.func},H.childContextTypes={checkboxGroup:n.any},Object(i.polyfill)(H);var I=H;C.Group=I;t.default=C},"qNb/":function(e,t,r){"use strict";r.r(t);r("SchZ"),r("txnC")},txnC:function(e,t,r){},zt9T:function(e,t,r){"use strict";var o=r("jB5C");e.exports=function(e,t,r){r=r||{},9===t.nodeType&&(t=o.getWindow(t));var n=r.allowHorizontalScroll,i=r.onlyScrollIfNeeded,l=r.alignWithTop,c=r.alignWithLeft,a=r.offsetTop||0,u=r.offsetLeft||0,f=r.offsetBottom||0,s=r.offsetRight||0;n=void 0===n||n;var p=o.isWindow(t),d=o.offset(e),v=o.outerHeight(e),y=o.outerWidth(e),h=void 0,b=void 0,m=void 0,g=void 0,O=void 0,w=void 0,x=void 0,j=void 0,S=void 0,C=void 0;p?(x=t,C=o.height(x),S=o.width(x),j={left:o.scrollLeft(x),top:o.scrollTop(x)},O={left:d.left-j.left-u,top:d.top-j.top-a},w={left:d.left+y-(j.left+S)+s,top:d.top+v-(j.top+C)+f},g=j):(h=o.offset(t),b=t.clientHeight,m=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},O={left:d.left-(h.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-u,top:d.top-(h.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-a},w={left:d.left+y-(h.left+m+(parseFloat(o.css(t,"borderRightWidth"))||0))+s,top:d.top+v-(h.top+b+(parseFloat(o.css(t,"borderBottomWidth"))||0))+f}),O.top<0||w.top>0?!0===l?o.scrollTop(t,g.top+O.top):!1===l?o.scrollTop(t,g.top+w.top):O.top<0?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+w.top):i||((l=void 0===l||!!l)?o.scrollTop(t,g.top+O.top):o.scrollTop(t,g.top+w.top)),n&&(O.left<0||w.left>0?!0===c?o.scrollLeft(t,g.left+O.left):!1===c?o.scrollLeft(t,g.left+w.left):O.left<0?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+w.left):i||((c=void 0===c||!!c)?o.scrollLeft(t,g.left+O.left):o.scrollLeft(t,g.left+w.left)))}}}]); \ No newline at end of file diff --git a/static/js/47.fc95a956.chunk.js b/static/js/48.536d4b93.chunk.js similarity index 99% rename from static/js/47.fc95a956.chunk.js rename to static/js/48.536d4b93.chunk.js index fae3126c1..c4b6873c8 100644 --- a/static/js/47.fc95a956.chunk.js +++ b/static/js/48.536d4b93.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[47],{"+hnl":function(e,t,i){},"9Do8":function(e,t,i){"use strict";e.exports=i("zt9T")},Gytx:function(e,t){e.exports=function(e,t,i,c){var n=i?i.call(c,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),d=0;d<r.length;d++){var a=r[d];if(!s(a))return!1;var l=e[a],m=t[a];if(!1===(n=i?i.call(c,l,m,a):void 0)||void 0===n&&l!==m)return!1}return!0}},MKzF:function(e,t,i){"use strict";i.r(t);i("SchZ"),i("+hnl")},OvOV:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c={11e4:{code:"110000",name:"北京",cities:{11e4:{code:"110000",name:"北京",districts:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"}}}},12e4:{code:"120000",name:"天津",cities:{12e4:{code:"120000",name:"天津",districts:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"}}}},13e4:{code:"130000",name:"河北省",cities:{130100:{code:"130100",name:"石家庄",districts:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集",130183:"晋州",130184:"新乐"}},130200:{code:"130200",name:"唐山",districts:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130281:"遵化",130283:"迁安",130284:"滦州"}},130300:{code:"130300",name:"秦皇岛",districts:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县"}},130400:{code:"130400",name:"邯郸",districts:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安"}},130500:{code:"130500",name:"邢台",districts:{130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫",130582:"沙河"}},130600:{code:"130600",name:"保定",districts:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州",130682:"定州",130683:"安国",130684:"高碑店"}},130700:{code:"130700",name:"张家口",districts:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县"}},130800:{code:"130800",name:"承德",districts:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130881:"平泉"}},130900:{code:"130900",name:"沧州",districts:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头",130982:"任丘",130983:"黄骅",130984:"河间"}},131e3:{code:"131000",name:"廊坊",districts:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州",131082:"三河"}},131100:{code:"131100",name:"衡水",districts:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131182:"深州"}}}},14e4:{code:"140000",name:"山西省",cities:{140100:{code:"140100",name:"太原",districts:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交"}},140200:{code:"140200",name:"大同",districts:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县"}},140300:{code:"140300",name:"阳泉",districts:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"}},140400:{code:"140400",name:"长治",districts:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县"}},140500:{code:"140500",name:"晋城",districts:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平"}},140600:{code:"140600",name:"朔州",districts:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140681:"怀仁"}},140700:{code:"140700",name:"晋中",districts:{140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休"}},140800:{code:"140800",name:"运城",districts:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济",140882:"河津"}},140900:{code:"140900",name:"忻州",districts:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平"}},141e3:{code:"141000",name:"临汾",districts:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马",141082:"霍州"}},141100:{code:"141100",name:"吕梁",districts:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义",141182:"汾阳"}}}},15e4:{code:"150000",name:"内蒙古自治区",cities:{150100:{code:"150100",name:"呼和浩特",districts:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县"}},150200:{code:"150200",name:"包头",districts:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗"}},150300:{code:"150300",name:"乌海",districts:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"}},150400:{code:"150400",name:"赤峰",districts:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"}},150500:{code:"150500",name:"通辽",districts:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒"}},150600:{code:"150600",name:"鄂尔多斯",districts:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"}},150700:{code:"150700",name:"呼伦贝尔",districts:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里",150782:"牙克石",150783:"扎兰屯",150784:"额尔古纳",150785:"根河"}},150800:{code:"150800",name:"巴彦淖尔",districts:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"}},150900:{code:"150900",name:"乌兰察布",districts:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇"}},152200:{code:"152200",name:"兴安盟",districts:{152201:"乌兰浩特",152202:"阿尔山",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"}},152500:{code:"152500",name:"锡林郭勒盟",districts:{152501:"二连浩特",152502:"锡林浩特",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县"}},152900:{code:"152900",name:"阿拉善盟",districts:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗"}}}},21e4:{code:"210000",name:"辽宁省",cities:{210100:{code:"210100",name:"沈阳",districts:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民"}},210200:{code:"210200",name:"大连",districts:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店",210283:"庄河"}},210300:{code:"210300",name:"鞍山",districts:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城"}},210400:{code:"210400",name:"抚顺",districts:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"}},210500:{code:"210500",name:"本溪",districts:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"}},210600:{code:"210600",name:"丹东",districts:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港",210682:"凤城"}},210700:{code:"210700",name:"锦州",districts:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海",210782:"北镇"}},210800:{code:"210800",name:"营口",districts:{210802:"站前区",210803:"西区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州",210882:"大石桥"}},210900:{code:"210900",name:"阜新",districts:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"}},211e3:{code:"211000",name:"辽阳",districts:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔"}},211100:{code:"211100",name:"盘锦",districts:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"}},211200:{code:"211200",name:"铁岭",districts:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山",211282:"开原"}},211300:{code:"211300",name:"朝阳",districts:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票",211382:"凌源"}},211400:{code:"211400",name:"葫芦岛",districts:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城"}}}},22e4:{code:"220000",name:"吉林省",cities:{220100:{code:"220100",name:"长春",districts:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220182:"榆树",220183:"德惠"}},220200:{code:"220200",name:"吉林",districts:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河",220282:"桦甸",220283:"舒兰",220284:"磐石"}},220300:{code:"220300",name:"四平",districts:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭",220382:"双辽"}},220400:{code:"220400",name:"辽源",districts:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"}},220500:{code:"220500",name:"通化",districts:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口",220582:"集安"}},220600:{code:"220600",name:"白山",districts:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江"}},220700:{code:"220700",name:"松原",districts:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220781:"扶余"}},220800:{code:"220800",name:"白城",districts:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南",220882:"大安"}},222400:{code:"222400",name:"延边朝鲜族自治州",districts:{222401:"延吉",222402:"图们",222403:"敦化",222404:"珲春",222405:"龙井",222406:"和龙",222424:"汪清县",222426:"安图县"}}}},23e4:{code:"230000",name:"黑龙江省",cities:{230100:{code:"230100",name:"哈尔滨",districts:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志",230184:"五常"}},230200:{code:"230200",name:"齐齐哈尔",districts:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河"}},230300:{code:"230300",name:"鸡西",districts:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林",230382:"密山"}},230400:{code:"230400",name:"鹤岗",districts:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"}},230500:{code:"230500",name:"双鸭山",districts:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"}},230600:{code:"230600",name:"大庆",districts:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县"}},230700:{code:"230700",name:"伊春",districts:{230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力"}},230800:{code:"230800",name:"佳木斯",districts:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江",230882:"富锦",230883:"抚远"}},230900:{code:"230900",name:"七台河",districts:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"}},231e3:{code:"231000",name:"牡丹江",districts:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231081:"绥芬河",231083:"海林",231084:"宁安",231085:"穆棱",231086:"东宁"}},231100:{code:"231100",name:"黑河",districts:{231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安",231182:"五大连池"}},231200:{code:"231200",name:"绥化",districts:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达",231282:"肇东",231283:"海伦"}},232700:{code:"232700",name:"大兴安岭地区",districts:{232701:"漠河",232721:"呼玛县",232722:"塔河县"}}}},31e4:{code:"310000",name:"上海",cities:{31e4:{code:"310000",name:"上海",districts:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"}}}},32e4:{code:"320000",name:"江苏省",cities:{320100:{code:"320100",name:"南京",districts:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"}},320200:{code:"320200",name:"无锡",districts:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴",320282:"宜兴"}},320300:{code:"320300",name:"徐州",districts:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320381:"新沂",320382:"邳州"}},320400:{code:"320400",name:"常州",districts:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳"}},320500:{code:"320500",name:"苏州",districts:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320581:"常熟",320582:"张家港",320583:"昆山",320585:"太仓"}},320600:{code:"320600",name:"南通",districts:{320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320681:"启东",320682:"如皋",320684:"海门",320685:"海安"}},320700:{code:"320700",name:"连云港",districts:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县"}},320800:{code:"320800",name:"淮安",districts:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县"}},320900:{code:"320900",name:"盐城",districts:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台"}},321e3:{code:"321000",name:"扬州",districts:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321081:"仪征",321084:"高邮"}},321100:{code:"321100",name:"镇江",districts:{321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳",321182:"扬中",321183:"句容"}},321200:{code:"321200",name:"泰州",districts:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321281:"兴化",321282:"靖江",321283:"泰兴"}},321300:{code:"321300",name:"宿迁",districts:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县"}}}},33e4:{code:"330000",name:"浙江省",cities:{330100:{code:"330100",name:"杭州",districts:{330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德"}},330200:{code:"330200",name:"宁波",districts:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚",330282:"慈溪"}},330300:{code:"330300",name:"温州",districts:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安",330382:"乐清"}},330400:{code:"330400",name:"嘉兴",districts:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁",330482:"平湖",330483:"桐乡"}},330500:{code:"330500",name:"湖州",districts:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"}},330600:{code:"330600",name:"绍兴",districts:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨",330683:"嵊州"}},330700:{code:"330700",name:"金华",districts:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪",330782:"义乌",330783:"东阳",330784:"永康"}},330800:{code:"330800",name:"衢州",districts:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山"}},330900:{code:"330900",name:"舟山",districts:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"}},331e3:{code:"331000",name:"台州",districts:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭",331082:"临海",331083:"玉环"}},331100:{code:"331100",name:"丽水",districts:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉"}}}},34e4:{code:"340000",name:"安徽省",cities:{340100:{code:"340100",name:"合肥",districts:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340181:"巢湖"}},340200:{code:"340200",name:"芜湖",districts:{340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县"}},340300:{code:"340300",name:"蚌埠",districts:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县"}},340400:{code:"340400",name:"淮南",districts:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"}},340500:{code:"340500",name:"马鞍山",districts:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"}},340600:{code:"340600",name:"淮北",districts:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"}},340700:{code:"340700",name:"铜陵",districts:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"}},340800:{code:"340800",name:"安庆",districts:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城",340882:"潜山"}},341e3:{code:"341000",name:"黄山",districts:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"}},341100:{code:"341100",name:"滁州",districts:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长",341182:"明光"}},341200:{code:"341200",name:"阜阳",districts:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首"}},341300:{code:"341300",name:"宿州",districts:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县"}},341500:{code:"341500",name:"六安",districts:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"}},341600:{code:"341600",name:"亳州",districts:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"}},341700:{code:"341700",name:"池州",districts:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"}},341800:{code:"341800",name:"宣城",districts:{341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国"}}}},35e4:{code:"350000",name:"福建省",cities:{350100:{code:"350100",name:"福州",districts:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清"}},350200:{code:"350200",name:"厦门",districts:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"}},350300:{code:"350300",name:"莆田",districts:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"}},350400:{code:"350400",name:"三明",districts:{350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安"}},350500:{code:"350500",name:"泉州",districts:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮",350582:"晋江",350583:"南安"}},350600:{code:"350600",name:"漳州",districts:{350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海"}},350700:{code:"350700",name:"南平",districts:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武",350782:"武夷山",350783:"建瓯"}},350800:{code:"350800",name:"龙岩",districts:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平"}},350900:{code:"350900",name:"宁德",districts:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安",350982:"福鼎"}}}},36e4:{code:"360000",name:"江西省",cities:{360100:{code:"360100",name:"南昌",districts:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"}},360200:{code:"360200",name:"景德镇",districts:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平"}},360300:{code:"360300",name:"萍乡",districts:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"}},360400:{code:"360400",name:"九江",districts:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌",360482:"共青城",360483:"庐山"}},360500:{code:"360500",name:"新余",districts:{360502:"渝水区",360521:"分宜县"}},360600:{code:"360600",name:"鹰潭",districts:{360602:"月湖区",360603:"余江区",360681:"贵溪"}},360700:{code:"360700",name:"赣州",districts:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金"}},360800:{code:"360800",name:"吉安",districts:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山"}},360900:{code:"360900",name:"宜春",districts:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城",360982:"樟树",360983:"高安"}},361e3:{code:"361000",name:"抚州",districts:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"}},361100:{code:"361100",name:"上饶",districts:{361102:"信州区",361103:"广丰区",361121:"上饶县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴"}}}},37e4:{code:"370000",name:"山东省",cities:{370100:{code:"370100",name:"济南",districts:{370102:"历下区",370103:"中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县"}},370200:{code:"370200",name:"青岛",districts:{370202:"南区",370203:"北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370281:"胶州",370283:"平度",370285:"莱西"}},370300:{code:"370300",name:"淄博",districts:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"}},370400:{code:"370400",name:"枣庄",districts:{370402:"中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州"}},370500:{code:"370500",name:"东营",districts:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县"}},370600:{code:"370600",name:"烟台",districts:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370681:"龙口",370682:"莱阳",370683:"莱州",370684:"蓬莱",370685:"招远",370686:"栖霞",370687:"海阳"}},370700:{code:"370700",name:"潍坊",districts:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州",370782:"诸城",370783:"寿光",370784:"安丘",370785:"高密",370786:"昌邑"}},370800:{code:"370800",name:"济宁",districts:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜",370883:"邹城"}},370900:{code:"370900",name:"泰安",districts:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰",370983:"肥城"}},371e3:{code:"371000",name:"威海",districts:{371002:"环翠区",371003:"文登区",371082:"荣成",371083:"乳山"}},371100:{code:"371100",name:"日照",districts:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县"}},371300:{code:"371300",name:"临沂",districts:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县"}},371400:{code:"371400",name:"德州",districts:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵",371482:"禹城"}},371500:{code:"371500",name:"聊城",districts:{371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清"}},371600:{code:"371600",name:"滨州",districts:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平"}},371700:{code:"371700",name:"菏泽",districts:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县"}}}},41e4:{code:"410000",name:"河南省",cities:{410100:{code:"410100",name:"郑州",districts:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义",410182:"荥阳",410183:"新密",410184:"新郑",410185:"登封"}},410200:{code:"410200",name:"开封",districts:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"}},410300:{code:"410300",name:"洛阳",districts:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师"}},410400:{code:"410400",name:"平顶山",districts:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢",410482:"汝州"}},410500:{code:"410500",name:"安阳",districts:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州"}},410600:{code:"410600",name:"鹤壁",districts:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县"}},410700:{code:"410700",name:"新乡",districts:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉",410782:"辉县"}},410800:{code:"410800",name:"焦作",districts:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410882:"沁阳",410883:"孟州"}},410900:{code:"410900",name:"濮阳",districts:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县"}},411e3:{code:"411000",name:"许昌",districts:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411081:"禹州",411082:"长葛"}},411100:{code:"411100",name:"漯河",districts:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县"}},411200:{code:"411200",name:"三门峡",districts:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411281:"义马",411282:"灵宝"}},411300:{code:"411300",name:"南阳",districts:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州"}},411400:{code:"411400",name:"商丘",districts:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城"}},411500:{code:"411500",name:"信阳",districts:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县"}},411600:{code:"411600",name:"周口",districts:{411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城"}},411700:{code:"411700",name:"驻马店",districts:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县"}}}},42e4:{code:"420000",name:"湖北省",cities:{420100:{code:"420100",name:"武汉",districts:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"}},420200:{code:"420200",name:"黄石",districts:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶"}},420300:{code:"420300",name:"十堰",districts:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口"}},420500:{code:"420500",name:"宜昌",districts:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都",420582:"当阳",420583:"枝江"}},420600:{code:"420600",name:"襄阳",districts:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口",420683:"枣阳",420684:"宜城"}},420700:{code:"420700",name:"鄂州",districts:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"}},420800:{code:"420800",name:"荆门",districts:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥",420882:"京山"}},420900:{code:"420900",name:"孝感",districts:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城",420982:"安陆",420984:"汉川"}},421e3:{code:"421000",name:"荆州",districts:{421002:"沙区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首",421083:"洪湖",421087:"松滋"}},421100:{code:"421100",name:"黄冈",districts:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城",421182:"武穴"}},421200:{code:"421200",name:"咸宁",districts:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁"}},421300:{code:"421300",name:"随州",districts:{421303:"曾都区",421321:"随县",421381:"广水"}},422800:{code:"422800",name:"恩施土家族苗族自治州",districts:{422801:"恩施",422802:"利川",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"}}}},43e4:{code:"430000",name:"湖南省",cities:{430100:{code:"430100",name:"长沙",districts:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳",430182:"宁乡"}},430200:{code:"430200",name:"株洲",districts:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵"}},430300:{code:"430300",name:"湘潭",districts:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡",430382:"韶山"}},430400:{code:"430400",name:"衡阳",districts:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳",430482:"常宁"}},430500:{code:"430500",name:"邵阳",districts:{430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈"}},430600:{code:"430600",name:"岳阳",districts:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗",430682:"临湘"}},430700:{code:"430700",name:"常德",districts:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津"}},430800:{code:"430800",name:"张家界",districts:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"}},430900:{code:"430900",name:"益阳",districts:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江"}},431e3:{code:"431000",name:"郴州",districts:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴"}},431100:{code:"431100",name:"永州",districts:{431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县"}},431200:{code:"431200",name:"怀化",districts:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江"}},431300:{code:"431300",name:"娄底",districts:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江",431382:"涟源"}},433100:{code:"433100",name:"湘西土家族苗族自治州",districts:{433101:"吉首",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"}}}},44e4:{code:"440000",name:"广东省",cities:{440100:{code:"440100",name:"广州",districts:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"}},440200:{code:"440200",name:"韶关",districts:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌",440282:"南雄"}},440300:{code:"440300",name:"深圳",districts:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"}},440400:{code:"440400",name:"珠海",districts:{440402:"香洲区",440403:"斗门区",440404:"金湾区"}},440500:{code:"440500",name:"汕头",districts:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"}},440600:{code:"440600",name:"佛山",districts:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"}},440700:{code:"440700",name:"江门",districts:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山",440783:"开平",440784:"鹤山",440785:"恩平"}},440800:{code:"440800",name:"湛江",districts:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江",440882:"雷州",440883:"吴川"}},440900:{code:"440900",name:"茂名",districts:{440902:"茂南区",440904:"电白区",440981:"高州",440982:"化州",440983:"信宜"}},441200:{code:"441200",name:"肇庆",districts:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会"}},441300:{code:"441300",name:"惠州",districts:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"}},441400:{code:"441400",name:"梅州",districts:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁"}},441500:{code:"441500",name:"汕尾",districts:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰"}},441600:{code:"441600",name:"河源",districts:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"}},441700:{code:"441700",name:"阳江",districts:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春"}},441800:{code:"441800",name:"清远",districts:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德",441882:"连州"}},441900:{code:"441900",name:"东莞",districts:{}},442e3:{code:"442000",name:"中山",districts:{}},445100:{code:"445100",name:"潮州",districts:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"}},445200:{code:"445200",name:"揭阳",districts:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁"}},445300:{code:"445300",name:"云浮",districts:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定"}}}},45e4:{code:"450000",name:"广西壮族自治区",cities:{450100:{code:"450100",name:"南宁",districts:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"}},450200:{code:"450200",name:"柳州",districts:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"}},450300:{code:"450300",name:"桂林",districts:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦"}},450400:{code:"450400",name:"梧州",districts:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪"}},450500:{code:"450500",name:"北海",districts:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"}},450600:{code:"450600",name:"防城港",districts:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴"}},450700:{code:"450700",name:"钦州",districts:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"}},450800:{code:"450800",name:"贵港",districts:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平"}},450900:{code:"450900",name:"玉林",districts:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流"}},451e3:{code:"451000",name:"百色",districts:{451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西"}},451100:{code:"451100",name:"贺州",districts:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"}},451200:{code:"451200",name:"河池",districts:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"}},451300:{code:"451300",name:"来宾",districts:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山"}},451400:{code:"451400",name:"崇左",districts:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥"}}}},46e4:{code:"460000",name:"海南省",cities:{460100:{code:"460100",name:"海口",districts:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"}},460200:{code:"460200",name:"三亚",districts:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"}},460300:{code:"460300",name:"三沙",districts:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",460324:"永乐群岛"}},460400:{code:"460400",name:"儋州",districts:{}}}},5e5:{code:"500000",name:"重庆",cities:{5e5:{code:"500000",name:"重庆",districts:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区",500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"}}}},51e4:{code:"510000",name:"四川省",cities:{510100:{code:"510100",name:"成都",districts:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰",510182:"彭州",510183:"邛崃",510184:"崇州",510185:"简阳"}},510300:{code:"510300",name:"自贡",districts:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"}},510400:{code:"510400",name:"攀枝花",districts:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"}},510500:{code:"510500",name:"泸州",districts:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"}},510600:{code:"510600",name:"德阳",districts:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉",510682:"什邡",510683:"绵竹"}},510700:{code:"510700",name:"绵阳",districts:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油"}},510800:{code:"510800",name:"广元",districts:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"}},510900:{code:"510900",name:"遂宁",districts:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县"}},511e3:{code:"511000",name:"内江",districts:{511002:"中区",511011:"东兴区",511024:"威远县",511025:"资中县",511083:"隆昌"}},511100:{code:"511100",name:"乐山",districts:{511102:"中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山"}},511300:{code:"511300",name:"南充",districts:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中"}},511400:{code:"511400",name:"眉山",districts:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"}},511500:{code:"511500",name:"宜宾",districts:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"}},511600:{code:"511600",name:"广安",districts:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥"}},511700:{code:"511700",name:"达州",districts:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源"}},511800:{code:"511800",name:"雅安",districts:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"}},511900:{code:"511900",name:"巴中",districts:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县"}},512e3:{code:"512000",name:"资阳",districts:{512002:"雁江区",512021:"安岳县",512022:"乐至县"}},513200:{code:"513200",name:"阿坝藏族羌族自治州",districts:{513201:"马尔康",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"}},513300:{code:"513300",name:"甘孜藏族自治州",districts:{513301:"康定",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"}},513400:{code:"513400",name:"凉山彝族自治州",districts:{513401:"西昌",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"}}}},52e4:{code:"520000",name:"贵州省",cities:{520100:{code:"520100",name:"贵阳",districts:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇"}},520200:{code:"520200",name:"六盘水",districts:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州"}},520300:{code:"520300",name:"遵义",districts:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水",520382:"仁怀"}},520400:{code:"520400",name:"安顺",districts:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"}},520500:{code:"520500",name:"毕节",districts:{520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"}},520600:{code:"520600",name:"铜仁",districts:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"}},522300:{code:"522300",name:"黔西南布依族苗族自治州",districts:{522301:"兴义",522302:"兴仁",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"}},522600:{code:"522600",name:"黔东南苗族侗族自治州",districts:{522601:"凯里",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"}},522700:{code:"522700",name:"黔南布依族苗族自治州",districts:{522701:"都匀",522702:"福泉",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"}}}},53e4:{code:"530000",name:"云南省",cities:{530100:{code:"530100",name:"昆明",districts:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁"}},530300:{code:"530300",name:"曲靖",districts:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威"}},530400:{code:"530400",name:"玉溪",districts:{530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"}},530500:{code:"530500",name:"保山",districts:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲"}},530600:{code:"530600",name:"昭通",districts:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富"}},530700:{code:"530700",name:"丽江",districts:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"}},530800:{code:"530800",name:"普洱",districts:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"}},530900:{code:"530900",name:"临沧",districts:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"}},532300:{code:"532300",name:"楚雄彝族自治州",districts:{532301:"楚雄",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"}},532500:{code:"532500",name:"红河哈尼族彝族自治州",districts:{532501:"个旧",532502:"开远",532503:"蒙自",532504:"弥勒",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"}},532600:{code:"532600",name:"文山壮族苗族自治州",districts:{532601:"文山",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"}},532800:{code:"532800",name:"西双版纳傣族自治州",districts:{532801:"景洪",532822:"勐海县",532823:"勐腊县"}},532900:{code:"532900",name:"大理白族自治州",districts:{532901:"大理",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"}},533100:{code:"533100",name:"德宏傣族景颇族自治州",districts:{533102:"瑞丽",533103:"芒",533122:"梁河县",533123:"盈江县",533124:"陇川县"}},533300:{code:"533300",name:"怒江傈僳族自治州",districts:{533301:"泸水",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"}},533400:{code:"533400",name:"迪庆藏族自治州",districts:{533401:"香格里拉",533422:"德钦县",533423:"维西傈僳族自治县"}}}},54e4:{code:"540000",name:"西藏自治区",cities:{540100:{code:"540100",name:"拉萨",districts:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县"}},540200:{code:"540200",name:"日喀则",districts:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"}},540300:{code:"540300",name:"昌都",districts:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"}},540400:{code:"540400",name:"林芝",districts:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"}},540500:{code:"540500",name:"山南",districts:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"}},540600:{code:"540600",name:"那曲",districts:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"}},542500:{code:"542500",name:"阿里地区",districts:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"}}}},61e4:{code:"610000",name:"陕西省",cities:{610100:{code:"610100",name:"西安",districts:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"}},610200:{code:"610200",name:"铜川",districts:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"}},610300:{code:"610300",name:"宝鸡",districts:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"}},610400:{code:"610400",name:"咸阳",districts:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平",610482:"彬州"}},610500:{code:"610500",name:"渭南",districts:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城",610582:"华阴"}},610600:{code:"610600",name:"延安",districts:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610623:"子长县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县"}},610700:{code:"610700",name:"汉中",districts:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"}},610800:{code:"610800",name:"榆林",districts:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木"}},610900:{code:"610900",name:"安康",districts:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"}},611e3:{code:"611000",name:"商洛",districts:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"}}}},62e4:{code:"620000",name:"甘肃省",cities:{620100:{code:"620100",name:"兰州",districts:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县"}},620200:{code:"620200",name:"嘉峪关",districts:{}},620300:{code:"620300",name:"金昌",districts:{620302:"金川区",620321:"永昌县"}},620400:{code:"620400",name:"白银",districts:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"}},620500:{code:"620500",name:"天水",districts:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"}},620600:{code:"620600",name:"武威",districts:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"}},620700:{code:"620700",name:"张掖",districts:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"}},620800:{code:"620800",name:"平凉",districts:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭"}},620900:{code:"620900",name:"酒泉",districts:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门",620982:"敦煌"}},621e3:{code:"621000",name:"庆阳",districts:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"}},621100:{code:"621100",name:"定西",districts:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"}},621200:{code:"621200",name:"陇南",districts:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"}},622900:{code:"622900",name:"临夏回族自治州",districts:{622901:"临夏",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"}},623e3:{code:"623000",name:"甘南藏族自治州",districts:{623001:"合作",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"}}}},63e4:{code:"630000",name:"青海省",cities:{630100:{code:"630100",name:"西宁",districts:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"}},630200:{code:"630200",name:"海东",districts:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"}},632200:{code:"632200",name:"海北藏族自治州",districts:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"}},632300:{code:"632300",name:"黄南藏族自治州",districts:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"}},632500:{code:"632500",name:"海南藏族自治州",districts:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"}},632600:{code:"632600",name:"果洛藏族自治州",districts:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"}},632700:{code:"632700",name:"玉树藏族自治州",districts:{632701:"玉树",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"}},632800:{code:"632800",name:"海西蒙古族藏族自治州",districts:{632801:"格尔木",632802:"德令哈",632803:"茫崖",632821:"乌兰县",632822:"都兰县",632823:"天峻县"}}}},64e4:{code:"640000",name:"宁夏回族自治区",cities:{640100:{code:"640100",name:"银川",districts:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武"}},640200:{code:"640200",name:"石嘴山",districts:{640202:"大武口区",640205:"惠农区",640221:"平罗县"}},640300:{code:"640300",name:"吴忠",districts:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡"}},640400:{code:"640400",name:"固原",districts:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"}},640500:{code:"640500",name:"中卫",districts:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"}}}},65e4:{code:"650000",name:"新疆维吾尔自治区",cities:{650100:{code:"650100",name:"乌鲁木齐",districts:{650102:"天山区",650103:"沙依巴克区",650104:"新区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"}},650200:{code:"650200",name:"克拉玛依",districts:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"}},650400:{code:"650400",name:"吐鲁番",districts:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"}},650500:{code:"650500",name:"哈密",districts:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"}},652300:{code:"652300",name:"昌吉回族自治州",districts:{652301:"昌吉",652302:"阜康",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"}},652700:{code:"652700",name:"博尔塔拉蒙古自治州",districts:{652701:"博乐",652702:"阿拉山口",652722:"精河县",652723:"温泉县"}},652800:{code:"652800",name:"巴音郭楞蒙古自治州",districts:{652801:"库尔勒",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县"}},652900:{code:"652900",name:"阿克苏地区",districts:{652901:"阿克苏",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"}},653e3:{code:"653000",name:"克孜勒苏柯尔克孜自治州",districts:{653001:"阿图什",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"}},653100:{code:"653100",name:"喀什地区",districts:{653101:"喀什",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"}},653200:{code:"653200",name:"和田地区",districts:{653201:"和田",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"}},654e3:{code:"654000",name:"伊犁哈萨克自治州",districts:{654002:"伊宁",654003:"奎屯",654004:"霍尔果斯",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"}},654200:{code:"654200",name:"塔城地区",districts:{654201:"塔城",654202:"乌苏",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"}},654300:{code:"654300",name:"阿勒泰地区",districts:{654301:"阿勒泰",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"}}}},81e4:{code:"810000",name:"香港特别行政区",cities:{81e4:{code:"810000",name:"香港特别行政区",districts:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区",810105:"油尖旺区",810106:"深水埗区",810107:"九龙城区",810108:"黄大仙区",810109:"观塘区",810110:"北区",810111:"大埔区",810112:"沙田区",810113:"西贡区",810114:"荃湾区",810115:"屯门区",810116:"元朗区",810117:"葵青区",810118:"离岛区"}}}},82e4:{code:"820000",name:"澳门特别行政区",cities:{82e4:{code:"820000",name:"澳门特别行政区",districts:{820101:"花地玛堂区",820102:"圣安多尼堂区",820103:"大堂区",820104:"望德堂区",820105:"风顺堂区",820106:"嘉模堂区",820107:"圣方济各堂区",820108:"路氹城",820109:"澳门新城"}}}},83e4:{code:"830000",name:"台湾省",cities:{830100:{code:"830100",name:"台北",districts:{830101:"中正区",830102:"大同区",830103:"中山区",830104:"万华区",830105:"信义区",830106:"松山区",830107:"大安区",830108:"南港区",830109:"北投区",830110:"内湖区",830111:"士林区",830112:"文山区"}},830200:{code:"830200",name:"新北",districts:{830201:"板桥区",830202:"土城区",830203:"新庄区",830204:"新店区",830205:"深坑区",830206:"石碇区",830207:"坪林区",830208:"乌来区",830209:"五股区",830210:"八里区",830211:"林口区",830212:"淡水区",830213:"中和区",830214:"永和区",830215:"三重区",830216:"芦洲区",830217:"泰山区",830218:"树林区",830219:"莺歌区",830220:"三峡区",830221:"汐止区",830222:"金山区",830223:"万里区",830224:"三芝区",830225:"石门区",830226:"瑞芳区",830227:"贡寮区",830228:"双溪区",830229:"平溪区"}},830300:{code:"830300",name:"桃园",districts:{830301:"桃园区",830302:"中坜区",830303:"平镇区",830304:"八德区",830305:"杨梅区",830306:"芦竹区",830307:"大溪区",830308:"龙潭区",830309:"龟山区",830310:"大园区",830311:"观音区",830312:"新屋区",830313:"复兴区"}},830400:{code:"830400",name:"台中",districts:{830401:"中区",830402:"东区",830403:"西区",830404:"南区",830405:"北区",830406:"西屯区",830407:"南屯区",830408:"北屯区",830409:"丰原区",830410:"大里区",830411:"太平区",830412:"东势区",830413:"大甲区",830414:"清水区",830415:"沙鹿区",830416:"梧栖区",830417:"后里区",830418:"神冈区",830419:"潭子区",830420:"大雅区",830421:"新小区",830422:"石冈区",830423:"外埔区",830424:"大安区",830425:"乌日区",830426:"大肚区",830427:"龙井区",830428:"雾峰区",830429:"和平区"}},830500:{code:"830500",name:"台南",districts:{830501:"中西区",830502:"东区",830503:"南区",830504:"北区",830505:"安平区",830506:"安南区",830507:"永康区",830508:"归仁区",830509:"新化区",830510:"左镇区",830511:"玉井区",830512:"楠西区",830513:"南化区",830514:"仁德区",830515:"关庙区",830516:"龙崎区",830517:"官田区",830518:"麻豆区",830519:"佳里区",830520:"西港区",830521:"七股区",830522:"将军区",830523:"学甲区",830524:"北门区",830525:"新营区",830526:"后壁区",830527:"白河区",830528:"东山区",830529:"六甲区",830530:"下营区",830531:"柳营区",830532:"盐水区",830533:"善化区",830534:"大内区",830535:"山上区",830536:"新区",830537:"安定区"}},830600:{code:"830600",name:"高雄",districts:{830601:"楠梓区",830602:"左营区",830603:"鼓山区",830604:"三民区",830605:"盐埕区",830606:"前金区",830607:"新兴区",830608:"苓雅区",830609:"前镇区",830610:"旗津区",830611:"小港区",830612:"凤山区",830613:"大寮区",830614:"鸟松区",830615:"林园区",830616:"仁武区",830617:"大树区",830618:"大社区",830619:"冈山区",830620:"路竹区",830621:"桥头区",830622:"梓官区",830623:"弥陀区",830624:"永安区",830625:"燕巢区",830626:"阿莲区",830627:"茄萣区",830628:"湖内区",830629:"旗山区",830630:"美浓区",830631:"内门区",830632:"杉林区",830633:"甲仙区",830634:"六龟区",830635:"茂林区",830636:"桃源区",830637:"那玛夏区"}},830700:{code:"830700",name:"基隆",districts:{830701:"中正区",830702:"七堵区",830703:"暖暖区",830704:"仁爱区",830705:"中山区",830706:"安乐区",830707:"信义区"}},830800:{code:"830800",name:"新竹",districts:{830801:"东区",830802:"北区",830803:"香山区"}},830900:{code:"830900",name:"嘉义",districts:{830901:"东区",830902:"西区"}}}}},n=new Map,r=t.city2province=new Map,o=new Map;for(var s in c){var d=c[s].name;for(var a in n.set(d,new Set),c[s].cities){var l=c[s].cities[a].name,m=c[s].cities[a].districts;n.get(d).add(l),r.set(l,d),o.set(u(m),new Set)}}function u(e){var t=[];for(var i in e)t.push(e[i]);return t}t.locData=Array.from(n.keys()).map((function(e){return{value:e,label:e,children:Array.from(n.get(e).keys()).map((function(e,t){return{value:e,label:e,children:Array.from(o.keys())[t].map((function(e){return{value:e,label:e}}))}}))}}))},VUSe:function(e,t,i){},jB5C:function(e,t,i){"use strict";var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e},n="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 r(e,t){var i=e["page"+(t?"Y":"X")+"Offset"],c="scroll"+(t?"Top":"Left");if("number"!=typeof i){var n=e.document;"number"!=typeof(i=n.documentElement[c])&&(i=n.body[c])}return i}function o(e){return r(e)}function s(e){return r(e,!0)}function d(e){var t=function(e){var t,i=void 0,c=void 0,n=e.ownerDocument,r=n.body,o=n&&n.documentElement;return i=(t=e.getBoundingClientRect()).left,c=t.top,{left:i-=o.clientLeft||r.clientLeft||0,top:c-=o.clientTop||r.clientTop||0}}(e),i=e.ownerDocument,c=i.defaultView||i.parentWindow;return t.left+=o(c),t.top+=s(c),t}var a=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),l=/^(top|right|bottom|left)$/,m="left";var u=void 0;function f(e,t){for(var i=0;i<e.length;i++)t(e[i])}function p(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,i){var c="",n=e.ownerDocument,r=i||n.defaultView.getComputedStyle(e,null);return r&&(c=r.getPropertyValue(t)||r[t]),c}:function(e,t){var i=e.currentStyle&&e.currentStyle[t];if(a.test(i)&&!l.test(t)){var c=e.style,n=c[m],r=e.runtimeStyle[m];e.runtimeStyle[m]=e.currentStyle[m],c[m]="fontSize"===t?"1em":i||0,i=c.pixelLeft+"px",c[m]=n,e.runtimeStyle[m]=r}return""===i?"auto":i});var v=["margin","border","padding"];function y(e,t,i){var c={},n=e.style,r=void 0;for(r in t)t.hasOwnProperty(r)&&(c[r]=n[r],n[r]=t[r]);for(r in i.call(e),t)t.hasOwnProperty(r)&&(n[r]=c[r])}function h(e,t,i){var c=0,n=void 0,r=void 0,o=void 0;for(r=0;r<t.length;r++)if(n=t[r])for(o=0;o<i.length;o++){var s=void 0;s="border"===n?n+i[o]+"Width":n+i[o],c+=parseFloat(u(e,s))||0}return c}function b(e){return null!=e&&e==e.window}var g={};function w(e,t,i){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 c="width"===t?["Left","Right"]:["Top","Bottom"],n="width"===t?e.offsetWidth:e.offsetHeight,r=(u(e),p(e)),o=0;(null==n||n<=0)&&(n=void 0,(null==(o=u(e,t))||Number(o)<0)&&(o=e.style[t]||0),o=parseFloat(o)||0),void 0===i&&(i=r?1:-1);var s=void 0!==n||r,d=n||o;if(-1===i)return s?d-h(e,["border","padding"],c):o;if(s){var a=2===i?-h(e,["border"],c):h(e,["margin"],c);return d+(1===i?0:a)}return o+h(e,v.slice(i),c)}f(["Width","Height"],(function(e){g["doc"+e]=function(t){var i=t.document;return Math.max(i.documentElement["scroll"+e],i.body["scroll"+e],g["viewport"+e](i))},g["viewport"+e]=function(t){var i="client"+e,c=t.document,n=c.body,r=c.documentElement[i];return"CSS1Compat"===c.compatMode&&r||n&&n[i]||r}}));var O={position:"absolute",visibility:"hidden",display:"block"};function x(e){var t=void 0,i=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,i):y(e,O,(function(){t=w.apply(void 0,i)})),t}function k(e,t,i){var c=i;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==c?("number"==typeof c&&(c+="px"),void(e.style[t]=c)):u(e,t);for(var r in t)t.hasOwnProperty(r)&&k(e,r,t[r])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,i){return t&&x(t,e,i?0:1)};var i="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,c){if(void 0===c)return t&&x(t,e,-1);if(t){u(t);return p(t)&&(c+=h(t,["padding","border"],i)),k(t,e,c)}}})),e.exports=c({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return d(e);!function(e,t){"static"===k(e,"position")&&(e.style.position="relative");var i=d(e),c={},n=void 0,r=void 0;for(r in t)t.hasOwnProperty(r)&&(n=parseFloat(k(e,r))||0,c[r]=n+t[r]-i[r]);k(e,c)}(e,t)},isWindow:b,each:f,css:k,clone:function(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);if(e.overflow)for(var i in e)e.hasOwnProperty(i)&&(t.overflow[i]=e.overflow[i]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return o(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return s(e);window.scrollTo(o(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},kaz8:function(e,t,i){"use strict";i.r(t);var c=i("q1tI"),n=i("17x9"),r=i("VCL8"),o=i("TSYQ"),s=i.n(o),d=i("x1Ya"),a=i("Gytx"),l=i.n(a),m=i("H84U"),u=i("6CfX");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,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e}).apply(this,arguments)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var i=0;i<t.length;i++){var c=t[i];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e,t){var i={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(i[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(c=Object.getOwnPropertySymbols(e);n<c.length;n++)t.indexOf(c[n])<0&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(i[c[n]]=e[c[n]])}return i},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&&b(e,t)}(a,e);var t,i,n,r,o=(t=a,function(){var e,i=x(t);if(O()){var c=x(this).constructor;e=Reflect.construct(i,arguments,c)}else e=i.apply(this,arguments);return g(this,e)});function a(){var e;return y(this,a),(e=o.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var i,n=t.getPrefixCls,r=w(e),o=r.props,a=r.context,l=o.prefixCls,m=o.className,u=o.children,f=o.indeterminate,y=o.style,h=o.onMouseEnter,b=o.onMouseLeave,g=k(o,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=a.checkboxGroup,x=n("checkbox",l),E=v({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:u,value:o.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(o.value),E.disabled=o.disabled||O.disabled);var S=s()(m,(p(i={},"".concat(x,"-wrapper"),!0),p(i,"".concat(x,"-wrapper-checked"),E.checked),p(i,"".concat(x,"-wrapper-disabled"),E.disabled),i)),j=s()(p({},"".concat(x,"-indeterminate"),f));return c.createElement("label",{className:S,style:y,onMouseEnter:h,onMouseLeave:b},c.createElement(d.a,v({},E,{prefixCls:x,className:j,ref:e.saveCheckbox})),void 0!==u&&c.createElement("span",null,u))},e}return i=a,(n=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,i=void 0===t?{}:t;i.registerValue&&i.registerValue(e),Object(u.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,i){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.checkboxGroup,i.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,i=this.props.value,c=(this.context||{}).checkboxGroup,n=void 0===c?{}:c;i!==t&&n.registerValue&&n.cancelValue&&(n.cancelValue(t),n.registerValue(i))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,i=void 0===t?{}:t;i.cancelValue&&i.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return c.createElement(m.a,null,this.renderCheckbox)}}])&&h(i.prototype,n),r&&h(i,r),a}(c.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:n.any},Object(r.polyfill)(E);var S=E,j=i("BGR+");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 P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e}).apply(this,arguments)}function T(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 i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))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 i=0,c=new Array(t);i<t;i++)c[i]=e[i];return c}function _(e,t){for(var i=0;i<t.length;i++){var c=t[i];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e,t){var i={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(i[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(c=Object.getOwnPropertySymbols(e);n<c.length;n++)t.indexOf(c[n])<0&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(i[c[n]]=e[c[n]])}return i},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&&L(e,t)}(d,e);var t,i,n,r,o=(t=d,function(){var e,i=M(t);if(W()){var c=M(this).constructor;e=Reflect.construct(i,arguments,c)}else e=i.apply(this,arguments);return N(this,e)});function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=o.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var i=t.registeredValues;return{registeredValues:[].concat(T(i),[e])}}))},t.toggleOption=function(e){var i=t.state.registeredValues,c=t.state.value.indexOf(e.value),n=T(t.state.value);-1===c?n.push(e.value):n.splice(c,1),"value"in t.props||t.setState({value:n});var r=t.props.onChange;if(r){var o=t.getOptions();r(n.filter((function(e){return-1!==i.indexOf(e)})).sort((function(e,t){return o.findIndex((function(t){return t.value===e}))-o.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var i=e.getPrefixCls,n=R(t),r=n.props,o=n.state,d=r.prefixCls,a=r.className,l=r.style,m=r.options,u=G(r,["prefixCls","className","style","options"]),f=i("checkbox",d),p="".concat(f,"-group"),v=Object(j.a)(u,["children","defaultValue","value","onChange","disabled"]),y=r.children;m&&m.length>0&&(y=t.getOptions().map((function(e){return c.createElement(S,{prefixCls:f,key:e.value.toString(),disabled:"disabled"in e?e.disabled:r.disabled,value:e.value,checked:-1!==o.value.indexOf(e.value),onChange:e.onChange,className:"".concat(p,"-item")},e.label)})));var h=s()(p,a);return c.createElement("div",P({className:h,style:l},v),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return i=d,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return c.createElement(m.a,null,this.renderGroup)}}])&&_(i.prototype,n),r&&_(i,r),d}(c.Component);D.defaultProps={options:[]},D.propTypes={defaultValue:n.array,value:n.array,options:n.array.isRequired,onChange:n.func},D.childContextTypes={checkboxGroup:n.any},Object(r.polyfill)(D);var F=D;S.Group=F;t.default=S},vnWZ:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=f(i("2/Rp")),n=f(i("kaz8")),r=f(i("8z0m")),o=f(i("9yH6")),s=f(i("DFOY")),d=f(i("5rEg")),a=f(i("Vl3Y"));i("L/Qf"),i("MKzF"),i("7W5+"),i("K4yd"),i("gySj"),i("1vPl"),i("tULf");var l=i("q1tI"),m=f(l);i("VUSe");var u=i("OvOV");function f(e){return e&&e.__esModule?e:{default:e}}t.default=a.default.create()((0,l.forwardRef)((function(e){var t=e.form,i=t.getFieldDecorator,f=(t.validateFields,t.setFieldsValue,{display:"block",height:"30px",lineHeight:"30px"}),p=(0,l.useCallback)((function(e,t,c,n){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return m.default.createElement(m.default.Fragment,null,m.default.createElement("span",{className:r?"lables must":"lables"},e),m.default.createElement(a.default.Item,null,i(t,{rules:c,validateFirst:!0})(n)))}),[]);return m.default.createElement("div",{className:"newMain"},m.default.createElement("div",{className:"main"},m.default.createElement("div",{className:"teamBox"},m.default.createElement("p",{className:"teamBox-title"},"新建组织"),m.default.createElement(a.default,{className:"teamBox-form"},p(m.default.createElement("span",null,"组织名称:",m.default.createElement("span",{className:"color-grey-8"},"(组织名称应该简单明了)")),"name",[{required:!0,message:"请输入组织名称"}],m.default.createElement(d.default,{placeholder:"请输入组织名称"})),p("组织描述","description",[{required:!0,message:"请输入组织描述"}],m.default.createElement(d.default.TextArea,{autoSize:{minRows:3,maxRows:5},placeholder:"请输入组织描述"})),p("所在地区","location",[],m.default.createElement(s.default,{placeholder:"请选择城市",options:u.locData}),!1),p("可见性","visibility",[{required:!0,message:"请选择可见性"}],m.default.createElement(o.default.Group,{name:"exposure"},m.default.createElement(o.default,{style:f,value:"1",key:1},"公开"),m.default.createElement(o.default,{style:f,value:"2",key:2},"受限",m.default.createElement("span",{className:"color-grey-8"},"(仅对登录用户可见)")),m.default.createElement(o.default,{style:f,value:"3",key:3},"公开",m.default.createElement("span",{className:"color-grey-8"},"(仅对组织成员可见)")))),p("选择头像","image",[],m.default.createElement(r.default,null),!1),p("权限","repo_admin_change_team_access",[],m.default.createElement(n.default,{value:"1",key:1},"项目管理员可以添加或移除团队的访问权限"),!1),p(m.default.createElement("span",null,"最大仓库数:",m.default.createElement("span",{className:"color-grey-8"},"(设置为-1表示使用全局默认值)")),"max_repo_creation",[],m.default.createElement(d.default,{placeholder:"最大仓库数",style:{width:"100px"}}),!1))),m.default.createElement("p",{className:"mt20"},m.default.createElement(c.default,{type:"primary",className:"mr30"},"创建组织"),m.default.createElement(c.default,{className:"grey"},"取消"))))})))},zt9T:function(e,t,i){"use strict";var c=i("jB5C");e.exports=function(e,t,i){i=i||{},9===t.nodeType&&(t=c.getWindow(t));var n=i.allowHorizontalScroll,r=i.onlyScrollIfNeeded,o=i.alignWithTop,s=i.alignWithLeft,d=i.offsetTop||0,a=i.offsetLeft||0,l=i.offsetBottom||0,m=i.offsetRight||0;n=void 0===n||n;var u=c.isWindow(t),f=c.offset(e),p=c.outerHeight(e),v=c.outerWidth(e),y=void 0,h=void 0,b=void 0,g=void 0,w=void 0,O=void 0,x=void 0,k=void 0,E=void 0,S=void 0;u?(x=t,S=c.height(x),E=c.width(x),k={left:c.scrollLeft(x),top:c.scrollTop(x)},w={left:f.left-k.left-a,top:f.top-k.top-d},O={left:f.left+v-(k.left+E)+m,top:f.top+p-(k.top+S)+l},g=k):(y=c.offset(t),h=t.clientHeight,b=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},w={left:f.left-(y.left+(parseFloat(c.css(t,"borderLeftWidth"))||0))-a,top:f.top-(y.top+(parseFloat(c.css(t,"borderTopWidth"))||0))-d},O={left:f.left+v-(y.left+b+(parseFloat(c.css(t,"borderRightWidth"))||0))+m,top:f.top+p-(y.top+h+(parseFloat(c.css(t,"borderBottomWidth"))||0))+l}),w.top<0||O.top>0?!0===o?c.scrollTop(t,g.top+w.top):!1===o?c.scrollTop(t,g.top+O.top):w.top<0?c.scrollTop(t,g.top+w.top):c.scrollTop(t,g.top+O.top):r||((o=void 0===o||!!o)?c.scrollTop(t,g.top+w.top):c.scrollTop(t,g.top+O.top)),n&&(w.left<0||O.left>0?!0===s?c.scrollLeft(t,g.left+w.left):!1===s?c.scrollLeft(t,g.left+O.left):w.left<0?c.scrollLeft(t,g.left+w.left):c.scrollLeft(t,g.left+O.left):r||((s=void 0===s||!!s)?c.scrollLeft(t,g.left+w.left):c.scrollLeft(t,g.left+O.left)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[48],{"+hnl":function(e,t,i){},"9Do8":function(e,t,i){"use strict";e.exports=i("zt9T")},Gytx:function(e,t){e.exports=function(e,t,i,c){var n=i?i.call(c,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),d=0;d<r.length;d++){var a=r[d];if(!s(a))return!1;var l=e[a],m=t[a];if(!1===(n=i?i.call(c,l,m,a):void 0)||void 0===n&&l!==m)return!1}return!0}},MKzF:function(e,t,i){"use strict";i.r(t);i("SchZ"),i("+hnl")},OvOV:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c={11e4:{code:"110000",name:"北京",cities:{11e4:{code:"110000",name:"北京",districts:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"}}}},12e4:{code:"120000",name:"天津",cities:{12e4:{code:"120000",name:"天津",districts:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"}}}},13e4:{code:"130000",name:"河北省",cities:{130100:{code:"130100",name:"石家庄",districts:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集",130183:"晋州",130184:"新乐"}},130200:{code:"130200",name:"唐山",districts:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130281:"遵化",130283:"迁安",130284:"滦州"}},130300:{code:"130300",name:"秦皇岛",districts:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县"}},130400:{code:"130400",name:"邯郸",districts:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安"}},130500:{code:"130500",name:"邢台",districts:{130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫",130582:"沙河"}},130600:{code:"130600",name:"保定",districts:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州",130682:"定州",130683:"安国",130684:"高碑店"}},130700:{code:"130700",name:"张家口",districts:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县"}},130800:{code:"130800",name:"承德",districts:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130881:"平泉"}},130900:{code:"130900",name:"沧州",districts:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头",130982:"任丘",130983:"黄骅",130984:"河间"}},131e3:{code:"131000",name:"廊坊",districts:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州",131082:"三河"}},131100:{code:"131100",name:"衡水",districts:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131182:"深州"}}}},14e4:{code:"140000",name:"山西省",cities:{140100:{code:"140100",name:"太原",districts:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交"}},140200:{code:"140200",name:"大同",districts:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县"}},140300:{code:"140300",name:"阳泉",districts:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"}},140400:{code:"140400",name:"长治",districts:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县"}},140500:{code:"140500",name:"晋城",districts:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平"}},140600:{code:"140600",name:"朔州",districts:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140681:"怀仁"}},140700:{code:"140700",name:"晋中",districts:{140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休"}},140800:{code:"140800",name:"运城",districts:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济",140882:"河津"}},140900:{code:"140900",name:"忻州",districts:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平"}},141e3:{code:"141000",name:"临汾",districts:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马",141082:"霍州"}},141100:{code:"141100",name:"吕梁",districts:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义",141182:"汾阳"}}}},15e4:{code:"150000",name:"内蒙古自治区",cities:{150100:{code:"150100",name:"呼和浩特",districts:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县"}},150200:{code:"150200",name:"包头",districts:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗"}},150300:{code:"150300",name:"乌海",districts:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"}},150400:{code:"150400",name:"赤峰",districts:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"}},150500:{code:"150500",name:"通辽",districts:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒"}},150600:{code:"150600",name:"鄂尔多斯",districts:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"}},150700:{code:"150700",name:"呼伦贝尔",districts:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里",150782:"牙克石",150783:"扎兰屯",150784:"额尔古纳",150785:"根河"}},150800:{code:"150800",name:"巴彦淖尔",districts:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"}},150900:{code:"150900",name:"乌兰察布",districts:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇"}},152200:{code:"152200",name:"兴安盟",districts:{152201:"乌兰浩特",152202:"阿尔山",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"}},152500:{code:"152500",name:"锡林郭勒盟",districts:{152501:"二连浩特",152502:"锡林浩特",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县"}},152900:{code:"152900",name:"阿拉善盟",districts:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗"}}}},21e4:{code:"210000",name:"辽宁省",cities:{210100:{code:"210100",name:"沈阳",districts:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民"}},210200:{code:"210200",name:"大连",districts:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店",210283:"庄河"}},210300:{code:"210300",name:"鞍山",districts:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城"}},210400:{code:"210400",name:"抚顺",districts:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"}},210500:{code:"210500",name:"本溪",districts:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"}},210600:{code:"210600",name:"丹东",districts:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港",210682:"凤城"}},210700:{code:"210700",name:"锦州",districts:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海",210782:"北镇"}},210800:{code:"210800",name:"营口",districts:{210802:"站前区",210803:"西区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州",210882:"大石桥"}},210900:{code:"210900",name:"阜新",districts:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"}},211e3:{code:"211000",name:"辽阳",districts:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔"}},211100:{code:"211100",name:"盘锦",districts:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"}},211200:{code:"211200",name:"铁岭",districts:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山",211282:"开原"}},211300:{code:"211300",name:"朝阳",districts:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票",211382:"凌源"}},211400:{code:"211400",name:"葫芦岛",districts:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城"}}}},22e4:{code:"220000",name:"吉林省",cities:{220100:{code:"220100",name:"长春",districts:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220182:"榆树",220183:"德惠"}},220200:{code:"220200",name:"吉林",districts:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河",220282:"桦甸",220283:"舒兰",220284:"磐石"}},220300:{code:"220300",name:"四平",districts:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭",220382:"双辽"}},220400:{code:"220400",name:"辽源",districts:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"}},220500:{code:"220500",name:"通化",districts:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口",220582:"集安"}},220600:{code:"220600",name:"白山",districts:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江"}},220700:{code:"220700",name:"松原",districts:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220781:"扶余"}},220800:{code:"220800",name:"白城",districts:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南",220882:"大安"}},222400:{code:"222400",name:"延边朝鲜族自治州",districts:{222401:"延吉",222402:"图们",222403:"敦化",222404:"珲春",222405:"龙井",222406:"和龙",222424:"汪清县",222426:"安图县"}}}},23e4:{code:"230000",name:"黑龙江省",cities:{230100:{code:"230100",name:"哈尔滨",districts:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志",230184:"五常"}},230200:{code:"230200",name:"齐齐哈尔",districts:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河"}},230300:{code:"230300",name:"鸡西",districts:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林",230382:"密山"}},230400:{code:"230400",name:"鹤岗",districts:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"}},230500:{code:"230500",name:"双鸭山",districts:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"}},230600:{code:"230600",name:"大庆",districts:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县"}},230700:{code:"230700",name:"伊春",districts:{230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力"}},230800:{code:"230800",name:"佳木斯",districts:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江",230882:"富锦",230883:"抚远"}},230900:{code:"230900",name:"七台河",districts:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"}},231e3:{code:"231000",name:"牡丹江",districts:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231081:"绥芬河",231083:"海林",231084:"宁安",231085:"穆棱",231086:"东宁"}},231100:{code:"231100",name:"黑河",districts:{231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安",231182:"五大连池"}},231200:{code:"231200",name:"绥化",districts:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达",231282:"肇东",231283:"海伦"}},232700:{code:"232700",name:"大兴安岭地区",districts:{232701:"漠河",232721:"呼玛县",232722:"塔河县"}}}},31e4:{code:"310000",name:"上海",cities:{31e4:{code:"310000",name:"上海",districts:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"}}}},32e4:{code:"320000",name:"江苏省",cities:{320100:{code:"320100",name:"南京",districts:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"}},320200:{code:"320200",name:"无锡",districts:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴",320282:"宜兴"}},320300:{code:"320300",name:"徐州",districts:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320381:"新沂",320382:"邳州"}},320400:{code:"320400",name:"常州",districts:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳"}},320500:{code:"320500",name:"苏州",districts:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320581:"常熟",320582:"张家港",320583:"昆山",320585:"太仓"}},320600:{code:"320600",name:"南通",districts:{320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320681:"启东",320682:"如皋",320684:"海门",320685:"海安"}},320700:{code:"320700",name:"连云港",districts:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县"}},320800:{code:"320800",name:"淮安",districts:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县"}},320900:{code:"320900",name:"盐城",districts:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台"}},321e3:{code:"321000",name:"扬州",districts:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321081:"仪征",321084:"高邮"}},321100:{code:"321100",name:"镇江",districts:{321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳",321182:"扬中",321183:"句容"}},321200:{code:"321200",name:"泰州",districts:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321281:"兴化",321282:"靖江",321283:"泰兴"}},321300:{code:"321300",name:"宿迁",districts:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县"}}}},33e4:{code:"330000",name:"浙江省",cities:{330100:{code:"330100",name:"杭州",districts:{330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德"}},330200:{code:"330200",name:"宁波",districts:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚",330282:"慈溪"}},330300:{code:"330300",name:"温州",districts:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安",330382:"乐清"}},330400:{code:"330400",name:"嘉兴",districts:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁",330482:"平湖",330483:"桐乡"}},330500:{code:"330500",name:"湖州",districts:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"}},330600:{code:"330600",name:"绍兴",districts:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨",330683:"嵊州"}},330700:{code:"330700",name:"金华",districts:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪",330782:"义乌",330783:"东阳",330784:"永康"}},330800:{code:"330800",name:"衢州",districts:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山"}},330900:{code:"330900",name:"舟山",districts:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"}},331e3:{code:"331000",name:"台州",districts:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭",331082:"临海",331083:"玉环"}},331100:{code:"331100",name:"丽水",districts:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉"}}}},34e4:{code:"340000",name:"安徽省",cities:{340100:{code:"340100",name:"合肥",districts:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340181:"巢湖"}},340200:{code:"340200",name:"芜湖",districts:{340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县"}},340300:{code:"340300",name:"蚌埠",districts:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县"}},340400:{code:"340400",name:"淮南",districts:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"}},340500:{code:"340500",name:"马鞍山",districts:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"}},340600:{code:"340600",name:"淮北",districts:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"}},340700:{code:"340700",name:"铜陵",districts:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"}},340800:{code:"340800",name:"安庆",districts:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城",340882:"潜山"}},341e3:{code:"341000",name:"黄山",districts:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"}},341100:{code:"341100",name:"滁州",districts:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长",341182:"明光"}},341200:{code:"341200",name:"阜阳",districts:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首"}},341300:{code:"341300",name:"宿州",districts:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县"}},341500:{code:"341500",name:"六安",districts:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"}},341600:{code:"341600",name:"亳州",districts:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"}},341700:{code:"341700",name:"池州",districts:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"}},341800:{code:"341800",name:"宣城",districts:{341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国"}}}},35e4:{code:"350000",name:"福建省",cities:{350100:{code:"350100",name:"福州",districts:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清"}},350200:{code:"350200",name:"厦门",districts:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"}},350300:{code:"350300",name:"莆田",districts:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"}},350400:{code:"350400",name:"三明",districts:{350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安"}},350500:{code:"350500",name:"泉州",districts:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮",350582:"晋江",350583:"南安"}},350600:{code:"350600",name:"漳州",districts:{350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海"}},350700:{code:"350700",name:"南平",districts:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武",350782:"武夷山",350783:"建瓯"}},350800:{code:"350800",name:"龙岩",districts:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平"}},350900:{code:"350900",name:"宁德",districts:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安",350982:"福鼎"}}}},36e4:{code:"360000",name:"江西省",cities:{360100:{code:"360100",name:"南昌",districts:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"}},360200:{code:"360200",name:"景德镇",districts:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平"}},360300:{code:"360300",name:"萍乡",districts:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"}},360400:{code:"360400",name:"九江",districts:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌",360482:"共青城",360483:"庐山"}},360500:{code:"360500",name:"新余",districts:{360502:"渝水区",360521:"分宜县"}},360600:{code:"360600",name:"鹰潭",districts:{360602:"月湖区",360603:"余江区",360681:"贵溪"}},360700:{code:"360700",name:"赣州",districts:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金"}},360800:{code:"360800",name:"吉安",districts:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山"}},360900:{code:"360900",name:"宜春",districts:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城",360982:"樟树",360983:"高安"}},361e3:{code:"361000",name:"抚州",districts:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"}},361100:{code:"361100",name:"上饶",districts:{361102:"信州区",361103:"广丰区",361121:"上饶县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴"}}}},37e4:{code:"370000",name:"山东省",cities:{370100:{code:"370100",name:"济南",districts:{370102:"历下区",370103:"中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县"}},370200:{code:"370200",name:"青岛",districts:{370202:"南区",370203:"北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370281:"胶州",370283:"平度",370285:"莱西"}},370300:{code:"370300",name:"淄博",districts:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"}},370400:{code:"370400",name:"枣庄",districts:{370402:"中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州"}},370500:{code:"370500",name:"东营",districts:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县"}},370600:{code:"370600",name:"烟台",districts:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370681:"龙口",370682:"莱阳",370683:"莱州",370684:"蓬莱",370685:"招远",370686:"栖霞",370687:"海阳"}},370700:{code:"370700",name:"潍坊",districts:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州",370782:"诸城",370783:"寿光",370784:"安丘",370785:"高密",370786:"昌邑"}},370800:{code:"370800",name:"济宁",districts:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜",370883:"邹城"}},370900:{code:"370900",name:"泰安",districts:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰",370983:"肥城"}},371e3:{code:"371000",name:"威海",districts:{371002:"环翠区",371003:"文登区",371082:"荣成",371083:"乳山"}},371100:{code:"371100",name:"日照",districts:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县"}},371300:{code:"371300",name:"临沂",districts:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县"}},371400:{code:"371400",name:"德州",districts:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵",371482:"禹城"}},371500:{code:"371500",name:"聊城",districts:{371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清"}},371600:{code:"371600",name:"滨州",districts:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平"}},371700:{code:"371700",name:"菏泽",districts:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县"}}}},41e4:{code:"410000",name:"河南省",cities:{410100:{code:"410100",name:"郑州",districts:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义",410182:"荥阳",410183:"新密",410184:"新郑",410185:"登封"}},410200:{code:"410200",name:"开封",districts:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"}},410300:{code:"410300",name:"洛阳",districts:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师"}},410400:{code:"410400",name:"平顶山",districts:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢",410482:"汝州"}},410500:{code:"410500",name:"安阳",districts:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州"}},410600:{code:"410600",name:"鹤壁",districts:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县"}},410700:{code:"410700",name:"新乡",districts:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉",410782:"辉县"}},410800:{code:"410800",name:"焦作",districts:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410882:"沁阳",410883:"孟州"}},410900:{code:"410900",name:"濮阳",districts:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县"}},411e3:{code:"411000",name:"许昌",districts:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411081:"禹州",411082:"长葛"}},411100:{code:"411100",name:"漯河",districts:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县"}},411200:{code:"411200",name:"三门峡",districts:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411281:"义马",411282:"灵宝"}},411300:{code:"411300",name:"南阳",districts:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州"}},411400:{code:"411400",name:"商丘",districts:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城"}},411500:{code:"411500",name:"信阳",districts:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县"}},411600:{code:"411600",name:"周口",districts:{411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城"}},411700:{code:"411700",name:"驻马店",districts:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县"}}}},42e4:{code:"420000",name:"湖北省",cities:{420100:{code:"420100",name:"武汉",districts:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"}},420200:{code:"420200",name:"黄石",districts:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶"}},420300:{code:"420300",name:"十堰",districts:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口"}},420500:{code:"420500",name:"宜昌",districts:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都",420582:"当阳",420583:"枝江"}},420600:{code:"420600",name:"襄阳",districts:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口",420683:"枣阳",420684:"宜城"}},420700:{code:"420700",name:"鄂州",districts:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"}},420800:{code:"420800",name:"荆门",districts:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥",420882:"京山"}},420900:{code:"420900",name:"孝感",districts:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城",420982:"安陆",420984:"汉川"}},421e3:{code:"421000",name:"荆州",districts:{421002:"沙区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首",421083:"洪湖",421087:"松滋"}},421100:{code:"421100",name:"黄冈",districts:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城",421182:"武穴"}},421200:{code:"421200",name:"咸宁",districts:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁"}},421300:{code:"421300",name:"随州",districts:{421303:"曾都区",421321:"随县",421381:"广水"}},422800:{code:"422800",name:"恩施土家族苗族自治州",districts:{422801:"恩施",422802:"利川",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"}}}},43e4:{code:"430000",name:"湖南省",cities:{430100:{code:"430100",name:"长沙",districts:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳",430182:"宁乡"}},430200:{code:"430200",name:"株洲",districts:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵"}},430300:{code:"430300",name:"湘潭",districts:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡",430382:"韶山"}},430400:{code:"430400",name:"衡阳",districts:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳",430482:"常宁"}},430500:{code:"430500",name:"邵阳",districts:{430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈"}},430600:{code:"430600",name:"岳阳",districts:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗",430682:"临湘"}},430700:{code:"430700",name:"常德",districts:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津"}},430800:{code:"430800",name:"张家界",districts:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"}},430900:{code:"430900",name:"益阳",districts:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江"}},431e3:{code:"431000",name:"郴州",districts:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴"}},431100:{code:"431100",name:"永州",districts:{431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县"}},431200:{code:"431200",name:"怀化",districts:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江"}},431300:{code:"431300",name:"娄底",districts:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江",431382:"涟源"}},433100:{code:"433100",name:"湘西土家族苗族自治州",districts:{433101:"吉首",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"}}}},44e4:{code:"440000",name:"广东省",cities:{440100:{code:"440100",name:"广州",districts:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"}},440200:{code:"440200",name:"韶关",districts:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌",440282:"南雄"}},440300:{code:"440300",name:"深圳",districts:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"}},440400:{code:"440400",name:"珠海",districts:{440402:"香洲区",440403:"斗门区",440404:"金湾区"}},440500:{code:"440500",name:"汕头",districts:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"}},440600:{code:"440600",name:"佛山",districts:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"}},440700:{code:"440700",name:"江门",districts:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山",440783:"开平",440784:"鹤山",440785:"恩平"}},440800:{code:"440800",name:"湛江",districts:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江",440882:"雷州",440883:"吴川"}},440900:{code:"440900",name:"茂名",districts:{440902:"茂南区",440904:"电白区",440981:"高州",440982:"化州",440983:"信宜"}},441200:{code:"441200",name:"肇庆",districts:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会"}},441300:{code:"441300",name:"惠州",districts:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"}},441400:{code:"441400",name:"梅州",districts:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁"}},441500:{code:"441500",name:"汕尾",districts:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰"}},441600:{code:"441600",name:"河源",districts:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"}},441700:{code:"441700",name:"阳江",districts:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春"}},441800:{code:"441800",name:"清远",districts:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德",441882:"连州"}},441900:{code:"441900",name:"东莞",districts:{}},442e3:{code:"442000",name:"中山",districts:{}},445100:{code:"445100",name:"潮州",districts:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"}},445200:{code:"445200",name:"揭阳",districts:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁"}},445300:{code:"445300",name:"云浮",districts:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定"}}}},45e4:{code:"450000",name:"广西壮族自治区",cities:{450100:{code:"450100",name:"南宁",districts:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"}},450200:{code:"450200",name:"柳州",districts:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"}},450300:{code:"450300",name:"桂林",districts:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦"}},450400:{code:"450400",name:"梧州",districts:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪"}},450500:{code:"450500",name:"北海",districts:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"}},450600:{code:"450600",name:"防城港",districts:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴"}},450700:{code:"450700",name:"钦州",districts:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"}},450800:{code:"450800",name:"贵港",districts:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平"}},450900:{code:"450900",name:"玉林",districts:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流"}},451e3:{code:"451000",name:"百色",districts:{451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西"}},451100:{code:"451100",name:"贺州",districts:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"}},451200:{code:"451200",name:"河池",districts:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"}},451300:{code:"451300",name:"来宾",districts:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山"}},451400:{code:"451400",name:"崇左",districts:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥"}}}},46e4:{code:"460000",name:"海南省",cities:{460100:{code:"460100",name:"海口",districts:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"}},460200:{code:"460200",name:"三亚",districts:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"}},460300:{code:"460300",name:"三沙",districts:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",460324:"永乐群岛"}},460400:{code:"460400",name:"儋州",districts:{}}}},5e5:{code:"500000",name:"重庆",cities:{5e5:{code:"500000",name:"重庆",districts:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区",500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"}}}},51e4:{code:"510000",name:"四川省",cities:{510100:{code:"510100",name:"成都",districts:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰",510182:"彭州",510183:"邛崃",510184:"崇州",510185:"简阳"}},510300:{code:"510300",name:"自贡",districts:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"}},510400:{code:"510400",name:"攀枝花",districts:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"}},510500:{code:"510500",name:"泸州",districts:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"}},510600:{code:"510600",name:"德阳",districts:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉",510682:"什邡",510683:"绵竹"}},510700:{code:"510700",name:"绵阳",districts:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油"}},510800:{code:"510800",name:"广元",districts:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"}},510900:{code:"510900",name:"遂宁",districts:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县"}},511e3:{code:"511000",name:"内江",districts:{511002:"中区",511011:"东兴区",511024:"威远县",511025:"资中县",511083:"隆昌"}},511100:{code:"511100",name:"乐山",districts:{511102:"中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山"}},511300:{code:"511300",name:"南充",districts:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中"}},511400:{code:"511400",name:"眉山",districts:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"}},511500:{code:"511500",name:"宜宾",districts:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"}},511600:{code:"511600",name:"广安",districts:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥"}},511700:{code:"511700",name:"达州",districts:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源"}},511800:{code:"511800",name:"雅安",districts:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"}},511900:{code:"511900",name:"巴中",districts:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县"}},512e3:{code:"512000",name:"资阳",districts:{512002:"雁江区",512021:"安岳县",512022:"乐至县"}},513200:{code:"513200",name:"阿坝藏族羌族自治州",districts:{513201:"马尔康",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"}},513300:{code:"513300",name:"甘孜藏族自治州",districts:{513301:"康定",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"}},513400:{code:"513400",name:"凉山彝族自治州",districts:{513401:"西昌",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"}}}},52e4:{code:"520000",name:"贵州省",cities:{520100:{code:"520100",name:"贵阳",districts:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇"}},520200:{code:"520200",name:"六盘水",districts:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州"}},520300:{code:"520300",name:"遵义",districts:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水",520382:"仁怀"}},520400:{code:"520400",name:"安顺",districts:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"}},520500:{code:"520500",name:"毕节",districts:{520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"}},520600:{code:"520600",name:"铜仁",districts:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"}},522300:{code:"522300",name:"黔西南布依族苗族自治州",districts:{522301:"兴义",522302:"兴仁",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"}},522600:{code:"522600",name:"黔东南苗族侗族自治州",districts:{522601:"凯里",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"}},522700:{code:"522700",name:"黔南布依族苗族自治州",districts:{522701:"都匀",522702:"福泉",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"}}}},53e4:{code:"530000",name:"云南省",cities:{530100:{code:"530100",name:"昆明",districts:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁"}},530300:{code:"530300",name:"曲靖",districts:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威"}},530400:{code:"530400",name:"玉溪",districts:{530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"}},530500:{code:"530500",name:"保山",districts:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲"}},530600:{code:"530600",name:"昭通",districts:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富"}},530700:{code:"530700",name:"丽江",districts:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"}},530800:{code:"530800",name:"普洱",districts:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"}},530900:{code:"530900",name:"临沧",districts:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"}},532300:{code:"532300",name:"楚雄彝族自治州",districts:{532301:"楚雄",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"}},532500:{code:"532500",name:"红河哈尼族彝族自治州",districts:{532501:"个旧",532502:"开远",532503:"蒙自",532504:"弥勒",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"}},532600:{code:"532600",name:"文山壮族苗族自治州",districts:{532601:"文山",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"}},532800:{code:"532800",name:"西双版纳傣族自治州",districts:{532801:"景洪",532822:"勐海县",532823:"勐腊县"}},532900:{code:"532900",name:"大理白族自治州",districts:{532901:"大理",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"}},533100:{code:"533100",name:"德宏傣族景颇族自治州",districts:{533102:"瑞丽",533103:"芒",533122:"梁河县",533123:"盈江县",533124:"陇川县"}},533300:{code:"533300",name:"怒江傈僳族自治州",districts:{533301:"泸水",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"}},533400:{code:"533400",name:"迪庆藏族自治州",districts:{533401:"香格里拉",533422:"德钦县",533423:"维西傈僳族自治县"}}}},54e4:{code:"540000",name:"西藏自治区",cities:{540100:{code:"540100",name:"拉萨",districts:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县"}},540200:{code:"540200",name:"日喀则",districts:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"}},540300:{code:"540300",name:"昌都",districts:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"}},540400:{code:"540400",name:"林芝",districts:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"}},540500:{code:"540500",name:"山南",districts:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"}},540600:{code:"540600",name:"那曲",districts:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"}},542500:{code:"542500",name:"阿里地区",districts:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"}}}},61e4:{code:"610000",name:"陕西省",cities:{610100:{code:"610100",name:"西安",districts:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"}},610200:{code:"610200",name:"铜川",districts:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"}},610300:{code:"610300",name:"宝鸡",districts:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"}},610400:{code:"610400",name:"咸阳",districts:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平",610482:"彬州"}},610500:{code:"610500",name:"渭南",districts:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城",610582:"华阴"}},610600:{code:"610600",name:"延安",districts:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610623:"子长县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县"}},610700:{code:"610700",name:"汉中",districts:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"}},610800:{code:"610800",name:"榆林",districts:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木"}},610900:{code:"610900",name:"安康",districts:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"}},611e3:{code:"611000",name:"商洛",districts:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"}}}},62e4:{code:"620000",name:"甘肃省",cities:{620100:{code:"620100",name:"兰州",districts:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县"}},620200:{code:"620200",name:"嘉峪关",districts:{}},620300:{code:"620300",name:"金昌",districts:{620302:"金川区",620321:"永昌县"}},620400:{code:"620400",name:"白银",districts:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"}},620500:{code:"620500",name:"天水",districts:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"}},620600:{code:"620600",name:"武威",districts:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"}},620700:{code:"620700",name:"张掖",districts:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"}},620800:{code:"620800",name:"平凉",districts:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭"}},620900:{code:"620900",name:"酒泉",districts:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门",620982:"敦煌"}},621e3:{code:"621000",name:"庆阳",districts:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"}},621100:{code:"621100",name:"定西",districts:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"}},621200:{code:"621200",name:"陇南",districts:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"}},622900:{code:"622900",name:"临夏回族自治州",districts:{622901:"临夏",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"}},623e3:{code:"623000",name:"甘南藏族自治州",districts:{623001:"合作",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"}}}},63e4:{code:"630000",name:"青海省",cities:{630100:{code:"630100",name:"西宁",districts:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"}},630200:{code:"630200",name:"海东",districts:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"}},632200:{code:"632200",name:"海北藏族自治州",districts:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"}},632300:{code:"632300",name:"黄南藏族自治州",districts:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"}},632500:{code:"632500",name:"海南藏族自治州",districts:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"}},632600:{code:"632600",name:"果洛藏族自治州",districts:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"}},632700:{code:"632700",name:"玉树藏族自治州",districts:{632701:"玉树",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"}},632800:{code:"632800",name:"海西蒙古族藏族自治州",districts:{632801:"格尔木",632802:"德令哈",632803:"茫崖",632821:"乌兰县",632822:"都兰县",632823:"天峻县"}}}},64e4:{code:"640000",name:"宁夏回族自治区",cities:{640100:{code:"640100",name:"银川",districts:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武"}},640200:{code:"640200",name:"石嘴山",districts:{640202:"大武口区",640205:"惠农区",640221:"平罗县"}},640300:{code:"640300",name:"吴忠",districts:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡"}},640400:{code:"640400",name:"固原",districts:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"}},640500:{code:"640500",name:"中卫",districts:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"}}}},65e4:{code:"650000",name:"新疆维吾尔自治区",cities:{650100:{code:"650100",name:"乌鲁木齐",districts:{650102:"天山区",650103:"沙依巴克区",650104:"新区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"}},650200:{code:"650200",name:"克拉玛依",districts:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"}},650400:{code:"650400",name:"吐鲁番",districts:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"}},650500:{code:"650500",name:"哈密",districts:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"}},652300:{code:"652300",name:"昌吉回族自治州",districts:{652301:"昌吉",652302:"阜康",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"}},652700:{code:"652700",name:"博尔塔拉蒙古自治州",districts:{652701:"博乐",652702:"阿拉山口",652722:"精河县",652723:"温泉县"}},652800:{code:"652800",name:"巴音郭楞蒙古自治州",districts:{652801:"库尔勒",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县"}},652900:{code:"652900",name:"阿克苏地区",districts:{652901:"阿克苏",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"}},653e3:{code:"653000",name:"克孜勒苏柯尔克孜自治州",districts:{653001:"阿图什",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"}},653100:{code:"653100",name:"喀什地区",districts:{653101:"喀什",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"}},653200:{code:"653200",name:"和田地区",districts:{653201:"和田",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"}},654e3:{code:"654000",name:"伊犁哈萨克自治州",districts:{654002:"伊宁",654003:"奎屯",654004:"霍尔果斯",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"}},654200:{code:"654200",name:"塔城地区",districts:{654201:"塔城",654202:"乌苏",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"}},654300:{code:"654300",name:"阿勒泰地区",districts:{654301:"阿勒泰",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"}}}},81e4:{code:"810000",name:"香港特别行政区",cities:{81e4:{code:"810000",name:"香港特别行政区",districts:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区",810105:"油尖旺区",810106:"深水埗区",810107:"九龙城区",810108:"黄大仙区",810109:"观塘区",810110:"北区",810111:"大埔区",810112:"沙田区",810113:"西贡区",810114:"荃湾区",810115:"屯门区",810116:"元朗区",810117:"葵青区",810118:"离岛区"}}}},82e4:{code:"820000",name:"澳门特别行政区",cities:{82e4:{code:"820000",name:"澳门特别行政区",districts:{820101:"花地玛堂区",820102:"圣安多尼堂区",820103:"大堂区",820104:"望德堂区",820105:"风顺堂区",820106:"嘉模堂区",820107:"圣方济各堂区",820108:"路氹城",820109:"澳门新城"}}}},83e4:{code:"830000",name:"台湾省",cities:{830100:{code:"830100",name:"台北",districts:{830101:"中正区",830102:"大同区",830103:"中山区",830104:"万华区",830105:"信义区",830106:"松山区",830107:"大安区",830108:"南港区",830109:"北投区",830110:"内湖区",830111:"士林区",830112:"文山区"}},830200:{code:"830200",name:"新北",districts:{830201:"板桥区",830202:"土城区",830203:"新庄区",830204:"新店区",830205:"深坑区",830206:"石碇区",830207:"坪林区",830208:"乌来区",830209:"五股区",830210:"八里区",830211:"林口区",830212:"淡水区",830213:"中和区",830214:"永和区",830215:"三重区",830216:"芦洲区",830217:"泰山区",830218:"树林区",830219:"莺歌区",830220:"三峡区",830221:"汐止区",830222:"金山区",830223:"万里区",830224:"三芝区",830225:"石门区",830226:"瑞芳区",830227:"贡寮区",830228:"双溪区",830229:"平溪区"}},830300:{code:"830300",name:"桃园",districts:{830301:"桃园区",830302:"中坜区",830303:"平镇区",830304:"八德区",830305:"杨梅区",830306:"芦竹区",830307:"大溪区",830308:"龙潭区",830309:"龟山区",830310:"大园区",830311:"观音区",830312:"新屋区",830313:"复兴区"}},830400:{code:"830400",name:"台中",districts:{830401:"中区",830402:"东区",830403:"西区",830404:"南区",830405:"北区",830406:"西屯区",830407:"南屯区",830408:"北屯区",830409:"丰原区",830410:"大里区",830411:"太平区",830412:"东势区",830413:"大甲区",830414:"清水区",830415:"沙鹿区",830416:"梧栖区",830417:"后里区",830418:"神冈区",830419:"潭子区",830420:"大雅区",830421:"新小区",830422:"石冈区",830423:"外埔区",830424:"大安区",830425:"乌日区",830426:"大肚区",830427:"龙井区",830428:"雾峰区",830429:"和平区"}},830500:{code:"830500",name:"台南",districts:{830501:"中西区",830502:"东区",830503:"南区",830504:"北区",830505:"安平区",830506:"安南区",830507:"永康区",830508:"归仁区",830509:"新化区",830510:"左镇区",830511:"玉井区",830512:"楠西区",830513:"南化区",830514:"仁德区",830515:"关庙区",830516:"龙崎区",830517:"官田区",830518:"麻豆区",830519:"佳里区",830520:"西港区",830521:"七股区",830522:"将军区",830523:"学甲区",830524:"北门区",830525:"新营区",830526:"后壁区",830527:"白河区",830528:"东山区",830529:"六甲区",830530:"下营区",830531:"柳营区",830532:"盐水区",830533:"善化区",830534:"大内区",830535:"山上区",830536:"新区",830537:"安定区"}},830600:{code:"830600",name:"高雄",districts:{830601:"楠梓区",830602:"左营区",830603:"鼓山区",830604:"三民区",830605:"盐埕区",830606:"前金区",830607:"新兴区",830608:"苓雅区",830609:"前镇区",830610:"旗津区",830611:"小港区",830612:"凤山区",830613:"大寮区",830614:"鸟松区",830615:"林园区",830616:"仁武区",830617:"大树区",830618:"大社区",830619:"冈山区",830620:"路竹区",830621:"桥头区",830622:"梓官区",830623:"弥陀区",830624:"永安区",830625:"燕巢区",830626:"阿莲区",830627:"茄萣区",830628:"湖内区",830629:"旗山区",830630:"美浓区",830631:"内门区",830632:"杉林区",830633:"甲仙区",830634:"六龟区",830635:"茂林区",830636:"桃源区",830637:"那玛夏区"}},830700:{code:"830700",name:"基隆",districts:{830701:"中正区",830702:"七堵区",830703:"暖暖区",830704:"仁爱区",830705:"中山区",830706:"安乐区",830707:"信义区"}},830800:{code:"830800",name:"新竹",districts:{830801:"东区",830802:"北区",830803:"香山区"}},830900:{code:"830900",name:"嘉义",districts:{830901:"东区",830902:"西区"}}}}},n=new Map,r=t.city2province=new Map,o=new Map;for(var s in c){var d=c[s].name;for(var a in n.set(d,new Set),c[s].cities){var l=c[s].cities[a].name,m=c[s].cities[a].districts;n.get(d).add(l),r.set(l,d),o.set(u(m),new Set)}}function u(e){var t=[];for(var i in e)t.push(e[i]);return t}t.locData=Array.from(n.keys()).map((function(e){return{value:e,label:e,children:Array.from(n.get(e).keys()).map((function(e,t){return{value:e,label:e,children:Array.from(o.keys())[t].map((function(e){return{value:e,label:e}}))}}))}}))},VUSe:function(e,t,i){},jB5C:function(e,t,i){"use strict";var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e},n="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 r(e,t){var i=e["page"+(t?"Y":"X")+"Offset"],c="scroll"+(t?"Top":"Left");if("number"!=typeof i){var n=e.document;"number"!=typeof(i=n.documentElement[c])&&(i=n.body[c])}return i}function o(e){return r(e)}function s(e){return r(e,!0)}function d(e){var t=function(e){var t,i=void 0,c=void 0,n=e.ownerDocument,r=n.body,o=n&&n.documentElement;return i=(t=e.getBoundingClientRect()).left,c=t.top,{left:i-=o.clientLeft||r.clientLeft||0,top:c-=o.clientTop||r.clientTop||0}}(e),i=e.ownerDocument,c=i.defaultView||i.parentWindow;return t.left+=o(c),t.top+=s(c),t}var a=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),l=/^(top|right|bottom|left)$/,m="left";var u=void 0;function f(e,t){for(var i=0;i<e.length;i++)t(e[i])}function p(e){return"border-box"===u(e,"boxSizing")}"undefined"!=typeof window&&(u=window.getComputedStyle?function(e,t,i){var c="",n=e.ownerDocument,r=i||n.defaultView.getComputedStyle(e,null);return r&&(c=r.getPropertyValue(t)||r[t]),c}:function(e,t){var i=e.currentStyle&&e.currentStyle[t];if(a.test(i)&&!l.test(t)){var c=e.style,n=c[m],r=e.runtimeStyle[m];e.runtimeStyle[m]=e.currentStyle[m],c[m]="fontSize"===t?"1em":i||0,i=c.pixelLeft+"px",c[m]=n,e.runtimeStyle[m]=r}return""===i?"auto":i});var v=["margin","border","padding"];function y(e,t,i){var c={},n=e.style,r=void 0;for(r in t)t.hasOwnProperty(r)&&(c[r]=n[r],n[r]=t[r]);for(r in i.call(e),t)t.hasOwnProperty(r)&&(n[r]=c[r])}function h(e,t,i){var c=0,n=void 0,r=void 0,o=void 0;for(r=0;r<t.length;r++)if(n=t[r])for(o=0;o<i.length;o++){var s=void 0;s="border"===n?n+i[o]+"Width":n+i[o],c+=parseFloat(u(e,s))||0}return c}function b(e){return null!=e&&e==e.window}var g={};function w(e,t,i){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 c="width"===t?["Left","Right"]:["Top","Bottom"],n="width"===t?e.offsetWidth:e.offsetHeight,r=(u(e),p(e)),o=0;(null==n||n<=0)&&(n=void 0,(null==(o=u(e,t))||Number(o)<0)&&(o=e.style[t]||0),o=parseFloat(o)||0),void 0===i&&(i=r?1:-1);var s=void 0!==n||r,d=n||o;if(-1===i)return s?d-h(e,["border","padding"],c):o;if(s){var a=2===i?-h(e,["border"],c):h(e,["margin"],c);return d+(1===i?0:a)}return o+h(e,v.slice(i),c)}f(["Width","Height"],(function(e){g["doc"+e]=function(t){var i=t.document;return Math.max(i.documentElement["scroll"+e],i.body["scroll"+e],g["viewport"+e](i))},g["viewport"+e]=function(t){var i="client"+e,c=t.document,n=c.body,r=c.documentElement[i];return"CSS1Compat"===c.compatMode&&r||n&&n[i]||r}}));var O={position:"absolute",visibility:"hidden",display:"block"};function x(e){var t=void 0,i=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,i):y(e,O,(function(){t=w.apply(void 0,i)})),t}function k(e,t,i){var c=i;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==c?("number"==typeof c&&(c+="px"),void(e.style[t]=c)):u(e,t);for(var r in t)t.hasOwnProperty(r)&&k(e,r,t[r])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,i){return t&&x(t,e,i?0:1)};var i="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,c){if(void 0===c)return t&&x(t,e,-1);if(t){u(t);return p(t)&&(c+=h(t,["padding","border"],i)),k(t,e,c)}}})),e.exports=c({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return d(e);!function(e,t){"static"===k(e,"position")&&(e.style.position="relative");var i=d(e),c={},n=void 0,r=void 0;for(r in t)t.hasOwnProperty(r)&&(n=parseFloat(k(e,r))||0,c[r]=n+t[r]-i[r]);k(e,c)}(e,t)},isWindow:b,each:f,css:k,clone:function(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);if(e.overflow)for(var i in e)e.hasOwnProperty(i)&&(t.overflow[i]=e.overflow[i]);return t},scrollLeft:function(e,t){if(b(e)){if(void 0===t)return o(e);window.scrollTo(t,s(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(b(e)){if(void 0===t)return s(e);window.scrollTo(o(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},kaz8:function(e,t,i){"use strict";i.r(t);var c=i("q1tI"),n=i("17x9"),r=i("VCL8"),o=i("TSYQ"),s=i.n(o),d=i("x1Ya"),a=i("Gytx"),l=i.n(a),m=i("H84U"),u=i("6CfX");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,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e}).apply(this,arguments)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var i=0;i<t.length;i++){var c=t[i];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e,t){var i={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(i[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(c=Object.getOwnPropertySymbols(e);n<c.length;n++)t.indexOf(c[n])<0&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(i[c[n]]=e[c[n]])}return i},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&&b(e,t)}(a,e);var t,i,n,r,o=(t=a,function(){var e,i=x(t);if(O()){var c=x(this).constructor;e=Reflect.construct(i,arguments,c)}else e=i.apply(this,arguments);return g(this,e)});function a(){var e;return y(this,a),(e=o.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var i,n=t.getPrefixCls,r=w(e),o=r.props,a=r.context,l=o.prefixCls,m=o.className,u=o.children,f=o.indeterminate,y=o.style,h=o.onMouseEnter,b=o.onMouseLeave,g=k(o,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=a.checkboxGroup,x=n("checkbox",l),E=v({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:u,value:o.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(o.value),E.disabled=o.disabled||O.disabled);var S=s()(m,(p(i={},"".concat(x,"-wrapper"),!0),p(i,"".concat(x,"-wrapper-checked"),E.checked),p(i,"".concat(x,"-wrapper-disabled"),E.disabled),i)),j=s()(p({},"".concat(x,"-indeterminate"),f));return c.createElement("label",{className:S,style:y,onMouseEnter:h,onMouseLeave:b},c.createElement(d.a,v({},E,{prefixCls:x,className:j,ref:e.saveCheckbox})),void 0!==u&&c.createElement("span",null,u))},e}return i=a,(n=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,i=void 0===t?{}:t;i.registerValue&&i.registerValue(e),Object(u.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,i){return!l()(this.props,e)||!l()(this.state,t)||!l()(this.context.checkboxGroup,i.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,i=this.props.value,c=(this.context||{}).checkboxGroup,n=void 0===c?{}:c;i!==t&&n.registerValue&&n.cancelValue&&(n.cancelValue(t),n.registerValue(i))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,i=void 0===t?{}:t;i.cancelValue&&i.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return c.createElement(m.a,null,this.renderCheckbox)}}])&&h(i.prototype,n),r&&h(i,r),a}(c.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:n.any},Object(r.polyfill)(E);var S=E,j=i("BGR+");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 P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(e[c]=i[c])}return e}).apply(this,arguments)}function T(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 i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))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 i=0,c=new Array(t);i<t;i++)c[i]=e[i];return c}function _(e,t){for(var i=0;i<t.length;i++){var c=t[i];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function L(e,t){return(L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t){return!t||"object"!==C(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W(){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 M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e,t){var i={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&t.indexOf(c)<0&&(i[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(c=Object.getOwnPropertySymbols(e);n<c.length;n++)t.indexOf(c[n])<0&&Object.prototype.propertyIsEnumerable.call(e,c[n])&&(i[c[n]]=e[c[n]])}return i},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&&L(e,t)}(d,e);var t,i,n,r,o=(t=d,function(){var e,i=M(t);if(W()){var c=M(this).constructor;e=Reflect.construct(i,arguments,c)}else e=i.apply(this,arguments);return N(this,e)});function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(t=o.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var i=t.registeredValues;return{registeredValues:[].concat(T(i),[e])}}))},t.toggleOption=function(e){var i=t.state.registeredValues,c=t.state.value.indexOf(e.value),n=T(t.state.value);-1===c?n.push(e.value):n.splice(c,1),"value"in t.props||t.setState({value:n});var r=t.props.onChange;if(r){var o=t.getOptions();r(n.filter((function(e){return-1!==i.indexOf(e)})).sort((function(e,t){return o.findIndex((function(t){return t.value===e}))-o.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var i=e.getPrefixCls,n=R(t),r=n.props,o=n.state,d=r.prefixCls,a=r.className,l=r.style,m=r.options,u=G(r,["prefixCls","className","style","options"]),f=i("checkbox",d),p="".concat(f,"-group"),v=Object(j.a)(u,["children","defaultValue","value","onChange","disabled"]),y=r.children;m&&m.length>0&&(y=t.getOptions().map((function(e){return c.createElement(S,{prefixCls:f,key:e.value.toString(),disabled:"disabled"in e?e.disabled:r.disabled,value:e.value,checked:-1!==o.value.indexOf(e.value),onChange:e.onChange,className:"".concat(p,"-item")},e.label)})));var h=s()(p,a);return c.createElement("div",P({className:h,style:l},v),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return i=d,r=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(n=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!l()(this.props,e)||!l()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return c.createElement(m.a,null,this.renderGroup)}}])&&_(i.prototype,n),r&&_(i,r),d}(c.Component);D.defaultProps={options:[]},D.propTypes={defaultValue:n.array,value:n.array,options:n.array.isRequired,onChange:n.func},D.childContextTypes={checkboxGroup:n.any},Object(r.polyfill)(D);var F=D;S.Group=F;t.default=S},vnWZ:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=f(i("2/Rp")),n=f(i("kaz8")),r=f(i("8z0m")),o=f(i("9yH6")),s=f(i("DFOY")),d=f(i("5rEg")),a=f(i("Vl3Y"));i("L/Qf"),i("MKzF"),i("7W5+"),i("K4yd"),i("gySj"),i("1vPl"),i("tULf");var l=i("q1tI"),m=f(l);i("VUSe");var u=i("OvOV");function f(e){return e&&e.__esModule?e:{default:e}}t.default=a.default.create()((0,l.forwardRef)((function(e){var t=e.form,i=t.getFieldDecorator,f=(t.validateFields,t.setFieldsValue,{display:"block",height:"30px",lineHeight:"30px"}),p=(0,l.useCallback)((function(e,t,c,n){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return m.default.createElement(m.default.Fragment,null,m.default.createElement("span",{className:r?"lables must":"lables"},e),m.default.createElement(a.default.Item,null,i(t,{rules:c,validateFirst:!0})(n)))}),[]);return m.default.createElement("div",{className:"newMain"},m.default.createElement("div",{className:"main"},m.default.createElement("div",{className:"teamBox"},m.default.createElement("p",{className:"teamBox-title"},"新建组织"),m.default.createElement(a.default,{className:"teamBox-form"},p(m.default.createElement("span",null,"组织名称:",m.default.createElement("span",{className:"color-grey-8"},"(组织名称应该简单明了)")),"name",[{required:!0,message:"请输入组织名称"}],m.default.createElement(d.default,{placeholder:"请输入组织名称"})),p("组织描述","description",[{required:!0,message:"请输入组织描述"}],m.default.createElement(d.default.TextArea,{autoSize:{minRows:3,maxRows:5},placeholder:"请输入组织描述"})),p("所在地区","location",[],m.default.createElement(s.default,{placeholder:"请选择城市",options:u.locData}),!1),p("可见性","visibility",[{required:!0,message:"请选择可见性"}],m.default.createElement(o.default.Group,{name:"exposure"},m.default.createElement(o.default,{style:f,value:"1",key:1},"公开"),m.default.createElement(o.default,{style:f,value:"2",key:2},"受限",m.default.createElement("span",{className:"color-grey-8"},"(仅对登录用户可见)")),m.default.createElement(o.default,{style:f,value:"3",key:3},"公开",m.default.createElement("span",{className:"color-grey-8"},"(仅对组织成员可见)")))),p("选择头像","image",[],m.default.createElement(r.default,null),!1),p("权限","repo_admin_change_team_access",[],m.default.createElement(n.default,{value:"1",key:1},"项目管理员可以添加或移除团队的访问权限"),!1),p(m.default.createElement("span",null,"最大仓库数:",m.default.createElement("span",{className:"color-grey-8"},"(设置为-1表示使用全局默认值)")),"max_repo_creation",[],m.default.createElement(d.default,{placeholder:"最大仓库数",style:{width:"100px"}}),!1))),m.default.createElement("p",{className:"mt20"},m.default.createElement(c.default,{type:"primary",className:"mr30"},"创建组织"),m.default.createElement(c.default,{className:"grey"},"取消"))))})))},zt9T:function(e,t,i){"use strict";var c=i("jB5C");e.exports=function(e,t,i){i=i||{},9===t.nodeType&&(t=c.getWindow(t));var n=i.allowHorizontalScroll,r=i.onlyScrollIfNeeded,o=i.alignWithTop,s=i.alignWithLeft,d=i.offsetTop||0,a=i.offsetLeft||0,l=i.offsetBottom||0,m=i.offsetRight||0;n=void 0===n||n;var u=c.isWindow(t),f=c.offset(e),p=c.outerHeight(e),v=c.outerWidth(e),y=void 0,h=void 0,b=void 0,g=void 0,w=void 0,O=void 0,x=void 0,k=void 0,E=void 0,S=void 0;u?(x=t,S=c.height(x),E=c.width(x),k={left:c.scrollLeft(x),top:c.scrollTop(x)},w={left:f.left-k.left-a,top:f.top-k.top-d},O={left:f.left+v-(k.left+E)+m,top:f.top+p-(k.top+S)+l},g=k):(y=c.offset(t),h=t.clientHeight,b=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},w={left:f.left-(y.left+(parseFloat(c.css(t,"borderLeftWidth"))||0))-a,top:f.top-(y.top+(parseFloat(c.css(t,"borderTopWidth"))||0))-d},O={left:f.left+v-(y.left+b+(parseFloat(c.css(t,"borderRightWidth"))||0))+m,top:f.top+p-(y.top+h+(parseFloat(c.css(t,"borderBottomWidth"))||0))+l}),w.top<0||O.top>0?!0===o?c.scrollTop(t,g.top+w.top):!1===o?c.scrollTop(t,g.top+O.top):w.top<0?c.scrollTop(t,g.top+w.top):c.scrollTop(t,g.top+O.top):r||((o=void 0===o||!!o)?c.scrollTop(t,g.top+w.top):c.scrollTop(t,g.top+O.top)),n&&(w.left<0||O.left>0?!0===s?c.scrollLeft(t,g.left+w.left):!1===s?c.scrollLeft(t,g.left+O.left):w.left<0?c.scrollLeft(t,g.left+w.left):c.scrollLeft(t,g.left+O.left):r||((s=void 0===s||!!s)?c.scrollLeft(t,g.left+w.left):c.scrollLeft(t,g.left+O.left)))}}}]); \ No newline at end of file diff --git a/static/js/48.946bfcf7.chunk.js b/static/js/49.4e50a7ca.chunk.js similarity index 99% rename from static/js/48.946bfcf7.chunk.js rename to static/js/49.4e50a7ca.chunk.js index d60256a22..8f962564b 100644 --- a/static/js/48.946bfcf7.chunk.js +++ b/static/js/49.4e50a7ca.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[48,77],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"7Lfq":function(e,t,n){},BUDl: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}}(),a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r},l=n("eO8H");n("dVyQ");var s=n("sYIF");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 p=function(e){function t(){return c(this,t),u(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:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,r=this.props.item;return i.default.createElement("div",{className:"activity_item"},i.default.createElement("div",{className:"flex1"},"VersionRelease"===r.trend_type?i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/version",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)):"Issue"===r.trend_type?i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/issues/"+r.trend_id+"/detail",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)):i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/pulls/"+r.trend_id+"/Messagecount",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)),i.default.createElement("p",{className:"itemLine mt10"},i.default.createElement(l.Link,{to:"/users/"+(r&&r.user_login),className:"show-user-link"},i.default.createElement("img",{alt:"",src:(0,s.getImageUrl)("images/"+r.user_avatar),className:"createImage"}),i.default.createElement("span",{className:"mr20"},r.user_name)),r.created_at&&i.default.createElement("span",{className:"color-grey-9"},"创建于",i.default.createElement("span",{className:"ml2 color-grey-6"},r.created_at)))))}}]),t}(a.Component);t.default=p},C5VC:function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dVyQ:function(e,t,n){},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),p=n.n(u),f={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},y=n("VCL8"),g=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};var b=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return h.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=p()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,p=e.overlayClassName,f=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),b=u;return b||-1===d.indexOf("contextMenu")||(b=["click"]),o.a.createElement(c.a,g({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:p,popupStyle:f,builtinPlacements:m,action:d,showAction:s,hideAction:b||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);b.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},b.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var h=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(b);var v=b,E=n("H84U"),O=n("6CfX"),w=n("CtXQ"),C=n("CWQg");function N(e){return(N="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 j(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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==N(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(){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 R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=R(t);if(D()){var r=R(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(O.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,f=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),y=r.cloneElement(m,{className:p()(m.props.className,"".concat(d,"-trigger")),disabled:u}),g=u?[]:c;return g&&-1!==g.indexOf("contextMenu")&&(n=!0),r.createElement(v,P({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:f||o,transitionName:e.getTransitionName(),trigger:g,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(E.a,null,this.renderDropDown)}}])&&A(n.prototype,o),a&&A(n,a),l}(r.Component);S.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 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 Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var n=0;n<t.length;n++){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 Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e,t){return!t||"object"!==V(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(){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 X(e){return(X=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 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},F=T.default.Group,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&&Z(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=X(t);if(I()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return W(this,e)});function l(){var e;return Q(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,f=a.children,d=a.className,m=a.overlay,y=a.trigger,g=a.align,b=a.visible,h=a.onVisibleChange,v=a.placement,E=a.getPopupContainer,O=a.href,C=a.icon,N=void 0===C?r.createElement(w.default,{type:"ellipsis"}):C,P=a.title,j=B(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),A=o("dropdown-button",i),k={align:g,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:h,placement:v,getPopupContainer:E||n};return"visible"in e.props&&(k.visible=b),r.createElement(F,M({},j,{className:p()(A,d)}),r.createElement(T.default,{type:l,disabled:s,onClick:c,htmlType:u,href:O,title:P},f),r.createElement(S,k,r.createElement(T.default,{type:l},N)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(E.a,null,this.renderButton)}}])&&z(n.prototype,o),a&&z(n,a),l}(r.Component);L.defaultProps={placement:"bottomRight",type:"default"},S.Button=L;t.default=S},rS1K:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("NUBc")),o=y(n("W9HT")),a=y(n("jsC+")),i=y(n("CtXQ")),l=y(n("BvKs")),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("YQTV"),n("04bd"),n("aIZi"),n("2oDE"),n("2WkQ");var u=n("q1tI"),p=y(u);n("7dqz"),n("C5VC"),n("dVyQ");var f=y(n("2CTR")),d=y(n("BUDl")),m=y(n("vDqi"));function y(e){return e&&e.__esModule?e:{default:e}}var g=[{id:1,name:"1天"},{id:3,name:"3天"},{id:7,name:"1周"},{id:30,name:"1个月"}],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.state,t=e.time,r=e.type,o=e.status,a=e.page;n.setState({isSpin:!0}),n.getInfo(t,r,o,a)},n.getInfo=function(e,t,r,o){var a=n.props.match.params,i=a.projectsId,l="/"+a.owner+"/"+i+"/activity.json";m.default.get(l,{params:{time:e,type:t,status:r,page:o}}).then((function(e){e&&n.setState({data:e.data,project_trends:e.data.project_trends,isSpin:!1})})).catch((function(e){console.log(e)}))},n.changeTime=function(e){n.setState({time:e.key,isSpin:!0});var t=n.state,r=t.type,o=t.status,a=t.page;n.getInfo(e.key,r,o,a)},n.changeTrends=function(e,t){n.setState({type:e,status:t});var r=n.state,o=r.time,a=r.page;n.getInfo(o,e,t,a)},n.ChangePage=function(e){n.setState({page:e});var t=n.state,r=t.time,o=t.type,a=t.status;n.getInfo(r,o,a,e)},n.menu=function(){return p.default.createElement(l.default,null,g&&g.map((function(e,t){return p.default.createElement(l.default.Item,{key:e.id,onClick:n.changeTime},e.name)})))},n.state={time:"30",type:void 0,state:void 0,page:1,data:void 0,project_trends: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),c(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.time,l=t.data,c=t.page,u=t.project_trends,m=t.isSpin,y=n&&g.filter((function(e){return e.id===parseInt(n)})),b=parseInt(l&&l.close_issues_count)/parseInt(l&&l.issues_count)*100+"%",h=parseInt(l&&l.close_issues_count)/parseInt(l&&l.issues_count)*100+"%",v=parseInt(l&&l.open_issues_count)/parseInt(l&&l.issues_count)*100+"%";return p.default.createElement("div",{className:"main"},p.default.createElement("div",{className:"normalBox"},p.default.createElement("div",{class:"normalBox-title"},"概览"),p.default.createElement("div",{className:"orderInfo"},p.default.createElement("div",null,p.default.createElement("div",{className:"percentLine prPercent"},p.default.createElement("p",{className:"percent_purple",style:{width:"100%"}}),p.default.createElement("p",{className:"percent_green resetStyle",style:{width:""+b}})),p.default.createElement("span",null,l&&l.pr_all_count,"合并请求")),p.default.createElement("div",null,p.default.createElement("div",{className:"percentLine"},p.default.createElement("p",{className:"percent_red",style:{width:""+h}}),p.default.createElement("p",{className:"percent_green",style:{width:""+v}})),p.default.createElement("span",null,l&&l.issues_count,"任务"))),p.default.createElement("ul",{className:"percentBox"},p.default.createElement("li",null,p.default.createElement("span",{className:"purple"},l&&l.pr_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("PullRequest","close")}},"已处理的合并请求")),p.default.createElement("li",null,p.default.createElement("span",{className:"green"},l&&l.new_pr_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("PullRequest","create")}},"未处理的合并请求")),p.default.createElement("li",null,p.default.createElement("span",{className:"red"},l&&l.close_issues_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("Issue","close")}},"已关闭的任务")),p.default.createElement("li",null,p.default.createElement("span",{className:"green"},l&&l.open_issues_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("Issue","create")}},"未处理的任务")))),p.default.createElement("div",{className:"df trendsTop mt20"},p.default.createElement("div",{className:"branchDropdown f-wrap-alignCenter"},p.default.createElement(a.default,{overlay:this.menu(),trigger:["click"],placement:"bottomLeft"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-grey-9 mr3"},"周期:"),y&&y.length>0&&y[0].name," ",p.default.createElement(i.default,{type:"down"}))))),p.default.createElement(o.default,{spinning:m},u&&u.length>0?p.default.createElement("div",{className:"activity_list"},u&&u.map((function(t,n){return p.default.createElement(d.default,s({item:t},e.props))}))):p.default.createElement(f.default,{_html:"暂时还没有相关数据!"})),l&&l.project_trends_size>0&&l.project_trends_size>15&&p.default.createElement("div",{className:"pageDIV"},p.default.createElement(r.default,{showQuickJumper:!0,defaultCurrent:c,total:l&&l.project_trends_size,pageSize:15,onChange:this.ChangePage})))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[49,78],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),i=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 u=function(e){function t(){return s(this,t),c(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.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:i.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=u},"7Lfq":function(e,t,n){},BUDl: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}}(),a=n("q1tI"),i=(r=a)&&r.__esModule?r:{default:r},l=n("eO8H");n("dVyQ");var s=n("sYIF");function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 p=function(e){function t(){return c(this,t),u(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:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,r=this.props.item;return i.default.createElement("div",{className:"activity_item"},i.default.createElement("div",{className:"flex1"},"VersionRelease"===r.trend_type?i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/version",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)):"Issue"===r.trend_type?i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/issues/"+r.trend_id+"/detail",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)):i.default.createElement("p",{className:"itemLine"},i.default.createElement(l.Link,{to:"/projects/"+n+"/"+t+"/pulls/"+r.trend_id+"/Messagecount",className:"color-blue font-16"},r.name),i.default.createElement("span",{className:"activity_type"},r.trend_type)),i.default.createElement("p",{className:"itemLine mt10"},i.default.createElement(l.Link,{to:"/users/"+(r&&r.user_login),className:"show-user-link"},i.default.createElement("img",{alt:"",src:(0,s.getImageUrl)("images/"+r.user_avatar),className:"createImage"}),i.default.createElement("span",{className:"mr20"},r.user_name)),r.created_at&&i.default.createElement("span",{className:"color-grey-9"},"创建于",i.default.createElement("span",{className:"ml2 color-grey-6"},r.created_at)))))}}]),t}(a.Component);t.default=p},C5VC:function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},dVyQ:function(e,t,n){},"jsC+":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("i8i4"),s=n.n(l),c=n("uciX"),u=n("TSYQ"),p=n.n(u),f={adjustX:1,adjustY:1},d=[0,0],m={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},y=n("VCL8"),g=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};var b=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return h.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=p()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,a=e.align,i=e.placement,l=e.getPopupContainer,s=e.showAction,u=e.hideAction,p=e.overlayClassName,f=e.overlayStyle,d=e.trigger,y=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),b=u;return b||-1===d.indexOf("contextMenu")||(b=["click"]),o.a.createElement(c.a,g({},y,{prefixCls:t,ref:this.saveTrigger,popupClassName:p,popupStyle:f,builtinPlacements:m,action:d,showAction:s,hideAction:b||[],popupPlacement:i,popupAlign:a,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);b.propTypes={minOverlayWidthMatchTrigger:i.a.bool,onVisibleChange:i.a.func,onOverlayClick:i.a.func,prefixCls:i.a.string,children:i.a.any,transitionName:i.a.string,overlayClassName:i.a.string,openClassName:i.a.string,animation:i.a.any,align:i.a.object,overlayStyle:i.a.object,placement:i.a.string,overlay:i.a.oneOfType([i.a.node,i.a.func]),trigger:i.a.array,alignPoint:i.a.bool,showAction:i.a.array,hideAction:i.a.array,getPopupContainer:i.a.func,visible:i.a.bool,defaultVisible:i.a.bool},b.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var h=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(y.polyfill)(b);var v=b,E=n("H84U"),O=n("6CfX"),w=n("CtXQ"),C=n("CWQg");function N(e){return(N="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 j(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 k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){return!t||"object"!==N(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(){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 R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(C.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");var 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&&k(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=R(t);if(D()){var r=R(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return x(this,e)});function l(){var e;return j(this,l),(e=i.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var a=(n=r.Children.only(n)).props;Object(O.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,l=void 0!==i&&i,s=a.focusable,c=void 0===s||s,u=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:c,expandIcon:u})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,a=t.getPrefixCls,i=e.props,l=i.prefixCls,s=i.children,c=i.trigger,u=i.disabled,f=i.getPopupContainer,d=a("dropdown",l),m=r.Children.only(s),y=r.cloneElement(m,{className:p()(m.props.className,"".concat(d,"-trigger")),disabled:u}),g=u?[]:c;return g&&-1!==g.indexOf("contextMenu")&&(n=!0),r.createElement(v,P({alignPoint:n},e.props,{prefixCls:d,getPopupContainer:f||o,transitionName:e.getTransitionName(),trigger:g,overlay:function(){return e.renderOverlay(d)}}),y)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(E.a,null,this.renderDropDown)}}])&&A(n.prototype,o),a&&A(n,a),l}(r.Component);S.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var T=n("2/Rp");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 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 Q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(e,t){for(var n=0;n<t.length;n++){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 Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function W(e,t){return!t||"object"!==V(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(){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 X(e){return(X=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 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},F=T.default.Group,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&&Z(e,t)}(l,e);var t,n,o,a,i=(t=l,function(){var e,n=X(t);if(I()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return W(this,e)});function l(){var e;return Q(this,l),(e=i.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,a=e.props,i=a.prefixCls,l=a.type,s=a.disabled,c=a.onClick,u=a.htmlType,f=a.children,d=a.className,m=a.overlay,y=a.trigger,g=a.align,b=a.visible,h=a.onVisibleChange,v=a.placement,E=a.getPopupContainer,O=a.href,C=a.icon,N=void 0===C?r.createElement(w.default,{type:"ellipsis"}):C,P=a.title,j=B(a,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),A=o("dropdown-button",i),k={align:g,overlay:m,disabled:s,trigger:s?[]:y,onVisibleChange:h,placement:v,getPopupContainer:E||n};return"visible"in e.props&&(k.visible=b),r.createElement(F,M({},j,{className:p()(A,d)}),r.createElement(T.default,{type:l,disabled:s,onClick:c,htmlType:u,href:O,title:P},f),r.createElement(S,k,r.createElement(T.default,{type:l},N)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(E.a,null,this.renderButton)}}])&&z(n.prototype,o),a&&z(n,a),l}(r.Component);L.defaultProps={placement:"bottomRight",type:"default"},S.Button=L;t.default=S},rS1K:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n("NUBc")),o=y(n("W9HT")),a=y(n("jsC+")),i=y(n("CtXQ")),l=y(n("BvKs")),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("YQTV"),n("04bd"),n("aIZi"),n("2oDE"),n("2WkQ");var u=n("q1tI"),p=y(u);n("7dqz"),n("C5VC"),n("dVyQ");var f=y(n("2CTR")),d=y(n("BUDl")),m=y(n("vDqi"));function y(e){return e&&e.__esModule?e:{default:e}}var g=[{id:1,name:"1天"},{id:3,name:"3天"},{id:7,name:"1周"},{id:30,name:"1个月"}],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.state,t=e.time,r=e.type,o=e.status,a=e.page;n.setState({isSpin:!0}),n.getInfo(t,r,o,a)},n.getInfo=function(e,t,r,o){var a=n.props.match.params,i=a.projectsId,l="/"+a.owner+"/"+i+"/activity.json";m.default.get(l,{params:{time:e,type:t,status:r,page:o}}).then((function(e){e&&n.setState({data:e.data,project_trends:e.data.project_trends,isSpin:!1})})).catch((function(e){console.log(e)}))},n.changeTime=function(e){n.setState({time:e.key,isSpin:!0});var t=n.state,r=t.type,o=t.status,a=t.page;n.getInfo(e.key,r,o,a)},n.changeTrends=function(e,t){n.setState({type:e,status:t});var r=n.state,o=r.time,a=r.page;n.getInfo(o,e,t,a)},n.ChangePage=function(e){n.setState({page:e});var t=n.state,r=t.time,o=t.type,a=t.status;n.getInfo(r,o,a,e)},n.menu=function(){return p.default.createElement(l.default,null,g&&g.map((function(e,t){return p.default.createElement(l.default.Item,{key:e.id,onClick:n.changeTime},e.name)})))},n.state={time:"30",type:void 0,state:void 0,page:1,data:void 0,project_trends: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),c(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.time,l=t.data,c=t.page,u=t.project_trends,m=t.isSpin,y=n&&g.filter((function(e){return e.id===parseInt(n)})),b=parseInt(l&&l.close_issues_count)/parseInt(l&&l.issues_count)*100+"%",h=parseInt(l&&l.close_issues_count)/parseInt(l&&l.issues_count)*100+"%",v=parseInt(l&&l.open_issues_count)/parseInt(l&&l.issues_count)*100+"%";return p.default.createElement("div",{className:"main"},p.default.createElement("div",{className:"normalBox"},p.default.createElement("div",{class:"normalBox-title"},"概览"),p.default.createElement("div",{className:"orderInfo"},p.default.createElement("div",null,p.default.createElement("div",{className:"percentLine prPercent"},p.default.createElement("p",{className:"percent_purple",style:{width:"100%"}}),p.default.createElement("p",{className:"percent_green resetStyle",style:{width:""+b}})),p.default.createElement("span",null,l&&l.pr_all_count,"合并请求")),p.default.createElement("div",null,p.default.createElement("div",{className:"percentLine"},p.default.createElement("p",{className:"percent_red",style:{width:""+h}}),p.default.createElement("p",{className:"percent_green",style:{width:""+v}})),p.default.createElement("span",null,l&&l.issues_count,"任务"))),p.default.createElement("ul",{className:"percentBox"},p.default.createElement("li",null,p.default.createElement("span",{className:"purple"},l&&l.pr_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("PullRequest","close")}},"已处理的合并请求")),p.default.createElement("li",null,p.default.createElement("span",{className:"green"},l&&l.new_pr_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("PullRequest","create")}},"未处理的合并请求")),p.default.createElement("li",null,p.default.createElement("span",{className:"red"},l&&l.close_issues_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("Issue","close")}},"已关闭的任务")),p.default.createElement("li",null,p.default.createElement("span",{className:"green"},l&&l.open_issues_count),p.default.createElement("span",{className:"change",onClick:function(){return e.changeTrends("Issue","create")}},"未处理的任务")))),p.default.createElement("div",{className:"df trendsTop mt20"},p.default.createElement("div",{className:"branchDropdown f-wrap-alignCenter"},p.default.createElement(a.default,{overlay:this.menu(),trigger:["click"],placement:"bottomLeft"},p.default.createElement("a",{className:"ant-dropdown-link"},p.default.createElement("span",{className:"color-grey-9 mr3"},"周期:"),y&&y.length>0&&y[0].name," ",p.default.createElement(i.default,{type:"down"}))))),p.default.createElement(o.default,{spinning:m},u&&u.length>0?p.default.createElement("div",{className:"activity_list"},u&&u.map((function(t,n){return p.default.createElement(d.default,s({item:t},e.props))}))):p.default.createElement(f.default,{_html:"暂时还没有相关数据!"})),l&&l.project_trends_size>0&&l.project_trends_size>15&&p.default.createElement("div",{className:"pageDIV"},p.default.createElement(r.default,{showQuickJumper:!0,defaultCurrent:c,total:l&&l.project_trends_size,pageSize:15,onChange:this.ChangePage})))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file diff --git a/static/js/49.28c69eb3.chunk.js b/static/js/50.72a2e257.chunk.js similarity index 99% rename from static/js/49.28c69eb3.chunk.js rename to static/js/50.72a2e257.chunk.js index 67ea2342c..99f27bad8 100644 --- a/static/js/49.28c69eb3.chunk.js +++ b/static/js/50.72a2e257.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[49],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=c(a),i=c(n("dF3D"));function c(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 l(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 s=function(e){function t(){return u(this,t),l(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:i.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=s},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("diRs")),a=f(n("W9HT")),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("Aosp"),n("04bd"),n("1vPl");var u=n("q1tI"),l=f(u);n("C5VC");var s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function p(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=p(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,H(r),Y(r),X(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),m=(n=p(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,H(r),Y(r),X(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),d=e.projectsId,h=e.branch,v=e.owner,g=e.changeBranch,b=e.branchList,y=e.tagflag,E=void 0===y||y,w=(0,u.useState)(h),O=c(w,2),A=O[0],N=O[1],k=(0,u.useState)(void 0),x=c(k,2),P=x[0],j=x[1],D=(0,u.useState)(0),C=c(D,2),S=C[0],R=C[1],z=(0,u.useState)(!0),B=c(z,2),Z=B[0],X=B[1],F=(0,u.useState)(!1),M=c(F,2),Q=M[0],I=M[1],W=(0,u.useState)(void 0),q=c(W,2),V=q[0],H=q[1],L=(0,u.useState)(void 0),T=c(L,2),G=T[0],Y=T[1];function K(e){R(e),X(!0),0===e?f(d,v):m(d,v)}(0,u.useEffect)((function(){N(h)}),[h]),(0,u.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||I(!1)}))})),(0,u.useEffect)((function(){b&&(H(b),Y(b),X(!1))}),[b]);var U=l.default.createElement("div",null,l.default.createElement("div",{className:"padding10 bor-bottom-greyE"},l.default.createElement(o.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:P,onChange:function(e){j(e.target.value);var t=e.target.value?V&&V.length>0&&V.filter((function(t){return t.name.indexOf(e.target.value)>-1})):V;Y(t)},style:{width:"220px"}}),l.default.createElement("ul",{className:"navUl"},l.default.createElement("li",{className:0===S?"navli active":"navli",onClick:function(){return K(0)}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),E&&l.default.createElement("li",{className:1===S?"navli active":"navli",onClick:function(){return K(1)}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),l.default.createElement(a.default,{spinning:Z},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},G&&G.length>0?G.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void g(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})):l.default.createElement("p",{className:"listTips"},"暂无",P,0===S?"分支":"标签","~"))));return l.default.createElement(r.default,{placement:"bottom",visible:Q,content:U,onClick:function(){return I(!Q)},overlayClassName:"branch-tagBox-list"},l.default.createElement("div",{className:"branch-tagBox"},l.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===S?"分支":"标签",":"),l.default.createElement("a",{className:"ant-dropdown-link"},A),l.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},C5VC:function(e,t,n){},"Dt+G":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}},VEFH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("NUBc")),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}}();n("04bd"),n("YQTV");var i=n("q1tI"),c=d(i),u=n("sYIF"),l=n("PhNK"),s=d(n("3Diz")),f=d(n("2CTR")),p=(n("tnhM"),d(n("vDqi"))),m=n("eO8H");function d(e){return e&&e.__esModule?e:{default:e}}var 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(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;p.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,r=t.page,a=t.limit;n.setState({isSpining:!0}),n.getCommitList(e,r,a)},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";p.default.get(i,{params:{sha: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,image_url:e.author&&e.author.image_url,sha:e.sha,time_from_now:e.time_from_now,message:e.message})})),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("/projects/"+a+"/"+r+"/commits/branch/"+e)},n.ChangePage=function(e){var t=n.props.match.params.branchName,r=n.state.limit;n.getCommitList(t,e,r)},n.state={commitDatas:void 0,dataCount:void 0,limit:20,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),o(t,[{key:"render",value:function(){var e=this.state,t=e.commitDatas,n=e.dataCount,o=e.limit,i=e.page,p=e.isSpining,d=e.branchList,h=this.props,v=h.projectDetail,g=h.commit_class,b=h.defaultBranch,y=this.props.match.params,E=y.projectsId,w=y.owner,O=y.branchName||b;return c.default.createElement(c.default.Fragment,null,c.default.createElement("div",{className:g},c.default.createElement("div",{className:"f-wrap-between"},c.default.createElement(s.default,{repo_id:v&&v.repo_id,projectsId:E,branch:O,changeBranch:this.changeBranch,owner:w,history:this.props.history,branchList:d})),c.default.createElement(r.default,{spinning:p},c.default.createElement("div",{className:"commonBox"},c.default.createElement("div",{className:"commonBox-title"},c.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},c.default.createElement("span",{className:"font-16"},n,"次提交代码(",O,")"))),c.default.createElement("div",{className:"commitList"},t&&t.length>0?t.map((function(e,t){return c.default.createElement("div",{key:t},c.default.createElement("p",{className:"f-wrap-alignCenter"},c.default.createElement(m.Link,{to:"/projects/"+w+"/"+E+"/commits/"+(0,l.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,l.truncateCommitId)(""+e.sha)),c.default.createElement(m.Link,{to:"/projects/"+w+"/"+E+"/commits/"+(0,l.truncateCommitId)(""+e.sha),className:"flex1 ml20 font-16 color-grey-3"},e.message)),c.default.createElement("p",{className:"f-wrap-alignCenter mt15"},c.default.createElement(m.Link,{to:"/users/"+e.login,className:"show-user-link"},e.image_url?c.default.createElement("img",{src:(0,u.getImageUrl)("images/"+e.image_url),alt:"",width:"28px",height:"28px",className:"mr15 radius"}):"",c.default.createElement("label",{className:"font-14 color-grey-6",style:{verticalAlign:"middle"}},e.name?e.name+":":"","提交于 ",e.time_from_now))))})):c.default.createElement(f.default,{_html:"暂无数据"}))),n>o?c.default.createElement("div",{className:"edu-txt-center pt30 mb30"},c.default.createElement(a.default,{simple:!0,defaultCurrent:i,total:n,pageSize:o,onChange:this.ChangePage})):"")))}}]),t}(i.Component);t.default=h},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return v}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),i=n("6CfX");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 m(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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},v=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&&f(e,t)}(b,e);var t,n,c,v,g=(t=b,function(){var e,n=d(t);if(m()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return l(this,b),(e=g.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,c=h(o,["prefixCls"]);delete c.title;var l=n("popover",i);return r.createElement(a.default,u({},c,{prefixCls:l,ref:e.saveTooltip,overlay:e.getOverlay(l)}))},e}return n=b,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(i.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&s(n.prototype,c),v&&s(n,v),b}(r.Component);v.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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;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)})}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[50],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=c(a),i=c(n("dF3D"));function c(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 l(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 s=function(e){function t(){return u(this,t),l(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:i.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=s},"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("diRs")),a=f(n("W9HT")),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("Aosp"),n("04bd"),n("1vPl");var u=n("q1tI"),l=f(u);n("C5VC");var s=n("tnhM");function f(e){return e&&e.__esModule?e:{default:e}}function p(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=p(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,H(r),Y(r),X(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),m=(n=p(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,H(r),Y(r),X(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),d=e.projectsId,h=e.branch,v=e.owner,g=e.changeBranch,b=e.branchList,y=e.tagflag,E=void 0===y||y,w=(0,u.useState)(h),O=c(w,2),A=O[0],N=O[1],k=(0,u.useState)(void 0),x=c(k,2),P=x[0],j=x[1],D=(0,u.useState)(0),C=c(D,2),S=C[0],R=C[1],z=(0,u.useState)(!0),B=c(z,2),Z=B[0],X=B[1],F=(0,u.useState)(!1),M=c(F,2),Q=M[0],I=M[1],W=(0,u.useState)(void 0),q=c(W,2),V=q[0],H=q[1],L=(0,u.useState)(void 0),T=c(L,2),G=T[0],Y=T[1];function K(e){R(e),X(!0),0===e?f(d,v):m(d,v)}(0,u.useEffect)((function(){N(h)}),[h]),(0,u.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||I(!1)}))})),(0,u.useEffect)((function(){b&&(H(b),Y(b),X(!1))}),[b]);var U=l.default.createElement("div",null,l.default.createElement("div",{className:"padding10 bor-bottom-greyE"},l.default.createElement(o.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:P,onChange:function(e){j(e.target.value);var t=e.target.value?V&&V.length>0&&V.filter((function(t){return t.name.indexOf(e.target.value)>-1})):V;Y(t)},style:{width:"220px"}}),l.default.createElement("ul",{className:"navUl"},l.default.createElement("li",{className:0===S?"navli active":"navli",onClick:function(){return K(0)}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),E&&l.default.createElement("li",{className:1===S?"navli active":"navli",onClick:function(){return K(1)}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),l.default.createElement(a.default,{spinning:Z},l.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},G&&G.length>0?G.map((function(e,t){return l.default.createElement("li",{key:t,onClick:function(){return t=e.name,void g(t);var t}},l.default.createElement("a",{className:"task-hide ulALink"},e.name))})):l.default.createElement("p",{className:"listTips"},"暂无",P,0===S?"分支":"标签","~"))));return l.default.createElement(r.default,{placement:"bottom",visible:Q,content:U,onClick:function(){return I(!Q)},overlayClassName:"branch-tagBox-list"},l.default.createElement("div",{className:"branch-tagBox"},l.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===S?"分支":"标签",":"),l.default.createElement("a",{className:"ant-dropdown-link"},A),l.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},C5VC:function(e,t,n){},"Dt+G":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}},VEFH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(n("NUBc")),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}}();n("04bd"),n("YQTV");var i=n("q1tI"),c=d(i),u=n("sYIF"),l=n("PhNK"),s=d(n("3Diz")),f=d(n("2CTR")),p=(n("tnhM"),d(n("vDqi"))),m=n("eO8H");function d(e){return e&&e.__esModule?e:{default:e}}var 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(){n.Init(),n.getBranchs()},n.getBranchs=function(){var e=n.props.match.params,t=e.projectsId,r=e.owner;p.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,r=t.page,a=t.limit;n.setState({isSpining:!0}),n.getCommitList(e,r,a)},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";p.default.get(i,{params:{sha: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,image_url:e.author&&e.author.image_url,sha:e.sha,time_from_now:e.time_from_now,message:e.message})})),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("/projects/"+a+"/"+r+"/commits/branch/"+e)},n.ChangePage=function(e){var t=n.props.match.params.branchName,r=n.state.limit;n.getCommitList(t,e,r)},n.state={commitDatas:void 0,dataCount:void 0,limit:20,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),o(t,[{key:"render",value:function(){var e=this.state,t=e.commitDatas,n=e.dataCount,o=e.limit,i=e.page,p=e.isSpining,d=e.branchList,h=this.props,v=h.projectDetail,g=h.commit_class,b=h.defaultBranch,y=this.props.match.params,E=y.projectsId,w=y.owner,O=y.branchName||b;return c.default.createElement(c.default.Fragment,null,c.default.createElement("div",{className:g},c.default.createElement("div",{className:"f-wrap-between"},c.default.createElement(s.default,{repo_id:v&&v.repo_id,projectsId:E,branch:O,changeBranch:this.changeBranch,owner:w,history:this.props.history,branchList:d})),c.default.createElement(r.default,{spinning:p},c.default.createElement("div",{className:"commonBox"},c.default.createElement("div",{className:"commonBox-title"},c.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},c.default.createElement("span",{className:"font-16"},n,"次提交代码(",O,")"))),c.default.createElement("div",{className:"commitList"},t&&t.length>0?t.map((function(e,t){return c.default.createElement("div",{key:t},c.default.createElement("p",{className:"f-wrap-alignCenter"},c.default.createElement(m.Link,{to:"/projects/"+w+"/"+E+"/commits/"+(0,l.truncateCommitId)(""+e.sha),className:"commitKey",style:{marginLeft:0}},(0,l.truncateCommitId)(""+e.sha)),c.default.createElement(m.Link,{to:"/projects/"+w+"/"+E+"/commits/"+(0,l.truncateCommitId)(""+e.sha),className:"flex1 ml20 font-16 color-grey-3"},e.message)),c.default.createElement("p",{className:"f-wrap-alignCenter mt15"},c.default.createElement(m.Link,{to:"/users/"+e.login,className:"show-user-link"},e.image_url?c.default.createElement("img",{src:(0,u.getImageUrl)("images/"+e.image_url),alt:"",width:"28px",height:"28px",className:"mr15 radius"}):"",c.default.createElement("label",{className:"font-14 color-grey-6",style:{verticalAlign:"middle"}},e.name?e.name+":":"","提交于 ",e.time_from_now))))})):c.default.createElement(f.default,{_html:"暂无数据"}))),n>o?c.default.createElement("div",{className:"edu-txt-center pt30 mb30"},c.default.createElement(a.default,{simple:!0,defaultCurrent:i,total:n,pageSize:o,onChange:this.ChangePage})):"")))}}]),t}(i.Component);t.default=h},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return v}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),i=n("6CfX");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 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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 m(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=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},v=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&&f(e,t)}(b,e);var t,n,c,v,g=(t=b,function(){var e,n=d(t);if(m()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return l(this,b),(e=g.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,i=o.prefixCls,c=h(o,["prefixCls"]);delete c.title;var l=n("popover",i);return r.createElement(a.default,u({},c,{prefixCls:l,ref:e.saveTooltip,overlay:e.getOverlay(l)}))},e}return n=b,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(i.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&s(n.prototype,c),v&&s(n,v),b}(r.Component);v.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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;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)})}}]); \ No newline at end of file diff --git a/static/js/51.3cb5b49a.chunk.js b/static/js/51.3cb5b49a.chunk.js deleted file mode 100644 index 9d226b53d..000000000 --- a/static/js/51.3cb5b49a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[51],{"7jn6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("q1tI")),r=l(n("La79")),i=l(n("8mQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u={init:"icon-initialize",build:"icon-structure",deploy:"icon-arrange",customize:"icon-newStage",confirm:"icon-sure"};t.default=function(e){var t=e.step,n=e.changeStep,l=e.menuList,o=e.renameFunc,c=e.checkDatas,s=e.addFunc;function f(e,t){s&&s(e,t)}return a.default.createElement("ul",{className:"menus"},l&&l.length>0&&l.map((function(e,s){return a.default.createElement(a.default.Fragment,{key:e.id},a.default.createElement("li",{onClick:function(){return function(e,t,a,r){n(e,t,a,r)}(e.show_index,e.stage_type,e.id,e.stage_name)},className:e.show_index===t?"active":""},a.default.createElement("i",{className:"iconfont "+u[""+e.stage_type]}),a.default.createElement(r.default,{renameFunc:o,id:e.id,name:e.stage_name,edit:"init"!==e.stage_type&&"confirm"!==e.stage_type})),s!==l.length-1&&l.length<7?a.default.createElement(i.default,{checkDatas:c,k:s+2,getName:f}):"")})))}},"8mQL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("5rEg")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var i=n("q1tI"),l=u(i);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.getName,n=e.checkDatas,u=e.k,o=(0,i.useState)(!1),c=r(o,2),s=c[0],f=c[1],d=(0,i.useState)(void 0),m=r(d,2),p=m[0],v=m[1],h=(0,i.useState)(void 0),y=r(h,2),g=y[0],E=y[1],_=(0,i.useState)(void 0),b=r(_,2),S=b[0],N=b[1],w=(0,i.useState)(!1),j=r(w,2),x=j[0],I=j[1];return(0,i.useEffect)((function(){x&&S&&S.focus()})),(0,i.useEffect)((function(){u&&E(u)}),[u]),l.default.createElement("li",{className:"menuAdd"},!s&&l.default.createElement("i",{className:"iconfont icon-tianjia",onClick:function(){var e=n();(e||""===e)&&(f(!0),I(!0))}}),l.default.createElement(a.default,{ref:function(e){return N(e)},size:"small",maxLength:8,style:{width:"75px",display:s?"block":"none"},placeholder:"新阶段名称",value:p,onChange:function(e){return v(e.target.value)},onBlur:function(){p&&t(p,g),v(void 0),f(!1),I(!1)}}))}},CbYd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=n("q1tI"),l=(a=i)&&a.__esModule?a:{default:a};t.default=function(e){var t=e.chooseFunc,n=e.temp,a=e.templateId,u=e.category,o=(0,i.useState)(void 0),c=r(o,2),s=c[0],f=c[1],d=(0,i.useState)(void 0),m=r(d,2),p=m[0],v=m[1],h=(0,i.useState)(void 0),y=r(h,2),g=y[0],E=y[1],_=(0,i.useState)(void 0),b=r(_,2),S=b[0],N=b[1];return(0,i.useEffect)((function(){a&&f(a)}),[a]),(0,i.useEffect)((function(){u&&v(u)}),[u]),(0,i.useEffect)((function(){if(n&&n.length>0)if("初始化"!==n[0].category?N(n):N(void 0),u&&"初始化"!==n[0].category&&"初始化"!==u){var e=n.filter((function(e){return e.category===u})),t=e&&e.length>0&&e[0].templates;E(t),v(u)}else E(n[0].templates),v(n[0].category);else E(void 0),v(void 0),N(void 0)}),[n,u]),l.default.createElement(l.default.Fragment,null,S&&S.length>0&&l.default.createElement("div",{className:"choosenList"},l.default.createElement("span",null,"模板类别:"),l.default.createElement("ul",null,S.map((function(e,n){return l.default.createElement("li",{className:p===e.category?"active":"",onClick:function(){return function(e){v(e);var n=S&&S.filter((function(t){return t.category===e})),a=n&&n[0].templates;E(a);var r=a&&a.length>0&&a[0].id,i=a&&a.length>0&&a[0].content;f(r),t&&t(i,r,e)}(e.category)}},e.category)})))),g&&g.length>0&&l.default.createElement("div",{className:"choosenList"},l.default.createElement("span",null,"模板选择:"),l.default.createElement("ul",null,g.map((function(e,n){return l.default.createElement("li",{className:s===e.id?"active":"",onClick:function(){return function(e){var n=g.filter((function(t){return t.id===e})),a=n&&n.length>0&&n[0].content;t&&t(a,e,p),f(e)}(e.id)}},e.template_name)})))))}},INjQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("q1tI")),r=i(n("gL5p"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.value,n=e.onChange,i=e.theme,l=e.height,u=e.visible,o={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:u,cursorStyle:u?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return a.default.createElement(r.default,{height:l,language:"yml",theme:i,placeholder:"请输入内容",value:t,options:o,onChange:function(e){return n(e)},disabled:!0})}},"JW/y":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("NJEC"));n("k994");var r=o(n("q1tI")),i=n("spEH"),l=o(n("INjQ")),u=o(n("CbYd"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.item,n=e.templates,o=e.saveItems,c=e.k,s=e.slideItems,f=e.deleteStep;return r.default.createElement("div",{className:"stepsItem"},r.default.createElement(i.FlexAJ,{className:"stepsHead"},r.default.createElement("span",null,t.step_name),r.default.createElement("span",{className:"color-grey-9"},r.default.createElement(a.default,{title:"确定要删除这个步骤吗?",okText:"是",cancelText:"否",onConfirm:function(){return f(t.id,c)}},r.default.createElement("a",null,r.default.createElement("i",{className:"iconfont icon-lajitong1 font-14"}))),r.default.createElement("a",{onClick:function(){return s(c,t.hide)}},r.default.createElement("i",{className:t.hide&&!1!==t.hide?"iconfont icon-triangle font-14":"iconfont icon-sanjiaoxing-down font-14"})))),r.default.createElement("div",{className:t.hide&&!1!==t.hide?"stepsBody":"stepsBody active"},r.default.createElement(u.default,{chooseFunc:function(e,t,n){o(e,t,n,c)},category:t.category,templateId:t.template_id,temp:n}),r.default.createElement(l.default,{value:t.content,onChange:function(e){o(e,t.template_id,t.category,c)},theme:"vs-dark",height:"180px"})))}},JaYJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),l=o(i),u=o(n("INjQ"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.datas,n=e.name,o=e.saveFunc,c=e.sureSubmit,s=e.loading,f=(0,i.useState)(void 0),d=r(f,2),m=d[0],p=d[1];return(0,i.useEffect)((function(){t&&t.content&&p(t.content)}),[t]),l.default.createElement("div",null,l.default.createElement("div",{style:{padding:"0px 15px 15px 15px"}},"工作流名称:",n),l.default.createElement("div",{className:"editorBody",style:{marginTop:"0px"}},l.default.createElement(u.default,{value:m,theme:"vs-grey",height:"600px",visible:!0})),l.default.createElement("div",{className:"mt20"},l.default.createElement(a.default,{type:"primary",onClick:function(){return o(void 0,void 0,void 0,void 0,"last")}},"上一步"),m&&l.default.createElement(a.default,{type:"primary",loading:s,className:"ml20",onClick:function(){c()}},"确定提交")))}},JtPb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=v(n("W9HT")),r=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},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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd");var l=n("q1tI"),u=v(l),o=n("spEH"),c=v(n("gyhb")),s=v(n("7jn6")),f=v(n("Ky7I")),d=v(n("JaYJ")),m=v(n("MIiE")),p=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,l.useState)(!0),n=i(t,2),v=n[0],h=n[1],y=(0,l.useState)(1),g=i(y,2),E=g[0],_=g[1],b=(0,l.useState)(void 0),S=i(b,2),N=S[0],w=S[1],j=(0,l.useState)(void 0),x=i(j,2),I=x[0],k=x[1],C=(0,l.useState)(void 0),A=i(C,2),M=A[0],O=A[1],F=(0,l.useState)(void 0),P=i(F,2),L=P[0],T=P[1],q=(0,l.useState)("init"),J=i(q,2),H=J[0],B=J[1],D=(0,l.useState)(void 0),Q=i(D,2),z=Q[0],W=Q[1],Y=(0,l.useState)(void 0),R=i(Y,2),K=R[0],U=R[1],G=(0,l.useState)(!1),V=i(G,2),X=V[0],Z=V[1],$=(0,l.useState)(!1),ee=i($,2),te=ee[0],ne=ee[1],ae=e.match.params.disposeId,re=e.match.params.projectsId,ie=e.match.params.owner;function le(e){var t="/ci/pipelines/"+ae+"/stages.json";p.default.get(t).then((function(t){if(t&&t.data&&(T(t.data.stages),e||0===e)){var n=t.data.stages[e];_(n.show_index),O(n.id),w(""+n.pipeline_name)}}))}function ue(e){var t="";H&&"confirm"===H?(t="/ci/pipelines/"+ae+"/content.json",p.default.get(t,{params:{owner:ie,repo:re}}).then((function(e){e&&e.data&&W(e.data)})).catch((function(e){}))):(t="/ci/pipelines/"+ae+"/"+e+"/steps.json",p.default.get(t).then((function(e){if(e&&e.data){var t=e.data.steps;W(t);var n=!t||t&&0===t.length;Z(n)}})).catch((function(e){}))),h(!1)}function oe(e){W([].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)}(e))),Z(!0)}function ce(){if(!(z&&z.length>0))return"init"===H?(e.showNotification("请先选择模板!"),!1):"confirm"===H||"";for(var t=0;t<z.length;t++)if(z[t]&&(!z[t].content||!z[t].template_id))return e.showNotification("请先选择模板!"),!1;return!0}function se(t,n,a,r,i){if(h(!0),X&&"confirm"!==H){var l=ce();l&&z&&0!==z.length?function(t,n,a,r,i){var l="/ci/pipelines/"+ae+"/"+M+"/stage_step.json";p.default.post(l,{steps:z}).then((function(l){l&&l.data?(Z(!1),t?de(t):(_(n),B(a),O(r),k(N+"-"+i))):e.showNotification("阶段更新失败,请稍微重试!")})).catch((function(e){}))}(i,t,n,a,r):(h(!1),""===l&&fe(i,t,n,a,r))}else fe(i,t,n,a,r)}function fe(e,t,n,a,r){e?de(e):(_(t),B(n),O(a),k(N+"-"+r))}function de(e){var t=E;"next"===e?t+=1:t-=1;var n=L&&L.filter((function(e){return e.show_index===t}));_(t),B(n[0].stage_type),O(n[0].id),k(N+"-"+n[0].stage_name)}return(0,l.useEffect)((function(){H&&"confirm"!==H&&p.default.get("/ci/templates/templates_by_stage.json",{params:{stage_type:H}}).then((function(e){e&&e.data&&U(e.data)})).catch((function(e){}))}),[H]),(0,l.useEffect)((function(){ae&&H&&"confirm"!==H&&le(0)}),[ae]),(0,l.useEffect)((function(){M&&ue(M)}),[M]),u.default.createElement("div",{className:"disposePanel"},u.default.createElement(c.default,null),u.default.createElement(o.WhiteBack,{style:{padding:"24px 30px"}},u.default.createElement(a.default,{spinning:v},u.default.createElement("div",{style:{minHeight:"450px"}},u.default.createElement(s.default,{step:E,checkDatas:ce,changeStep:function(e,t,n,a){e!==E&&se(e,t,n,a)},menuList:L,renameFunc:function(e,t){var n="/ci/pipelines/"+ae+"/"+t+"/update_stage.json";p.default.put(n,{stage_name:e}).then((function(e){e&&e.data&&le()})).catch((function(e){}))},addFunc:function(t,n){var a="/ci/pipelines/"+ae+"/create_stage.json";p.default.post(a,{show_index:n,stage_name:t}).then((function(t){t&&t.data?(le(n-1),B("customize")):e.showNotification("阶段新增失败!")}))}}),"init"===H?u.default.createElement(f.default,{stage_type:H,templates:K,datas:z,saveDatas:oe,saveFunc:se}):"confirm"===H?u.default.createElement(d.default,{sureSubmit:function(){ne(!0);var t=z.sync||0,n="",a={branch:e.defaultBranch,content:z.content,filepath:".trustie-pipeline.yml",message:"",sha:z.sha||void 0,owner:ie,repo:re};1===t?(n="/"+ie+"/"+re+"/update_trustie_pipeline.json",p.default.put(n,r({},a)).then((function(t){t&&e.history.push("/projects/"+ie+"/"+re+"/devops/dispose"),ne(!1)})).catch((function(e){console.log(e),ne(!1)}))):(n="/ci/pipelines/"+ae+"/create_trustie_pipeline.json",p.default.post(n,a).then((function(t){t&&e.history.push("/projects/"+ie+"/"+re+"/devops/dispose"),ne(!1)})).catch((function(e){console.log(e),ne(!1)})))},name:N,datas:z,saveFunc:se,loading:te}):u.default.createElement(m.default,r({},e,{stepName:I,deleteStep:function(t,n){if(t){var a="/ci/pipelines/"+ae+"/"+M+"/"+t+"/delete_step.json";p.default.delete(a).then((function(t){t&&t.data&&(ue(M),e.showNotification("阶段步骤删除成功!"))})).catch((function(e){}))}else{var r=z.filter((function(e){return e.show_index!==n+1}));W(r)}},stage_type:H,templates:K,datas:z,deleteFunc:function(){var t=L&&L.filter((function(e){return e.show_index===E+1})),n=t&&t.length>0&&t[0].stage_type,a="/ci/pipelines/"+ae+"/"+M+"/delete_stage.json";p.default.delete(a,{params:{show_index:E}}).then((function(t){t&&t.data?(le(E-1),B(n)):e.showNotification("阶段删除失败!")})).catch((function(e){}))},saveDatas:oe,saveFunc:se,deleteFlag:L&&3===L.length}))))))}},Ky7I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),l=c(i),u=c(n("CbYd")),o=c(n("INjQ"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.datas,n=e.templates,c=e.saveFunc,s=e.saveDatas,f=(0,i.useState)(void 0),d=r(f,2),m=d[0],p=d[1],v=(0,i.useState)(void 0),h=r(v,2),y=h[0],g=h[1],E=(0,i.useState)(void 0),_=r(E,2),b=_[0],S=_[1];function N(e,n){var a=t;t&&t.length>0?(a[0].content=n||y,a[0].template_id=e||m):a=[{step_name:"初始化",show_index:1,content:n||y,template_id:e||m}],s(a)}return(0,i.useEffect)((function(){n&&n.length>0&&S(n)}),[n]),(0,i.useEffect)((function(){t&&t.length>0&&(p(t[0].template_id),g(t[0].content))}),[t]),l.default.createElement("div",null,l.default.createElement(u.default,{chooseFunc:function(e,t,n){p(t),g(e),N(t,e)},templateId:m,temp:b}),l.default.createElement("div",{className:"mt15"},l.default.createElement(o.default,{value:y,onChange:g,theme:"vs-dark",height:"400px"})),l.default.createElement("div",{className:"mt20"},l.default.createElement(a.default,{type:"primary",onClick:function(){N(),c(void 0,void 0,void 0,void 0,"next")}},"下一步")))}},La79:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("5rEg")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var i=n("q1tI"),l=u(i);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.name,n=e.edit,u=e.id,o=e.renameFunc,c=(0,i.useState)(void 0),s=r(c,2),f=s[0],d=s[1],m=(0,i.useState)(!1),p=r(m,2),v=p[0],h=p[1],y=(0,i.useState)(void 0),g=r(y,2),E=g[0],_=g[1],b=(0,i.useState)(!1),S=r(b,2),N=(S[0],S[1]);return(0,i.useEffect)((function(){n&&E&&E.focus()})),(0,i.useEffect)((function(){t&&d(t)}),[t]),l.default.createElement("div",{className:"aboutEdit"},l.default.createElement("span",{className:"operateName"},!v&&f,l.default.createElement(a.default,{ref:function(e){return _(e)},value:f,size:"small",maxLength:8,onClick:function(e){return e.stopPropagation()},onBlur:function(e){o(e.target.value,u),N(!1),h(!1)},style:{width:"75px",display:v?"block":"none"},onChange:function(e){return d(e.target.value)}}),!v&&n&&l.default.createElement("i",{className:"iconfont icon-editUnder font-16 color-grey-9",onClick:function(e){e.stopPropagation(),h(!0),N(!0)}})))}},MIiE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("NJEC")),r=s(n("2/Rp")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k994"),n("L/Qf");var l=n("q1tI"),u=s(l),o=n("spEH"),c=s(n("JW/y"));function s(e){return e&&e.__esModule?e:{default:e}}function f(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.default=function(e){var t=e.templates,n=e.datas,s=e.saveDatas,d=e.saveFunc,m=e.stepName,p=e.deleteStep,v=e.deleteFunc,h=e.deleteFlag,y=(0,l.useState)(void 0),g=i(y,2),E=g[0],_=g[1],b=(0,l.useState)(void 0),S=i(b,2),N=S[0],w=S[1];function j(e,t,n,a){var r=E;r[a].content=e,r[a].template_id=t,r[a].category=n,s([].concat(f(r)))}function x(e,t){var n=E;n[e].hide=!t,_([].concat(f(n))),s(n)}function I(e,t){p(e,t)}function k(e){d(void 0,void 0,void 0,void 0,e)}return(0,l.useEffect)((function(){t&&t.length>0&&w(t)}),[t]),(0,l.useEffect)((function(){if(n)if(n.length>0&&E!==n)_(n);else if(0===n.length){_([])}}),[n]),u.default.createElement("div",null,E&&E.length>0&&E.map((function(e,t){return u.default.createElement(c.default,{item:e,templates:N,k:t,saveItems:j,slideItems:x,deleteStep:I})})),u.default.createElement("a",{className:"addBtn",onClick:function(){var e=E,t=e?e.length:0,n=N&&N.length>0&&N[0],a=n&&n.category,r=n&&n.templates&&n.templates.length>0&&n.templates[0],i={category:a,step_name:m+""+(t+1),show_index:t+1,content:r.content,template_id:r.id,hide:!1};e.push(i),s(e)}},"+ 添加步骤"),u.default.createElement("div",{className:"mt20"},u.default.createElement(r.default,{type:"primary",onClick:function(){return k("last")}},"上一步"),u.default.createElement(r.default,{className:"ml20",type:"primary",onClick:function(){return k("next")}},"下一步"),!h&&u.default.createElement(a.default,{title:"确定要删除当前阶段吗",okText:"是",cancelText:"否",onConfirm:v},u.default.createElement(o.Cancel,{className:"ml20"},"删除"))))}},gyhb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),i=(a=r)&&a.__esModule?a:{default:a},l=n("spEH");t.default=function(){return i.default.createElement(l.AlignCenterBetween,null,i.default.createElement("span",{className:"font-20"},"工作流配置"),i.default.createElement("a",{href:"https://forum.trustie.net/forums/3111/detail",target:"_blank",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-tishi1 font-14 mr3"}),"模板使用说明"))}}}]); \ No newline at end of file diff --git a/static/js/50.2e158e3f.chunk.js b/static/js/51.b94b86c8.chunk.js similarity index 99% rename from static/js/50.2e158e3f.chunk.js rename to static/js/51.b94b86c8.chunk.js index 2a39c97a3..71efc23bf 100644 --- a/static/js/50.2e158e3f.chunk.js +++ b/static/js/51.b94b86c8.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[50],{FFNF:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TagsLine=n.Tags=void 0;var a,r=t("q1tI"),l=(a=r)&&a.__esModule?a:{default:a};t("KkuB");n.Tags=function(e){switch(e){case"running":return l.default.createElement("span",{className:"statusColor running"},"运行中");case"failure":case"error":return l.default.createElement("span",{className:"statusColor failed"},"未通过");case"success":return l.default.createElement("span",{className:"statusColor pass"},"已通过");case"pending":return l.default.createElement("span",{className:"statusColor Preparing"},"准备中");case"killed":return l.default.createElement("span",{className:"statusColor killed"},"已撤销")}},n.TagsLine=function(e){switch(e){case"running":return l.default.createElement("span",{className:"statuslineColor running"},"运行中");case"failure":case"error":return l.default.createElement("span",{className:"statuslineColor failed"},"未通过");case"success":return l.default.createElement("span",{className:"statuslineColor pass"},"已通过");case"pending":return l.default.createElement("span",{className:"statuslineColor Preparing"},"准备中");case"killed":return l.default.createElement("span",{className:"statuslineColor killed"},"已撤销");case"skipped":return l.default.createElement("span",{className:"statuslineColor skipped"},"已跳过")}}},KkuB:function(e,n,t){},N5Xz:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a,r,l=h(t("NJEC")),i=h(t("BvKs")),o=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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=(a=["\n {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n margin-right: 10px;\n }\n"],r=["\n {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n margin-right: 10px;\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}})));t("k994"),t("2WkQ");var d=t("q1tI"),u=h(d),c=t("spEH"),p=h(t("vOnD")),f=t("FFNF"),m=t("zxge"),g=t("PhNK"),x=t("sYIF");function h(e){return e&&e.__esModule?e:{default:e}}var b=i.default.SubMenu,v=p.default.img(s);n.default=function(e){var n,t,a=e.data,r=e.repeatSet,s=e.chooseSteps,p=(0,d.useState)(void 0),h=o(p,2),E=(h[0],h[1]),y=(0,d.useState)(void 0),k=o(y,2),w=(k[0],k[1]);return(0,d.useEffect)((function(){if(a&&a.started){var e=1e3*parseInt(a.started),n=(0,m.Time)(e);E(n)}a&&a.after&&w((0,g.truncateCommitId)(a.after))}),[a]),u.default.createElement("div",null,u.default.createElement(c.FlexAJ,{className:"leftheader"},u.default.createElement(c.AlignCenter,null,u.default.createElement(v,{src:(0,x.getUrl)("/images/"+(a&&a.author&&a.author.image_url))}),a&&a.started&&u.default.createElement("span",{className:"nest"},"开始时间:",u.default.createElement("span",null," ",a.started)),a&&a.duration_time&&u.default.createElement("span",{className:"nest"},"运行时间:",u.default.createElement("span",null,a.duration_time))),(n=a&&a.status,t=a&&a.number,"failure"===n||"error"===n||"success"===n?"":"killed"===n?u.default.createElement(l.default,{title:"确认重新构建?",onConfirm:function(e){return r(e,"repeat",t)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},u.default.createElement(c.Blueline,{onClick:function(e){e.stopPropagation()}},"重新构建")):u.default.createElement(l.default,{title:"确认撤销构建?",onConfirm:function(e){return r(e,"cancel",t)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},u.default.createElement(c.Blueline,{onClick:function(e){e.stopPropagation()}},"撤销构建")))),u.default.createElement("div",{className:"leftMainContent"},u.default.createElement(c.AlignCenter,{className:"contentBranch"},u.default.createElement("i",{className:"iconfont icon-fenzhi1"}),u.default.createElement("span",null,"分支:"),u.default.createElement("span",{className:"branchname"},a&&a.branch_target),u.default.createElement("span",{className:"branchsha"},a&&(0,g.truncateCommitId)(a.build_after_sha)))),u.default.createElement(i.default,{mode:"inline",className:"leftMenu",defaultOpenKeys:["0"],defaultSelectedKeys:["0"]},a&&a.stages?a.stages.map((function(e,n){return e.steps&&e.steps.length>0?u.default.createElement(b,{title:u.default.createElement("div",null,u.default.createElement("i",{className:"iconfont icon-gongzuoliu font-14 mr4"}),u.default.createElement("span",null,e.name)),key:""+n},e.steps.map((function(n,t){return u.default.createElement(i.default.Item,{key:""+t,onClick:function(t){return a=e.number,r=n.id,void s(a,r);var a,r}},u.default.createElement(c.FlexAJ,null,u.default.createElement("span",null,n.name," ",n.status?(0,f.TagsLine)(n.status):""),u.default.createElement("span",null,n.duration_time)))}))):""})):""))}},N66O:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=d(t("W9HT")),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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("04bd");var l=t("q1tI"),i=d(l),o=t("spEH"),s=d(t("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=e.data,t=e.stepN,d=e.stageN,u=e.projectId,c=e.owner,p=e.opsId,f=e.rightSpin,m=(0,l.useState)(void 0),g=r(m,2),x=g[0],h=g[1],b=(0,l.useState)(!1),v=r(b,2),E=v[0],y=v[1],k=(0,l.useState)(!0),w=r(k,2),N=w[0],C=w[1],B=(0,l.useState)(void 0),S=r(B,2),j=S[0],_=S[1],M=(0,l.useState)(void 0),F=r(M,2),D=F[0],O=F[1];return(0,l.useEffect)((function(){C(f)}),[f]),(0,l.useEffect)((function(){if(n){var e=n.stages;if(e&&e.length>0){var a=d?e.filter((function(e){return e.number===d}))[0]:e[0];_(a);var r=a&&a.steps,l=t?r&&r.length>0&&r.filter((function(e){return e.id===t}))[0]:r[0];O(l),l&&"skipped"!==l.status&&function(e,n){if(e&&n){var t="/"+c+"/"+u+"/builds/"+p+"/logs/"+e+"/"+n+".json";s.default.get(t).then((function(e){e&&(h(e.data),C(!1))})).catch((function(e){console.log(e)}))}}(a.number,l.number),"skipped"===l.status&&(h(void 0),y(!0),C(!1))}else C(!1)}}),[n,d,t]),i.default.createElement(a.default,{spinning:N},i.default.createElement("div",{className:"rightMainContent"},n&&"error"!==n.status?i.default.createElement("div",null,i.default.createElement(o.FlexAJ,{className:"items"},i.default.createElement("span",null,D&&D.name),i.default.createElement(o.AlignCenter,null,D&&D.duration_time,i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down"}))),i.default.createElement("div",null,x&&x.length>0?x.map((function(e,n){return i.default.createElement("div",{className:"opsDetailOut"},i.default.createElement("span",null,n+1),i.default.createElement("p",null,e.out))})):E?i.default.createElement("div",{className:"opsDetailOut"},i.default.createElement("span",null,"1"),i.default.createElement("p",null,j&&j.name," – ",D&&D.name,": Skipped")):"")):i.default.createElement("div",{style:{color:"red"}},"error:",n&&n.error)))}},PhNK:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e}},spEH:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),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.Long=n.Box=n.AlignCenter=n.FlexAJ=n.AlignCenterBetween=n.Banner=void 0;var a,r=C(["{\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}"]),l=C(["{\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}"]),i=C(["{\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=C(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=C(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),d=C(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=C(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=C(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),p=C(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=C(["{\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}"]),m=C(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=C(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),x=C(["{\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}"]),h=C(["{\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}"]),b=C(["{\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=C(["{\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}"]),E=C(["{\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}"]),y=C(["{\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}"]),k=C(["{\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}"]),w=t("vOnD"),N=(a=w)&&a.__esModule?a:{default:a};function C(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}n.Banner=N.default.div(r),n.AlignCenterBetween=N.default.div(l),n.FlexAJ=N.default.div(i),n.AlignCenter=N.default.div(o),n.Box=N.default.div(s),n.Long=N.default.div(d),n.Short=N.default.div(u),n.Gap=N.default.div(c),n.WhiteBack=N.default.div(p),n.Blueline=N.default.a(f),n.Redline=N.default.a(m),n.Greenline=N.default.a(g),n.Greenback=N.default.a(x),n.Blueback=N.default.a(h),n.Redback=N.default.a(b),n.NumUl=N.default.ul(v),n.GreenUnder=N.default.a(E),n.Cancel=N.default.a(y),n.Content=N.default.div(k)},y8uv:function(e,n,t){},ya74:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=m(t("W9HT")),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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("04bd");var l=t("q1tI"),i=m(l);t("y8uv");var o=t("spEH"),s=t("FFNF"),d=m(t("dZ1t")),u=m(t("N5Xz")),c=m(t("N66O")),p=m(t("vDqi")),f=t("eO8H");function m(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=(0,l.useState)(void 0),t=r(n,2),m=t[0],g=t[1],x=(0,l.useState)(void 0),h=r(x,2),b=h[0],v=h[1],E=(0,l.useState)(void 0),y=r(E,2),k=y[0],w=y[1],N=(0,l.useState)(!1),C=r(N,2),B=C[0],S=C[1],j=(0,l.useState)(!0),_=r(j,2),M=_[0],F=_[1],D=e.match.params.projectId,O=e.match.params.owner,I=e.match.params.opsId;function A(){var e="/"+O+"/"+D+"/builds/"+I+".json";p.default.get(e).then((function(e){e&&e.data&&(F(!1),g(e.data))})).catch((function(e){console.log(e),F(!1)}))}return(0,l.useEffect)((function(){I&&D&&A()}),[I]),i.default.createElement(a.default,{spinning:M},i.default.createElement("div",{className:"opsDetailPanel"},i.default.createElement(o.FlexAJ,{className:"opsInfos"},i.default.createElement(o.AlignCenter,null,i.default.createElement("span",null,"#",m&&m.number),i.default.createElement("span",{className:"ml10"},m&&m.message),(0,s.Tags)(""+(m&&m.status))),i.default.createElement(f.Link,{style:{color:"#ddd"},to:"/projects/"+O+"/"+D+"/devops/list"},i.default.createElement("i",{className:"iconfont icon-yiguanbi font-15 mr5"}),"退出")),i.default.createElement("div",{className:"opsSection"},i.default.createElement(d.default,{className:"outer-split-pane",split:"vertical",minSize:468,maxSize:-350,defaultSize:"40%"},i.default.createElement("section",{className:"leftSection"},i.default.createElement(u.default,{data:m,repeatSet:function(n,t,a){if("repeat"===t){var r="/"+O+"/"+D+"/builds/"+a+"/restart.json";p.default.post(r).then((function(n){n&&n.data&&(e.showNotification("工作流正在重新构建!"),e.history.push("/projects/"+O+"/"+D+"/devops/"+n.data.number+"/detail"))})).catch((function(e){console.log(e)}))}else{var l="/"+O+"/"+D+"/builds/"+a+"/stop.json";p.default.delete(l).then((function(n){n&&(e.showNotification("撤销构建成功!"),A())})).catch((function(e){console.log(e)}))}},chooseSteps:function(e,n){e&&n&&(w(n),v(e),S(!0))}})),i.default.createElement("section",{className:"rightSection"},i.default.createElement(c.default,{data:m,rightSpin:B,stepN:k,stageN:b,owner:O,projectId:D,opsId:I}))))))}},zxge:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getDateTime=function(e,n){return Date.prototype.format=function(e){var n={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),"S+":this.getMilliseconds()};for(var t in/(y+)/i.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+t+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[t]:("00"+n[t]).substr((""+n[t]).length)));return e},new Date(e).format(n)},n.Time=function(e){var n,t,a=new Date(e),r=a.getFullYear(),l=a.getMonth()+1,i=a.getDate(),o=a.getHours(),s=a.getMinutes(),d=a.getTime(),u=new Date,c=u.getTime();t=(n=c-d)<=6e4?"刚刚":6e4<n&&n<=36e5?Math.round(n/6e4)+"分钟前":36e5<n&&n<=864e5?Math.round(n/36e5)+"小时前":864e5<n&&n<=1296e6?Math.round(n/864e5)+"天前":n>1296e6&&r==u.getFullYear()?l+"-"+i+" "+o+":"+s:r+"-"+l+"-"+i+" "+o+":"+s;return t}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[51],{FFNF:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.TagsLine=n.Tags=void 0;var a,r=t("q1tI"),l=(a=r)&&a.__esModule?a:{default:a};t("KkuB");n.Tags=function(e){switch(e){case"running":return l.default.createElement("span",{className:"statusColor running"},"运行中");case"failure":case"error":return l.default.createElement("span",{className:"statusColor failed"},"未通过");case"success":return l.default.createElement("span",{className:"statusColor pass"},"已通过");case"pending":return l.default.createElement("span",{className:"statusColor Preparing"},"准备中");case"killed":return l.default.createElement("span",{className:"statusColor killed"},"已撤销")}},n.TagsLine=function(e){switch(e){case"running":return l.default.createElement("span",{className:"statuslineColor running"},"运行中");case"failure":case"error":return l.default.createElement("span",{className:"statuslineColor failed"},"未通过");case"success":return l.default.createElement("span",{className:"statuslineColor pass"},"已通过");case"pending":return l.default.createElement("span",{className:"statuslineColor Preparing"},"准备中");case"killed":return l.default.createElement("span",{className:"statuslineColor killed"},"已撤销");case"skipped":return l.default.createElement("span",{className:"statuslineColor skipped"},"已跳过")}}},KkuB:function(e,n,t){},N5Xz:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a,r,l=h(t("NJEC")),i=h(t("BvKs")),o=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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")},s=(a=["\n {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n margin-right: 10px;\n }\n"],r=["\n {\n width: 25px;\n height: 25px;\n border-radius: 50%;\n margin-right: 10px;\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(r)}})));t("k994"),t("2WkQ");var d=t("q1tI"),u=h(d),c=t("spEH"),p=h(t("vOnD")),f=t("FFNF"),m=t("zxge"),g=t("PhNK"),x=t("sYIF");function h(e){return e&&e.__esModule?e:{default:e}}var b=i.default.SubMenu,v=p.default.img(s);n.default=function(e){var n,t,a=e.data,r=e.repeatSet,s=e.chooseSteps,p=(0,d.useState)(void 0),h=o(p,2),E=(h[0],h[1]),y=(0,d.useState)(void 0),k=o(y,2),w=(k[0],k[1]);return(0,d.useEffect)((function(){if(a&&a.started){var e=1e3*parseInt(a.started),n=(0,m.Time)(e);E(n)}a&&a.after&&w((0,g.truncateCommitId)(a.after))}),[a]),u.default.createElement("div",null,u.default.createElement(c.FlexAJ,{className:"leftheader"},u.default.createElement(c.AlignCenter,null,u.default.createElement(v,{src:(0,x.getUrl)("/images/"+(a&&a.author&&a.author.image_url))}),a&&a.started&&u.default.createElement("span",{className:"nest"},"开始时间:",u.default.createElement("span",null," ",a.started)),a&&a.duration_time&&u.default.createElement("span",{className:"nest"},"运行时间:",u.default.createElement("span",null,a.duration_time))),(n=a&&a.status,t=a&&a.number,"failure"===n||"error"===n||"success"===n?"":"killed"===n?u.default.createElement(l.default,{title:"确认重新构建?",onConfirm:function(e){return r(e,"repeat",t)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},u.default.createElement(c.Blueline,{onClick:function(e){e.stopPropagation()}},"重新构建")):u.default.createElement(l.default,{title:"确认撤销构建?",onConfirm:function(e){return r(e,"cancel",t)},onCancel:function(e){e.stopPropagation()},cancelText:"取消",okText:"确定"},u.default.createElement(c.Blueline,{onClick:function(e){e.stopPropagation()}},"撤销构建")))),u.default.createElement("div",{className:"leftMainContent"},u.default.createElement(c.AlignCenter,{className:"contentBranch"},u.default.createElement("i",{className:"iconfont icon-fenzhi1"}),u.default.createElement("span",null,"分支:"),u.default.createElement("span",{className:"branchname"},a&&a.branch_target),u.default.createElement("span",{className:"branchsha"},a&&(0,g.truncateCommitId)(a.build_after_sha)))),u.default.createElement(i.default,{mode:"inline",className:"leftMenu",defaultOpenKeys:["0"],defaultSelectedKeys:["0"]},a&&a.stages?a.stages.map((function(e,n){return e.steps&&e.steps.length>0?u.default.createElement(b,{title:u.default.createElement("div",null,u.default.createElement("i",{className:"iconfont icon-gongzuoliu font-14 mr4"}),u.default.createElement("span",null,e.name)),key:""+n},e.steps.map((function(n,t){return u.default.createElement(i.default.Item,{key:""+t,onClick:function(t){return a=e.number,r=n.id,void s(a,r);var a,r}},u.default.createElement(c.FlexAJ,null,u.default.createElement("span",null,n.name," ",n.status?(0,f.TagsLine)(n.status):""),u.default.createElement("span",null,n.duration_time)))}))):""})):""))}},N66O:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=d(t("W9HT")),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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("04bd");var l=t("q1tI"),i=d(l),o=t("spEH"),s=d(t("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=e.data,t=e.stepN,d=e.stageN,u=e.projectId,c=e.owner,p=e.opsId,f=e.rightSpin,m=(0,l.useState)(void 0),g=r(m,2),x=g[0],h=g[1],b=(0,l.useState)(!1),v=r(b,2),E=v[0],y=v[1],k=(0,l.useState)(!0),w=r(k,2),N=w[0],C=w[1],B=(0,l.useState)(void 0),S=r(B,2),j=S[0],_=S[1],M=(0,l.useState)(void 0),F=r(M,2),D=F[0],O=F[1];return(0,l.useEffect)((function(){C(f)}),[f]),(0,l.useEffect)((function(){if(n){var e=n.stages;if(e&&e.length>0){var a=d?e.filter((function(e){return e.number===d}))[0]:e[0];_(a);var r=a&&a.steps,l=t?r&&r.length>0&&r.filter((function(e){return e.id===t}))[0]:r[0];O(l),l&&"skipped"!==l.status&&function(e,n){if(e&&n){var t="/"+c+"/"+u+"/builds/"+p+"/logs/"+e+"/"+n+".json";s.default.get(t).then((function(e){e&&(h(e.data),C(!1))})).catch((function(e){console.log(e)}))}}(a.number,l.number),"skipped"===l.status&&(h(void 0),y(!0),C(!1))}else C(!1)}}),[n,d,t]),i.default.createElement(a.default,{spinning:N},i.default.createElement("div",{className:"rightMainContent"},n&&"error"!==n.status?i.default.createElement("div",null,i.default.createElement(o.FlexAJ,{className:"items"},i.default.createElement("span",null,D&&D.name),i.default.createElement(o.AlignCenter,null,D&&D.duration_time,i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down"}))),i.default.createElement("div",null,x&&x.length>0?x.map((function(e,n){return i.default.createElement("div",{className:"opsDetailOut"},i.default.createElement("span",null,n+1),i.default.createElement("p",null,e.out))})):E?i.default.createElement("div",{className:"opsDetailOut"},i.default.createElement("span",null,"1"),i.default.createElement("p",null,j&&j.name," – ",D&&D.name,": Skipped")):"")):i.default.createElement("div",{style:{color:"red"}},"error:",n&&n.error)))}},PhNK:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.truncateCommitId=function(e){return e&&e.length>11?e.substring(0,10):e}},spEH:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),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.Long=n.Box=n.AlignCenter=n.FlexAJ=n.AlignCenterBetween=n.Banner=void 0;var a,r=C(["{\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}"]),l=C(["{\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}"]),i=C(["{\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=C(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=C(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),d=C(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=C(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=C(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),p=C(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=C(["{\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}"]),m=C(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=C(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),x=C(["{\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}"]),h=C(["{\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}"]),b=C(["{\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=C(["{\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}"]),E=C(["{\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}"]),y=C(["{\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}"]),k=C(["{\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}"]),w=t("vOnD"),N=(a=w)&&a.__esModule?a:{default:a};function C(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}n.Banner=N.default.div(r),n.AlignCenterBetween=N.default.div(l),n.FlexAJ=N.default.div(i),n.AlignCenter=N.default.div(o),n.Box=N.default.div(s),n.Long=N.default.div(d),n.Short=N.default.div(u),n.Gap=N.default.div(c),n.WhiteBack=N.default.div(p),n.Blueline=N.default.a(f),n.Redline=N.default.a(m),n.Greenline=N.default.a(g),n.Greenback=N.default.a(x),n.Blueback=N.default.a(h),n.Redback=N.default.a(b),n.NumUl=N.default.ul(v),n.GreenUnder=N.default.a(E),n.Cancel=N.default.a(y),n.Content=N.default.div(k)},y8uv:function(e,n,t){},ya74:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a=m(t("W9HT")),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,l=void 0;try{for(var i,o=e[Symbol.iterator]();!(a=(i=o.next()).done)&&(t.push(i.value),!n||t.length!==n);a=!0);}catch(e){r=!0,l=e}finally{try{!a&&o.return&&o.return()}finally{if(r)throw l}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t("04bd");var l=t("q1tI"),i=m(l);t("y8uv");var o=t("spEH"),s=t("FFNF"),d=m(t("dZ1t")),u=m(t("N5Xz")),c=m(t("N66O")),p=m(t("vDqi")),f=t("eO8H");function m(e){return e&&e.__esModule?e:{default:e}}n.default=function(e){var n=(0,l.useState)(void 0),t=r(n,2),m=t[0],g=t[1],x=(0,l.useState)(void 0),h=r(x,2),b=h[0],v=h[1],E=(0,l.useState)(void 0),y=r(E,2),k=y[0],w=y[1],N=(0,l.useState)(!1),C=r(N,2),B=C[0],S=C[1],j=(0,l.useState)(!0),_=r(j,2),M=_[0],F=_[1],D=e.match.params.projectId,O=e.match.params.owner,I=e.match.params.opsId;function A(){var e="/"+O+"/"+D+"/builds/"+I+".json";p.default.get(e).then((function(e){e&&e.data&&(F(!1),g(e.data))})).catch((function(e){console.log(e),F(!1)}))}return(0,l.useEffect)((function(){I&&D&&A()}),[I]),i.default.createElement(a.default,{spinning:M},i.default.createElement("div",{className:"opsDetailPanel"},i.default.createElement(o.FlexAJ,{className:"opsInfos"},i.default.createElement(o.AlignCenter,null,i.default.createElement("span",null,"#",m&&m.number),i.default.createElement("span",{className:"ml10"},m&&m.message),(0,s.Tags)(""+(m&&m.status))),i.default.createElement(f.Link,{style:{color:"#ddd"},to:"/projects/"+O+"/"+D+"/devops/list"},i.default.createElement("i",{className:"iconfont icon-yiguanbi font-15 mr5"}),"退出")),i.default.createElement("div",{className:"opsSection"},i.default.createElement(d.default,{className:"outer-split-pane",split:"vertical",minSize:468,maxSize:-350,defaultSize:"40%"},i.default.createElement("section",{className:"leftSection"},i.default.createElement(u.default,{data:m,repeatSet:function(n,t,a){if("repeat"===t){var r="/"+O+"/"+D+"/builds/"+a+"/restart.json";p.default.post(r).then((function(n){n&&n.data&&(e.showNotification("工作流正在重新构建!"),e.history.push("/projects/"+O+"/"+D+"/devops/"+n.data.number+"/detail"))})).catch((function(e){console.log(e)}))}else{var l="/"+O+"/"+D+"/builds/"+a+"/stop.json";p.default.delete(l).then((function(n){n&&(e.showNotification("撤销构建成功!"),A())})).catch((function(e){console.log(e)}))}},chooseSteps:function(e,n){e&&n&&(w(n),v(e),S(!0))}})),i.default.createElement("section",{className:"rightSection"},i.default.createElement(c.default,{data:m,rightSpin:B,stepN:k,stageN:b,owner:O,projectId:D,opsId:I}))))))}},zxge:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getDateTime=function(e,n){return Date.prototype.format=function(e){var n={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),"S+":this.getMilliseconds()};for(var t in/(y+)/i.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+t+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?n[t]:("00"+n[t]).substr((""+n[t]).length)));return e},new Date(e).format(n)},n.Time=function(e){var n,t,a=new Date(e),r=a.getFullYear(),l=a.getMonth()+1,i=a.getDate(),o=a.getHours(),s=a.getMinutes(),d=a.getTime(),u=new Date,c=u.getTime();t=(n=c-d)<=6e4?"刚刚":6e4<n&&n<=36e5?Math.round(n/6e4)+"分钟前":36e5<n&&n<=864e5?Math.round(n/36e5)+"小时前":864e5<n&&n<=1296e6?Math.round(n/864e5)+"天前":n>1296e6&&r==u.getFullYear()?l+"-"+i+" "+o+":"+s:r+"-"+l+"-"+i+" "+o+":"+s;return t}}}]); \ No newline at end of file diff --git a/static/js/52.330a9d1c.chunk.js b/static/js/52.330a9d1c.chunk.js new file mode 100644 index 000000000..dc5db4a8c --- /dev/null +++ b/static/js/52.330a9d1c.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[52],{"7jn6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("q1tI")),r=l(n("La79")),i=l(n("8mQL"));function l(e){return e&&e.__esModule?e:{default:e}}var u={init:"icon-initialize",build:"icon-structure",deploy:"icon-arrange",customize:"icon-newStage",confirm:"icon-sure"};t.default=function(e){var t=e.step,n=e.changeStep,l=e.menuList,o=e.renameFunc,c=e.checkDatas,s=e.addFunc;function f(e,t){s&&s(e,t)}return a.default.createElement("ul",{className:"menus"},l&&l.length>0&&l.map((function(e,s){return a.default.createElement(a.default.Fragment,{key:e.id},a.default.createElement("li",{onClick:function(){return function(e,t,a,r){n(e,t,a,r)}(e.show_index,e.stage_type,e.id,e.stage_name)},className:e.show_index===t?"active":""},a.default.createElement("i",{className:"iconfont "+u[""+e.stage_type]}),a.default.createElement(r.default,{renameFunc:o,id:e.id,name:e.stage_name,edit:"init"!==e.stage_type&&"confirm"!==e.stage_type})),s!==l.length-1&&l.length<7?a.default.createElement(i.default,{checkDatas:c,k:s+2,getName:f}):"")})))}},"8mQL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("5rEg")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var i=n("q1tI"),l=u(i);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.getName,n=e.checkDatas,u=e.k,o=(0,i.useState)(!1),c=r(o,2),s=c[0],f=c[1],d=(0,i.useState)(void 0),m=r(d,2),p=m[0],v=m[1],h=(0,i.useState)(void 0),y=r(h,2),g=y[0],E=y[1],_=(0,i.useState)(void 0),b=r(_,2),S=b[0],N=b[1],w=(0,i.useState)(!1),j=r(w,2),x=j[0],I=j[1];return(0,i.useEffect)((function(){x&&S&&S.focus()})),(0,i.useEffect)((function(){u&&E(u)}),[u]),l.default.createElement("li",{className:"menuAdd"},!s&&l.default.createElement("i",{className:"iconfont icon-tianjia",onClick:function(){var e=n();(e||""===e)&&(f(!0),I(!0))}}),l.default.createElement(a.default,{ref:function(e){return N(e)},size:"small",maxLength:8,style:{width:"75px",display:s?"block":"none"},placeholder:"新阶段名称",value:p,onChange:function(e){return v(e.target.value)},onBlur:function(){p&&t(p,g),v(void 0),f(!1),I(!1)}}))}},CbYd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=n("q1tI"),l=(a=i)&&a.__esModule?a:{default:a};t.default=function(e){var t=e.chooseFunc,n=e.temp,a=e.templateId,u=e.category,o=(0,i.useState)(void 0),c=r(o,2),s=c[0],f=c[1],d=(0,i.useState)(void 0),m=r(d,2),p=m[0],v=m[1],h=(0,i.useState)(void 0),y=r(h,2),g=y[0],E=y[1],_=(0,i.useState)(void 0),b=r(_,2),S=b[0],N=b[1];return(0,i.useEffect)((function(){a&&f(a)}),[a]),(0,i.useEffect)((function(){u&&v(u)}),[u]),(0,i.useEffect)((function(){if(n&&n.length>0)if("初始化"!==n[0].category?N(n):N(void 0),u&&"初始化"!==n[0].category&&"初始化"!==u){var e=n.filter((function(e){return e.category===u})),t=e&&e.length>0&&e[0].templates;E(t),v(u)}else E(n[0].templates),v(n[0].category);else E(void 0),v(void 0),N(void 0)}),[n,u]),l.default.createElement(l.default.Fragment,null,S&&S.length>0&&l.default.createElement("div",{className:"choosenList"},l.default.createElement("span",null,"模板类别:"),l.default.createElement("ul",null,S.map((function(e,n){return l.default.createElement("li",{className:p===e.category?"active":"",onClick:function(){return function(e){v(e);var n=S&&S.filter((function(t){return t.category===e})),a=n&&n[0].templates;E(a);var r=a&&a.length>0&&a[0].id,i=a&&a.length>0&&a[0].content;f(r),t&&t(i,r,e)}(e.category)}},e.category)})))),g&&g.length>0&&l.default.createElement("div",{className:"choosenList"},l.default.createElement("span",null,"模板选择:"),l.default.createElement("ul",null,g.map((function(e,n){return l.default.createElement("li",{className:s===e.id?"active":"",onClick:function(){return function(e){var n=g.filter((function(t){return t.id===e})),a=n&&n.length>0&&n[0].content;t&&t(a,e,p),f(e)}(e.id)}},e.template_name)})))))}},INjQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("q1tI")),r=i(n("gL5p"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.value,n=e.onChange,i=e.theme,l=e.height,u=e.visible,o={lineNumbers:"on",wordWrap:!0,selectOnLineNumbers:!0,lineHeight:24,renderLineHighlight:"line",revealHorizontalRightPadding:5,placeholder:"请输入内容",readOnly:u,cursorStyle:u?"underline-thin":"line",folding:!0,foldingStrategy:"indentation",automaticLayout:!0,minimap:{enabled:!1}};return a.default.createElement(r.default,{height:l,language:"yaml",theme:i,placeholder:"请输入内容",value:t,options:o,onChange:function(e){return n(e)},disabled:!0})}},"JW/y":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("NJEC"));n("k994");var r=o(n("q1tI")),i=n("spEH"),l=o(n("INjQ")),u=o(n("CbYd"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.item,n=e.templates,o=e.saveItems,c=e.k,s=e.slideItems,f=e.deleteStep;return r.default.createElement("div",{className:"stepsItem"},r.default.createElement(i.FlexAJ,{className:"stepsHead"},r.default.createElement("span",null,t.step_name),r.default.createElement("span",{className:"color-grey-9"},r.default.createElement(a.default,{title:"确定要删除这个步骤吗?",okText:"是",cancelText:"否",onConfirm:function(){return f(t.id,c)}},r.default.createElement("a",null,r.default.createElement("i",{className:"iconfont icon-lajitong1 font-14"}))),r.default.createElement("a",{onClick:function(){return s(c,t.hide)}},r.default.createElement("i",{className:t.hide&&!1!==t.hide?"iconfont icon-triangle font-14":"iconfont icon-sanjiaoxing-down font-14"})))),r.default.createElement("div",{className:t.hide&&!1!==t.hide?"stepsBody":"stepsBody active"},r.default.createElement(u.default,{chooseFunc:function(e,t,n){o(e,t,n,c)},category:t.category,templateId:t.template_id,temp:n}),r.default.createElement(l.default,{value:t.content,onChange:function(e){o(e,t.template_id,t.category,c)},theme:"vs-dark",height:"270px"})))}},JaYJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),l=o(i),u=o(n("INjQ"));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.datas,n=e.name,o=e.saveFunc,c=e.sureSubmit,s=e.loading,f=(0,i.useState)(void 0),d=r(f,2),m=d[0],p=d[1];return(0,i.useEffect)((function(){t&&t.content&&p(t.content)}),[t]),l.default.createElement("div",null,l.default.createElement("div",{style:{padding:"0px 15px 15px 15px"}},"工作流名称:",n),l.default.createElement("div",{className:"editorBody",style:{marginTop:"0px"}},l.default.createElement(u.default,{value:m,theme:"vs-grey",height:"600px",visible:!0})),l.default.createElement("div",{className:"mt20"},l.default.createElement(a.default,{type:"primary",onClick:function(){return o(void 0,void 0,void 0,void 0,"last")}},"上一步"),m&&l.default.createElement(a.default,{type:"primary",loading:s,className:"ml20",onClick:function(){c()}},"确定提交")))}},JtPb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=v(n("W9HT")),r=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},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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd");var l=n("q1tI"),u=v(l),o=n("spEH"),c=v(n("gyhb")),s=v(n("7jn6")),f=v(n("Ky7I")),d=v(n("JaYJ")),m=v(n("MIiE")),p=v(n("vDqi"));function v(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,l.useState)(!0),n=i(t,2),v=n[0],h=n[1],y=(0,l.useState)(1),g=i(y,2),E=g[0],_=g[1],b=(0,l.useState)(void 0),S=i(b,2),N=S[0],w=S[1],j=(0,l.useState)(void 0),x=i(j,2),I=x[0],k=x[1],C=(0,l.useState)(void 0),A=i(C,2),M=A[0],O=A[1],F=(0,l.useState)(void 0),P=i(F,2),L=P[0],T=P[1],q=(0,l.useState)("init"),J=i(q,2),H=J[0],B=J[1],D=(0,l.useState)(void 0),Q=i(D,2),z=Q[0],W=Q[1],Y=(0,l.useState)(void 0),R=i(Y,2),K=R[0],U=R[1],G=(0,l.useState)(!1),V=i(G,2),X=V[0],Z=V[1],$=(0,l.useState)(!1),ee=i($,2),te=ee[0],ne=ee[1],ae=e.match.params.disposeId,re=e.match.params.projectsId,ie=e.match.params.owner;function le(e){var t="/ci/pipelines/"+ae+"/stages.json";p.default.get(t).then((function(t){if(t&&t.data&&(T(t.data.stages),e||0===e)){var n=t.data.stages[e];_(n.show_index),O(n.id),w(""+n.pipeline_name)}}))}function ue(e){var t="";H&&"confirm"===H?(t="/ci/pipelines/"+ae+"/content.json",p.default.get(t,{params:{owner:ie,repo:re}}).then((function(e){e&&e.data&&W(e.data)})).catch((function(e){}))):(t="/ci/pipelines/"+ae+"/"+e+"/steps.json",p.default.get(t).then((function(e){if(e&&e.data){var t=e.data.steps;W(t);var n=!t||t&&0===t.length;Z(n)}})).catch((function(e){}))),h(!1)}function oe(e){W([].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)}(e))),Z(!0)}function ce(){if(!(z&&z.length>0))return"init"===H?(e.showNotification("请先选择模板!"),!1):"confirm"===H||"";for(var t=0;t<z.length;t++)if(z[t]&&(!z[t].content||!z[t].template_id))return e.showNotification("请先选择模板!"),!1;return!0}function se(t,n,a,r,i){if(h(!0),X&&"confirm"!==H){var l=ce();l&&z&&0!==z.length?function(t,n,a,r,i){var l="/ci/pipelines/"+ae+"/"+M+"/stage_step.json";p.default.post(l,{steps:z}).then((function(l){l&&l.data?(Z(!1),t?de(t):(_(n),B(a),O(r),k(N+"-"+i))):e.showNotification("阶段更新失败,请稍微重试!")})).catch((function(e){}))}(i,t,n,a,r):(h(!1),""===l&&fe(i,t,n,a,r))}else fe(i,t,n,a,r)}function fe(e,t,n,a,r){e?de(e):(_(t),B(n),O(a),k(N+"-"+r))}function de(e){var t=E;"next"===e?t+=1:t-=1;var n=L&&L.filter((function(e){return e.show_index===t}));_(t),B(n[0].stage_type),O(n[0].id),k(N+"-"+n[0].stage_name)}return(0,l.useEffect)((function(){H&&"confirm"!==H&&p.default.get("/ci/templates/templates_by_stage.json",{params:{stage_type:H}}).then((function(e){e&&e.data&&U(e.data)})).catch((function(e){}))}),[H]),(0,l.useEffect)((function(){ae&&H&&"confirm"!==H&&le(0)}),[ae]),(0,l.useEffect)((function(){M&&ue(M)}),[M]),u.default.createElement("div",{className:"disposePanel"},u.default.createElement(c.default,null),u.default.createElement(o.WhiteBack,{style:{padding:"24px 30px"}},u.default.createElement(a.default,{spinning:v},u.default.createElement("div",{style:{minHeight:"450px"}},u.default.createElement(s.default,{step:E,checkDatas:ce,changeStep:function(e,t,n,a){e!==E&&se(e,t,n,a)},menuList:L,renameFunc:function(e,t){var n="/ci/pipelines/"+ae+"/"+t+"/update_stage.json";p.default.put(n,{stage_name:e}).then((function(e){e&&e.data&&le()})).catch((function(e){}))},addFunc:function(t,n){var a="/ci/pipelines/"+ae+"/create_stage.json";p.default.post(a,{show_index:n,stage_name:t}).then((function(t){t&&t.data?(le(n-1),B("customize")):e.showNotification("阶段新增失败!")}))}}),"init"===H?u.default.createElement(f.default,{stage_type:H,templates:K,datas:z,saveDatas:oe,saveFunc:se}):"confirm"===H?u.default.createElement(d.default,{sureSubmit:function(){ne(!0);var t=z.sync||0,n="",a={branch:e.defaultBranch,content:z.content,filepath:".trustie-pipeline.yml",message:"",sha:z.sha||void 0,owner:ie,repo:re};1===t?(n="/"+ie+"/"+re+"/update_trustie_pipeline.json",p.default.put(n,r({},a)).then((function(t){t&&e.history.push("/projects/"+ie+"/"+re+"/devops/dispose"),ne(!1)})).catch((function(e){console.log(e),ne(!1)}))):(n="/ci/pipelines/"+ae+"/create_trustie_pipeline.json",p.default.post(n,a).then((function(t){t&&e.history.push("/projects/"+ie+"/"+re+"/devops/dispose"),ne(!1)})).catch((function(e){console.log(e),ne(!1)})))},name:N,datas:z,saveFunc:se,loading:te}):u.default.createElement(m.default,r({},e,{stepName:I,deleteStep:function(t,n){if(t){var a="/ci/pipelines/"+ae+"/"+M+"/"+t+"/delete_step.json";p.default.delete(a).then((function(t){t&&t.data&&(ue(M),e.showNotification("阶段步骤删除成功!"))})).catch((function(e){}))}else{var r=z.filter((function(e){return e.show_index!==n+1}));W(r)}},stage_type:H,templates:K,datas:z,deleteFunc:function(){var t=L&&L.filter((function(e){return e.show_index===E+1})),n=t&&t.length>0&&t[0].stage_type,a="/ci/pipelines/"+ae+"/"+M+"/delete_stage.json";p.default.delete(a,{params:{show_index:E}}).then((function(t){t&&t.data?(le(E-1),B(n)):e.showNotification("阶段删除失败!")})).catch((function(e){}))},saveDatas:oe,saveFunc:se,deleteFlag:L&&3===L.length}))))))}},Ky7I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),l=c(i),u=c(n("CbYd")),o=c(n("INjQ"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.datas,n=e.templates,c=e.saveFunc,s=e.saveDatas,f=(0,i.useState)(void 0),d=r(f,2),m=d[0],p=d[1],v=(0,i.useState)(void 0),h=r(v,2),y=h[0],g=h[1],E=(0,i.useState)(void 0),_=r(E,2),b=_[0],S=_[1];function N(e,n){var a=t;t&&t.length>0?(a[0].content=n||y,a[0].template_id=e||m):a=[{step_name:"初始化",show_index:1,content:n||y,template_id:e||m}],s(a)}return(0,i.useEffect)((function(){n&&n.length>0&&S(n)}),[n]),(0,i.useEffect)((function(){t&&t.length>0&&(p(t[0].template_id),g(t[0].content))}),[t]),l.default.createElement("div",null,l.default.createElement(u.default,{chooseFunc:function(e,t,n){p(t),g(e),N(t,e)},templateId:m,temp:b}),l.default.createElement("div",{className:"mt15"},l.default.createElement(o.default,{value:y,onChange:g,theme:"vs-dark",height:"400px"})),l.default.createElement("div",{className:"mt20"},l.default.createElement(a.default,{type:"primary",onClick:function(){N(),c(void 0,void 0,void 0,void 0,"next")}},"下一步")))}},La79:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("5rEg")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var i=n("q1tI"),l=u(i);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.name,n=e.edit,u=e.id,o=e.renameFunc,c=(0,i.useState)(void 0),s=r(c,2),f=s[0],d=s[1],m=(0,i.useState)(!1),p=r(m,2),v=p[0],h=p[1],y=(0,i.useState)(void 0),g=r(y,2),E=g[0],_=g[1],b=(0,i.useState)(!1),S=r(b,2),N=(S[0],S[1]);return(0,i.useEffect)((function(){n&&E&&E.focus()})),(0,i.useEffect)((function(){t&&d(t)}),[t]),l.default.createElement("div",{className:"aboutEdit"},l.default.createElement("span",{className:"operateName"},!v&&f,l.default.createElement(a.default,{ref:function(e){return _(e)},value:f,size:"small",maxLength:8,onClick:function(e){return e.stopPropagation()},onBlur:function(e){o(e.target.value,u),N(!1),h(!1)},style:{width:"75px",display:v?"block":"none"},onChange:function(e){return d(e.target.value)}}),!v&&n&&l.default.createElement("i",{className:"iconfont icon-editUnder font-16 color-grey-9",onClick:function(e){e.stopPropagation(),h(!0),N(!0)}})))}},MIiE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("NJEC")),r=s(n("2/Rp")),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,i=void 0;try{for(var l,u=e[Symbol.iterator]();!(a=(l=u.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{!a&&u.return&&u.return()}finally{if(r)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k994"),n("L/Qf");var l=n("q1tI"),u=s(l),o=n("spEH"),c=s(n("JW/y"));function s(e){return e&&e.__esModule?e:{default:e}}function f(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.default=function(e){var t=e.templates,n=e.datas,s=e.saveDatas,d=e.saveFunc,m=e.stepName,p=e.deleteStep,v=e.deleteFunc,h=e.deleteFlag,y=(0,l.useState)(void 0),g=i(y,2),E=g[0],_=g[1],b=(0,l.useState)(void 0),S=i(b,2),N=S[0],w=S[1];function j(e,t,n,a){var r=E;r[a].content=e,r[a].template_id=t,r[a].category=n,s([].concat(f(r)))}function x(e,t){var n=E;n[e].hide=!t,_([].concat(f(n))),s(n)}function I(e,t){p(e,t)}function k(e){d(void 0,void 0,void 0,void 0,e)}return(0,l.useEffect)((function(){t&&t.length>0&&w(t)}),[t]),(0,l.useEffect)((function(){if(n)if(n.length>0&&E!==n)_(n);else if(0===n.length){_([])}}),[n]),u.default.createElement("div",null,E&&E.length>0&&E.map((function(e,t){return u.default.createElement(c.default,{item:e,templates:N,k:t,saveItems:j,slideItems:x,deleteStep:I})})),u.default.createElement("a",{className:"addBtn",onClick:function(){var e=E,t=e?e.length:0,n=N&&N.length>0&&N[0],a=n&&n.category,r=n&&n.templates&&n.templates.length>0&&n.templates[0],i={category:a,step_name:m+""+(t+1),show_index:t+1,content:r.content,template_id:r.id,hide:!1};e.push(i),s(e)}},"+ 添加步骤"),u.default.createElement("div",{className:"mt20"},u.default.createElement(r.default,{type:"primary",onClick:function(){return k("last")}},"上一步"),u.default.createElement(r.default,{className:"ml20",type:"primary",onClick:function(){return k("next")}},"下一步"),!h&&u.default.createElement(a.default,{title:"确定要删除当前阶段吗",okText:"是",cancelText:"否",onConfirm:v},u.default.createElement(o.Cancel,{className:"ml20"},"删除"))))}},gyhb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),i=(a=r)&&a.__esModule?a:{default:a},l=n("spEH");t.default=function(){return i.default.createElement(l.AlignCenterBetween,null,i.default.createElement("span",{className:"font-20"},"工作流配置"),i.default.createElement("a",{href:"https://forum.trustie.net/forums/3111/detail",target:"_blank",className:"color-grey-6"},i.default.createElement("i",{className:"iconfont icon-tishi1 font-14 mr3"}),"模板使用说明"))}}}]); \ No newline at end of file diff --git a/static/js/52.33141264.chunk.js b/static/js/53.7f119972.chunk.js similarity index 99% rename from static/js/52.33141264.chunk.js rename to static/js/53.7f119972.chunk.js index e37f262a5..a292d94d8 100644 --- a/static/js/52.33141264.chunk.js +++ b/static/js/53.7f119972.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[52],{"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("diRs")),a=s(n("W9HT")),o=s(n("5rEg")),u=s(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 u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.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("Aosp"),n("04bd"),n("1vPl");var l=n("q1tI"),i=s(l);n("C5VC");var f=n("tnhM");function s(e){return e&&e.__esModule?e:{default:e}}function p(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var u=t[a](o),c=u.value}catch(e){return void n(e)}if(!u.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,s=(t=p(u.default.mark((function e(t,n){var r;return u.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.getBranch)(t,n);case 2:r=e.sent,J(r),W(r),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),d=(n=p(u.default.mark((function e(t,n){var r;return u.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.getTag)(t,n);case 2:r=e.sent,J(r),W(r),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),m=e.projectsId,v=e.branch,h=e.owner,y=e.changeBranch,b=e.branchList,g=e.tagflag,E=void 0===g||g,x=(0,l.useState)(v),w=c(x,2),O=w[0],j=w[1],_=(0,l.useState)(void 0),N=c(_,2),k=N[0],P=N[1],S=(0,l.useState)(0),C=c(S,2),D=C[0],B=C[1],I=(0,l.useState)(!0),T=c(I,2),z=T[0],A=T[1],M=(0,l.useState)(!1),R=c(M,2),L=R[0],q=R[1],H=(0,l.useState)(void 0),U=c(H,2),X=U[0],J=U[1],V=(0,l.useState)(void 0),G=c(V,2),Q=G[0],W=G[1];function Y(e){B(e),A(!0),0===e?s(m,h):d(m,h)}(0,l.useEffect)((function(){j(v)}),[v]),(0,l.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||q(!1)}))})),(0,l.useEffect)((function(){b&&(J(b),W(b),A(!1))}),[b]);var F=i.default.createElement("div",null,i.default.createElement("div",{className:"padding10 bor-bottom-greyE"},i.default.createElement(o.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:k,onChange:function(e){P(e.target.value);var t=e.target.value?X&&X.length>0&&X.filter((function(t){return t.name.indexOf(e.target.value)>-1})):X;W(t)},style:{width:"220px"}}),i.default.createElement("ul",{className:"navUl"},i.default.createElement("li",{className:0===D?"navli active":"navli",onClick:function(){return Y(0)}},i.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),E&&i.default.createElement("li",{className:1===D?"navli active":"navli",onClick:function(){return Y(1)}},i.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),i.default.createElement(a.default,{spinning:z},i.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},Q&&Q.length>0?Q.map((function(e,t){return i.default.createElement("li",{key:t,onClick:function(){return t=e.name,void y(t);var t}},i.default.createElement("a",{className:"task-hide ulALink"},e.name))})):i.default.createElement("p",{className:"listTips"},"暂无",k,0===D?"分支":"标签","~"))));return i.default.createElement(r.default,{placement:"bottom",visible:L,content:F,onClick:function(){return q(!L)},overlayClassName:"branch-tagBox-list"},i.default.createElement("div",{className:"branch-tagBox"},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===D?"分支":"标签",":"),i.default.createElement("a",{className:"ant-dropdown-link"},O),i.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},C5VC:function(e,t,n){},"Dt+G":function(e,t,n){},RIeY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=b(n("NUBc")),u=b(n("2/Rp")),c=b(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,a=!1,o=void 0;try{for(var u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.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")},i=(r=["{\n padding:20px 30px;\n min-height:500px;\n}"],a=["{\n padding:20px 30px;\n min-height:500px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}})));n("YQTV"),n("L/Qf");var f=n("q1tI"),s=b(f),p=b(n("3Diz")),d=b(n("ess8")),m=b(n("vOnD")),v=n("spEH"),h=b(n("vDqi")),y=n("tnhM");function b(e){return e&&e.__esModule?e:{default:e}}var g=m.default.div(i);t.default=function(e){var t,n,r=(t=c.default.mark((function e(t,n){var r;return c.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,y.getBranch)(t,n);case 2:r=e.sent,O(r);case 4:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,o){try{var u=e[a](o),c=u.value}catch(e){return void n(e)}if(!u.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(c)}("next")}))},function(e,t){return n.apply(this,arguments)}),a=(0,f.useState)("master"),i=l(a,2),m=i[0],b=i[1],E=(0,f.useState)(void 0),x=l(E,2),w=x[0],O=x[1],j=(0,f.useState)("master"),_=l(j,2),N=_[0],k=_[1],P=(0,f.useState)(void 0),S=l(P,2),C=S[0],D=S[1],B=(0,f.useState)(0),I=l(B,2),T=I[0],z=I[1],A=(0,f.useState)(1),M=l(A,2),R=M[0],L=M[1],q=e.defaultBranch;(0,f.useEffect)((function(){q&&(b(q),k(q))}),[q]);var H=e.match.params,U=H.projectsId,X=H.owner,J=e.projectDetail;function V(t){e.history.push("/projects/"+X+"/"+U+"/setting/branch/"+t)}return(0,f.useEffect)((function(){q&&b(q)}),[q]),(0,f.useEffect)((function(){X&&(r(U,X),function(e,t){var n="/"+e+"/"+t+"/protected_branches.json";h.default.get(n,{params:{page:R,limit:15}}).then((function(e){e&&(z(e.data.total_count),D(e.data.protected_branches))})).catch((function(e){}))}(X,U))}),[X]),s.default.createElement(v.WhiteBack,null,s.default.createElement(d.default,null,"分支设置"),s.default.createElement(g,null,s.default.createElement("div",{className:"pb20",style:{borderBottom:"1px dashed #eee"}},s.default.createElement("p",{className:"color-grey-3 mb10 font-18"},"默认分支"),s.default.createElement("p",{className:"mb10"},"默认分支被视作为代码库中的基本分支,是所有克隆、代码提交、合并请求的目标分支"),s.default.createElement(v.AlignCenter,null,s.default.createElement(p.default,{branch:m,repo_id:J&&J.repo_id,projectsId:U,changeBranch:b,owner:X,history:e.history,branchList:w,tagflag:!1}),s.default.createElement("a",{className:"color-blue ml20",onClick:function(){return t="/"+X+"/"+U+".json",void h.default.put(t,{default_branch:m}).then((function(t){t&&e.showNotification("分支设置成功!")})).catch((function(e){console.log(e)}));var t}},"设为默认分支"))),s.default.createElement("div",{className:"mt10"},s.default.createElement("p",{className:"color-grey-3 mb10 font-18"},"分支保护"),s.default.createElement(v.AlignCenter,null,s.default.createElement(p.default,{branch:N,repo_id:J&&J.repo_id,projectsId:U,changeBranch:k,owner:X,history:e.history,branchList:w,tagflag:!1}),s.default.createElement("a",{className:C&&C.length>0?"color-blue ml20":"color-grey ml20",onClick:function(){return V(N)}},"设置分支保护")),C&&C.length>0&&s.default.createElement("div",{className:"protectBranchList"},C.map((function(e,t){return s.default.createElement(v.FlexAJ,null,s.default.createElement("span",null,e.branch_name),s.default.createElement(u.default,{onClick:function(){return V(e.branch_name)}},"编辑"))}))),T>15&&s.default.createElement("div",{className:"mt15 mb20",style:{textAlign:"center"}},s.default.createElement(o.default,{simple:!0,current:R,pageSize:15,total:T,onChange:function(e){L(e)}})))))}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),u=n("6CfX");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 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 i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},h=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)}(b,e);var t,n,c,h,y=(t=b,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return i(this,b),(e=y.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,u=o.prefixCls,c=v(o,["prefixCls"]);delete c.title;var i=n("popover",u);return r.createElement(a.default,l({},c,{prefixCls:i,ref:e.saveTooltip,overlay:e.getOverlay(i)}))},e}return n=b,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(u.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&f(n.prototype,c),h&&f(n,h),b}(r.Component);h.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),u=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var l=c(n("vOnD")).default.div(o);t.default=function(e){var t=e.children;return u.default.createElement(l,null,t)}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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 u(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var u=t[a](o),c=u.value}catch(e){return void n(e)}if(!u.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,l,i;t.getBranch=(c=u(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=(l=u(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 l.apply(this,arguments)}),t.getHooks=(i=u(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 i.apply(this,arguments)})}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[53],{"3Diz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("diRs")),a=s(n("W9HT")),o=s(n("5rEg")),u=s(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 u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.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("Aosp"),n("04bd"),n("1vPl");var l=n("q1tI"),i=s(l);n("C5VC");var f=n("tnhM");function s(e){return e&&e.__esModule?e:{default:e}}function p(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var u=t[a](o),c=u.value}catch(e){return void n(e)}if(!u.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,s=(t=p(u.default.mark((function e(t,n){var r;return u.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.getBranch)(t,n);case 2:r=e.sent,J(r),W(r),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,n){return t.apply(this,arguments)}),d=(n=p(u.default.mark((function e(t,n){var r;return u.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.getTag)(t,n);case 2:r=e.sent,J(r),W(r),A(!1);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)}),m=e.projectsId,v=e.branch,h=e.owner,y=e.changeBranch,b=e.branchList,g=e.tagflag,E=void 0===g||g,x=(0,l.useState)(v),w=c(x,2),O=w[0],j=w[1],_=(0,l.useState)(void 0),N=c(_,2),k=N[0],P=N[1],S=(0,l.useState)(0),C=c(S,2),D=C[0],B=C[1],I=(0,l.useState)(!0),T=c(I,2),z=T[0],A=T[1],M=(0,l.useState)(!1),R=c(M,2),L=R[0],q=R[1],H=(0,l.useState)(void 0),U=c(H,2),X=U[0],J=U[1],V=(0,l.useState)(void 0),G=c(V,2),Q=G[0],W=G[1];function Y(e){B(e),A(!0),0===e?s(m,h):d(m,h)}(0,l.useEffect)((function(){j(v)}),[v]),(0,l.useEffect)((function(){document.body.addEventListener("click",(function(e){var t=e.target.className;"ant-input OptionsInput"===t||"navli active"===t||"navli"===t||"padding10 bor-bottom-greyE"===t||q(!1)}))})),(0,l.useEffect)((function(){b&&(J(b),W(b),A(!1))}),[b]);var F=i.default.createElement("div",null,i.default.createElement("div",{className:"padding10 bor-bottom-greyE"},i.default.createElement(o.default,{placeholder:"请输入分支或标签名称搜索",autocomplete:"off",className:"OptionsInput",value:k,onChange:function(e){P(e.target.value);var t=e.target.value?X&&X.length>0&&X.filter((function(t){return t.name.indexOf(e.target.value)>-1})):X;W(t)},style:{width:"220px"}}),i.default.createElement("ul",{className:"navUl"},i.default.createElement("li",{className:0===D?"navli active":"navli",onClick:function(){return Y(0)}},i.default.createElement("i",{className:"iconfont icon-fenzhi1 font-14 mr3"}),"分支列表"),E&&i.default.createElement("li",{className:1===D?"navli active":"navli",onClick:function(){return Y(1)}},i.default.createElement("i",{className:"iconfont icon-biaoqian3 font-14 mr3"}),"标签列表"))),i.default.createElement(a.default,{spinning:z},i.default.createElement("ul",{className:"OptionsUl",id:"ul-btn"},Q&&Q.length>0?Q.map((function(e,t){return i.default.createElement("li",{key:t,onClick:function(){return t=e.name,void y(t);var t}},i.default.createElement("a",{className:"task-hide ulALink"},e.name))})):i.default.createElement("p",{className:"listTips"},"暂无",k,0===D?"分支":"标签","~"))));return i.default.createElement(r.default,{placement:"bottom",visible:L,content:F,onClick:function(){return q(!L)},overlayClassName:"branch-tagBox-list"},i.default.createElement("div",{className:"branch-tagBox"},i.default.createElement("span",{className:"color-grey-9 mr3 ml8"},0===D?"分支":"标签",":"),i.default.createElement("a",{className:"ant-dropdown-link"},O),i.default.createElement("i",{className:"showtag iconfont icon-xiajiantou font-14 color-grey-9 mr8"})))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},C5VC:function(e,t,n){},"Dt+G":function(e,t,n){},RIeY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=b(n("NUBc")),u=b(n("2/Rp")),c=b(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,a=!1,o=void 0;try{for(var u,c=e[Symbol.iterator]();!(r=(u=c.next()).done)&&(n.push(u.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")},i=(r=["{\n padding:20px 30px;\n min-height:500px;\n}"],a=["{\n padding:20px 30px;\n min-height:500px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}})));n("YQTV"),n("L/Qf");var f=n("q1tI"),s=b(f),p=b(n("3Diz")),d=b(n("ess8")),m=b(n("vOnD")),v=n("spEH"),h=b(n("vDqi")),y=n("tnhM");function b(e){return e&&e.__esModule?e:{default:e}}var g=m.default.div(i);t.default=function(e){var t,n,r=(t=c.default.mark((function e(t,n){var r;return c.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,y.getBranch)(t,n);case 2:r=e.sent,O(r);case 4:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,o){try{var u=e[a](o),c=u.value}catch(e){return void n(e)}if(!u.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(c)}("next")}))},function(e,t){return n.apply(this,arguments)}),a=(0,f.useState)("master"),i=l(a,2),m=i[0],b=i[1],E=(0,f.useState)(void 0),x=l(E,2),w=x[0],O=x[1],j=(0,f.useState)("master"),_=l(j,2),N=_[0],k=_[1],P=(0,f.useState)(void 0),S=l(P,2),C=S[0],D=S[1],B=(0,f.useState)(0),I=l(B,2),T=I[0],z=I[1],A=(0,f.useState)(1),M=l(A,2),R=M[0],L=M[1],q=e.defaultBranch;(0,f.useEffect)((function(){q&&(b(q),k(q))}),[q]);var H=e.match.params,U=H.projectsId,X=H.owner,J=e.projectDetail;function V(t){e.history.push("/projects/"+X+"/"+U+"/setting/branch/"+t)}return(0,f.useEffect)((function(){q&&b(q)}),[q]),(0,f.useEffect)((function(){X&&(r(U,X),function(e,t){var n="/"+e+"/"+t+"/protected_branches.json";h.default.get(n,{params:{page:R,limit:15}}).then((function(e){e&&(z(e.data.total_count),D(e.data.protected_branches))})).catch((function(e){}))}(X,U))}),[X]),s.default.createElement(v.WhiteBack,null,s.default.createElement(d.default,null,"分支设置"),s.default.createElement(g,null,s.default.createElement("div",{className:"pb20",style:{borderBottom:"1px dashed #eee"}},s.default.createElement("p",{className:"color-grey-3 mb10 font-18"},"默认分支"),s.default.createElement("p",{className:"mb10"},"默认分支被视作为代码库中的基本分支,是所有克隆、代码提交、合并请求的目标分支"),s.default.createElement(v.AlignCenter,null,s.default.createElement(p.default,{branch:m,repo_id:J&&J.repo_id,projectsId:U,changeBranch:b,owner:X,history:e.history,branchList:w,tagflag:!1}),s.default.createElement("a",{className:"color-blue ml20",onClick:function(){return t="/"+X+"/"+U+".json",void h.default.put(t,{default_branch:m}).then((function(t){t&&e.showNotification("分支设置成功!")})).catch((function(e){console.log(e)}));var t}},"设为默认分支"))),s.default.createElement("div",{className:"mt10"},s.default.createElement("p",{className:"color-grey-3 mb10 font-18"},"分支保护"),s.default.createElement(v.AlignCenter,null,s.default.createElement(p.default,{branch:N,repo_id:J&&J.repo_id,projectsId:U,changeBranch:k,owner:X,history:e.history,branchList:w,tagflag:!1}),s.default.createElement("a",{className:C&&C.length>0?"color-blue ml20":"color-grey ml20",onClick:function(){return V(N)}},"设置分支保护")),C&&C.length>0&&s.default.createElement("div",{className:"protectBranchList"},C.map((function(e,t){return s.default.createElement(v.FlexAJ,null,s.default.createElement("span",null,e.branch_name),s.default.createElement(u.default,{onClick:function(){return V(e.branch_name)}},"编辑"))}))),T>15&&s.default.createElement("div",{className:"mt15 mb20",style:{textAlign:"center"}},s.default.createElement(o.default,{simple:!0,current:R,pageSize:15,total:T,onChange:function(e){L(e)}})))))}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var r=n("q1tI"),a=n("3S7+"),o=n("H84U"),u=n("6CfX");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 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 i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},h=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)}(b,e);var t,n,c,h,y=(t=b,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return i(this,b),(e=y.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,o=e.props,u=o.prefixCls,c=v(o,["prefixCls"]);delete c.title;var i=n("popover",u);return r.createElement(a.default,l({},c,{prefixCls:i,ref:e.saveTooltip,overlay:e.getOverlay(i)}))},e}return n=b,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,a=t.content;return Object(u.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},a))}},{key:"render",value:function(){return r.createElement(o.a,null,this.renderPopover)}}])&&f(n.prototype,c),h&&f(n,h),b}(r.Component);h.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),u=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var l=c(n("vOnD")).default.div(o);t.default=function(e){var t=e.children;return u.default.createElement(l,null,t)}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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 u(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,o){try{var u=t[a](o),c=u.value}catch(e){return void n(e)}if(!u.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,l,i;t.getBranch=(c=u(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=(l=u(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 l.apply(this,arguments)}),t.getHooks=(i=u(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 i.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/static/js/53.c9e38028.chunk.js b/static/js/54.2705a78b.chunk.js similarity index 99% rename from static/js/53.c9e38028.chunk.js rename to static/js/54.2705a78b.chunk.js index b6e2bcf21..1b2d226f0 100644 --- a/static/js/53.c9e38028.chunk.js +++ b/static/js/54.2705a78b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[53],{"9Do8":function(e,t,o){"use strict";e.exports=o("zt9T")},BtkW:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(o("W9HT")),n=h(o("2/Rp")),a=h(o("CtXQ")),i=h(o("9yH6")),l=h(o("Vl3Y")),s=h(o("5rEg")),f=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}();o("04bd"),o("L/Qf"),o("2oDE"),o("K4yd"),o("tULf"),o("1vPl");var c=o("q1tI"),u=h(c),p=o("sYIF"),d=o("eO8H");o("XmZk");var m=h(o("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var v=s.default.TextArea,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 o=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 o.changeSubmittype=function(e){o.setState({submitType:e.target.value})},o.changeFileName=function(e){o.setState({filename:e.target.value})},o.subMitFrom=function(){var e=o.props,t=e.filepath,r=e.content,n=e.editor_type,a=o.props.match.params,i=a.branch,l=a.projectsId,s=a.owner,f=o.state,c=f.submitType,u=f.filename;o.setState({isSpin:!0});var p="upload"===n?t:t.substr(1);o.props.form.validateFieldsAndScroll((function(e,t){if(e)o.setState({isSpin:!1});else{var n="/"+s+"/"+l+"/create_file.json";m.default.post(n,{filepath:u||p,branch:i,new_branch:"1"===c?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(o.setState({isSpin:!1}),e.data&&e.data.name){if(o.props.showNotification("文件新建成功!"),"1"===c){var r=o.props.getTopCount;r&&r(t.branchname)}var n="/projects/"+s+"/"+l+(t.branchname?"/branch/"+t.branchname:i?"/branch/"+i:"");o.props.history.push(n)}})).catch((function(e){o.setState({isSpin:!1}),console.log(e)}))}}))},o.UpdateFile=function(){o.setState({isSpin:!0});var e=o.props,t=e.branch,r=e.detail,n=e.content,a=e.currentBranch,i=o.props.match.params,l=i.projectsId,s=i.owner,f=o.state.submitType,c="/"+s+"/"+l+"/update_file.json";o.props.form.validateFieldsAndScroll((function(e,i){e?o.setState({isSpin:!1}):m.default.put(c,{filepath:r.path,branch:"1"===f?void 0:a||t,new_branch:"1"===f?i.branchname:void 0,content:n,sha:r.sha,message:i.desc}).then((function(e){if(o.setState({isSpin:!1}),e.data&&1===e.data.status){var r="/projects/"+s+"/"+l+(i.branchname?"/branch/"+i.branchname:a||t?"/branch/"+(a||t):"");o.props.history.push(r),o.props.showNotification("文件修改成功!")}})).catch((function(e){o.setState({isSpin:!1}),console.log(e)}))}))},o.state={submitType:"0",filename:"",isSpin:!1},o}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.state,o=t.submitType,f=t.filename,c=t.isSpin,m=this.props.form.getFieldDecorator,h=this.props.match.params,b=h.branch,y=h.projectsId,g=h.owner,w=this.props,E=w.current_user,S=w.filepath,O=w.projectDetail,j=w.currentBranch,N=this.props.editor_type;return u.default.createElement("div",null,u.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},u.default.createElement(d.Link,{to:"/users/"+(E&&E.login),className:"show-user-link"},u.default.createElement("img",{src:(0,p.getImageUrl)("images/"+(E&&E.image_url)),alt:"",className:"screwImg"}),u.default.createElement("span",{className:"color-grey-3 ver-middle"},E&&E.username,":")),u.default.createElement("span",{className:"color-grey-8"},"提交变更")),u.default.createElement(r.default,{spinning:c},u.default.createElement("div",{className:"userScrew"},u.default.createElement("div",{className:"screwPanel"},u.default.createElement(l.default,null,u.default.createElement(l.default.Item,{style:{display:"upload"===N?"block":"none"}},m("path",{rules:[]})(u.default.createElement("div",{className:"setInputAddon"},u.default.createElement(s.default,{addonBefore:"/"+(O&&O.identifier)+"/",value:f||S,onChange:this.changeFileName,placeholder:"文件路径..."})))),u.default.createElement(l.default.Item,null,m("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(u.default.createElement(v,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),u.default.createElement(i.default.Group,{value:o,onChange:this.changeSubmittype},u.default.createElement(i.default,{value:"0",className:"mb10"},u.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",u.default.createElement("span",{className:"color-orange"},j||b),"分支"),u.default.createElement(i.default,{value:"1"},u.default.createElement(a.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",u.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===o?u.default.createElement("div",{className:"mt15"},u.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},m("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(u.default.createElement(s.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),u.default.createElement("div",{className:"mt20"},u.default.createElement(n.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),u.default.createElement(n.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+g+"/"+y)},className:"mr20"},"取消"))))}}]),t}(c.Component),y=l.default.create({name:"UserSubmitForm"})(b);t.default=y},Gytx:function(e,t){e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var f=a[s];if(!l(f))return!1;var c=e[f],u=t[f];if(!1===(n=o?o.call(r,c,u,f):void 0)||void 0===n&&c!==u)return!1}return!0}},XmZk:function(e,t,o){},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=="},jB5C:function(e,t,o){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n="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 a(e,t){var o=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof o){var n=e.document;"number"!=typeof(o=n.documentElement[r])&&(o=n.body[r])}return o}function i(e){return a(e)}function l(e){return a(e,!0)}function s(e){var t=function(e){var t,o=void 0,r=void 0,n=e.ownerDocument,a=n.body,i=n&&n.documentElement;return o=(t=e.getBoundingClientRect()).left,r=t.top,{left:o-=i.clientLeft||a.clientLeft||0,top:r-=i.clientTop||a.clientTop||0}}(e),o=e.ownerDocument,r=o.defaultView||o.parentWindow;return t.left+=i(r),t.top+=l(r),t}var f=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),c=/^(top|right|bottom|left)$/,u="left";var p=void 0;function d(e,t){for(var o=0;o<e.length;o++)t(e[o])}function m(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,o){var r="",n=e.ownerDocument,a=o||n.defaultView.getComputedStyle(e,null);return a&&(r=a.getPropertyValue(t)||a[t]),r}:function(e,t){var o=e.currentStyle&&e.currentStyle[t];if(f.test(o)&&!c.test(t)){var r=e.style,n=r[u],a=e.runtimeStyle[u];e.runtimeStyle[u]=e.currentStyle[u],r[u]="fontSize"===t?"1em":o||0,o=r.pixelLeft+"px",r[u]=n,e.runtimeStyle[u]=a}return""===o?"auto":o});var h=["margin","border","padding"];function v(e,t,o){var r={},n=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r[a]=n[a],n[a]=t[a]);for(a in o.call(e),t)t.hasOwnProperty(a)&&(n[a]=r[a])}function b(e,t,o){var r=0,n=void 0,a=void 0,i=void 0;for(a=0;a<t.length;a++)if(n=t[a])for(i=0;i<o.length;i++){var l=void 0;l="border"===n?n+o[i]+"Width":n+o[i],r+=parseFloat(p(e,l))||0}return r}function y(e){return null!=e&&e==e.window}var g={};function w(e,t,o){if(y(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"],n="width"===t?e.offsetWidth:e.offsetHeight,a=(p(e),m(e)),i=0;(null==n||n<=0)&&(n=void 0,(null==(i=p(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===o&&(o=a?1:-1);var l=void 0!==n||a,s=n||i;if(-1===o)return l?s-b(e,["border","padding"],r):i;if(l){var f=2===o?-b(e,["border"],r):b(e,["margin"],r);return s+(1===o?0:f)}return i+b(e,h.slice(o),r)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var o=t.document;return Math.max(o.documentElement["scroll"+e],o.body["scroll"+e],g["viewport"+e](o))},g["viewport"+e]=function(t){var o="client"+e,r=t.document,n=r.body,a=r.documentElement[o];return"CSS1Compat"===r.compatMode&&a||n&&n[o]||a}}));var E={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,o=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,o):v(e,E,(function(){t=w.apply(void 0,o)})),t}function O(e,t,o){var r=o;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):p(e,t);for(var a in t)t.hasOwnProperty(a)&&O(e,a,t[a])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,o){return t&&S(t,e,o?0:1)};var o="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&S(t,e,-1);if(t){p(t);return m(t)&&(r+=b(t,["padding","border"],o)),O(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"===O(e,"position")&&(e.style.position="relative");var o=s(e),r={},n=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(n=parseFloat(O(e,a))||0,r[a]=n+t[a]-o[a]);O(e,r)}(e,t)},isWindow:y,each:d,css:O,clone:function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);if(e.overflow)for(var o in e)e.hasOwnProperty(o)&&(t.overflow[o]=e.overflow[o]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return i(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return l(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},jP00:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),a=o("q1tI"),i=c(a);o("XmZk");var l=c(o("BtkW")),s=c(o("k2Mo")),f=c(o("bIax"));function c(e){return e&&e.__esModule?e:{default:e}}var u=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 o=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 o.UploadFunc=function(e){o.setState({filename:e.fileName,editorValue:e.fileContent})},o.state={editorValue:"",filename:"",fileList:void 0,attachment_clean:!0},o}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),n(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,o=t.filename,n=t.editorValue,a=t.attachment_clean,c=e.split("uploadfile/")[1],u=c?c+"/"+o:o;return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"main"},i.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"上传文件"),i.default.createElement("div",{className:"upload-file-repo"},i.default.createElement(s.default,r({className:"commentStyle",isComplete:a,load:this.UploadFunc,icon:i.default.createElement("img",{src:f.default,width:"58",alt:"",style:{marginBottom:15}}),size:5,showNotification:this.props.showNotification},this.props))),i.default.createElement("div",null,i.default.createElement(l.default,r({},this.props,this.state,{filepath:u,content:n,editor_type:"upload"})))))}}]),t}(a.Component);t.default=u},k2Mo:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(o("CtXQ")),n=f(o("8z0m")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},i=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}();o("2oDE"),o("7W5+");var l=o("q1tI"),s=f(l);o("sYIF"),f(o("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var c=n.default.Dragger,u=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 o=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 o.onAttachmentRemove=function(e){o.setState({fileList:void 0,fileContent:void 0,fileName:void 0})},o.handleChange=function(e){var t=new FileReader;t.readAsText(e.fileList[0].originFileObj,"UTF-8"),t.onload=function(e){o.state.fileContent=e.target.result,o.props.load&&o.props.load(o.state)}},o.beforeUpload=function(e){var t=o.state.fileList,r=o.props.size,n=e.size/1024/1024<r,a=e.type.split("/").slice(-1)[0];return t&&t.length>0?o.props.showNotification("文件已存在, 请删除后再上传"):n?a&&-1!==["jpg","jpeg","png","ico","bmp","gif","pdf","csv","xlsx","xls","tif","svg","psd","cdr","webp"].indexOf(a)?o.props.showNotification("不支持"+a+"类型"):o.setState({fileList:[e],fileName:e.name}):o.props.showNotification("文件大小必须小于"+r+"MB!"),!1},o.state={fileList:void 0,fileContent:void 0,fileName:void 0},o}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,t=e.icon,o=e.size,n=this.state,i=n.fileList,l=n.fileName,f={name:"file",fileList:i,onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(c,a({},f,{className:this.props.className}),l?s.default.createElement("p",{className:"ant-upload-text"},l):s.default.createElement("div",null,t||s.default.createElement(r.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"},"文件名请使用英文且不得超过",o,"MB")))}}]),t}(l.Component);t.default=u},zt9T:function(e,t,o){"use strict";var r=o("jB5C");e.exports=function(e,t,o){o=o||{},9===t.nodeType&&(t=r.getWindow(t));var n=o.allowHorizontalScroll,a=o.onlyScrollIfNeeded,i=o.alignWithTop,l=o.alignWithLeft,s=o.offsetTop||0,f=o.offsetLeft||0,c=o.offsetBottom||0,u=o.offsetRight||0;n=void 0===n||n;var p=r.isWindow(t),d=r.offset(e),m=r.outerHeight(e),h=r.outerWidth(e),v=void 0,b=void 0,y=void 0,g=void 0,w=void 0,E=void 0,S=void 0,O=void 0,j=void 0,N=void 0;p?(S=t,N=r.height(S),j=r.width(S),O={left:r.scrollLeft(S),top:r.scrollTop(S)},w={left:d.left-O.left-f,top:d.top-O.top-s},E={left:d.left+h-(O.left+j)+u,top:d.top+m-(O.top+N)+c},g=O):(v=r.offset(t),b=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},w={left:d.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-f,top:d.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},E={left:d.left+h-(v.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+u,top:d.top+m-(v.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+c}),w.top<0||E.top>0?!0===i?r.scrollTop(t,g.top+w.top):!1===i?r.scrollTop(t,g.top+E.top):w.top<0?r.scrollTop(t,g.top+w.top):r.scrollTop(t,g.top+E.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+w.top):r.scrollTop(t,g.top+E.top)),n&&(w.left<0||E.left>0?!0===l?r.scrollLeft(t,g.left+w.left):!1===l?r.scrollLeft(t,g.left+E.left):w.left<0?r.scrollLeft(t,g.left+w.left):r.scrollLeft(t,g.left+E.left):a||((l=void 0===l||!!l)?r.scrollLeft(t,g.left+w.left):r.scrollLeft(t,g.left+E.left)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[54],{"9Do8":function(e,t,o){"use strict";e.exports=o("zt9T")},BtkW:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(o("W9HT")),n=h(o("2/Rp")),a=h(o("CtXQ")),i=h(o("9yH6")),l=h(o("Vl3Y")),s=h(o("5rEg")),f=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}();o("04bd"),o("L/Qf"),o("2oDE"),o("K4yd"),o("tULf"),o("1vPl");var c=o("q1tI"),u=h(c),p=o("sYIF"),d=o("eO8H");o("XmZk");var m=h(o("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var v=s.default.TextArea,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 o=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 o.changeSubmittype=function(e){o.setState({submitType:e.target.value})},o.changeFileName=function(e){o.setState({filename:e.target.value})},o.subMitFrom=function(){var e=o.props,t=e.filepath,r=e.content,n=e.editor_type,a=o.props.match.params,i=a.branch,l=a.projectsId,s=a.owner,f=o.state,c=f.submitType,u=f.filename;o.setState({isSpin:!0});var p="upload"===n?t:t.substr(1);o.props.form.validateFieldsAndScroll((function(e,t){if(e)o.setState({isSpin:!1});else{var n="/"+s+"/"+l+"/create_file.json";m.default.post(n,{filepath:u||p,branch:i,new_branch:"1"===c?t.branchname:void 0,content:r,message:t.desc}).then((function(e){if(o.setState({isSpin:!1}),e.data&&e.data.name){if(o.props.showNotification("文件新建成功!"),"1"===c){var r=o.props.getTopCount;r&&r(t.branchname)}var n="/projects/"+s+"/"+l+(t.branchname?"/branch/"+t.branchname:i?"/branch/"+i:"");o.props.history.push(n)}})).catch((function(e){o.setState({isSpin:!1}),console.log(e)}))}}))},o.UpdateFile=function(){o.setState({isSpin:!0});var e=o.props,t=e.branch,r=e.detail,n=e.content,a=e.currentBranch,i=o.props.match.params,l=i.projectsId,s=i.owner,f=o.state.submitType,c="/"+s+"/"+l+"/update_file.json";o.props.form.validateFieldsAndScroll((function(e,i){e?o.setState({isSpin:!1}):m.default.put(c,{filepath:r.path,branch:"1"===f?void 0:a||t,new_branch:"1"===f?i.branchname:void 0,content:n,sha:r.sha,message:i.desc}).then((function(e){if(o.setState({isSpin:!1}),e.data&&1===e.data.status){var r="/projects/"+s+"/"+l+(i.branchname?"/branch/"+i.branchname:a||t?"/branch/"+(a||t):"");o.props.history.push(r),o.props.showNotification("文件修改成功!")}})).catch((function(e){o.setState({isSpin:!1}),console.log(e)}))}))},o.state={submitType:"0",filename:"",isSpin:!1},o}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.state,o=t.submitType,f=t.filename,c=t.isSpin,m=this.props.form.getFieldDecorator,h=this.props.match.params,b=h.branch,y=h.projectsId,g=h.owner,w=this.props,E=w.current_user,S=w.filepath,O=w.projectDetail,j=w.currentBranch,N=this.props.editor_type;return u.default.createElement("div",null,u.default.createElement("span",{className:"df mt30",style:{alignItems:"center"}},u.default.createElement(d.Link,{to:"/users/"+(E&&E.login),className:"show-user-link"},u.default.createElement("img",{src:(0,p.getImageUrl)("images/"+(E&&E.image_url)),alt:"",className:"screwImg"}),u.default.createElement("span",{className:"color-grey-3 ver-middle"},E&&E.username,":")),u.default.createElement("span",{className:"color-grey-8"},"提交变更")),u.default.createElement(r.default,{spinning:c},u.default.createElement("div",{className:"userScrew"},u.default.createElement("div",{className:"screwPanel"},u.default.createElement(l.default,null,u.default.createElement(l.default.Item,{style:{display:"upload"===N?"block":"none"}},m("path",{rules:[]})(u.default.createElement("div",{className:"setInputAddon"},u.default.createElement(s.default,{addonBefore:"/"+(O&&O.identifier)+"/",value:f||S,onChange:this.changeFileName,placeholder:"文件路径..."})))),u.default.createElement(l.default.Item,null,m("desc",{rules:[{required:!0,message:"请添加描述信息"}]})(u.default.createElement(v,{placeholder:"必填,描述主要修改类型和内容",authSize:{minRows:3,maxRows:5}}))),u.default.createElement(i.default.Group,{value:o,onChange:this.changeSubmittype},u.default.createElement(i.default,{value:"0",className:"mb10"},u.default.createElement("i",{className:"iconfont icon-banbenku font-16 mr5"}),"直接提交至",u.default.createElement("span",{className:"color-orange"},j||b),"分支"),u.default.createElement(i.default,{value:"1"},u.default.createElement(a.default,{type:"pull-request",className:"mr5"}),"为此提交创建一个",u.default.createElement("span",{className:"font-bd"},"新的分支"),"并发起合并请求")),"1"===o?u.default.createElement("div",{className:"mt15"},u.default.createElement(l.default.Item,{style:{paddingLeft:"24px"}},m("branchname",{rules:[{required:!0,message:"请输入分支名称"}]})(u.default.createElement(s.default,{placeholder:"请输入分支名称",style:{width:"220px"}})))):""))),u.default.createElement("div",{className:"mt20"},u.default.createElement(n.default,{type:"primary",onClick:"update"===N?this.UpdateFile:this.subMitFrom,className:"mr30"},"提交变更"),u.default.createElement(n.default,{type:"primary grey",onClick:function(){e.props.history.push("/projects/"+g+"/"+y)},className:"mr20"},"取消"))))}}]),t}(c.Component),y=l.default.create({name:"UserSubmitForm"})(b);t.default=y},Gytx:function(e,t){e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<a.length;s++){var f=a[s];if(!l(f))return!1;var c=e[f],u=t[f];if(!1===(n=o?o.call(r,c,u,f):void 0)||void 0===n&&c!==u)return!1}return!0}},XmZk:function(e,t,o){},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=="},jB5C:function(e,t,o){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n="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 a(e,t){var o=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof o){var n=e.document;"number"!=typeof(o=n.documentElement[r])&&(o=n.body[r])}return o}function i(e){return a(e)}function l(e){return a(e,!0)}function s(e){var t=function(e){var t,o=void 0,r=void 0,n=e.ownerDocument,a=n.body,i=n&&n.documentElement;return o=(t=e.getBoundingClientRect()).left,r=t.top,{left:o-=i.clientLeft||a.clientLeft||0,top:r-=i.clientTop||a.clientTop||0}}(e),o=e.ownerDocument,r=o.defaultView||o.parentWindow;return t.left+=i(r),t.top+=l(r),t}var f=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),c=/^(top|right|bottom|left)$/,u="left";var p=void 0;function d(e,t){for(var o=0;o<e.length;o++)t(e[o])}function m(e){return"border-box"===p(e,"boxSizing")}"undefined"!=typeof window&&(p=window.getComputedStyle?function(e,t,o){var r="",n=e.ownerDocument,a=o||n.defaultView.getComputedStyle(e,null);return a&&(r=a.getPropertyValue(t)||a[t]),r}:function(e,t){var o=e.currentStyle&&e.currentStyle[t];if(f.test(o)&&!c.test(t)){var r=e.style,n=r[u],a=e.runtimeStyle[u];e.runtimeStyle[u]=e.currentStyle[u],r[u]="fontSize"===t?"1em":o||0,o=r.pixelLeft+"px",r[u]=n,e.runtimeStyle[u]=a}return""===o?"auto":o});var h=["margin","border","padding"];function v(e,t,o){var r={},n=e.style,a=void 0;for(a in t)t.hasOwnProperty(a)&&(r[a]=n[a],n[a]=t[a]);for(a in o.call(e),t)t.hasOwnProperty(a)&&(n[a]=r[a])}function b(e,t,o){var r=0,n=void 0,a=void 0,i=void 0;for(a=0;a<t.length;a++)if(n=t[a])for(i=0;i<o.length;i++){var l=void 0;l="border"===n?n+o[i]+"Width":n+o[i],r+=parseFloat(p(e,l))||0}return r}function y(e){return null!=e&&e==e.window}var g={};function w(e,t,o){if(y(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"],n="width"===t?e.offsetWidth:e.offsetHeight,a=(p(e),m(e)),i=0;(null==n||n<=0)&&(n=void 0,(null==(i=p(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===o&&(o=a?1:-1);var l=void 0!==n||a,s=n||i;if(-1===o)return l?s-b(e,["border","padding"],r):i;if(l){var f=2===o?-b(e,["border"],r):b(e,["margin"],r);return s+(1===o?0:f)}return i+b(e,h.slice(o),r)}d(["Width","Height"],(function(e){g["doc"+e]=function(t){var o=t.document;return Math.max(o.documentElement["scroll"+e],o.body["scroll"+e],g["viewport"+e](o))},g["viewport"+e]=function(t){var o="client"+e,r=t.document,n=r.body,a=r.documentElement[o];return"CSS1Compat"===r.compatMode&&a||n&&n[o]||a}}));var E={position:"absolute",visibility:"hidden",display:"block"};function S(e){var t=void 0,o=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,o):v(e,E,(function(){t=w.apply(void 0,o)})),t}function O(e,t,o){var r=o;if("object"!==(void 0===t?"undefined":n(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):p(e,t);for(var a in t)t.hasOwnProperty(a)&&O(e,a,t[a])}d(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);g["outer"+t]=function(t,o){return t&&S(t,e,o?0:1)};var o="width"===e?["Left","Right"]:["Top","Bottom"];g[e]=function(t,r){if(void 0===r)return t&&S(t,e,-1);if(t){p(t);return m(t)&&(r+=b(t,["padding","border"],o)),O(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"===O(e,"position")&&(e.style.position="relative");var o=s(e),r={},n=void 0,a=void 0;for(a in t)t.hasOwnProperty(a)&&(n=parseFloat(O(e,a))||0,r[a]=n+t[a]-o[a]);O(e,r)}(e,t)},isWindow:y,each:d,css:O,clone:function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);if(e.overflow)for(var o in e)e.hasOwnProperty(o)&&(t.overflow[o]=e.overflow[o]);return t},scrollLeft:function(e,t){if(y(e)){if(void 0===t)return i(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(y(e)){if(void 0===t)return l(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},g)},jP00:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),a=o("q1tI"),i=c(a);o("XmZk");var l=c(o("BtkW")),s=c(o("k2Mo")),f=c(o("bIax"));function c(e){return e&&e.__esModule?e:{default:e}}var u=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 o=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 o.UploadFunc=function(e){o.setState({filename:e.fileName,editorValue:e.fileContent})},o.state={editorValue:"",filename:"",fileList:void 0,attachment_clean:!0},o}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),n(t,[{key:"render",value:function(){var e=this.props.location.pathname,t=this.state,o=t.filename,n=t.editorValue,a=t.attachment_clean,c=e.split("uploadfile/")[1],u=c?c+"/"+o:o;return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"main"},i.default.createElement("p",{className:"pb15 bor-bottom-greyE font-16 color-grey-3 mb20"},"上传文件"),i.default.createElement("div",{className:"upload-file-repo"},i.default.createElement(s.default,r({className:"commentStyle",isComplete:a,load:this.UploadFunc,icon:i.default.createElement("img",{src:f.default,width:"58",alt:"",style:{marginBottom:15}}),size:5,showNotification:this.props.showNotification},this.props))),i.default.createElement("div",null,i.default.createElement(l.default,r({},this.props,this.state,{filepath:u,content:n,editor_type:"upload"})))))}}]),t}(a.Component);t.default=u},k2Mo:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(o("CtXQ")),n=f(o("8z0m")),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},i=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}();o("2oDE"),o("7W5+");var l=o("q1tI"),s=f(l);o("sYIF"),f(o("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var c=n.default.Dragger,u=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 o=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 o.onAttachmentRemove=function(e){o.setState({fileList:void 0,fileContent:void 0,fileName:void 0})},o.handleChange=function(e){var t=new FileReader;t.readAsText(e.fileList[0].originFileObj,"UTF-8"),t.onload=function(e){o.state.fileContent=e.target.result,o.props.load&&o.props.load(o.state)}},o.beforeUpload=function(e){var t=o.state.fileList,r=o.props.size,n=e.size/1024/1024<r,a=e.type.split("/").slice(-1)[0];return t&&t.length>0?o.props.showNotification("文件已存在, 请删除后再上传"):n?a&&-1!==["jpg","jpeg","png","ico","bmp","gif","pdf","csv","xlsx","xls","tif","svg","psd","cdr","webp"].indexOf(a)?o.props.showNotification("不支持"+a+"类型"):o.setState({fileList:[e],fileName:e.name}):o.props.showNotification("文件大小必须小于"+r+"MB!"),!1},o.state={fileList:void 0,fileContent:void 0,fileName:void 0},o}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,t=e.icon,o=e.size,n=this.state,i=n.fileList,l=n.fileName,f={name:"file",fileList:i,onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return s.default.createElement(c,a({},f,{className:this.props.className}),l?s.default.createElement("p",{className:"ant-upload-text"},l):s.default.createElement("div",null,t||s.default.createElement(r.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"},"文件名请使用英文且不得超过",o,"MB")))}}]),t}(l.Component);t.default=u},zt9T:function(e,t,o){"use strict";var r=o("jB5C");e.exports=function(e,t,o){o=o||{},9===t.nodeType&&(t=r.getWindow(t));var n=o.allowHorizontalScroll,a=o.onlyScrollIfNeeded,i=o.alignWithTop,l=o.alignWithLeft,s=o.offsetTop||0,f=o.offsetLeft||0,c=o.offsetBottom||0,u=o.offsetRight||0;n=void 0===n||n;var p=r.isWindow(t),d=r.offset(e),m=r.outerHeight(e),h=r.outerWidth(e),v=void 0,b=void 0,y=void 0,g=void 0,w=void 0,E=void 0,S=void 0,O=void 0,j=void 0,N=void 0;p?(S=t,N=r.height(S),j=r.width(S),O={left:r.scrollLeft(S),top:r.scrollTop(S)},w={left:d.left-O.left-f,top:d.top-O.top-s},E={left:d.left+h-(O.left+j)+u,top:d.top+m-(O.top+N)+c},g=O):(v=r.offset(t),b=t.clientHeight,y=t.clientWidth,g={left:t.scrollLeft,top:t.scrollTop},w={left:d.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-f,top:d.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-s},E={left:d.left+h-(v.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+u,top:d.top+m-(v.top+b+(parseFloat(r.css(t,"borderBottomWidth"))||0))+c}),w.top<0||E.top>0?!0===i?r.scrollTop(t,g.top+w.top):!1===i?r.scrollTop(t,g.top+E.top):w.top<0?r.scrollTop(t,g.top+w.top):r.scrollTop(t,g.top+E.top):a||((i=void 0===i||!!i)?r.scrollTop(t,g.top+w.top):r.scrollTop(t,g.top+E.top)),n&&(w.left<0||E.left>0?!0===l?r.scrollLeft(t,g.left+w.left):!1===l?r.scrollLeft(t,g.left+E.left):w.left<0?r.scrollLeft(t,g.left+w.left):r.scrollLeft(t,g.left+E.left):a||((l=void 0===l||!!l)?r.scrollLeft(t,g.left+w.left):r.scrollLeft(t,g.left+E.left)))}}}]); \ No newline at end of file diff --git a/static/js/54.c20c0ed3.chunk.js b/static/js/55.3f08e720.chunk.js similarity index 95% rename from static/js/54.c20c0ed3.chunk.js rename to static/js/55.3f08e720.chunk.js index 7dbe0e5f6..63a7e2e54 100644 --- a/static/js/54.c20c0ed3.chunk.js +++ b/static/js/55.3f08e720.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[54,64],{"6V0J":function(e,t,n){},"7dqz":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("2/Rp")),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}}();n("L/Qf");var l=n("q1tI"),o=u(l),s=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}n("6V0J");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.componentDidMount=function(){n.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,s.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,r=t.isSpin,l=t.fontClass,s=t.starText,u=t.is_block;return o.default.createElement(a.default,{type:n?"default":"primary",ghost:!n,block:u,loading:r,onClick:function(){return e.focusFunc(n)}},n?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:l},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:l},s)))}}]),t}(l.Component);t.default=c},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=E(n("W9HT")),r=E(n("2/Rp")),l=E(n("mr32")),o=E(n("Tckk")),s=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},u=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("L/Qf"),n("0lcf"),n("xpQY");var c=n("q1tI"),i=E(c),f=n("eO8H"),p=E(n("KJct")),d=E(n("vDqi")),m=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var h=E(n("CnBM")),_=E(n("HUFq"));function E(e){return e&&e.__esModule?e:{default:e}}var v=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(31)]).then(n.t.bind(null,"aah+",7))},loading:_.default}),g=(0,h.default)({loader:function(){return n.e(97).then(n.t.bind(null,"A5Ec",7))},loading:_.default}),y=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(40)]).then(n.t.bind(null,"EEGS",7))},loading:_.default}),b=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(58)]).then(n.t.bind(null,"vTxG",7))},loading:_.default}),w=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(75)]).then(n.t.bind(null,"0WPJ",7))},loading:_.default}),N=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(74)]).then(n.t.bind(null,"bkQV",7))},loading:_.default}),k=(0,h.default)({loader:function(){return n.e(85).then(n.t.bind(null,"danK",7))},loading:_.default}),j=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.fetchUser()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser()},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){n.setState({user:e.data,isSpin:!1})})).catch((function(e){console.log(e),n.setState({isSpin:!1})}))},n.change_project_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0});var a="/users/"+(t&&t.login);e&&(a="/users/"+(t&&t.login)+"/projects/"+e),n.props.history.push(a)},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/users/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0}),n.props.history.push("/users/"+(e&&e.login)+"/undo_events")},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}),n.props.history.push("/users/"+(e&&e.login)+"/organizes")},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type: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.current_user,u=t.mygetHelmetapi,c=this.props.match.params.username,d=this.state,h=d.user,_=d.isSpin,E=d.project_type,j=d.route_type;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:_},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left"},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center pd20 "},i.default.createElement(o.default,{size:110,src:(0,m.getImageUrl)("images/"+(h&&h.image_url))}),h&&h.user_identity&&i.default.createElement("div",{className:"mt-n15 position-relative"},i.default.createElement(l.default,{color:"#FF6E21",style:{marginRight:"0px"}},h&&h.user_identity)),i.default.createElement("div",{className:"text-center mt15 font-16 fwb"},h&&h.username),i.default.createElement("div",null,h&&n&&h.login===n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(r.default,{block:!0,className:"text-button-grey",href:""+(u&&u.new_course&&u.new_course.edit_account),target:"_blank"}," ",i.default.createElement("i",{className:"iconfont icon-shezhi4 font-15 mr5"}),"修改资料")),n&&h&&h.login!==n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(p.default,{is_block:!0,is_watch:h.is_watch,id:h.login,fontClass:"font-14 ml5",starText:"关注TA"}))),i.default.createElement("div",{className:"width100 inline-block mt20"},i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/watchers",className:"with50 text-center pull-left "+("watchers"===j?"text-primary":""),onClick:function(){return e.route_link("watchers")}},i.default.createElement("div",null,n&&h&&h.login===n.login?"我关注的":"TA关注的"),i.default.createElement("span",null,h&&h.watching_count)),i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/fan_users",onClick:function(){return e.route_link("fan_users")},className:"with50 text-center pull-left "+("fan_users"===j?"text-primary":"")},i.default.createElement("div",null,n&&h&&h.login===n.login?"关注我的":"关注TA的"),i.default.createElement("span",null,h&&h.watched_count))))),i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle",onClick:function(){return e.change_project_type(void 0)}},i.default.createElement("i",{className:"iconfont icon-xiangmuleixing font-15 mr5"}),"项目类型",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"common"===E?"active":"",onClick:function(){return e.change_project_type("common")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.common_projects_count))),i.default.createElement("li",{className:E&&"mirror"===E?"active":"",onClick:function(){return e.change_project_type("mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源镜像项目"),i.default.createElement("span",{className:"color-blue"},h&&h.mirror_projects_count))),i.default.createElement("li",{className:E&&"sync_mirror"===E?"active":"",onClick:function(){return e.change_project_type("sync_mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"镜像托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.sync_mirror_projects_count))))),n&&n.login&&n.login===c&&i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu font-15 mr5"}),"DevOps工作流",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"CIService"===E?"active":"",onClick:function(){return e.change_devops_type("CIService")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16 color-grey-3"},"CI服务")))))),i.default.createElement("div",{className:"list-right"},h&&i.default.createElement("div",null,i.default.createElement(f.Switch,this.props,i.default.createElement(f.Route,{path:"/users/:username/watchers",render:function(){return i.default.createElement(w,s({},e.props,e.state,{userType:"watchers"}))}}),i.default.createElement(f.Route,{path:"/users/:username/undo_events",render:function(){return i.default.createElement(k,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/fan_users",render:function(){return i.default.createElement(N,s({},e.props,e.state,{userType:"fan_users"}))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CDService",render:function(){return i.default.createElement(g,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CIService",render:function(){return i.default.createElement(v,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/projects/:project_type",render:function(){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/organizes",render:function(){return i.default.createElement(b,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}})))))))}}]),t}(c.Component);t.default=j}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[55,65],{"6V0J":function(e,t,n){},"7dqz":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("2/Rp")),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}}();n("L/Qf");var l=n("q1tI"),o=u(l),s=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}n("6V0J");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.componentDidMount=function(){n.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,s.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,r=t.isSpin,l=t.fontClass,s=t.starText,u=t.is_block;return o.default.createElement(a.default,{type:n?"default":"primary",ghost:!n,block:u,loading:r,onClick:function(){return e.focusFunc(n)}},n?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:l},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:l},s)))}}]),t}(l.Component);t.default=c},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=E(n("W9HT")),r=E(n("2/Rp")),l=E(n("mr32")),o=E(n("Tckk")),s=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},u=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("L/Qf"),n("0lcf"),n("xpQY");var c=n("q1tI"),i=E(c),f=n("eO8H"),p=E(n("KJct")),d=E(n("vDqi")),m=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var h=E(n("CnBM")),_=E(n("HUFq"));function E(e){return e&&e.__esModule?e:{default:e}}var v=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(32)]).then(n.t.bind(null,"aah+",7))},loading:_.default}),g=(0,h.default)({loader:function(){return n.e(98).then(n.t.bind(null,"A5Ec",7))},loading:_.default}),y=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(41)]).then(n.t.bind(null,"EEGS",7))},loading:_.default}),b=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(59)]).then(n.t.bind(null,"vTxG",7))},loading:_.default}),w=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(77)]).then(n.t.bind(null,"0WPJ",7))},loading:_.default}),N=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(76)]).then(n.t.bind(null,"bkQV",7))},loading:_.default}),k=(0,h.default)({loader:function(){return n.e(86).then(n.t.bind(null,"danK",7))},loading:_.default}),j=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.fetchUser()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser()},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){n.setState({user:e.data,isSpin:!1})})).catch((function(e){console.log(e),n.setState({isSpin:!1})}))},n.change_project_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0});var a="/users/"+(t&&t.login);e&&(a="/users/"+(t&&t.login)+"/projects/"+e),n.props.history.push(a)},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/users/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0}),n.props.history.push("/users/"+(e&&e.login)+"/undo_events")},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}),n.props.history.push("/users/"+(e&&e.login)+"/organizes")},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type: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.current_user,u=t.mygetHelmetapi,c=this.props.match.params.username,d=this.state,h=d.user,_=d.isSpin,E=d.project_type,j=d.route_type;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:_},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left"},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center pd20 "},i.default.createElement(o.default,{size:110,src:(0,m.getImageUrl)("images/"+(h&&h.image_url))}),h&&h.user_identity&&i.default.createElement("div",{className:"mt-n15 position-relative"},i.default.createElement(l.default,{color:"#FF6E21",style:{marginRight:"0px"}},h&&h.user_identity)),i.default.createElement("div",{className:"text-center mt15 font-16 fwb"},h&&h.username),i.default.createElement("div",null,h&&n&&h.login===n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(r.default,{block:!0,className:"text-button-grey",href:""+(u&&u.new_course&&u.new_course.edit_account),target:"_blank"}," ",i.default.createElement("i",{className:"iconfont icon-shezhi4 font-15 mr5"}),"修改资料")),n&&h&&h.login!==n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(p.default,{is_block:!0,is_watch:h.is_watch,id:h.login,fontClass:"font-14 ml5",starText:"关注TA"}))),i.default.createElement("div",{className:"width100 inline-block mt20"},i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/watchers",className:"with50 text-center pull-left "+("watchers"===j?"text-primary":""),onClick:function(){return e.route_link("watchers")}},i.default.createElement("div",null,n&&h&&h.login===n.login?"我关注的":"TA关注的"),i.default.createElement("span",null,h&&h.watching_count)),i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/fan_users",onClick:function(){return e.route_link("fan_users")},className:"with50 text-center pull-left "+("fan_users"===j?"text-primary":"")},i.default.createElement("div",null,n&&h&&h.login===n.login?"关注我的":"关注TA的"),i.default.createElement("span",null,h&&h.watched_count))))),i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle",onClick:function(){return e.change_project_type(void 0)}},i.default.createElement("i",{className:"iconfont icon-xiangmuleixing font-15 mr5"}),"项目类型",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"common"===E?"active":"",onClick:function(){return e.change_project_type("common")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.common_projects_count))),i.default.createElement("li",{className:E&&"mirror"===E?"active":"",onClick:function(){return e.change_project_type("mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源镜像项目"),i.default.createElement("span",{className:"color-blue"},h&&h.mirror_projects_count))),i.default.createElement("li",{className:E&&"sync_mirror"===E?"active":"",onClick:function(){return e.change_project_type("sync_mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"镜像托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.sync_mirror_projects_count))))),n&&n.login&&n.login===c&&i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu font-15 mr5"}),"DevOps工作流",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"CIService"===E?"active":"",onClick:function(){return e.change_devops_type("CIService")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16 color-grey-3"},"CI服务")))))),i.default.createElement("div",{className:"list-right"},h&&i.default.createElement("div",null,i.default.createElement(f.Switch,this.props,i.default.createElement(f.Route,{path:"/users/:username/watchers",render:function(){return i.default.createElement(w,s({},e.props,e.state,{userType:"watchers"}))}}),i.default.createElement(f.Route,{path:"/users/:username/undo_events",render:function(){return i.default.createElement(k,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/fan_users",render:function(){return i.default.createElement(N,s({},e.props,e.state,{userType:"fan_users"}))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CDService",render:function(){return i.default.createElement(g,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CIService",render:function(){return i.default.createElement(v,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/projects/:project_type",render:function(){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/organizes",render:function(){return i.default.createElement(b,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}})))))))}}]),t}(c.Component);t.default=j}}]); \ No newline at end of file diff --git a/static/js/55.4503cdbf.chunk.js b/static/js/56.51255ef7.chunk.js similarity index 99% rename from static/js/55.4503cdbf.chunk.js rename to static/js/56.51255ef7.chunk.js index 33b0902e2..650e482dc 100644 --- a/static/js/55.4503cdbf.chunk.js +++ b/static/js/56.51255ef7.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[55],{Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("5rEg"));n("1vPl");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}var o=a.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return r.default.createElement(o,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},Lr7t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(["{\n display:flex;\n align-item:center;\n }"],["{\n display:flex;\n align-item:center;\n }"]),r=u(["{\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 }"]),l=u(["{\n display:flex;\n align-item: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-item: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 }"]),o=i(n("q1tI")),c=i(n("vOnD"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.default=function(e){var t=e.fork,n=e.parise,i=c.default.div(a),u=c.default.span(r),f=c.default.span(l);return o.default.createElement(i,null,t||0===t?o.default.createElement(u,null,o.default.createElement("i",{className:"iconfont icon-fork font-15 mr3",style:{color:"#1B8FFF"}}),"fork(",t,")"):"",n||0===n?o.default.createElement(f,null,o.default.createElement("i",{className:"iconfont icon-guanzhu font-14 mr3",style:{color:"#FFA802"}}),"点赞(",n,")"):"")}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var a=n("q1tI"),r=n("3S7+"),l=n("H84U"),o=n("6CfX");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 i(){return(i=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}).apply(this,arguments)}function u(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 p(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},h=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)}(y,e);var t,n,c,h,g=(t=y,function(){var e,n=m(t);if(p()){var a=m(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return d(this,e)});function y(){var e;return u(this,y),(e=g.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,l=e.props,o=l.prefixCls,c=v(l,["prefixCls"]);delete c.title;var u=n("popover",o);return a.createElement(r.default,i({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=y,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,r=t.content;return Object(o.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),a.createElement("div",null,n&&a.createElement("div",{className:"".concat(e,"-title")},n),a.createElement("div",{className:"".concat(e,"-inner-content")},r))}},{key:"render",value:function(){return a.createElement(l.a,null,this.renderPopover)}}])&&f(n.prototype,c),h&&f(n,h),y}(a.Component);h.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},wZuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=h(n("2/Rp")),r=h(n("BvKs")),l=g(["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"],["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"]),o=g(["{\n display:flex;\n aligin:center;\n}"],["{\n display:flex;\n aligin:center;\n}"]),c=g(["{\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}"]),i=g(["{\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}"]),u=g(["{\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}"]);n("L/Qf"),n("2WkQ");var f=h(n("q1tI")),s=h(n("Hsgt")),d=h(n("y6GU")),p=h(n("Lr7t")),m=h(n("yQnu"));n("VUSe");var v=h(n("vOnD"));function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y=v.default.span(l),x=v.default.div(o),E=v.default.div(c),b=v.default.div(i),O=v.default.img(u);t.default=function(){var e=f.default.createElement(r.default,null,f.default.createElement(r.default.Item,{key:"updated_on"},"更新时间排序"),f.default.createElement(r.default.Item,{key:"created_on"},"项目数排序")),t=f.default.createElement(r.default,null,f.default.createElement(r.default.Item,{key:"updated_on"},"新建托管项目"),f.default.createElement(r.default.Item,{key:"created_on"},"新建镜像项目")),n=f.default.createElement("div",{className:"team_project"},f.default.createElement("p",{className:"t_p_title"},f.default.createElement("span",{className:"flex1"},f.default.createElement("span",{className:"name"},"react项目react项目react项目react项目"),f.default.createElement("i",{className:"iconfont icon-banbenku font-20 color-green"}),f.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"}),f.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})),f.default.createElement(p.default,{fork:1,parise:0})),f.default.createElement("div",{className:"desc"},"用于构建用户界面的 JavaScript 库"),f.default.createElement("div",{className:"infos"},f.default.createElement("span",{className:"font-12 color-grey-8"},"更新于1天前")));return f.default.createElement("div",{className:"list"},f.default.createElement("div",{className:"list-l"},f.default.createElement("div",{className:"head"},f.default.createElement("div",{style:{width:"370px"}},f.default.createElement(s.default,{placeholder:"输入仓库名称进行搜索",onSearch:function(e){}})),f.default.createElement("p",null,f.default.createElement(d.default,{menu:t},f.default.createElement("a",{className:"addBtn mr30"},"+ 新建项目")),f.default.createElement(d.default,{menu:e},f.default.createElement("a",{className:"color-blue"},"排序",f.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),f.default.createElement("div",{className:"team"},n)),f.default.createElement("div",{className:"list-r"},f.default.createElement(m.default,{name:"组织成员",count:8},f.default.createElement("div",{className:"teammembers"},f.default.createElement(O,{src:"https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1990625098,3468619056&fm=111&gp=0.jpg",alt:"",className:"m-img"}),f.default.createElement("div",null,f.default.createElement(E,null,"陈Professer"),f.default.createElement(x,null,f.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-13"}),f.default.createElement(y,null,"加入时间:2020-04-28"))))),f.default.createElement(m.default,{name:"组织团队",count:3,bottom:f.default.createElement(a.default,{type:"primary",to:""},"新建团队")},f.default.createElement("div",{className:"teammembers"},f.default.createElement("div",null,f.default.createElement(b,null,"陈Professer"),f.default.createElement(x,null,f.default.createElement(y,null,"2名成员"),f.default.createElement(y,null,"1个仓库")))))))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("diRs"));n("Aosp");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return r.default.createElement(a.default,{content:t,trigger:["click"],placement:"bottom"},n)}},yQnu: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};t.default=function(e){var t=e.name,n=e.count,a=e.bottom,r=e.children;return l.default.createElement("div",{className:"box"},l.default.createElement("div",{className:"head"},l.default.createElement("span",null,t),l.default.createElement("span",null,n,l.default.createElement("i",{className:"iconfont icon-youjiantou font-12 ml3"}))),l.default.createElement("div",{className:"content"},r),a?l.default.createElement("div",{className:"foot"},a):"")}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[56],{Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("5rEg"));n("1vPl");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}var o=a.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return r.default.createElement(o,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},Lr7t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(["{\n display:flex;\n align-item:center;\n }"],["{\n display:flex;\n align-item:center;\n }"]),r=u(["{\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 }"]),l=u(["{\n display:flex;\n align-item: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-item: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 }"]),o=i(n("q1tI")),c=i(n("vOnD"));function i(e){return e&&e.__esModule?e:{default:e}}function u(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.default=function(e){var t=e.fork,n=e.parise,i=c.default.div(a),u=c.default.span(r),f=c.default.span(l);return o.default.createElement(i,null,t||0===t?o.default.createElement(u,null,o.default.createElement("i",{className:"iconfont icon-fork font-15 mr3",style:{color:"#1B8FFF"}}),"fork(",t,")"):"",n||0===n?o.default.createElement(f,null,o.default.createElement("i",{className:"iconfont icon-guanzhu font-14 mr3",style:{color:"#FFA802"}}),"点赞(",n,")"):"")}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var a=n("q1tI"),r=n("3S7+"),l=n("H84U"),o=n("6CfX");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 i(){return(i=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}).apply(this,arguments)}function u(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 a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 p(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},h=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)}(y,e);var t,n,c,h,g=(t=y,function(){var e,n=m(t);if(p()){var a=m(this).constructor;e=Reflect.construct(n,arguments,a)}else e=n.apply(this,arguments);return d(this,e)});function y(){var e;return u(this,y),(e=g.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,l=e.props,o=l.prefixCls,c=v(l,["prefixCls"]);delete c.title;var u=n("popover",o);return a.createElement(r.default,i({},c,{prefixCls:u,ref:e.saveTooltip,overlay:e.getOverlay(u)}))},e}return n=y,(c=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,r=t.content;return Object(o.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),a.createElement("div",null,n&&a.createElement("div",{className:"".concat(e,"-title")},n),a.createElement("div",{className:"".concat(e,"-inner-content")},r))}},{key:"render",value:function(){return a.createElement(l.a,null,this.renderPopover)}}])&&f(n.prototype,c),h&&f(n,h),y}(a.Component);h.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},wZuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=h(n("2/Rp")),r=h(n("BvKs")),l=g(["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"],["{\n color:#888;\n font-size:12px;\n margin-right:10px;\n}"]),o=g(["{\n display:flex;\n aligin:center;\n}"],["{\n display:flex;\n aligin:center;\n}"]),c=g(["{\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}"]),i=g(["{\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}"]),u=g(["{\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}"]);n("L/Qf"),n("2WkQ");var f=h(n("q1tI")),s=h(n("Hsgt")),d=h(n("y6GU")),p=h(n("Lr7t")),m=h(n("yQnu"));n("VUSe");var v=h(n("vOnD"));function h(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var y=v.default.span(l),x=v.default.div(o),E=v.default.div(c),b=v.default.div(i),O=v.default.img(u);t.default=function(){var e=f.default.createElement(r.default,null,f.default.createElement(r.default.Item,{key:"updated_on"},"更新时间排序"),f.default.createElement(r.default.Item,{key:"created_on"},"项目数排序")),t=f.default.createElement(r.default,null,f.default.createElement(r.default.Item,{key:"updated_on"},"新建托管项目"),f.default.createElement(r.default.Item,{key:"created_on"},"新建镜像项目")),n=f.default.createElement("div",{className:"team_project"},f.default.createElement("p",{className:"t_p_title"},f.default.createElement("span",{className:"flex1"},f.default.createElement("span",{className:"name"},"react项目react项目react项目react项目"),f.default.createElement("i",{className:"iconfont icon-banbenku font-20 color-green"}),f.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green"}),f.default.createElement("i",{className:"iconfont icon-fork font-18 color-orange"})),f.default.createElement(p.default,{fork:1,parise:0})),f.default.createElement("div",{className:"desc"},"用于构建用户界面的 JavaScript 库"),f.default.createElement("div",{className:"infos"},f.default.createElement("span",{className:"font-12 color-grey-8"},"更新于1天前")));return f.default.createElement("div",{className:"list"},f.default.createElement("div",{className:"list-l"},f.default.createElement("div",{className:"head"},f.default.createElement("div",{style:{width:"370px"}},f.default.createElement(s.default,{placeholder:"输入仓库名称进行搜索",onSearch:function(e){}})),f.default.createElement("p",null,f.default.createElement(d.default,{menu:t},f.default.createElement("a",{className:"addBtn mr30"},"+ 新建项目")),f.default.createElement(d.default,{menu:e},f.default.createElement("a",{className:"color-blue"},"排序",f.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),f.default.createElement("div",{className:"team"},n)),f.default.createElement("div",{className:"list-r"},f.default.createElement(m.default,{name:"组织成员",count:8},f.default.createElement("div",{className:"teammembers"},f.default.createElement(O,{src:"https://dss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1990625098,3468619056&fm=111&gp=0.jpg",alt:"",className:"m-img"}),f.default.createElement("div",null,f.default.createElement(E,null,"陈Professer"),f.default.createElement(x,null,f.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-13"}),f.default.createElement(y,null,"加入时间:2020-04-28"))))),f.default.createElement(m.default,{name:"组织团队",count:3,bottom:f.default.createElement(a.default,{type:"primary",to:""},"新建团队")},f.default.createElement("div",{className:"teammembers"},f.default.createElement("div",null,f.default.createElement(b,null,"陈Professer"),f.default.createElement(x,null,f.default.createElement(y,null,"2名成员"),f.default.createElement(y,null,"1个仓库")))))))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("diRs"));n("Aosp");var r=l(n("q1tI"));function l(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return r.default.createElement(a.default,{content:t,trigger:["click"],placement:"bottom"},n)}},yQnu: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};t.default=function(e){var t=e.name,n=e.count,a=e.bottom,r=e.children;return l.default.createElement("div",{className:"box"},l.default.createElement("div",{className:"head"},l.default.createElement("span",null,t),l.default.createElement("span",null,n,l.default.createElement("i",{className:"iconfont icon-youjiantou font-12 ml3"}))),l.default.createElement("div",{className:"content"},r),a?l.default.createElement("div",{className:"foot"},a):"")}}}]); \ No newline at end of file diff --git a/static/js/56.cfbd2bfb.chunk.js b/static/js/57.1ff35d95.chunk.js similarity index 99% rename from static/js/56.cfbd2bfb.chunk.js rename to static/js/57.1ff35d95.chunk.js index 0a5d81450..60a60d51a 100644 --- a/static/js/56.cfbd2bfb.chunk.js +++ b/static/js/57.1ff35d95.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[56,71],{"+hnl":function(e,t,n){},"32zL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("kaz8")),a=m(n("Vl3Y")),o=m(n("2fM7")),l=m(n("5rEg")),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},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("MKzF"),n("tULf"),n("8QGh"),n("1vPl");var u=n("q1tI"),s=m(u),f=m(n("ess8")),p=(m(n("l+tP")),n("spEH")),d=m(n("vDqi"));function m(e){return e&&e.__esModule?e:{default:e}}n("NzgE");var h=l.default.TextArea,y=o.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.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getCategory(),n.getLanguage(),n.getInfo()},n.getLanguage=function(){d.default.get("/project_languages.json").then((function(e){if(e){var t=n.setOptionsList(e.data.project_languages);n.setState({LanguageList:t})}})).catch((function(e){}))},n.getInfo=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/edit.json";d.default.get(r).then((function(e){e&&(n.props.form.setFieldsValue(c({},e.data)),n.setState({private_check:e.data.private}))})).catch((function(e){console.log(e)}))},n.getCategory=function(){d.default.get("/project_categories.json").then((function(e){if(e){var t=n.setOptionsList(e.data.project_categories);n.setState({CategoryList:t})}})).catch((function(e){}))},n.setOptionsList=function(e){var t=void 0;return e&&e.length>0&&(t=e.map((function(e,t){return s.default.createElement(y,{key:e.id,value:e.id},e.name)}))),t},n.resetSetting=function(){n.props.form.validateFields((function(e,t){if(!e){var r=n.props.match.params,a=r.projectsId,o=r.owner,l=n.state.private_check,i="/"+o+"/"+a+".json";d.default.put(i,c({name:t.project_name,description:t.project_description,private:l},t)).then((function(e){if(e){n.props.showNotification("仓库信息修改成功!");var t=n.props.getDetail;t&&t()}})).catch((function(e){console.log(e)}))}}))},n.deleteProject=function(){n.props.confirm({content:"删除后无法恢复,是否确认删除本仓库?",onOk:function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+".json";d.default.delete(r).then((function(e){n.props.showNotification("仓库删除成功!"),n.props.history.push("/projects")})).catch((function(e){console.log(e)}))}})},n.changePrivate=function(e){n.setState({private_check:e.target.checked})},n.state={CategoryList:void 0,LanguageList:void 0,private_check: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.form.getFieldDecorator,t=this.state,n=t.CategoryList,c=t.LanguageList,i=t.private_check;return s.default.createElement("div",null,s.default.createElement(p.WhiteBack,{style:{paddingBottom:"20px"}},s.default.createElement(f.default,null,"基本设置"),s.default.createElement(a.default,{className:"baseForm"},s.default.createElement(a.default.Item,{label:"项目名称"},e("project_name",{rules:[{required:!0,message:"请输入项目名称"}]})(s.default.createElement(l.default,{placeholder:"请输入项目名称"}))),s.default.createElement("div",{className:"df",style:{alignItems:"center"}},s.default.createElement("span",{className:"mr20 mb15 font-16"},"可见性"),s.default.createElement(a.default.Item,{label:""},e("private",{rules:[]})(s.default.createElement(r.default,{checked:i,onChange:this.changePrivate},"将仓库设为私有")))),s.default.createElement(a.default.Item,{label:"仓库描述"},e("project_description",{rules:[]})(s.default.createElement(h,{placeholder:"请输入仓库描述",style:{height:"80px"}}))),s.default.createElement(a.default.Item,{label:"项目类别"},e("project_category_id",{rules:[{required:!0,message:"请选择大类别"}]})(s.default.createElement(o.default,null,n))),s.default.createElement(a.default.Item,{label:"项目语言"},e("project_language_id",{rules:[{required:!0,message:"请选择项目语言"}]})(s.default.createElement(o.default,null,c))),s.default.createElement("p",{className:"clearfix"},s.default.createElement("a",{className:"submitBtn",onClick:this.resetSetting},"更新仓库设置")))),s.default.createElement(p.WhiteBack,{className:"dangerousBox mb20"},s.default.createElement("div",null,s.default.createElement("div",{className:"dangerousTitle"},"危险操作区"),s.default.createElement("div",{className:"flex-a-center padding15-10"},s.default.createElement("div",null,s.default.createElement("p",{className:"font-bd font-16"},"删除本仓库"),s.default.createElement("p",{className:"mt10"},"删除仓库是永久性的, 无法撤消,且删除后,与仓库关联的项目/任务/合并请求/版本发布等,均会被删除")),s.default.createElement("a",{onClick:this.deleteProject,className:"red_deleteBtn"},"删除本仓库")))))}}]),t}(u.Component),v=a.default.create({name:"settingForm"})(b);t.default=v},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),l=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var i=c(n("vOnD")).default.div(o);t.default=function(e){var t=e.children;return l.default.createElement(i,null,t)}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("17x9"),o=n("VCL8"),l=n("TSYQ"),c=n.n(l),i=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=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&&v(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=k(t);if(O()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return y(this,u),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,a=t.getPrefixCls,o=x(e),l=o.props,u=o.context,s=l.prefixCls,f=l.className,p=l.children,d=l.indeterminate,y=l.style,b=l.onMouseEnter,v=l.onMouseLeave,g=j(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=u.checkboxGroup,k=a("checkbox",s),E=h({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:p,value:l.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(l.value),E.disabled=l.disabled||O.disabled);var C=c()(f,(m(n={},"".concat(k,"-wrapper"),!0),m(n,"".concat(k,"-wrapper-checked"),E.checked),m(n,"".concat(k,"-wrapper-disabled"),E.disabled),n)),w=c()(m({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:C,style:y,onMouseEnter:b,onMouseLeave:v},r.createElement(i.a,h({},E,{prefixCls:k,className:w,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(a=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,a=void 0===r?{}:r;n!==t&&a.registerValue&&a.cancelValue&&(a.cancelValue(t),a.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&b(n.prototype,a),o&&b(n,o),u}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:a.any},Object(o.polyfill)(E);var C=E,w=n("BGR+");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 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 S(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 I(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return!t||"object"!==_(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 L(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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&&D(e,t)}(i,e);var t,n,a,o,l=(t=i,function(){var e,n=T(t);if(L()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return F(this,e)});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=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(S(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),a=S(t.state.value);-1===r?a.push(e.value):a.splice(r,1),"value"in t.props||t.setState({value:a});var o=t.props.onChange;if(o){var l=t.getOptions();o(a.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,a=V(t),o=a.props,l=a.state,i=o.prefixCls,u=o.className,s=o.style,f=o.options,p=z(o,["prefixCls","className","style","options"]),d=n("checkbox",i),m="".concat(d,"-group"),h=Object(w.a)(p,["children","defaultValue","value","onChange","disabled"]),y=o.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:o.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var b=c()(m,u);return r.createElement("div",P({className:b,style:s},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(a=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&I(n.prototype,a),o&&I(n,o),i}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:a.array,value:a.array,options:a.array.isRequired,onChange:a.func},M.childContextTypes={checkboxGroup:a.any},Object(o.polyfill)(M);var R=M;C.Group=R;t.default=C},"l+tP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("2/Rp")),a=m(n("5rEg")),o=m(n("kaz8")),l=m(n("Vl3Y")),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 l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.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")},i=h(["{\n margin:0px 30px;\n background:#FAFAFA;\n padding:0px 20px 10px 20px;\n .ant-form.ant-form-horizontal{\n padding:15px 0px;\n }\n}"],["{\n margin:0px 30px;\n background:#FAFAFA;\n padding:0px 20px 10px 20px;\n .ant-form.ant-form-horizontal{\n padding:15px 0px;\n }\n}"]),u=h(["{\n padding:15px 0px;\n font-size:16px;\n color:#333;\n border-bottom:1px solid #DDDDDD;\n}"],["{\n padding:15px 0px;\n font-size:16px;\n color:#333;\n border-bottom:1px solid #DDDDDD;\n}"]),s=h(["{\n padding-bottom:10px;\n &>span{\n color:#333;\n }\n .ant-checkbox-wrapper{\n height:20px;\n line-height:20px;\n }\n .ant-row.ant-form-item{\n margin-bottom:0px;\n }\n}"],["{\n padding-bottom:10px;\n &>span{\n color:#333;\n }\n .ant-checkbox-wrapper{\n height:20px;\n line-height:20px;\n }\n .ant-row.ant-form-item{\n margin-bottom:0px;\n }\n}"]);n("L/Qf"),n("1vPl"),n("MKzF"),n("tULf");var f=n("q1tI"),p=m(f),d=m(n("vOnD"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n("NzgE");var y=d.default.div(i),b=d.default.p(u),v=d.default.div(s);t.default=l.default.create()((0,f.forwardRef)((function(e){var t=e.form,n=t.getFieldDecorator,i=(t.validateFields,t.setFieldsValue,(0,f.useState)(!1)),u=c(i,2),s=u[0],d=u[1],m=(0,f.useCallback)((function(e,t,r,a,o){var c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return p.default.createElement(v,{className:o},p.default.createElement("span",{required:c},e),p.default.createElement(l.default.Item,null,n(t,{rules:r,validateFirst:!0})(a)))}),[]);return p.default.createElement(y,null,p.default.createElement(b,null,"镜像设置"),p.default.createElement(l.default,null,m("修剪","cut",[],p.default.createElement(o.default,null,"删除过时的远程跟踪引用"),"iteminline setHeight"),m("从URL克隆","clone",[],p.default.createElement(a.default,null)),p.default.createElement("p",{className:"color-grey-8"},"在Clone认证部分里输入必要的信息"),p.default.createElement("p",{className:"mt10 mb10 color-grey-3 pointer",onClick:function(){return d(!s)}},"需要授权验证",p.default.createElement("i",{className:s?"iconfont icon-xiajiantou font-13 ml10 color-grey-8":"iconfont icon-youjiantou font-13 ml10 color-grey-8"})),s?p.default.createElement("div",{className:"df",style:{alignItems:"center"}},m("用户名","name",[],p.default.createElement(a.default,null),"iteminline"),m("密码","password",[],p.default.createElement(a.default,{type:"password"}),"iteminline ml30")):"",p.default.createElement("p",{className:"mb15"},"上次同步 2020-06-16 17:40"),p.default.createElement(r.default,{type:"primary"},"同步")))})))},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),i=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),b=n("TSYQ"),v=n.n(b),g=n("VCL8"),x=function(e){function t(n){i()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,i=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,b=t.autoFocus,g=t.value,x=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(x).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=x[t]),e}),{}),k=this.state.checked,j=v()(n,r,((e={})[n+"-checked"]=k,e[n+"-disabled"]=s,e));return m.a.createElement("span",{className:j,style:o},m.a.createElement("input",l()({name:c,id:i,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!k,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:b,ref:this.saveInput,value:g},O)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);x.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},x.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(x);var O=x;t.a=O}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[57,73],{"+hnl":function(e,t,n){},"32zL":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("kaz8")),a=m(n("Vl3Y")),o=m(n("2fM7")),l=m(n("5rEg")),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},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("MKzF"),n("tULf"),n("8QGh"),n("1vPl");var u=n("q1tI"),s=m(u),f=m(n("ess8")),p=(m(n("l+tP")),n("spEH")),d=m(n("vDqi"));function m(e){return e&&e.__esModule?e:{default:e}}n("NzgE");var h=l.default.TextArea,y=o.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.componentDidUpdate=function(e){e&&n.props&&!n.props.checkIfLogin()&&n.props.history.push("/403")},n.componentDidMount=function(){n.getCategory(),n.getLanguage(),n.getInfo()},n.getLanguage=function(){d.default.get("/project_languages.json").then((function(e){if(e){var t=n.setOptionsList(e.data.project_languages);n.setState({LanguageList:t})}})).catch((function(e){}))},n.getInfo=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/edit.json";d.default.get(r).then((function(e){e&&(n.props.form.setFieldsValue(c({},e.data)),n.setState({private_check:e.data.private}))})).catch((function(e){console.log(e)}))},n.getCategory=function(){d.default.get("/project_categories.json").then((function(e){if(e){var t=n.setOptionsList(e.data.project_categories);n.setState({CategoryList:t})}})).catch((function(e){}))},n.setOptionsList=function(e){var t=void 0;return e&&e.length>0&&(t=e.map((function(e,t){return s.default.createElement(y,{key:e.id,value:e.id},e.name)}))),t},n.resetSetting=function(){n.props.form.validateFields((function(e,t){if(!e){var r=n.props.match.params,a=r.projectsId,o=r.owner,l=n.state.private_check,i="/"+o+"/"+a+".json";d.default.put(i,c({name:t.project_name,description:t.project_description,private:l},t)).then((function(e){if(e){n.props.showNotification("仓库信息修改成功!");var t=n.props.getDetail;t&&t()}})).catch((function(e){console.log(e)}))}}))},n.deleteProject=function(){n.props.confirm({content:"删除后无法恢复,是否确认删除本仓库?",onOk:function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+".json";d.default.delete(r).then((function(e){n.props.showNotification("仓库删除成功!"),n.props.history.push("/projects")})).catch((function(e){console.log(e)}))}})},n.changePrivate=function(e){n.setState({private_check:e.target.checked})},n.state={CategoryList:void 0,LanguageList:void 0,private_check: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.form.getFieldDecorator,t=this.state,n=t.CategoryList,c=t.LanguageList,i=t.private_check;return s.default.createElement("div",null,s.default.createElement(p.WhiteBack,{style:{paddingBottom:"20px"}},s.default.createElement(f.default,null,"基本设置"),s.default.createElement(a.default,{className:"baseForm"},s.default.createElement(a.default.Item,{label:"项目名称"},e("project_name",{rules:[{required:!0,message:"请输入项目名称"}]})(s.default.createElement(l.default,{placeholder:"请输入项目名称"}))),s.default.createElement("div",{className:"df",style:{alignItems:"center"}},s.default.createElement("span",{className:"mr20 mb15 font-16"},"可见性"),s.default.createElement(a.default.Item,{label:""},e("private",{rules:[]})(s.default.createElement(r.default,{checked:i,onChange:this.changePrivate},"将仓库设为私有")))),s.default.createElement(a.default.Item,{label:"仓库描述"},e("project_description",{rules:[]})(s.default.createElement(h,{placeholder:"请输入仓库描述",style:{height:"80px"}}))),s.default.createElement(a.default.Item,{label:"项目类别"},e("project_category_id",{rules:[{required:!0,message:"请选择大类别"}]})(s.default.createElement(o.default,null,n))),s.default.createElement(a.default.Item,{label:"项目语言"},e("project_language_id",{rules:[{required:!0,message:"请选择项目语言"}]})(s.default.createElement(o.default,null,c))),s.default.createElement("p",{className:"clearfix"},s.default.createElement("a",{className:"submitBtn",onClick:this.resetSetting},"更新仓库设置")))),s.default.createElement(p.WhiteBack,{className:"dangerousBox mb20"},s.default.createElement("div",null,s.default.createElement("div",{className:"dangerousTitle"},"危险操作区"),s.default.createElement("div",{className:"flex-a-center padding15-10"},s.default.createElement("div",null,s.default.createElement("p",{className:"font-bd font-16"},"删除本仓库"),s.default.createElement("p",{className:"mt10"},"删除仓库是永久性的, 无法撤消,且删除后,与仓库关联的项目/任务/合并请求/版本发布等,均会被删除")),s.default.createElement("a",{onClick:this.deleteProject,className:"red_deleteBtn"},"删除本仓库")))))}}]),t}(u.Component),v=a.default.create({name:"settingForm"})(b);t.default=v},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,o=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),l=c(n("q1tI"));function c(e){return e&&e.__esModule?e:{default:e}}var i=c(n("vOnD")).default.div(o);t.default=function(e){var t=e.children;return l.default.createElement(i,null,t)}},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),a=n("17x9"),o=n("VCL8"),l=n("TSYQ"),c=n.n(l),i=n("x1Ya"),u=n("Gytx"),s=n.n(u),f=n("H84U"),p=n("6CfX");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(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(){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 y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n<t.length;n++){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 g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var j=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&&v(e,t)}(u,e);var t,n,a,o,l=(t=u,function(){var e,n=k(t);if(O()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function u(){var e;return y(this,u),(e=l.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,a=t.getPrefixCls,o=x(e),l=o.props,u=o.context,s=l.prefixCls,f=l.className,p=l.children,d=l.indeterminate,y=l.style,b=l.onMouseEnter,v=l.onMouseLeave,g=j(l,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),O=u.checkboxGroup,k=a("checkbox",s),E=h({},g);O&&(E.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),O.toggleOption({label:p,value:l.value})},E.name=O.name,E.checked=-1!==O.value.indexOf(l.value),E.disabled=l.disabled||O.disabled);var C=c()(f,(m(n={},"".concat(k,"-wrapper"),!0),m(n,"".concat(k,"-wrapper-checked"),E.checked),m(n,"".concat(k,"-wrapper-disabled"),E.disabled),n)),w=c()(m({},"".concat(k,"-indeterminate"),d));return r.createElement("label",{className:C,style:y,onMouseEnter:b,onMouseLeave:v},r.createElement(i.a,h({},E,{prefixCls:k,className:w,ref:e.saveCheckbox})),void 0!==p&&r.createElement("span",null,p))},e}return n=u,(a=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(p.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,a=void 0===r?{}:r;n!==t&&a.registerValue&&a.cancelValue&&(a.cancelValue(t),a.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderCheckbox)}}])&&b(n.prototype,a),o&&b(n,o),u}(r.Component);E.__ANT_CHECKBOX=!0,E.defaultProps={indeterminate:!1},E.contextTypes={checkboxGroup:a.any},Object(o.polyfill)(E);var C=E,w=n("BGR+");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 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 S(e){return function(e){if(Array.isArray(e))return N(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 N(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(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 N(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 I(e,t){for(var n=0;n<t.length;n++){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 F(e,t){return!t||"object"!==_(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 L(){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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var z=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&&D(e,t)}(i,e);var t,n,a,o,l=(t=i,function(){var e,n=T(t);if(L()){var r=T(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return F(this,e)});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=l.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(S(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),a=S(t.state.value);-1===r?a.push(e.value):a.splice(r,1),"value"in t.props||t.setState({value:a});var o=t.props.onChange;if(o){var l=t.getOptions();o(a.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return l.findIndex((function(t){return t.value===e}))-l.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,a=V(t),o=a.props,l=a.state,i=o.prefixCls,u=o.className,s=o.style,f=o.options,p=z(o,["prefixCls","className","style","options"]),d=n("checkbox",i),m="".concat(d,"-group"),h=Object(w.a)(p,["children","defaultValue","value","onChange","disabled"]),y=o.children;f&&f.length>0&&(y=t.getOptions().map((function(e){return r.createElement(C,{prefixCls:d,key:e.value.toString(),disabled:"disabled"in e?e.disabled:o.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(m,"-item")},e.label)})));var b=c()(m,u);return r.createElement("div",P({className:b,style:s},h),y)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(a=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(f.a,null,this.renderGroup)}}])&&I(n.prototype,a),o&&I(n,o),i}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:a.array,value:a.array,options:a.array.isRequired,onChange:a.func},M.childContextTypes={checkboxGroup:a.any},Object(o.polyfill)(M);var R=M;C.Group=R;t.default=C},"l+tP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n("2/Rp")),a=m(n("5rEg")),o=m(n("kaz8")),l=m(n("Vl3Y")),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 l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.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")},i=h(["{\n margin:0px 30px;\n background:#FAFAFA;\n padding:0px 20px 10px 20px;\n .ant-form.ant-form-horizontal{\n padding:15px 0px;\n }\n}"],["{\n margin:0px 30px;\n background:#FAFAFA;\n padding:0px 20px 10px 20px;\n .ant-form.ant-form-horizontal{\n padding:15px 0px;\n }\n}"]),u=h(["{\n padding:15px 0px;\n font-size:16px;\n color:#333;\n border-bottom:1px solid #DDDDDD;\n}"],["{\n padding:15px 0px;\n font-size:16px;\n color:#333;\n border-bottom:1px solid #DDDDDD;\n}"]),s=h(["{\n padding-bottom:10px;\n &>span{\n color:#333;\n }\n .ant-checkbox-wrapper{\n height:20px;\n line-height:20px;\n }\n .ant-row.ant-form-item{\n margin-bottom:0px;\n }\n}"],["{\n padding-bottom:10px;\n &>span{\n color:#333;\n }\n .ant-checkbox-wrapper{\n height:20px;\n line-height:20px;\n }\n .ant-row.ant-form-item{\n margin-bottom:0px;\n }\n}"]);n("L/Qf"),n("1vPl"),n("MKzF"),n("tULf");var f=n("q1tI"),p=m(f),d=m(n("vOnD"));function m(e){return e&&e.__esModule?e:{default:e}}function h(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n("NzgE");var y=d.default.div(i),b=d.default.p(u),v=d.default.div(s);t.default=l.default.create()((0,f.forwardRef)((function(e){var t=e.form,n=t.getFieldDecorator,i=(t.validateFields,t.setFieldsValue,(0,f.useState)(!1)),u=c(i,2),s=u[0],d=u[1],m=(0,f.useCallback)((function(e,t,r,a,o){var c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return p.default.createElement(v,{className:o},p.default.createElement("span",{required:c},e),p.default.createElement(l.default.Item,null,n(t,{rules:r,validateFirst:!0})(a)))}),[]);return p.default.createElement(y,null,p.default.createElement(b,null,"镜像设置"),p.default.createElement(l.default,null,m("修剪","cut",[],p.default.createElement(o.default,null,"删除过时的远程跟踪引用"),"iteminline setHeight"),m("从URL克隆","clone",[],p.default.createElement(a.default,null)),p.default.createElement("p",{className:"color-grey-8"},"在Clone认证部分里输入必要的信息"),p.default.createElement("p",{className:"mt10 mb10 color-grey-3 pointer",onClick:function(){return d(!s)}},"需要授权验证",p.default.createElement("i",{className:s?"iconfont icon-xiajiantou font-13 ml10 color-grey-8":"iconfont icon-youjiantou font-13 ml10 color-grey-8"})),s?p.default.createElement("div",{className:"df",style:{alignItems:"center"}},m("用户名","name",[],p.default.createElement(a.default,null),"iteminline"),m("密码","password",[],p.default.createElement(a.default,{type:"password"}),"iteminline ml30")):"",p.default.createElement("p",{className:"mb15"},"上次同步 2020-06-16 17:40"),p.default.createElement(r.default,{type:"primary"},"同步")))})))},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),a=n.n(r),o=n("QbLZ"),l=n.n(o),c=n("iCc5"),i=n.n(c),u=n("FYw3"),s=n.n(u),f=n("mRg0"),p=n.n(f),d=n("q1tI"),m=n.n(d),h=n("17x9"),y=n.n(h),b=n("TSYQ"),v=n.n(b),g=n("VCL8"),x=function(e){function t(n){i()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,a=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),a&&a({target:l()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var a="checked"in n?n.checked:n.defaultChecked;return r.state={checked:a},r}return p()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?l()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,o=t.style,c=t.name,i=t.id,u=t.type,s=t.disabled,f=t.readOnly,p=t.tabIndex,d=t.onClick,h=t.onFocus,y=t.onBlur,b=t.autoFocus,g=t.value,x=a()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),O=Object.keys(x).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=x[t]),e}),{}),k=this.state.checked,j=v()(n,r,((e={})[n+"-checked"]=k,e[n+"-disabled"]=s,e));return m.a.createElement("span",{className:j,style:o},m.a.createElement("input",l()({name:c,id:i,type:u,readOnly:f,disabled:s,tabIndex:p,className:n+"-input",checked:!!k,onClick:d,onFocus:h,onBlur:y,onChange:this.handleChange,autoFocus:b,ref:this.saveInput,value:g},O)),m.a.createElement("span",{className:n+"-inner"}))},t}(d.Component);x.propTypes={prefixCls:y.a.string,className:y.a.string,style:y.a.object,name:y.a.string,id:y.a.string,type:y.a.string,defaultChecked:y.a.oneOfType([y.a.number,y.a.bool]),checked:y.a.oneOfType([y.a.number,y.a.bool]),disabled:y.a.bool,onFocus:y.a.func,onBlur:y.a.func,onChange:y.a.func,onClick:y.a.func,tabIndex:y.a.oneOfType([y.a.string,y.a.number]),readOnly:y.a.bool,autoFocus:y.a.bool,value:y.a.any},x.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(x);var O=x;t.a=O}}]); \ No newline at end of file diff --git a/static/js/57.99086526.chunk.js b/static/js/58.8d7cbe26.chunk.js similarity index 99% rename from static/js/57.99086526.chunk.js rename to static/js/58.8d7cbe26.chunk.js index 50f0a2948..06e537158 100644 --- a/static/js/57.99086526.chunk.js +++ b/static/js/58.8d7cbe26.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[57],{Aosp:function(e,t,o){"use strict";o.r(t);o("SchZ"),o("Dt+G")},"Dt+G":function(e,t,o){},Fxvz:function(e,t){e.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},NJEC:function(e,t,o){"use strict";o.r(t);var i=o("q1tI"),n=o("VCL8"),r=o("3S7+"),a=o("CtXQ"),l=o("2/Rp"),d=o("YMnH"),s=o("ZvpZ"),M=o("H84U");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(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function u(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(o[i[n]]=e[i[n]])}return o},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)}(f,e);var t,o,n,a,S=(t=f,function(){var e,o=g(t);if(b()){var i=g(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)});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=S.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var o=t.props.onConfirm;o&&o.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var o=t.props.onCancel;o&&o.call(m(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,o){var n=t.props,r=n.okButtonProps,a=n.cancelButtonProps,d=n.title,s=n.cancelText,M=n.okText,S=n.okType,u=n.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},u,i.createElement("div",{className:"".concat(e,"-message-title")},d)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(l.default,c({onClick:t.onCancel,size:"small"},a),s||o.cancelText),i.createElement(l.default,c({onClick:t.onConfirm,type:S,size:"small"},r),M||o.okText))))},t.renderConfirm=function(e){var o=e.getPrefixCls,n=t.props,a=n.prefixCls,l=n.placement,M=O(n,["prefixCls","placement"]),S=o("popover",a),u=i.createElement(d.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(S,e)}));return i.createElement(r.default,c({},M,{prefixCls:S,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:u,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return o=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 o=this.props;"visible"in o||this.setState({visible:e});var i=o.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(M.a,null,this.renderConfirm)}}])&&u(o.prototype,n),a&&u(o,a),f}(i.Component);f.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(a.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(n.polyfill)(f),t.default=f},dZ1t:function(e,t,o){"use strict";o.r(t),o.d(t,"Pane",(function(){return z}));var i=o("q1tI"),n=o.n(i),r=o("17x9"),a=o.n(r),l=o("ihjy"),d=o.n(l),s=o("VCL8");function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t,o){return t&&S(e.prototype,t),o&&S(e,o),e}function u(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){u(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return 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&&g(e,t)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?O(e):t}var z=function(e){function t(){return M(this,t),f(this,b(t).apply(this,arguments))}return m(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.children,o=e.className,i=e.split,r=e.style,a=e.size,l=e.eleRef,d=["Pane",i,o],s={flex:1,position:"relative",outline:"none"};return void 0!==a&&("vertical"===i?s.width=a:(s.height=a,s.display="flex"),s.flex="none"),s=Object.assign({},s,r||{}),n.a.createElement("div",{ref:l,className:d.join(" "),style:s},t)}}]),t}(n.a.PureComponent);z.propTypes={className:a.a.string.isRequired,children:a.a.node.isRequired,size:a.a.oneOfType([a.a.string,a.a.number]),split:a.a.oneOf(["vertical","horizontal"]),style:d.a,eleRef:a.a.func},z.defaultProps={};var B=function(e){function t(){return M(this,t),f(this,b(t).apply(this,arguments))}return m(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.className,o=e.onClick,i=e.onDoubleClick,r=e.onMouseDown,a=e.onTouchEnd,l=e.onTouchStart,d=e.resizerClassName,s=e.split,M=e.style,S=[d,s,t];return n.a.createElement("span",{role:"presentation",className:S.join(" "),style:M,onMouseDown:function(e){return r(e)},onTouchStart:function(e){e.preventDefault(),l(e)},onTouchEnd:function(e){e.preventDefault(),a(e)},onClick:function(e){o&&(e.preventDefault(),o(e))},onDoubleClick:function(e){i&&(e.preventDefault(),i(e))}})}}]),t}(n.a.Component);function W(e,t){if(e.selection)e.selection.empty();else try{t.getSelection().removeAllRanges()}catch(e){}}function h(e,t,o,i){if("number"==typeof i){var n="number"==typeof t?t:0,r="number"==typeof o&&o>=0?o:1/0;return Math.max(n,Math.min(r,i))}return void 0!==e?e:t}B.propTypes={className:a.a.string.isRequired,onClick:a.a.func,onDoubleClick:a.a.func,onMouseDown:a.a.func.isRequired,onTouchStart:a.a.func.isRequired,onTouchEnd:a.a.func.isRequired,split:a.a.oneOf(["vertical","horizontal"]),style:d.a,resizerClassName:a.a.string.isRequired},B.defaultProps={resizerClassName:"Resizer"};var y=function(e){function t(e){var o;M(this,t),(o=f(this,b(t).call(this,e))).onMouseDown=o.onMouseDown.bind(O(o)),o.onTouchStart=o.onTouchStart.bind(O(o)),o.onMouseMove=o.onMouseMove.bind(O(o)),o.onTouchMove=o.onTouchMove.bind(O(o)),o.onMouseUp=o.onMouseUp.bind(O(o));var i=e.size,n=e.defaultSize,r=e.minSize,a=e.maxSize,l=e.primary,d=void 0!==i?i:h(n,r,a,null);return o.state={active:!1,resized:!1,pane1Size:"first"===l?d:void 0,pane2Size:"second"===l?d:void 0,instanceProps:{size:i}},o}return m(t,e),c(t,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(t.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(t)}},{key:"onTouchStart",value:function(e){var t=this.props,o=t.allowResize,i=t.onDragStarted,n=t.split;if(o){W(document,window);var r="vertical"===n?e.touches[0].clientX:e.touches[0].clientY;"function"==typeof i&&i(),this.setState({active:!0,position:r})}}},{key:"onMouseMove",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(t)}},{key:"onTouchMove",value:function(e){var t=this.props,o=t.allowResize,i=t.maxSize,n=t.minSize,r=t.onChange,a=t.split,l=t.step,d=this.state,s=d.active,M=d.position;if(o&&s){W(document,window);var S="first"===this.props.primary,c=S?this.pane1:this.pane2,p=S?this.pane2:this.pane1;if(c){var k=c,m=p;if(k.getBoundingClientRect){var b=k.getBoundingClientRect().width,g=k.getBoundingClientRect().height,O="vertical"===a?b:g,f=M-("vertical"===a?e.touches[0].clientX:e.touches[0].clientY);if(l){if(Math.abs(f)<l)return;f=~~(f/l)*l}var z=S?f:-f;parseInt(window.getComputedStyle(k).order)>parseInt(window.getComputedStyle(m).order)&&(z=-z);var B=i;if(void 0!==i&&i<=0){var h=this.splitPane;B="vertical"===a?h.getBoundingClientRect().width+i:h.getBoundingClientRect().height+i}var y=O-z,C=M-f;y<n?y=n:void 0!==i&&y>B?y=B:this.setState({position:C,resized:!0}),r&&r(y),this.setState(u({draggedSize:y},S?"pane1Size":"pane2Size",y))}}}}},{key:"onMouseUp",value:function(){var e=this.props,t=e.allowResize,o=e.onDragFinished,i=this.state,n=i.active,r=i.draggedSize;t&&n&&("function"==typeof o&&o(r),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.allowResize,i=t.children,r=t.className,a=t.onResizerClick,l=t.onResizerDoubleClick,d=t.paneClassName,s=t.pane1ClassName,M=t.pane2ClassName,S=t.paneStyle,c=t.pane1Style,u=t.pane2Style,p=t.resizerClassName,m=t.resizerStyle,b=t.split,g=t.style,O=this.state,f=O.pane1Size,W=O.pane2Size,h=o?"":"disabled",y=p?"".concat(p," ").concat("Resizer"):p,C=function(e){return n.a.Children.toArray(e).filter((function(e){return e}))}(i),T=k({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},g);"vertical"===b?Object.assign(T,{flexDirection:"row",left:0,right:0}):Object.assign(T,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var v=["SplitPane",r,b,h],x=k({},S,{},c),R=k({},S,{},u),I=["Pane1",d,s].join(" "),P=["Pane2",d,M].join(" ");return n.a.createElement("div",{className:v.join(" "),ref:function(t){e.splitPane=t},style:T},n.a.createElement(z,{className:I,key:"pane1",eleRef:function(t){e.pane1=t},size:f,split:b,style:x},C[0]),n.a.createElement(B,{className:h,onClick:a,onDoubleClick:l,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:y,split:b,style:m||{}}),n.a.createElement(z,{className:P,key:"pane2",eleRef:function(t){e.pane2=t},size:W,split:b,style:R},C[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,o){return t.getSizeUpdate(e,o)}},{key:"getSizeUpdate",value:function(e,t){var o={};if(t.instanceProps.size===e.size&&void 0!==e.size)return{};var i=void 0!==e.size?e.size:h(e.defaultSize,e.minSize,e.maxSize,t.draggedSize);void 0!==e.size&&(o.draggedSize=i);var n="first"===e.primary;return o[n?"pane1Size":"pane2Size"]=i,o[n?"pane2Size":"pane1Size"]=void 0,o.instanceProps={size:e.size},o}}]),t}(n.a.Component);y.propTypes={allowResize:a.a.bool,children:a.a.arrayOf(a.a.node).isRequired,className:a.a.string,primary:a.a.oneOf(["first","second"]),minSize:a.a.oneOfType([a.a.string,a.a.number]),maxSize:a.a.oneOfType([a.a.string,a.a.number]),defaultSize:a.a.oneOfType([a.a.string,a.a.number]),size:a.a.oneOfType([a.a.string,a.a.number]),split:a.a.oneOf(["vertical","horizontal"]),onDragStarted:a.a.func,onDragFinished:a.a.func,onChange:a.a.func,onResizerClick:a.a.func,onResizerDoubleClick:a.a.func,style:d.a,resizerStyle:d.a,paneClassName:a.a.string,pane1ClassName:a.a.string,pane2ClassName:a.a.string,paneStyle:d.a,pane1Style:d.a,pane2Style:d.a,resizerClassName:a.a.string,step:a.a.number},y.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},Object(s.polyfill)(y),t.default=y},ihjy:function(e,t,o){var i=o("Fxvz"),n=o("17x9");e.exports=function(e,t,o){var n=e[t];if(n){var r=[];if(Object.keys(n).forEach((function(e){-1===i.indexOf(e)&&r.push(e)})),r.length)throw new Error("Prop "+t+" passed to "+o+". Has invalid keys "+r.join(", "))}},e.exports.isRequired=function(t,o,i){if(!t[o])throw new Error("Prop "+o+" passed to "+i+" is required");return e.exports(t,o,i)},e.exports.supportingArrays=n.oneOfType([n.arrayOf(e.exports),e.exports])},k994:function(e,t,o){"use strict";o.r(t);o("SchZ"),o("Aosp"),o("L/Qf")}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[58],{Aosp:function(e,t,o){"use strict";o.r(t);o("SchZ"),o("Dt+G")},"Dt+G":function(e,t,o){},Fxvz:function(e,t){e.exports=["alignContent","MozAlignContent","WebkitAlignContent","MSAlignContent","OAlignContent","alignItems","MozAlignItems","WebkitAlignItems","MSAlignItems","OAlignItems","alignSelf","MozAlignSelf","WebkitAlignSelf","MSAlignSelf","OAlignSelf","all","MozAll","WebkitAll","MSAll","OAll","animation","MozAnimation","WebkitAnimation","MSAnimation","OAnimation","animationDelay","MozAnimationDelay","WebkitAnimationDelay","MSAnimationDelay","OAnimationDelay","animationDirection","MozAnimationDirection","WebkitAnimationDirection","MSAnimationDirection","OAnimationDirection","animationDuration","MozAnimationDuration","WebkitAnimationDuration","MSAnimationDuration","OAnimationDuration","animationFillMode","MozAnimationFillMode","WebkitAnimationFillMode","MSAnimationFillMode","OAnimationFillMode","animationIterationCount","MozAnimationIterationCount","WebkitAnimationIterationCount","MSAnimationIterationCount","OAnimationIterationCount","animationName","MozAnimationName","WebkitAnimationName","MSAnimationName","OAnimationName","animationPlayState","MozAnimationPlayState","WebkitAnimationPlayState","MSAnimationPlayState","OAnimationPlayState","animationTimingFunction","MozAnimationTimingFunction","WebkitAnimationTimingFunction","MSAnimationTimingFunction","OAnimationTimingFunction","backfaceVisibility","MozBackfaceVisibility","WebkitBackfaceVisibility","MSBackfaceVisibility","OBackfaceVisibility","background","MozBackground","WebkitBackground","MSBackground","OBackground","backgroundAttachment","MozBackgroundAttachment","WebkitBackgroundAttachment","MSBackgroundAttachment","OBackgroundAttachment","backgroundBlendMode","MozBackgroundBlendMode","WebkitBackgroundBlendMode","MSBackgroundBlendMode","OBackgroundBlendMode","backgroundClip","MozBackgroundClip","WebkitBackgroundClip","MSBackgroundClip","OBackgroundClip","backgroundColor","MozBackgroundColor","WebkitBackgroundColor","MSBackgroundColor","OBackgroundColor","backgroundImage","MozBackgroundImage","WebkitBackgroundImage","MSBackgroundImage","OBackgroundImage","backgroundOrigin","MozBackgroundOrigin","WebkitBackgroundOrigin","MSBackgroundOrigin","OBackgroundOrigin","backgroundPosition","MozBackgroundPosition","WebkitBackgroundPosition","MSBackgroundPosition","OBackgroundPosition","backgroundRepeat","MozBackgroundRepeat","WebkitBackgroundRepeat","MSBackgroundRepeat","OBackgroundRepeat","backgroundSize","MozBackgroundSize","WebkitBackgroundSize","MSBackgroundSize","OBackgroundSize","blockSize","MozBlockSize","WebkitBlockSize","MSBlockSize","OBlockSize","border","MozBorder","WebkitBorder","MSBorder","OBorder","borderBlockEnd","MozBorderBlockEnd","WebkitBorderBlockEnd","MSBorderBlockEnd","OBorderBlockEnd","borderBlockEndColor","MozBorderBlockEndColor","WebkitBorderBlockEndColor","MSBorderBlockEndColor","OBorderBlockEndColor","borderBlockEndStyle","MozBorderBlockEndStyle","WebkitBorderBlockEndStyle","MSBorderBlockEndStyle","OBorderBlockEndStyle","borderBlockEndWidth","MozBorderBlockEndWidth","WebkitBorderBlockEndWidth","MSBorderBlockEndWidth","OBorderBlockEndWidth","borderBlockStart","MozBorderBlockStart","WebkitBorderBlockStart","MSBorderBlockStart","OBorderBlockStart","borderBlockStartColor","MozBorderBlockStartColor","WebkitBorderBlockStartColor","MSBorderBlockStartColor","OBorderBlockStartColor","borderBlockStartStyle","MozBorderBlockStartStyle","WebkitBorderBlockStartStyle","MSBorderBlockStartStyle","OBorderBlockStartStyle","borderBlockStartWidth","MozBorderBlockStartWidth","WebkitBorderBlockStartWidth","MSBorderBlockStartWidth","OBorderBlockStartWidth","borderBottom","MozBorderBottom","WebkitBorderBottom","MSBorderBottom","OBorderBottom","borderBottomColor","MozBorderBottomColor","WebkitBorderBottomColor","MSBorderBottomColor","OBorderBottomColor","borderBottomLeftRadius","MozBorderBottomLeftRadius","WebkitBorderBottomLeftRadius","MSBorderBottomLeftRadius","OBorderBottomLeftRadius","borderBottomRightRadius","MozBorderBottomRightRadius","WebkitBorderBottomRightRadius","MSBorderBottomRightRadius","OBorderBottomRightRadius","borderBottomStyle","MozBorderBottomStyle","WebkitBorderBottomStyle","MSBorderBottomStyle","OBorderBottomStyle","borderBottomWidth","MozBorderBottomWidth","WebkitBorderBottomWidth","MSBorderBottomWidth","OBorderBottomWidth","borderCollapse","MozBorderCollapse","WebkitBorderCollapse","MSBorderCollapse","OBorderCollapse","borderColor","MozBorderColor","WebkitBorderColor","MSBorderColor","OBorderColor","borderImage","MozBorderImage","WebkitBorderImage","MSBorderImage","OBorderImage","borderImageOutset","MozBorderImageOutset","WebkitBorderImageOutset","MSBorderImageOutset","OBorderImageOutset","borderImageRepeat","MozBorderImageRepeat","WebkitBorderImageRepeat","MSBorderImageRepeat","OBorderImageRepeat","borderImageSlice","MozBorderImageSlice","WebkitBorderImageSlice","MSBorderImageSlice","OBorderImageSlice","borderImageSource","MozBorderImageSource","WebkitBorderImageSource","MSBorderImageSource","OBorderImageSource","borderImageWidth","MozBorderImageWidth","WebkitBorderImageWidth","MSBorderImageWidth","OBorderImageWidth","borderInlineEnd","MozBorderInlineEnd","WebkitBorderInlineEnd","MSBorderInlineEnd","OBorderInlineEnd","borderInlineEndColor","MozBorderInlineEndColor","WebkitBorderInlineEndColor","MSBorderInlineEndColor","OBorderInlineEndColor","borderInlineEndStyle","MozBorderInlineEndStyle","WebkitBorderInlineEndStyle","MSBorderInlineEndStyle","OBorderInlineEndStyle","borderInlineEndWidth","MozBorderInlineEndWidth","WebkitBorderInlineEndWidth","MSBorderInlineEndWidth","OBorderInlineEndWidth","borderInlineStart","MozBorderInlineStart","WebkitBorderInlineStart","MSBorderInlineStart","OBorderInlineStart","borderInlineStartColor","MozBorderInlineStartColor","WebkitBorderInlineStartColor","MSBorderInlineStartColor","OBorderInlineStartColor","borderInlineStartStyle","MozBorderInlineStartStyle","WebkitBorderInlineStartStyle","MSBorderInlineStartStyle","OBorderInlineStartStyle","borderInlineStartWidth","MozBorderInlineStartWidth","WebkitBorderInlineStartWidth","MSBorderInlineStartWidth","OBorderInlineStartWidth","borderLeft","MozBorderLeft","WebkitBorderLeft","MSBorderLeft","OBorderLeft","borderLeftColor","MozBorderLeftColor","WebkitBorderLeftColor","MSBorderLeftColor","OBorderLeftColor","borderLeftStyle","MozBorderLeftStyle","WebkitBorderLeftStyle","MSBorderLeftStyle","OBorderLeftStyle","borderLeftWidth","MozBorderLeftWidth","WebkitBorderLeftWidth","MSBorderLeftWidth","OBorderLeftWidth","borderRadius","MozBorderRadius","WebkitBorderRadius","MSBorderRadius","OBorderRadius","borderRight","MozBorderRight","WebkitBorderRight","MSBorderRight","OBorderRight","borderRightColor","MozBorderRightColor","WebkitBorderRightColor","MSBorderRightColor","OBorderRightColor","borderRightStyle","MozBorderRightStyle","WebkitBorderRightStyle","MSBorderRightStyle","OBorderRightStyle","borderRightWidth","MozBorderRightWidth","WebkitBorderRightWidth","MSBorderRightWidth","OBorderRightWidth","borderSpacing","MozBorderSpacing","WebkitBorderSpacing","MSBorderSpacing","OBorderSpacing","borderStyle","MozBorderStyle","WebkitBorderStyle","MSBorderStyle","OBorderStyle","borderTop","MozBorderTop","WebkitBorderTop","MSBorderTop","OBorderTop","borderTopColor","MozBorderTopColor","WebkitBorderTopColor","MSBorderTopColor","OBorderTopColor","borderTopLeftRadius","MozBorderTopLeftRadius","WebkitBorderTopLeftRadius","MSBorderTopLeftRadius","OBorderTopLeftRadius","borderTopRightRadius","MozBorderTopRightRadius","WebkitBorderTopRightRadius","MSBorderTopRightRadius","OBorderTopRightRadius","borderTopStyle","MozBorderTopStyle","WebkitBorderTopStyle","MSBorderTopStyle","OBorderTopStyle","borderTopWidth","MozBorderTopWidth","WebkitBorderTopWidth","MSBorderTopWidth","OBorderTopWidth","borderWidth","MozBorderWidth","WebkitBorderWidth","MSBorderWidth","OBorderWidth","bottom","MozBottom","WebkitBottom","MSBottom","OBottom","boxDecorationBreak","MozBoxDecorationBreak","WebkitBoxDecorationBreak","MSBoxDecorationBreak","OBoxDecorationBreak","boxShadow","MozBoxShadow","WebkitBoxShadow","MSBoxShadow","OBoxShadow","boxSizing","MozBoxSizing","WebkitBoxSizing","MSBoxSizing","OBoxSizing","breakAfter","MozBreakAfter","WebkitBreakAfter","MSBreakAfter","OBreakAfter","breakBefore","MozBreakBefore","WebkitBreakBefore","MSBreakBefore","OBreakBefore","breakInside","MozBreakInside","WebkitBreakInside","MSBreakInside","OBreakInside","captionSide","MozCaptionSide","WebkitCaptionSide","MSCaptionSide","OCaptionSide","caretColor","MozCaretColor","WebkitCaretColor","MSCaretColor","OCaretColor","ch","MozCh","WebkitCh","MSCh","OCh","clear","MozClear","WebkitClear","MSClear","OClear","clip","MozClip","WebkitClip","MSClip","OClip","clipPath","MozClipPath","WebkitClipPath","MSClipPath","OClipPath","cm","MozCm","WebkitCm","MSCm","OCm","color","MozColor","WebkitColor","MSColor","OColor","columnCount","MozColumnCount","WebkitColumnCount","MSColumnCount","OColumnCount","columnFill","MozColumnFill","WebkitColumnFill","MSColumnFill","OColumnFill","columnGap","MozColumnGap","WebkitColumnGap","MSColumnGap","OColumnGap","columnRule","MozColumnRule","WebkitColumnRule","MSColumnRule","OColumnRule","columnRuleColor","MozColumnRuleColor","WebkitColumnRuleColor","MSColumnRuleColor","OColumnRuleColor","columnRuleStyle","MozColumnRuleStyle","WebkitColumnRuleStyle","MSColumnRuleStyle","OColumnRuleStyle","columnRuleWidth","MozColumnRuleWidth","WebkitColumnRuleWidth","MSColumnRuleWidth","OColumnRuleWidth","columnSpan","MozColumnSpan","WebkitColumnSpan","MSColumnSpan","OColumnSpan","columnWidth","MozColumnWidth","WebkitColumnWidth","MSColumnWidth","OColumnWidth","columns","MozColumns","WebkitColumns","MSColumns","OColumns","content","MozContent","WebkitContent","MSContent","OContent","counterIncrement","MozCounterIncrement","WebkitCounterIncrement","MSCounterIncrement","OCounterIncrement","counterReset","MozCounterReset","WebkitCounterReset","MSCounterReset","OCounterReset","cursor","MozCursor","WebkitCursor","MSCursor","OCursor","deg","MozDeg","WebkitDeg","MSDeg","ODeg","direction","MozDirection","WebkitDirection","MSDirection","ODirection","display","MozDisplay","WebkitDisplay","MSDisplay","ODisplay","dpcm","MozDpcm","WebkitDpcm","MSDpcm","ODpcm","dpi","MozDpi","WebkitDpi","MSDpi","ODpi","dppx","MozDppx","WebkitDppx","MSDppx","ODppx","em","MozEm","WebkitEm","MSEm","OEm","emptyCells","MozEmptyCells","WebkitEmptyCells","MSEmptyCells","OEmptyCells","ex","MozEx","WebkitEx","MSEx","OEx","filter","MozFilter","WebkitFilter","MSFilter","OFilter","flexBasis","MozFlexBasis","WebkitFlexBasis","MSFlexBasis","OFlexBasis","flexDirection","MozFlexDirection","WebkitFlexDirection","MSFlexDirection","OFlexDirection","flexFlow","MozFlexFlow","WebkitFlexFlow","MSFlexFlow","OFlexFlow","flexGrow","MozFlexGrow","WebkitFlexGrow","MSFlexGrow","OFlexGrow","flexShrink","MozFlexShrink","WebkitFlexShrink","MSFlexShrink","OFlexShrink","flexWrap","MozFlexWrap","WebkitFlexWrap","MSFlexWrap","OFlexWrap","float","MozFloat","WebkitFloat","MSFloat","OFloat","font","MozFont","WebkitFont","MSFont","OFont","fontFamily","MozFontFamily","WebkitFontFamily","MSFontFamily","OFontFamily","fontFeatureSettings","MozFontFeatureSettings","WebkitFontFeatureSettings","MSFontFeatureSettings","OFontFeatureSettings","fontKerning","MozFontKerning","WebkitFontKerning","MSFontKerning","OFontKerning","fontLanguageOverride","MozFontLanguageOverride","WebkitFontLanguageOverride","MSFontLanguageOverride","OFontLanguageOverride","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","fontSizeAdjust","MozFontSizeAdjust","WebkitFontSizeAdjust","MSFontSizeAdjust","OFontSizeAdjust","fontStretch","MozFontStretch","WebkitFontStretch","MSFontStretch","OFontStretch","fontStyle","MozFontStyle","WebkitFontStyle","MSFontStyle","OFontStyle","fontSynthesis","MozFontSynthesis","WebkitFontSynthesis","MSFontSynthesis","OFontSynthesis","fontVariant","MozFontVariant","WebkitFontVariant","MSFontVariant","OFontVariant","fontVariantAlternates","MozFontVariantAlternates","WebkitFontVariantAlternates","MSFontVariantAlternates","OFontVariantAlternates","fontVariantCaps","MozFontVariantCaps","WebkitFontVariantCaps","MSFontVariantCaps","OFontVariantCaps","fontVariantEastAsian","MozFontVariantEastAsian","WebkitFontVariantEastAsian","MSFontVariantEastAsian","OFontVariantEastAsian","fontVariantLigatures","MozFontVariantLigatures","WebkitFontVariantLigatures","MSFontVariantLigatures","OFontVariantLigatures","fontVariantNumeric","MozFontVariantNumeric","WebkitFontVariantNumeric","MSFontVariantNumeric","OFontVariantNumeric","fontVariantPosition","MozFontVariantPosition","WebkitFontVariantPosition","MSFontVariantPosition","OFontVariantPosition","fontWeight","MozFontWeight","WebkitFontWeight","MSFontWeight","OFontWeight","fr","MozFr","WebkitFr","MSFr","OFr","grad","MozGrad","WebkitGrad","MSGrad","OGrad","grid","MozGrid","WebkitGrid","MSGrid","OGrid","gridArea","MozGridArea","WebkitGridArea","MSGridArea","OGridArea","gridAutoColumns","MozGridAutoColumns","WebkitGridAutoColumns","MSGridAutoColumns","OGridAutoColumns","gridAutoFlow","MozGridAutoFlow","WebkitGridAutoFlow","MSGridAutoFlow","OGridAutoFlow","gridAutoRows","MozGridAutoRows","WebkitGridAutoRows","MSGridAutoRows","OGridAutoRows","gridColumn","MozGridColumn","WebkitGridColumn","MSGridColumn","OGridColumn","gridColumnEnd","MozGridColumnEnd","WebkitGridColumnEnd","MSGridColumnEnd","OGridColumnEnd","gridColumnGap","MozGridColumnGap","WebkitGridColumnGap","MSGridColumnGap","OGridColumnGap","gridColumnStart","MozGridColumnStart","WebkitGridColumnStart","MSGridColumnStart","OGridColumnStart","gridGap","MozGridGap","WebkitGridGap","MSGridGap","OGridGap","gridRow","MozGridRow","WebkitGridRow","MSGridRow","OGridRow","gridRowEnd","MozGridRowEnd","WebkitGridRowEnd","MSGridRowEnd","OGridRowEnd","gridRowGap","MozGridRowGap","WebkitGridRowGap","MSGridRowGap","OGridRowGap","gridRowStart","MozGridRowStart","WebkitGridRowStart","MSGridRowStart","OGridRowStart","gridTemplate","MozGridTemplate","WebkitGridTemplate","MSGridTemplate","OGridTemplate","gridTemplateAreas","MozGridTemplateAreas","WebkitGridTemplateAreas","MSGridTemplateAreas","OGridTemplateAreas","gridTemplateColumns","MozGridTemplateColumns","WebkitGridTemplateColumns","MSGridTemplateColumns","OGridTemplateColumns","gridTemplateRows","MozGridTemplateRows","WebkitGridTemplateRows","MSGridTemplateRows","OGridTemplateRows","height","MozHeight","WebkitHeight","MSHeight","OHeight","hyphens","MozHyphens","WebkitHyphens","MSHyphens","OHyphens","hz","MozHz","WebkitHz","MSHz","OHz","imageOrientation","MozImageOrientation","WebkitImageOrientation","MSImageOrientation","OImageOrientation","imageRendering","MozImageRendering","WebkitImageRendering","MSImageRendering","OImageRendering","imageResolution","MozImageResolution","WebkitImageResolution","MSImageResolution","OImageResolution","imeMode","MozImeMode","WebkitImeMode","MSImeMode","OImeMode","in","MozIn","WebkitIn","MSIn","OIn","inherit","MozInherit","WebkitInherit","MSInherit","OInherit","initial","MozInitial","WebkitInitial","MSInitial","OInitial","inlineSize","MozInlineSize","WebkitInlineSize","MSInlineSize","OInlineSize","isolation","MozIsolation","WebkitIsolation","MSIsolation","OIsolation","justifyContent","MozJustifyContent","WebkitJustifyContent","MSJustifyContent","OJustifyContent","khz","MozKhz","WebkitKhz","MSKhz","OKhz","left","MozLeft","WebkitLeft","MSLeft","OLeft","letterSpacing","MozLetterSpacing","WebkitLetterSpacing","MSLetterSpacing","OLetterSpacing","lineBreak","MozLineBreak","WebkitLineBreak","MSLineBreak","OLineBreak","lineHeight","MozLineHeight","WebkitLineHeight","MSLineHeight","OLineHeight","listStyle","MozListStyle","WebkitListStyle","MSListStyle","OListStyle","listStyleImage","MozListStyleImage","WebkitListStyleImage","MSListStyleImage","OListStyleImage","listStylePosition","MozListStylePosition","WebkitListStylePosition","MSListStylePosition","OListStylePosition","listStyleType","MozListStyleType","WebkitListStyleType","MSListStyleType","OListStyleType","margin","MozMargin","WebkitMargin","MSMargin","OMargin","marginBlockEnd","MozMarginBlockEnd","WebkitMarginBlockEnd","MSMarginBlockEnd","OMarginBlockEnd","marginBlockStart","MozMarginBlockStart","WebkitMarginBlockStart","MSMarginBlockStart","OMarginBlockStart","marginBottom","MozMarginBottom","WebkitMarginBottom","MSMarginBottom","OMarginBottom","marginInlineEnd","MozMarginInlineEnd","WebkitMarginInlineEnd","MSMarginInlineEnd","OMarginInlineEnd","marginInlineStart","MozMarginInlineStart","WebkitMarginInlineStart","MSMarginInlineStart","OMarginInlineStart","marginLeft","MozMarginLeft","WebkitMarginLeft","MSMarginLeft","OMarginLeft","marginRight","MozMarginRight","WebkitMarginRight","MSMarginRight","OMarginRight","marginTop","MozMarginTop","WebkitMarginTop","MSMarginTop","OMarginTop","mask","MozMask","WebkitMask","MSMask","OMask","maskClip","MozMaskClip","WebkitMaskClip","MSMaskClip","OMaskClip","maskComposite","MozMaskComposite","WebkitMaskComposite","MSMaskComposite","OMaskComposite","maskImage","MozMaskImage","WebkitMaskImage","MSMaskImage","OMaskImage","maskMode","MozMaskMode","WebkitMaskMode","MSMaskMode","OMaskMode","maskOrigin","MozMaskOrigin","WebkitMaskOrigin","MSMaskOrigin","OMaskOrigin","maskPosition","MozMaskPosition","WebkitMaskPosition","MSMaskPosition","OMaskPosition","maskRepeat","MozMaskRepeat","WebkitMaskRepeat","MSMaskRepeat","OMaskRepeat","maskSize","MozMaskSize","WebkitMaskSize","MSMaskSize","OMaskSize","maskType","MozMaskType","WebkitMaskType","MSMaskType","OMaskType","maxHeight","MozMaxHeight","WebkitMaxHeight","MSMaxHeight","OMaxHeight","maxWidth","MozMaxWidth","WebkitMaxWidth","MSMaxWidth","OMaxWidth","minBlockSize","MozMinBlockSize","WebkitMinBlockSize","MSMinBlockSize","OMinBlockSize","minHeight","MozMinHeight","WebkitMinHeight","MSMinHeight","OMinHeight","minInlineSize","MozMinInlineSize","WebkitMinInlineSize","MSMinInlineSize","OMinInlineSize","minWidth","MozMinWidth","WebkitMinWidth","MSMinWidth","OMinWidth","mixBlendMode","MozMixBlendMode","WebkitMixBlendMode","MSMixBlendMode","OMixBlendMode","mm","MozMm","WebkitMm","MSMm","OMm","ms","MozMs","WebkitMs","MSMs","OMs","objectFit","MozObjectFit","WebkitObjectFit","MSObjectFit","OObjectFit","objectPosition","MozObjectPosition","WebkitObjectPosition","MSObjectPosition","OObjectPosition","offsetBlockEnd","MozOffsetBlockEnd","WebkitOffsetBlockEnd","MSOffsetBlockEnd","OOffsetBlockEnd","offsetBlockStart","MozOffsetBlockStart","WebkitOffsetBlockStart","MSOffsetBlockStart","OOffsetBlockStart","offsetInlineEnd","MozOffsetInlineEnd","WebkitOffsetInlineEnd","MSOffsetInlineEnd","OOffsetInlineEnd","offsetInlineStart","MozOffsetInlineStart","WebkitOffsetInlineStart","MSOffsetInlineStart","OOffsetInlineStart","opacity","MozOpacity","WebkitOpacity","MSOpacity","OOpacity","order","MozOrder","WebkitOrder","MSOrder","OOrder","orphans","MozOrphans","WebkitOrphans","MSOrphans","OOrphans","outline","MozOutline","WebkitOutline","MSOutline","OOutline","outlineColor","MozOutlineColor","WebkitOutlineColor","MSOutlineColor","OOutlineColor","outlineOffset","MozOutlineOffset","WebkitOutlineOffset","MSOutlineOffset","OOutlineOffset","outlineStyle","MozOutlineStyle","WebkitOutlineStyle","MSOutlineStyle","OOutlineStyle","outlineWidth","MozOutlineWidth","WebkitOutlineWidth","MSOutlineWidth","OOutlineWidth","overflow","MozOverflow","WebkitOverflow","MSOverflow","OOverflow","overflowWrap","MozOverflowWrap","WebkitOverflowWrap","MSOverflowWrap","OOverflowWrap","overflowX","MozOverflowX","WebkitOverflowX","MSOverflowX","OOverflowX","overflowY","MozOverflowY","WebkitOverflowY","MSOverflowY","OOverflowY","padding","MozPadding","WebkitPadding","MSPadding","OPadding","paddingBlockEnd","MozPaddingBlockEnd","WebkitPaddingBlockEnd","MSPaddingBlockEnd","OPaddingBlockEnd","paddingBlockStart","MozPaddingBlockStart","WebkitPaddingBlockStart","MSPaddingBlockStart","OPaddingBlockStart","paddingBottom","MozPaddingBottom","WebkitPaddingBottom","MSPaddingBottom","OPaddingBottom","paddingInlineEnd","MozPaddingInlineEnd","WebkitPaddingInlineEnd","MSPaddingInlineEnd","OPaddingInlineEnd","paddingInlineStart","MozPaddingInlineStart","WebkitPaddingInlineStart","MSPaddingInlineStart","OPaddingInlineStart","paddingLeft","MozPaddingLeft","WebkitPaddingLeft","MSPaddingLeft","OPaddingLeft","paddingRight","MozPaddingRight","WebkitPaddingRight","MSPaddingRight","OPaddingRight","paddingTop","MozPaddingTop","WebkitPaddingTop","MSPaddingTop","OPaddingTop","pageBreakAfter","MozPageBreakAfter","WebkitPageBreakAfter","MSPageBreakAfter","OPageBreakAfter","pageBreakBefore","MozPageBreakBefore","WebkitPageBreakBefore","MSPageBreakBefore","OPageBreakBefore","pageBreakInside","MozPageBreakInside","WebkitPageBreakInside","MSPageBreakInside","OPageBreakInside","pc","MozPc","WebkitPc","MSPc","OPc","perspective","MozPerspective","WebkitPerspective","MSPerspective","OPerspective","perspectiveOrigin","MozPerspectiveOrigin","WebkitPerspectiveOrigin","MSPerspectiveOrigin","OPerspectiveOrigin","pointerEvents","MozPointerEvents","WebkitPointerEvents","MSPointerEvents","OPointerEvents","position","MozPosition","WebkitPosition","MSPosition","OPosition","pt","MozPt","WebkitPt","MSPt","OPt","px","MozPx","WebkitPx","MSPx","OPx","q","MozQ","WebkitQ","MSQ","OQ","quotes","MozQuotes","WebkitQuotes","MSQuotes","OQuotes","rad","MozRad","WebkitRad","MSRad","ORad","rem","MozRem","WebkitRem","MSRem","ORem","resize","MozResize","WebkitResize","MSResize","OResize","revert","MozRevert","WebkitRevert","MSRevert","ORevert","right","MozRight","WebkitRight","MSRight","ORight","rubyAlign","MozRubyAlign","WebkitRubyAlign","MSRubyAlign","ORubyAlign","rubyMerge","MozRubyMerge","WebkitRubyMerge","MSRubyMerge","ORubyMerge","rubyPosition","MozRubyPosition","WebkitRubyPosition","MSRubyPosition","ORubyPosition","s","MozS","WebkitS","MSS","OS","scrollBehavior","MozScrollBehavior","WebkitScrollBehavior","MSScrollBehavior","OScrollBehavior","scrollSnapCoordinate","MozScrollSnapCoordinate","WebkitScrollSnapCoordinate","MSScrollSnapCoordinate","OScrollSnapCoordinate","scrollSnapDestination","MozScrollSnapDestination","WebkitScrollSnapDestination","MSScrollSnapDestination","OScrollSnapDestination","scrollSnapType","MozScrollSnapType","WebkitScrollSnapType","MSScrollSnapType","OScrollSnapType","shapeImageThreshold","MozShapeImageThreshold","WebkitShapeImageThreshold","MSShapeImageThreshold","OShapeImageThreshold","shapeMargin","MozShapeMargin","WebkitShapeMargin","MSShapeMargin","OShapeMargin","shapeOutside","MozShapeOutside","WebkitShapeOutside","MSShapeOutside","OShapeOutside","tabSize","MozTabSize","WebkitTabSize","MSTabSize","OTabSize","tableLayout","MozTableLayout","WebkitTableLayout","MSTableLayout","OTableLayout","textAlign","MozTextAlign","WebkitTextAlign","MSTextAlign","OTextAlign","textAlignLast","MozTextAlignLast","WebkitTextAlignLast","MSTextAlignLast","OTextAlignLast","textCombineUpright","MozTextCombineUpright","WebkitTextCombineUpright","MSTextCombineUpright","OTextCombineUpright","textDecoration","MozTextDecoration","WebkitTextDecoration","MSTextDecoration","OTextDecoration","textDecorationColor","MozTextDecorationColor","WebkitTextDecorationColor","MSTextDecorationColor","OTextDecorationColor","textDecorationLine","MozTextDecorationLine","WebkitTextDecorationLine","MSTextDecorationLine","OTextDecorationLine","textDecorationStyle","MozTextDecorationStyle","WebkitTextDecorationStyle","MSTextDecorationStyle","OTextDecorationStyle","textEmphasis","MozTextEmphasis","WebkitTextEmphasis","MSTextEmphasis","OTextEmphasis","textEmphasisColor","MozTextEmphasisColor","WebkitTextEmphasisColor","MSTextEmphasisColor","OTextEmphasisColor","textEmphasisPosition","MozTextEmphasisPosition","WebkitTextEmphasisPosition","MSTextEmphasisPosition","OTextEmphasisPosition","textEmphasisStyle","MozTextEmphasisStyle","WebkitTextEmphasisStyle","MSTextEmphasisStyle","OTextEmphasisStyle","textIndent","MozTextIndent","WebkitTextIndent","MSTextIndent","OTextIndent","textOrientation","MozTextOrientation","WebkitTextOrientation","MSTextOrientation","OTextOrientation","textOverflow","MozTextOverflow","WebkitTextOverflow","MSTextOverflow","OTextOverflow","textRendering","MozTextRendering","WebkitTextRendering","MSTextRendering","OTextRendering","textShadow","MozTextShadow","WebkitTextShadow","MSTextShadow","OTextShadow","textTransform","MozTextTransform","WebkitTextTransform","MSTextTransform","OTextTransform","textUnderlinePosition","MozTextUnderlinePosition","WebkitTextUnderlinePosition","MSTextUnderlinePosition","OTextUnderlinePosition","top","MozTop","WebkitTop","MSTop","OTop","touchAction","MozTouchAction","WebkitTouchAction","MSTouchAction","OTouchAction","transform","MozTransform","WebkitTransform","msTransform","OTransform","transformBox","MozTransformBox","WebkitTransformBox","MSTransformBox","OTransformBox","transformOrigin","MozTransformOrigin","WebkitTransformOrigin","MSTransformOrigin","OTransformOrigin","transformStyle","MozTransformStyle","WebkitTransformStyle","MSTransformStyle","OTransformStyle","transition","MozTransition","WebkitTransition","MSTransition","OTransition","transitionDelay","MozTransitionDelay","WebkitTransitionDelay","MSTransitionDelay","OTransitionDelay","transitionDuration","MozTransitionDuration","WebkitTransitionDuration","MSTransitionDuration","OTransitionDuration","transitionProperty","MozTransitionProperty","WebkitTransitionProperty","MSTransitionProperty","OTransitionProperty","transitionTimingFunction","MozTransitionTimingFunction","WebkitTransitionTimingFunction","MSTransitionTimingFunction","OTransitionTimingFunction","turn","MozTurn","WebkitTurn","MSTurn","OTurn","unicodeBidi","MozUnicodeBidi","WebkitUnicodeBidi","MSUnicodeBidi","OUnicodeBidi","unset","MozUnset","WebkitUnset","MSUnset","OUnset","verticalAlign","MozVerticalAlign","WebkitVerticalAlign","MSVerticalAlign","OVerticalAlign","vh","MozVh","WebkitVh","MSVh","OVh","visibility","MozVisibility","WebkitVisibility","MSVisibility","OVisibility","vmax","MozVmax","WebkitVmax","MSVmax","OVmax","vmin","MozVmin","WebkitVmin","MSVmin","OVmin","vw","MozVw","WebkitVw","MSVw","OVw","whiteSpace","MozWhiteSpace","WebkitWhiteSpace","MSWhiteSpace","OWhiteSpace","widows","MozWidows","WebkitWidows","MSWidows","OWidows","width","MozWidth","WebkitWidth","MSWidth","OWidth","willChange","MozWillChange","WebkitWillChange","MSWillChange","OWillChange","wordBreak","MozWordBreak","WebkitWordBreak","MSWordBreak","OWordBreak","wordSpacing","MozWordSpacing","WebkitWordSpacing","MSWordSpacing","OWordSpacing","wordWrap","MozWordWrap","WebkitWordWrap","MSWordWrap","OWordWrap","writingMode","MozWritingMode","WebkitWritingMode","MSWritingMode","OWritingMode","zIndex","MozZIndex","WebkitZIndex","MSZIndex","OZIndex","fontSize","MozFontSize","WebkitFontSize","MSFontSize","OFontSize","flex","MozFlex","WebkitFlex","MSFlex","OFlex","fr","MozFr","WebkitFr","MSFr","OFr","overflowScrolling","MozOverflowScrolling","WebkitOverflowScrolling","MSOverflowScrolling","OOverflowScrolling","userSelect","MozUserSelect","WebkitUserSelect","MSUserSelect","OUserSelect"]},NJEC:function(e,t,o){"use strict";o.r(t);var i=o("q1tI"),n=o("VCL8"),r=o("3S7+"),a=o("CtXQ"),l=o("2/Rp"),d=o("YMnH"),s=o("ZvpZ"),M=o("H84U");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(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function u(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(o[i[n]]=e[i[n]])}return o},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)}(f,e);var t,o,n,a,S=(t=f,function(){var e,o=g(t);if(b()){var i=g(this).constructor;e=Reflect.construct(o,arguments,i)}else e=o.apply(this,arguments);return k(this,e)});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=S.call(this,e)).onConfirm=function(e){t.setVisible(!1,e);var o=t.props.onConfirm;o&&o.call(m(t),e)},t.onCancel=function(e){t.setVisible(!1,e);var o=t.props.onCancel;o&&o.call(m(t),e)},t.onVisibleChange=function(e){t.props.disabled||t.setVisible(e)},t.saveTooltip=function(e){t.tooltip=e},t.renderOverlay=function(e,o){var n=t.props,r=n.okButtonProps,a=n.cancelButtonProps,d=n.title,s=n.cancelText,M=n.okText,S=n.okType,u=n.icon;return i.createElement("div",null,i.createElement("div",{className:"".concat(e,"-inner-content")},i.createElement("div",{className:"".concat(e,"-message")},u,i.createElement("div",{className:"".concat(e,"-message-title")},d)),i.createElement("div",{className:"".concat(e,"-buttons")},i.createElement(l.default,c({onClick:t.onCancel,size:"small"},a),s||o.cancelText),i.createElement(l.default,c({onClick:t.onConfirm,type:S,size:"small"},r),M||o.okText))))},t.renderConfirm=function(e){var o=e.getPrefixCls,n=t.props,a=n.prefixCls,l=n.placement,M=O(n,["prefixCls","placement"]),S=o("popover",a),u=i.createElement(d.a,{componentName:"Popconfirm",defaultLocale:s.a.Popconfirm},(function(e){return t.renderOverlay(S,e)}));return i.createElement(r.default,c({},M,{prefixCls:S,placement:l,onVisibleChange:t.onVisibleChange,visible:t.state.visible,overlay:u,ref:t.saveTooltip}))},t.state={visible:e.visible},t}return o=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 o=this.props;"visible"in o||this.setState({visible:e});var i=o.onVisibleChange;i&&i(e,t)}},{key:"render",value:function(){return i.createElement(M.a,null,this.renderConfirm)}}])&&u(o.prototype,n),a&&u(o,a),f}(i.Component);f.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:i.createElement(a.default,{type:"exclamation-circle",theme:"filled"}),disabled:!1},Object(n.polyfill)(f),t.default=f},dZ1t:function(e,t,o){"use strict";o.r(t),o.d(t,"Pane",(function(){return z}));var i=o("q1tI"),n=o.n(i),r=o("17x9"),a=o.n(r),l=o("ihjy"),d=o.n(l),s=o("VCL8");function M(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function c(e,t,o){return t&&S(e.prototype,t),o&&S(e,o),e}function u(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){u(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return 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&&g(e,t)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?O(e):t}var z=function(e){function t(){return M(this,t),f(this,b(t).apply(this,arguments))}return m(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.children,o=e.className,i=e.split,r=e.style,a=e.size,l=e.eleRef,d=["Pane",i,o],s={flex:1,position:"relative",outline:"none"};return void 0!==a&&("vertical"===i?s.width=a:(s.height=a,s.display="flex"),s.flex="none"),s=Object.assign({},s,r||{}),n.a.createElement("div",{ref:l,className:d.join(" "),style:s},t)}}]),t}(n.a.PureComponent);z.propTypes={className:a.a.string.isRequired,children:a.a.node.isRequired,size:a.a.oneOfType([a.a.string,a.a.number]),split:a.a.oneOf(["vertical","horizontal"]),style:d.a,eleRef:a.a.func},z.defaultProps={};var B=function(e){function t(){return M(this,t),f(this,b(t).apply(this,arguments))}return m(t,e),c(t,[{key:"render",value:function(){var e=this.props,t=e.className,o=e.onClick,i=e.onDoubleClick,r=e.onMouseDown,a=e.onTouchEnd,l=e.onTouchStart,d=e.resizerClassName,s=e.split,M=e.style,S=[d,s,t];return n.a.createElement("span",{role:"presentation",className:S.join(" "),style:M,onMouseDown:function(e){return r(e)},onTouchStart:function(e){e.preventDefault(),l(e)},onTouchEnd:function(e){e.preventDefault(),a(e)},onClick:function(e){o&&(e.preventDefault(),o(e))},onDoubleClick:function(e){i&&(e.preventDefault(),i(e))}})}}]),t}(n.a.Component);function W(e,t){if(e.selection)e.selection.empty();else try{t.getSelection().removeAllRanges()}catch(e){}}function h(e,t,o,i){if("number"==typeof i){var n="number"==typeof t?t:0,r="number"==typeof o&&o>=0?o:1/0;return Math.max(n,Math.min(r,i))}return void 0!==e?e:t}B.propTypes={className:a.a.string.isRequired,onClick:a.a.func,onDoubleClick:a.a.func,onMouseDown:a.a.func.isRequired,onTouchStart:a.a.func.isRequired,onTouchEnd:a.a.func.isRequired,split:a.a.oneOf(["vertical","horizontal"]),style:d.a,resizerClassName:a.a.string.isRequired},B.defaultProps={resizerClassName:"Resizer"};var y=function(e){function t(e){var o;M(this,t),(o=f(this,b(t).call(this,e))).onMouseDown=o.onMouseDown.bind(O(o)),o.onTouchStart=o.onTouchStart.bind(O(o)),o.onMouseMove=o.onMouseMove.bind(O(o)),o.onTouchMove=o.onTouchMove.bind(O(o)),o.onMouseUp=o.onMouseUp.bind(O(o));var i=e.size,n=e.defaultSize,r=e.minSize,a=e.maxSize,l=e.primary,d=void 0!==i?i:h(n,r,a,null);return o.state={active:!1,resized:!1,pane1Size:"first"===l?d:void 0,pane2Size:"second"===l?d:void 0,instanceProps:{size:i}},o}return m(t,e),c(t,[{key:"componentDidMount",value:function(){document.addEventListener("mouseup",this.onMouseUp),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("touchmove",this.onTouchMove),this.setState(t.getSizeUpdate(this.props,this.state))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("touchmove",this.onTouchMove)}},{key:"onMouseDown",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchStart(t)}},{key:"onTouchStart",value:function(e){var t=this.props,o=t.allowResize,i=t.onDragStarted,n=t.split;if(o){W(document,window);var r="vertical"===n?e.touches[0].clientX:e.touches[0].clientY;"function"==typeof i&&i(),this.setState({active:!0,position:r})}}},{key:"onMouseMove",value:function(e){var t=Object.assign({},e,{touches:[{clientX:e.clientX,clientY:e.clientY}]});this.onTouchMove(t)}},{key:"onTouchMove",value:function(e){var t=this.props,o=t.allowResize,i=t.maxSize,n=t.minSize,r=t.onChange,a=t.split,l=t.step,d=this.state,s=d.active,M=d.position;if(o&&s){W(document,window);var S="first"===this.props.primary,c=S?this.pane1:this.pane2,p=S?this.pane2:this.pane1;if(c){var k=c,m=p;if(k.getBoundingClientRect){var b=k.getBoundingClientRect().width,g=k.getBoundingClientRect().height,O="vertical"===a?b:g,f=M-("vertical"===a?e.touches[0].clientX:e.touches[0].clientY);if(l){if(Math.abs(f)<l)return;f=~~(f/l)*l}var z=S?f:-f;parseInt(window.getComputedStyle(k).order)>parseInt(window.getComputedStyle(m).order)&&(z=-z);var B=i;if(void 0!==i&&i<=0){var h=this.splitPane;B="vertical"===a?h.getBoundingClientRect().width+i:h.getBoundingClientRect().height+i}var y=O-z,C=M-f;y<n?y=n:void 0!==i&&y>B?y=B:this.setState({position:C,resized:!0}),r&&r(y),this.setState(u({draggedSize:y},S?"pane1Size":"pane2Size",y))}}}}},{key:"onMouseUp",value:function(){var e=this.props,t=e.allowResize,o=e.onDragFinished,i=this.state,n=i.active,r=i.draggedSize;t&&n&&("function"==typeof o&&o(r),this.setState({active:!1}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.allowResize,i=t.children,r=t.className,a=t.onResizerClick,l=t.onResizerDoubleClick,d=t.paneClassName,s=t.pane1ClassName,M=t.pane2ClassName,S=t.paneStyle,c=t.pane1Style,u=t.pane2Style,p=t.resizerClassName,m=t.resizerStyle,b=t.split,g=t.style,O=this.state,f=O.pane1Size,W=O.pane2Size,h=o?"":"disabled",y=p?"".concat(p," ").concat("Resizer"):p,C=function(e){return n.a.Children.toArray(e).filter((function(e){return e}))}(i),T=k({display:"flex",flex:1,height:"100%",position:"absolute",outline:"none",overflow:"hidden",MozUserSelect:"text",WebkitUserSelect:"text",msUserSelect:"text",userSelect:"text"},g);"vertical"===b?Object.assign(T,{flexDirection:"row",left:0,right:0}):Object.assign(T,{bottom:0,flexDirection:"column",minHeight:"100%",top:0,width:"100%"});var v=["SplitPane",r,b,h],x=k({},S,{},c),R=k({},S,{},u),I=["Pane1",d,s].join(" "),P=["Pane2",d,M].join(" ");return n.a.createElement("div",{className:v.join(" "),ref:function(t){e.splitPane=t},style:T},n.a.createElement(z,{className:I,key:"pane1",eleRef:function(t){e.pane1=t},size:f,split:b,style:x},C[0]),n.a.createElement(B,{className:h,onClick:a,onDoubleClick:l,onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onTouchEnd:this.onMouseUp,key:"resizer",resizerClassName:y,split:b,style:m||{}}),n.a.createElement(z,{className:P,key:"pane2",eleRef:function(t){e.pane2=t},size:W,split:b,style:R},C[1]))}}],[{key:"getDerivedStateFromProps",value:function(e,o){return t.getSizeUpdate(e,o)}},{key:"getSizeUpdate",value:function(e,t){var o={};if(t.instanceProps.size===e.size&&void 0!==e.size)return{};var i=void 0!==e.size?e.size:h(e.defaultSize,e.minSize,e.maxSize,t.draggedSize);void 0!==e.size&&(o.draggedSize=i);var n="first"===e.primary;return o[n?"pane1Size":"pane2Size"]=i,o[n?"pane2Size":"pane1Size"]=void 0,o.instanceProps={size:e.size},o}}]),t}(n.a.Component);y.propTypes={allowResize:a.a.bool,children:a.a.arrayOf(a.a.node).isRequired,className:a.a.string,primary:a.a.oneOf(["first","second"]),minSize:a.a.oneOfType([a.a.string,a.a.number]),maxSize:a.a.oneOfType([a.a.string,a.a.number]),defaultSize:a.a.oneOfType([a.a.string,a.a.number]),size:a.a.oneOfType([a.a.string,a.a.number]),split:a.a.oneOf(["vertical","horizontal"]),onDragStarted:a.a.func,onDragFinished:a.a.func,onChange:a.a.func,onResizerClick:a.a.func,onResizerDoubleClick:a.a.func,style:d.a,resizerStyle:d.a,paneClassName:a.a.string,pane1ClassName:a.a.string,pane2ClassName:a.a.string,paneStyle:d.a,pane1Style:d.a,pane2Style:d.a,resizerClassName:a.a.string,step:a.a.number},y.defaultProps={allowResize:!0,minSize:50,primary:"first",split:"vertical",paneClassName:"",pane1ClassName:"",pane2ClassName:""},Object(s.polyfill)(y),t.default=y},ihjy:function(e,t,o){var i=o("Fxvz"),n=o("17x9");e.exports=function(e,t,o){var n=e[t];if(n){var r=[];if(Object.keys(n).forEach((function(e){-1===i.indexOf(e)&&r.push(e)})),r.length)throw new Error("Prop "+t+" passed to "+o+". Has invalid keys "+r.join(", "))}},e.exports.isRequired=function(t,o,i){if(!t[o])throw new Error("Prop "+o+" passed to "+i+" is required");return e.exports(t,o,i)},e.exports.supportingArrays=n.oneOfType([n.arrayOf(e.exports),e.exports])},k994:function(e,t,o){"use strict";o.r(t);o("SchZ"),o("Aosp"),o("L/Qf")}}]); \ No newline at end of file diff --git a/static/js/58.25ba33d5.chunk.js b/static/js/59.90cc244b.chunk.js similarity index 98% rename from static/js/58.25ba33d5.chunk.js rename to static/js/59.90cc244b.chunk.js index a8b0d7fde..b472149d9 100644 --- a/static/js/58.25ba33d5.chunk.js +++ b/static/js/59.90cc244b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[58],{"85SH":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};t.default=function(){return a.default.createElement("div",null,a.default.createElement("img",{alt:"",src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=275377869,874401419&fm=26&gp=0.jpg"}),a.default.createElement("div",null,a.default.createElement("p",{className:"mb5 font-18 color-grey-3 task-hide"},"组织名称组织名称"),a.default.createElement("div",{className:"task-hide-2"},"组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内"),a.default.createElement("p",{className:"item-news"},a.default.createElement("span",null,"项目:11"),a.default.createElement("span",null,a.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-12"}),"创建时间:2020-04-28"))))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("5rEg"));n("1vPl");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}var l=r.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return o.default.createElement(l,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var r=n("q1tI"),o=n("3S7+"),a=n("H84U"),l=n("6CfX");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 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 i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 d(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},y=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)}(b,e);var t,n,u,y,h=(t=b,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return i(this,b),(e=h.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,u=v(a,["prefixCls"]);delete u.title;var i=n("popover",l);return r.createElement(o.default,c({},u,{prefixCls:i,ref:e.saveTooltip,overlay:e.getOverlay(i)}))},e}return n=b,(u=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return r.createElement(a.a,null,this.renderPopover)}}])&&f(n.prototype,u),y&&f(n,y),b}(r.Component);y.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},vTxG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("BvKs"));n("2WkQ");var o=c(n("q1tI")),a=c(n("Hsgt")),l=c(n("y6GU")),u=c(n("85SH"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=o.default.createElement(r.default,null,o.default.createElement(r.default.Item,{key:"updated_on"},"更新时间排序"),o.default.createElement(r.default.Item,{key:"created_on"},"项目数排序"));return o.default.createElement("div",null,o.default.createElement("div",{className:"headerbox"},o.default.createElement("div",null,o.default.createElement(a.default,{placeholder:"请输入项目名称关键字进行搜索",onSearch:function(e){}})),o.default.createElement("p",null,o.default.createElement("a",null,o.default.createElement("i",{className:"iconfont icon-xinjian1 mr3 font-14"}),"新建组织"),o.default.createElement(l.default,{menu:e},o.default.createElement("a",null,"排序",o.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),o.default.createElement("div",{className:"contentBox"},o.default.createElement(u.default,null)))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("diRs"));n("Aosp");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return o.default.createElement(r.default,{content:t,trigger:["click"],placement:"bottom"},n)}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[59],{"85SH":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};t.default=function(){return a.default.createElement("div",null,a.default.createElement("img",{alt:"",src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=275377869,874401419&fm=26&gp=0.jpg"}),a.default.createElement("div",null,a.default.createElement("p",{className:"mb5 font-18 color-grey-3 task-hide"},"组织名称组织名称"),a.default.createElement("div",{className:"task-hide-2"},"组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内容组织描述内"),a.default.createElement("p",{className:"item-news"},a.default.createElement("span",null,"项目:11"),a.default.createElement("span",null,a.default.createElement("i",{className:"iconfont icon-shijian color-green mr3 font-12"}),"创建时间:2020-04-28"))))}},Aosp:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("Dt+G")},"Dt+G":function(e,t,n){},Hsgt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("5rEg"));n("1vPl");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}var l=r.default.Search;t.default=function(e){var t=e.placeholder,n=e.onSearch;return o.default.createElement(l,{placeholder:t,enterButton:"搜索",onSearch:n,width:"300px"})}},diRs:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return y}));var r=n("q1tI"),o=n("3S7+"),a=n("H84U"),l=n("6CfX");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 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 i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 d(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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},y=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)}(b,e);var t,n,u,y,h=(t=b,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function b(){var e;return i(this,b),(e=h.apply(this,arguments)).saveTooltip=function(t){e.tooltip=t},e.renderPopover=function(t){var n=t.getPrefixCls,a=e.props,l=a.prefixCls,u=v(a,["prefixCls"]);delete u.title;var i=n("popover",l);return r.createElement(o.default,c({},u,{prefixCls:i,ref:e.saveTooltip,overlay:e.getOverlay(i)}))},e}return n=b,(u=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getOverlay",value:function(e){var t=this.props,n=t.title,o=t.content;return Object(l.a)(!("overlay"in this.props),"Popover","`overlay` is removed, please use `content` instead, see: https://u.ant.design/popover-content"),r.createElement("div",null,n&&r.createElement("div",{className:"".concat(e,"-title")},n),r.createElement("div",{className:"".concat(e,"-inner-content")},o))}},{key:"render",value:function(){return r.createElement(a.a,null,this.renderPopover)}}])&&f(n.prototype,u),y&&f(n,y),b}(r.Component);y.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}}},vTxG:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("BvKs"));n("2WkQ");var o=c(n("q1tI")),a=c(n("Hsgt")),l=c(n("y6GU")),u=c(n("85SH"));function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=o.default.createElement(r.default,null,o.default.createElement(r.default.Item,{key:"updated_on"},"更新时间排序"),o.default.createElement(r.default.Item,{key:"created_on"},"项目数排序"));return o.default.createElement("div",null,o.default.createElement("div",{className:"headerbox"},o.default.createElement("div",null,o.default.createElement(a.default,{placeholder:"请输入项目名称关键字进行搜索",onSearch:function(e){}})),o.default.createElement("p",null,o.default.createElement("a",null,o.default.createElement("i",{className:"iconfont icon-xinjian1 mr3 font-14"}),"新建组织"),o.default.createElement(l.default,{menu:e},o.default.createElement("a",null,"排序",o.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down ml3 font-14"}))))),o.default.createElement("div",{className:"contentBox"},o.default.createElement(u.default,null)))}},y6GU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("diRs"));n("Aosp");var o=a(n("q1tI"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.menu,n=e.children;return o.default.createElement(r.default,{content:t,trigger:["click"],placement:"bottom"},n)}}}]); \ No newline at end of file diff --git a/static/js/59.d7abe6cd.chunk.js b/static/js/60.8b53ed89.chunk.js similarity index 99% rename from static/js/59.d7abe6cd.chunk.js rename to static/js/60.8b53ed89.chunk.js index bf291efe7..6690afa98 100644 --- a/static/js/59.d7abe6cd.chunk.js +++ b/static/js/60.8b53ed89.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[59],{"2nZx":function(e,t,n){},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=f(n("CtXQ")),o=f(n("8z0m")),i=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}}();n("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,p=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,s.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";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),a=t.fileList.slice();return a.splice(n,1),{fileList:a}})),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 a=e.fileList;n.setState({fileList:(0,s.appendFileSizeToUploadFileAll)(a)}),n.fileIdList(a)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&e.response.id)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,a=e.size/1024/1024<t;return a||n.props.showNotification("文件大小必须小于"+t+"MB!"),a},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),r(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,r={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(d,i({},r,{className:this.props.className}),n||c.default.createElement(a.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=p},B3S4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=m(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,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),r=m(i);n("2nZx");var l=m(n("AySf")),c=m(n("bIax")),s=m(n("p7gc")),u=n("spEH"),f=m(n("vDqi")),d=m(n("bjH3")),p=m(n("LZ3y"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,i.useState)(void 0),n=o(t,2),m=n[0],h=n[1],v=(0,i.useState)(void 0),y=o(v,2),g=y[0],b=y[1],E=(0,i.useState)(!1),w=o(E,2),_=w[0],N=w[1],A=(0,i.useState)(void 0),S=o(A,2),O=S[0],x=S[1],j=(0,i.useState)(!1),k=o(j,2),C=k[0],D=k[1],L=e.match.params,M=L.owner,H=L.projectsId,T=e.isManager,I=e.isDeveloper,P=e.current_user;function V(){var e="/"+M+"/"+H+"/about.json";f.default.get(e).then((function(e){e&&(b(e.data.content),h(e.data.attachments))})).catch((function(e){}))}return(0,i.useEffect)((function(){M&&H&&V()}),[M,H]),(0,i.useEffect)((function(){P&&P.login&&(!0===T||!0===I)&&D(!0)}),[T,I]),r.default.createElement("div",{className:"aboutPanels"},r.default.createElement("div",{className:"aboutContent"},r.default.createElement(u.AlignCenterBetween,{style:{padding:"14px 0px"}},r.default.createElement("span",{className:"font-16"},r.default.createElement("i",{className:"iconfont icon-xiangmujianjie mr5 font-16 color-blue"}),"项目简介"),C&&!_&&r.default.createElement("a",{onClick:function(){N(!0)},className:"color-blue"},"编辑")),_?r.default.createElement("div",null,r.default.createElement(s.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:g,onChange:function(e){b(e)},className:"mt20"}),r.default.createElement("div",{className:"pb20"},r.default.createElement(l.default,{className:"commentStyle mt20",isComplete:!0,load:function(e){x(e)},icon:r.default.createElement("img",{src:c.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.showNotification}),m&&m.length>0&&r.default.createElement(p.default,{attachments:m,showNotification:e.showNotification,canDelete:!0})),r.default.createElement("div",{className:"pb30"},r.default.createElement(a.default,{type:"primary",onClick:function(){var t="/"+M+"/"+H+"/about.json";f.default.post(t,{content:g,attachment_ids:O}).then((function(t){t&&(e.showNotification("项目主页编辑成功!"),V(),N(!1))})).catch((function(e){}))}},"确定"),r.default.createElement(a.default,{className:"ml30",onClick:function(){return N(!1)}},"取消"))):r.default.createElement("div",{style:{padding:"20px 0px"}},g?r.default.createElement(d.default,{className:"break_word_comments imageLayerParent",value:g,url:e.history.location}):r.default.createElement("div",null,"暂无简介~"),m&&m.length>0&&r.default.createElement(p.default,{attachments:m,showNotification:e.showNotification}))))}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("kLXV")),o=d(n("W9HT")),i=d(n("NJEC")),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}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),c=d(l),s=n("eO8H"),u=d(n("vDqi")),f=d(n("UQ5L"));function d(e){return e&&e.__esModule?e:{default:e}}var p=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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,r=t.canDelete,l=t.show_video,u=t.video_url,d=t.video_title,p=t.move_spin,m=this.props.attachments;return c.default.createElement("div",null,m?c.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,a){return c.default.createElement("div",{key:a,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:p},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),r?c.default.createElement(i.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(a.default,{title:d,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=p},UQ5L: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,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&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),r=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(null),n=a(t,2),l=n[0],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),i.default.createElement(r.default,{url:l,controls:!0,playing:!1})}},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 a=n("q1tI"),o=s(a);n("vg9a");var i=n("ud8/"),r=s(i);n("SJMd");var l=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,f=e.style,d=void 0===f?{}:f,p=e.url,m=String(n),h=(0,a.useMemo)((function(){var e=(0,r.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 a=t[n],o=a.type,i=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}(i)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,i.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,a.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+220)}}}),[p]);var v=(0,a.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.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,i.resetMathExpressions)(),(0,i.cleanToc)()}}),[h,v.current,y]),o.default.createElement("div",{ref:v,style:d,className:(s||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[60],{"2nZx":function(e,t,n){},AySf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=f(n("CtXQ")),o=f(n("8z0m")),i=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}}();n("2oDE"),n("7W5+");var l=n("q1tI"),c=f(l),s=n("sYIF"),u=f(n("vDqi"));function f(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Dragger,p=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,s.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";u.default.delete(t,{}).then((function(t){t.data&&(0===t.data.status?(n.setState((function(t){var n=t.fileList.indexOf(e),a=t.fileList.slice();return a.splice(n,1),{fileList:a}})),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 a=e.fileList;n.setState({fileList:(0,s.appendFileSizeToUploadFileAll)(a)}),n.fileIdList(a)}},n.fileIdList=function(e){var t=[];e&&e.length>0&&e.map((function(e){return t.push(e.response&&e.response.id)})),t&&n.props.load&&n.props.load(t)},n.beforeUpload=function(e){var t=n.props.size,a=e.size/1024/1024<t;return a||n.props.showNotification("文件大小必须小于"+t+"MB!"),a},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),r(t,[{key:"render",value:function(){var e=this.props,t=e.isComplete,n=e.icon,o=this.state.fileList,r={name:"file",fileList:!0===t?o:void 0,action:""+(0,s.getUploadActionUrl)(),onChange:this.handleChange,onRemove:this.onAttachmentRemove,beforeUpload:this.beforeUpload};return c.default.createElement(d,i({},r,{className:this.props.className}),n||c.default.createElement(a.default,{type:"inbox"}),c.default.createElement("p",{className:"ant-upload-text font-14"},"拖动文件或",c.default.createElement("span",{className:"color-blue"},"点击此处上传")))}}]),t}(l.Component);t.default=p},B3S4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=m(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,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var i=n("q1tI"),r=m(i);n("2nZx");var l=m(n("AySf")),c=m(n("bIax")),s=m(n("p7gc")),u=n("spEH"),f=m(n("vDqi")),d=m(n("bjH3")),p=m(n("LZ3y"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,i.useState)(void 0),n=o(t,2),m=n[0],h=n[1],v=(0,i.useState)(void 0),y=o(v,2),g=y[0],b=y[1],E=(0,i.useState)(!1),w=o(E,2),_=w[0],N=w[1],A=(0,i.useState)(void 0),S=o(A,2),O=S[0],x=S[1],j=(0,i.useState)(!1),k=o(j,2),C=k[0],D=k[1],L=e.match.params,M=L.owner,H=L.projectsId,T=e.isManager,I=e.isDeveloper,P=e.current_user;function V(){var e="/"+M+"/"+H+"/about.json";f.default.get(e).then((function(e){e&&(b(e.data.content),h(e.data.attachments))})).catch((function(e){}))}return(0,i.useEffect)((function(){M&&H&&V()}),[M,H]),(0,i.useEffect)((function(){P&&P.login&&(!0===T||!0===I)&&D(!0)}),[T,I]),r.default.createElement("div",{className:"aboutPanels"},r.default.createElement("div",{className:"aboutContent"},r.default.createElement(u.AlignCenterBetween,{style:{padding:"14px 0px"}},r.default.createElement("span",{className:"font-16"},r.default.createElement("i",{className:"iconfont icon-xiangmujianjie mr5 font-16 color-blue"}),"项目简介"),C&&!_&&r.default.createElement("a",{onClick:function(){N(!0)},className:"color-blue"},"编辑")),_?r.default.createElement("div",null,r.default.createElement(s.default,{placeholder:"请输入描述信息",height:500,mdID:"order-new-description",initValue:g,onChange:function(e){b(e)},className:"mt20"}),r.default.createElement("div",{className:"pb20"},r.default.createElement(l.default,{className:"commentStyle mt20",isComplete:!0,load:function(e){x(e)},icon:r.default.createElement("img",{src:c.default,width:"58",alt:"",style:{marginBottom:15}}),size:100,showNotification:e.showNotification}),m&&m.length>0&&r.default.createElement(p.default,{attachments:m,showNotification:e.showNotification,canDelete:!0})),r.default.createElement("div",{className:"pb30"},r.default.createElement(a.default,{type:"primary",onClick:function(){var t="/"+M+"/"+H+"/about.json";f.default.post(t,{content:g,attachment_ids:O}).then((function(t){t&&(e.showNotification("项目主页编辑成功!"),V(),N(!1))})).catch((function(e){}))}},"确定"),r.default.createElement(a.default,{className:"ml30",onClick:function(){return N(!1)}},"取消"))):r.default.createElement("div",{style:{padding:"20px 0px"}},g?r.default.createElement(d.default,{className:"break_word_comments imageLayerParent",value:g,url:e.history.location}):r.default.createElement("div",null,"暂无简介~"),m&&m.length>0&&r.default.createElement(p.default,{attachments:m,showNotification:e.showNotification}))))}},LZ3y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("kLXV")),o=d(n("W9HT")),i=d(n("NJEC")),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}}();n("k3Gp"),n("04bd"),n("k994");var l=n("q1tI"),c=d(l),s=n("eO8H"),u=d(n("vDqi")),f=d(n("UQ5L"));function d(e){return e&&e.__esModule?e:{default:e}}var p=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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.Deleted,r=t.canDelete,l=t.show_video,u=t.video_url,d=t.video_title,p=t.move_spin,m=this.props.attachments;return c.default.createElement("div",null,m?c.default.createElement("div",{className:"attachmentsList mt5"},m.map((function(t,a){return c.default.createElement("div",{key:a,style:{display:n.length>0&&-1!==n.indexOf(t.id)?"none":"block",padding:"4px"},className:"attachment-list-div"},c.default.createElement(o.default,{spinning:p},e.is_video(t.title)?c.default.createElement("a",{onClick:function(){return e.show_video_modal(t)},className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)):c.default.createElement(s.Link,{to:""+t.url,target:"_blank",className:"attachment-list-a"},c.default.createElement("i",{className:"iconfont icon-fujian mr8 paper-clip-color font-12"}),c.default.createElement("span",null,t.title),c.default.createElement("span",{className:"ml20"},t.filesize)),r?c.default.createElement(i.default,{placement:"bottom",title:"您确定要删除附件吗",okText:"是",cancelText:"否",onConfirm:function(){return e.deleteAttachment(t.id)}},c.default.createElement("span",{className:"attachment-list-delete fr"},c.default.createElement("i",{className:"iconfont icon-lajitong mr10 color-grey-9 font-14"}))):""))}))):"",l?c.default.createElement(a.default,{title:d,visible:!0,width:690,footer:null,onCancel:this.hide_video_modal},c.default.createElement(f.default,{video_url:u})):"")}}]),t}(l.Component);t.default=p},UQ5L: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,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{!a&&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),r=l(n("6tYh"));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=(0,o.useState)(null),n=a(t,2),l=n[0],c=n[1];return(0,o.useEffect)((function(){c(e.video_url)}),[]),i.default.createElement(r.default,{url:l,controls:!0,playing:!1})}},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 a=n("q1tI"),o=s(a);n("vg9a");var i=n("ud8/"),r=s(i);n("SJMd");var l=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,f=e.style,d=void 0===f?{}:f,p=e.url,m=String(n),h=(0,a.useMemo)((function(){var e=(0,r.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 a=t[n],o=a.type,i=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}(i)||"",{displayMode:"block"===o,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,i.resetMathExpressions)(),l.default.sanitize(e)}),[m]);(0,a.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+220)}}}),[p]);var v=(0,a.useRef)();function y(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.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,i.resetMathExpressions)(),(0,i.cleanToc)()}}),[h,v.current,y]),o.default.createElement("div",{ref:v,style:d,className:(s||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}}}]); \ No newline at end of file diff --git a/static/js/60.51076bc3.chunk.js b/static/js/61.61c95aee.chunk.js similarity index 97% rename from static/js/60.51076bc3.chunk.js rename to static/js/61.61c95aee.chunk.js index 18e2845b9..83d252a51 100644 --- a/static/js/60.51076bc3.chunk.js +++ b/static/js/61.61c95aee.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[60],{"7dqz":function(e,t,n){},KBVR:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABKCAYAAADHa2hTAAANPElEQVR4Xu1cCXhURRL+q9+bISFCuORGUBATBEGERXDjKiIgZMIqCiuuqAuoqKgcIqu5BpEVVmHXE2UXELkEPJBLCHIH5FKCEEkAlUvCJWdAknnd+3W/mckMmZAJMwkZdur78mXee93V1X9Xd1dXVzfBg0QKdIPHPsiFsAFoDEIlz+8h/1vgdyHEfiKWZtHyPyH77tPBrBO5mOW9EtsaTMwAcFMwCyjHvI4JiIEVRmXNDZaMCsy8pGbtIPhyABWDxTgk+AgIxkR//bWsScGQl0Rq3YoOR+UsAdQPBsMQ5JEnYLSqMGrXj4HKTvlJMUOEwFuBMgrx/DOto3b2CbQOlJcYkw6gQ6CMQjz/WYvGqpM9My+QekgwfwNQNRAmV0NeC/QmNGr7nkDqQvmJMVwA7lk9EGYhnVeIttbXszYHUgepmSIQBldNXk20tdrDYAanPcNgBgdHxSUMZhjMICIQRFZhzQxlMCvXAk4fLqgB04AaNwAnDgD554NYs0uwYjrADQBBNkLKVDM1C/RhK2CkT4ZY+1+ztpVqwjJ8FRyTHof4eYM3AlHVoD38TvEAO/JgTHnCTBdRCVQnFpCA6RXM58hooHJNUJW6QI3rQdc2hjEvGWLrPDdvZksF1brR/WwsfB3sxjhQ0zvd7/i6yRCZy4qWpyzBpBbdoD30Joylb0K7d4hTKAIxBsG5W1PErrUwpj0NVK4Ny0srwLd/DXEqR6VnbR6COJwNsT9DPVPtm0DX3QrHyFtNfpHR0Id+AwgOOC4AjjygYhXgQi74rrXAb/sgcnaa+c+dcAOjDZgBGPkQu9ZA6zxUNS5r1QOoEwuR8RXY3c+CL30LfOPM8gAmQQl84SyMz0aA6rcoqHzPN2CkjVcgSRJnjwMHf3CD6Zj0GMTPG9U3fdhy8M1zwFd+YIL7h4fBug4vANNHVbU+7wLcAWPWi0UCIWUT+7eCp/0LltSMAjAtETBmD4H+8hrwFe+XDzCp3SPQ4xNhfD0WPH0ytMcnA7oF0Kxg9VuASyB/P6Mqa8wfCchnl2buWgOcOWZqYvMuEMd+AXKyTGCuvR5UO6YATKaB3TXQCzTWohvAOfiOr93vRU42ROZSL80MDTCrNoD+3DyQNRLG4jHg66ZAT/4efNsC4FQOtI7PwdgwEzh5EFqXYXBMfARi33eXB6Ycl5+e462BcqyUdPJX93uevRo8bZxqTETXhtZ7PMShTPD0KbA8vwCOucPBYjupcddYNBr6k7PAN0wH3zQbOHvUt4aXyZhZrzm0+/4OqtlEdU8XmMbc4RC/ZsIydBkcU/pDHMiAJXFTITBLs5tT3ZuhD/R/14FnrYQxzVvzC9S7TNbmBERWhv7CIvDVE91gkiXCZwu7NTO6DixyjPz+S4iTB80xsn1f1QBir+mcobrNQTe0M7u5NQqs3cOFeJKcSASHyJjv9U1NZD9tAKo1gN7rLfB9W8E3zYLlmc/h+PxVsGadzGEnbRz0flPBN34Kvnk2cOrQFdRMZ9H6iHQ3mOy+ERA/fatMI72HHY6pT0Gccdqfx/eZNmeDVrA8ORNczrxOG1TO3Dh9xA0uSbs1uo4J5jU1VKULUaVapqVw5ojXJ56ZBp42Xr1TJtvqjyC2fFYwAcX1V5MiX/LP8jUBKYFdYG6cCe2vH4CqN1SAUvOucIxqa5ozHkQtbdDuHw3H622B/N+dlS6F2Zxp0FMyYEx/FmLPejeYWrdXwL/7DHz91HIM5ropgG5VgLLGHcB/zYQxdQCQKx32BcR6jwdVbQBjwoPul4VMo/Z9we4dHJBpRI07QHvsP3CM76y0XplGMwZB6z0OxoxBENmryi+Y4twJUMPWYLfYgDNHAWtFZVhLLRU5WWoml4a1Pngp5EpEeBjKLjDF3i1gcQNAdWIgTh+B8UFP795NDKzTi8poZ7f1VAY7n5fkc6xTjRYZDb78HdAt8dDa9YGx/hOwlglwzBwEFttRjdXGnJcgfljke7yUb8tkNncWrw2cC75xlprVqUYj8Ow1EHJAFwIUew9ILt9qNlGg8mX/BvvjE+DrpiqD20XUMgE4ugfi1CGwuP7A72fVCgnHfipUSfbAG6Do2kDucRirPjRtVx9EMR0Bw6HGYa3LSxCHs5QJRM06mSuiLsMhju4BX/EekHeufIBZtBRXyZey1MyrBLKwZpZJQ4Y1M4gwh8EMgxlEBILIKqyZYTCDiEAQWYU1MwxmEBEIIquwZl4mmHL3M6ISIH2yF86qZS00Hg7c8gvOyGhQbCewG24H1WsOVK0P0nR3VsEN8HWTbHrckwv84ldEoqs7pLDWTWB3DgBrdi9ItxZAIJ0v0mUoHR+GQ7kUje2L+ml35kwhsns7ZkuAbvFgMh3ag2NAMfcAMoJDRlNIYYQBGPK3Yf6W79Q3zz8HZKu788j9da90l8jjyT8vF3zHEuDIbv+qVrEKWOdhYK3vBxEz8+QeBw5sA47uNrcuhI+IEKJcCJEOEvOgYxZ1tXs7aYspvVgwqdWfoff8h3+VKMVUIu8cHG93VzuilyJq2AZarzehtkQkye2OncuBw87tZf9lPAeBj2AVr/kLasiAKTFwzHzBa7/8YlyUc/iB0SDNYmpe9ipg95pCWyr+46lSHgOJfhRv/6q4fMWCCc0CrecY0wHsOe4UxznI38X5U3C8HQ+cNQMaCgHZoju0h8aa3VqG1Wz9AsjZGSwpOIRIogT76Ev2ihLFtMsx0/VHOqA5n8n1Xi/4rtLpIM88znduHj6fNZA0XSRPJ3/hyIPYuaLobdoGt0Lv97GpkRLI9VOKThsIvIT3KT712aJYFK+ZgRReFnkjKpkRJ9F1zK69Zbb/GhlVXUXWqSAxObZ6hksWKTsbRLbkd332jhJpZlmAU8IyWHyS2kRTJMfI7JX+cZDa32kIYI0sSH/+NLB3EyDDI438ovg4oLFO1C15VaGhJqTBrNYQ+gsLzaFE7pSunuD/ZCPjlDoPg5wTCpGM5NsyB3AFVhROkY3zogX1snudaAvpbs562KG16WVWVXbvQyU8S1rtOqBOM6BiVUAGiFW4pgA2GTixYZoKSPNNbCDZkid4fgtdMC0R0F9eC6oQZQa+LpdRygGEZhMB9VsCzbqYa3ZJF3KBtROB86d84Cl2kc3e9KoAU6619T7OMO9dq4GsFf6NlcWliqoBtH8MiHBq6bGfgW99xEApPqwD2ZLXu1iGrGay7onQbn/ErEf6JODE/uJg8v97lXpAhydMM0/Syvd827eEkRSfmhLyYGr9p4M1bK2iirF4tOkfCCY1vgOQ/gi5pl/9oVdkikcxS8mW2qVkYMpVhbTJ5LiinBrcnDWVk8PH/2BWqgheary8prrp/Vnhx6mOy5HJGmWGQ14U4VfAivaSLaWR/2BaIkHt+5qC+0teAEvgXQ1gmCczPL8r75ADOL7XjPksUnDvwvXUbeaKR55BSncepfFXvmClI8ql+BS3CVDsmEkNbwPd7NbkYInhk49ys+3dUnwZxGAZucNMd/wXYP3HxecpnRQOsqW6DdViwUTNJmAuW650BHJzlUdcxI+XOPjkUb6e9J06tKAODkjz5UqQEKcowV7F/24uU0p3f62m5mqBaaZnRs50vv7Ld3JsLSnlnwf/dpq5kvGD9CHLQFXrmXs4aVfqvhaxg2z25iUD04/KeSWRYCpPkgTWBbqrATyeXWlkZgmidDj4SdqjH4K5jvMtGVt2Zzc95SPMpvjU3qULpp+ABJKMdRwE7e5nTBabP/XfUxRIoRfnZfQcdU95L+TBpAYt1WEpRQcygK1fBhMmf3hxWPVG1CXRvVoofgLyh+0VSUPQh31j+jGlQ3jZuBINE4GLLJaQzd7Vq9fnJcbkhuodcBTXH3rnoWZ95NpcrtHLigS7ixK8fZqUlxibCYjYspIhqOVIL/vgJSDpQpOTl1xDOw/EBrWci5kRPqf41IuOiACym48DMLhUCy9F5tT2L9ATnL4G6eGRPkg/V1GXJ5bYD25tSz1e9bgSwuRE51NiGmkO7AShwuUxv8K5iKD1nQjW5A5TkF82Adsvcd4nYHFFBizW+6jrq4UOYZr3ZybGDALwdsDlXCkG8tzlU5+aV09I2vkNsHttaUqzD4J1o4Rk55rWqZmuEo2kmCFcYIwACiKaSlOcYPOu0Qh6/+mgqGomZ2kubZvvvBwl2IUpfich0JMSUuUlrmY39yzmQlKzm0mIEQQeL0DuNWepiFIaTKs3hP7oR6Dq15nc5bp921d+buEWIRBhIYS4C6AoHynkhtoAsqUqV7zPRbS8tfBMatPqFgeF3AXOEU3jIhyN49yKoFsY4di+28Dz/waBVv61ofQL0mJo7A3qlpwuFqa0ASd54L22j/wCECPIZh97GR4J/8Qpj6nEvJRbwNAVRB0g1EXVNeQFQDJGDsBBEDIhaDUs+oKLJxixOKURDCyCIF9mpIDB2v9fgRloA4sFI6pCVPgCoD8V4kX0fBjMEiIsZqdYEUmTAXjeUSy7+u1hMEsIpkyubsKdbx8GiMHOFcIostkn/A8jGDgVNpVC7gAAAABJRU5ErkJggg=="},KkuB:function(e,t,n){},X2IR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("q1tI")),o=a(n("KBVR"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(){return r.default.createElement("div",{className:"handleBox"},r.default.createElement("a",{href:"https://forum.trustie.net/forums/3075/detail",target:"_blank"},r.default.createElement("img",{src:o.default,alt:""})))}},qmW9: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.ImageLayerOfCommentHOC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(e){f(this,a);var t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,l.isImageExtension)(n.trim())||(0,l.isImageExtension)(r)||"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(a,n),o(a,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){d(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(){d(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),u.default.createElement(u.default.Fragment,null,u.default.createElement(i.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),u.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),a}(a.Component)}};var a=n("q1tI"),u=c(a),i=c(n("Ozcj")),l=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}function f(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}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 d=window.$},vabz: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=h(a),i=n("eO8H"),l=n("dtw8"),c=n("sYIF"),f=n("1thW"),s=n("5A3O"),p=h(n("X2IR"));n("7dqz");var d=h(n("CnBM")),g=h(n("HUFq")),m=n("qmW9");function h(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 w=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(45)]).then(n.t.bind(null,"MByq",7))},loading:g.default}),v=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(43)]).then(n.t.bind(null,"9hAI",7))},loading:g.default}),E=(0,d.default)({loader:function(){return Promise.all([n.e(6),n.e(69)]).then(n.t.bind(null,"NUct",7))},loading:g.default}),b=(0,d.default)({loader:function(){return Promise.all([n.e(12),n.e(64)]).then(n.t.bind(null,"xjFL",7))},loading:g.default}),C=function(e){function t(){return A(this,t),y(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:"render",value:function(){var e=this;return u.default.createElement("div",{className:"newMain clearfix"},u.default.createElement(p.default,null),u.default.createElement(i.Switch,this.props,u.default.createElement(i.Route,{path:"/projects/:projectsType/new",render:function(t){return u.default.createElement(w,r({},e.props,t))}}),u.default.createElement(i.Route,{path:"/projects/:owner/:projectsId",render:function(t){return u.default.createElement(E,r({},e.props,t))}}),u.default.createElement(i.Route,{path:"/projects",render:function(t){return u.default.createElement(v,r({},e.props,t))}}),u.default.createElement(i.Route,{exact:!0,path:"/",render:function(t){return e.props.current_user&&e.props.current_user.login?u.default.createElement(b,r({},e.props,t)):u.default.createElement(v,r({},e.props,t))}})))}}]),t}(a.Component);t.default=(0,l.withRouter)((0,m.ImageLayerOfCommentHOC)({imgSelector:".imageLayerParent img, .imageLayerParent .imageTarget",parentSelector:".newMain"})((0,f.CNotificationHOC)()((0,c.SnackbarHOC)()((0,s.TPMIndexHOC)(C)))))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[61],{"7dqz":function(e,t,n){},KBVR:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABKCAYAAADHa2hTAAANPElEQVR4Xu1cCXhURRL+q9+bISFCuORGUBATBEGERXDjKiIgZMIqCiuuqAuoqKgcIqu5BpEVVmHXE2UXELkEPJBLCHIH5FKCEEkAlUvCJWdAknnd+3W/mckMmZAJMwkZdur78mXee93V1X9Xd1dXVzfBg0QKdIPHPsiFsAFoDEIlz+8h/1vgdyHEfiKWZtHyPyH77tPBrBO5mOW9EtsaTMwAcFMwCyjHvI4JiIEVRmXNDZaMCsy8pGbtIPhyABWDxTgk+AgIxkR//bWsScGQl0Rq3YoOR+UsAdQPBsMQ5JEnYLSqMGrXj4HKTvlJMUOEwFuBMgrx/DOto3b2CbQOlJcYkw6gQ6CMQjz/WYvGqpM9My+QekgwfwNQNRAmV0NeC/QmNGr7nkDqQvmJMVwA7lk9EGYhnVeIttbXszYHUgepmSIQBldNXk20tdrDYAanPcNgBgdHxSUMZhjMICIQRFZhzQxlMCvXAk4fLqgB04AaNwAnDgD554NYs0uwYjrADQBBNkLKVDM1C/RhK2CkT4ZY+1+ztpVqwjJ8FRyTHof4eYM3AlHVoD38TvEAO/JgTHnCTBdRCVQnFpCA6RXM58hooHJNUJW6QI3rQdc2hjEvGWLrPDdvZksF1brR/WwsfB3sxjhQ0zvd7/i6yRCZy4qWpyzBpBbdoD30Joylb0K7d4hTKAIxBsG5W1PErrUwpj0NVK4Ny0srwLd/DXEqR6VnbR6COJwNsT9DPVPtm0DX3QrHyFtNfpHR0Id+AwgOOC4AjjygYhXgQi74rrXAb/sgcnaa+c+dcAOjDZgBGPkQu9ZA6zxUNS5r1QOoEwuR8RXY3c+CL30LfOPM8gAmQQl84SyMz0aA6rcoqHzPN2CkjVcgSRJnjwMHf3CD6Zj0GMTPG9U3fdhy8M1zwFd+YIL7h4fBug4vANNHVbU+7wLcAWPWi0UCIWUT+7eCp/0LltSMAjAtETBmD4H+8hrwFe+XDzCp3SPQ4xNhfD0WPH0ytMcnA7oF0Kxg9VuASyB/P6Mqa8wfCchnl2buWgOcOWZqYvMuEMd+AXKyTGCuvR5UO6YATKaB3TXQCzTWohvAOfiOr93vRU42ROZSL80MDTCrNoD+3DyQNRLG4jHg66ZAT/4efNsC4FQOtI7PwdgwEzh5EFqXYXBMfARi33eXB6Ycl5+e462BcqyUdPJX93uevRo8bZxqTETXhtZ7PMShTPD0KbA8vwCOucPBYjupcddYNBr6k7PAN0wH3zQbOHvUt4aXyZhZrzm0+/4OqtlEdU8XmMbc4RC/ZsIydBkcU/pDHMiAJXFTITBLs5tT3ZuhD/R/14FnrYQxzVvzC9S7TNbmBERWhv7CIvDVE91gkiXCZwu7NTO6DixyjPz+S4iTB80xsn1f1QBir+mcobrNQTe0M7u5NQqs3cOFeJKcSASHyJjv9U1NZD9tAKo1gN7rLfB9W8E3zYLlmc/h+PxVsGadzGEnbRz0flPBN34Kvnk2cOrQFdRMZ9H6iHQ3mOy+ERA/fatMI72HHY6pT0Gccdqfx/eZNmeDVrA8ORNczrxOG1TO3Dh9xA0uSbs1uo4J5jU1VKULUaVapqVw5ojXJ56ZBp42Xr1TJtvqjyC2fFYwAcX1V5MiX/LP8jUBKYFdYG6cCe2vH4CqN1SAUvOucIxqa5ozHkQtbdDuHw3H622B/N+dlS6F2Zxp0FMyYEx/FmLPejeYWrdXwL/7DHz91HIM5ropgG5VgLLGHcB/zYQxdQCQKx32BcR6jwdVbQBjwoPul4VMo/Z9we4dHJBpRI07QHvsP3CM76y0XplGMwZB6z0OxoxBENmryi+Y4twJUMPWYLfYgDNHAWtFZVhLLRU5WWoml4a1Pngp5EpEeBjKLjDF3i1gcQNAdWIgTh+B8UFP795NDKzTi8poZ7f1VAY7n5fkc6xTjRYZDb78HdAt8dDa9YGx/hOwlglwzBwEFttRjdXGnJcgfljke7yUb8tkNncWrw2cC75xlprVqUYj8Ow1EHJAFwIUew9ILt9qNlGg8mX/BvvjE+DrpiqD20XUMgE4ugfi1CGwuP7A72fVCgnHfipUSfbAG6Do2kDucRirPjRtVx9EMR0Bw6HGYa3LSxCHs5QJRM06mSuiLsMhju4BX/EekHeufIBZtBRXyZey1MyrBLKwZpZJQ4Y1M4gwh8EMgxlEBILIKqyZYTCDiEAQWYU1MwxmEBEIIquwZl4mmHL3M6ISIH2yF86qZS00Hg7c8gvOyGhQbCewG24H1WsOVK0P0nR3VsEN8HWTbHrckwv84ldEoqs7pLDWTWB3DgBrdi9ItxZAIJ0v0mUoHR+GQ7kUje2L+ml35kwhsns7ZkuAbvFgMh3ag2NAMfcAMoJDRlNIYYQBGPK3Yf6W79Q3zz8HZKu788j9da90l8jjyT8vF3zHEuDIbv+qVrEKWOdhYK3vBxEz8+QeBw5sA47uNrcuhI+IEKJcCJEOEvOgYxZ1tXs7aYspvVgwqdWfoff8h3+VKMVUIu8cHG93VzuilyJq2AZarzehtkQkye2OncuBw87tZf9lPAeBj2AVr/kLasiAKTFwzHzBa7/8YlyUc/iB0SDNYmpe9ipg95pCWyr+46lSHgOJfhRv/6q4fMWCCc0CrecY0wHsOe4UxznI38X5U3C8HQ+cNQMaCgHZoju0h8aa3VqG1Wz9AsjZGSwpOIRIogT76Ev2ihLFtMsx0/VHOqA5n8n1Xi/4rtLpIM88znduHj6fNZA0XSRPJ3/hyIPYuaLobdoGt0Lv97GpkRLI9VOKThsIvIT3KT712aJYFK+ZgRReFnkjKpkRJ9F1zK69Zbb/GhlVXUXWqSAxObZ6hksWKTsbRLbkd332jhJpZlmAU8IyWHyS2kRTJMfI7JX+cZDa32kIYI0sSH/+NLB3EyDDI438ovg4oLFO1C15VaGhJqTBrNYQ+gsLzaFE7pSunuD/ZCPjlDoPg5wTCpGM5NsyB3AFVhROkY3zogX1snudaAvpbs562KG16WVWVXbvQyU8S1rtOqBOM6BiVUAGiFW4pgA2GTixYZoKSPNNbCDZkid4fgtdMC0R0F9eC6oQZQa+LpdRygGEZhMB9VsCzbqYa3ZJF3KBtROB86d84Cl2kc3e9KoAU6619T7OMO9dq4GsFf6NlcWliqoBtH8MiHBq6bGfgW99xEApPqwD2ZLXu1iGrGay7onQbn/ErEf6JODE/uJg8v97lXpAhydMM0/Syvd827eEkRSfmhLyYGr9p4M1bK2iirF4tOkfCCY1vgOQ/gi5pl/9oVdkikcxS8mW2qVkYMpVhbTJ5LiinBrcnDWVk8PH/2BWqgheary8prrp/Vnhx6mOy5HJGmWGQ14U4VfAivaSLaWR/2BaIkHt+5qC+0teAEvgXQ1gmCczPL8r75ADOL7XjPksUnDvwvXUbeaKR55BSncepfFXvmClI8ql+BS3CVDsmEkNbwPd7NbkYInhk49ys+3dUnwZxGAZucNMd/wXYP3HxecpnRQOsqW6DdViwUTNJmAuW650BHJzlUdcxI+XOPjkUb6e9J06tKAODkjz5UqQEKcowV7F/24uU0p3f62m5mqBaaZnRs50vv7Ld3JsLSnlnwf/dpq5kvGD9CHLQFXrmXs4aVfqvhaxg2z25iUD04/KeSWRYCpPkgTWBbqrATyeXWlkZgmidDj4SdqjH4K5jvMtGVt2Zzc95SPMpvjU3qULpp+ABJKMdRwE7e5nTBabP/XfUxRIoRfnZfQcdU95L+TBpAYt1WEpRQcygK1fBhMmf3hxWPVG1CXRvVoofgLyh+0VSUPQh31j+jGlQ3jZuBINE4GLLJaQzd7Vq9fnJcbkhuodcBTXH3rnoWZ95NpcrtHLigS7ixK8fZqUlxibCYjYspIhqOVIL/vgJSDpQpOTl1xDOw/EBrWci5kRPqf41IuOiACym48DMLhUCy9F5tT2L9ATnL4G6eGRPkg/V1GXJ5bYD25tSz1e9bgSwuRE51NiGmkO7AShwuUxv8K5iKD1nQjW5A5TkF82Adsvcd4nYHFFBizW+6jrq4UOYZr3ZybGDALwdsDlXCkG8tzlU5+aV09I2vkNsHttaUqzD4J1o4Rk55rWqZmuEo2kmCFcYIwACiKaSlOcYPOu0Qh6/+mgqGomZ2kubZvvvBwl2IUpfich0JMSUuUlrmY39yzmQlKzm0mIEQQeL0DuNWepiFIaTKs3hP7oR6Dq15nc5bp921d+buEWIRBhIYS4C6AoHynkhtoAsqUqV7zPRbS8tfBMatPqFgeF3AXOEU3jIhyN49yKoFsY4di+28Dz/waBVv61ofQL0mJo7A3qlpwuFqa0ASd54L22j/wCECPIZh97GR4J/8Qpj6nEvJRbwNAVRB0g1EXVNeQFQDJGDsBBEDIhaDUs+oKLJxixOKURDCyCIF9mpIDB2v9fgRloA4sFI6pCVPgCoD8V4kX0fBjMEiIsZqdYEUmTAXjeUSy7+u1hMEsIpkyubsKdbx8GiMHOFcIostkn/A8jGDgVNpVC7gAAAABJRU5ErkJggg=="},KkuB:function(e,t,n){},X2IR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("q1tI")),o=a(n("KBVR"));function a(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(){return r.default.createElement("div",{className:"handleBox"},r.default.createElement("a",{href:"https://forum.trustie.net/forums/3075/detail",target:"_blank"},r.default.createElement("img",{src:o.default,alt:""})))}},qmW9: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.ImageLayerOfCommentHOC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){return function(n){function a(e){f(this,a);var t=s(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.onDelegateClick=function(e){var n=e.target.src||e.target.getAttribute("src")||e.target.getAttribute("href"),r=e.target.innerHTML.trim();if((0,l.isImageExtension)(n.trim())||(0,l.isImageExtension)(r)||"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(a,n),o(a,[{key:"componentDidMount",value:function(){var t=this;this.props.wrappedComponentRef&&this.props.wrappedComponentRef(this.refs.wrappedComponentRef),setTimeout((function(){d(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(){d(e.parentSelector||".commentsDelegateParent","click",this.onDelegateClick)}},{key:"render",value:function(){return this.MdifHasAnchorJustScorll(),u.default.createElement(u.default.Fragment,null,u.default.createElement(i.default,r({},this.state,{onImageLayerClose:this.onImageLayerClose})),u.default.createElement(t,r({},this.props,{ref:"wrappedComponentRef"})))}}]),a}(a.Component)}};var a=n("q1tI"),u=c(a),i=c(n("Ozcj")),l=n("sYIF");function c(e){return e&&e.__esModule?e:{default:e}}function f(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}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 d=window.$},vabz: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=h(a),i=n("eO8H"),l=n("dtw8"),c=n("sYIF"),f=n("1thW"),s=n("5A3O"),p=h(n("X2IR"));n("7dqz");var d=h(n("CnBM")),g=h(n("HUFq")),m=n("qmW9");function h(e){return e&&e.__esModule?e:{default:e}}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(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 w=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(46)]).then(n.t.bind(null,"MByq",7))},loading:g.default}),v=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(44)]).then(n.t.bind(null,"9hAI",7))},loading:g.default}),E=(0,d.default)({loader:function(){return Promise.all([n.e(6),n.e(71)]).then(n.t.bind(null,"NUct",7))},loading:g.default}),b=(0,d.default)({loader:function(){return Promise.all([n.e(12),n.e(65)]).then(n.t.bind(null,"xjFL",7))},loading:g.default}),C=function(e){function t(){return A(this,t),y(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:"render",value:function(){var e=this;return u.default.createElement("div",{className:"newMain clearfix"},u.default.createElement(p.default,null),u.default.createElement(i.Switch,this.props,u.default.createElement(i.Route,{path:"/projects/:projectsType/new",render:function(t){return u.default.createElement(w,r({},e.props,t))}}),u.default.createElement(i.Route,{path:"/projects/:owner/:projectsId",render:function(t){return u.default.createElement(E,r({},e.props,t))}}),u.default.createElement(i.Route,{path:"/projects",render:function(t){return u.default.createElement(v,r({},e.props,t))}}),u.default.createElement(i.Route,{exact:!0,path:"/",render:function(t){return e.props.current_user&&e.props.current_user.login?u.default.createElement(b,r({},e.props,t)):u.default.createElement(v,r({},e.props,t))}})))}}]),t}(a.Component);t.default=(0,l.withRouter)((0,m.ImageLayerOfCommentHOC)({imgSelector:".imageLayerParent img, .imageLayerParent .imageTarget",parentSelector:".newMain"})((0,f.CNotificationHOC)()((0,c.SnackbarHOC)()((0,s.TPMIndexHOC)(C)))))}}]); \ No newline at end of file diff --git a/static/js/61.fecce608.chunk.js b/static/js/62.f0b3f284.chunk.js similarity index 99% rename from static/js/61.fecce608.chunk.js rename to static/js/62.f0b3f284.chunk.js index d4941cd86..c03739633 100644 --- a/static/js/61.fecce608.chunk.js +++ b/static/js/62.f0b3f284.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[61],{"+BVi":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,l=b(n("W9HT")),a=b(n("2/Rp")),i=b(n("5rEg")),u=b(n("Vl3Y")),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=(o=["\n {\n width: 230px;\n line-height: 30px;\n font-size: 16px;\n color: #333;\n text-align: center;\n margin-top: 30px;\n margin-bottom: 30px !important;\n }\n"],r=["\n {\n width: 230px;\n line-height: 30px;\n font-size: 16px;\n color: #333;\n text-align: center;\n margin-top: 30px;\n margin-bottom: 30px !important;\n }\n"],Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(r)}})));n("04bd"),n("L/Qf"),n("1vPl"),n("tULf");var s=n("q1tI"),p=b(s),m=b(n("t1Jf")),v=n("spEH"),y=(b(n("Kj3p")),b(n("vOnD"))),g=b(n("b7wz")),h=b(n("vDqi"));function b(e){return e&&e.__esModule?e:{default:e}}var w=y.default.p(c);t.default=u.default.create()((0,s.forwardRef)((function(e,t){var n=e.form,o=n.getFieldDecorator,r=n.validateFields,c=(n.setFieldsValue,(0,s.useState)(!0)),y=d(c,2),b=y[0],E=y[1],q=(0,s.useState)(void 0),B=d(q,2),A=B[0],x=B[1],C=(0,s.useState)(!1),j=d(C,2),R=j[0],S=j[1],W=(0,s.useState)(0),P=d(W,2),N=P[0],T=P[1],L=e.match.params.owner,F=e.user,H=e.match.params.projectsId,k=(0,s.useState)(!1),O=d(k,2),M=O[0],V=(O[1],(0,s.useState)(!1)),K=d(V,2),X=K[0],G=K[1],z=e.author&&e.author.login,I=e.current_user&&e.current_user.login;(0,s.useEffect)((function(){var e,t;I===z?(e="get",t="/"+L+"/"+H+"/ci_authorize.json",(0,h.default)({method:""+e,url:t}).then((function(e){E(!1),e&&e.data&&T(e.data.step)})).catch((function(e){E(!1),console.log(e)}))):E(!1)}),[z,I]);var Y=(0,s.useCallback)((function(e,t,n,r,l){return p.default.createElement(p.default.Fragment,null,p.default.createElement("span",{className:l?"required":""},e),p.default.createElement(u.default.Item,null,o(t,{rules:n,validateFirst:!0})(r)))}),[]);return p.default.createElement(l.default,{spinning:b},p.default.createElement("div",{className:"activatePanel"},p.default.createElement("img",{src:m.default,alt:"",width:"250px"}),p.default.createElement(w,null,"定义DevOps工作流,帮助您检测bug、发布代码…"),I!==z?p.default.createElement("div",{className:"noOperation"},"DevOps开启功能暂未对项目创建者以外的角色开放,可以联系项目创建者进行开启,开启后便可查看构建信息。"):"",p.default.createElement("a",{href:"https://forum.trustie.net/forums/3110/detail",target:"_blank",style:{color:"#5091FF"}},"了解什么是DevOps?"),p.default.createElement("a",{href:"https://forum.trustie.net/forums/3080/detail",target:"_blank",style:{color:"#5091FF"}},"如何使用DevOps?"),z===I?p.default.createElement(p.default.Fragment,null,0!==N||X?"":p.default.createElement(g.default,{sureModal:function(e){if(2===e){G(!1),E(!0);h.default.post("/users/ci/cloud_account/trustie_bind.json",{account:F&&F.login}).then((function(e){E(!1),e&&e.data&&T(e.data.step)})).catch((function(e){E(!1)}))}else G(!0)}}),0===N&&X?p.default.createElement(p.default.Fragment,null,p.default.createElement(i.default.Password,{style:{display:"none"},size:"large"}),p.default.createElement(u.default,{style:{marginTop:"20px"}},p.default.createElement("p",{className:"mb20",style:{width:"370px"}},"请仔细核对您的服务器信息,一旦确认提交将无法修改"),Y("服务器IP地址:","ip",[{required:!0,message:"请输入服务器IP地址"}],p.default.createElement(i.default,{placeholder:"请输入服务器IP地址",style:{width:"368px"},size:"large",disabled:M}),!0),Y("服务器用户名:","account",[{required:!0,message:"请输入服务器用户名"}],p.default.createElement(i.default,{placeholder:"请输入服务器用户名",size:"large",disabled:M}),!0),Y("服务器密码:","secret",[{required:!0,message:"请输入服务器密码"}],p.default.createElement(i.default.Password,{placeholder:"请输入服务器密码",size:"large",disabled:M}),!0)),p.default.createElement(v.AlignCenter,null,!M&&p.default.createElement(a.default,{className:"mr20",onClick:function(){return function(e){G(!1),T(e)}(0)}},"上一步"),p.default.createElement(v.Blueback,{onClick:function(){r((function(t,n){if(!t)if(M)T(1);else{E(!0);var o="/"+L+"/"+H+"/cloud_accounts.json";h.default.post(o,f({},n,{ip_num:n.ip})).then((function(t){E(!1),t&&t.data.redirect_url&&(e.showNotification("服务器信息配置完成!"),T(1))})).catch((function(e){console.log(e),E(!1)}))}}))}},"下一步"))):"",1===N?p.default.createElement("div",null,p.default.createElement(v.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},p.default.createElement("span",{style:{marginBottom:"42px"}},"密码:"),p.default.createElement("div",null,p.default.createElement(i.default.Password,{value:A,className:!0===R&&"flags",onChange:function(e){return x(e.target.value)},style:{width:"220px"}}),p.default.createElement("p",{className:"color-grey-9",style:{textAlign:"left",lineHeight:"21px"}},"您已保存相关服务器信息,请输入密码,",p.default.createElement("br",null),"确认授权DevOps应用"))),p.default.createElement(v.AlignCenter,{style:{justifyContent:"center"}},p.default.createElement(v.Blueback,{onClick:function(){if(A){S(!1),E(!0);h.default.get("/users/ci/oauth_grant.json",{params:{password:A}}).then((function(e){E(!1),e&&T(e.data.step)})).catch((function(e){E(!1)}))}else S(!0)},className:"mt20"},"下一步"))):"",2===N?p.default.createElement("div",{style:{textAlign:"center",marginTop:"20px"}},p.default.createElement(v.Blueback,{onClick:function(){E(!0);var t="/"+L+"/"+H+"/activate.json";h.default.post(t).then((function(t){if(E(!1),t&&0===t.data.status){e.history.push("/projects/"+L+"/"+H+"/devops/dispose");var n=e.changeOpenDevops;n&&n(!0)}})).catch((function(e){console.log(e),E(!1)}))},className:"mt20"},"开始激活")):""):""))})))},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},Gytx:function(e,t){e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),u=0;u<l.length;u++){var f=l[u];if(!i(f))return!1;var d=e[f],c=t[f];if(!1===(r=n?n.call(o,d,c,f):void 0)||void 0===r&&d!==c)return!1}return!0}},Kj3p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=c(n("kLXV")),r=c(n("W9HT")),l=c(n("5rEg")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("04bd"),n("1vPl");var i=n("q1tI"),u=c(i),f=n("spEH"),d=c(n("vDqi"));function c(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.authorityValBox,n=e.successFunc,c=e.cancelFunc,s=(0,i.useState)(void 0),p=a(s,2),m=p[0],v=p[1],y=(0,i.useState)(!1),g=a(y,2),h=g[0],b=g[1],w=(0,i.useState)(!1),E=a(w,2),q=E[0],B=E[1];return u.default.createElement(o.default,{visible:t,centered:!0,title:"授权",onCancel:function(){v(void 0),c()},onOk:function(){if(m){B(!0);d.default.get("/users/ci/oauth_grant.json",{params:{password:m}}).then((function(e){B(!1),e&&n(e.data.step)})).catch((function(e){B(!1)}))}else b(!0)}},u.default.createElement(r.default,{spinning:q},u.default.createElement("p",{style:{textAlign:"center"}},"请输入您的登录密码,确认授权DevOps应用"),u.default.createElement(f.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},u.default.createElement("span",null,"密码:"),u.default.createElement(l.default.Password,{value:m,className:!0===h&&"flags",onChange:function(e){return v(e.target.value)},style:{width:"220px"}}))))}},b7wz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=u(n("2/Rp")),r=u(n("9yH6")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf"),n("K4yd");var a=n("q1tI"),i=u(a);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.sureModal,n=(0,a.useState)(1),u=l(n,2),f=u[0],d=u[1];return i.default.createElement("div",{className:"mt30",style:{textAlign:"center"}},i.default.createElement(r.default.Group,{value:f,onChange:function(e){d(e.target.value)}},i.default.createElement(r.default,{value:1},"自有服务器"),i.default.createElement(r.default,{value:2},"Trustie服务器")),i.default.createElement("p",{className:"mt30"},i.default.createElement(o.default,{type:"primary",onClick:function(){return t(f)}},"下一步")))}},jB5C:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="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 l(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function a(e){return l(e)}function i(e){return l(e,!0)}function u(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,l=r.body,a=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=a.clientLeft||l.clientLeft||0,top:o-=a.clientTop||l.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=a(o),t.top+=i(o),t}var f=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),d=/^(top|right|bottom|left)$/,c="left";var s=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===s(e,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,l=n||r.defaultView.getComputedStyle(e,null);return l&&(o=l.getPropertyValue(t)||l[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(f.test(n)&&!d.test(t)){var o=e.style,r=o[c],l=e.runtimeStyle[c];e.runtimeStyle[c]=e.currentStyle[c],o[c]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[c]=r,e.runtimeStyle[c]=l}return""===n?"auto":n});var v=["margin","border","padding"];function y(e,t,n){var o={},r=e.style,l=void 0;for(l in t)t.hasOwnProperty(l)&&(o[l]=r[l],r[l]=t[l]);for(l in n.call(e),t)t.hasOwnProperty(l)&&(r[l]=o[l])}function g(e,t,n){var o=0,r=void 0,l=void 0,a=void 0;for(l=0;l<t.length;l++)if(r=t[l])for(a=0;a<n.length;a++){var i=void 0;i="border"===r?r+n[a]+"Width":r+n[a],o+=parseFloat(s(e,i))||0}return o}function h(e){return null!=e&&e==e.window}var b={};function w(e,t,n){if(h(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,l=(s(e),m(e)),a=0;(null==r||r<=0)&&(r=void 0,(null==(a=s(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=l?1:-1);var i=void 0!==r||l,u=r||a;if(-1===n)return i?u-g(e,["border","padding"],o):a;if(i){var f=2===n?-g(e,["border"],o):g(e,["margin"],o);return u+(1===n?0:f)}return a+g(e,v.slice(n),o)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,o=t.document,r=o.body,l=o.documentElement[n];return"CSS1Compat"===o.compatMode&&l||r&&r[n]||l}}));var E={position:"absolute",visibility:"hidden",display:"block"};function q(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,n):y(e,E,(function(){t=w.apply(void 0,n)})),t}function B(e,t,n){var o=n;if("object"!==(void 0===t?"undefined":r(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):s(e,t);for(var l in t)t.hasOwnProperty(l)&&B(e,l,t[l])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&q(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,o){if(void 0===o)return t&&q(t,e,-1);if(t){s(t);return m(t)&&(o+=g(t,["padding","border"],n)),B(t,e,o)}}})),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return u(e);!function(e,t){"static"===B(e,"position")&&(e.style.position="relative");var n=u(e),o={},r=void 0,l=void 0;for(l in t)t.hasOwnProperty(l)&&(r=parseFloat(B(e,l))||0,o[l]=r+t[l]-n[l]);B(e,o)}(e,t)},isWindow:h,each:p,css:B,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(h(e)){if(void 0===t)return a(e);window.scrollTo(t,i(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},t1Jf:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAACVCAYAAABxTueyAAAawElEQVR4Xu1dCZRU1Zn+7quqXuiNxe7qCM2igCwhYNeDOJlMQkucY4LxxCxCYjKJY6IHAqPx6IiJy4wTjTAm6oFgJGbMZBFRE7OIyYkDGCdOWLqhUdkbCF0N3V0tTa900V317pz/Ua+o7q7qrr3eq/rvOXWq+9Vd/v/77/fuvf/dBLI4NDU13eD3++9WFEWVUpZksao5r5oQolvTtFqbzfaDSZMmvZbzgAwBQGQrII2NjY8C+Ha26sd6jYjAY5MnT/4OY3QJgawkOrXkmqb9ntQcO3YsioqKoCgK2z2LEdA0Db29vejo6NC1VBTl09yyZznRT506tV0IUUMkLynhHnsW83uYat3d3TrZpZQ7pkyZcm0u6T6SrlnZorvd7i4ak0+cOJFb8hyr6dSynz59GjRmr6qqKs0x9SOqm5VEb2xslKRxVVUV2zkHEXC73brWkydPzsr6HY9JsxIIJno8VSF70jDRh9uSiZ499Zs1CSDARGeiMxlyAAEmOhM9B6o5q8hEZ6IzC3IAASY6Ez0HqjmryERnojMLcgABJjoTPQeqOavIRGeiMwtyAAEmOhM9B6o5q8hEZ6IzC3IAASY6Ez0HqjmryERnokfNgnPnzuH8+fNRx+eIyUWgrKwMxcXFcWXKRGeiR11xzp49y0SPGq3kRxw3bhwTPYmw8qaWCGDSvmYOmUNACEF7yuMSgFt0btHjqjicyFoIMNGZ6NaqsSxtXAgw0ZnocVUcTmQtBJjoTHRr1ViWNi4EmOhM9LgqDieyFgJMdCa6tWosSxsXAkx0JnpcFYcTWQsBJjoT3Vo1lqWNCwEmOhM9rorDiayFABOdiW6tGsvSxoUAE52JHlfF4UTWQoCJzkS3Vo3NMWlpf0FPT4/+8Xq9uHDhAgYGBuD3++nSRH3tu81mg8PhQH5+PgoKCvSNL/QJvS2Xic5EzzHqmF9dIndnZydot2BXV5dO6FgDvQBKS0sxYcIE0PZWumSRAt+9dgnJ+LYHxWqJNMfnu9fSDHgcxVEr7fF49I/P54sjh/BJ7Ha73toXFhZi6tSpWVm/4wErK4FgosdTFdKThlrs999/X291iexDA5GUuuJEVPo7Ly9P75bTh1p/+vT39+vd+r6+Pr2bT38PDdTKSylXuFyuTUKInN9zzERPT/3mUgB93P23v/0Nvb29g/CgMff48eNBh00QsWMNRHw6Eai9vV0f0w8Ju4UQt7hcroZY882m+Ez0bLKmiXUhIhLJQw/0IFI7nU6MHTs27kMmQlWm3kJHRwdaW1v1Vj8kdAkhvuFyuV4yMUQpFY2JHgFeqijhupYptUaWZk4kb25uDmpH3eqKigqUl5cP8pYnS316mbS1tenj/xDnHnn57ldVdW2yyrFSPkz0CNbiM+OSU41pDB16yCa14lOmTNHH4KkONIY/derUoNZdSrlu4cKF96W6bLPlz0SPYJHu7u6wTh6zGdDM8lBLTlNmRiAnG5Gc5sLTFahXRmSnF05IWJNrLTsTPV01LsfKIZKfOHEiqDXNc0+ePDklXfXRoKWufGNjY+hLRwohlufSmJ2JPlot4d9jRoC864cOHQo63qglnzp1akZIbghPZCdnYEjLTg46V65445noMVdjTjASAuT8OnLkSHAKjcbkM2bMSGt3PZJ81I0/duxY6Jh9t8vl+rtcmGdnojNvk4oAebupm0yBvOvTp09Pi+MtWiXIQdfQ0BDqjV+hquqPok1v1XhMdKtazoRyU4v57rvvBqclaY6cPmYLNM9On0BoB3CFqqqdZpMzmfIw0ZOJZo7nRXPlZ86c0VGgLvvMmTMzOi6PZA4arx89ejTYhRdCfMflcj2WzeZjomezddOoG5GHWnNjg0pVVZW+pNWsgWYFjO2sQoi2rq6uyTU1NV6zypuoXEz0RBHk9DoCodNptHZ91qxZSVnWmip4yWl4+PDh0LXxN6uq+nKqyst0vkz0TFsgS8onBxftK6dg1rH5UKhDx+pCiN+7XK4bs8Qcw9RgomerZdOoF3Xb6+vrg55sas3j2YWWRpH1omg/A7XqgeCdMGHCuGnTpmVl952Jnu7alYXl0TJXmp+mQHvIr7rqKstoSXP+xn52IcQSl8u13TLCxyAoEz0GsDhqeATI027sTqPjnCZOnGgZqOgADNrAFAgPq6r6iGWEj0FQJnoMYHHU8AjQmnZyxlGYNGmSfoiEVQIdVtHU1KSLK4R40eVyfdEqssciJxM9FrQ4blgEaF27sRX1yiuvRFFRkWWQotNujh8/bsi7T1XVassIH4OgTPQYwOKo4RF45513gtNUs2fP1o9jtkqgo6foRRUIZ1RVtc64IwaQmegxgMVRwyOwb9++4E61uXPnmmIDS7S2omW7Bw4cMKJ3q6paGm1aK8VjolvJWiaVde/evcGptXnz5pl6ocxQCGnhDK3oCwS/qqp2k8KckFhM9ITg48SEALfo5q8HTPQINqLFFKEnllI02nYZLkR6PlKaeH9LRVmJVlMeoyeKYOrTM9EjYEyXDNDe5WwNtOkkWYG97slCMnX5MNEjYEvrtkPPBh/pTrB4fosnDYkaKV2s+SWT6DyPnjqCJitnJnqykMzhfHhlnPmNz0Q3v41MLyGvdTe9icBEN7+NTC8h714zvYmY6OY3kTUk5P3o5rYTt+jmto9lpOMTZsxtKia6ue1jGemsfGYcgLbu7m4+M84ytS0gaGNjI92ciWROIVkNg0zIy6fAZgL16MrkFj06nDhWFAjwue5RgJShKEz0DAGfrcXyTS3mtCwT3Zx2saxUfPeaOU3HRDenXSwtFd+maj7zMdHNZ5OskIjvRzeXGbOV6P0AHHRQ4UjbOs1liuyTpqWlBXTKqhHonvQpU6ak9QQachCeOnUq9F50EmeNqqprsw/xyBplJdHdbvcRKeXMiooK/ZxxDplDgE5YDbm5VL/YgcheWFiYcqFomzGRfMguxHULFy68L+WFm6yArCR6Y2Mjnc39oN1uR3l5OeibQ+YQGNqyUy+LXsJkG0VRki4YLd4h77/H4wnd1ktrK+7PtZbcADcriX748OGSwsLCXUKI2VSpCgoK0tpdTHrNDZMh6ZRoq0ge8p6enuANqKmUm/b30xnqofvmqXWne9rGjh2blCEW5d3R0aH3IEJb8YBeL6mquiyVOpo576wkOgHe0NBQkZ+f/xMp5Q1mNkAistGYt6ysLK5Wkbq1RArjmuNE5Ig2LZVFW1qHlknHQ9OlD3TNcjx3thGpyflHLxI6vjlC8CuKcn11dfX/RCtvNsXLWqIbRnK73TOklKoQoiRbDCelpHOg7gFQQMMSIkm0vggiAhGcpsAC4R0AzwohfOnC5+zZs5N8Pt83AQy70oX0oBcY9VbobyI+de/pQ11y+hCx6b40ellRj8S4O22I/O0AHpBSfo7uVAv85lEU5erq6uoz6dLVLOVkPdHNAnSy5Whubp4zMDDwMwAuyrukpERv3SPNMhBBqPtMxAiEs4qiPDhx4sRNQgh/suUbLb/a2toyIQSR/S4pZflo8aP9XQjRBuApKeUPVVXt3L9/f8XAwMA+AJdTHkKIt7q6upbU1NSk7cUWreypjMdETyW6Kc5bSmlvbGx8UAhxP00nGl3g0O4vjVvp2iEieeBUW6rgP5JSPjRlypSLF6ZlMOzYsaOgpKTk00KIr0gpr6NeShzieIUQb0gpf97d3f37mpqaQVcf792792Oapm0DYHhl16qquiaOciybhIluWdNdEvzMmTOqz+ej1n02PaWWnVp4Y+xqjFuFENvsdvudH/jAB4JXk5hJ/ZMnTxa0t7d/REr5UXKkSinp/mUndVgAjAFwHkA3gFYhBE2hHhJC/GX8+PH/N9q95rW1tUTs7wVadU1KeaOqqlvNpH8qZWGipxLdNOYtpSxwu92PAbgTgGKz2UCLRQLhhBDinqqqqlfTKJKpipJSirq6utcAfMoYugCoVlW10VSCpkgYJnqKgM1Utm63e7GU8nkAU4UQPVLK71VVVX1fCHEhUzKZpdxdu3ZNsNlsewFMDsi0C8A/qKoa0VVvFtkTlYOJniiCJkzf1tZW4vV6VwL4RVVV1aU1qCaUNd0i1dXVXQPgz1LKvEA3/imXy/WtdMuR7vKY6OlGnMvLOAJ1dXXk6X8yIIgUQnze5XL9OuOCpVAAJnoKweWszYtAbW0tEfumgISdNE2pqupx80qcmGRM9MTw49QWRYDm8QHUAbgyoMLesrKyj8yYMSMrfRlMdItWVBY7cQRqa2urAbwdMnf/I1VVVySes/lyYKKbzyYsURoRqK2tJWJvNIpUFOVL1dXVm9MoQlqKYqKnBWYuxMwI7NmzZ7MQYnlARlqQs0hV1cNmljlW2ZjosSLG8bMOgffee6/Y6/XWAqCVeBTeBXCNqqq0Ei8rAhM9K8zISiSKQG1t7TwAOwNLbWnzyyaXy3VHovmaJT0T3SyWYDkyjkBdXd2tUsr/IkFoVaHL5cqarc1M9IxXLxbATAjs2bNnnaIoKzRNe3rhwoUPmEm2RGRhoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCQNREn7NjZbGEslRKXAuJ+RK4QgClpKcEugRwAgL7hcB2AW3rwZqNPRbBIGvFlHPmFPc7HEulENdKYD6G2AzACQHsF1JuzxsY2CoOHmSbZbg2eDyeYgBLpZTXSil1myHAMwBdus2E2C+E2A5ga0VFRVQ2G5Xoc/+4crrmsN0nIb8IoChKHHoFxGZlwL/2wPUbG6JMw9GShIC3unq61LT7BPBFGaXNBNArgc1CUdYW7N3LNkuSLaLNxuPxTNc07T4AMfEMwGZFUdZWVFSMaLOIRJ/++up8R4F8REpxFyDzohV4cDzRL4R8asArHmr41PqsvI42PlxSk0pOn55/obj4EQB3SSAumwmgH8BT+T09D4mGBrZZakwVzFVKme/xeB6RUt6FOG0GoF8I8VRFRcVDQoiwNgtL9Dk7VlZqfuVVCFwTqudVxRPxj+UL4Bp7Ba4Y40SZ42ID3znQixPnW1HXcQJ/aqvHkZ7Tg+GR2KnYtJsO1mxsSTFuOZt9z5w5lTaH41UIMchmYuZM2JYsgXL11RDTpkGU0bXggOzshDx5Etq+ffBv2wZ59OgQm8md/oGBm4oPHmSbpahWeTyeSk3TXqV73kKLsNvtKCgogMPhAP0txEWaSinh8/kwMDAAr9er/z0k7FQU5aaKiophNhtG9Fl/XjVP+rFVSFQZmcwtqcI90z+Da8bNjErlneeO4omG3+BAt/vSm0vALWxYevjjG+gCOw5JROCCyzVP8/m2QoigzZQ5c2C/804oixZFVZK2ezd8Tz8N7eDBS/GldCt2+9L8ujq2WVQoRh+pvb19Xn9//1bgEs+I2MXFxcjLi64z1t/fj56eHp34IcGdl5e3dPz48YNsNojo1JL7pbLbILldKFgz43P40sR/CL5VolWF3j4vnP5fPH7sV/BJ7eIbScBtE9oibtmjRXH0eIGWfHeQ5HY7HPfcA9vNN9MFYqNnEBpDSvhfegkDTzwBGK2FlG7/wMAibtljg3Kk2IGWfHcoyUtKSjBmzJi4Cjl//jy6u+m252BwK4qyKLRlD9YEGpPb8+SbRne91D4G6+d9HYvGzYircCPR7nPHsPrd59DlC9xAK7HT1y8W85g9IVgvvjinT8/3FhW9Geyul5Yi74knoCxcmFDm2p496L/nHqCLnLx6n3FnQW/vYh6zJwRrAEqZ39ra+qbRXadu+dixY6NuxSNJQK17R0eH3r0PhJ1Op3OxMWYPEn329lVrpcS/UiRqyX+yYFXCJA8l+231G4ItuxBYd+jaDeRh5JAAAt4FC9ZKXLQZ7HbkbdyYMMkNcXSyr1wZbNkFsK6gvp5tloC9KGlra+taKeVFmwEYN25cwiQ38iKynzt3LiihEGKd0+nUbaYTnabQ/A7bAcO7/sDML+CWSR9LUKXByX/Z9Ba+e/TlwEPRbxvwz+Wpt/ghpik0aNoBw7vuWLMGtmXL4s8wTEr/li0YePxx/RfdG68oc3nqLX6IA1NoBwzveiLd9UhSDOnG9yuKMpem3nSiz962+scS8us66Uuq8LJ6b8xj8tHUpy7FF2r/M+igExDPHVqy/hujpePfwyPQt2DBjwHoNiPHW94vfhH7mHw0cKVE/5e/HOqge66wvp5tNhpuEX5vaWkJ2owcb+PHj48zp5GTtbe3hzronqusrPyGoBVvmqaQO16fK3v+6tVRe9djlZK88bfuW28k61UUrZJX0MWKIkAr3i7k5bUYi2Hynn02au96rKWRN77/jjuMVr03v7+/klfQxYoiQCveNE0L8iyZXfah0gzpwvcqilIpZu9YtUxqeJEi0zz5bxatiV2LGFJ8ZvfjwXl2oWD5oZoNW2JIzlEBXJg/f5kmhG4zmifP3xIZwv5bbwX6++FYvx4iXAvi92PgkUegvf028l54AaKiYhjGF5YtC86zK1Iuz9+/n20WY030eDzLNE3TbUZz4xMmTIgxh9iinz17NjjPrijKcjFr+6pnIXE7ZbN62lKsnHZ9bDmGid3Q24Kv12/A9RXVWDPjs4NibDz5R6w/SdOH+sBv0+FrN1xsLjhEjYB3wYJnJS7azL5iBey363+GDf233KJ3vZUrr4Rj06bBZCeSP/gg/H/4A1BUhPxf/zos0X2bNsH3zDMBk2FTQX092yxqa12M2Nra+qyUUjcUzZUXFUW7mjzGggLRe3t79Tl2nWZCbBKztq3aCeDD9OCnV6/Gh6NcFBOp+LYLnVhe9wOc8bZj+cSP4uGrBjuIdp07iq9d6r7vOrxkw6BVQfGplVup+hYsCNosb9OmET3tksZrt98O7fjxwWQfQnLdY/+hD4UFUvfAX3qZ7Cqsr2ebxVjlWlpagjZLZbfdEGtI932XuGrbKo8AyinCW3//XZTnX1wiGU8477+Ar+x9Gge73VhQNk1/ceQrjkFZ0YvgY28/oD+TQNuRJRuG9xXjKTyH0vQtWOBBwGb5b7wBcdllI2o/jOzPPAPfk08GW/KRSK7b6f33ceG664wy2grr69lmMda3lpaWoM3Ky8uhKEqMOcQWXdM0tLW1BW1GLboXQD492b/4SeQp9kE5/sGzF5qUWOp0jViSX2r45jub8OezBzClsByb1bsxzkE77gaHfs2H+W9+S39og6Jt/+B36jVNE6S4lFLQAoKRvgO5GfP/Yb/1TACkKt9o5DT0iEXeaPMtXbq0CD6frmPB7t2AY/DLNJyhQsmOwkKgr0/vro9Gcj0vWlttLKW12fxdr7/+tqEXYRwI9EhIKV+vrKx8NFSGtra2G/x+/8NGGopv2CaQhnQxzPZbp9P5UGj61tbWm6SUjxkRwqShco08XnE6ncF5asqnubn5ZkVRvh8Sx5A1WK7xG4AXKysr/yW0/JaWli8JIX44Urkhuv3c6XQOGtp4PJ6vapr2vDGdXVFRkfRZraE2p1kuj4feLXq4MCrRF751L3p8Xtw7/TP458lLIpL9345swZbTf9HJ/aJ6NyYX6p2EYSGU6A5hwxtz7o+YJ/8QHoHSG26ACCxRjZbolJPeMt9440WSA3A8+SRsixePDnMI0aXdjq7XXouYRgjxU6fTeWtohEBF/+noBelsz/r0GSH6aF333zTvwrcP/RISEvfP+Cz+qapmmL1+fOoN/OD47/Ru+n9fvRrzy6ZFtGlo173MNga/nXV3NPbnOCEIlC5bBtHZqT+JpuuuRwwdkwfyCuugC4N0aNddlpWhawQvfziiNjc3f5WeR2PEXEifqa77qM64V878FQ8d3qyT/YGZn8ctkz4etNnW1jrce4BsKPD0vNtwXTkdihE5hDrjCoTjnT998P6vBWLri3TlpcW6Yf93OBySHA15eXn690j/j5Tf0HLy8/Mlbf0rKCiQfX19g76HPo8mXyP/oqIiSd5P47u4uFh2dXWhpKQk+N3Z2YnS0tJB+hrpNU0b9Jz+L/vkJ3dASn1B+2jOuGEkLyqC49FH4V+/friDLoLZBjnjxox579wrr3yTTGW320lMY3E1fdPH43Q6j4dm1dTUNEFRFHr7S7JXaJrA30Ed7XZ7+2WXXTZon/Px48fLSktLKw27D01j/E827Ovr67n88svfDy3/zJkzY/Ly8saFS2fIQt9kI6/X6x16aouU0nHu3LkxFIfwD7WN0+nU9W5qaqLpLDl16lSfEGLQ/lEaFng8nr9KKXWnd0accdFOr205/Tb+/ciLuiXJk04e9dqOBtxW/0NQd5ym0b4aprUfWnd4ei2adm3kOLFMrw1qyUPG5BG98WGK5um1xG2W8em1WBbMvND0Fv7j6Mv6AvkVU68HrV/v9J3HV6oW49szPhcVGrxgJiqYRowUy4KZgYcfhv93vwvreNPJfscd0BoaLk69/exnEGG2SvKCmcRtlvEFM7Eugf25+008duxXQc0/Uf4hPP3B26CI0acLeAls4hVGHzbEsAT2wic+Aen1RvSuB8l+/DjyX3kF4go6i/BS4CWwybFZxpfAkhqxbmp53r0d6469ivmlU/W58gLb6Cdi8KaW5FQYI5doN7XIwBRLuKWtRl7y/HmgpWUYycGbWpJqtIxuaiFN4tmm2tDbjIkFE1AYBcmpDN6mmtQ6A96mmlw805Fbxrep6q06HzyRDlsntQw+eCKpcKYls4wePEEa8lFSabFzUgvho6SSCmdaMqPjnTN6lBRpyYdDpsXWSS2ED4dMKpxpySyjh0MaGvJxz2mxdVIL4eOekwpnWjLL6HHPhoZ8gUNabJ3UQvgCh6TCmZbMMnqBg6EhX8mUFlsntRC+kimpcKYls4xeyRSqIV+ymBZ7J7UQvmQxqXCmJbOMXbI4VDu+Njkt9k5qIXxtclLhTEtmqbo2+f8Bl3T3cvlgJ1sAAAAASUVORK5CYII="},zt9T:function(e,t,n){"use strict";var o=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,l=n.onlyScrollIfNeeded,a=n.alignWithTop,i=n.alignWithLeft,u=n.offsetTop||0,f=n.offsetLeft||0,d=n.offsetBottom||0,c=n.offsetRight||0;r=void 0===r||r;var s=o.isWindow(t),p=o.offset(e),m=o.outerHeight(e),v=o.outerWidth(e),y=void 0,g=void 0,h=void 0,b=void 0,w=void 0,E=void 0,q=void 0,B=void 0,A=void 0,x=void 0;s?(q=t,x=o.height(q),A=o.width(q),B={left:o.scrollLeft(q),top:o.scrollTop(q)},w={left:p.left-B.left-f,top:p.top-B.top-u},E={left:p.left+v-(B.left+A)+c,top:p.top+m-(B.top+x)+d},b=B):(y=o.offset(t),g=t.clientHeight,h=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},w={left:p.left-(y.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-f,top:p.top-(y.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-u},E={left:p.left+v-(y.left+h+(parseFloat(o.css(t,"borderRightWidth"))||0))+c,top:p.top+m-(y.top+g+(parseFloat(o.css(t,"borderBottomWidth"))||0))+d}),w.top<0||E.top>0?!0===a?o.scrollTop(t,b.top+w.top):!1===a?o.scrollTop(t,b.top+E.top):w.top<0?o.scrollTop(t,b.top+w.top):o.scrollTop(t,b.top+E.top):l||((a=void 0===a||!!a)?o.scrollTop(t,b.top+w.top):o.scrollTop(t,b.top+E.top)),r&&(w.left<0||E.left>0?!0===i?o.scrollLeft(t,b.left+w.left):!1===i?o.scrollLeft(t,b.left+E.left):w.left<0?o.scrollLeft(t,b.left+w.left):o.scrollLeft(t,b.left+E.left):l||((i=void 0===i||!!i)?o.scrollLeft(t,b.left+w.left):o.scrollLeft(t,b.left+E.left)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[62],{"+BVi":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,l=b(n("W9HT")),a=b(n("2/Rp")),i=b(n("5rEg")),u=b(n("Vl3Y")),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},d=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=(o=["\n {\n width: 230px;\n line-height: 30px;\n font-size: 16px;\n color: #333;\n text-align: center;\n margin-top: 30px;\n margin-bottom: 30px !important;\n }\n"],r=["\n {\n width: 230px;\n line-height: 30px;\n font-size: 16px;\n color: #333;\n text-align: center;\n margin-top: 30px;\n margin-bottom: 30px !important;\n }\n"],Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(r)}})));n("04bd"),n("L/Qf"),n("1vPl"),n("tULf");var s=n("q1tI"),p=b(s),m=b(n("t1Jf")),v=n("spEH"),y=(b(n("Kj3p")),b(n("vOnD"))),g=b(n("b7wz")),h=b(n("vDqi"));function b(e){return e&&e.__esModule?e:{default:e}}var w=y.default.p(c);t.default=u.default.create()((0,s.forwardRef)((function(e,t){var n=e.form,o=n.getFieldDecorator,r=n.validateFields,c=(n.setFieldsValue,(0,s.useState)(!0)),y=d(c,2),b=y[0],E=y[1],q=(0,s.useState)(void 0),B=d(q,2),A=B[0],x=B[1],C=(0,s.useState)(!1),j=d(C,2),R=j[0],S=j[1],W=(0,s.useState)(0),P=d(W,2),N=P[0],T=P[1],L=e.match.params.owner,F=e.user,H=e.match.params.projectsId,k=(0,s.useState)(!1),O=d(k,2),M=O[0],V=(O[1],(0,s.useState)(!1)),K=d(V,2),X=K[0],G=K[1],z=e.author&&e.author.login,I=e.current_user&&e.current_user.login;(0,s.useEffect)((function(){var e,t;I===z?(e="get",t="/"+L+"/"+H+"/ci_authorize.json",(0,h.default)({method:""+e,url:t}).then((function(e){E(!1),e&&e.data&&T(e.data.step)})).catch((function(e){E(!1),console.log(e)}))):E(!1)}),[z,I]);var Y=(0,s.useCallback)((function(e,t,n,r,l){return p.default.createElement(p.default.Fragment,null,p.default.createElement("span",{className:l?"required":""},e),p.default.createElement(u.default.Item,null,o(t,{rules:n,validateFirst:!0})(r)))}),[]);return p.default.createElement(l.default,{spinning:b},p.default.createElement("div",{className:"activatePanel"},p.default.createElement("img",{src:m.default,alt:"",width:"250px"}),p.default.createElement(w,null,"定义DevOps工作流,帮助您检测bug、发布代码…"),I!==z?p.default.createElement("div",{className:"noOperation"},"DevOps开启功能暂未对项目创建者以外的角色开放,可以联系项目创建者进行开启,开启后便可查看构建信息。"):"",p.default.createElement("a",{href:"https://forum.trustie.net/forums/3110/detail",target:"_blank",style:{color:"#5091FF"}},"了解什么是DevOps?"),p.default.createElement("a",{href:"https://forum.trustie.net/forums/3080/detail",target:"_blank",style:{color:"#5091FF"}},"如何使用DevOps?"),z===I?p.default.createElement(p.default.Fragment,null,0!==N||X?"":p.default.createElement(g.default,{sureModal:function(e){if(2===e){G(!1),E(!0);h.default.post("/users/ci/cloud_account/trustie_bind.json",{account:F&&F.login}).then((function(e){E(!1),e&&e.data&&T(e.data.step)})).catch((function(e){E(!1)}))}else G(!0)}}),0===N&&X?p.default.createElement(p.default.Fragment,null,p.default.createElement(i.default.Password,{style:{display:"none"},size:"large"}),p.default.createElement(u.default,{style:{marginTop:"20px"}},p.default.createElement("p",{className:"mb20",style:{width:"370px"}},"请仔细核对您的服务器信息,一旦确认提交将无法修改"),Y("服务器IP地址:","ip",[{required:!0,message:"请输入服务器IP地址"}],p.default.createElement(i.default,{placeholder:"请输入服务器IP地址",style:{width:"368px"},size:"large",disabled:M}),!0),Y("服务器用户名:","account",[{required:!0,message:"请输入服务器用户名"}],p.default.createElement(i.default,{placeholder:"请输入服务器用户名",size:"large",disabled:M}),!0),Y("服务器密码:","secret",[{required:!0,message:"请输入服务器密码"}],p.default.createElement(i.default.Password,{placeholder:"请输入服务器密码",size:"large",disabled:M}),!0)),p.default.createElement(v.AlignCenter,null,!M&&p.default.createElement(a.default,{className:"mr20",onClick:function(){return function(e){G(!1),T(e)}(0)}},"上一步"),p.default.createElement(v.Blueback,{onClick:function(){r((function(t,n){if(!t)if(M)T(1);else{E(!0);var o="/"+L+"/"+H+"/cloud_accounts.json";h.default.post(o,f({},n,{ip_num:n.ip})).then((function(t){E(!1),t&&t.data.redirect_url&&(e.showNotification("服务器信息配置完成!"),T(1))})).catch((function(e){console.log(e),E(!1)}))}}))}},"下一步"))):"",1===N?p.default.createElement("div",null,p.default.createElement(v.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},p.default.createElement("span",{style:{marginBottom:"42px"}},"密码:"),p.default.createElement("div",null,p.default.createElement(i.default.Password,{value:A,className:!0===R&&"flags",onChange:function(e){return x(e.target.value)},style:{width:"220px"}}),p.default.createElement("p",{className:"color-grey-9",style:{textAlign:"left",lineHeight:"21px"}},"您已保存相关服务器信息,请输入密码,",p.default.createElement("br",null),"确认授权DevOps应用"))),p.default.createElement(v.AlignCenter,{style:{justifyContent:"center"}},p.default.createElement(v.Blueback,{onClick:function(){if(A){S(!1),E(!0);h.default.get("/users/ci/oauth_grant.json",{params:{password:A}}).then((function(e){E(!1),e&&T(e.data.step)})).catch((function(e){E(!1)}))}else S(!0)},className:"mt20"},"下一步"))):"",2===N?p.default.createElement("div",{style:{textAlign:"center",marginTop:"20px"}},p.default.createElement(v.Blueback,{onClick:function(){E(!0);var t="/"+L+"/"+H+"/activate.json";h.default.post(t).then((function(t){if(E(!1),t&&0===t.data.status){e.history.push("/projects/"+L+"/"+H+"/devops/dispose");var n=e.changeOpenDevops;n&&n(!0)}})).catch((function(e){console.log(e),E(!1)}))},className:"mt20"},"开始激活")):""):""))})))},"9Do8":function(e,t,n){"use strict";e.exports=n("zt9T")},Gytx:function(e,t){e.exports=function(e,t,n,o){var r=n?n.call(o,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),u=0;u<l.length;u++){var f=l[u];if(!i(f))return!1;var d=e[f],c=t[f];if(!1===(r=n?n.call(o,d,c,f):void 0)||void 0===r&&d!==c)return!1}return!0}},Kj3p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=c(n("kLXV")),r=c(n("W9HT")),l=c(n("5rEg")),a=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("04bd"),n("1vPl");var i=n("q1tI"),u=c(i),f=n("spEH"),d=c(n("vDqi"));function c(e){return e&&e.__esModule?e:{default:e}}n("KkuB"),t.default=function(e){var t=e.authorityValBox,n=e.successFunc,c=e.cancelFunc,s=(0,i.useState)(void 0),p=a(s,2),m=p[0],v=p[1],y=(0,i.useState)(!1),g=a(y,2),h=g[0],b=g[1],w=(0,i.useState)(!1),E=a(w,2),q=E[0],B=E[1];return u.default.createElement(o.default,{visible:t,centered:!0,title:"授权",onCancel:function(){v(void 0),c()},onOk:function(){if(m){B(!0);d.default.get("/users/ci/oauth_grant.json",{params:{password:m}}).then((function(e){B(!1),e&&n(e.data.step)})).catch((function(e){B(!1)}))}else b(!0)}},u.default.createElement(r.default,{spinning:q},u.default.createElement("p",{style:{textAlign:"center"}},"请输入您的登录密码,确认授权DevOps应用"),u.default.createElement(f.AlignCenter,{style:{justifyContent:"center",marginTop:"20px"}},u.default.createElement("span",null,"密码:"),u.default.createElement(l.default.Password,{value:m,className:!0===h&&"flags",onChange:function(e){return v(e.target.value)},style:{width:"220px"}}))))}},b7wz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=u(n("2/Rp")),r=u(n("9yH6")),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,l=void 0;try{for(var a,i=e[Symbol.iterator]();!(o=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);o=!0);}catch(e){r=!0,l=e}finally{try{!o&&i.return&&i.return()}finally{if(r)throw l}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf"),n("K4yd");var a=n("q1tI"),i=u(a);function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.sureModal,n=(0,a.useState)(1),u=l(n,2),f=u[0],d=u[1];return i.default.createElement("div",{className:"mt30",style:{textAlign:"center"}},i.default.createElement(r.default.Group,{value:f,onChange:function(e){d(e.target.value)}},i.default.createElement(r.default,{value:1},"自有服务器"),i.default.createElement(r.default,{value:2},"Trustie服务器")),i.default.createElement("p",{className:"mt30"},i.default.createElement(o.default,{type:"primary",onClick:function(){return t(f)}},"下一步")))}},jB5C:function(e,t,n){"use strict";var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="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 l(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],o="scroll"+(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}function a(e){return l(e)}function i(e){return l(e,!0)}function u(e){var t=function(e){var t,n=void 0,o=void 0,r=e.ownerDocument,l=r.body,a=r&&r.documentElement;return n=(t=e.getBoundingClientRect()).left,o=t.top,{left:n-=a.clientLeft||l.clientLeft||0,top:o-=a.clientTop||l.clientTop||0}}(e),n=e.ownerDocument,o=n.defaultView||n.parentWindow;return t.left+=a(o),t.top+=i(o),t}var f=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),d=/^(top|right|bottom|left)$/,c="left";var s=void 0;function p(e,t){for(var n=0;n<e.length;n++)t(e[n])}function m(e){return"border-box"===s(e,"boxSizing")}"undefined"!=typeof window&&(s=window.getComputedStyle?function(e,t,n){var o="",r=e.ownerDocument,l=n||r.defaultView.getComputedStyle(e,null);return l&&(o=l.getPropertyValue(t)||l[t]),o}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(f.test(n)&&!d.test(t)){var o=e.style,r=o[c],l=e.runtimeStyle[c];e.runtimeStyle[c]=e.currentStyle[c],o[c]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[c]=r,e.runtimeStyle[c]=l}return""===n?"auto":n});var v=["margin","border","padding"];function y(e,t,n){var o={},r=e.style,l=void 0;for(l in t)t.hasOwnProperty(l)&&(o[l]=r[l],r[l]=t[l]);for(l in n.call(e),t)t.hasOwnProperty(l)&&(r[l]=o[l])}function g(e,t,n){var o=0,r=void 0,l=void 0,a=void 0;for(l=0;l<t.length;l++)if(r=t[l])for(a=0;a<n.length;a++){var i=void 0;i="border"===r?r+n[a]+"Width":r+n[a],o+=parseFloat(s(e,i))||0}return o}function h(e){return null!=e&&e==e.window}var b={};function w(e,t,n){if(h(e))return"width"===t?b.viewportWidth(e):b.viewportHeight(e);if(9===e.nodeType)return"width"===t?b.docWidth(e):b.docHeight(e);var o="width"===t?["Left","Right"]:["Top","Bottom"],r="width"===t?e.offsetWidth:e.offsetHeight,l=(s(e),m(e)),a=0;(null==r||r<=0)&&(r=void 0,(null==(a=s(e,t))||Number(a)<0)&&(a=e.style[t]||0),a=parseFloat(a)||0),void 0===n&&(n=l?1:-1);var i=void 0!==r||l,u=r||a;if(-1===n)return i?u-g(e,["border","padding"],o):a;if(i){var f=2===n?-g(e,["border"],o):g(e,["margin"],o);return u+(1===n?0:f)}return a+g(e,v.slice(n),o)}p(["Width","Height"],(function(e){b["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],b["viewport"+e](n))},b["viewport"+e]=function(t){var n="client"+e,o=t.document,r=o.body,l=o.documentElement[n];return"CSS1Compat"===o.compatMode&&l||r&&r[n]||l}}));var E={position:"absolute",visibility:"hidden",display:"block"};function q(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=w.apply(void 0,n):y(e,E,(function(){t=w.apply(void 0,n)})),t}function B(e,t,n){var o=n;if("object"!==(void 0===t?"undefined":r(t)))return void 0!==o?("number"==typeof o&&(o+="px"),void(e.style[t]=o)):s(e,t);for(var l in t)t.hasOwnProperty(l)&&B(e,l,t[l])}p(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);b["outer"+t]=function(t,n){return t&&q(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];b[e]=function(t,o){if(void 0===o)return t&&q(t,e,-1);if(t){s(t);return m(t)&&(o+=g(t,["padding","border"],n)),B(t,e,o)}}})),e.exports=o({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return u(e);!function(e,t){"static"===B(e,"position")&&(e.style.position="relative");var n=u(e),o={},r=void 0,l=void 0;for(l in t)t.hasOwnProperty(l)&&(r=parseFloat(B(e,l))||0,o[l]=r+t[l]-n[l]);B(e,o)}(e,t)},isWindow:h,each:p,css:B,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(h(e)){if(void 0===t)return a(e);window.scrollTo(t,i(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(h(e)){if(void 0===t)return i(e);window.scrollTo(a(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},b)},t1Jf:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAACVCAYAAABxTueyAAAawElEQVR4Xu1dCZRU1Zn+7quqXuiNxe7qCM2igCwhYNeDOJlMQkucY4LxxCxCYjKJY6IHAqPx6IiJy4wTjTAm6oFgJGbMZBFRE7OIyYkDGCdOWLqhUdkbCF0N3V0tTa900V317pz/Ua+o7q7qrr3eq/rvOXWq+9Vd/v/77/fuvf/dBLI4NDU13eD3++9WFEWVUpZksao5r5oQolvTtFqbzfaDSZMmvZbzgAwBQGQrII2NjY8C+Ha26sd6jYjAY5MnT/4OY3QJgawkOrXkmqb9ntQcO3YsioqKoCgK2z2LEdA0Db29vejo6NC1VBTl09yyZznRT506tV0IUUMkLynhHnsW83uYat3d3TrZpZQ7pkyZcm0u6T6SrlnZorvd7i4ak0+cOJFb8hyr6dSynz59GjRmr6qqKs0x9SOqm5VEb2xslKRxVVUV2zkHEXC73brWkydPzsr6HY9JsxIIJno8VSF70jDRh9uSiZ499Zs1CSDARGeiMxlyAAEmOhM9B6o5q8hEZ6IzC3IAASY6Ez0HqjmryERnojMLcgABJjoTPQeqOavIRGeiMwtyAAEmOhM9B6o5q8hEZ6IzC3IAASY6Ez0HqjmryERnokfNgnPnzuH8+fNRx+eIyUWgrKwMxcXFcWXKRGeiR11xzp49y0SPGq3kRxw3bhwTPYmw8qaWCGDSvmYOmUNACEF7yuMSgFt0btHjqjicyFoIMNGZ6NaqsSxtXAgw0ZnocVUcTmQtBJjoTHRr1ViWNi4EmOhM9LgqDieyFgJMdCa6tWosSxsXAkx0JnpcFYcTWQsBJjoT3Vo1lqWNCwEmOhM9rorDiayFABOdiW6tGsvSxoUAE52JHlfF4UTWQoCJzkS3Vo3NMWlpf0FPT4/+8Xq9uHDhAgYGBuD3++nSRH3tu81mg8PhQH5+PgoKCvSNL/QJvS2Xic5EzzHqmF9dIndnZydot2BXV5dO6FgDvQBKS0sxYcIE0PZWumSRAt+9dgnJ+LYHxWqJNMfnu9fSDHgcxVEr7fF49I/P54sjh/BJ7Ha73toXFhZi6tSpWVm/4wErK4FgosdTFdKThlrs999/X291iexDA5GUuuJEVPo7Ly9P75bTh1p/+vT39+vd+r6+Pr2bT38PDdTKSylXuFyuTUKInN9zzERPT/3mUgB93P23v/0Nvb29g/CgMff48eNBh00QsWMNRHw6Eai9vV0f0w8Ju4UQt7hcroZY882m+Ez0bLKmiXUhIhLJQw/0IFI7nU6MHTs27kMmQlWm3kJHRwdaW1v1Vj8kdAkhvuFyuV4yMUQpFY2JHgFeqijhupYptUaWZk4kb25uDmpH3eqKigqUl5cP8pYnS316mbS1tenj/xDnHnn57ldVdW2yyrFSPkz0CNbiM+OSU41pDB16yCa14lOmTNHH4KkONIY/derUoNZdSrlu4cKF96W6bLPlz0SPYJHu7u6wTh6zGdDM8lBLTlNmRiAnG5Gc5sLTFahXRmSnF05IWJNrLTsTPV01LsfKIZKfOHEiqDXNc0+ePDklXfXRoKWufGNjY+hLRwohlufSmJ2JPlot4d9jRoC864cOHQo63qglnzp1akZIbghPZCdnYEjLTg46V65445noMVdjTjASAuT8OnLkSHAKjcbkM2bMSGt3PZJ81I0/duxY6Jh9t8vl+rtcmGdnojNvk4oAebupm0yBvOvTp09Pi+MtWiXIQdfQ0BDqjV+hquqPok1v1XhMdKtazoRyU4v57rvvBqclaY6cPmYLNM9On0BoB3CFqqqdZpMzmfIw0ZOJZo7nRXPlZ86c0VGgLvvMmTMzOi6PZA4arx89ejTYhRdCfMflcj2WzeZjomezddOoG5GHWnNjg0pVVZW+pNWsgWYFjO2sQoi2rq6uyTU1NV6zypuoXEz0RBHk9DoCodNptHZ91qxZSVnWmip4yWl4+PDh0LXxN6uq+nKqyst0vkz0TFsgS8onBxftK6dg1rH5UKhDx+pCiN+7XK4bs8Qcw9RgomerZdOoF3Xb6+vrg55sas3j2YWWRpH1omg/A7XqgeCdMGHCuGnTpmVl952Jnu7alYXl0TJXmp+mQHvIr7rqKstoSXP+xn52IcQSl8u13TLCxyAoEz0GsDhqeATI027sTqPjnCZOnGgZqOgADNrAFAgPq6r6iGWEj0FQJnoMYHHU8AjQmnZyxlGYNGmSfoiEVQIdVtHU1KSLK4R40eVyfdEqssciJxM9FrQ4blgEaF27sRX1yiuvRFFRkWWQotNujh8/bsi7T1XVassIH4OgTPQYwOKo4RF45513gtNUs2fP1o9jtkqgo6foRRUIZ1RVtc64IwaQmegxgMVRwyOwb9++4E61uXPnmmIDS7S2omW7Bw4cMKJ3q6paGm1aK8VjolvJWiaVde/evcGptXnz5pl6ocxQCGnhDK3oCwS/qqp2k8KckFhM9ITg48SEALfo5q8HTPQINqLFFKEnllI02nYZLkR6PlKaeH9LRVmJVlMeoyeKYOrTM9EjYEyXDNDe5WwNtOkkWYG97slCMnX5MNEjYEvrtkPPBh/pTrB4fosnDYkaKV2s+SWT6DyPnjqCJitnJnqykMzhfHhlnPmNz0Q3v41MLyGvdTe9icBEN7+NTC8h714zvYmY6OY3kTUk5P3o5rYTt+jmto9lpOMTZsxtKia6ue1jGemsfGYcgLbu7m4+M84ytS0gaGNjI92ciWROIVkNg0zIy6fAZgL16MrkFj06nDhWFAjwue5RgJShKEz0DAGfrcXyTS3mtCwT3Zx2saxUfPeaOU3HRDenXSwtFd+maj7zMdHNZ5OskIjvRzeXGbOV6P0AHHRQ4UjbOs1liuyTpqWlBXTKqhHonvQpU6ak9QQachCeOnUq9F50EmeNqqprsw/xyBplJdHdbvcRKeXMiooK/ZxxDplDgE5YDbm5VL/YgcheWFiYcqFomzGRfMguxHULFy68L+WFm6yArCR6Y2Mjnc39oN1uR3l5OeibQ+YQGNqyUy+LXsJkG0VRki4YLd4h77/H4wnd1ktrK+7PtZbcADcriX748OGSwsLCXUKI2VSpCgoK0tpdTHrNDZMh6ZRoq0ge8p6enuANqKmUm/b30xnqofvmqXWne9rGjh2blCEW5d3R0aH3IEJb8YBeL6mquiyVOpo576wkOgHe0NBQkZ+f/xMp5Q1mNkAistGYt6ysLK5Wkbq1RArjmuNE5Ig2LZVFW1qHlknHQ9OlD3TNcjx3thGpyflHLxI6vjlC8CuKcn11dfX/RCtvNsXLWqIbRnK73TOklKoQoiRbDCelpHOg7gFQQMMSIkm0vggiAhGcpsAC4R0AzwohfOnC5+zZs5N8Pt83AQy70oX0oBcY9VbobyI+de/pQ11y+hCx6b40ellRj8S4O22I/O0AHpBSfo7uVAv85lEU5erq6uoz6dLVLOVkPdHNAnSy5Whubp4zMDDwMwAuyrukpERv3SPNMhBBqPtMxAiEs4qiPDhx4sRNQgh/suUbLb/a2toyIQSR/S4pZflo8aP9XQjRBuApKeUPVVXt3L9/f8XAwMA+AJdTHkKIt7q6upbU1NSk7cUWreypjMdETyW6Kc5bSmlvbGx8UAhxP00nGl3g0O4vjVvp2iEieeBUW6rgP5JSPjRlypSLF6ZlMOzYsaOgpKTk00KIr0gpr6NeShzieIUQb0gpf97d3f37mpqaQVcf792792Oapm0DYHhl16qquiaOciybhIluWdNdEvzMmTOqz+ej1n02PaWWnVp4Y+xqjFuFENvsdvudH/jAB4JXk5hJ/ZMnTxa0t7d/REr5UXKkSinp/mUndVgAjAFwHkA3gFYhBE2hHhJC/GX8+PH/N9q95rW1tUTs7wVadU1KeaOqqlvNpH8qZWGipxLdNOYtpSxwu92PAbgTgGKz2UCLRQLhhBDinqqqqlfTKJKpipJSirq6utcAfMoYugCoVlW10VSCpkgYJnqKgM1Utm63e7GU8nkAU4UQPVLK71VVVX1fCHEhUzKZpdxdu3ZNsNlsewFMDsi0C8A/qKoa0VVvFtkTlYOJniiCJkzf1tZW4vV6VwL4RVVV1aU1qCaUNd0i1dXVXQPgz1LKvEA3/imXy/WtdMuR7vKY6OlGnMvLOAJ1dXXk6X8yIIgUQnze5XL9OuOCpVAAJnoKweWszYtAbW0tEfumgISdNE2pqupx80qcmGRM9MTw49QWRYDm8QHUAbgyoMLesrKyj8yYMSMrfRlMdItWVBY7cQRqa2urAbwdMnf/I1VVVySes/lyYKKbzyYsURoRqK2tJWJvNIpUFOVL1dXVm9MoQlqKYqKnBWYuxMwI7NmzZ7MQYnlARlqQs0hV1cNmljlW2ZjosSLG8bMOgffee6/Y6/XWAqCVeBTeBXCNqqq0Ei8rAhM9K8zISiSKQG1t7TwAOwNLbWnzyyaXy3VHovmaJT0T3SyWYDkyjkBdXd2tUsr/IkFoVaHL5cqarc1M9IxXLxbATAjs2bNnnaIoKzRNe3rhwoUPmEm2RGRhoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCABPdIoZiMRmBRBBgoieCHqdlBCyCQNREn7NjZbGEslRKXAuJ+RK4QgClpKcEugRwAgL7hcB2AW3rwZqNPRbBIGvFlHPmFPc7HEulENdKYD6G2AzACQHsF1JuzxsY2CoOHmSbZbg2eDyeYgBLpZTXSil1myHAMwBdus2E2C+E2A5ga0VFRVQ2G5Xoc/+4crrmsN0nIb8IoChKHHoFxGZlwL/2wPUbG6JMw9GShIC3unq61LT7BPBFGaXNBNArgc1CUdYW7N3LNkuSLaLNxuPxTNc07T4AMfEMwGZFUdZWVFSMaLOIRJ/++up8R4F8REpxFyDzohV4cDzRL4R8asArHmr41PqsvI42PlxSk0pOn55/obj4EQB3SSAumwmgH8BT+T09D4mGBrZZakwVzFVKme/xeB6RUt6FOG0GoF8I8VRFRcVDQoiwNgtL9Dk7VlZqfuVVCFwTqudVxRPxj+UL4Bp7Ba4Y40SZ42ID3znQixPnW1HXcQJ/aqvHkZ7Tg+GR2KnYtJsO1mxsSTFuOZt9z5w5lTaH41UIMchmYuZM2JYsgXL11RDTpkGU0bXggOzshDx5Etq+ffBv2wZ59OgQm8md/oGBm4oPHmSbpahWeTyeSk3TXqV73kKLsNvtKCgogMPhAP0txEWaSinh8/kwMDAAr9er/z0k7FQU5aaKiophNhtG9Fl/XjVP+rFVSFQZmcwtqcI90z+Da8bNjErlneeO4omG3+BAt/vSm0vALWxYevjjG+gCOw5JROCCyzVP8/m2QoigzZQ5c2C/804oixZFVZK2ezd8Tz8N7eDBS/GldCt2+9L8ujq2WVQoRh+pvb19Xn9//1bgEs+I2MXFxcjLi64z1t/fj56eHp34IcGdl5e3dPz48YNsNojo1JL7pbLbILldKFgz43P40sR/CL5VolWF3j4vnP5fPH7sV/BJ7eIbScBtE9oibtmjRXH0eIGWfHeQ5HY7HPfcA9vNN9MFYqNnEBpDSvhfegkDTzwBGK2FlG7/wMAibtljg3Kk2IGWfHcoyUtKSjBmzJi4Cjl//jy6u+m252BwK4qyKLRlD9YEGpPb8+SbRne91D4G6+d9HYvGzYircCPR7nPHsPrd59DlC9xAK7HT1y8W85g9IVgvvjinT8/3FhW9Geyul5Yi74knoCxcmFDm2p496L/nHqCLnLx6n3FnQW/vYh6zJwRrAEqZ39ra+qbRXadu+dixY6NuxSNJQK17R0eH3r0PhJ1Op3OxMWYPEn329lVrpcS/UiRqyX+yYFXCJA8l+231G4ItuxBYd+jaDeRh5JAAAt4FC9ZKXLQZ7HbkbdyYMMkNcXSyr1wZbNkFsK6gvp5tloC9KGlra+taKeVFmwEYN25cwiQ38iKynzt3LiihEGKd0+nUbaYTnabQ/A7bAcO7/sDML+CWSR9LUKXByX/Z9Ba+e/TlwEPRbxvwz+Wpt/ghpik0aNoBw7vuWLMGtmXL4s8wTEr/li0YePxx/RfdG68oc3nqLX6IA1NoBwzveiLd9UhSDOnG9yuKMpem3nSiz962+scS8us66Uuq8LJ6b8xj8tHUpy7FF2r/M+igExDPHVqy/hujpePfwyPQt2DBjwHoNiPHW94vfhH7mHw0cKVE/5e/HOqge66wvp5tNhpuEX5vaWkJ2owcb+PHj48zp5GTtbe3hzronqusrPyGoBVvmqaQO16fK3v+6tVRe9djlZK88bfuW28k61UUrZJX0MWKIkAr3i7k5bUYi2Hynn02au96rKWRN77/jjuMVr03v7+/klfQxYoiQCveNE0L8iyZXfah0gzpwvcqilIpZu9YtUxqeJEi0zz5bxatiV2LGFJ8ZvfjwXl2oWD5oZoNW2JIzlEBXJg/f5kmhG4zmifP3xIZwv5bbwX6++FYvx4iXAvi92PgkUegvf028l54AaKiYhjGF5YtC86zK1Iuz9+/n20WY030eDzLNE3TbUZz4xMmTIgxh9iinz17NjjPrijKcjFr+6pnIXE7ZbN62lKsnHZ9bDmGid3Q24Kv12/A9RXVWDPjs4NibDz5R6w/SdOH+sBv0+FrN1xsLjhEjYB3wYJnJS7azL5iBey363+GDf233KJ3vZUrr4Rj06bBZCeSP/gg/H/4A1BUhPxf/zos0X2bNsH3zDMBk2FTQX092yxqa12M2Nra+qyUUjcUzZUXFUW7mjzGggLRe3t79Tl2nWZCbBKztq3aCeDD9OCnV6/Gh6NcFBOp+LYLnVhe9wOc8bZj+cSP4uGrBjuIdp07iq9d6r7vOrxkw6BVQfGplVup+hYsCNosb9OmET3tksZrt98O7fjxwWQfQnLdY/+hD4UFUvfAX3qZ7Cqsr2ebxVjlWlpagjZLZbfdEGtI932XuGrbKo8AyinCW3//XZTnX1wiGU8477+Ar+x9Gge73VhQNk1/ceQrjkFZ0YvgY28/oD+TQNuRJRuG9xXjKTyH0vQtWOBBwGb5b7wBcdllI2o/jOzPPAPfk08GW/KRSK7b6f33ceG664wy2grr69lmMda3lpaWoM3Ky8uhKEqMOcQWXdM0tLW1BW1GLboXQD492b/4SeQp9kE5/sGzF5qUWOp0jViSX2r45jub8OezBzClsByb1bsxzkE77gaHfs2H+W9+S39og6Jt/+B36jVNE6S4lFLQAoKRvgO5GfP/Yb/1TACkKt9o5DT0iEXeaPMtXbq0CD6frmPB7t2AY/DLNJyhQsmOwkKgr0/vro9Gcj0vWlttLKW12fxdr7/+tqEXYRwI9EhIKV+vrKx8NFSGtra2G/x+/8NGGopv2CaQhnQxzPZbp9P5UGj61tbWm6SUjxkRwqShco08XnE6ncF5asqnubn5ZkVRvh8Sx5A1WK7xG4AXKysr/yW0/JaWli8JIX44Urkhuv3c6XQOGtp4PJ6vapr2vDGdXVFRkfRZraE2p1kuj4feLXq4MCrRF751L3p8Xtw7/TP458lLIpL9345swZbTf9HJ/aJ6NyYX6p2EYSGU6A5hwxtz7o+YJ/8QHoHSG26ACCxRjZbolJPeMt9440WSA3A8+SRsixePDnMI0aXdjq7XXouYRgjxU6fTeWtohEBF/+noBelsz/r0GSH6aF333zTvwrcP/RISEvfP+Cz+qapmmL1+fOoN/OD47/Ru+n9fvRrzy6ZFtGlo173MNga/nXV3NPbnOCEIlC5bBtHZqT+JpuuuRwwdkwfyCuugC4N0aNddlpWhawQvfziiNjc3f5WeR2PEXEifqa77qM64V878FQ8d3qyT/YGZn8ctkz4etNnW1jrce4BsKPD0vNtwXTkdihE5hDrjCoTjnT998P6vBWLri3TlpcW6Yf93OBySHA15eXn690j/j5Tf0HLy8/Mlbf0rKCiQfX19g76HPo8mXyP/oqIiSd5P47u4uFh2dXWhpKQk+N3Z2YnS0tJB+hrpNU0b9Jz+L/vkJ3dASn1B+2jOuGEkLyqC49FH4V+/friDLoLZBjnjxox579wrr3yTTGW320lMY3E1fdPH43Q6j4dm1dTUNEFRFHr7S7JXaJrA30Ed7XZ7+2WXXTZon/Px48fLSktLKw27D01j/E827Ovr67n88svfDy3/zJkzY/Ly8saFS2fIQt9kI6/X6x16aouU0nHu3LkxFIfwD7WN0+nU9W5qaqLpLDl16lSfEGLQ/lEaFng8nr9KKXWnd0accdFOr205/Tb+/ciLuiXJk04e9dqOBtxW/0NQd5ym0b4aprUfWnd4ei2adm3kOLFMrw1qyUPG5BG98WGK5um1xG2W8em1WBbMvND0Fv7j6Mv6AvkVU68HrV/v9J3HV6oW49szPhcVGrxgJiqYRowUy4KZgYcfhv93vwvreNPJfscd0BoaLk69/exnEGG2SvKCmcRtlvEFM7Eugf25+008duxXQc0/Uf4hPP3B26CI0acLeAls4hVGHzbEsAT2wic+Aen1RvSuB8l+/DjyX3kF4go6i/BS4CWwybFZxpfAkhqxbmp53r0d6469ivmlU/W58gLb6Cdi8KaW5FQYI5doN7XIwBRLuKWtRl7y/HmgpWUYycGbWpJqtIxuaiFN4tmm2tDbjIkFE1AYBcmpDN6mmtQ6A96mmlw805Fbxrep6q06HzyRDlsntQw+eCKpcKYls4wePEEa8lFSabFzUgvho6SSCmdaMqPjnTN6lBRpyYdDpsXWSS2ED4dMKpxpySyjh0MaGvJxz2mxdVIL4eOekwpnWjLL6HHPhoZ8gUNabJ3UQvgCh6TCmZbMMnqBg6EhX8mUFlsntRC+kimpcKYls4xeyRSqIV+ymBZ7J7UQvmQxqXCmJbOMXbI4VDu+Njkt9k5qIXxtclLhTEtmqbo2+f8Bl3T3cvlgJ1sAAAAASUVORK5CYII="},zt9T:function(e,t,n){"use strict";var o=n("jB5C");e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=o.getWindow(t));var r=n.allowHorizontalScroll,l=n.onlyScrollIfNeeded,a=n.alignWithTop,i=n.alignWithLeft,u=n.offsetTop||0,f=n.offsetLeft||0,d=n.offsetBottom||0,c=n.offsetRight||0;r=void 0===r||r;var s=o.isWindow(t),p=o.offset(e),m=o.outerHeight(e),v=o.outerWidth(e),y=void 0,g=void 0,h=void 0,b=void 0,w=void 0,E=void 0,q=void 0,B=void 0,A=void 0,x=void 0;s?(q=t,x=o.height(q),A=o.width(q),B={left:o.scrollLeft(q),top:o.scrollTop(q)},w={left:p.left-B.left-f,top:p.top-B.top-u},E={left:p.left+v-(B.left+A)+c,top:p.top+m-(B.top+x)+d},b=B):(y=o.offset(t),g=t.clientHeight,h=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},w={left:p.left-(y.left+(parseFloat(o.css(t,"borderLeftWidth"))||0))-f,top:p.top-(y.top+(parseFloat(o.css(t,"borderTopWidth"))||0))-u},E={left:p.left+v-(y.left+h+(parseFloat(o.css(t,"borderRightWidth"))||0))+c,top:p.top+m-(y.top+g+(parseFloat(o.css(t,"borderBottomWidth"))||0))+d}),w.top<0||E.top>0?!0===a?o.scrollTop(t,b.top+w.top):!1===a?o.scrollTop(t,b.top+E.top):w.top<0?o.scrollTop(t,b.top+w.top):o.scrollTop(t,b.top+E.top):l||((a=void 0===a||!!a)?o.scrollTop(t,b.top+w.top):o.scrollTop(t,b.top+E.top)),r&&(w.left<0||E.left>0?!0===i?o.scrollLeft(t,b.left+w.left):!1===i?o.scrollLeft(t,b.left+E.left):w.left<0?o.scrollLeft(t,b.left+w.left):o.scrollLeft(t,b.left+E.left):l||((i=void 0===i||!!i)?o.scrollLeft(t,b.left+w.left):o.scrollLeft(t,b.left+E.left)))}}}]); \ No newline at end of file diff --git a/static/js/62.c1a61376.chunk.js b/static/js/63.2d2ad91f.chunk.js similarity index 99% rename from static/js/62.c1a61376.chunk.js rename to static/js/63.2d2ad91f.chunk.js index 0e76d8901..ed373f70d 100644 --- a/static/js/62.c1a61376.chunk.js +++ b/static/js/63.2d2ad91f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[62],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},"9BHv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),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},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("YQTV");var l=n("q1tI"),i=p(l),u=p(n("vDqi"));n("6V0J");var c=p(n("2CTR")),f=p(n("Xd6l"));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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.state,a=r.user_type,o=r.project_id,s="/"+r.owner+"/"+o+"/"+a+".json";u.default.get(s,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,o=e.limit;return i.default.createElement(i.default.Fragment,null,t>o?i.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},i.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:o,onChange:n.ChangePage})):"")},n.state={user_type:n.props.user_type,type_title:n.props.type_title,project_id:n.props.project_id,owner:n.props.owner,users:null,count:0,limit:20,page:1,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.users,n=e.count,a=e.isSpin,s=e.type_title;return i.default.createElement("div",{className:"pbt15"},i.default.createElement("div",{className:"main background-f minH-670"},i.default.createElement("div",{className:"plr-20 user-list-items"},i.default.createElement("div",{className:"font-18 pb-10 border-b-line"},s),i.default.createElement(r.default,{spinning:a},i.default.createElement("div",{className:"w-100 inline-block"},0===n?i.default.createElement(c.default,{_html:"暂时还没有相关数据!"}):i.default.createElement(f.default,o({users:t,userClass:"w-25"},this.props)))),this.Paginations())))}}]),t}(l.Component);t.default=d},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=i(o),l=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J");var u=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.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,l.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,a=t.isSpin,o=t.fontClass,l=t.starText,i=t.is_block;return s.default.createElement(r.default,{type:n?"default":"primary",ghost:!n,block:i,loading:a,onClick:function(){return e.focusFunc(n)}},n?s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),s.default.createElement("span",{className:o},"已关注")):s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),s.default.createElement("span",{className:o},l)))}}]),t}(o.Component);t.default=u},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=u(o),l=n("sYIF"),i=u(n("KJct"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,u=Array(o),p=0;p<o;p++)u[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return s.default.createElement("div",{className:"pull-left "+t,key:o},s.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},s.default.createElement("img",{className:"avatar-60",src:(0,l.getImageUrl)("images/"+e.image_url),alt:""}))),s.default.createElement("div",{className:"ml12"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),s.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},s.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),s.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?s.default.createElement(r.default,{type:"default"},"当前用户"):s.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},zM51:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("9BHv"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props.match.params,t=e.owner,n=e.projectsId;return o.default.createElement("div",null,n&&o.default.createElement(s.default,{user_type:"stargazers",type_title:"点赞列表",project_id:n,current_user:this.props.current_user,owner:t}))}}]),t}(a.Component);t.default=c}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[63],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},"9BHv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),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},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("YQTV");var l=n("q1tI"),i=p(l),u=p(n("vDqi"));n("6V0J");var c=p(n("2CTR")),f=p(n("Xd6l"));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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.state,a=r.user_type,o=r.project_id,s="/"+r.owner+"/"+o+"/"+a+".json";u.default.get(s,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,o=e.limit;return i.default.createElement(i.default.Fragment,null,t>o?i.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},i.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:o,onChange:n.ChangePage})):"")},n.state={user_type:n.props.user_type,type_title:n.props.type_title,project_id:n.props.project_id,owner:n.props.owner,users:null,count:0,limit:20,page:1,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.users,n=e.count,a=e.isSpin,s=e.type_title;return i.default.createElement("div",{className:"pbt15"},i.default.createElement("div",{className:"main background-f minH-670"},i.default.createElement("div",{className:"plr-20 user-list-items"},i.default.createElement("div",{className:"font-18 pb-10 border-b-line"},s),i.default.createElement(r.default,{spinning:a},i.default.createElement("div",{className:"w-100 inline-block"},0===n?i.default.createElement(c.default,{_html:"暂时还没有相关数据!"}):i.default.createElement(f.default,o({users:t,userClass:"w-25"},this.props)))),this.Paginations())))}}]),t}(l.Component);t.default=d},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=i(o),l=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J");var u=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.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,l.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,a=t.isSpin,o=t.fontClass,l=t.starText,i=t.is_block;return s.default.createElement(r.default,{type:n?"default":"primary",ghost:!n,block:i,loading:a,onClick:function(){return e.focusFunc(n)}},n?s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),s.default.createElement("span",{className:o},"已关注")):s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),s.default.createElement("span",{className:o},l)))}}]),t}(o.Component);t.default=u},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=u(o),l=n("sYIF"),i=u(n("KJct"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,u=Array(o),p=0;p<o;p++)u[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return s.default.createElement("div",{className:"pull-left "+t,key:o},s.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},s.default.createElement("img",{className:"avatar-60",src:(0,l.getImageUrl)("images/"+e.image_url),alt:""}))),s.default.createElement("div",{className:"ml12"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),s.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},s.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),s.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?s.default.createElement(r.default,{type:"default"},"当前用户"):s.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},zM51:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("9BHv"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props.match.params,t=e.owner,n=e.projectsId;return o.default.createElement("div",null,n&&o.default.createElement(s.default,{user_type:"stargazers",type_title:"点赞列表",project_id:n,current_user:this.props.current_user,owner:t}))}}]),t}(a.Component);t.default=c}}]); \ No newline at end of file diff --git a/static/js/63.79ae9331.chunk.js b/static/js/64.d1304a6e.chunk.js similarity index 99% rename from static/js/63.79ae9331.chunk.js rename to static/js/64.d1304a6e.chunk.js index ec817402f..1cbeb4b5d 100644 --- a/static/js/63.79ae9331.chunk.js +++ b/static/js/64.d1304a6e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[63],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},"9BHv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),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},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("YQTV");var l=n("q1tI"),i=p(l),u=p(n("vDqi"));n("6V0J");var c=p(n("2CTR")),f=p(n("Xd6l"));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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.state,a=r.user_type,o=r.project_id,s="/"+r.owner+"/"+o+"/"+a+".json";u.default.get(s,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,o=e.limit;return i.default.createElement(i.default.Fragment,null,t>o?i.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},i.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:o,onChange:n.ChangePage})):"")},n.state={user_type:n.props.user_type,type_title:n.props.type_title,project_id:n.props.project_id,owner:n.props.owner,users:null,count:0,limit:20,page:1,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.users,n=e.count,a=e.isSpin,s=e.type_title;return i.default.createElement("div",{className:"pbt15"},i.default.createElement("div",{className:"main background-f minH-670"},i.default.createElement("div",{className:"plr-20 user-list-items"},i.default.createElement("div",{className:"font-18 pb-10 border-b-line"},s),i.default.createElement(r.default,{spinning:a},i.default.createElement("div",{className:"w-100 inline-block"},0===n?i.default.createElement(c.default,{_html:"暂时还没有相关数据!"}):i.default.createElement(f.default,o({users:t,userClass:"w-25"},this.props)))),this.Paginations())))}}]),t}(l.Component);t.default=d},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=i(o),l=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J");var u=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.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,l.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,a=t.isSpin,o=t.fontClass,l=t.starText,i=t.is_block;return s.default.createElement(r.default,{type:n?"default":"primary",ghost:!n,block:i,loading:a,onClick:function(){return e.focusFunc(n)}},n?s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),s.default.createElement("span",{className:o},"已关注")):s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),s.default.createElement("span",{className:o},l)))}}]),t}(o.Component);t.default=u},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=u(o),l=n("sYIF"),i=u(n("KJct"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,u=Array(o),p=0;p<o;p++)u[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return s.default.createElement("div",{className:"pull-left "+t,key:o},s.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},s.default.createElement("img",{className:"avatar-60",src:(0,l.getImageUrl)("images/"+e.image_url),alt:""}))),s.default.createElement("div",{className:"ml12"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),s.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},s.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),s.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?s.default.createElement(r.default,{type:"default"},"当前用户"):s.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},cFFD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("9BHv"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props.match.params,t=e.owner,n=e.projectsId;return o.default.createElement("div",null,n&&o.default.createElement(s.default,{user_type:"watchers",type_title:"关注列表",project_id:n,current_user:this.props.current_user,owner:t}))}}]),t}(a.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[64],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},"9BHv":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),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},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("YQTV");var l=n("q1tI"),i=p(l),u=p(n("vDqi"));n("6V0J");var c=p(n("2CTR")),f=p(n("Xd6l"));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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.state,a=r.user_type,o=r.project_id,s="/"+r.owner+"/"+o+"/"+a+".json";u.default.get(s,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,o=e.limit;return i.default.createElement(i.default.Fragment,null,t>o?i.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},i.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:o,onChange:n.ChangePage})):"")},n.state={user_type:n.props.user_type,type_title:n.props.type_title,project_id:n.props.project_id,owner:n.props.owner,users:null,count:0,limit:20,page:1,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.users,n=e.count,a=e.isSpin,s=e.type_title;return i.default.createElement("div",{className:"pbt15"},i.default.createElement("div",{className:"main background-f minH-670"},i.default.createElement("div",{className:"plr-20 user-list-items"},i.default.createElement("div",{className:"font-18 pb-10 border-b-line"},s),i.default.createElement(r.default,{spinning:a},i.default.createElement("div",{className:"w-100 inline-block"},0===n?i.default.createElement(c.default,{_html:"暂时还没有相关数据!"}):i.default.createElement(f.default,o({users:t,userClass:"w-25"},this.props)))),this.Paginations())))}}]),t}(l.Component);t.default=d},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=i(o),l=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}n("6V0J");var u=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.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,l.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),a(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,a=t.isSpin,o=t.fontClass,l=t.starText,i=t.is_block;return s.default.createElement(r.default,{type:n?"default":"primary",ghost:!n,block:i,loading:a,onClick:function(){return e.focusFunc(n)}},n?s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),s.default.createElement("span",{className:o},"已关注")):s.default.createElement("span",{className:""},s.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),s.default.createElement("span",{className:o},l)))}}]),t}(o.Component);t.default=u},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("2/Rp")),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("L/Qf");var o=n("q1tI"),s=u(o),l=n("sYIF"),i=u(n("KJct"));function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,u=Array(o),p=0;p<o;p++)u[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return s.default.createElement("div",{className:"pull-left "+t,key:o},s.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},s.default.createElement("img",{className:"avatar-60",src:(0,l.getImageUrl)("images/"+e.image_url),alt:""}))),s.default.createElement("div",{className:"ml12"},s.default.createElement("div",null,s.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),s.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},s.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),s.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?s.default.createElement(r.default,{type:"default"},"当前用户"):s.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},cFFD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("9BHv"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props.match.params,t=e.owner,n=e.projectsId;return o.default.createElement("div",null,n&&o.default.createElement(s.default,{user_type:"watchers",type_title:"关注列表",project_id:n,current_user:this.props.current_user,owner:t}))}}]),t}(a.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file diff --git a/static/js/64.9736a467.chunk.js b/static/js/65.0c316fbd.chunk.js similarity index 95% rename from static/js/64.9736a467.chunk.js rename to static/js/65.0c316fbd.chunk.js index c94e9106a..d32b7ed6e 100644 --- a/static/js/64.9736a467.chunk.js +++ b/static/js/65.0c316fbd.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[64],{"6V0J":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("2/Rp")),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}}();n("L/Qf");var l=n("q1tI"),o=u(l),s=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}n("6V0J");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.componentDidMount=function(){n.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,s.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,r=t.isSpin,l=t.fontClass,s=t.starText,u=t.is_block;return o.default.createElement(a.default,{type:n?"default":"primary",ghost:!n,block:u,loading:r,onClick:function(){return e.focusFunc(n)}},n?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:l},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:l},s)))}}]),t}(l.Component);t.default=c},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=E(n("W9HT")),r=E(n("2/Rp")),l=E(n("mr32")),o=E(n("Tckk")),s=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},u=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("L/Qf"),n("0lcf"),n("xpQY");var c=n("q1tI"),i=E(c),f=n("eO8H"),p=E(n("KJct")),d=E(n("vDqi")),m=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var h=E(n("CnBM")),_=E(n("HUFq"));function E(e){return e&&e.__esModule?e:{default:e}}var v=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(31)]).then(n.t.bind(null,"aah+",7))},loading:_.default}),g=(0,h.default)({loader:function(){return n.e(97).then(n.t.bind(null,"A5Ec",7))},loading:_.default}),y=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(40)]).then(n.t.bind(null,"EEGS",7))},loading:_.default}),b=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(58)]).then(n.t.bind(null,"vTxG",7))},loading:_.default}),w=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(75)]).then(n.t.bind(null,"0WPJ",7))},loading:_.default}),N=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(74)]).then(n.t.bind(null,"bkQV",7))},loading:_.default}),k=(0,h.default)({loader:function(){return n.e(85).then(n.t.bind(null,"danK",7))},loading:_.default}),j=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.fetchUser()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser()},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){n.setState({user:e.data,isSpin:!1})})).catch((function(e){console.log(e),n.setState({isSpin:!1})}))},n.change_project_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0});var a="/users/"+(t&&t.login);e&&(a="/users/"+(t&&t.login)+"/projects/"+e),n.props.history.push(a)},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/users/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0}),n.props.history.push("/users/"+(e&&e.login)+"/undo_events")},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}),n.props.history.push("/users/"+(e&&e.login)+"/organizes")},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type: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.current_user,u=t.mygetHelmetapi,c=this.props.match.params.username,d=this.state,h=d.user,_=d.isSpin,E=d.project_type,j=d.route_type;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:_},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left"},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center pd20 "},i.default.createElement(o.default,{size:110,src:(0,m.getImageUrl)("images/"+(h&&h.image_url))}),h&&h.user_identity&&i.default.createElement("div",{className:"mt-n15 position-relative"},i.default.createElement(l.default,{color:"#FF6E21",style:{marginRight:"0px"}},h&&h.user_identity)),i.default.createElement("div",{className:"text-center mt15 font-16 fwb"},h&&h.username),i.default.createElement("div",null,h&&n&&h.login===n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(r.default,{block:!0,className:"text-button-grey",href:""+(u&&u.new_course&&u.new_course.edit_account),target:"_blank"}," ",i.default.createElement("i",{className:"iconfont icon-shezhi4 font-15 mr5"}),"修改资料")),n&&h&&h.login!==n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(p.default,{is_block:!0,is_watch:h.is_watch,id:h.login,fontClass:"font-14 ml5",starText:"关注TA"}))),i.default.createElement("div",{className:"width100 inline-block mt20"},i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/watchers",className:"with50 text-center pull-left "+("watchers"===j?"text-primary":""),onClick:function(){return e.route_link("watchers")}},i.default.createElement("div",null,n&&h&&h.login===n.login?"我关注的":"TA关注的"),i.default.createElement("span",null,h&&h.watching_count)),i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/fan_users",onClick:function(){return e.route_link("fan_users")},className:"with50 text-center pull-left "+("fan_users"===j?"text-primary":"")},i.default.createElement("div",null,n&&h&&h.login===n.login?"关注我的":"关注TA的"),i.default.createElement("span",null,h&&h.watched_count))))),i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle",onClick:function(){return e.change_project_type(void 0)}},i.default.createElement("i",{className:"iconfont icon-xiangmuleixing font-15 mr5"}),"项目类型",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"common"===E?"active":"",onClick:function(){return e.change_project_type("common")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.common_projects_count))),i.default.createElement("li",{className:E&&"mirror"===E?"active":"",onClick:function(){return e.change_project_type("mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源镜像项目"),i.default.createElement("span",{className:"color-blue"},h&&h.mirror_projects_count))),i.default.createElement("li",{className:E&&"sync_mirror"===E?"active":"",onClick:function(){return e.change_project_type("sync_mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"镜像托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.sync_mirror_projects_count))))),n&&n.login&&n.login===c&&i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu font-15 mr5"}),"DevOps工作流",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"CIService"===E?"active":"",onClick:function(){return e.change_devops_type("CIService")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16 color-grey-3"},"CI服务")))))),i.default.createElement("div",{className:"list-right"},h&&i.default.createElement("div",null,i.default.createElement(f.Switch,this.props,i.default.createElement(f.Route,{path:"/users/:username/watchers",render:function(){return i.default.createElement(w,s({},e.props,e.state,{userType:"watchers"}))}}),i.default.createElement(f.Route,{path:"/users/:username/undo_events",render:function(){return i.default.createElement(k,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/fan_users",render:function(){return i.default.createElement(N,s({},e.props,e.state,{userType:"fan_users"}))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CDService",render:function(){return i.default.createElement(g,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CIService",render:function(){return i.default.createElement(v,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/projects/:project_type",render:function(){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/organizes",render:function(){return i.default.createElement(b,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}})))))))}}]),t}(c.Component);t.default=j}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[65],{"6V0J":function(e,t,n){},KJct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("2/Rp")),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}}();n("L/Qf");var l=n("q1tI"),o=u(l),s=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}n("6V0J");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.componentDidMount=function(){n.set_watch()},n.set_watch=function(){n.setState({is_watch:n.props.is_watch,id:n.props.id,isSpin:!1,fontClass:n.props.fontClass?n.props.fontClass:"font-12",starText:n.props.starText?n.props.starText:"关注",is_block:void 0!==n.props.is_block&&n.props.is_block})},n.focusFunc=function(e){var t=n.state.id;n.setState({isSpin:!0}),(0,s.default)({method:e?"delete":"post",url:"/watchers/"+(e?"unfollow":"follow")+".json",params:{target_type:"user",id:t}}).then((function(e){e&&0===e.data.status&&n.setState({is_watch:e.data.watched,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.state={is_watch:!1,id:"",isSpin:!1,fontClass:"font-12",starText:"关注",is_block:!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),r(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.is_watch,r=t.isSpin,l=t.fontClass,s=t.starText,u=t.is_block;return o.default.createElement(a.default,{type:n?"default":"primary",ghost:!n,block:u,loading:r,onClick:function(){return e.focusFunc(n)}},n?o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-shixing font-15 text-yellow mr-4"}),o.default.createElement("span",{className:l},"已关注")):o.default.createElement("span",{className:""},o.default.createElement("i",{className:"iconfont icon-kongxing font-15"}),o.default.createElement("span",{className:l},s)))}}]),t}(l.Component);t.default=c},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=E(n("W9HT")),r=E(n("2/Rp")),l=E(n("mr32")),o=E(n("Tckk")),s=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},u=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("L/Qf"),n("0lcf"),n("xpQY");var c=n("q1tI"),i=E(c),f=n("eO8H"),p=E(n("KJct")),d=E(n("vDqi")),m=n("sYIF");n("RrAk"),n("7dqz"),n("PA6o");var h=E(n("CnBM")),_=E(n("HUFq"));function E(e){return e&&e.__esModule?e:{default:e}}var v=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(32)]).then(n.t.bind(null,"aah+",7))},loading:_.default}),g=(0,h.default)({loader:function(){return n.e(98).then(n.t.bind(null,"A5Ec",7))},loading:_.default}),y=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(41)]).then(n.t.bind(null,"EEGS",7))},loading:_.default}),b=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(59)]).then(n.t.bind(null,"vTxG",7))},loading:_.default}),w=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(77)]).then(n.t.bind(null,"0WPJ",7))},loading:_.default}),N=(0,h.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(76)]).then(n.t.bind(null,"bkQV",7))},loading:_.default}),k=(0,h.default)({loader:function(){return n.e(86).then(n.t.bind(null,"danK",7))},loading:_.default}),j=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.fetchUser()},n.componentDidUpdate=function(e){var t=n.props.match.params.username,a=e.match.params.username;a&&t&&a!==t&&n.fetchUser()},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){n.setState({user:e.data,isSpin:!1})})).catch((function(e){console.log(e),n.setState({isSpin:!1})}))},n.change_project_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0});var a="/users/"+(t&&t.login);e&&(a="/users/"+(t&&t.login)+"/projects/"+e),n.props.history.push(a)},n.change_devops_type=function(e){var t=n.state.user;n.setState({project_type:e,route_type:void 0}),n.props.history.push("/users/"+(t&&t.login)+"/devops/"+e)},n.undo_link=function(){var e=n.state.user;n.setState({route_type:void 0}),n.props.history.push("/users/"+(e&&e.login)+"/undo_events")},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}),n.props.history.push("/users/"+(e&&e.login)+"/organizes")},n.state={isSpin:!1,user:void 0,project_type:void 0,route_type: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.current_user,u=t.mygetHelmetapi,c=this.props.match.params.username,d=this.state,h=d.user,_=d.isSpin,E=d.project_type,j=d.route_type;return i.default.createElement("div",{className:"newMain clearfix"},i.default.createElement(a.default,{spinning:_},i.default.createElement("div",{className:"new-content-flex"},i.default.createElement("div",{className:"list-left"},i.default.createElement("div",{className:"bgcF"},i.default.createElement("div",{className:"list-l-Menu text-center pd20 "},i.default.createElement(o.default,{size:110,src:(0,m.getImageUrl)("images/"+(h&&h.image_url))}),h&&h.user_identity&&i.default.createElement("div",{className:"mt-n15 position-relative"},i.default.createElement(l.default,{color:"#FF6E21",style:{marginRight:"0px"}},h&&h.user_identity)),i.default.createElement("div",{className:"text-center mt15 font-16 fwb"},h&&h.username),i.default.createElement("div",null,h&&n&&h.login===n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(r.default,{block:!0,className:"text-button-grey",href:""+(u&&u.new_course&&u.new_course.edit_account),target:"_blank"}," ",i.default.createElement("i",{className:"iconfont icon-shezhi4 font-15 mr5"}),"修改资料")),n&&h&&h.login!==n.login&&i.default.createElement("div",{className:"user-info-star-button "},i.default.createElement(p.default,{is_block:!0,is_watch:h.is_watch,id:h.login,fontClass:"font-14 ml5",starText:"关注TA"}))),i.default.createElement("div",{className:"width100 inline-block mt20"},i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/watchers",className:"with50 text-center pull-left "+("watchers"===j?"text-primary":""),onClick:function(){return e.route_link("watchers")}},i.default.createElement("div",null,n&&h&&h.login===n.login?"我关注的":"TA关注的"),i.default.createElement("span",null,h&&h.watching_count)),i.default.createElement(f.Link,{to:"/users/"+(h&&h.login)+"/fan_users",onClick:function(){return e.route_link("fan_users")},className:"with50 text-center pull-left "+("fan_users"===j?"text-primary":"")},i.default.createElement("div",null,n&&h&&h.login===n.login?"关注我的":"关注TA的"),i.default.createElement("span",null,h&&h.watched_count))))),i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle",onClick:function(){return e.change_project_type(void 0)}},i.default.createElement("i",{className:"iconfont icon-xiangmuleixing font-15 mr5"}),"项目类型",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"common"===E?"active":"",onClick:function(){return e.change_project_type("common")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.common_projects_count))),i.default.createElement("li",{className:E&&"mirror"===E?"active":"",onClick:function(){return e.change_project_type("mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"开源镜像项目"),i.default.createElement("span",{className:"color-blue"},h&&h.mirror_projects_count))),i.default.createElement("li",{className:E&&"sync_mirror"===E?"active":"",onClick:function(){return e.change_project_type("sync_mirror")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16"},"镜像托管项目"),i.default.createElement("span",{className:"color-blue"},h&&h.sync_mirror_projects_count))))),n&&n.login&&n.login===c&&i.default.createElement("div",{className:"bgcF"},i.default.createElement("ul",{className:"list-l-Menu"},i.default.createElement("li",{className:"MenuTitle"},i.default.createElement("i",{className:"iconfont icon-gongzuoliu font-15 mr5"}),"DevOps工作流",i.default.createElement("i",{className:"iconfont icon-youjiantou font-15 mr20 color-grey-9 pull-right"})),i.default.createElement("li",{className:E&&"CIService"===E?"active":"",onClick:function(){return e.change_devops_type("CIService")}},i.default.createElement("p",null,i.default.createElement("span",{className:"font-16 color-grey-3"},"CI服务")))))),i.default.createElement("div",{className:"list-right"},h&&i.default.createElement("div",null,i.default.createElement(f.Switch,this.props,i.default.createElement(f.Route,{path:"/users/:username/watchers",render:function(){return i.default.createElement(w,s({},e.props,e.state,{userType:"watchers"}))}}),i.default.createElement(f.Route,{path:"/users/:username/undo_events",render:function(){return i.default.createElement(k,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/fan_users",render:function(){return i.default.createElement(N,s({},e.props,e.state,{userType:"fan_users"}))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CDService",render:function(){return i.default.createElement(g,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/devops/CIService",render:function(){return i.default.createElement(v,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/projects/:project_type",render:function(){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username/organizes",render:function(){return i.default.createElement(b,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/users/:username",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}}),i.default.createElement(f.Route,{path:"/",render:function(t){return i.default.createElement(y,s({},e.props,e.state))}})))))))}}]),t}(c.Component);t.default=j}}]); \ No newline at end of file diff --git a/static/js/65.29e57632.chunk.js b/static/js/66.b2942ec0.chunk.js similarity index 99% rename from static/js/65.29e57632.chunk.js rename to static/js/66.b2942ec0.chunk.js index aff37d70b..3df3249de 100644 --- a/static/js/65.29e57632.chunk.js +++ b/static/js/66.b2942ec0.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[65],{"72/8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=(a=["\n display:flex;\n align-items:center;\n & span{\n display:block;\n height:20px;\n line-height:20px;\n border-radius:18px;\n padding:0px 12px;\n color:#FD7700;\n border:1px solid #FD7700;\n background-color:#fff3DC;\n ","\n }\n"],l=["\n display:flex;\n align-items:center;\n & span{\n display:block;\n height:20px;\n line-height:20px;\n border-radius:18px;\n padding:0px 12px;\n color:#FD7700;\n border:1px solid #FD7700;\n background-color:#fff3DC;\n ","\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}}))),i=d(n("q1tI")),o=d(n("vOnD"));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.title,n=e.value,a=e.className,l=o.default.span(r,t&&"margin-left:10px;");return i.default.createElement(l,{className:a},t&&i.default.createElement("label",null,t),i.default.createElement("span",null,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}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=(a=["\n display:flex;\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 ","\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=d(n("q1tI")),o=d(n("vOnD"));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,l=o.default.span(r,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(l,null,i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(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,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("L/Qf");var r=n("q1tI"),i=c(r),o=n("PhNK"),d=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,s=e.projectsId,u=(0,r.useState)(t&&t.files),f=l(u,2),m=f[0],p=f[1];return(0,r.useEffect)((function(){t&&p(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(d.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),m&&m.length>0&&i.default.createElement("div",null,m.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(d.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var a=m.concat();a[t].flag=!e,a.splice(),p(a)}}(e.flag,t,e.isBin)}},i.default.createElement(d.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(a.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+s+(e.sha?"/branch/"+(0,o.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},cfbA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=v(n("W9HT")),i=v(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 #dddddd;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border-bottom: 1px solid #ddd;\n padding: 20px;\n }\n & > .f-wrap-between {\n padding: 10px 20px;\n }\n"],l=["\n border: 1px solid #dddddd;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border-bottom: 1px solid #ddd;\n padding: 20px;\n }\n & > .f-wrap-between {\n padding: 10px 20px;\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}})));n("04bd"),n("L/Qf");var c=n("q1tI"),s=v(c),u=v(n("vOnD")),f=n("PhNK"),m=n("sYIF"),p=v(n("aABL")),g=v(n("Rs/d")),h=v(n("72/8")),b=v(n("vDqi"));function v(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],v=(0,c.useState)(void 0),y=o(v,2),E=y[0],_=y[1],w=(0,c.useState)(void 0),N=o(w,2),j=N[0],I=N[1],O=(0,c.useState)(void 0),C=o(O,2),k=C[0],S=C[1],P=(0,c.useState)(!0),A=o(P,2),D=A[0],M=A[1],F=t.params,B=F.sha,z=F.projectsId,q=F.owner;return(0,c.useEffect)((function(){if(z&&q&&B){var e="/"+q+"/"+z+"/commits/"+B+".json";b.default.get(e).then((function(e){e&&(u(e.data),_(e.data.commit),I(e.data.parents),S(e.data.committer||e.data.commit&&e.data.commit.committer),M(!1))})).catch((function(e){console.log(e)}))}}),[z,q,B]),s.default.createElement("div",{className:"main"},s.default.createElement(r.default,{spinning:D},s.default.createElement(x,null,s.default.createElement("div",{className:"commitinfos"},s.default.createElement("div",{className:"f-wrap-between"},E&&E.message&&s.default.createElement("pre",{className:"task-hide",style:{marginBottom:"0px",height:"28px",whiteSpace:"pre-wrap"}},E.message),s.default.createElement(i.default,{type:"primary",onClick:function(){n.push("/projects/"+q+"/"+z+"/branch/"+(0,f.truncateCommitId)(B))},className:"ml30"},"浏览代码"))),s.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},s.default.createElement("ul",{className:"df"},s.default.createElement(g.default,{url:k&&(0,m.getImageUrl)("images/"+k.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:k&&k.name}),k&&k.time_from_now&&s.default.createElement("li",{className:"ml20 mt2"},k.time_from_now)),s.default.createElement("li",{className:"df"},j&&j.length>0&&j.map((function(e,t){return s.default.createElement(h.default,{title:"父节点",value:(0,f.truncateCommitId)(e.sha),key:t,className:"mr20"})})),s.default.createElement(h.default,{title:"当前节点",value:(0,f.truncateCommitId)(B)})))),s.default.createElement(p.default,{history:n,data:d,owner:q,projectsId:z})))}},js5m:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[66],{"72/8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=(a=["\n display:flex;\n align-items:center;\n & span{\n display:block;\n height:20px;\n line-height:20px;\n border-radius:18px;\n padding:0px 12px;\n color:#FD7700;\n border:1px solid #FD7700;\n background-color:#fff3DC;\n ","\n }\n"],l=["\n display:flex;\n align-items:center;\n & span{\n display:block;\n height:20px;\n line-height:20px;\n border-radius:18px;\n padding:0px 12px;\n color:#FD7700;\n border:1px solid #FD7700;\n background-color:#fff3DC;\n ","\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}}))),i=d(n("q1tI")),o=d(n("vOnD"));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.title,n=e.value,a=e.className,l=o.default.span(r,t&&"margin-left:10px;");return i.default.createElement(l,{className:a},t&&i.default.createElement("label",null,t),i.default.createElement("span",null,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}},"Rs/d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=(a=["\n display:flex;\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 ","\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=d(n("q1tI")),o=d(n("vOnD"));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.url,n=e.name,a=e.column,l=o.default.span(r,a&&"flex-direction: column;text-align:center;",!a&&"\n & span{\n margin-left:8px;\n }");return i.default.createElement(l,null,i.default.createElement("img",{src:t,alt:""}),i.default.createElement("span",null,n))}},aABL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(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,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("L/Qf");var r=n("q1tI"),i=c(r),o=n("PhNK"),d=n("spEH");function c(e){return e&&e.__esModule?e:{default:e}}n("js5m"),t.default=function(e){var t=e.data,n=e.history,c=e.owner,s=e.projectsId,u=(0,r.useState)(t&&t.files),f=l(u,2),m=f[0],p=f[1];return(0,r.useEffect)((function(){t&&p(t.files)}),[t]),i.default.createElement("div",null,i.default.createElement(d.AlignCenter,{className:"color-grey-9 pb10",style:{borderBottom:"1px solid #eee"}},i.default.createElement("i",{className:"iconfont icon-sanjiaoxing-down mr5"}),i.default.createElement("span",null,"共有",i.default.createElement("span",{className:"color-grey-3"}," ",t&&t.files_count," 个文件被更改"),",包括",t&&t.total_addition?i.default.createElement("span",{className:"color-green"}," ",t&&t.total_addition," 次插入"):"",t&&t.total_addition&&t.total_deletion?" 和 ":"",t&&t.total_deletion?i.default.createElement("span",{className:"color-red"}," ",t&&t.total_deletion," 次删除"):"")),m&&m.length>0&&i.default.createElement("div",null,m.map((function(e,t){return i.default.createElement("div",{className:"files",key:t},i.default.createElement(d.FlexAJ,{className:"filesInfo",style:{cursor:e.isBin?"default":"pointer"},onClick:function(){return function(e,t,n){if(!n){var a=m.concat();a[t].flag=!e,a.splice(),p(a)}}(e.flag,t,e.isBin)}},i.default.createElement(d.AlignCenter,null,e.isBin?"":i.default.createElement("i",{className:e.flag?"iconfont icon-youjiantou font-16 mr15 color-grey-9":"iconfont icon-xiajiantou font-16 mr15 color-grey-9"}),i.default.createElement("i",{className:"iconfont icon-wenjia font-16 mr8 color-grey-9"}),i.default.createElement("span",null,e.name)),i.default.createElement("span",null,i.default.createElement(a.default,{className:"mr20",onClick:function(){n.push("/projects/"+c+"/"+s+(e.sha?"/branch/"+(0,o.truncateCommitId)(e.sha)+"?":"?")+"url="+e.name)}},"查看文件"),i.default.createElement("span",{className:"color-green"},"+",e.addition),i.default.createElement("span",{className:"color-red ml20"},"-",e.deletion))),e.sections&&e.sections.length>=1&&!e.flag&&i.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 i.default.createElement("div",{key:t+n,className:2===e.type?"linesContent add":3===e.type?"linesContent reduce":4===e.type?"linesContent translate":"linesContent"},i.default.createElement("span",{className:"lines"},i.default.createElement("span",null,e.leftIdx&&"0"!==e.leftIdx?e.leftIdx:""),i.default.createElement("span",null,e.rightIdx&&"0"!==e.rightIdx?e.rightIdx:"")),i.default.createElement("p",null,e.content))}))}))))}))))}},cfbA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,l,r=v(n("W9HT")),i=v(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 #dddddd;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border-bottom: 1px solid #ddd;\n padding: 20px;\n }\n & > .f-wrap-between {\n padding: 10px 20px;\n }\n"],l=["\n border: 1px solid #dddddd;\n margin-bottom:15px;\n & .commitinfos {\n background-color: #f1f8ff;\n border-bottom: 1px solid #ddd;\n padding: 20px;\n }\n & > .f-wrap-between {\n padding: 10px 20px;\n }\n"],Object.freeze(Object.defineProperties(a,{raw:{value:Object.freeze(l)}})));n("04bd"),n("L/Qf");var c=n("q1tI"),s=v(c),u=v(n("vOnD")),f=n("PhNK"),m=n("sYIF"),p=v(n("aABL")),g=v(n("Rs/d")),h=v(n("72/8")),b=v(n("vDqi"));function v(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],v=(0,c.useState)(void 0),y=o(v,2),E=y[0],_=y[1],w=(0,c.useState)(void 0),N=o(w,2),j=N[0],I=N[1],O=(0,c.useState)(void 0),C=o(O,2),k=C[0],S=C[1],P=(0,c.useState)(!0),A=o(P,2),D=A[0],M=A[1],F=t.params,B=F.sha,z=F.projectsId,q=F.owner;return(0,c.useEffect)((function(){if(z&&q&&B){var e="/"+q+"/"+z+"/commits/"+B+".json";b.default.get(e).then((function(e){e&&(u(e.data),_(e.data.commit),I(e.data.parents),S(e.data.committer||e.data.commit&&e.data.commit.committer),M(!1))})).catch((function(e){console.log(e)}))}}),[z,q,B]),s.default.createElement("div",{className:"main"},s.default.createElement(r.default,{spinning:D},s.default.createElement(x,null,s.default.createElement("div",{className:"commitinfos"},s.default.createElement("div",{className:"f-wrap-between"},E&&E.message&&s.default.createElement("pre",{className:"task-hide",style:{marginBottom:"0px",height:"28px",whiteSpace:"pre-wrap"}},E.message),s.default.createElement(i.default,{type:"primary",onClick:function(){n.push("/projects/"+q+"/"+z+"/branch/"+(0,f.truncateCommitId)(B))},className:"ml30"},"浏览代码"))),s.default.createElement("div",{className:"f-wrap-between",style:{alignItems:"center"}},s.default.createElement("ul",{className:"df"},s.default.createElement(g.default,{url:k&&(0,m.getImageUrl)("images/"+k.image_url)||"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg",name:k&&k.name}),k&&k.time_from_now&&s.default.createElement("li",{className:"ml20 mt2"},k.time_from_now)),s.default.createElement("li",{className:"df"},j&&j.length>0&&j.map((function(e,t){return s.default.createElement(h.default,{title:"父节点",value:(0,f.truncateCommitId)(e.sha),key:t,className:"mr20"})})),s.default.createElement(h.default,{title:"当前节点",value:(0,f.truncateCommitId)(B)})))),s.default.createElement(p.default,{history:n,data:d,owner:q,projectsId:z})))}},js5m:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/67.145ac9b5.chunk.js b/static/js/67.145ac9b5.chunk.js new file mode 100644 index 000000000..b5c973b5c --- /dev/null +++ b/static/js/67.145ac9b5.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[67],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i=function(e){function t(){return c(this,t),u(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.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=i},Re6A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=i(a),s=n("eO8H"),l=i(n("2CTR"));n("eV6p");var c=i(n("vDqi")),u=i(n("bjH3"));function i(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.componentDidMount=function(){n.getIssueList()},n.getIssueList=function(){var e=n.props.match.params,t=e.projectsId,r="/"+e.owner+"/"+t+"/releases.json";c.default.get(r).then((function(e){e&&n.setState({data:e.data,releases:e.data.releases,issues:e.data.issues,isSpin:!1})})).catch((function(e){console.log(e)}))},n.showBody=function(e,t){var r=n.state.releases;r[e].bodyshow=!t,n.setState({releases:r})},n.renderList=function(e){var t=n.props.match.params,r=t.projectsId,a=t.owner;return e&&e.length>0?o.default.createElement("div",null,e.map((function(e,t){return o.default.createElement("div",{className:"versionInfo",key:t},o.default.createElement("span",{className:"versionInfo_left"},o.default.createElement("span",{className:"稳定"===e.draft?"versionTag green":"versionTag yellow"},e.draft),o.default.createElement("span",{className:"mt10"},e.created_at),o.default.createElement("span",{className:"color-grey-8"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 mr3 font-14"}),e.tag_name)),o.default.createElement("div",{className:"versionInfo_right"},o.default.createElement("span",{className:"versionName"},o.default.createElement("span",{className:"task-hide"},e.name),o.default.createElement(s.Link,{to:"/projects/"+a+"/"+r+"/releases/"+e.version_id+"/update",className:"color-blue ml3 font-12"},"(编辑)")),o.default.createElement("span",{className:"color-grey-3"},o.default.createElement("i",{className:e.bodyshow?"iconfont icon-sanjiaoxing-down color-grey-8 mr3 font-14":"iconfont icon-triangle color-grey-8 mr3 font-14",onClick:function(){return n.showBody(t,e.bodyshow)}}),e.user_name,":",o.default.createElement("span",{className:"color-grey-8"},"发布了这个版本,并在发布后提交给",e.target_commitish)),e.bodyshow&&o.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:e.body,url:n.props.history.location}),o.default.createElement(u.default,null),o.default.createElement("p",{className:"mt10 pl3"},o.default.createElement("a",{href:e.tarball_url,style:{color:"#4CC1DA"},className:"mr30"},o.default.createElement("i",{className:"iconfont icon-TAR font-18 mr5"}),"TAR"),o.default.createElement("a",{href:e.zipball_url,style:{color:"#28BD6C"}},o.default.createElement("i",{className:"iconfont icon-ZIP font-18 mr5"}),"ZIP"))))}))):o.default.createElement(l.default,{_html:"暂时还没有相关数据!"})},n.state={issue_chosen:void 0,data:void 0,releases:void 0,issues:void 0,isSpin:!1,search:void 0,search_count: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),r(t,[{key:"render",value:function(){var e=this.props.match.params,t=e.projectsId,n=e.owner,r=this.state,a=r.data,l=r.releases;return o.default.createElement("div",{className:"main",style:{paddingTop:"0px"}},o.default.createElement("div",{className:"topWrapper"},o.default.createElement("span",{className:"font-18 color-grey-3"},"版本发布"),a&&a.user_permission?o.default.createElement(s.Link,{to:"/projects/"+n+"/"+t+"/releases/new",className:"topWrapper_btn_new"},"+ 发布新版"):""),o.default.createElement("div",{className:"releasesVersion"},this.renderList(l)))}}]),t}(a.Component);t.default=f},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("q1tI"),a=u(r);n("vg9a");var o=n("ud8/"),s=u(o);n("SJMd");var l=u(n("wMS7")),c=n("Oy/b");function u(e){return e&&e.__esModule?e:{default:e}}var i=/<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),E=(0,r.useMemo)((function(){var e=(0,s.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,c.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(p&&p.hash&&E){var e=p.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+220)}}}),[p]);var b=(0,r.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n.startsWith("#")){e.preventDefault();var r=document.getElementById(n.replace("#",""));r&&r.scrollIntoView(!0)}}}return(0,r.useEffect)((function(){if(b.current&&E&&E.match(i)&&window.PR.prettyPrint(),b.current)return b.current.addEventListener("click",v),function(){b.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[E,b.current,v]),a.default.createElement("div",{ref:b,style:d,className:(u||"")+" markdown-body",dangerouslySetInnerHTML:{__html:E}})}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},eV6p:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/66.c162e3eb.chunk.js b/static/js/68.4342cfa6.chunk.js similarity index 86% rename from static/js/66.c162e3eb.chunk.js rename to static/js/68.4342cfa6.chunk.js index 5e5b06050..4caf6673f 100644 --- a/static/js/66.c162e3eb.chunk.js +++ b/static/js/68.4342cfa6.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[66],{"CSm+":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(a("q1tI")),l=a("eO8H"),u=c(a("CnBM")),r=c(a("HUFq")),d=c(a("eGzb"));function c(e){return e&&e.__esModule?e:{default:e}}a("VUSe");var i=(0,u.default)({loader:function(){return Promise.all([a.e(0),a.e(5),a.e(6),a.e(55)]).then(a.t.bind(null,"wZuH",7))},loading:r.default}),o=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(79)]).then(a.t.bind(null,"093b",7))},loading:r.default}),f=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(78)]).then(a.t.bind(null,"8Or8",7))},loading:r.default});t.default=function(e){return n.default.createElement("div",{className:"teamDetail"},n.default.createElement(d.default,{title:"组织名称",desc:"组织名称组织名称组织名称组织名称组织名称",rightBtn:n.default.createElement("a",{className:"color-blue"},"设置",n.default.createElement("i",{className:"iconfont icon-shezhi2 ml3"})),img:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=4193840146,2109186388&fm=26&gp=0.jpg"}),n.default.createElement(l.Switch,e,n.default.createElement(l.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(){return n.default.createElement(f,e)}}),n.default.createElement(l.Route,{path:"/organize/:organizeId/setting",render:function(){return n.default.createElement(o,e)}}),n.default.createElement(l.Route,{path:"/organize/:organizeId",render:function(){return n.default.createElement(i,e)}})))}},KkuB:function(e,t,a){},VUSe:function(e,t,a){},eGzb:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=a("q1tI"),u=(n=l)&&n.__esModule?n:{default:n};a("KkuB"),t.default=function(e){var t=e.img,a=e.title,n=e.desc,l=e.rightBtn;return u.default.createElement("div",{className:"cards"},u.default.createElement("div",{className:"img"},u.default.createElement("img",{src:t,alt:""})),u.default.createElement("div",{className:"content"},u.default.createElement("p",{className:"titles"},u.default.createElement("span",null,a),l),u.default.createElement("div",{className:"desc"},n)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[68],{"CSm+":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=c(a("q1tI")),l=a("eO8H"),u=c(a("CnBM")),r=c(a("HUFq")),d=c(a("eGzb"));function c(e){return e&&e.__esModule?e:{default:e}}a("VUSe");var i=(0,u.default)({loader:function(){return Promise.all([a.e(0),a.e(5),a.e(6),a.e(56)]).then(a.t.bind(null,"wZuH",7))},loading:r.default}),o=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(80)]).then(a.t.bind(null,"093b",7))},loading:r.default}),f=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(79)]).then(a.t.bind(null,"8Or8",7))},loading:r.default});t.default=function(e){return n.default.createElement("div",{className:"teamDetail"},n.default.createElement(d.default,{title:"组织名称",desc:"组织名称组织名称组织名称组织名称组织名称",rightBtn:n.default.createElement("a",{className:"color-blue"},"设置",n.default.createElement("i",{className:"iconfont icon-shezhi2 ml3"})),img:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=4193840146,2109186388&fm=26&gp=0.jpg"}),n.default.createElement(l.Switch,e,n.default.createElement(l.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(){return n.default.createElement(f,e)}}),n.default.createElement(l.Route,{path:"/organize/:organizeId/setting",render:function(){return n.default.createElement(o,e)}}),n.default.createElement(l.Route,{path:"/organize/:organizeId",render:function(){return n.default.createElement(i,e)}})))}},KkuB:function(e,t,a){},VUSe:function(e,t,a){},eGzb:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=a("q1tI"),u=(n=l)&&n.__esModule?n:{default:n};a("KkuB"),t.default=function(e){var t=e.img,a=e.title,n=e.desc,l=e.rightBtn;return u.default.createElement("div",{className:"cards"},u.default.createElement("div",{className:"img"},u.default.createElement("img",{src:t,alt:""})),u.default.createElement("div",{className:"content"},u.default.createElement("p",{className:"titles"},u.default.createElement("span",null,a),l),u.default.createElement("div",{className:"desc"},n)))}}}]); \ No newline at end of file diff --git a/static/js/69.a2a0a4af.chunk.js b/static/js/69.a2a0a4af.chunk.js deleted file mode 100644 index f6dee79e9..000000000 --- a/static/js/69.a2a0a4af.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[69],{"3cxI":function(e,t,n){},"9e53":function(e,t,n){var o,r;(function(){(function(){(function(){var e=[].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(e){var t;return null==e&&(e=null!=(t=this.getConfig("url"))?t:this.INTERNAL.default_mount_path),new i.Consumer(this.createWebSocketURL(e))},getConfig:function(e){var t;return null!=(t=document.head.querySelector("meta[name='action-cable-"+e+"']"))?t.getAttribute("content"):void 0},createWebSocketURL:function(e){var t;return e&&!/^wss?:/i.test(e)?((t=document.createElement("a")).href=e,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href):e},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var t,n;if(t=1<=arguments.length?e.call(arguments,0):[],this.debugging)return t.push(Date.now()),(n=this.logger).log.apply(n,["[ActionCable]"].concat(e.call(t)))}}}).call(this)}).call(this);var i=this.ActionCable;(function(){(function(){i.ConnectionMonitor=function(){var e,t,n;function o(e){var t,n;this.connection=e,this.visibilityDidChange=(t=this.visibilityDidChange,n=this,function(){return t.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=t(),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=t(),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=t()},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=t(),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((e=this,function(){return e.reconnectIfStale(),e.poll()}),this.getPollInterval());var e},o.prototype.getPollInterval=function(){var t,n,o,r;return o=(r=this.constructor.pollInterval).min,n=r.max,t=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*e(t,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 e;return n(null!=(e=this.pingedAt)?e: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((e=this,function(){if(e.connectionIsStale()||!e.connection.isOpen())return i.log("ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = "+document.visibilityState),e.connection.reopen()}),200);var e},t=function(){return(new Date).getTime()},n=function(e){return(t()-e)/1e3},e=function(e,t,n){return Math.max(t,Math.min(n,e))},o}()}).call(this),function(){var e,t,n,o,r,a=[].slice,l=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};o=i.INTERNAL,t=o.message_types,n=o.protocols,r=2<=n.length?a.call(n,0,e=n.length-1):(e=0,[]),n[e++],i.Connection=function(){function e(e){var t,n;this.consumer=e,this.open=(t=this.open,n=this,function(){return t.apply(n,arguments)}),this.subscriptions=this.consumer.subscriptions,this.monitor=new i.ConnectionMonitor(this),this.disconnected=!0}return e.reopenDelay=500,e.prototype.send=function(e){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(e)),!0)},e.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)},e.prototype.close=function(e){var t;if((null!=e?e:{allowReconnect:!0}).allowReconnect||this.monitor.stop(),this.isActive())return null!=(t=this.webSocket)?t.close():void 0},e.prototype.reopen=function(){var e;if(i.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(t){return e=t,i.log("Failed to reopen WebSocket",e)}finally{i.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},e.prototype.getProtocol=function(){var e;return null!=(e=this.webSocket)?e.protocol:void 0},e.prototype.isOpen=function(){return this.isState("open")},e.prototype.isActive=function(){return this.isState("open","connecting")},e.prototype.isProtocolSupported=function(){var e;return e=this.getProtocol(),l.call(r,e)>=0},e.prototype.isState=function(){var e,t;return t=1<=arguments.length?a.call(arguments,0):[],e=this.getState(),l.call(t,e)>=0},e.prototype.getState=function(){var e,t;for(t in WebSocket)if(WebSocket[t]===(null!=(e=this.webSocket)?e.readyState:void 0))return t.toLowerCase();return null},e.prototype.installEventHandlers=function(){var e,t;for(e in this.events)t=this.events[e].bind(this),this.webSocket["on"+e]=t},e.prototype.uninstallEventHandlers=function(){var e;for(e in this.events)this.webSocket["on"+e]=function(){}},e.prototype.events={message:function(e){var n,o,r;if(this.isProtocolSupported())switch(n=(r=JSON.parse(e.data)).identifier,o=r.message,r.type){case t.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case t.ping:return this.monitor.recordPing();case t.confirmation:return this.subscriptions.notify(n,"connected");case t.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(e){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")}},e}()}.call(this),function(){var e=[].slice;i.Subscriptions=function(){function t(e){this.consumer=e,this.subscriptions=[]}return t.prototype.create=function(e,t){var n,o,r;return o="object"==typeof(n=e)?n:{channel:n},r=new i.Subscription(this.consumer,o,t),this.add(r)},t.prototype.add=function(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.sendCommand(e,"subscribe"),e},t.prototype.remove=function(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e},t.prototype.reject=function(e){var t,n,o,r,i;for(r=[],t=0,n=(o=this.findAll(e)).length;t<n;t++)i=o[t],this.forget(i),this.notify(i,"rejected"),r.push(i);return r},t.prototype.forget=function(e){var t;return this.subscriptions=function(){var n,o,r,i;for(i=[],n=0,o=(r=this.subscriptions).length;n<o;n++)(t=r[n])!==e&&i.push(t);return i}.call(this),e},t.prototype.findAll=function(e){var t,n,o,r,i;for(r=[],t=0,n=(o=this.subscriptions).length;t<n;t++)(i=o[t]).identifier===e&&r.push(i);return r},t.prototype.reload=function(){var e,t,n,o,r;for(o=[],e=0,t=(n=this.subscriptions).length;e<t;e++)r=n[e],o.push(this.sendCommand(r,"subscribe"));return o},t.prototype.notifyAll=function(){var t,n,o,r,i,a,l;for(n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],a=[],o=0,r=(i=this.subscriptions).length;o<r;o++)l=i[o],a.push(this.notify.apply(this,[l,n].concat(e.call(t))));return a},t.prototype.notify=function(){var t,n,o,r,i,a,l;for(a=arguments[0],n=arguments[1],t=3<=arguments.length?e.call(arguments,2):[],i=[],o=0,r=(l="string"==typeof a?this.findAll(a):[a]).length;o<r;o++)a=l[o],i.push("function"==typeof a[n]?a[n].apply(a,t):void 0);return i},t.prototype.sendCommand=function(e,t){var n;return n=e.identifier,this.consumer.send({command:t,identifier:n})},t}()}.call(this),function(){i.Subscription=function(){var e;function t(t,n,o){this.consumer=t,null==n&&(n={}),this.identifier=JSON.stringify(n),e(this,o)}return t.prototype.perform=function(e,t){return null==t&&(t={}),t.action=e,this.send(t)},t.prototype.send=function(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})},t.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},e=function(e,t){var n,o;if(null!=t)for(n in t)o=t[n],e[n]=o;return e},t}()}.call(this),function(){i.Consumer=function(){function e(e){this.url=e,this.subscriptions=new i.Subscriptions(this),this.connection=new i.Connection(this)}return e.prototype.send=function(e){return this.connection.send(e)},e.prototype.connect=function(){return this.connection.open()},e.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},e.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},e}()}.call(this)}).call(this),e.exports?e.exports=i:void 0===(r="function"==typeof(o=i)?o.call(t,n,t,e):o)||(e.exports=r)}).call(this)},NUct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=h(n("W9HT")),r=h(n("3S7+")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();n("04bd"),n("TfFZ");var l=n("q1tI"),s=h(l),c=n("eO8H"),u=n("spEH");n("7dqz"),n("3cxI");var d=h(n("CnBM")),p=h(n("HUFq")),f=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var m=(0,d.default)({loader:function(){return n.e(86).then(n.t.bind(null,"6dZj",7))},loading:p.default}),g=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(17)]).then(n.t.bind(null,"DTGX",7))},loading:p.default}),b=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(25)]).then(n.t.bind(null,"IZ3b",7))},loading:p.default}),x=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(23)]).then(n.t.bind(null,"SqvK",7))},loading:p.default}),y=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(33)]).then(n.t.bind(null,"WT1Z",7))},loading:p.default}),v=(0,d.default)({loader:function(){return n.e(89).then(n.t.bind(null,"+JVH",7))},loading:p.default}),E=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(36)]).then(n.t.bind(null,"fyLZ",7))},loading:p.default}),w=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(35)]).then(n.t.bind(null,"s4sY",7))},loading:p.default}),_=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(34)]).then(n.t.bind(null,"IxYK",7))},loading:p.default}),j=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(26)]).then(n.t.bind(null,"+JJy",7))},loading:p.default}),k=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(24)]).then(n.t.bind(null,"Gofe",7))},loading:p.default}),S=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(41)]).then(n.t.bind(null,"VSCt",7))},loading:p.default}),N=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(20)]).then(n.t.bind(null,"YxIK",7))},loading:p.default}),C=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.t.bind(null,"TiQt",7))},loading:p.default}),I=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(22)]).then(n.t.bind(null,"vhIH",7))},loading:p.default}),R=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(37)]).then(n.t.bind(null,"+nTR",7))},loading:p.default}),P=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(63)]).then(n.t.bind(null,"cFFD",7))},loading:p.default}),A=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(62)]).then(n.t.bind(null,"zM51",7))},loading:p.default}),D=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(73)]).then(n.t.bind(null,"LMhh",7))},loading:p.default}),O=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(48)]).then(n.t.bind(null,"rS1K",7))},loading:p.default}),B=(0,d.default)({loader:function(){return Promise.all([n.e(10),n.e(32),n.e(59)]).then(n.t.bind(null,"B3S4",7))},loading:p.default}),M=(0,d.default)({loader:function(){return n.e(83).then(n.t.bind(null,"cuo/",7))},loading:p.default});var L=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 o=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 o.componentDidMount=function(){o.getProject()},o.componentDidUpdate=function(e){var t=e.match.params,n=o.props.match.params;e&&o.props&&(t.projectsId!==n.projectsId||t.owner!==n.owner)&&o.getProject()},o.getProject=function(e){var t=o.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/simple.json";f.default.get(r).then((function(t){t&&t.data&&(o.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 --------"),o.canvasChannel(),e?o.setState({secondSync:!0,firsrtSync:!1}):o.setState({firstSync:!0,secondSync:!1})):(o.getDetail(),o.setState({firsrtSync:!1,secondSync:!1})))}))},o.changeOpenDevops=function(e){o.setState({open_devops:e})},o.canvasChannel=function(){var e="localhost"===window.location.hostname?"testforgeplus.trustie.net":window.location.hostname,t=n("9e53"),r=o.state.project,i=t.createConsumer("wss://"+e+"/cable");o.canvasChannel1=i.subscriptions.create({channel:"MirrorProjectChannel",id:r&&r.identifier},{connected:function(){console.log("###### channel connected! ######")},disconnected:function(){},received:function(e){console.log("###### ---received data--- ######"),e&&(o.getDetail(),i.subscriptions.consumer.disconnect())}})},o.getDetail=function(){var e=o.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+".json";f.default.get(n).then((function(e){e&&e.data&&o.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,author:e.data.author,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){}))},o.focusFunc=function(e){if(o.state.platform){var t=o.state.project_id;(0,f.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&&o.setWatchersCount(e.data.watchers_count,e.data.watched)})).catch((function(e){console.log(e)}))}},o.pariseFunc=function(e){if(o.state.platform){var t=o.state.project_id;(0,f.default)({method:e?"delete":"post",url:"/projects/"+t+"/praise_tread/"+(e?"unlike":"like")+".json"}).then((function(e){e&&0===e.data.status&&o.setPraisesCount(e.data.praises_count,e.data.praised)})).catch((function(e){console.log(e)}))}},o.setWatchersCount=function(e,t){o.setState({watched:t,watchers_count:e})},o.setPraisesCount=function(e,t){o.setState({praised:t,praises_count:e})},o.forkFunc=function(){if(o.state.platform){var e=o.props.current_user,t=o.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/forks.json";f.default.post(r).then((function(t){t&&0===t.data.status&&(o.props.history.push("/projects/"+(e&&e.login)+"/"+t.data.identifier),o.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))}},o.synchronismMirror=function(){if(o.state.platform){var e=o.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+"/sync_mirror.json";f.default.post(n).then((function(e){e&&e.data&&0===e.data.status?o.getProject(2):o.props.showNotification("镜像同步失败!")})).catch((function(e){console.log(e)}))}},o.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,author:void 0,branchs:void 0,branchList:void 0,project:null,firstSync:!1,secondSync:!1,open_devops:!1,defaultBranch:void 0,platform:!1},o}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.projectDetail,a=t.watchers_count,l=t.praises_count,d=t.forked_count,p=t.firstSync,f=t.secondSync,h=t.isManager,L=t.watched,F=t.praised,T=t.project,W=t.open_devops,z=t.platform,H=t.defaultBranch,q=this.props.history.location.pathname,J=3===q.split("/").length,G=this.props.match.params,U=G.projectsId,Z=G.owner,K=function(e,t,n){var o="";return n&&n!=="/projects/"+t+"/"+e&&(n.indexOf("/about")>-1?o="about":n.indexOf("/issues")>-1||n.indexOf("Milepost")>0?o="issues":n.indexOf("/pulls")>-1?o="pulls":n.indexOf("/milestones")>-1?o="milestones":n.indexOf("/activity")>-1?o="activity":n.indexOf("/setting")>-1?o="setting":n.indexOf("/devops")>-1&&(o="devops")),o}(U,Z,q),Y=this.props.history.location.state,V=n&&n.forked_from_project_id&&n.fork_info?s.default.createElement(s.default.Fragment,null,s.default.createElement("span",null,"forked from "),s.default.createElement(c.Link,{to:"/users/"+n.fork_info.fork_project_user_login,className:"show-user-link color-grey-ccc"},n.fork_info.fork_project_user_name),s.default.createElement("span",null," / "),s.default.createElement(c.Link,{to:"/projects/"+n.fork_info.fork_project_user_login+"/"+n.fork_info.fork_project_identifier,className:"color-grey-ccc"},n.fork_info.fork_form_name)):"",Q={getDetail:this.getDetail,changeOpenDevops:this.changeOpenDevops,defaultBranch:H};return s.default.createElement("div",null,s.default.createElement("div",{className:"detailHeader-wrapper"},s.default.createElement("div",{className:"normal"},s.default.createElement("div",{className:"f-wrap-between pb15",style:{position:"relative"}},s.default.createElement("p",{className:"font-22 df flex-1 lineH2 mt15",style:{alignItems:"center"}},T&&T.author&&s.default.createElement(c.Link,{to:"/users/"+T.author.login,className:"show-user-link"},T.author.name),s.default.createElement("span",{className:"ml5 mr5"},"/"),s.default.createElement("span",{className:"hide-1 flex-1 df"},s.default.createElement(c.Link,{to:"/projects/"+Z+"/"+U,className:"font-22"},T&&T.name),n&&n.forked_from_project_id&&n.fork_info?s.default.createElement(r.default,{placement:"right",title:V},s.default.createElement(c.Link,{to:"/projects/"+n.fork_info.fork_project_user_login+"/"+n.fork_info.fork_project_identifier,className:"ml10"},s.default.createElement("i",{className:"iconfont icon-fork font-18 fl mt6",style:{color:"#8D90E3"}}))):"",n&&n.type&&0!==n.type?2===n.type?s.default.createElement(r.default,{title:"镜像自: "+n.mirror_url,className:"ml5",placement:"right"},s.default.createElement("i",{className:"iconfont icon-banbenku font-18 mt6",style:{color:"#8D90E3"}})):s.default.createElement(r.default,{title:"镜像自: "+n.mirror_url,className:"ml5",placement:"right"},s.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green mt6"})):"")),p?"":s.default.createElement("span",{className:"df mt25"},n&&n.type&&2===n.type?s.default.createElement("a",{className:"synchronism ml30",onClick:this.synchronismMirror},"同步镜像"):"",s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:function(){return e.focusFunc(L)}},s.default.createElement("i",{className:L?"iconfont icon-shixing color-orange font-16 mr3":"iconfont icon-kongxing color-grey-9 font-16 mr3"}),s.default.createElement("span",null,L?"取消关注":"关注")),a>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",style:{color:L?"#2878FF":"#666"},to:z?{pathname:"/projects/"+Z+"/"+U+"/watchers",state:Y}:""},a):s.default.createElement("span",{className:"detail_tag_btn_count"},a):""),s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:function(){return e.pariseFunc(F)}},s.default.createElement("i",{className:F?"iconfont icon-weibiaoti105 color-orange font-14 mr3":"iconfont icon-guanzhu color-grey-9 font-14 mr3"}),s.default.createElement("span",null,F?"取消点赞":"点赞")),l>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",style:{color:F?"#2878FF":"#666"},to:{pathname:"/projects/"+Z+"/"+U+"/stargazers",state:Y}},l):s.default.createElement("span",{className:"detail_tag_btn_count"},l):""),s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:this.forkFunc},s.default.createElement("i",{className:"iconfont icon-fork color-grey-9 mr3"}),"复刻 (Fork)"),d>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",to:{pathname:"/projects/"+Z+"/"+U+"/fork_users",state:Y}},d):s.default.createElement("span",{className:"detail_tag_btn_count"},d):""))),p?"":s.default.createElement("div",{className:"f-wrap-between mt15"},s.default.createElement("ul",{className:"headerMenu-wrapper"},s.default.createElement("li",{className:"about"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/about",state:Y}},s.default.createElement("i",{className:""===K||J?"iconfont icon-zhuye1 color-grey-3 mr5 font-14":"iconfont icon-zhuye1 color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"主页"))),s.default.createElement("li",{className:""===K||J?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U,state:Y}},s.default.createElement("i",{className:""===K||J?"iconfont icon-daimaku color-grey-3 mr5 font-14":"iconfont icon-daimaku color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"代码库"))),s.default.createElement("li",{className:"issues"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/issues",state:Y}},s.default.createElement("i",{className:"issues"===K?"iconfont icon-renwu color-grey-3 mr5 font-14":"iconfont icon-renwu color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"易修 (Issue)"),n&&n.issues_count?s.default.createElement("span",{className:"num"},n.issues_count):"")),n&&2!==parseInt(n.type)&&z&&s.default.createElement("li",{className:"pulls"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/pulls",state:Y}},s.default.createElement("i",{className:"pulls"===K?"iconfont icon-hebingqingqiu1 color-grey-3 mr5 font-14":"iconfont icon-hebingqingqiu1 color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"合并请求"),n&&n.pull_requests_count?s.default.createElement("span",{className:"num"},n.pull_requests_count):"")),z&&s.default.createElement("li",{className:"devops"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/devops"+(W?"/dispose":""),state:Y}},s.default.createElement("i",{className:"iconfont icon-gongzuoliu font-13 mr8"}),"工作流(beta版)",n&&n.ops_count?s.default.createElement("span",null,n.ops_count):"")),s.default.createElement("li",{className:"milestones"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/milestones",state:Y}},s.default.createElement("i",{className:"milestones"===K?"iconfont icon-lichengbei color-grey-3 mr5 font-14":"iconfont icon-lichengbei color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"里程碑"),n&&n.versions_count?s.default.createElement("span",{className:"num"},n.versions_count):"")),s.default.createElement("li",{className:"activity"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/activity",state:Y}},s.default.createElement("i",{className:"activity"===K?"iconfont icon-tongzhi color-grey-3 mr5 font-14":"iconfont icon-tongzhi color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"动态"))),h&&z&&s.default.createElement("li",{className:q.indexOf("/setting")>0?"active":""},s.default.createElement(c.Link,{to:"/projects/"+Z+"/"+U+"/setting"},s.default.createElement("i",{className:q.indexOf("/setting")>0?"iconfont icon-cangku color-grey-3 mr5 font-14":"iconfont icon-cangku color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"仓库设置"))))))),p?s.default.createElement(u.Content,{className:"spincontent"},s.default.createElement(o.default,{className:"spinstyle",tip:T&&"正在从 "+T.mirror_url+" 迁移",size:"large"})):s.default.createElement(o.default,{spinning:f,className:"spinstyle",tip:"正在同步镜像",size:"large"},s.default.createElement(c.Switch,this.props,s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/about",render:function(){return s.default.createElement(B,i({},e.props,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/devops",render:function(){return s.default.createElement(M,i({},e.props,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/tags",render:function(t){return s.default.createElement(g,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return s.default.createElement(m,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/detail",render:function(t){return s.default.createElement(x,i({},e.props,e.state,t,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/:meilid/edit",render:function(t){return s.default.createElement(_,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/new",render:function(t){return s.default.createElement(w,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/:meilid",render:function(t){return s.default.createElement(R,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones",render:function(t){return s.default.createElement(E,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:milepostId/new",render:function(t){return s.default.createElement(b,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/new",render:function(t){return s.default.createElement(b,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/updatedetail",render:function(t){return s.default.createElement(j,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/copyetail",render:function(t){return s.default.createElement(k,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/activity",render:function(t){return s.default.createElement(O,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues",render:function(t){return s.default.createElement(y,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/new",render:function(t){return s.default.createElement(N,i({},e.props,t,e.state,Q,{is_fork:!0}))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/UpdateMerge",render:function(t){return s.default.createElement(I,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/Messagecount",render:function(t){return s.default.createElement(C,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/MergeSubmit",render:function(t){return s.default.createElement(C,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls",render:function(t){return s.default.createElement(S,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/coders/filesurl",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/watchers",render:function(t){return s.default.createElement(P,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/stargazers",render:function(t){return s.default.createElement(A,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/fork_users",render:function(t){return s.default.createElement(D,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/commits/branch/:branchName",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/branch/:branchName",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}))))}}]),t}(l.Component);t.default=L},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var o,r=k(["{\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=k(["{\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=k(["{\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=k(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=k(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),c=k(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=k(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),d=k(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),p=k(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=k(["{\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=k(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=k(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=k(["{\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}"]),b=k(["{\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}"]),x=k(["{\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}"]),y=k(["{\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}"]),v=k(["{\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}"]),E=k(["{\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}"]),w=k(["{\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("vOnD"),j=(o=_)&&o.__esModule?o:{default:o};function k(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=j.default.div(r),t.AlignCenterBetween=j.default.div(i),t.FlexAJ=j.default.div(a),t.AlignCenter=j.default.div(l),t.Box=j.default.div(s),t.Long=j.default.div(c),t.Short=j.default.div(u),t.Gap=j.default.div(d),t.WhiteBack=j.default.div(p),t.Blueline=j.default.a(f),t.Redline=j.default.a(h),t.Greenline=j.default.a(m),t.Greenback=j.default.a(g),t.Blueback=j.default.a(b),t.Redback=j.default.a(x),t.NumUl=j.default.ul(y),t.GreenUnder=j.default.a(v),t.Cancel=j.default.a(E),t.Content=j.default.div(w)}}]); \ No newline at end of file diff --git a/static/js/67.4b397075.chunk.js b/static/js/69.f5c0d347.chunk.js similarity index 87% rename from static/js/67.4b397075.chunk.js rename to static/js/69.f5c0d347.chunk.js index f977a7d98..467529e65 100644 --- a/static/js/67.4b397075.chunk.js +++ b/static/js/69.f5c0d347.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[67],{CyMe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("q1tI")),n=a("eO8H"),u=c(a("CnBM")),r=c(a("HUFq"));a("VUSe");var d=c(a("eGzb"));function c(e){return e&&e.__esModule?e:{default:e}}var i=(0,u.default)({loader:function(){return Promise.all([a.e(2),a.e(4),a.e(6),a.e(9),a.e(42)]).then(a.t.bind(null,"IaUq",7))},loading:r.default}),f=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(88)]).then(a.t.bind(null,"bKeb",7))},loading:r.default}),o=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(81)]).then(a.t.bind(null,"yvJ0",7))},loading:r.default}),m=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(13),a.e(68)]).then(a.t.bind(null,"BX1b",7))},loading:r.default});t.default=function(e){return l.default.createElement("div",{className:"teamDetail"},l.default.createElement(d.default,{title:"组织名称",rightBtn:l.default.createElement("span",{className:"subNavs"},l.default.createElement(n.Link,{to:"",className:"active"},l.default.createElement("span",null,"组织成员"),l.default.createElement("lable",null,"13")),l.default.createElement(n.Link,{to:""},l.default.createElement("span",null,"组织团队"),l.default.createElement("lable",null,"13"))),img:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=4193840146,2109186388&fm=26&gp=0.jpg"}),l.default.createElement(n.Switch,e,l.default.createElement(n.Route,{path:"/organize/:organizeId/member/:memberId",render:function(e){return l.default.createElement(m,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/member",render:function(e){return l.default.createElement(o,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/group/new",render:function(e){return l.default.createElement(i,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/group",render:function(e){return l.default.createElement(f,e)}})))}},KkuB:function(e,t,a){},VUSe:function(e,t,a){},eGzb:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=a("q1tI"),u=(l=n)&&l.__esModule?l:{default:l};a("KkuB"),t.default=function(e){var t=e.img,a=e.title,l=e.desc,n=e.rightBtn;return u.default.createElement("div",{className:"cards"},u.default.createElement("div",{className:"img"},u.default.createElement("img",{src:t,alt:""})),u.default.createElement("div",{className:"content"},u.default.createElement("p",{className:"titles"},u.default.createElement("span",null,a),n),u.default.createElement("div",{className:"desc"},l)))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[69],{CyMe:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=c(a("q1tI")),n=a("eO8H"),u=c(a("CnBM")),r=c(a("HUFq"));a("VUSe");var d=c(a("eGzb"));function c(e){return e&&e.__esModule?e:{default:e}}var i=(0,u.default)({loader:function(){return Promise.all([a.e(2),a.e(4),a.e(6),a.e(9),a.e(43)]).then(a.t.bind(null,"IaUq",7))},loading:r.default}),f=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(89)]).then(a.t.bind(null,"bKeb",7))},loading:r.default}),o=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(82)]).then(a.t.bind(null,"yvJ0",7))},loading:r.default}),m=(0,u.default)({loader:function(){return Promise.all([a.e(6),a.e(13),a.e(70)]).then(a.t.bind(null,"BX1b",7))},loading:r.default});t.default=function(e){return l.default.createElement("div",{className:"teamDetail"},l.default.createElement(d.default,{title:"组织名称",rightBtn:l.default.createElement("span",{className:"subNavs"},l.default.createElement(n.Link,{to:"",className:"active"},l.default.createElement("span",null,"组织成员"),l.default.createElement("lable",null,"13")),l.default.createElement(n.Link,{to:""},l.default.createElement("span",null,"组织团队"),l.default.createElement("lable",null,"13"))),img:"https://dss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=4193840146,2109186388&fm=26&gp=0.jpg"}),l.default.createElement(n.Switch,e,l.default.createElement(n.Route,{path:"/organize/:organizeId/member/:memberId",render:function(e){return l.default.createElement(m,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/member",render:function(e){return l.default.createElement(o,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/group/new",render:function(e){return l.default.createElement(i,e)}}),l.default.createElement(n.Route,{path:"/organize/:organizeId/group",render:function(e){return l.default.createElement(f,e)}})))}},KkuB:function(e,t,a){},VUSe:function(e,t,a){},eGzb:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l,n=a("q1tI"),u=(l=n)&&l.__esModule?l:{default:l};a("KkuB"),t.default=function(e){var t=e.img,a=e.title,l=e.desc,n=e.rightBtn;return u.default.createElement("div",{className:"cards"},u.default.createElement("div",{className:"img"},u.default.createElement("img",{src:t,alt:""})),u.default.createElement("div",{className:"content"},u.default.createElement("p",{className:"titles"},u.default.createElement("span",null,a),n),u.default.createElement("div",{className:"desc"},l)))}}}]); \ No newline at end of file diff --git a/static/js/68.93dd2cf4.chunk.js b/static/js/70.639a69d6.chunk.js similarity index 99% rename from static/js/68.93dd2cf4.chunk.js rename to static/js/70.639a69d6.chunk.js index a28351347..1059b105b 100644 --- a/static/js/68.93dd2cf4.chunk.js +++ b/static/js/70.639a69d6.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[68],{BX1b:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a,l=g(t("2/Rp")),r=function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,e){var t=[],i=!0,a=!1,l=void 0;try{for(var r,d=n[Symbol.iterator]();!(i=(r=d.next()).done)&&(t.push(r.value),!e||t.length!==e);i=!0);}catch(n){a=!0,l=n}finally{try{!i&&d.return&&d.return()}finally{if(a)throw l}}return t}(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(i=["{\n display:block;\n border-radius:5px;\n border:1px solid rgba(40,189,108,1);\n color:rgba(40,189,108,1); \n padding:0px 14px;\n height:30px;\n line-height:30px;\n}"],a=["{\n display:block;\n border-radius:5px;\n border:1px solid rgba(40,189,108,1);\n color:rgba(40,189,108,1); \n padding:0px 14px;\n height:30px;\n line-height:30px;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(a)}})));t("L/Qf");var o=t("q1tI"),p=g(o),c=g(t("vOnD")),x=t("spEH"),u=g(t("y8d7")),f=g(t("JyIB")),s=g(t("zsM7"));function g(n){return n&&n.__esModule?n:{default:n}}var h=c.default.a(d);e.default=function(n){var e=(0,o.useState)("0"),t=r(e,2),i=t[0],a=t[1];return p.default.createElement(x.Box,{className:"GroupSubLevel"},p.default.createElement(x.Short,{className:"g-sub-left"},p.default.createElement(x.AlignCenterBetween,null,p.default.createElement("span",{className:"color-grey-3"},"Owndsknamename"),p.default.createElement(h,null,"离开团队")),p.default.createElement("div",{className:"g-desc"},"该团队暂无描述"),p.default.createElement("div",{className:"g-tip"},p.default.createElement("p",null,"管理员团队对 ",p.default.createElement("span",null,"所有仓库")," 具有操作权限,且对组织具有 ",p.default.createElement("span",null,"管理员权限"),"。 "),p.default.createElement("p",null,"此外,该团队拥有了 ",p.default.createElement("span",null,"创建仓库")," 的权限:成员可以在组织中创建新的仓库。 "),p.default.createElement(l.default,{type:"primary"},"团队设置"))),p.default.createElement(x.Long,null,p.default.createElement(x.Gap,null,p.default.createElement(x.WhiteBack,null,p.default.createElement(u.default,{nav:["团队成员","团队项目"],index:i,onChange:a},"0"===i?p.default.createElement(f.default,null):p.default.createElement(s.default,null))))))}},JyIB:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t("q1tI")),a=l(t("YHS8"));function l(n){return n&&n.__esModule?n:{default:n}}e.default=function(){return i.default.createElement("div",null,i.default.createElement("div",{className:"MemberBoxThree"},i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0})))}},YHS8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s(["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"],["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"]),a=s(["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"],["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"]),l=s(["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"],["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"]),r=s(["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"],["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"]),d=s(["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"],["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"]),o=s(["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"]),p=s(["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"]),c=s(["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"],["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"]),x=f(t("q1tI"));t("KkuB");var u=f(t("vOnD"));function f(n){return n&&n.__esModule?n:{default:n}}function s(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var g=u.default.img(i),h=u.default.div(a),m=u.default.div(l),b=u.default.i(r),y=u.default.a(d),v=u.default.i(o),k=u.default.i(p),B=u.default.div(c);e.default=function(n){var e=n.img,t=n.name,i=n.time,a=n.focusStatus;return x.default.createElement(B,null,x.default.createElement(g,{src:e}),x.default.createElement("div",{className:"m-infos"},x.default.createElement(h,null,t),x.default.createElement(m,null,x.default.createElement(b,{className:"iconfont icon-shijian"}),"加入时间:",i),a?x.default.createElement(y,null,x.default.createElement(v,{className:"iconfont icon-shixing"}),"已关注"):x.default.createElement(y,null,x.default.createElement(k,{className:"iconfont icon-kongxing"}),"关注")))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,a=j(["{\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}"]),l=j(["{\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}"]),r=j(["{\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}"]),d=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),o=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),u=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=j(["{\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}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\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}"]),m=j(["{\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}"]),b=j(["{\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}"]),y=j(["{\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}"]),v=j(["{\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}"]),k=j(["{\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}"]),B=j(["{\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}"]),E=t("vOnD"),w=(i=E)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=w.default.div(a),e.AlignCenterBetween=w.default.div(l),e.FlexAJ=w.default.div(r),e.AlignCenter=w.default.div(d),e.Box=w.default.div(o),e.Long=w.default.div(p),e.Short=w.default.div(c),e.Gap=w.default.div(x),e.WhiteBack=w.default.div(u),e.Blueline=w.default.a(f),e.Redline=w.default.a(s),e.Greenline=w.default.a(g),e.Greenback=w.default.a(h),e.Blueback=w.default.a(m),e.Redback=w.default.a(b),e.NumUl=w.default.ul(y),e.GreenUnder=w.default.a(v),e.Cancel=w.default.a(k),e.Content=w.default.div(B)},y8d7:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t("ZTPi"));t("AUBz");var a=l(t("q1tI"));function l(n){return n&&n.__esModule?n:{default:n}}t("KkuB");var r=i.default.TabPane;e.default=function(n){var e=n.nav,t=n.index,l=n.onChange,d=n.children;return e&&e.length>0?a.default.createElement(i.default,{className:"tabsStyle",animated:!1,activeKey:t,onChange:l},e.map((function(n,e){return a.default.createElement(r,{tab:n,key:""+e},d)}))):""}},zsM7:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(["{\n padding:0px 38px;\n}"],["{\n padding:0px 38px;\n}"]),a=c(["{\n display:flex;\n align-items: center;\n padding:25px 0px;\n border-bottom:1px solid #eee;\n &:last-child{\n border-bottom:none;\n }\n}"],["{\n display:flex;\n align-items: center;\n padding:25px 0px;\n border-bottom:1px solid #eee;\n &:last-child{\n border-bottom:none;\n }\n}"]),l=c(["{\n width:30px;\n height:30px;\n margin-right:12px;\n border-radius:50%;\n}"],["{\n width:30px;\n height:30px;\n margin-right:12px;\n border-radius:50%;\n}"]),r=p(t("q1tI")),d=p(t("vOnD")),o=t("eO8H");function p(n){return n&&n.__esModule?n:{default:n}}function c(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var x=d.default.div(i),u=d.default.div(a),f=d.default.img(l);e.default=function(){return r.default.createElement(x,null,r.default.createElement(u,null,r.default.createElement(f,{src:"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg"}),r.default.createElement(o.Link,{to:""},"ajdfwkerijwirjklsf")),r.default.createElement(u,null,r.default.createElement(f,{src:"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg"}),r.default.createElement(o.Link,{to:""},"ajdfwkerijwirjklsf")))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[70],{BX1b:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a,l=g(t("2/Rp")),r=function(n,e){if(Array.isArray(n))return n;if(Symbol.iterator in Object(n))return function(n,e){var t=[],i=!0,a=!1,l=void 0;try{for(var r,d=n[Symbol.iterator]();!(i=(r=d.next()).done)&&(t.push(r.value),!e||t.length!==e);i=!0);}catch(n){a=!0,l=n}finally{try{!i&&d.return&&d.return()}finally{if(a)throw l}}return t}(n,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=(i=["{\n display:block;\n border-radius:5px;\n border:1px solid rgba(40,189,108,1);\n color:rgba(40,189,108,1); \n padding:0px 14px;\n height:30px;\n line-height:30px;\n}"],a=["{\n display:block;\n border-radius:5px;\n border:1px solid rgba(40,189,108,1);\n color:rgba(40,189,108,1); \n padding:0px 14px;\n height:30px;\n line-height:30px;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(a)}})));t("L/Qf");var o=t("q1tI"),p=g(o),c=g(t("vOnD")),x=t("spEH"),u=g(t("y8d7")),f=g(t("JyIB")),s=g(t("zsM7"));function g(n){return n&&n.__esModule?n:{default:n}}var h=c.default.a(d);e.default=function(n){var e=(0,o.useState)("0"),t=r(e,2),i=t[0],a=t[1];return p.default.createElement(x.Box,{className:"GroupSubLevel"},p.default.createElement(x.Short,{className:"g-sub-left"},p.default.createElement(x.AlignCenterBetween,null,p.default.createElement("span",{className:"color-grey-3"},"Owndsknamename"),p.default.createElement(h,null,"离开团队")),p.default.createElement("div",{className:"g-desc"},"该团队暂无描述"),p.default.createElement("div",{className:"g-tip"},p.default.createElement("p",null,"管理员团队对 ",p.default.createElement("span",null,"所有仓库")," 具有操作权限,且对组织具有 ",p.default.createElement("span",null,"管理员权限"),"。 "),p.default.createElement("p",null,"此外,该团队拥有了 ",p.default.createElement("span",null,"创建仓库")," 的权限:成员可以在组织中创建新的仓库。 "),p.default.createElement(l.default,{type:"primary"},"团队设置"))),p.default.createElement(x.Long,null,p.default.createElement(x.Gap,null,p.default.createElement(x.WhiteBack,null,p.default.createElement(u.default,{nav:["团队成员","团队项目"],index:i,onChange:a},"0"===i?p.default.createElement(f.default,null):p.default.createElement(s.default,null))))))}},JyIB:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t("q1tI")),a=l(t("YHS8"));function l(n){return n&&n.__esModule?n:{default:n}}e.default=function(){return i.default.createElement("div",null,i.default.createElement("div",{className:"MemberBoxThree"},i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),i.default.createElement(a.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0})))}},YHS8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s(["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"],["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"]),a=s(["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"],["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"]),l=s(["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"],["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"]),r=s(["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"],["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"]),d=s(["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"],["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"]),o=s(["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"]),p=s(["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"]),c=s(["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"],["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"]),x=f(t("q1tI"));t("KkuB");var u=f(t("vOnD"));function f(n){return n&&n.__esModule?n:{default:n}}function s(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var g=u.default.img(i),h=u.default.div(a),m=u.default.div(l),b=u.default.i(r),y=u.default.a(d),v=u.default.i(o),k=u.default.i(p),B=u.default.div(c);e.default=function(n){var e=n.img,t=n.name,i=n.time,a=n.focusStatus;return x.default.createElement(B,null,x.default.createElement(g,{src:e}),x.default.createElement("div",{className:"m-infos"},x.default.createElement(h,null,t),x.default.createElement(m,null,x.default.createElement(b,{className:"iconfont icon-shijian"}),"加入时间:",i),a?x.default.createElement(y,null,x.default.createElement(v,{className:"iconfont icon-shixing"}),"已关注"):x.default.createElement(y,null,x.default.createElement(k,{className:"iconfont icon-kongxing"}),"关注")))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,a=j(["{\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}"]),l=j(["{\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}"]),r=j(["{\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}"]),d=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),o=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),u=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=j(["{\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}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\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}"]),m=j(["{\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}"]),b=j(["{\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}"]),y=j(["{\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}"]),v=j(["{\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}"]),k=j(["{\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}"]),B=j(["{\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}"]),E=t("vOnD"),w=(i=E)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=w.default.div(a),e.AlignCenterBetween=w.default.div(l),e.FlexAJ=w.default.div(r),e.AlignCenter=w.default.div(d),e.Box=w.default.div(o),e.Long=w.default.div(p),e.Short=w.default.div(c),e.Gap=w.default.div(x),e.WhiteBack=w.default.div(u),e.Blueline=w.default.a(f),e.Redline=w.default.a(s),e.Greenline=w.default.a(g),e.Greenback=w.default.a(h),e.Blueback=w.default.a(m),e.Redback=w.default.a(b),e.NumUl=w.default.ul(y),e.GreenUnder=w.default.a(v),e.Cancel=w.default.a(k),e.Content=w.default.div(B)},y8d7:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t("ZTPi"));t("AUBz");var a=l(t("q1tI"));function l(n){return n&&n.__esModule?n:{default:n}}t("KkuB");var r=i.default.TabPane;e.default=function(n){var e=n.nav,t=n.index,l=n.onChange,d=n.children;return e&&e.length>0?a.default.createElement(i.default,{className:"tabsStyle",animated:!1,activeKey:t,onChange:l},e.map((function(n,e){return a.default.createElement(r,{tab:n,key:""+e},d)}))):""}},zsM7:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(["{\n padding:0px 38px;\n}"],["{\n padding:0px 38px;\n}"]),a=c(["{\n display:flex;\n align-items: center;\n padding:25px 0px;\n border-bottom:1px solid #eee;\n &:last-child{\n border-bottom:none;\n }\n}"],["{\n display:flex;\n align-items: center;\n padding:25px 0px;\n border-bottom:1px solid #eee;\n &:last-child{\n border-bottom:none;\n }\n}"]),l=c(["{\n width:30px;\n height:30px;\n margin-right:12px;\n border-radius:50%;\n}"],["{\n width:30px;\n height:30px;\n margin-right:12px;\n border-radius:50%;\n}"]),r=p(t("q1tI")),d=p(t("vOnD")),o=t("eO8H");function p(n){return n&&n.__esModule?n:{default:n}}function c(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var x=d.default.div(i),u=d.default.div(a),f=d.default.img(l);e.default=function(){return r.default.createElement(x,null,r.default.createElement(u,null,r.default.createElement(f,{src:"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg"}),r.default.createElement(o.Link,{to:""},"ajdfwkerijwirjklsf")),r.default.createElement(u,null,r.default.createElement(f,{src:"https://dss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=3025493530,1989042357&fm=26&gp=0.jpg"}),r.default.createElement(o.Link,{to:""},"ajdfwkerijwirjklsf")))}}}]); \ No newline at end of file diff --git a/static/js/71.047c0d96.chunk.js b/static/js/71.047c0d96.chunk.js new file mode 100644 index 000000000..92a09ffc5 --- /dev/null +++ b/static/js/71.047c0d96.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[71],{"3cxI":function(e,t,n){},"9e53":function(e,t,n){var o,r;(function(){(function(){(function(){var e=[].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(e){var t;return null==e&&(e=null!=(t=this.getConfig("url"))?t:this.INTERNAL.default_mount_path),new i.Consumer(this.createWebSocketURL(e))},getConfig:function(e){var t;return null!=(t=document.head.querySelector("meta[name='action-cable-"+e+"']"))?t.getAttribute("content"):void 0},createWebSocketURL:function(e){var t;return e&&!/^wss?:/i.test(e)?((t=document.createElement("a")).href=e,t.href=t.href,t.protocol=t.protocol.replace("http","ws"),t.href):e},startDebugging:function(){return this.debugging=!0},stopDebugging:function(){return this.debugging=null},log:function(){var t,n;if(t=1<=arguments.length?e.call(arguments,0):[],this.debugging)return t.push(Date.now()),(n=this.logger).log.apply(n,["[ActionCable]"].concat(e.call(t)))}}}).call(this)}).call(this);var i=this.ActionCable;(function(){(function(){i.ConnectionMonitor=function(){var e,t,n;function o(e){var t,n;this.connection=e,this.visibilityDidChange=(t=this.visibilityDidChange,n=this,function(){return t.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=t(),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=t(),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=t()},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=t(),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((e=this,function(){return e.reconnectIfStale(),e.poll()}),this.getPollInterval());var e},o.prototype.getPollInterval=function(){var t,n,o,r;return o=(r=this.constructor.pollInterval).min,n=r.max,t=5*Math.log(this.reconnectAttempts+1),Math.round(1e3*e(t,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 e;return n(null!=(e=this.pingedAt)?e: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((e=this,function(){if(e.connectionIsStale()||!e.connection.isOpen())return i.log("ConnectionMonitor reopening stale connection on visibilitychange. visbilityState = "+document.visibilityState),e.connection.reopen()}),200);var e},t=function(){return(new Date).getTime()},n=function(e){return(t()-e)/1e3},e=function(e,t,n){return Math.max(t,Math.min(n,e))},o}()}).call(this),function(){var e,t,n,o,r,a=[].slice,l=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1};o=i.INTERNAL,t=o.message_types,n=o.protocols,r=2<=n.length?a.call(n,0,e=n.length-1):(e=0,[]),n[e++],i.Connection=function(){function e(e){var t,n;this.consumer=e,this.open=(t=this.open,n=this,function(){return t.apply(n,arguments)}),this.subscriptions=this.consumer.subscriptions,this.monitor=new i.ConnectionMonitor(this),this.disconnected=!0}return e.reopenDelay=500,e.prototype.send=function(e){return!!this.isOpen()&&(this.webSocket.send(JSON.stringify(e)),!0)},e.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)},e.prototype.close=function(e){var t;if((null!=e?e:{allowReconnect:!0}).allowReconnect||this.monitor.stop(),this.isActive())return null!=(t=this.webSocket)?t.close():void 0},e.prototype.reopen=function(){var e;if(i.log("Reopening WebSocket, current state is "+this.getState()),!this.isActive())return this.open();try{return this.close()}catch(t){return e=t,i.log("Failed to reopen WebSocket",e)}finally{i.log("Reopening WebSocket in "+this.constructor.reopenDelay+"ms"),setTimeout(this.open,this.constructor.reopenDelay)}},e.prototype.getProtocol=function(){var e;return null!=(e=this.webSocket)?e.protocol:void 0},e.prototype.isOpen=function(){return this.isState("open")},e.prototype.isActive=function(){return this.isState("open","connecting")},e.prototype.isProtocolSupported=function(){var e;return e=this.getProtocol(),l.call(r,e)>=0},e.prototype.isState=function(){var e,t;return t=1<=arguments.length?a.call(arguments,0):[],e=this.getState(),l.call(t,e)>=0},e.prototype.getState=function(){var e,t;for(t in WebSocket)if(WebSocket[t]===(null!=(e=this.webSocket)?e.readyState:void 0))return t.toLowerCase();return null},e.prototype.installEventHandlers=function(){var e,t;for(e in this.events)t=this.events[e].bind(this),this.webSocket["on"+e]=t},e.prototype.uninstallEventHandlers=function(){var e;for(e in this.events)this.webSocket["on"+e]=function(){}},e.prototype.events={message:function(e){var n,o,r;if(this.isProtocolSupported())switch(n=(r=JSON.parse(e.data)).identifier,o=r.message,r.type){case t.welcome:return this.monitor.recordConnect(),this.subscriptions.reload();case t.ping:return this.monitor.recordPing();case t.confirmation:return this.subscriptions.notify(n,"connected");case t.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(e){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")}},e}()}.call(this),function(){var e=[].slice;i.Subscriptions=function(){function t(e){this.consumer=e,this.subscriptions=[]}return t.prototype.create=function(e,t){var n,o,r;return o="object"==typeof(n=e)?n:{channel:n},r=new i.Subscription(this.consumer,o,t),this.add(r)},t.prototype.add=function(e){return this.subscriptions.push(e),this.consumer.ensureActiveConnection(),this.notify(e,"initialized"),this.sendCommand(e,"subscribe"),e},t.prototype.remove=function(e){return this.forget(e),this.findAll(e.identifier).length||this.sendCommand(e,"unsubscribe"),e},t.prototype.reject=function(e){var t,n,o,r,i;for(r=[],t=0,n=(o=this.findAll(e)).length;t<n;t++)i=o[t],this.forget(i),this.notify(i,"rejected"),r.push(i);return r},t.prototype.forget=function(e){var t;return this.subscriptions=function(){var n,o,r,i;for(i=[],n=0,o=(r=this.subscriptions).length;n<o;n++)(t=r[n])!==e&&i.push(t);return i}.call(this),e},t.prototype.findAll=function(e){var t,n,o,r,i;for(r=[],t=0,n=(o=this.subscriptions).length;t<n;t++)(i=o[t]).identifier===e&&r.push(i);return r},t.prototype.reload=function(){var e,t,n,o,r;for(o=[],e=0,t=(n=this.subscriptions).length;e<t;e++)r=n[e],o.push(this.sendCommand(r,"subscribe"));return o},t.prototype.notifyAll=function(){var t,n,o,r,i,a,l;for(n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],a=[],o=0,r=(i=this.subscriptions).length;o<r;o++)l=i[o],a.push(this.notify.apply(this,[l,n].concat(e.call(t))));return a},t.prototype.notify=function(){var t,n,o,r,i,a,l;for(a=arguments[0],n=arguments[1],t=3<=arguments.length?e.call(arguments,2):[],i=[],o=0,r=(l="string"==typeof a?this.findAll(a):[a]).length;o<r;o++)a=l[o],i.push("function"==typeof a[n]?a[n].apply(a,t):void 0);return i},t.prototype.sendCommand=function(e,t){var n;return n=e.identifier,this.consumer.send({command:t,identifier:n})},t}()}.call(this),function(){i.Subscription=function(){var e;function t(t,n,o){this.consumer=t,null==n&&(n={}),this.identifier=JSON.stringify(n),e(this,o)}return t.prototype.perform=function(e,t){return null==t&&(t={}),t.action=e,this.send(t)},t.prototype.send=function(e){return this.consumer.send({command:"message",identifier:this.identifier,data:JSON.stringify(e)})},t.prototype.unsubscribe=function(){return this.consumer.subscriptions.remove(this)},e=function(e,t){var n,o;if(null!=t)for(n in t)o=t[n],e[n]=o;return e},t}()}.call(this),function(){i.Consumer=function(){function e(e){this.url=e,this.subscriptions=new i.Subscriptions(this),this.connection=new i.Connection(this)}return e.prototype.send=function(e){return this.connection.send(e)},e.prototype.connect=function(){return this.connection.open()},e.prototype.disconnect=function(){return this.connection.close({allowReconnect:!1})},e.prototype.ensureActiveConnection=function(){if(!this.connection.isActive())return this.connection.open()},e}()}.call(this)}).call(this),e.exports?e.exports=i:void 0===(r="function"==typeof(o=i)?o.call(t,n,t,e):o)||(e.exports=r)}).call(this)},NUct:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=h(n("W9HT")),r=h(n("3S7+")),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();n("04bd"),n("TfFZ");var l=n("q1tI"),s=h(l),c=n("eO8H"),u=n("spEH");n("7dqz"),n("3cxI");var d=h(n("CnBM")),p=h(n("HUFq")),f=h(n("vDqi"));function h(e){return e&&e.__esModule?e:{default:e}}var m=(0,d.default)({loader:function(){return n.e(87).then(n.t.bind(null,"6dZj",7))},loading:p.default}),g=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(18)]).then(n.t.bind(null,"DTGX",7))},loading:p.default}),b=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(26)]).then(n.t.bind(null,"IZ3b",7))},loading:p.default}),x=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(24)]).then(n.t.bind(null,"SqvK",7))},loading:p.default}),y=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(34)]).then(n.t.bind(null,"WT1Z",7))},loading:p.default}),v=(0,d.default)({loader:function(){return n.e(90).then(n.t.bind(null,"+JVH",7))},loading:p.default}),E=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(37)]).then(n.t.bind(null,"fyLZ",7))},loading:p.default}),w=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(36)]).then(n.t.bind(null,"s4sY",7))},loading:p.default}),_=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(35)]).then(n.t.bind(null,"IxYK",7))},loading:p.default}),j=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(27)]).then(n.t.bind(null,"+JJy",7))},loading:p.default}),k=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(25)]).then(n.t.bind(null,"Gofe",7))},loading:p.default}),S=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(42)]).then(n.t.bind(null,"VSCt",7))},loading:p.default}),N=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(21)]).then(n.t.bind(null,"YxIK",7))},loading:p.default}),C=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(22)]).then(n.t.bind(null,"TiQt",7))},loading:p.default}),I=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(23)]).then(n.t.bind(null,"vhIH",7))},loading:p.default}),R=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(38)]).then(n.t.bind(null,"+nTR",7))},loading:p.default}),P=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(64)]).then(n.t.bind(null,"cFFD",7))},loading:p.default}),A=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(63)]).then(n.t.bind(null,"zM51",7))},loading:p.default}),D=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(75)]).then(n.t.bind(null,"LMhh",7))},loading:p.default}),O=(0,d.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(5),n.e(49)]).then(n.t.bind(null,"rS1K",7))},loading:p.default}),B=(0,d.default)({loader:function(){return Promise.all([n.e(10),n.e(14),n.e(33),n.e(60)]).then(n.t.bind(null,"B3S4",7))},loading:p.default}),M=(0,d.default)({loader:function(){return n.e(84).then(n.t.bind(null,"cuo/",7))},loading:p.default});var L=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 o=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 o.componentDidMount=function(){o.getProject()},o.componentDidUpdate=function(e){var t=e.match.params,n=o.props.match.params;e&&o.props&&(t.projectsId!==n.projectsId||t.owner!==n.owner)&&o.getProject()},o.getProject=function(e){var t=o.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/simple.json";f.default.get(r).then((function(t){t&&t.data&&(o.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 --------"),o.canvasChannel(),e?o.setState({secondSync:!0,firsrtSync:!1}):o.setState({firstSync:!0,secondSync:!1})):(o.getDetail(),o.setState({firsrtSync:!1,secondSync:!1})))}))},o.changeOpenDevops=function(e){o.setState({open_devops:e})},o.canvasChannel=function(){var e="localhost"===window.location.hostname?"testforgeplus.trustie.net":window.location.hostname,t=n("9e53"),r=o.state.project,i=t.createConsumer("wss://"+e+"/cable");o.canvasChannel1=i.subscriptions.create({channel:"MirrorProjectChannel",id:r&&r.identifier},{connected:function(){console.log("###### channel connected! ######")},disconnected:function(){},received:function(e){console.log("###### ---received data--- ######"),e&&(o.getDetail(),i.subscriptions.consumer.disconnect())}})},o.getDetail=function(){var e=o.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+".json";f.default.get(n).then((function(e){e&&e.data&&o.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,author:e.data.author,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){}))},o.focusFunc=function(e){if(o.state.platform){var t=o.state.project_id;(0,f.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&&o.setWatchersCount(e.data.watchers_count,e.data.watched)})).catch((function(e){console.log(e)}))}},o.pariseFunc=function(e){if(o.state.platform){var t=o.state.project_id;(0,f.default)({method:e?"delete":"post",url:"/projects/"+t+"/praise_tread/"+(e?"unlike":"like")+".json"}).then((function(e){e&&0===e.data.status&&o.setPraisesCount(e.data.praises_count,e.data.praised)})).catch((function(e){console.log(e)}))}},o.setWatchersCount=function(e,t){o.setState({watched:t,watchers_count:e})},o.setPraisesCount=function(e,t){o.setState({praised:t,praises_count:e})},o.forkFunc=function(){if(o.state.platform){var e=o.props.current_user,t=o.props.match.params,n=t.projectsId,r="/"+t.owner+"/"+n+"/forks.json";f.default.post(r).then((function(t){t&&0===t.data.status&&(o.props.history.push("/projects/"+(e&&e.login)+"/"+t.data.identifier),o.props.showNotification(t.data.message))})).catch((function(e){console.log(e)}))}},o.synchronismMirror=function(){if(o.state.platform){var e=o.props.match.params,t=e.projectsId,n="/"+e.owner+"/"+t+"/sync_mirror.json";f.default.post(n).then((function(e){e&&e.data&&0===e.data.status?o.getProject(2):o.props.showNotification("镜像同步失败!")})).catch((function(e){console.log(e)}))}},o.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,author:void 0,branchs:void 0,branchList:void 0,project:null,firstSync:!1,secondSync:!1,open_devops:!1,defaultBranch:void 0,platform:!1},o}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.projectDetail,a=t.watchers_count,l=t.praises_count,d=t.forked_count,p=t.firstSync,f=t.secondSync,h=t.isManager,L=t.watched,F=t.praised,T=t.project,W=t.open_devops,z=t.platform,H=t.defaultBranch,q=this.props.history.location.pathname,J=3===q.split("/").length,G=this.props.match.params,U=G.projectsId,Z=G.owner,K=function(e,t,n){var o="";return n&&n!=="/projects/"+t+"/"+e&&(n.indexOf("/about")>-1?o="about":n.indexOf("/issues")>-1||n.indexOf("Milepost")>0?o="issues":n.indexOf("/pulls")>-1?o="pulls":n.indexOf("/milestones")>-1?o="milestones":n.indexOf("/activity")>-1?o="activity":n.indexOf("/setting")>-1?o="setting":n.indexOf("/devops")>-1&&(o="devops")),o}(U,Z,q),Y=this.props.history.location.state,V=n&&n.forked_from_project_id&&n.fork_info?s.default.createElement(s.default.Fragment,null,s.default.createElement("span",null,"forked from "),s.default.createElement(c.Link,{to:"/users/"+n.fork_info.fork_project_user_login,className:"show-user-link color-grey-ccc"},n.fork_info.fork_project_user_name),s.default.createElement("span",null," / "),s.default.createElement(c.Link,{to:"/projects/"+n.fork_info.fork_project_user_login+"/"+n.fork_info.fork_project_identifier,className:"color-grey-ccc"},n.fork_info.fork_form_name)):"",Q={getDetail:this.getDetail,changeOpenDevops:this.changeOpenDevops,defaultBranch:H};return s.default.createElement("div",null,s.default.createElement("div",{className:"detailHeader-wrapper"},s.default.createElement("div",{className:"normal"},s.default.createElement("div",{className:"f-wrap-between pb15",style:{position:"relative"}},s.default.createElement("p",{className:"font-22 df flex-1 lineH2 mt15",style:{alignItems:"center"}},T&&T.author&&s.default.createElement(c.Link,{to:"/users/"+T.author.login,className:"show-user-link"},T.author.name),s.default.createElement("span",{className:"ml5 mr5"},"/"),s.default.createElement("span",{className:"hide-1 flex-1 df"},s.default.createElement(c.Link,{to:"/projects/"+Z+"/"+U,className:"font-22"},T&&T.name),n&&n.forked_from_project_id&&n.fork_info?s.default.createElement(r.default,{placement:"right",title:V},s.default.createElement(c.Link,{to:"/projects/"+n.fork_info.fork_project_user_login+"/"+n.fork_info.fork_project_identifier,className:"ml10"},s.default.createElement("i",{className:"iconfont icon-fork font-18 fl mt6",style:{color:"#8D90E3"}}))):"",n&&n.type&&0!==n.type?2===n.type?s.default.createElement(r.default,{title:"镜像自: "+n.mirror_url,className:"ml5",placement:"right"},s.default.createElement("i",{className:"iconfont icon-banbenku font-18 mt6",style:{color:"#8D90E3"}})):s.default.createElement(r.default,{title:"镜像自: "+n.mirror_url,className:"ml5",placement:"right"},s.default.createElement("i",{className:"iconfont icon-jingxiang font-18 color-green mt6"})):"")),p?"":s.default.createElement("span",{className:"df mt25"},n&&n.type&&2===n.type?s.default.createElement("a",{className:"synchronism ml30",onClick:this.synchronismMirror},"同步镜像"):"",s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:function(){return e.focusFunc(L)}},s.default.createElement("i",{className:L?"iconfont icon-shixing color-orange font-16 mr3":"iconfont icon-kongxing color-grey-9 font-16 mr3"}),s.default.createElement("span",null,L?"取消关注":"关注")),a>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",style:{color:L?"#2878FF":"#666"},to:z?{pathname:"/projects/"+Z+"/"+U+"/watchers",state:Y}:""},a):s.default.createElement("span",{className:"detail_tag_btn_count"},a):""),s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:function(){return e.pariseFunc(F)}},s.default.createElement("i",{className:F?"iconfont icon-weibiaoti105 color-orange font-14 mr3":"iconfont icon-guanzhu color-grey-9 font-14 mr3"}),s.default.createElement("span",null,F?"取消点赞":"点赞")),l>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",style:{color:F?"#2878FF":"#666"},to:{pathname:"/projects/"+Z+"/"+U+"/stargazers",state:Y}},l):s.default.createElement("span",{className:"detail_tag_btn_count"},l):""),s.default.createElement("span",{className:"detail_tag_btn"},s.default.createElement("a",{className:"detail_tag_btn_name",style:{cursor:z?"pointer":"default"},onClick:this.forkFunc},s.default.createElement("i",{className:"iconfont icon-fork color-grey-9 mr3"}),"复刻 (Fork)"),d>0?z?s.default.createElement(c.Link,{className:"detail_tag_btn_count",to:{pathname:"/projects/"+Z+"/"+U+"/fork_users",state:Y}},d):s.default.createElement("span",{className:"detail_tag_btn_count"},d):""))),p?"":s.default.createElement("div",{className:"f-wrap-between mt15"},s.default.createElement("ul",{className:"headerMenu-wrapper"},s.default.createElement("li",{className:"about"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/about",state:Y}},s.default.createElement("i",{className:""===K||J?"iconfont icon-zhuye1 color-grey-3 mr5 font-14":"iconfont icon-zhuye1 color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"主页"))),s.default.createElement("li",{className:""===K||J?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U,state:Y}},s.default.createElement("i",{className:""===K||J?"iconfont icon-daimaku color-grey-3 mr5 font-14":"iconfont icon-daimaku color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"代码库"))),s.default.createElement("li",{className:"issues"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/issues",state:Y}},s.default.createElement("i",{className:"issues"===K?"iconfont icon-renwu color-grey-3 mr5 font-14":"iconfont icon-renwu color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"易修 (Issue)"),n&&n.issues_count?s.default.createElement("span",{className:"num"},n.issues_count):"")),n&&2!==parseInt(n.type)&&z&&s.default.createElement("li",{className:"pulls"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/pulls",state:Y}},s.default.createElement("i",{className:"pulls"===K?"iconfont icon-hebingqingqiu1 color-grey-3 mr5 font-14":"iconfont icon-hebingqingqiu1 color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"合并请求"),n&&n.pull_requests_count?s.default.createElement("span",{className:"num"},n.pull_requests_count):"")),z&&s.default.createElement("li",{className:"devops"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/devops"+(W?"/dispose":""),state:Y}},s.default.createElement("i",{className:"iconfont icon-gongzuoliu font-13 mr8"}),"工作流(beta版)",n&&n.ops_count?s.default.createElement("span",null,n.ops_count):"")),s.default.createElement("li",{className:"milestones"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/milestones",state:Y}},s.default.createElement("i",{className:"milestones"===K?"iconfont icon-lichengbei color-grey-3 mr5 font-14":"iconfont icon-lichengbei color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"里程碑"),n&&n.versions_count?s.default.createElement("span",{className:"num"},n.versions_count):"")),s.default.createElement("li",{className:"activity"===K?"active":""},s.default.createElement(c.Link,{to:{pathname:"/projects/"+Z+"/"+U+"/activity",state:Y}},s.default.createElement("i",{className:"activity"===K?"iconfont icon-tongzhi color-grey-3 mr5 font-14":"iconfont icon-tongzhi color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"动态"))),h&&z&&s.default.createElement("li",{className:q.indexOf("/setting")>0?"active":""},s.default.createElement(c.Link,{to:"/projects/"+Z+"/"+U+"/setting"},s.default.createElement("i",{className:q.indexOf("/setting")>0?"iconfont icon-cangku color-grey-3 mr5 font-14":"iconfont icon-cangku color-grey-6 font-14 mr5"}),s.default.createElement("span",null,"仓库设置"))))))),p?s.default.createElement(u.Content,{className:"spincontent"},s.default.createElement(o.default,{className:"spinstyle",tip:T&&"正在从 "+T.mirror_url+" 迁移",size:"large"})):s.default.createElement(o.default,{spinning:f,className:"spinstyle",tip:"正在同步镜像",size:"large"},s.default.createElement(c.Switch,this.props,s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/about",render:function(){return s.default.createElement(B,i({},e.props,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/devops",render:function(){return s.default.createElement(M,i({},e.props,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/tags",render:function(t){return s.default.createElement(g,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return s.default.createElement(m,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/detail",render:function(t){return s.default.createElement(x,i({},e.props,e.state,t,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/:meilid/edit",render:function(t){return s.default.createElement(_,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/new",render:function(t){return s.default.createElement(w,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones/:meilid",render:function(t){return s.default.createElement(R,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/milestones",render:function(t){return s.default.createElement(E,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:milepostId/new",render:function(t){return s.default.createElement(b,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/new",render:function(t){return s.default.createElement(b,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/updatedetail",render:function(t){return s.default.createElement(j,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues/:orderId/copyetail",render:function(t){return s.default.createElement(k,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/activity",render:function(t){return s.default.createElement(O,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/issues",render:function(t){return s.default.createElement(y,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/new",render:function(t){return s.default.createElement(N,i({},e.props,t,e.state,Q,{is_fork:!0}))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/UpdateMerge",render:function(t){return s.default.createElement(I,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/Messagecount",render:function(t){return s.default.createElement(C,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls/:mergeId/MergeSubmit",render:function(t){return s.default.createElement(C,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/pulls",render:function(t){return s.default.createElement(S,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/coders/filesurl",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/watchers",render:function(t){return s.default.createElement(P,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/stargazers",render:function(t){return s.default.createElement(A,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/fork_users",render:function(t){return s.default.createElement(D,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/commits/branch/:branchName",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId/branch/:branchName",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}),s.default.createElement(c.Route,{path:"/projects/:owner/:projectsId",render:function(t){return s.default.createElement(v,i({},e.props,t,e.state,Q))}}))))}}]),t}(l.Component);t.default=L},spEH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.Long=t.Box=t.AlignCenter=t.FlexAJ=t.AlignCenterBetween=t.Banner=void 0;var o,r=k(["{\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=k(["{\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=k(["{\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=k(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),s=k(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),c=k(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=k(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),d=k(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),p=k(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=k(["{\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=k(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),m=k(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=k(["{\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}"]),b=k(["{\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}"]),x=k(["{\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}"]),y=k(["{\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}"]),v=k(["{\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}"]),E=k(["{\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}"]),w=k(["{\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("vOnD"),j=(o=_)&&o.__esModule?o:{default:o};function k(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.Banner=j.default.div(r),t.AlignCenterBetween=j.default.div(i),t.FlexAJ=j.default.div(a),t.AlignCenter=j.default.div(l),t.Box=j.default.div(s),t.Long=j.default.div(c),t.Short=j.default.div(u),t.Gap=j.default.div(d),t.WhiteBack=j.default.div(p),t.Blueline=j.default.a(f),t.Redline=j.default.a(h),t.Greenline=j.default.a(m),t.Greenback=j.default.a(g),t.Blueback=j.default.a(b),t.Redback=j.default.a(x),t.NumUl=j.default.ul(y),t.GreenUnder=j.default.a(v),t.Cancel=j.default.a(E),t.Content=j.default.div(w)}}]); \ No newline at end of file diff --git a/static/js/70.4cf0f24f.chunk.js b/static/js/72.9e12b3cf.chunk.js similarity index 98% rename from static/js/70.4cf0f24f.chunk.js rename to static/js/72.9e12b3cf.chunk.js index 8346268ad..6a43e06b1 100644 --- a/static/js/70.4cf0f24f.chunk.js +++ b/static/js/72.9e12b3cf.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[70],{"2oGH":function(e,t,n){},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},gfdF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,u=y(n("NUBc")),c=y(n("lrIw")),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,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(r=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,u=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=(r=["{\n padding:18px 30px;\n}"],o=["{\n padding:18px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("bipt");var i=n("q1tI"),f=y(i),s=n("spEH"),p=y(n("vOnD"));function y(e){return e&&e.__esModule?e:{default:e}}var d=c.default.Option,m=p.default.div(a),b=[{name:"Python相关",id:1},{name:"Python相关",id:2}];t.default=function(){var e=(0,i.useState)(void 0),t=l(e,2),n=t[0],r=(t[1],(0,i.useState)(1)),o=l(r,2),a=o[0],p=o[1],y=(0,i.useState)(0),h=l(y,2),v=h[0];h[1];var O=b&&b.map((function(e,t){return f.default.createElement(d,{key:t,value:""+e.id},e.name)}));return f.default.createElement("div",null,f.default.createElement(s.Banner,null,"团队项目管理"),f.default.createElement(m,null,f.default.createElement(s.FlexAJ,{className:"actionNav"},f.default.createElement("div",null,f.default.createElement(c.default,{dataSource:O,value:n,style:{width:270},onChange:function(){},onSelect:function(){},placeholder:"搜索项目…"}),f.default.createElement(s.Blueline,{className:"ml30"},"+ 添加项目")),f.default.createElement("span",null,f.default.createElement(s.Greenback,null,"添加所有"),f.default.createElement(s.Redback,{className:"ml20"},"移除所有"))),f.default.createElement("div",{className:"GSlist"},f.default.createElement("div",null,f.default.createElement("span",null,"caishi/前端v0.1"),f.default.createElement("a",{style:{color:"#F73030"}},"移除"))),v>15?f.default.createElement("div",{className:"edu-txt-center mt30 mb20"},f.default.createElement(u.default,{simple:!0,defaultCurrent:a,total:v,pageSize:15,onChange:function(e){p(e)}})):""))}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return x}));var r=n("q1tI"),o=n("i+PK"),u=n("TSYQ"),c=n.n(u);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)}function a(){return(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}).apply(this,arguments)}function i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 y(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&s(e,t)}(l,e);var t,n,o,u,c=(t=l,function(){var e,n=d(t);if(y()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function l(){var e;return i(this,l),(e=c.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=l,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,a(a({},this.props),{ref:this.saveRef}),null)}}])&&f(n.prototype,o),u&&f(n,u),l}(r.Component),b=n("5rEg"),h=n("2fM7"),v=n("H84U");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 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 g(){return(g=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 S(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 j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(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 _(){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)}function R(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&j(e,t)}(i,e);var t,n,u,l,a=(t=i,function(){var e,n=C(t);if(_()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return P(this,e)});function i(){var e;return S(this,i),(e=a.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),u=g({},n.props);return delete u.children,r.createElement(m,u,n)},e.renderAutoComplete=function(t){var n,u,l=t.getPrefixCls,a=e.props,i=a.prefixCls,f=a.size,s=a.className,p=void 0===s?"":s,y=a.notFoundContent,d=a.optionLabelProp,m=a.dataSource,b=a.children,v=l("select",i),S=c()((E(n={},"".concat(v,"-lg"),"large"===f),E(n,"".concat(v,"-sm"),"small"===f),E(n,p,!!p),E(n,"".concat(v,"-show-search"),!0),E(n,"".concat(v,"-auto-complete"),!0),n)),w=r.Children.toArray(b);return u=w.length&&R(w[0])?b:m?m.map((function(e){if(r.isValidElement(e))return e;switch(O(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(h.default,g({},e.props,{className:S,mode:h.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:d,getInputElement:e.getInputElement,notFoundContent:y,ref:e.saveSelect}),u)},e}return n=i,(u=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&w(n.prototype,u),l&&w(n,l),i}(r.Component);x.Option=o.b,x.OptGroup=o.a,x.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[72],{"2oGH":function(e,t,n){},bipt:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("2oGH"),n("8QGh"),n("1vPl")},gfdF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,u=y(n("NUBc")),c=y(n("lrIw")),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,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(r=(c=l.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,u=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},a=(r=["{\n padding:18px 30px;\n}"],o=["{\n padding:18px 30px;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})));n("YQTV"),n("bipt");var i=n("q1tI"),f=y(i),s=n("spEH"),p=y(n("vOnD"));function y(e){return e&&e.__esModule?e:{default:e}}var d=c.default.Option,m=p.default.div(a),b=[{name:"Python相关",id:1},{name:"Python相关",id:2}];t.default=function(){var e=(0,i.useState)(void 0),t=l(e,2),n=t[0],r=(t[1],(0,i.useState)(1)),o=l(r,2),a=o[0],p=o[1],y=(0,i.useState)(0),h=l(y,2),v=h[0];h[1];var O=b&&b.map((function(e,t){return f.default.createElement(d,{key:t,value:""+e.id},e.name)}));return f.default.createElement("div",null,f.default.createElement(s.Banner,null,"团队项目管理"),f.default.createElement(m,null,f.default.createElement(s.FlexAJ,{className:"actionNav"},f.default.createElement("div",null,f.default.createElement(c.default,{dataSource:O,value:n,style:{width:270},onChange:function(){},onSelect:function(){},placeholder:"搜索项目…"}),f.default.createElement(s.Blueline,{className:"ml30"},"+ 添加项目")),f.default.createElement("span",null,f.default.createElement(s.Greenback,null,"添加所有"),f.default.createElement(s.Redback,{className:"ml20"},"移除所有"))),f.default.createElement("div",{className:"GSlist"},f.default.createElement("div",null,f.default.createElement("span",null,"caishi/前端v0.1"),f.default.createElement("a",{style:{color:"#F73030"}},"移除"))),v>15?f.default.createElement("div",{className:"edu-txt-center mt30 mb20"},f.default.createElement(u.default,{simple:!0,defaultCurrent:a,total:v,pageSize:15,onChange:function(e){p(e)}})):""))}},lrIw:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return x}));var r=n("q1tI"),o=n("i+PK"),u=n("TSYQ"),c=n.n(u);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)}function a(){return(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}).apply(this,arguments)}function i(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(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 y(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&s(e,t)}(l,e);var t,n,o,u,c=(t=l,function(){var e,n=d(t);if(y()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function l(){var e;return i(this,l),(e=c.apply(this,arguments)).saveRef=function(t){var n=e.props.children.ref;"function"==typeof n&&n(t)},e}return n=l,(o=[{key:"render",value:function(){return r.cloneElement(this.props.children,a(a({},this.props),{ref:this.saveRef}),null)}}])&&f(n.prototype,o),u&&f(n,u),l}(r.Component),b=n("5rEg"),h=n("2fM7"),v=n("H84U");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 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 g(){return(g=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 S(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 j(e,t){return(j=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(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 _(){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)}function R(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}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&&j(e,t)}(i,e);var t,n,u,l,a=(t=i,function(){var e,n=C(t);if(_()){var r=C(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return P(this,e)});function i(){var e;return S(this,i),(e=a.apply(this,arguments)).saveSelect=function(t){e.select=t},e.getInputElement=function(){var t=e.props.children,n=t&&r.isValidElement(t)&&t.type!==o.b?r.Children.only(e.props.children):r.createElement(b.default,null),u=g({},n.props);return delete u.children,r.createElement(m,u,n)},e.renderAutoComplete=function(t){var n,u,l=t.getPrefixCls,a=e.props,i=a.prefixCls,f=a.size,s=a.className,p=void 0===s?"":s,y=a.notFoundContent,d=a.optionLabelProp,m=a.dataSource,b=a.children,v=l("select",i),S=c()((E(n={},"".concat(v,"-lg"),"large"===f),E(n,"".concat(v,"-sm"),"small"===f),E(n,p,!!p),E(n,"".concat(v,"-show-search"),!0),E(n,"".concat(v,"-auto-complete"),!0),n)),w=r.Children.toArray(b);return u=w.length&&R(w[0])?b:m?m.map((function(e){if(r.isValidElement(e))return e;switch(O(e)){case"string":return r.createElement(o.b,{key:e},e);case"object":return r.createElement(o.b,{key:e.value},e.text);default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}})):[],r.createElement(h.default,g({},e.props,{className:S,mode:h.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,optionLabelProp:d,getInputElement:e.getInputElement,notFoundContent:y,ref:e.saveSelect}),u)},e}return n=i,(u=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){return r.createElement(v.a,null,this.renderAutoComplete)}}])&&w(n.prototype,u),l&&w(n,l),i}(r.Component);x.Option=o.b,x.OptGroup=o.a,x.defaultProps={transitionName:"slide-up",optionLabelProp:"children",choiceTransitionName:"zoom",showSearch:!1,filterOption:!1}}}]); \ No newline at end of file diff --git a/static/js/71.e3e88ea9.chunk.js b/static/js/73.7c4225a7.chunk.js similarity index 99% rename from static/js/71.e3e88ea9.chunk.js rename to static/js/73.7c4225a7.chunk.js index 2c7421d8c..bbd46b63b 100644 --- a/static/js/71.e3e88ea9.chunk.js +++ b/static/js/73.7c4225a7.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[71],{"+hnl":function(e,t,n){},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),c=n("TSYQ"),u=n.n(c),i=n("x1Ya"),l=n("Gytx"),s=n.n(l),p=n("H84U"),f=n("6CfX");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 d(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(){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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&m(e,t)}(l,e);var t,n,o,a,c=(t=l,function(){var e,n=x(t);if(k()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function l(){var e;return b(this,l),(e=c.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),c=a.props,l=a.context,s=c.prefixCls,p=c.className,f=c.children,y=c.indeterminate,b=c.style,v=c.onMouseEnter,m=c.onMouseLeave,g=C(c,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),k=l.checkboxGroup,x=o("checkbox",s),j=h({},g);k&&(j.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),k.toggleOption({label:f,value:c.value})},j.name=k.name,j.checked=-1!==k.value.indexOf(c.value),j.disabled=c.disabled||k.disabled);var w=u()(p,(d(n={},"".concat(x,"-wrapper"),!0),d(n,"".concat(x,"-wrapper-checked"),j.checked),d(n,"".concat(x,"-wrapper-disabled"),j.disabled),n)),S=u()(d({},"".concat(x,"-indeterminate"),y));return r.createElement("label",{className:w,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(i.a,h({},j,{prefixCls:x,className:S,ref:e.saveCheckbox})),void 0!==f&&r.createElement("span",null,f))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),l}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var w=j,S=n("BGR+");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 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 V(e){return function(e){if(Array.isArray(e))return _(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 _(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(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 _(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 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 G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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},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&&G(e,t)}(i,e);var t,n,o,a,c=(t=i,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});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=c.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(V(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=V(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var c=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return c.findIndex((function(t){return t.value===e}))-c.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,c=o.state,i=a.prefixCls,l=a.className,s=a.style,p=a.options,f=D(a,["prefixCls","className","style","options"]),y=n("checkbox",i),d="".concat(y,"-group"),h=Object(S.a)(f,["children","defaultValue","value","onChange","disabled"]),b=a.children;p&&p.length>0&&(b=t.getOptions().map((function(e){return r.createElement(w,{prefixCls:y,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==c.value.indexOf(e.value),onChange:e.onChange,className:"".concat(d,"-item")},e.label)})));var v=u()(d,l);return r.createElement("div",E({className:v,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&N(n.prototype,o),a&&N(n,a),i}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},M.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(M);var A=M;w.Group=A;t.default=w},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),c=n.n(a),u=n("iCc5"),i=n.n(u),l=n("FYw3"),s=n.n(l),p=n("mRg0"),f=n.n(p),y=n("q1tI"),d=n.n(y),h=n("17x9"),b=n.n(h),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){i()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:c()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?c()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,u=t.name,i=t.id,l=t.type,s=t.disabled,p=t.readOnly,f=t.tabIndex,y=t.onClick,h=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),k=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=s,e));return d.a.createElement("span",{className:C,style:a},d.a.createElement("input",c()({name:u,id:i,type:l,readOnly:p,disabled:s,tabIndex:f,className:n+"-input",checked:!!x,onClick:y,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},k)),d.a.createElement("span",{className:n+"-inner"}))},t}(y.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var k=O;t.a=k}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[73],{"+hnl":function(e,t,n){},MKzF:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("+hnl")},kaz8:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),a=n("VCL8"),c=n("TSYQ"),u=n.n(c),i=n("x1Ya"),l=n("Gytx"),s=n.n(l),p=n("H84U"),f=n("6CfX");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 d(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(){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 b(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 m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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 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},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&&m(e,t)}(l,e);var t,n,o,a,c=(t=l,function(){var e,n=x(t);if(k()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return g(this,e)});function l(){var e;return b(this,l),(e=c.apply(this,arguments)).saveCheckbox=function(t){e.rcCheckbox=t},e.renderCheckbox=function(t){var n,o=t.getPrefixCls,a=O(e),c=a.props,l=a.context,s=c.prefixCls,p=c.className,f=c.children,y=c.indeterminate,b=c.style,v=c.onMouseEnter,m=c.onMouseLeave,g=C(c,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),k=l.checkboxGroup,x=o("checkbox",s),j=h({},g);k&&(j.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),k.toggleOption({label:f,value:c.value})},j.name=k.name,j.checked=-1!==k.value.indexOf(c.value),j.disabled=c.disabled||k.disabled);var w=u()(p,(d(n={},"".concat(x,"-wrapper"),!0),d(n,"".concat(x,"-wrapper-checked"),j.checked),d(n,"".concat(x,"-wrapper-disabled"),j.disabled),n)),S=u()(d({},"".concat(x,"-indeterminate"),y));return r.createElement("label",{className:w,style:b,onMouseEnter:v,onMouseLeave:m},r.createElement(i.a,h({},j,{prefixCls:x,className:S,ref:e.saveCheckbox})),void 0!==f&&r.createElement("span",null,f))},e}return n=l,(o=[{key:"componentDidMount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.registerValue&&n.registerValue(e),Object(f.a)("checked"in this.props||(this.context||{}).checkboxGroup||!("value"in this.props),"Checkbox","`value` is not validate prop, do you mean `checked`?")}},{key:"shouldComponentUpdate",value:function(e,t,n){return!s()(this.props,e)||!s()(this.state,t)||!s()(this.context.checkboxGroup,n.checkboxGroup)}},{key:"componentDidUpdate",value:function(e){var t=e.value,n=this.props.value,r=(this.context||{}).checkboxGroup,o=void 0===r?{}:r;n!==t&&o.registerValue&&o.cancelValue&&(o.cancelValue(t),o.registerValue(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.value,t=(this.context||{}).checkboxGroup,n=void 0===t?{}:t;n.cancelValue&&n.cancelValue(e)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderCheckbox)}}])&&v(n.prototype,o),a&&v(n,a),l}(r.Component);j.__ANT_CHECKBOX=!0,j.defaultProps={indeterminate:!1},j.contextTypes={checkboxGroup:o.any},Object(a.polyfill)(j);var w=j,S=n("BGR+");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 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 V(e){return function(e){if(Array.isArray(e))return _(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 _(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(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 _(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 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 G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?R(e):t}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){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 F(e){return(F=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var D=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},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&&G(e,t)}(i,e);var t,n,o,a,c=(t=i,function(){var e,n=F(t);if(T()){var r=F(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});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=c.call(this,e)).cancelValue=function(e){t.setState((function(t){return{registeredValues:t.registeredValues.filter((function(t){return t!==e}))}}))},t.registerValue=function(e){t.setState((function(t){var n=t.registeredValues;return{registeredValues:[].concat(V(n),[e])}}))},t.toggleOption=function(e){var n=t.state.registeredValues,r=t.state.value.indexOf(e.value),o=V(t.state.value);-1===r?o.push(e.value):o.splice(r,1),"value"in t.props||t.setState({value:o});var a=t.props.onChange;if(a){var c=t.getOptions();a(o.filter((function(e){return-1!==n.indexOf(e)})).sort((function(e,t){return c.findIndex((function(t){return t.value===e}))-c.findIndex((function(e){return e.value===t}))})))}},t.renderGroup=function(e){var n=e.getPrefixCls,o=R(t),a=o.props,c=o.state,i=a.prefixCls,l=a.className,s=a.style,p=a.options,f=D(a,["prefixCls","className","style","options"]),y=n("checkbox",i),d="".concat(y,"-group"),h=Object(S.a)(f,["children","defaultValue","value","onChange","disabled"]),b=a.children;p&&p.length>0&&(b=t.getOptions().map((function(e){return r.createElement(w,{prefixCls:y,key:e.value.toString(),disabled:"disabled"in e?e.disabled:a.disabled,value:e.value,checked:-1!==c.value.indexOf(e.value),onChange:e.onChange,className:"".concat(d,"-item")},e.label)})));var v=u()(d,l);return r.createElement("div",E({className:v,style:s},h),b)},t.state={value:e.value||e.defaultValue||[],registeredValues:[]},t}return n=i,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}],(o=[{key:"getChildContext",value:function(){return{checkboxGroup:{toggleOption:this.toggleOption,value:this.state.value,disabled:this.props.disabled,name:this.props.name,registerValue:this.registerValue,cancelValue:this.cancelValue}}}},{key:"shouldComponentUpdate",value:function(e,t){return!s()(this.props,e)||!s()(this.state,t)}},{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return r.createElement(p.a,null,this.renderGroup)}}])&&N(n.prototype,o),a&&N(n,a),i}(r.Component);M.defaultProps={options:[]},M.propTypes={defaultValue:o.array,value:o.array,options:o.array.isRequired,onChange:o.func},M.childContextTypes={checkboxGroup:o.any},Object(a.polyfill)(M);var A=M;w.Group=A;t.default=w},x1Ya:function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),a=n("QbLZ"),c=n.n(a),u=n("iCc5"),i=n.n(u),l=n("FYw3"),s=n.n(l),p=n("mRg0"),f=n.n(p),y=n("q1tI"),d=n.n(y),h=n("17x9"),b=n.n(h),v=n("TSYQ"),m=n.n(v),g=n("VCL8"),O=function(e){function t(n){i()(this,t);var r=s()(this,e.call(this,n));r.handleChange=function(e){var t=r.props,n=t.disabled,o=t.onChange;n||("checked"in r.props||r.setState({checked:e.target.checked}),o&&o({target:c()({},r.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},r.saveInput=function(e){r.input=e};var o="checked"in n?n.checked:n.defaultChecked;return r.state={checked:o},r}return f()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?c()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,n=t.prefixCls,r=t.className,a=t.style,u=t.name,i=t.id,l=t.type,s=t.disabled,p=t.readOnly,f=t.tabIndex,y=t.onClick,h=t.onFocus,b=t.onBlur,v=t.autoFocus,g=t.value,O=o()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value"]),k=Object.keys(O).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=O[t]),e}),{}),x=this.state.checked,C=m()(n,r,((e={})[n+"-checked"]=x,e[n+"-disabled"]=s,e));return d.a.createElement("span",{className:C,style:a},d.a.createElement("input",c()({name:u,id:i,type:l,readOnly:p,disabled:s,tabIndex:f,className:n+"-input",checked:!!x,onClick:y,onFocus:h,onBlur:b,onChange:this.handleChange,autoFocus:v,ref:this.saveInput,value:g},k)),d.a.createElement("span",{className:n+"-inner"}))},t}(y.Component);O.propTypes={prefixCls:b.a.string,className:b.a.string,style:b.a.object,name:b.a.string,id:b.a.string,type:b.a.string,defaultChecked:b.a.oneOfType([b.a.number,b.a.bool]),checked:b.a.oneOfType([b.a.number,b.a.bool]),disabled:b.a.bool,onFocus:b.a.func,onBlur:b.a.func,onChange:b.a.func,onClick:b.a.func,tabIndex:b.a.oneOfType([b.a.string,b.a.number]),readOnly:b.a.bool,autoFocus:b.a.bool,value:b.a.any},O.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},Object(g.polyfill)(O);var k=O;t.a=k}}]); \ No newline at end of file diff --git a/static/js/72.18cbc37f.chunk.js b/static/js/74.f8757b88.chunk.js similarity index 96% rename from static/js/72.18cbc37f.chunk.js rename to static/js/74.f8757b88.chunk.js index 57c149dbf..20fcacc50 100644 --- a/static/js/72.18cbc37f.chunk.js +++ b/static/js/74.f8757b88.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[72],{KBVR:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABKCAYAAADHa2hTAAANPElEQVR4Xu1cCXhURRL+q9+bISFCuORGUBATBEGERXDjKiIgZMIqCiuuqAuoqKgcIqu5BpEVVmHXE2UXELkEPJBLCHIH5FKCEEkAlUvCJWdAknnd+3W/mckMmZAJMwkZdur78mXee93V1X9Xd1dXVzfBg0QKdIPHPsiFsAFoDEIlz+8h/1vgdyHEfiKWZtHyPyH77tPBrBO5mOW9EtsaTMwAcFMwCyjHvI4JiIEVRmXNDZaMCsy8pGbtIPhyABWDxTgk+AgIxkR//bWsScGQl0Rq3YoOR+UsAdQPBsMQ5JEnYLSqMGrXj4HKTvlJMUOEwFuBMgrx/DOto3b2CbQOlJcYkw6gQ6CMQjz/WYvGqpM9My+QekgwfwNQNRAmV0NeC/QmNGr7nkDqQvmJMVwA7lk9EGYhnVeIttbXszYHUgepmSIQBldNXk20tdrDYAanPcNgBgdHxSUMZhjMICIQRFZhzQxlMCvXAk4fLqgB04AaNwAnDgD554NYs0uwYjrADQBBNkLKVDM1C/RhK2CkT4ZY+1+ztpVqwjJ8FRyTHof4eYM3AlHVoD38TvEAO/JgTHnCTBdRCVQnFpCA6RXM58hooHJNUJW6QI3rQdc2hjEvGWLrPDdvZksF1brR/WwsfB3sxjhQ0zvd7/i6yRCZy4qWpyzBpBbdoD30Joylb0K7d4hTKAIxBsG5W1PErrUwpj0NVK4Ny0srwLd/DXEqR6VnbR6COJwNsT9DPVPtm0DX3QrHyFtNfpHR0Id+AwgOOC4AjjygYhXgQi74rrXAb/sgcnaa+c+dcAOjDZgBGPkQu9ZA6zxUNS5r1QOoEwuR8RXY3c+CL30LfOPM8gAmQQl84SyMz0aA6rcoqHzPN2CkjVcgSRJnjwMHf3CD6Zj0GMTPG9U3fdhy8M1zwFd+YIL7h4fBug4vANNHVbU+7wLcAWPWi0UCIWUT+7eCp/0LltSMAjAtETBmD4H+8hrwFe+XDzCp3SPQ4xNhfD0WPH0ytMcnA7oF0Kxg9VuASyB/P6Mqa8wfCchnl2buWgOcOWZqYvMuEMd+AXKyTGCuvR5UO6YATKaB3TXQCzTWohvAOfiOr93vRU42ROZSL80MDTCrNoD+3DyQNRLG4jHg66ZAT/4efNsC4FQOtI7PwdgwEzh5EFqXYXBMfARi33eXB6Ycl5+e462BcqyUdPJX93uevRo8bZxqTETXhtZ7PMShTPD0KbA8vwCOucPBYjupcddYNBr6k7PAN0wH3zQbOHvUt4aXyZhZrzm0+/4OqtlEdU8XmMbc4RC/ZsIydBkcU/pDHMiAJXFTITBLs5tT3ZuhD/R/14FnrYQxzVvzC9S7TNbmBERWhv7CIvDVE91gkiXCZwu7NTO6DixyjPz+S4iTB80xsn1f1QBir+mcobrNQTe0M7u5NQqs3cOFeJKcSASHyJjv9U1NZD9tAKo1gN7rLfB9W8E3zYLlmc/h+PxVsGadzGEnbRz0flPBN34Kvnk2cOrQFdRMZ9H6iHQ3mOy+ERA/fatMI72HHY6pT0Gccdqfx/eZNmeDVrA8ORNczrxOG1TO3Dh9xA0uSbs1uo4J5jU1VKULUaVapqVw5ojXJ56ZBp42Xr1TJtvqjyC2fFYwAcX1V5MiX/LP8jUBKYFdYG6cCe2vH4CqN1SAUvOucIxqa5ozHkQtbdDuHw3H622B/N+dlS6F2Zxp0FMyYEx/FmLPejeYWrdXwL/7DHz91HIM5ropgG5VgLLGHcB/zYQxdQCQKx32BcR6jwdVbQBjwoPul4VMo/Z9we4dHJBpRI07QHvsP3CM76y0XplGMwZB6z0OxoxBENmryi+Y4twJUMPWYLfYgDNHAWtFZVhLLRU5WWoml4a1Pngp5EpEeBjKLjDF3i1gcQNAdWIgTh+B8UFP795NDKzTi8poZ7f1VAY7n5fkc6xTjRYZDb78HdAt8dDa9YGx/hOwlglwzBwEFttRjdXGnJcgfljke7yUb8tkNncWrw2cC75xlprVqUYj8Ow1EHJAFwIUew9ILt9qNlGg8mX/BvvjE+DrpiqD20XUMgE4ugfi1CGwuP7A72fVCgnHfipUSfbAG6Do2kDucRirPjRtVx9EMR0Bw6HGYa3LSxCHs5QJRM06mSuiLsMhju4BX/EekHeufIBZtBRXyZey1MyrBLKwZpZJQ4Y1M4gwh8EMgxlEBILIKqyZYTCDiEAQWYU1MwxmEBEIIquwZl4mmHL3M6ISIH2yF86qZS00Hg7c8gvOyGhQbCewG24H1WsOVK0P0nR3VsEN8HWTbHrckwv84ldEoqs7pLDWTWB3DgBrdi9ItxZAIJ0v0mUoHR+GQ7kUje2L+ml35kwhsns7ZkuAbvFgMh3ag2NAMfcAMoJDRlNIYYQBGPK3Yf6W79Q3zz8HZKu788j9da90l8jjyT8vF3zHEuDIbv+qVrEKWOdhYK3vBxEz8+QeBw5sA47uNrcuhI+IEKJcCJEOEvOgYxZ1tXs7aYspvVgwqdWfoff8h3+VKMVUIu8cHG93VzuilyJq2AZarzehtkQkye2OncuBw87tZf9lPAeBj2AVr/kLasiAKTFwzHzBa7/8YlyUc/iB0SDNYmpe9ipg95pCWyr+46lSHgOJfhRv/6q4fMWCCc0CrecY0wHsOe4UxznI38X5U3C8HQ+cNQMaCgHZoju0h8aa3VqG1Wz9AsjZGSwpOIRIogT76Ev2ihLFtMsx0/VHOqA5n8n1Xi/4rtLpIM88znduHj6fNZA0XSRPJ3/hyIPYuaLobdoGt0Lv97GpkRLI9VOKThsIvIT3KT712aJYFK+ZgRReFnkjKpkRJ9F1zK69Zbb/GhlVXUXWqSAxObZ6hksWKTsbRLbkd332jhJpZlmAU8IyWHyS2kRTJMfI7JX+cZDa32kIYI0sSH/+NLB3EyDDI438ovg4oLFO1C15VaGhJqTBrNYQ+gsLzaFE7pSunuD/ZCPjlDoPg5wTCpGM5NsyB3AFVhROkY3zogX1snudaAvpbs562KG16WVWVXbvQyU8S1rtOqBOM6BiVUAGiFW4pgA2GTixYZoKSPNNbCDZkid4fgtdMC0R0F9eC6oQZQa+LpdRygGEZhMB9VsCzbqYa3ZJF3KBtROB86d84Cl2kc3e9KoAU6619T7OMO9dq4GsFf6NlcWliqoBtH8MiHBq6bGfgW99xEApPqwD2ZLXu1iGrGay7onQbn/ErEf6JODE/uJg8v97lXpAhydMM0/Syvd827eEkRSfmhLyYGr9p4M1bK2iirF4tOkfCCY1vgOQ/gi5pl/9oVdkikcxS8mW2qVkYMpVhbTJ5LiinBrcnDWVk8PH/2BWqgheary8prrp/Vnhx6mOy5HJGmWGQ14U4VfAivaSLaWR/2BaIkHt+5qC+0teAEvgXQ1gmCczPL8r75ADOL7XjPksUnDvwvXUbeaKR55BSncepfFXvmClI8ql+BS3CVDsmEkNbwPd7NbkYInhk49ys+3dUnwZxGAZucNMd/wXYP3HxecpnRQOsqW6DdViwUTNJmAuW650BHJzlUdcxI+XOPjkUb6e9J06tKAODkjz5UqQEKcowV7F/24uU0p3f62m5mqBaaZnRs50vv7Ld3JsLSnlnwf/dpq5kvGD9CHLQFXrmXs4aVfqvhaxg2z25iUD04/KeSWRYCpPkgTWBbqrATyeXWlkZgmidDj4SdqjH4K5jvMtGVt2Zzc95SPMpvjU3qULpp+ABJKMdRwE7e5nTBabP/XfUxRIoRfnZfQcdU95L+TBpAYt1WEpRQcygK1fBhMmf3hxWPVG1CXRvVoofgLyh+0VSUPQh31j+jGlQ3jZuBINE4GLLJaQzd7Vq9fnJcbkhuodcBTXH3rnoWZ95NpcrtHLigS7ixK8fZqUlxibCYjYspIhqOVIL/vgJSDpQpOTl1xDOw/EBrWci5kRPqf41IuOiACym48DMLhUCy9F5tT2L9ATnL4G6eGRPkg/V1GXJ5bYD25tSz1e9bgSwuRE51NiGmkO7AShwuUxv8K5iKD1nQjW5A5TkF82Adsvcd4nYHFFBizW+6jrq4UOYZr3ZybGDALwdsDlXCkG8tzlU5+aV09I2vkNsHttaUqzD4J1o4Rk55rWqZmuEo2kmCFcYIwACiKaSlOcYPOu0Qh6/+mgqGomZ2kubZvvvBwl2IUpfich0JMSUuUlrmY39yzmQlKzm0mIEQQeL0DuNWepiFIaTKs3hP7oR6Dq15nc5bp921d+buEWIRBhIYS4C6AoHynkhtoAsqUqV7zPRbS8tfBMatPqFgeF3AXOEU3jIhyN49yKoFsY4di+28Dz/waBVv61ofQL0mJo7A3qlpwuFqa0ASd54L22j/wCECPIZh97GR4J/8Qpj6nEvJRbwNAVRB0g1EXVNeQFQDJGDsBBEDIhaDUs+oKLJxixOKURDCyCIF9mpIDB2v9fgRloA4sFI6pCVPgCoD8V4kX0fBjMEiIsZqdYEUmTAXjeUSy7+u1hMEsIpkyubsKdbx8GiMHOFcIostkn/A8jGDgVNpVC7gAAAABJRU5ErkJggg=="},KkuB:function(e,t,A){},X2IR:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(A("q1tI")),d=r(A("KBVR"));function r(e){return e&&e.__esModule?e:{default:e}}A("KkuB"),t.default=function(){return u.default.createElement("div",{className:"handleBox"},u.default.createElement("a",{href:"https://forum.trustie.net/forums/3075/detail",target:"_blank"},u.default.createElement("img",{src:d.default,alt:""})))}},klRS:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=i(A("q1tI")),d=A("eO8H"),r=i(A("CnBM")),n=i(A("HUFq")),B=A("dtw8"),l=A("sYIF"),a=A("1thW"),c=A("5A3O"),f=i(A("X2IR"));function i(e){return e&&e.__esModule?e:{default:e}}var g=(0,r.default)({loader:function(){return Promise.all([A.e(12),A.e(54)]).then(A.t.bind(null,"xjFL",7))},loading:n.default});t.default=(0,B.withRouter)((0,a.CNotificationHOC)()((0,l.SnackbarHOC)()((0,c.TPMIndexHOC)((function(e){return u.default.createElement("div",null,u.default.createElement(f.default,null),u.default.createElement(d.Switch,null,u.default.createElement(d.Route,{path:"/users/:username",render:function(){return u.default.createElement(g,e)}})))})))))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[74],{KBVR:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABKCAYAAADHa2hTAAANPElEQVR4Xu1cCXhURRL+q9+bISFCuORGUBATBEGERXDjKiIgZMIqCiuuqAuoqKgcIqu5BpEVVmHXE2UXELkEPJBLCHIH5FKCEEkAlUvCJWdAknnd+3W/mckMmZAJMwkZdur78mXee93V1X9Xd1dXVzfBg0QKdIPHPsiFsAFoDEIlz+8h/1vgdyHEfiKWZtHyPyH77tPBrBO5mOW9EtsaTMwAcFMwCyjHvI4JiIEVRmXNDZaMCsy8pGbtIPhyABWDxTgk+AgIxkR//bWsScGQl0Rq3YoOR+UsAdQPBsMQ5JEnYLSqMGrXj4HKTvlJMUOEwFuBMgrx/DOto3b2CbQOlJcYkw6gQ6CMQjz/WYvGqpM9My+QekgwfwNQNRAmV0NeC/QmNGr7nkDqQvmJMVwA7lk9EGYhnVeIttbXszYHUgepmSIQBldNXk20tdrDYAanPcNgBgdHxSUMZhjMICIQRFZhzQxlMCvXAk4fLqgB04AaNwAnDgD554NYs0uwYjrADQBBNkLKVDM1C/RhK2CkT4ZY+1+ztpVqwjJ8FRyTHof4eYM3AlHVoD38TvEAO/JgTHnCTBdRCVQnFpCA6RXM58hooHJNUJW6QI3rQdc2hjEvGWLrPDdvZksF1brR/WwsfB3sxjhQ0zvd7/i6yRCZy4qWpyzBpBbdoD30Joylb0K7d4hTKAIxBsG5W1PErrUwpj0NVK4Ny0srwLd/DXEqR6VnbR6COJwNsT9DPVPtm0DX3QrHyFtNfpHR0Id+AwgOOC4AjjygYhXgQi74rrXAb/sgcnaa+c+dcAOjDZgBGPkQu9ZA6zxUNS5r1QOoEwuR8RXY3c+CL30LfOPM8gAmQQl84SyMz0aA6rcoqHzPN2CkjVcgSRJnjwMHf3CD6Zj0GMTPG9U3fdhy8M1zwFd+YIL7h4fBug4vANNHVbU+7wLcAWPWi0UCIWUT+7eCp/0LltSMAjAtETBmD4H+8hrwFe+XDzCp3SPQ4xNhfD0WPH0ytMcnA7oF0Kxg9VuASyB/P6Mqa8wfCchnl2buWgOcOWZqYvMuEMd+AXKyTGCuvR5UO6YATKaB3TXQCzTWohvAOfiOr93vRU42ROZSL80MDTCrNoD+3DyQNRLG4jHg66ZAT/4efNsC4FQOtI7PwdgwEzh5EFqXYXBMfARi33eXB6Ycl5+e462BcqyUdPJX93uevRo8bZxqTETXhtZ7PMShTPD0KbA8vwCOucPBYjupcddYNBr6k7PAN0wH3zQbOHvUt4aXyZhZrzm0+/4OqtlEdU8XmMbc4RC/ZsIydBkcU/pDHMiAJXFTITBLs5tT3ZuhD/R/14FnrYQxzVvzC9S7TNbmBERWhv7CIvDVE91gkiXCZwu7NTO6DixyjPz+S4iTB80xsn1f1QBir+mcobrNQTe0M7u5NQqs3cOFeJKcSASHyJjv9U1NZD9tAKo1gN7rLfB9W8E3zYLlmc/h+PxVsGadzGEnbRz0flPBN34Kvnk2cOrQFdRMZ9H6iHQ3mOy+ERA/fatMI72HHY6pT0Gccdqfx/eZNmeDVrA8ORNczrxOG1TO3Dh9xA0uSbs1uo4J5jU1VKULUaVapqVw5ojXJ56ZBp42Xr1TJtvqjyC2fFYwAcX1V5MiX/LP8jUBKYFdYG6cCe2vH4CqN1SAUvOucIxqa5ozHkQtbdDuHw3H622B/N+dlS6F2Zxp0FMyYEx/FmLPejeYWrdXwL/7DHz91HIM5ropgG5VgLLGHcB/zYQxdQCQKx32BcR6jwdVbQBjwoPul4VMo/Z9we4dHJBpRI07QHvsP3CM76y0XplGMwZB6z0OxoxBENmryi+Y4twJUMPWYLfYgDNHAWtFZVhLLRU5WWoml4a1Pngp5EpEeBjKLjDF3i1gcQNAdWIgTh+B8UFP795NDKzTi8poZ7f1VAY7n5fkc6xTjRYZDb78HdAt8dDa9YGx/hOwlglwzBwEFttRjdXGnJcgfljke7yUb8tkNncWrw2cC75xlprVqUYj8Ow1EHJAFwIUew9ILt9qNlGg8mX/BvvjE+DrpiqD20XUMgE4ugfi1CGwuP7A72fVCgnHfipUSfbAG6Do2kDucRirPjRtVx9EMR0Bw6HGYa3LSxCHs5QJRM06mSuiLsMhju4BX/EekHeufIBZtBRXyZey1MyrBLKwZpZJQ4Y1M4gwh8EMgxlEBILIKqyZYTCDiEAQWYU1MwxmEBEIIquwZl4mmHL3M6ISIH2yF86qZS00Hg7c8gvOyGhQbCewG24H1WsOVK0P0nR3VsEN8HWTbHrckwv84ldEoqs7pLDWTWB3DgBrdi9ItxZAIJ0v0mUoHR+GQ7kUje2L+ml35kwhsns7ZkuAbvFgMh3ag2NAMfcAMoJDRlNIYYQBGPK3Yf6W79Q3zz8HZKu788j9da90l8jjyT8vF3zHEuDIbv+qVrEKWOdhYK3vBxEz8+QeBw5sA47uNrcuhI+IEKJcCJEOEvOgYxZ1tXs7aYspvVgwqdWfoff8h3+VKMVUIu8cHG93VzuilyJq2AZarzehtkQkye2OncuBw87tZf9lPAeBj2AVr/kLasiAKTFwzHzBa7/8YlyUc/iB0SDNYmpe9ipg95pCWyr+46lSHgOJfhRv/6q4fMWCCc0CrecY0wHsOe4UxznI38X5U3C8HQ+cNQMaCgHZoju0h8aa3VqG1Wz9AsjZGSwpOIRIogT76Ev2ihLFtMsx0/VHOqA5n8n1Xi/4rtLpIM88znduHj6fNZA0XSRPJ3/hyIPYuaLobdoGt0Lv97GpkRLI9VOKThsIvIT3KT712aJYFK+ZgRReFnkjKpkRJ9F1zK69Zbb/GhlVXUXWqSAxObZ6hksWKTsbRLbkd332jhJpZlmAU8IyWHyS2kRTJMfI7JX+cZDa32kIYI0sSH/+NLB3EyDDI438ovg4oLFO1C15VaGhJqTBrNYQ+gsLzaFE7pSunuD/ZCPjlDoPg5wTCpGM5NsyB3AFVhROkY3zogX1snudaAvpbs562KG16WVWVXbvQyU8S1rtOqBOM6BiVUAGiFW4pgA2GTixYZoKSPNNbCDZkid4fgtdMC0R0F9eC6oQZQa+LpdRygGEZhMB9VsCzbqYa3ZJF3KBtROB86d84Cl2kc3e9KoAU6619T7OMO9dq4GsFf6NlcWliqoBtH8MiHBq6bGfgW99xEApPqwD2ZLXu1iGrGay7onQbn/ErEf6JODE/uJg8v97lXpAhydMM0/Syvd827eEkRSfmhLyYGr9p4M1bK2iirF4tOkfCCY1vgOQ/gi5pl/9oVdkikcxS8mW2qVkYMpVhbTJ5LiinBrcnDWVk8PH/2BWqgheary8prrp/Vnhx6mOy5HJGmWGQ14U4VfAivaSLaWR/2BaIkHt+5qC+0teAEvgXQ1gmCczPL8r75ADOL7XjPksUnDvwvXUbeaKR55BSncepfFXvmClI8ql+BS3CVDsmEkNbwPd7NbkYInhk49ys+3dUnwZxGAZucNMd/wXYP3HxecpnRQOsqW6DdViwUTNJmAuW650BHJzlUdcxI+XOPjkUb6e9J06tKAODkjz5UqQEKcowV7F/24uU0p3f62m5mqBaaZnRs50vv7Ld3JsLSnlnwf/dpq5kvGD9CHLQFXrmXs4aVfqvhaxg2z25iUD04/KeSWRYCpPkgTWBbqrATyeXWlkZgmidDj4SdqjH4K5jvMtGVt2Zzc95SPMpvjU3qULpp+ABJKMdRwE7e5nTBabP/XfUxRIoRfnZfQcdU95L+TBpAYt1WEpRQcygK1fBhMmf3hxWPVG1CXRvVoofgLyh+0VSUPQh31j+jGlQ3jZuBINE4GLLJaQzd7Vq9fnJcbkhuodcBTXH3rnoWZ95NpcrtHLigS7ixK8fZqUlxibCYjYspIhqOVIL/vgJSDpQpOTl1xDOw/EBrWci5kRPqf41IuOiACym48DMLhUCy9F5tT2L9ATnL4G6eGRPkg/V1GXJ5bYD25tSz1e9bgSwuRE51NiGmkO7AShwuUxv8K5iKD1nQjW5A5TkF82Adsvcd4nYHFFBizW+6jrq4UOYZr3ZybGDALwdsDlXCkG8tzlU5+aV09I2vkNsHttaUqzD4J1o4Rk55rWqZmuEo2kmCFcYIwACiKaSlOcYPOu0Qh6/+mgqGomZ2kubZvvvBwl2IUpfich0JMSUuUlrmY39yzmQlKzm0mIEQQeL0DuNWepiFIaTKs3hP7oR6Dq15nc5bp921d+buEWIRBhIYS4C6AoHynkhtoAsqUqV7zPRbS8tfBMatPqFgeF3AXOEU3jIhyN49yKoFsY4di+28Dz/waBVv61ofQL0mJo7A3qlpwuFqa0ASd54L22j/wCECPIZh97GR4J/8Qpj6nEvJRbwNAVRB0g1EXVNeQFQDJGDsBBEDIhaDUs+oKLJxixOKURDCyCIF9mpIDB2v9fgRloA4sFI6pCVPgCoD8V4kX0fBjMEiIsZqdYEUmTAXjeUSy7+u1hMEsIpkyubsKdbx8GiMHOFcIostkn/A8jGDgVNpVC7gAAAABJRU5ErkJggg=="},KkuB:function(e,t,A){},X2IR:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=r(A("q1tI")),d=r(A("KBVR"));function r(e){return e&&e.__esModule?e:{default:e}}A("KkuB"),t.default=function(){return u.default.createElement("div",{className:"handleBox"},u.default.createElement("a",{href:"https://forum.trustie.net/forums/3075/detail",target:"_blank"},u.default.createElement("img",{src:d.default,alt:""})))}},klRS:function(e,t,A){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=i(A("q1tI")),d=A("eO8H"),r=i(A("CnBM")),n=i(A("HUFq")),B=A("dtw8"),l=A("sYIF"),a=A("1thW"),c=A("5A3O"),f=i(A("X2IR"));function i(e){return e&&e.__esModule?e:{default:e}}var g=(0,r.default)({loader:function(){return Promise.all([A.e(12),A.e(55)]).then(A.t.bind(null,"xjFL",7))},loading:n.default});t.default=(0,B.withRouter)((0,a.CNotificationHOC)()((0,l.SnackbarHOC)()((0,c.TPMIndexHOC)((function(e){return u.default.createElement("div",null,u.default.createElement(f.default,null),u.default.createElement(d.Switch,null,u.default.createElement(d.Route,{path:"/users/:username",render:function(){return u.default.createElement(g,e)}})))})))))}}]); \ No newline at end of file diff --git a/static/js/73.8c23c7d9.chunk.js b/static/js/75.331ec86c.chunk.js similarity index 99% rename from static/js/73.8c23c7d9.chunk.js rename to static/js/75.331ec86c.chunk.js index 5a9b7635a..c8ac8bb1e 100644 --- a/static/js/73.8c23c7d9.chunk.js +++ b/static/js/75.331ec86c.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[73],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),l=o(a),s=o(n("dF3D"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("img",{src:s.default,alt:""}),l.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},LMhh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(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("04bd"),n("YQTV");var s=n("q1tI"),o=d(s),i=n("eO8H"),u=d(n("vDqi")),c=n("sYIF");n("6V0J");var f=d(n("2CTR"));function d(e){return e&&e.__esModule?e:{default:e}}var p=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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.props.match.params,a=r.projectsId,l="/"+r.owner+"/"+a+"/members.json";u.default.get(l,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,l=e.limit;if(t>l)return o.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},o.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:l,onChange:n.ChangePage}))},n.renderList=function(e){if(e&&e.length>0)return e.map((function(e,t){return o.default.createElement("div",{className:"w-25 pull-left",key:t},o.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},o.default.createElement("div",null,o.default.createElement(i.Link,{to:"/users/"+e.login,className:"show-user-link"},o.default.createElement("img",{className:"avatar-60",src:(0,c.getImageUrl)("images/"+e.image_url),alt:""}))),o.default.createElement("div",{className:"ml12"},o.default.createElement("div",null,o.default.createElement(i.Link,{to:"/projects/"+e.login+"/"+e.identifier,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),o.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},o.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),o.default.createElement("span",{className:"ml4"},"fork时间:",e.format_time)))))}))},n.state={users:null,count:0,limit:20,page:1,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),l(t,[{key:"render",value:function(){var e=this.state,t=e.users,n=e.count,a=e.isSpin;return o.default.createElement("div",{className:"pbt15"},o.default.createElement("div",{className:"main background-f minH-670"},o.default.createElement("div",{className:"plr-20 user-list-items"},o.default.createElement("div",{className:"font-18 pb-10 border-b-line"},"Fork列表"),o.default.createElement(r.default,{spinning:a},o.default.createElement("div",{className:"w-100 inline-block"},0===n?o.default.createElement(f.default,{_html:"暂时还没有相关数据!"}):this.renderList(t))),this.Paginations())))}}]),t}(s.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[75],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),l=o(a),s=o(n("dF3D"));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 i(this,t),u(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.props._html;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("img",{src:s.default,alt:""}),l.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},"6V0J":function(e,t,n){},LMhh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n("W9HT")),a=d(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("04bd"),n("YQTV");var s=n("q1tI"),o=d(s),i=n("eO8H"),u=d(n("vDqi")),c=n("sYIF");n("6V0J");var f=d(n("2CTR"));function d(e){return e&&e.__esModule?e:{default:e}}var p=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.getUsersList()},n.getUsersList=function(e,t){n.setState({isSpin:!0});var r=n.props.match.params,a=r.projectsId,l="/"+r.owner+"/"+a+"/members.json";u.default.get(l,{params:{page:e,limit:t}}).then((function(e){e&&n.setState({count:e.data.count,users:e.data.users,isSpin:!1})})).catch((function(e){console.log(e)}))},n.ChangePage=function(e){n.setState({page:e,isSpin:!0});var t=n.state.limit;n.getUsersList(e,t)},n.Paginations=function(){var e=n.state,t=e.count,r=e.page,l=e.limit;if(t>l)return o.default.createElement("div",{className:"mt50 mb30 edu-txt-center"},o.default.createElement(a.default,{simple:!0,defaultCurrent:r,total:t,pageSize:l,onChange:n.ChangePage}))},n.renderList=function(e){if(e&&e.length>0)return e.map((function(e,t){return o.default.createElement("div",{className:"w-25 pull-left",key:t},o.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},o.default.createElement("div",null,o.default.createElement(i.Link,{to:"/users/"+e.login,className:"show-user-link"},o.default.createElement("img",{className:"avatar-60",src:(0,c.getImageUrl)("images/"+e.image_url),alt:""}))),o.default.createElement("div",{className:"ml12"},o.default.createElement("div",null,o.default.createElement(i.Link,{to:"/projects/"+e.login+"/"+e.identifier,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),o.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},o.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),o.default.createElement("span",{className:"ml4"},"fork时间:",e.format_time)))))}))},n.state={users:null,count:0,limit:20,page:1,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),l(t,[{key:"render",value:function(){var e=this.state,t=e.users,n=e.count,a=e.isSpin;return o.default.createElement("div",{className:"pbt15"},o.default.createElement("div",{className:"main background-f minH-670"},o.default.createElement("div",{className:"plr-20 user-list-items"},o.default.createElement("div",{className:"font-18 pb-10 border-b-line"},"Fork列表"),o.default.createElement(r.default,{spinning:a},o.default.createElement("div",{className:"w-100 inline-block"},0===n?o.default.createElement(f.default,{_html:"暂时还没有相关数据!"}):this.renderList(t))),this.Paginations())))}}]),t}(s.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file diff --git a/static/js/76.350ca661.chunk.js b/static/js/76.350ca661.chunk.js deleted file mode 100644 index 79f6be781..000000000 --- a/static/js/76.350ca661.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[76],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),o=l(r),s=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 u=function(e){function t(){return c(this,t),i(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),a(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:s.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=u},Re6A:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),o=i(r),s=n("eO8H"),l=i(n("2CTR"));n("eV6p");n("sYIF");var c=i(n("vDqi"));function i(e){return e&&e.__esModule?e:{default:e}}var u=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.getIssueList()},n.getIssueList=function(){var e=n.props.match.params,t=e.projectsId,a="/"+e.owner+"/"+t+"/releases.json";c.default.get(a).then((function(e){e&&n.setState({data:e.data,releases:e.data.releases,issues:e.data.issues,isSpin:!1})})).catch((function(e){console.log(e)}))},n.showBody=function(e,t){var a=n.state.releases;a[e].bodyshow=!t,n.setState({releases:a})},n.renderList=function(e){var t=n.props.match.params,a=t.projectsId,r=t.owner;return e&&e.length>0?o.default.createElement("div",null,e.map((function(e,t){return o.default.createElement("div",{className:"versionInfo",key:t},o.default.createElement("span",{className:"versionInfo_left"},o.default.createElement("span",{className:"稳定"===e.draft?"versionTag green":"versionTag yellow"},e.draft),o.default.createElement("span",{className:"mt10"},e.created_at),o.default.createElement("span",{className:"color-grey-8"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 mr3 font-14"}),e.tag_name)),o.default.createElement("div",{className:"versionInfo_right"},o.default.createElement("span",{className:"versionName"},o.default.createElement("span",{className:"task-hide"},e.name),o.default.createElement(s.Link,{to:"/projects/"+r+"/"+a+"/releases/"+e.version_id+"/update",className:"color-blue ml3 font-12"},"(编辑)")),o.default.createElement("span",{className:"color-grey-3"},o.default.createElement("i",{className:e.bodyshow?"iconfont icon-sanjiaoxing-down color-grey-8 mr3 font-14":"iconfont icon-triangle color-grey-8 mr3 font-14",onClick:function(){return n.showBody(t,e.bodyshow)}}),e.user_name,":",o.default.createElement("span",{className:"color-grey-8"},"发布了这个版本,并在发布后提交给",e.target_commitish)),e.bodyshow&&o.default.createElement("p",{className:"mt10"},e.body),o.default.createElement("p",{className:"mt10 pl3"},o.default.createElement("a",{href:e.tarball_url,style:{color:"#4CC1DA"},className:"mr30"},o.default.createElement("i",{className:"iconfont icon-TAR font-18 mr5"}),"TAR"),o.default.createElement("a",{href:e.zipball_url,style:{color:"#28BD6C"}},o.default.createElement("i",{className:"iconfont icon-ZIP font-18 mr5"}),"ZIP"))))}))):o.default.createElement(l.default,{_html:"暂时还没有相关数据!"})},n.state={issue_chosen:void 0,data:void 0,releases:void 0,issues:void 0,isSpin:!1,search:void 0,search_count: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.props.match.params,t=e.projectsId,n=e.owner,a=this.state,r=a.data,l=a.releases;return o.default.createElement("div",{className:"main",style:{paddingTop:"0px"}},o.default.createElement("div",{className:"topWrapper"},o.default.createElement("span",{className:"font-18 color-grey-3"},"版本发布"),r&&r.user_permission?o.default.createElement(s.Link,{to:"/projects/"+n+"/"+t+"/releases/new",className:"topWrapper_btn_new"},"+ 发布新版"):""),o.default.createElement("div",{className:"releasesVersion"},this.renderList(l)))}}]),t}(r.Component);t.default=u},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},eV6p:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/74.f2f5994d.chunk.js b/static/js/76.81685560.chunk.js similarity index 99% rename from static/js/74.f2f5994d.chunk.js rename to static/js/76.81685560.chunk.js index 5ed3495c9..11cc37967 100644 --- a/static/js/74.f2f5994d.chunk.js +++ b/static/js/76.81685560.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[74],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),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("L/Qf");var o=n("q1tI"),l=s(o),u=n("sYIF"),i=s(n("KJct"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return l.default.createElement("div",{className:"pull-left "+t,key:o},l.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},l.default.createElement("img",{className:"avatar-60",src:(0,u.getImageUrl)("images/"+e.image_url),alt:""}))),l.default.createElement("div",{className:"ml12"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),l.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},l.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),l.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?l.default.createElement(r.default,{type:"default"},"当前用户"):l.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},bkQV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("uaeZ"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.current_user;return o.default.createElement("div",null,t&&t.login&&o.default.createElement(l.default,{userType:"fan_users",login:t.login,current_user:n}))}}]),t}(a.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},uaeZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),o=p(n("5rEg")),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("04bd"),n("YQTV"),n("1vPl");var u=n("q1tI"),i=p(u),s=p(n("vDqi")),c=p(n("2CTR")),f=p(n("Xd6l"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Search,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_watchers()},n.get_watchers=function(){var e=n.props,t="/users/"+e.login+"/"+e.userType+".json",r=n.state,a=r.page,o=r.limit,l=r.search;n.setState({isSpin:!0}),s.default.get(t,{params:{page:a,limit:o,search:l}}).then((function(e){e&&n.setState({users:e.data.users,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changePage=function(e){n.state.page=e,n.get_watchers()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.state={page:1,limit:30,users:void 0,search:void 0,total: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.state,t=e.users,n=e.isSpin,o=e.total,l=e.search,u=e.limit,s=e.page,p=this.props,b=p.userType,h=p.login,m=p.current_user,g=m&&h===m.login?"我":"TA",y=o&&o>u?i.default.createElement("div",{className:"edu-txt-center pt30 mb30"},i.default.createElement(a.default,{simple:!0,defaultCurrent:s,total:o,pageSize:u,onChange:this.changePage})):"";return i.default.createElement(r.default,{spinning:n},i.default.createElement("div",{className:"pd20 minH-670"},i.default.createElement("div",{className:"grid-item pb20 bbt"},i.default.createElement("h3",null,"watchers"===b?g+"关注的":"关注"+g+"的"),i.default.createElement("div",{className:"text-right"},i.default.createElement(d,{placeholder:"输入名称进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_watchers,className:"list-r-Search",value:l,onChange:this.changeSearchValue}))),t&&t.length>0?i.default.createElement("div",{className:"w-100 inline-block"},i.default.createElement(f.default,{users:t,userClass:"w-33",current_user:m})):i.default.createElement(c.default,{_html:"暂时没有数据~"}),i.default.createElement("div",{className:"w-100"},y)))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[76],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),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("L/Qf");var o=n("q1tI"),l=s(o),u=n("sYIF"),i=s(n("KJct"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return l.default.createElement("div",{className:"pull-left "+t,key:o},l.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},l.default.createElement("img",{className:"avatar-60",src:(0,u.getImageUrl)("images/"+e.image_url),alt:""}))),l.default.createElement("div",{className:"ml12"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),l.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},l.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),l.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?l.default.createElement(r.default,{type:"default"},"当前用户"):l.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},bkQV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("uaeZ"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.current_user;return o.default.createElement("div",null,t&&t.login&&o.default.createElement(l.default,{userType:"fan_users",login:t.login,current_user:n}))}}]),t}(a.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},uaeZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),o=p(n("5rEg")),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("04bd"),n("YQTV"),n("1vPl");var u=n("q1tI"),i=p(u),s=p(n("vDqi")),c=p(n("2CTR")),f=p(n("Xd6l"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Search,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_watchers()},n.get_watchers=function(){var e=n.props,t="/users/"+e.login+"/"+e.userType+".json",r=n.state,a=r.page,o=r.limit,l=r.search;n.setState({isSpin:!0}),s.default.get(t,{params:{page:a,limit:o,search:l}}).then((function(e){e&&n.setState({users:e.data.users,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changePage=function(e){n.state.page=e,n.get_watchers()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.state={page:1,limit:30,users:void 0,search:void 0,total: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.state,t=e.users,n=e.isSpin,o=e.total,l=e.search,u=e.limit,s=e.page,p=this.props,b=p.userType,h=p.login,m=p.current_user,g=m&&h===m.login?"我":"TA",y=o&&o>u?i.default.createElement("div",{className:"edu-txt-center pt30 mb30"},i.default.createElement(a.default,{simple:!0,defaultCurrent:s,total:o,pageSize:u,onChange:this.changePage})):"";return i.default.createElement(r.default,{spinning:n},i.default.createElement("div",{className:"pd20 minH-670"},i.default.createElement("div",{className:"grid-item pb20 bbt"},i.default.createElement("h3",null,"watchers"===b?g+"关注的":"关注"+g+"的"),i.default.createElement("div",{className:"text-right"},i.default.createElement(d,{placeholder:"输入名称进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_watchers,className:"list-r-Search",value:l,onChange:this.changeSearchValue}))),t&&t.length>0?i.default.createElement("div",{className:"w-100 inline-block"},i.default.createElement(f.default,{users:t,userClass:"w-33",current_user:m})):i.default.createElement(c.default,{_html:"暂时没有数据~"}),i.default.createElement("div",{className:"w-100"},y)))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file diff --git a/static/js/75.a5e4443c.chunk.js b/static/js/77.fed1bcf7.chunk.js similarity index 99% rename from static/js/75.a5e4443c.chunk.js rename to static/js/77.fed1bcf7.chunk.js index 1d39fb225..d5e43ee12 100644 --- a/static/js/75.a5e4443c.chunk.js +++ b/static/js/77.fed1bcf7.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[75],{"0WPJ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("uaeZ"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.current_user;return o.default.createElement("div",{className:"minH-650"},t&&t.login&&o.default.createElement(l.default,{userType:"watchers",login:t.login,current_user:n}))}}]),t}(a.Component);t.default=c},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),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("L/Qf");var o=n("q1tI"),l=s(o),u=n("sYIF"),i=s(n("KJct"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return l.default.createElement("div",{className:"pull-left "+t,key:o},l.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},l.default.createElement("img",{className:"avatar-60",src:(0,u.getImageUrl)("images/"+e.image_url),alt:""}))),l.default.createElement("div",{className:"ml12"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),l.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},l.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),l.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?l.default.createElement(r.default,{type:"default"},"当前用户"):l.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},uaeZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),o=p(n("5rEg")),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("04bd"),n("YQTV"),n("1vPl");var u=n("q1tI"),i=p(u),s=p(n("vDqi")),c=p(n("2CTR")),f=p(n("Xd6l"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Search,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_watchers()},n.get_watchers=function(){var e=n.props,t="/users/"+e.login+"/"+e.userType+".json",r=n.state,a=r.page,o=r.limit,l=r.search;n.setState({isSpin:!0}),s.default.get(t,{params:{page:a,limit:o,search:l}}).then((function(e){e&&n.setState({users:e.data.users,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changePage=function(e){n.state.page=e,n.get_watchers()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.state={page:1,limit:30,users:void 0,search:void 0,total: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.state,t=e.users,n=e.isSpin,o=e.total,l=e.search,u=e.limit,s=e.page,p=this.props,b=p.userType,h=p.login,m=p.current_user,g=m&&h===m.login?"我":"TA",y=o&&o>u?i.default.createElement("div",{className:"edu-txt-center pt30 mb30"},i.default.createElement(a.default,{simple:!0,defaultCurrent:s,total:o,pageSize:u,onChange:this.changePage})):"";return i.default.createElement(r.default,{spinning:n},i.default.createElement("div",{className:"pd20 minH-670"},i.default.createElement("div",{className:"grid-item pb20 bbt"},i.default.createElement("h3",null,"watchers"===b?g+"关注的":"关注"+g+"的"),i.default.createElement("div",{className:"text-right"},i.default.createElement(d,{placeholder:"输入名称进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_watchers,className:"list-r-Search",value:l,onChange:this.changeSearchValue}))),t&&t.length>0?i.default.createElement("div",{className:"w-100 inline-block"},i.default.createElement(f.default,{users:t,userClass:"w-33",current_user:m})):i.default.createElement(c.default,{_html:"暂时没有数据~"}),i.default.createElement("div",{className:"w-100"},y)))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[77],{"0WPJ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("uaeZ"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props,t=e.user,n=e.current_user;return o.default.createElement("div",{className:"minH-650"},t&&t.login&&o.default.createElement(l.default,{userType:"watchers",login:t.login,current_user:n}))}}]),t}(a.Component);t.default=c},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=u(a),l=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function i(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 i(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),r(t,[{key:"render",value:function(){var e=this.props._html;return o.default.createElement("div",{className:"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:l.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(a.Component);t.default=c},Xd6l:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),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("L/Qf");var o=n("q1tI"),l=s(o),u=n("sYIF"),i=s(n("KJct"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(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}n("6V0J");var p=function(e){function t(){var e,n,a;c(this,t);for(var o=arguments.length,s=Array(o),p=0;p<o;p++)s[p]=arguments[p];return n=a=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),a.renderList=function(e,t,n,a){if(e&&e.length>0)return e.map((function(e,o){return l.default.createElement("div",{className:"pull-left "+t,key:o},l.default.createElement("div",{className:"pbt25 grid-item mlr10 border-b-line"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"show-user-link"},l.default.createElement("img",{className:"avatar-60",src:(0,u.getImageUrl)("images/"+e.image_url),alt:""}))),l.default.createElement("div",{className:"ml12"},l.default.createElement("div",null,l.default.createElement("a",{href:"/users/"+e.login,className:"font-16 text-primary hide-1 task-hide max-w-200"},e.name)),l.default.createElement("div",{className:"font-12 text-gray grid-item pb5"},l.default.createElement("i",{className:"iconfont icon-shijian user-join-time"}),l.default.createElement("span",{className:"ml4"},"点赞列表"===a?"点赞":"关注列表"===a?"关注":"fork","时间:",e.format_time)),n&&n.login===e.login?l.default.createElement(r.default,{type:"default"},"当前用户"):l.default.createElement(i.default,{is_watch:e.is_watch,id:e.login}))))}))},f(a,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,t=e.users,n=e.userClass,r=e.current_user,a=e.type_title;return this.renderList(t,n,r,a)}}]),t}(o.Component);t.default=p},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},uaeZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n("W9HT")),a=p(n("NUBc")),o=p(n("5rEg")),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("04bd"),n("YQTV"),n("1vPl");var u=n("q1tI"),i=p(u),s=p(n("vDqi")),c=p(n("2CTR")),f=p(n("Xd6l"));function p(e){return e&&e.__esModule?e:{default:e}}var d=o.default.Search,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_watchers()},n.get_watchers=function(){var e=n.props,t="/users/"+e.login+"/"+e.userType+".json",r=n.state,a=r.page,o=r.limit,l=r.search;n.setState({isSpin:!0}),s.default.get(t,{params:{page:a,limit:o,search:l}}).then((function(e){e&&n.setState({users:e.data.users,total:e.data.count,isSpin:!1})})).catch((function(e){n.setState({isSpin:!1})}))},n.changePage=function(e){n.state.page=e,n.get_watchers()},n.changeSearchValue=function(e){n.setState({search:e.target.value})},n.state={page:1,limit:30,users:void 0,search:void 0,total: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.state,t=e.users,n=e.isSpin,o=e.total,l=e.search,u=e.limit,s=e.page,p=this.props,b=p.userType,h=p.login,m=p.current_user,g=m&&h===m.login?"我":"TA",y=o&&o>u?i.default.createElement("div",{className:"edu-txt-center pt30 mb30"},i.default.createElement(a.default,{simple:!0,defaultCurrent:s,total:o,pageSize:u,onChange:this.changePage})):"";return i.default.createElement(r.default,{spinning:n},i.default.createElement("div",{className:"pd20 minH-670"},i.default.createElement("div",{className:"grid-item pb20 bbt"},i.default.createElement("h3",null,"watchers"===b?g+"关注的":"关注"+g+"的"),i.default.createElement("div",{className:"text-right"},i.default.createElement(d,{placeholder:"输入名称进行搜索",enterButton:"搜索",size:"large",onSearch:this.get_watchers,className:"list-r-Search",value:l,onChange:this.changeSearchValue}))),t&&t.length>0?i.default.createElement("div",{className:"w-100 inline-block"},i.default.createElement(f.default,{users:t,userClass:"w-33",current_user:m})):i.default.createElement(c.default,{_html:"暂时没有数据~"}),i.default.createElement("div",{className:"w-100"},y)))}}]),t}(u.Component);t.default=b}}]); \ No newline at end of file diff --git a/static/js/77.ce3d50e3.chunk.js b/static/js/78.698527d7.chunk.js similarity index 99% rename from static/js/77.ce3d50e3.chunk.js rename to static/js/78.698527d7.chunk.js index b84363ff0..e1a272c9b 100644 --- a/static/js/77.ce3d50e3.chunk.js +++ b/static/js/78.698527d7.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[77],{"7Lfq":function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("i8i4"),s=n.n(l),p=n("uciX"),c=n("TSYQ"),f=n.n(c),u={adjustX:1,adjustY:1},y=[0,0],b={topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:y},topCenter:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:y},bottomCenter:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:y}},g=n("VCL8"),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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,l=e.getPopupContainer,s=e.showAction,c=e.hideAction,f=e.overlayClassName,u=e.overlayStyle,y=e.trigger,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=c;return m||-1===y.indexOf("contextMenu")||(m=["click"]),o.a.createElement(p.a,h({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:u,builtinPlacements:b,action:y,showAction:s,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(m);var d=m,O=n("H84U"),C=n("6CfX"),w=n("CtXQ"),P=n("CWQg");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 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 x(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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 T(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(P.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");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&&S(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=k(t);if(T()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return x(this,l),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(C.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,l=void 0!==a&&a,s=i.focusable,p=void 0===s||s,c=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:p,expandIcon:c})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.children,p=a.trigger,c=a.disabled,u=a.getPopupContainer,y=i("dropdown",l),b=r.Children.only(s),g=r.cloneElement(b,{className:f()(b.props.className,"".concat(y,"-trigger")),disabled:c}),h=c?[]:p;return h&&-1!==h.indexOf("contextMenu")&&(n=!0),r.createElement(d,E({alignPoint:n},e.props,{prefixCls:y,getPopupContainer:u||o,transitionName:e.getTransitionName(),trigger:h,overlay:function(){return e.renderOverlay(y)}}),g)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);R.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 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 L(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 I(e,t){return!t||"object"!==V(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 Q(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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=D.default.Group,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&&W(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=X(t);if(Q()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function l(){var e;return L(this,l),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.type,s=i.disabled,p=i.onClick,c=i.htmlType,u=i.children,y=i.className,b=i.overlay,g=i.trigger,h=i.align,m=i.visible,v=i.onVisibleChange,d=i.placement,O=i.getPopupContainer,C=i.href,P=i.icon,j=void 0===P?r.createElement(w.default,{type:"ellipsis"}):P,E=i.title,x=q(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),N=o("dropdown-button",a),S={align:h,overlay:b,disabled:s,trigger:s?[]:g,onVisibleChange:v,placement:d,getPopupContainer:O||n};return"visible"in e.props&&(S.visible=m),r.createElement(B,M({},x,{className:f()(N,y)}),r.createElement(D.default,{type:l,disabled:s,onClick:p,htmlType:c,href:C,title:E},u),r.createElement(R,S,r.createElement(D.default,{type:l},j)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&A(n.prototype,o),i&&A(n,i),l}(r.Component);J.defaultProps={placement:"bottomRight",type:"default"},R.Button=J;t.default=R}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[78],{"7Lfq":function(e,t,n){},aIZi:function(e,t,n){"use strict";n.r(t);n("SchZ"),n("7Lfq"),n("L/Qf")},"jsC+":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("i8i4"),s=n.n(l),p=n("uciX"),c=n("TSYQ"),f=n.n(c),u={adjustX:1,adjustY:1},y=[0,0],b={topLeft:{points:["bl","tl"],overflow:u,offset:[0,-4],targetOffset:y},topCenter:{points:["bc","tc"],overflow:u,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:u,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:u,offset:[0,4],targetOffset:y},bottomCenter:{points:["tc","bc"],overflow:u,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:u,offset:[0,4],targetOffset:y}},g=n("VCL8"),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};var m=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);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,e.call(this,n));return v.call(r),r.state="visible"in n?{visible:n.visible}:{visible:n.defaultVisible},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)}(t,e),t.getDerivedStateFromProps=function(e){return"visible"in e?{visible:e.visible}:null},t.prototype.getOverlayElement=function(){var e=this.props.overlay;return"function"==typeof e?e():e},t.prototype.getMenuElementOrLambda=function(){return"function"==typeof this.props.overlay?this.getMenuElement:this.getMenuElement()},t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.getOpenClassName=function(){var e=this.props,t=e.openClassName,n=e.prefixCls;return void 0!==t?t:n+"-open"},t.prototype.renderChildren=function(){var e=this.props.children,t=this.state.visible,n=e.props?e.props:{},o=f()(n.className,this.getOpenClassName());return t&&e?Object(r.cloneElement)(e,{className:o}):e},t.prototype.render=function(){var e=this.props,t=e.prefixCls,n=e.transitionName,r=e.animation,i=e.align,a=e.placement,l=e.getPopupContainer,s=e.showAction,c=e.hideAction,f=e.overlayClassName,u=e.overlayStyle,y=e.trigger,g=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","animation","align","placement","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","trigger"]),m=c;return m||-1===y.indexOf("contextMenu")||(m=["click"]),o.a.createElement(p.a,h({},g,{prefixCls:t,ref:this.saveTrigger,popupClassName:f,popupStyle:u,builtinPlacements:b,action:y,showAction:s,hideAction:m||[],popupPlacement:a,popupAlign:i,popupTransitionName:n,popupAnimation:r,popupVisible:this.state.visible,afterPopupVisibleChange:this.afterVisibleChange,popup:this.getMenuElementOrLambda(),onPopupVisibleChange:this.onVisibleChange,getPopupContainer:l}),this.renderChildren())},t}(r.Component);m.propTypes={minOverlayWidthMatchTrigger:a.a.bool,onVisibleChange:a.a.func,onOverlayClick:a.a.func,prefixCls:a.a.string,children:a.a.any,transitionName:a.a.string,overlayClassName:a.a.string,openClassName:a.a.string,animation:a.a.any,align:a.a.object,overlayStyle:a.a.object,placement:a.a.string,overlay:a.a.oneOfType([a.a.node,a.a.func]),trigger:a.a.array,alignPoint:a.a.bool,showAction:a.a.array,hideAction:a.a.array,getPopupContainer:a.a.func,visible:a.a.bool,defaultVisible:a.a.bool},m.defaultProps={prefixCls:"rc-dropdown",trigger:["hover"],showAction:[],overlayClassName:"",overlayStyle:{},defaultVisible:!1,onVisibleChange:function(){},placement:"bottomLeft"};var v=function(){var e=this;this.onClick=function(t){var n=e.props,r=e.getOverlayElement().props;"visible"in n||e.setState({visible:!1}),n.onOverlayClick&&n.onOverlayClick(t),r.onClick&&r.onClick(t)},this.onVisibleChange=function(t){var n=e.props;"visible"in n||e.setState({visible:t}),n.onVisibleChange(t)},this.getMinOverlayWidthMatchTrigger=function(){var t=e.props,n=t.minOverlayWidthMatchTrigger,r=t.alignPoint;return"minOverlayWidthMatchTrigger"in e.props?n:!r},this.getMenuElement=function(){var t=e.props.prefixCls,n=e.getOverlayElement(),r={prefixCls:t+"-menu",onClick:e.onClick};return"string"==typeof n.type&&delete r.prefixCls,o.a.cloneElement(n,r)},this.afterVisibleChange=function(t){if(t&&e.getMinOverlayWidthMatchTrigger()){var n=e.getPopupDomNode(),r=s.a.findDOMNode(e);r&&n&&r.offsetWidth>n.offsetWidth&&(n.style.minWidth=r.offsetWidth+"px",e.trigger&&e.trigger._component&&e.trigger._component.alignInstance&&e.trigger._component.alignInstance.forceAlign())}},this.saveTrigger=function(t){e.trigger=t}};Object(g.polyfill)(m);var d=m,O=n("H84U"),C=n("6CfX"),w=n("CtXQ"),P=n("CWQg");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 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 x(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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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 T(){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 k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object(P.a)("topLeft","topCenter","topRight","bottomLeft","bottomCenter","bottomRight");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&&S(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=k(t);if(T()){var r=k(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return _(this,e)});function l(){var e;return x(this,l),(e=a.apply(this,arguments)).renderOverlay=function(t){var n,o=e.props.overlay;n="function"==typeof o?o():o;var i=(n=r.Children.only(n)).props;Object(C.a)(!i.mode||"vertical"===i.mode,"Dropdown",'mode="'.concat(i.mode,"\" is not supported for Dropdown's Menu."));var a=i.selectable,l=void 0!==a&&a,s=i.focusable,p=void 0===s||s,c=r.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},r.createElement(w.default,{type:"right",className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?o:r.cloneElement(n,{mode:"vertical",selectable:l,focusable:p,expandIcon:c})},e.renderDropDown=function(t){var n,o=t.getPopupContainer,i=t.getPrefixCls,a=e.props,l=a.prefixCls,s=a.children,p=a.trigger,c=a.disabled,u=a.getPopupContainer,y=i("dropdown",l),b=r.Children.only(s),g=r.cloneElement(b,{className:f()(b.props.className,"".concat(y,"-trigger")),disabled:c}),h=c?[]:p;return h&&-1!==h.indexOf("contextMenu")&&(n=!0),r.createElement(d,E({alignPoint:n},e.props,{prefixCls:y,getPopupContainer:u||o,transitionName:e.getTransitionName(),trigger:h,overlay:function(){return e.renderOverlay(y)}}),g)},e}return n=l,(o=[{key:"getTransitionName",value:function(){var e=this.props,t=e.placement,n=void 0===t?"":t,r=e.transitionName;return void 0!==r?r:n.indexOf("top")>=0?"slide-down":"slide-up"}},{key:"render",value:function(){return r.createElement(O.a,null,this.renderDropDown)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);R.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1,placement:"bottomLeft"};var D=n("2/Rp");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 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 L(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 I(e,t){return!t||"object"!==V(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 Q(){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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var q=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=D.default.Group,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&&W(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=X(t);if(Q()){var r=X(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function l(){var e;return L(this,l),(e=a.apply(this,arguments)).renderButton=function(t){var n=t.getPopupContainer,o=t.getPrefixCls,i=e.props,a=i.prefixCls,l=i.type,s=i.disabled,p=i.onClick,c=i.htmlType,u=i.children,y=i.className,b=i.overlay,g=i.trigger,h=i.align,m=i.visible,v=i.onVisibleChange,d=i.placement,O=i.getPopupContainer,C=i.href,P=i.icon,j=void 0===P?r.createElement(w.default,{type:"ellipsis"}):P,E=i.title,x=q(i,["prefixCls","type","disabled","onClick","htmlType","children","className","overlay","trigger","align","visible","onVisibleChange","placement","getPopupContainer","href","icon","title"]),N=o("dropdown-button",a),S={align:h,overlay:b,disabled:s,trigger:s?[]:g,onVisibleChange:v,placement:d,getPopupContainer:O||n};return"visible"in e.props&&(S.visible=m),r.createElement(B,M({},x,{className:f()(N,y)}),r.createElement(D.default,{type:l,disabled:s,onClick:p,htmlType:c,href:C,title:E},u),r.createElement(R,S,r.createElement(D.default,{type:l},j)))},e}return n=l,(o=[{key:"render",value:function(){return r.createElement(O.a,null,this.renderButton)}}])&&A(n.prototype,o),i&&A(n,i),l}(r.Component);J.defaultProps={placement:"bottomRight",type:"default"},R.Button=J;t.default=R}}]); \ No newline at end of file diff --git a/static/js/78.e6276c0f.chunk.js b/static/js/79.0530a04a.chunk.js similarity index 98% rename from static/js/78.e6276c0f.chunk.js rename to static/js/79.0530a04a.chunk.js index 0355983d2..79caa0c14 100644 --- a/static/js/78.e6276c0f.chunk.js +++ b/static/js/79.0530a04a.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[78],{"8Or8":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(t("q1tI")),r=t("spEH"),l=c(t("ess8")),a=c(t("rzEP")),o=t("eO8H"),d=c(t("CnBM")),p=c(t("HUFq"));function c(n){return n&&n.__esModule?n:{default:n}}var x=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(3),t.e(70)]).then(t.t.bind(null,"gfdF",7))},loading:p.default});e.default=function(n){var e=n.location.pathname,t=n.match.params.organizeId,d=n.match.params.memberId;var p=function(n){var e=0;return n==="/organize/"+t+"/member/"+d+"/setting/member"?e=1:n==="/organize/"+t+"/member/"+d+"/setting/project"&&(e=2),e}(e),c={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+t+"/member/"+d+"/setting"},{name:"团队成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+t+"/member/"+d+"/setting/member"},{name:"团队项目管理",icon:"icon-zuzhixiangmu",href:"/organize/"+t+"/member/"+d+"/setting/project"}],active:p};return i.default.createElement(r.Box,null,i.default.createElement(r.Short,null,i.default.createElement(a.default,{header:i.default.createElement(l.default,null,"团队设置"),nav:c})),i.default.createElement(r.Long,null,i.default.createElement(r.Gap,null,i.default.createElement(r.WhiteBack,null,i.default.createElement(o.Switch,null,i.default.createElement(o.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(){return i.default.createElement(x,n)}}))))))}},ess8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r,l=(i=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))),a=o(t("q1tI"));function o(n){return n&&n.__esModule?n:{default:n}}var d=o(t("vOnD")).default.div(l);e.default=function(n){var e=n.children;return a.default.createElement(d,null,e)}},rzEP:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=t("q1tI"),l=(i=r)&&i.__esModule?i:{default:i},a=t("eO8H");e.default=function(n){var e=n.header,t=n.nav;return l.default.createElement("ul",{className:"list-l-Menu"},e,t&&t.list&&t.list.length>0?t.list.map((function(n,e){return l.default.createElement("li",{key:e,className:t.active===e?"active":""},l.default.createElement("p",null,l.default.createElement(a.Link,{to:n.href},l.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\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}"]),l=j(["{\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=j(["{\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=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),u=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=j(["{\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}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=j(["{\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}"]),h=j(["{\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}"]),m=j(["{\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}"]),k=j(["{\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}"]),y=j(["{\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}"]),v=j(["{\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}"]),B=j(["{\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}"]),w=t("vOnD"),z=(i=w)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(r),e.AlignCenterBetween=z.default.div(l),e.FlexAJ=z.default.div(a),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(c),e.Gap=z.default.div(x),e.WhiteBack=z.default.div(u),e.Blueline=z.default.a(f),e.Redline=z.default.a(s),e.Greenline=z.default.a(g),e.Greenback=z.default.a(b),e.Blueback=z.default.a(h),e.Redback=z.default.a(m),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[79],{"8Or8":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(t("q1tI")),r=t("spEH"),l=c(t("ess8")),a=c(t("rzEP")),o=t("eO8H"),d=c(t("CnBM")),p=c(t("HUFq"));function c(n){return n&&n.__esModule?n:{default:n}}var x=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(3),t.e(72)]).then(t.t.bind(null,"gfdF",7))},loading:p.default});e.default=function(n){var e=n.location.pathname,t=n.match.params.organizeId,d=n.match.params.memberId;var p=function(n){var e=0;return n==="/organize/"+t+"/member/"+d+"/setting/member"?e=1:n==="/organize/"+t+"/member/"+d+"/setting/project"&&(e=2),e}(e),c={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+t+"/member/"+d+"/setting"},{name:"团队成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+t+"/member/"+d+"/setting/member"},{name:"团队项目管理",icon:"icon-zuzhixiangmu",href:"/organize/"+t+"/member/"+d+"/setting/project"}],active:p};return i.default.createElement(r.Box,null,i.default.createElement(r.Short,null,i.default.createElement(a.default,{header:i.default.createElement(l.default,null,"团队设置"),nav:c})),i.default.createElement(r.Long,null,i.default.createElement(r.Gap,null,i.default.createElement(r.WhiteBack,null,i.default.createElement(o.Switch,null,i.default.createElement(o.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(){return i.default.createElement(x,n)}}))))))}},ess8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r,l=(i=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))),a=o(t("q1tI"));function o(n){return n&&n.__esModule?n:{default:n}}var d=o(t("vOnD")).default.div(l);e.default=function(n){var e=n.children;return a.default.createElement(d,null,e)}},rzEP:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=t("q1tI"),l=(i=r)&&i.__esModule?i:{default:i},a=t("eO8H");e.default=function(n){var e=n.header,t=n.nav;return l.default.createElement("ul",{className:"list-l-Menu"},e,t&&t.list&&t.list.length>0?t.list.map((function(n,e){return l.default.createElement("li",{key:e,className:t.active===e?"active":""},l.default.createElement("p",null,l.default.createElement(a.Link,{to:n.href},l.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\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}"]),l=j(["{\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=j(["{\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=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),u=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=j(["{\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}"]),s=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),g=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=j(["{\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}"]),h=j(["{\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}"]),m=j(["{\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}"]),k=j(["{\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}"]),y=j(["{\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}"]),v=j(["{\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}"]),B=j(["{\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}"]),w=t("vOnD"),z=(i=w)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(r),e.AlignCenterBetween=z.default.div(l),e.FlexAJ=z.default.div(a),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(c),e.Gap=z.default.div(x),e.WhiteBack=z.default.div(u),e.Blueline=z.default.a(f),e.Redline=z.default.a(s),e.Greenline=z.default.a(g),e.Greenback=z.default.a(b),e.Blueback=z.default.a(h),e.Redback=z.default.a(m),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B)}}]); \ No newline at end of file diff --git a/static/js/79.698e13eb.chunk.js b/static/js/80.7d58061e.chunk.js similarity index 96% rename from static/js/79.698e13eb.chunk.js rename to static/js/80.7d58061e.chunk.js index 33c4bd6a6..6d9fda114 100644 --- a/static/js/79.698e13eb.chunk.js +++ b/static/js/80.7d58061e.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[79],{"093b":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(t("q1tI")),r=t("spEH"),l=c(t("ess8")),a=c(t("rzEP")),o=t("eO8H"),d=c(t("CnBM")),p=c(t("HUFq"));function c(n){return n&&n.__esModule?n:{default:n}}var u=(0,d.default)({loader:function(){return t.e(95).then(t.t.bind(null,"Smcf",7))},loading:p.default}),x=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(2),t.e(3),t.e(27)]).then(t.t.bind(null,"5DC0",7))},loading:p.default}),f=(0,d.default)({loader:function(){return Promise.all([t.e(2),t.e(4),t.e(9),t.e(46),t.e(90)]).then(t.t.bind(null,"4k9F",7))},loading:p.default}),g=(0,d.default)({loader:function(){return t.e(96).then(t.t.bind(null,"gSX0",7))},loading:p.default});e.default=function(n){var e=n.location.pathname,t=n.match.params.organizeId;var d=function(n){var e=0;return n==="/organize/"+t+"/setting/member"?e=1:n==="/organize/"+t+"/setting/group"?e=2:n==="/organize/"+t+"/setting/hooks"&&(e=3),e}(e),p={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+t+"/setting"},{name:"组织成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+t+"/setting/member"},{name:"组织团队管理",icon:"icon-zuzhixiangmu",href:"/organize/"+t+"/setting/group"},{name:"管理web钩子",icon:"icon-zhongqingdianxinicon10",href:"/organize/"+t+"/setting/hooks"}],active:d};return i.default.createElement(r.Box,null,i.default.createElement(r.Short,null,i.default.createElement(a.default,{header:i.default.createElement(l.default,null,"组织设置"),nav:p})),i.default.createElement(r.Long,null,i.default.createElement(r.Gap,null,i.default.createElement(o.Switch,null,i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/hooks",render:function(){return i.default.createElement(g,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/group",render:function(){return i.default.createElement(u,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/member",render:function(){return i.default.createElement(x,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting",render:function(){return i.default.createElement(f,n)}})))))}},ess8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r,l=(i=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))),a=o(t("q1tI"));function o(n){return n&&n.__esModule?n:{default:n}}var d=o(t("vOnD")).default.div(l);e.default=function(n){var e=n.children;return a.default.createElement(d,null,e)}},rzEP:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=t("q1tI"),l=(i=r)&&i.__esModule?i:{default:i},a=t("eO8H");e.default=function(n){var e=n.header,t=n.nav;return l.default.createElement("ul",{className:"list-l-Menu"},e,t&&t.list&&t.list.length>0?t.list.map((function(n,e){return l.default.createElement("li",{key:e,className:t.active===e?"active":""},l.default.createElement("p",null,l.default.createElement(a.Link,{to:n.href},l.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=E(["{\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}"]),l=E(["{\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=E(["{\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=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),x=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=E(["{\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}"]),g=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),s=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=E(["{\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}"]),h=E(["{\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}"]),m=E(["{\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}"]),k=E(["{\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}"]),y=E(["{\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}"]),v=E(["{\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}"]),B=E(["{\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}"]),w=t("vOnD"),z=(i=w)&&i.__esModule?i:{default:i};function E(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(r),e.AlignCenterBetween=z.default.div(l),e.FlexAJ=z.default.div(a),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(c),e.Gap=z.default.div(u),e.WhiteBack=z.default.div(x),e.Blueline=z.default.a(f),e.Redline=z.default.a(g),e.Greenline=z.default.a(s),e.Greenback=z.default.a(b),e.Blueback=z.default.a(h),e.Redback=z.default.a(m),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[80],{"093b":function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(t("q1tI")),r=t("spEH"),l=c(t("ess8")),a=c(t("rzEP")),o=t("eO8H"),d=c(t("CnBM")),p=c(t("HUFq"));function c(n){return n&&n.__esModule?n:{default:n}}var u=(0,d.default)({loader:function(){return t.e(96).then(t.t.bind(null,"Smcf",7))},loading:p.default}),x=(0,d.default)({loader:function(){return Promise.all([t.e(0),t.e(1),t.e(2),t.e(3),t.e(28)]).then(t.t.bind(null,"5DC0",7))},loading:p.default}),f=(0,d.default)({loader:function(){return Promise.all([t.e(2),t.e(4),t.e(9),t.e(47),t.e(91)]).then(t.t.bind(null,"4k9F",7))},loading:p.default}),g=(0,d.default)({loader:function(){return t.e(97).then(t.t.bind(null,"gSX0",7))},loading:p.default});e.default=function(n){var e=n.location.pathname,t=n.match.params.organizeId;var d=function(n){var e=0;return n==="/organize/"+t+"/setting/member"?e=1:n==="/organize/"+t+"/setting/group"?e=2:n==="/organize/"+t+"/setting/hooks"&&(e=3),e}(e),p={list:[{name:"基本设置",icon:"icon-base",href:"/organize/"+t+"/setting"},{name:"组织成员管理",icon:"icon-zuzhichengyuan",href:"/organize/"+t+"/setting/member"},{name:"组织团队管理",icon:"icon-zuzhixiangmu",href:"/organize/"+t+"/setting/group"},{name:"管理web钩子",icon:"icon-zhongqingdianxinicon10",href:"/organize/"+t+"/setting/hooks"}],active:d};return i.default.createElement(r.Box,null,i.default.createElement(r.Short,null,i.default.createElement(a.default,{header:i.default.createElement(l.default,null,"组织设置"),nav:p})),i.default.createElement(r.Long,null,i.default.createElement(r.Gap,null,i.default.createElement(o.Switch,null,i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/hooks",render:function(){return i.default.createElement(g,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/group",render:function(){return i.default.createElement(u,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting/member",render:function(){return i.default.createElement(x,n)}}),i.default.createElement(o.Route,{path:"/organize/:organizeId/setting",render:function(){return i.default.createElement(f,n)}})))))}},ess8:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r,l=(i=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(r)}}))),a=o(t("q1tI"));function o(n){return n&&n.__esModule?n:{default:n}}var d=o(t("vOnD")).default.div(l);e.default=function(n){var e=n.children;return a.default.createElement(d,null,e)}},rzEP:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=t("q1tI"),l=(i=r)&&i.__esModule?i:{default:i},a=t("eO8H");e.default=function(n){var e=n.header,t=n.nav;return l.default.createElement("ul",{className:"list-l-Menu"},e,t&&t.list&&t.list.length>0?t.list.map((function(n,e){return l.default.createElement("li",{key:e,className:t.active===e?"active":""},l.default.createElement("p",null,l.default.createElement(a.Link,{to:n.href},l.default.createElement("i",{className:"iconfont "+(n.icon||"icon-huabanfuben")+" font-18 mr10"}),n.name)))})):"")}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=E(["{\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}"]),l=E(["{\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=E(["{\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=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),d=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),p=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),u=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),x=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),f=E(["{\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}"]),g=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),s=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),b=E(["{\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}"]),h=E(["{\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}"]),m=E(["{\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}"]),k=E(["{\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}"]),y=E(["{\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}"]),v=E(["{\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}"]),B=E(["{\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}"]),w=t("vOnD"),z=(i=w)&&i.__esModule?i:{default:i};function E(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=z.default.div(r),e.AlignCenterBetween=z.default.div(l),e.FlexAJ=z.default.div(a),e.AlignCenter=z.default.div(o),e.Box=z.default.div(d),e.Long=z.default.div(p),e.Short=z.default.div(c),e.Gap=z.default.div(u),e.WhiteBack=z.default.div(x),e.Blueline=z.default.a(f),e.Redline=z.default.a(g),e.Greenline=z.default.a(s),e.Greenback=z.default.a(b),e.Blueback=z.default.a(h),e.Redback=z.default.a(m),e.NumUl=z.default.ul(k),e.GreenUnder=z.default.a(y),e.Cancel=z.default.a(v),e.Content=z.default.div(B)}}]); \ No newline at end of file diff --git a/static/js/80.44ca42aa.chunk.js b/static/js/81.85465a59.chunk.js similarity index 99% rename from static/js/80.44ca42aa.chunk.js rename to static/js/81.85465a59.chunk.js index 337fbcb6f..54282148e 100644 --- a/static/js/80.44ca42aa.chunk.js +++ b/static/js/81.85465a59.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[80],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),l=u(r),o=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f=function(e){function t(){return s(this,t),c(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),a(t,[{key:"render",value:function(){var e=this.props._html;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("img",{src:o.default,alt:""}),l.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=f},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}},W9hf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("W9HT")),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("04bd");var l=n("q1tI"),o=i(l),u=i(n("vDqi")),s=n("PhNK"),c=i(n("2CTR")),f=n("eO8H");function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){t.projectDetail;var n=(0,l.useState)(!0),i=r(n,2),d=i[0],m=i[1],p=(0,l.useState)(void 0),A=r(p,2),E=A[0],b=A[1],w=e.match.params,g=w.projectsId,h=w.owner;return(0,l.useEffect)((function(){if(g){var e="/"+h+"/"+g+"/tags.json";u.default.get(e).then((function(e){e&&(m(!1),b(e.data))})).catch((function(e){console.log(e)}))}}),[h,g]),o.default.createElement("div",{className:"main"},o.default.createElement(a.default,{spinning:d},E&&E.length>0?o.default.createElement("div",{className:"div_table"},o.default.createElement("ul",{className:"ul_thead"},o.default.createElement("li",null,o.default.createElement("span",{className:"flex1"},"标签名"),o.default.createElement("span",null,"提交信息"),o.default.createElement("span",{className:"ul_tbody_forth"},"下载"))),o.default.createElement("ul",{className:"ul_tbody"},E&&E.length>0&&E.map((function(e,t){return o.default.createElement("li",null,o.default.createElement("span",{className:"flex1"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-16 mr5 color-grey-8"}),o.default.createElement("span",{className:"font-16"},e.name)),o.default.createElement("span",{className:"ul_tbody_third"},o.default.createElement(f.Link,{to:"/projects/"+h+"/"+g+"/commits/"+(0,s.truncateCommitId)(""+e.id),className:"commitKey",style:{marginLeft:0}},(0,s.truncateCommitId)(""+e.id))),o.default.createElement("span",{className:"ul_tbody_forth"},o.default.createElement("a",{href:e.tarball_url,style:{color:"#4CC1DA"},className:"mr30"},o.default.createElement("i",{className:"iconfont icon-TAR font-18 mr5"}),"TAR"),o.default.createElement("a",{href:e.zipball_url,style:{color:"#28BD6C"}},o.default.createElement("i",{className:"iconfont icon-ZIP font-18 mr5"}),"ZIP")))})))):o.default.createElement(c.default,{_html:"暂无标签!"})))}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[81],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=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}}(),r=n("q1tI"),l=u(r),o=u(n("dF3D"));function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 f=function(e){function t(){return s(this,t),c(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),a(t,[{key:"render",value:function(){var e=this.props._html;return l.default.createElement("div",{className:"none_panels"},l.default.createElement("div",null,l.default.createElement("img",{src:o.default,alt:""}),l.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(r.Component);t.default=f},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}},W9hf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n("W9HT")),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("04bd");var l=n("q1tI"),o=i(l),u=i(n("vDqi")),s=n("PhNK"),c=i(n("2CTR")),f=n("eO8H");function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){t.projectDetail;var n=(0,l.useState)(!0),i=r(n,2),d=i[0],m=i[1],p=(0,l.useState)(void 0),A=r(p,2),E=A[0],b=A[1],w=e.match.params,g=w.projectsId,h=w.owner;return(0,l.useEffect)((function(){if(g){var e="/"+h+"/"+g+"/tags.json";u.default.get(e).then((function(e){e&&(m(!1),b(e.data))})).catch((function(e){console.log(e)}))}}),[h,g]),o.default.createElement("div",{className:"main"},o.default.createElement(a.default,{spinning:d},E&&E.length>0?o.default.createElement("div",{className:"div_table"},o.default.createElement("ul",{className:"ul_thead"},o.default.createElement("li",null,o.default.createElement("span",{className:"flex1"},"标签名"),o.default.createElement("span",null,"提交信息"),o.default.createElement("span",{className:"ul_tbody_forth"},"下载"))),o.default.createElement("ul",{className:"ul_tbody"},E&&E.length>0&&E.map((function(e,t){return o.default.createElement("li",null,o.default.createElement("span",{className:"flex1"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-16 mr5 color-grey-8"}),o.default.createElement("span",{className:"font-16"},e.name)),o.default.createElement("span",{className:"ul_tbody_third"},o.default.createElement(f.Link,{to:"/projects/"+h+"/"+g+"/commits/"+(0,s.truncateCommitId)(""+e.id),className:"commitKey",style:{marginLeft:0}},(0,s.truncateCommitId)(""+e.id))),o.default.createElement("span",{className:"ul_tbody_forth"},o.default.createElement("a",{href:e.tarball_url,style:{color:"#4CC1DA"},className:"mr30"},o.default.createElement("i",{className:"iconfont icon-TAR font-18 mr5"}),"TAR"),o.default.createElement("a",{href:e.zipball_url,style:{color:"#28BD6C"}},o.default.createElement("i",{className:"iconfont icon-ZIP font-18 mr5"}),"ZIP")))})))):o.default.createElement(c.default,{_html:"暂无标签!"})))}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"}}]); \ No newline at end of file diff --git a/static/js/81.274a8787.chunk.js b/static/js/82.43b8ed74.chunk.js similarity index 98% rename from static/js/81.274a8787.chunk.js rename to static/js/82.43b8ed74.chunk.js index a11f3f7ae..33787c887 100644 --- a/static/js/81.274a8787.chunk.js +++ b/static/js/82.43b8ed74.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[81],{YHS8:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=f(["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"],["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"]),r=f(["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"],["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"]),l=f(["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"],["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"]),o=f(["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"],["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"]),a=f(["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"],["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"]),p=f(["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"]),d=f(["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"]),x=f(["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"],["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"]),c=s(i("q1tI"));i("KkuB");var g=s(i("vOnD"));function s(n){return n&&n.__esModule?n:{default:n}}function f(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var u=g.default.img(t),h=g.default.div(r),b=g.default.div(l),m=g.default.i(o),B=g.default.a(a),k=g.default.i(p),y=g.default.i(d),v=g.default.div(x);e.default=function(n){var e=n.img,i=n.name,t=n.time,r=n.focusStatus;return c.default.createElement(v,null,c.default.createElement(u,{src:e}),c.default.createElement("div",{className:"m-infos"},c.default.createElement(h,null,i),c.default.createElement(b,null,c.default.createElement(m,{className:"iconfont icon-shijian"}),"加入时间:",t),r?c.default.createElement(B,null,c.default.createElement(k,{className:"iconfont icon-shixing"}),"已关注"):c.default.createElement(B,null,c.default.createElement(y,{className:"iconfont icon-kongxing"}),"关注")))}},spEH:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var t,r=E(["{\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}"]),l=E(["{\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}"]),o=E(["{\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}"]),a=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),p=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),d=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),s=E(["{\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}"]),f=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),u=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=E(["{\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}"]),b=E(["{\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}"]),m=E(["{\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}"]),B=E(["{\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=E(["{\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}"]),y=E(["{\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}"]),v=E(["{\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}"]),w=i("vOnD"),F=(t=w)&&t.__esModule?t:{default:t};function E(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=F.default.div(r),e.AlignCenterBetween=F.default.div(l),e.FlexAJ=F.default.div(o),e.AlignCenter=F.default.div(a),e.Box=F.default.div(p),e.Long=F.default.div(d),e.Short=F.default.div(x),e.Gap=F.default.div(c),e.WhiteBack=F.default.div(g),e.Blueline=F.default.a(s),e.Redline=F.default.a(f),e.Greenline=F.default.a(u),e.Greenback=F.default.a(h),e.Blueback=F.default.a(b),e.Redback=F.default.a(m),e.NumUl=F.default.ul(B),e.GreenUnder=F.default.a(k),e.Cancel=F.default.a(y),e.Content=F.default.div(v)},yvJ0:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o(i("q1tI")),r=i("spEH"),l=o(i("YHS8"));function o(n){return n&&n.__esModule?n:{default:n}}e.default=function(){return t.default.createElement("div",null,t.default.createElement(r.Banner,null,"组织成员"),t.default.createElement("div",{className:"memberBox"},t.default.createElement(l.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),t.default.createElement(l.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!1})))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[82],{YHS8:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=f(["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"],["{\n border-radius:50%;\n width:50px;\n height:50px;\n margin-right:14px;\n}"]),r=f(["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"],["{\n color:#5091FF;\n font-size:16px;\n height:22px;\n line-height:22px;\n margin-bottom:7px;\n}"]),l=f(["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"],["{\n color:#888;\n font-size:12px;\n height:16px;\n line-height:16px;\n margin-bottom:9px;\n display:flex;\n align-item:center;\n}"]),o=f(["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"],["{\n font-size:13px!important;\n color:#60B25E;\n margin-right:2px;\n}"]),a=f(["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"],["{\n display:inline-block;\n height:30px;\n line-height:26px;\n padding:0px 12px;\n background-color:#fafafa;\n border:1px solid #eee;\n border-radius:2px;\n color:#888!important;\n}"]),p=f(["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#FFA802;\n margin-right:4px;\n}"]),d=f(["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"],["{\n font-size:16px!important;\n color:#BBBBBB;\n margin-right:4px;\n}"]),x=f(["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"],["{\n margin-bottom: 18px;\n padding:20px 16px;\n display: flex;\n align-items: center;\n border:1px solid #eee;\n}"]),c=s(i("q1tI"));i("KkuB");var g=s(i("vOnD"));function s(n){return n&&n.__esModule?n:{default:n}}function f(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var u=g.default.img(t),h=g.default.div(r),b=g.default.div(l),m=g.default.i(o),B=g.default.a(a),k=g.default.i(p),y=g.default.i(d),v=g.default.div(x);e.default=function(n){var e=n.img,i=n.name,t=n.time,r=n.focusStatus;return c.default.createElement(v,null,c.default.createElement(u,{src:e}),c.default.createElement("div",{className:"m-infos"},c.default.createElement(h,null,i),c.default.createElement(b,null,c.default.createElement(m,{className:"iconfont icon-shijian"}),"加入时间:",t),r?c.default.createElement(B,null,c.default.createElement(k,{className:"iconfont icon-shixing"}),"已关注"):c.default.createElement(B,null,c.default.createElement(y,{className:"iconfont icon-kongxing"}),"关注")))}},spEH:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var t,r=E(["{\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}"]),l=E(["{\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}"]),o=E(["{\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}"]),a=E(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),p=E(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),d=E(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=E(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=E(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=E(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),s=E(["{\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}"]),f=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),u=E(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=E(["{\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}"]),b=E(["{\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}"]),m=E(["{\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}"]),B=E(["{\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=E(["{\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}"]),y=E(["{\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}"]),v=E(["{\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}"]),w=i("vOnD"),F=(t=w)&&t.__esModule?t:{default:t};function E(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=F.default.div(r),e.AlignCenterBetween=F.default.div(l),e.FlexAJ=F.default.div(o),e.AlignCenter=F.default.div(a),e.Box=F.default.div(p),e.Long=F.default.div(d),e.Short=F.default.div(x),e.Gap=F.default.div(c),e.WhiteBack=F.default.div(g),e.Blueline=F.default.a(s),e.Redline=F.default.a(f),e.Greenline=F.default.a(u),e.Greenback=F.default.a(h),e.Blueback=F.default.a(b),e.Redback=F.default.a(m),e.NumUl=F.default.ul(B),e.GreenUnder=F.default.a(k),e.Cancel=F.default.a(y),e.Content=F.default.div(v)},yvJ0:function(n,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=o(i("q1tI")),r=i("spEH"),l=o(i("YHS8"));function o(n){return n&&n.__esModule?n:{default:n}}e.default=function(){return t.default.createElement("div",null,t.default.createElement(r.Banner,null,"组织成员"),t.default.createElement("div",{className:"memberBox"},t.default.createElement(l.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!0}),t.default.createElement(l.default,{img:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg",name:"陈教授",time:"2020-04-29",focusStatus:!1})))}}}]); \ No newline at end of file diff --git a/static/js/82.b60669b2.chunk.js b/static/js/83.4b238e62.chunk.js similarity index 97% rename from static/js/82.b60669b2.chunk.js rename to static/js/83.4b238e62.chunk.js index 56d51eecb..b51386aee 100644 --- a/static/js/82.b60669b2.chunk.js +++ b/static/js/83.4b238e62.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[82],{ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,u=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),l=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}var s=o(n("vOnD")).default.div(u);t.default=function(e){var t=e.children;return l.default.createElement(s,null,t)}},"qh7/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("2/Rp")),a=h(n("14Xm")),u=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,u=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,u=e}finally{try{!r&&o.return&&o.return()}finally{if(a)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=x(["\n {\n padding: 0px 30px;\n min-height: 400px;\n }\n"],["\n {\n padding: 0px 30px;\n min-height: 400px;\n }\n"]),o=x(["\n {\n padding: 22px 0px;\n border-bottom: 1px solid #eee;\n }\n"],["\n {\n padding: 22px 0px;\n border-bottom: 1px solid #eee;\n }\n"]),s=x(["\n {\n padding: 12px 0px;\n }\n"],["\n {\n padding: 12px 0px;\n }\n"]);n("L/Qf");var i=n("q1tI"),c=h(i),f=n("spEH"),d=n("tnhM"),p=h(n("ess8")),m=n("eO8H"),v=h(n("vOnD"));function h(e){return e&&e.__esModule?e:{default:e}}function x(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n("NzgE");var b=v.default.div(l),g=v.default.p(o),w=v.default.div(s);t.default=function(e){t=a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={page:s,limit:x},e.next=3,(0,d.getHooks)(t,n);case 3:(r=e.sent)&&k(r);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,u){try{var l=e[a](u),o=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(o)}("next")}))};var t,n,l=(0,i.useState)(1),o=u(l,2),s=o[0],v=(o[1],(0,i.useState)(20)),h=u(v,2),x=h[0],y=(h[1],(0,i.useState)(void 0)),E=u(y,2),k=(E[0],E[1]);e.match.params.projectsId;return c.default.createElement(f.WhiteBack,null,c.default.createElement(p.default,null,c.default.createElement("span",null,"管理web钩子"),c.default.createElement(r.default,{type:"primary"},"添加web钩子")),c.default.createElement(b,null,c.default.createElement(g,null,"当Gitea事件发生时,Web钩子自动发出HTTP POST请求。在"," ",c.default.createElement(m.Link,{to:"",className:"color-blue"},"指南")," ","中阅读更多内容。"),c.default.createElement(w,null,c.default.createElement(f.FlexAJ,{className:"manageItem"},c.default.createElement("span",{className:"webName"},"https://gitea.com/zxf/homebrew-cask-versions/settings/hooks/gitea/new"),c.default.createElement("span",null,c.default.createElement(f.Redline,null,"删除"),c.default.createElement(f.Greenline,{className:"ml30"},"编辑"))),c.default.createElement(f.FlexAJ,{className:"manageItem"},c.default.createElement("span",{className:"webName"},"https://gitea.com/zxf/homebrew-cask-versions/settings/hooks/gitea/new"),c.default.createElement("span",null,c.default.createElement(f.Redline,null,"删除"),c.default.createElement(f.Greenline,{className:"ml30"},"编辑"))))))}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var r=u(n("14Xm")),a=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,u){try{var l=t[a](u),o=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(o)}("next")}))}}var o,s,i;t.getBranch=(o=l(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 o.apply(this,arguments)}),t.getTag=(s=l(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 s.apply(this,arguments)}),t.getHooks=(i=l(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 i.apply(this,arguments)})}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[83],{ess8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,a,u=(r=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],a=["{\n background-color:#fff;\n padding:20px 30px;\n border-bottom:1px solid #eee;\n font-size:16px;\n color:#333;\n display:flex;\n justify-content: space-between;\n align-items:center;\n}"],Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(a)}}))),l=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}var s=o(n("vOnD")).default.div(u);t.default=function(e){var t=e.children;return l.default.createElement(s,null,t)}},"qh7/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("2/Rp")),a=h(n("14Xm")),u=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,u=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,u=e}finally{try{!r&&o.return&&o.return()}finally{if(a)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=x(["\n {\n padding: 0px 30px;\n min-height: 400px;\n }\n"],["\n {\n padding: 0px 30px;\n min-height: 400px;\n }\n"]),o=x(["\n {\n padding: 22px 0px;\n border-bottom: 1px solid #eee;\n }\n"],["\n {\n padding: 22px 0px;\n border-bottom: 1px solid #eee;\n }\n"]),s=x(["\n {\n padding: 12px 0px;\n }\n"],["\n {\n padding: 12px 0px;\n }\n"]);n("L/Qf");var i=n("q1tI"),c=h(i),f=n("spEH"),d=n("tnhM"),p=h(n("ess8")),m=n("eO8H"),v=h(n("vOnD"));function h(e){return e&&e.__esModule?e:{default:e}}function x(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n("NzgE");var b=v.default.div(l),g=v.default.p(o),w=v.default.div(s);t.default=function(e){t=a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={page:s,limit:x},e.next=3,(0,d.getHooks)(t,n);case 3:(r=e.sent)&&k(r);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,u){try{var l=e[a](u),o=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(o)}("next")}))};var t,n,l=(0,i.useState)(1),o=u(l,2),s=o[0],v=(o[1],(0,i.useState)(20)),h=u(v,2),x=h[0],y=(h[1],(0,i.useState)(void 0)),E=u(y,2),k=(E[0],E[1]);e.match.params.projectsId;return c.default.createElement(f.WhiteBack,null,c.default.createElement(p.default,null,c.default.createElement("span",null,"管理web钩子"),c.default.createElement(r.default,{type:"primary"},"添加web钩子")),c.default.createElement(b,null,c.default.createElement(g,null,"当Gitea事件发生时,Web钩子自动发出HTTP POST请求。在"," ",c.default.createElement(m.Link,{to:"",className:"color-blue"},"指南")," ","中阅读更多内容。"),c.default.createElement(w,null,c.default.createElement(f.FlexAJ,{className:"manageItem"},c.default.createElement("span",{className:"webName"},"https://gitea.com/zxf/homebrew-cask-versions/settings/hooks/gitea/new"),c.default.createElement("span",null,c.default.createElement(f.Redline,null,"删除"),c.default.createElement(f.Greenline,{className:"ml30"},"编辑"))),c.default.createElement(f.FlexAJ,{className:"manageItem"},c.default.createElement("span",{className:"webName"},"https://gitea.com/zxf/homebrew-cask-versions/settings/hooks/gitea/new"),c.default.createElement("span",null,c.default.createElement(f.Redline,null,"删除"),c.default.createElement(f.Greenline,{className:"ml30"},"编辑"))))))}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var r=u(n("14Xm")),a=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,u){try{var l=t[a](u),o=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(o).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(o)}("next")}))}}var o,s,i;t.getBranch=(o=l(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 o.apply(this,arguments)}),t.getTag=(s=l(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 s.apply(this,arguments)}),t.getHooks=(i=l(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 i.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/static/js/83.dfcaf1dc.chunk.js b/static/js/84.2e0c991f.chunk.js similarity index 83% rename from static/js/83.dfcaf1dc.chunk.js rename to static/js/84.2e0c991f.chunk.js index c4edc6e72..804c3c944 100644 --- a/static/js/83.dfcaf1dc.chunk.js +++ b/static/js/84.2e0c991f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[83],{"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},a=c(n("q1tI")),o=n("spEH");n("y8uv");var l=n("eO8H"),u=c(n("CnBM")),d=c(n("HUFq"));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,u.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(61)]).then(n.t.bind(null,"+BVi",7))},loading:d.default}),i=(0,u.default)({loader:function(){return Promise.all([n.e(19),n.e(51)]).then(n.t.bind(null,"JtPb",7))},loading:d.default}),f=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(29)]).then(n.t.bind(null,"Jwem",7))},loading:d.default}),p=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(30)]).then(n.t.bind(null,"t8ff",7))},loading:d.default});t.default=function(e){var t=e.match.params;t.projectsId,t.owner,e.projectDetail&&e.projectDetail.open_devops;return a.default.createElement(o.WhiteBack,{className:"opsPanel"},a.default.createElement(l.Switch,e,a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose/:disposeId",render:function(t){return a.default.createElement(i,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose/new",render:function(t){return a.default.createElement(i,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose",render:function(t){return a.default.createElement(f,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/list",render:function(t){return a.default.createElement(p,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops",render:function(t){return a.default.createElement(s,r({},e,t))}})))}},y8uv:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[84],{"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},a=c(n("q1tI")),o=n("spEH");n("y8uv");var l=n("eO8H"),u=c(n("CnBM")),d=c(n("HUFq"));function c(e){return e&&e.__esModule?e:{default:e}}var s=(0,u.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(62)]).then(n.t.bind(null,"+BVi",7))},loading:d.default}),i=(0,u.default)({loader:function(){return Promise.all([n.e(20),n.e(52)]).then(n.t.bind(null,"JtPb",7))},loading:d.default}),f=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(30)]).then(n.t.bind(null,"Jwem",7))},loading:d.default}),p=(0,u.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(31)]).then(n.t.bind(null,"t8ff",7))},loading:d.default});t.default=function(e){var t=e.match.params;t.projectsId,t.owner,e.projectDetail&&e.projectDetail.open_devops;return a.default.createElement(o.WhiteBack,{className:"opsPanel"},a.default.createElement(l.Switch,e,a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose/:disposeId",render:function(t){return a.default.createElement(i,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose/new",render:function(t){return a.default.createElement(i,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/dispose",render:function(t){return a.default.createElement(f,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops/list",render:function(t){return a.default.createElement(p,r({},e,t))}}),a.default.createElement(l.Route,{path:"/projects/:owner/:projectsId/devops",render:function(t){return a.default.createElement(s,r({},e,t))}})))}},y8uv:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/84.42079fef.chunk.js b/static/js/85.a63de285.chunk.js similarity index 97% rename from static/js/84.42079fef.chunk.js rename to static/js/85.a63de285.chunk.js index 5683f30f3..0814b5a70 100644 --- a/static/js/84.42079fef.chunk.js +++ b/static/js/85.a63de285.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[84],{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}},ZDGD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),a=h(n("BvKs")),u=h(n("jsC+")),l=h(n("3S7+")),c=h(n("CtXQ")),o=h(n("14Xm")),s=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,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,u=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("aIZi"),n("TfFZ"),n("2oDE");var i=n("q1tI"),f=h(i),m=n("eO8H"),d=n("PhNK"),p=n("tnhM");function h(e){return e&&e.__esModule?e:{default:e}}n("3cxI"),t.default=function(e){var t,n,h=(t=o.default.mark((function e(t,n){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.getBranch)(t,n);case 2:r=e.sent,E(r),k(!1);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,u){try{var l=e[a](u),c=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(c)}("next")}))},function(e,t){return n.apply(this,arguments)}),v=(0,i.useState)(void 0),g=s(v,2),y=g[0],E=g[1],b=(0,i.useState)(!0),w=s(b,2),_=w[0],k=w[1],x=e.match.params,N=x.projectsId,j=x.owner;(0,i.useEffect)((function(){h(N,j)}),[N]);var I=function(e,t){return f.default.createElement(a.default,null,f.default.createElement(a.default.Item,{key:"0"},f.default.createElement("a",{href:e},"ZIP")),f.default.createElement(a.default.Item,{key:"1"},f.default.createElement("a",{href:t},"TAR.GZ")))};return f.default.createElement(f.default.Fragment,null,f.default.createElement("div",{className:"main"},f.default.createElement(r.default,{spinning:_},f.default.createElement("div",{className:"branchTable"},f.default.createElement("p",{className:"branchTitle bor-bottom-greyE"},"分支列表"),function(){if(y&&y.length>0)return f.default.createElement(f.default.Fragment,null,f.default.createElement("ul",{className:"branchUl"},y.map((function(e,t){return f.default.createElement("li",{key:t},f.default.createElement("div",null,f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/branch/"+e.name,className:"color-blue font-15",style:{maxWidth:"100px"}},e.name),f.default.createElement("p",{className:"f-wrap-alignCenter mt15"},f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/commits/"+(0,d.truncateCommitId)(""+e.last_commit.sha),className:"mr5 commitKey",style:{marginLeft:0}},e.last_commit&&(0,d.truncateCommitId)(e.last_commit.sha)),f.default.createElement("span",{className:"color-grey-3 hide-1 messages leftPoint"},e.last_commit&&e.last_commit.message),f.default.createElement("span",{className:"color-grey-8 ml30"},"最后更新于",e.last_commit&&e.last_commit.time_from_now))),f.default.createElement("span",null,f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/pulls/new",className:"mr20 color-blue mr30"},"创建合并请求"),f.default.createElement(u.default,{overlay:I(e.zip_url,e.tar_url),trigger:["click"],placement:"bottomRight",className:"color-green-file"},f.default.createElement("a",{className:"ant-dropdown-link"},f.default.createElement(l.default,{title:"下载分支"+e.name},f.default.createElement(c.default,{type:"cloud-download",className:"font-18"}))))))}))))}()))))}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var r=u(n("14Xm")),a=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,u){try{var l=t[a](u),c=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,o,s;t.getBranch=(c=l(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=(o=l(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 o.apply(this,arguments)}),t.getHooks=(s=l(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 s.apply(this,arguments)})}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[85],{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}},ZDGD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n("W9HT")),a=h(n("BvKs")),u=h(n("jsC+")),l=h(n("3S7+")),c=h(n("CtXQ")),o=h(n("14Xm")),s=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,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(r=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);r=!0);}catch(e){a=!0,u=e}finally{try{!r&&c.return&&c.return()}finally{if(a)throw u}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("04bd"),n("2WkQ"),n("aIZi"),n("TfFZ"),n("2oDE");var i=n("q1tI"),f=h(i),m=n("eO8H"),d=n("PhNK"),p=n("tnhM");function h(e){return e&&e.__esModule?e:{default:e}}n("3cxI"),t.default=function(e){var t,n,h=(t=o.default.mark((function e(t,n){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.getBranch)(t,n);case 2:r=e.sent,E(r),k(!1);case 5:case"end":return e.stop()}}),e,this)})),n=function(){var e=t.apply(this,arguments);return new Promise((function(t,n){return function r(a,u){try{var l=e[a](u),c=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(c)}("next")}))},function(e,t){return n.apply(this,arguments)}),v=(0,i.useState)(void 0),g=s(v,2),y=g[0],E=g[1],b=(0,i.useState)(!0),w=s(b,2),_=w[0],k=w[1],x=e.match.params,N=x.projectsId,j=x.owner;(0,i.useEffect)((function(){h(N,j)}),[N]);var I=function(e,t){return f.default.createElement(a.default,null,f.default.createElement(a.default.Item,{key:"0"},f.default.createElement("a",{href:e},"ZIP")),f.default.createElement(a.default.Item,{key:"1"},f.default.createElement("a",{href:t},"TAR.GZ")))};return f.default.createElement(f.default.Fragment,null,f.default.createElement("div",{className:"main"},f.default.createElement(r.default,{spinning:_},f.default.createElement("div",{className:"branchTable"},f.default.createElement("p",{className:"branchTitle bor-bottom-greyE"},"分支列表"),function(){if(y&&y.length>0)return f.default.createElement(f.default.Fragment,null,f.default.createElement("ul",{className:"branchUl"},y.map((function(e,t){return f.default.createElement("li",{key:t},f.default.createElement("div",null,f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/branch/"+e.name,className:"color-blue font-15",style:{maxWidth:"100px"}},e.name),f.default.createElement("p",{className:"f-wrap-alignCenter mt15"},f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/commits/"+(0,d.truncateCommitId)(""+e.last_commit.sha),className:"mr5 commitKey",style:{marginLeft:0}},e.last_commit&&(0,d.truncateCommitId)(e.last_commit.sha)),f.default.createElement("span",{className:"color-grey-3 hide-1 messages leftPoint"},e.last_commit&&e.last_commit.message),f.default.createElement("span",{className:"color-grey-8 ml30"},"最后更新于",e.last_commit&&e.last_commit.time_from_now))),f.default.createElement("span",null,f.default.createElement(m.Link,{to:"/projects/"+j+"/"+N+"/pulls/new",className:"mr20 color-blue mr30"},"创建合并请求"),f.default.createElement(u.default,{overlay:I(e.zip_url,e.tar_url),trigger:["click"],placement:"bottomRight",className:"color-green-file"},f.default.createElement("a",{className:"ant-dropdown-link"},f.default.createElement(l.default,{title:"下载分支"+e.name},f.default.createElement(c.default,{type:"cloud-download",className:"font-18"}))))))}))))}()))))}},tnhM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHooks=t.getTag=t.getBranch=void 0;var r=u(n("14Xm")),a=u(n("vDqi"));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(a,u){try{var l=t[a](u),c=l.value}catch(e){return void n(e)}if(!l.done)return Promise.resolve(c).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(c)}("next")}))}}var c,o,s;t.getBranch=(c=l(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=(o=l(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 o.apply(this,arguments)}),t.getHooks=(s=l(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 s.apply(this,arguments)})}}]); \ No newline at end of file diff --git a/static/js/85.9cf737d2.chunk.js b/static/js/86.93cff985.chunk.js similarity index 98% rename from static/js/85.9cf737d2.chunk.js rename to static/js/86.93cff985.chunk.js index 06284a898..0070e76ef 100644 --- a/static/js/85.9cf737d2.chunk.js +++ b/static/js/86.93cff985.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[85],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),u=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function f(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 f(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),r(t,[{key:"render",value:function(){var e=this.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:u.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},danK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),u=l(n("2CTR"));function l(e){return e&&e.__esModule?e:{default:e}}function f(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 f(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),r(t,[{key:"render",value:function(){return a.default.createElement("div",{className:"pd20"},a.default.createElement("div",{className:"grid-item pb20 bbt"},a.default.createElement("h3",null,"待办事项")),a.default.createElement(u.default,{_html:"暂时没有数据~"}))}}]),t}(o.Component);t.default=c}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[86],{"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),u=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function f(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 f(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),r(t,[{key:"render",value:function(){var e=this.props._html;return a.default.createElement("div",{className:"none_panels"},a.default.createElement("div",null,a.default.createElement("img",{src:u.default,alt:""}),a.default.createElement("div",{className:"none_p_title"},e)))}}]),t}(o.Component);t.default=c},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1wayVurvIV/Ph1mAOnpfC9evX+1+6dOkVaEzmcb67FlehrfZyC9hI3wEG04/B1sLAFVINqYrnYsoLJfXq1asYyWu0xaDEndva2u6hjYA8ROohrW0pKSmlgCz3iRTpli1bpgHMvPvvvz9H6siFaqkuKSlp40NEX716VQMNI8US6dsCrQd5/gS18XtrH1bad9XlFrCdYRYQdIsXL84CYFEP90AjQegEBQU1p6amliYnJ/v06NFDyr7HozWwpZ1yNTc31+zZs6e1rKysj1IG2CfpYxWzaTWe5jdKeVfn3xuIpzuXBfH48eOTUDEC7t2kSOkzJCSkftCgQaXx8fGBqIs4KbN1dQK2ob6+fu+uXbt8/f39/bKysvwANxzQa8+ePdv3woULvkIT4M+RrSKtRnfv49nAfZdcHge73SmZzmhEPcwkD5KRhYeHXwPgsri4uFCsj1gpc+SyAnbNlStXjiDN0aGhoY1jxowJhN4AS1rMoNrz58/XnD59Ooo8AF6kSjVgr2XRXB0QELADNddi2c6dzw6DjbvcE3f5CZiMcZQB6qYwmKnkPaRNnz59qgcPHnw+JiYmCqmTBVT1JWADzm5sb92xY8dakdhE9HFlQkJCDDT7OUKQmXWTINbFgoKCyPLy8iCepZmssl8K8GpNSkf6lDoOgd2++5EPaCMdJWwirtVq+vbtW4bVcZlgfj8GEqGmvVndNgApQIIvbdy4MRcpbQLgIwMHDgxAr6dTz6FxmNHruIVuw+XLl8sBPrS0tDQc2qJqHDYpOwg5cOMQk1gKQ2DiuAP0hFFNfHz8WQCuxfsTc6+3I+3M6rTwUauwMCqR2pvo3J7V1dVxYWFhtUT7bh44cCAL0y9vzpw5OWZt3HXbxAc9h6rpiXUTgzcrdMWk3E2+ytykdKZDh8BeunRpWENDQyUdmBYZy45goo1pfAqAG9Gbqbw36WXLepbPqKV8pnH9tWvXfGtrawNZ4EKpo8dMvI5OvwS4BhbPSOgnS7m0b1cjngJbulCuFvgqYXH1wZ5P4OODucmkFOBnESVU7eZ3eGNKD9byefPm1SDdTzDl3kTqOkwqpS7T+Tg2bChqwmQfK+X2cnSsP/pbg5kni1oogxE1Izv+0od8tB/y8uFDJ2LjF7KveQ2h6M3YRTgnwufL5LJxoepySLLNKQL6HUjdFlb9OhhYcuTIEYlrJEkdQD82YsQIPwL6HgOqKyQbW73s1KlTLaRkkWjWhSYW9pPY/z2J5YSfPHkyCEEZjs1+whwbe/cOSbZCZOfOnfri4uK3ANqIuuhJenrYsGHHmGpvfvXVV+PQdWNIGqZ/0dixY+sxpyT28aO4mLXXEZ4LgBmP3o4DTJlxZ4YMGdKEozWIQZiMg9GjR9eBgZ6P8A6Snt2uWhwaoyqwWTR+ifucBsjmxDMok3QWa+rVzZs3D4bpWSQd9arHjx9/nsVNLAZVfZl34MH7Ntz7khMnTgQztnAAD8J6quIIRAFmqizut81QynpOnDjxwqZNm8Yzyx+Bt8WO8uewGpHoGwtVATEJMbdEr9q6ylnsFhEAimY1f5iv34MAfR0e3Rn080CY9bfV0JFyd6gRpPIicZTmb7/9Nr6xsVE82Ib09PRiFvkIJNrk1drjBaFqxjm6gceb+tBDD12zV1/eq5G2/4KhQIC2R7dfcHDwfxCPrmZQb6xdu1aP1fGLLVu2jICxVnT6MWZBLIupWpPQXr+dvkdq6wHnIo5QLKZkFOMw4sEWooe9uY+nsarFPTc3tx4rLZyP9Sptn+m08/aXDkk20yUHoHYi1Qa+fGdSba3Pawz07TVr1lxB4p9C0lNFH/LhCnBMenEfba2RrTKVkm0k/FpGPCYIPRsiNJOSkqro+wZ6WBZ1l04XMDOu5ufnBzNbMzEF7e7w6wnoxwLAW6ShdG4VSMAKY2EwOgG0jC8EKf63e++9t47799B1ryFhC44ePTqBJDHqCmi38jETpLI7Lon8EecWNdGXWRWP+qqbOnXqWfRwDLyIWXmb+epMv8yMXqgjHUL0LvhlAnqnQS09lZaQJnbWGQucJjEx0RS56ayenXc9ef/r6dOnN5Mv3Ldv35u4yPNwGO4DGC8AuYKVcwWJS7FDx+prxtCEx1mNFEeTh/Xu3bsNS6kUvoNYa0RlOUXXamfthYCrnzRpUs0XX3wxEqH9BcXvdVqfhe8GjAZ2Vmn27NmtAK5Gv3dGTnnXys1SzMaP9+7dexf3C+AjAAumAdDLxRqg7LY+LdUIDscF7N5APpo4Rhp0cBX2vgE9rEo9KUw5kyM4TZi8jcyaVMK2l23R8AJIUR9ptiogGRrccKvqxVYbB8uFZgbgPowEViLZv0TCCwkLZJAlAJ4RwIpYbP2RIG+FJsBqiNMgrPqmvLy8AMy2QKyJlnHjxl1CHQVGRUUJ6J0Kj0LLXTlBtlvM0sDW1tbwdevWrbVFV9seb36BCsOQLHNQk9HRaRLjJRjvY4uAm8s3wvDr7EEmsk6IO5xG0EmDBSNbY8FE5xq3bt0aLZE57OE2hOAiuWwi+7qZD9Xk8Ctqt23bJnuw/wSOVQoB7o0IxgnZzLZqjbR7it8MHTp0EAO1Wkch5qF8N3RfRQ+KtfAi/E5W+snMzKwaMGCAPwPopZR1lxzb21hZWWkNLwMf4SlzSe7gGW/qOaZwGmCLXv0hrmw63Yz+ex6TagqMfqEwwWzb1h2BFv4Ixl1Q+LTIdQjM726zM1ErEUzhVXh8OhbFDl1p0birHlcTnziJ2niXDk28Ijn9MbkE8P5dxYSdflrh70vi7Kzze+OpG2yjfu1tqz0No/kKAcQMdLjbrSw2t9WxQczdxWKzvs35kefgR1kzqrmPxNTqQ9i3gvcO7126mznolYHRpu3bt4diEc3iubN1o5nZ+aI1/aJBVw5Hul9lcZqOpaBBkgyYNVZVjgcGoZBcs2LFCjm9WgHAYqPLR1+ekBAfVVp6Lhu9vRgLZD5lXcmXCMAmXP4iQsvZYCSWnOxOFZDEsTkiz+YXak9+ElHAoaErVsFWKmODj+f+VQ7IZKOPxLFRXnVFPpmPns4A3sLm3l5VVSWL5PIZM6ZP3rFjZzMS3wev9BNMw0e7gJkqTNLVWBv6mpqa++FJVIVsl60lvcPassMRHjoFWyEA6FO5/090+CisAWNkZKRD7ZT2TuQnkeqhSHUxbaMmT550eNu27XIAU8CeQ/CH4yG7s5lsRUjMDQY8wok+7DURj3kHNv8hdPFQAJZTAsq436DPP7N421oQrdK+bYG0VgtDvZj0/pQpU2SjIANdFY4zYiSeoXRurZkrZb8lwJMMgQXh4aH/GxsbOwUnR+h9279/8mDWkXiOfXxJkD+LOMsuvEaZcopel3quXDXEVhYhxbu5JrDh/DNAltj2HlIthCWu8hBnBivVdqJq8aODNZwG7Q0DH1ZUVMgxMb/hw4e7G3SJDX9C2s3gjBkZw6wuPCkp/TPh4QyHJh+En7c47PO82sFb1N+NpbODKxXH6h8A2If+b6Jz/zZq1KjS3r2D79uwYdO3tHF690kV2ObMTZyYXVleXrGW6T6HraMYkkQF3SHpH6CrM+lrBLvseT4+3jJ9zbs23VMWzi7QUayBRKRQfsS0HnNQrAI1l4R/l6KTqjkzch80X5bGgHyKgNjirKzMQFQVMRtNVDsLhe3Et6Na5USunHVQ0lXuP0a1dPgE7XU7MqfBRoUkI10vpqam7C0oOGMCHSkPY2NAkHEW9Dbavs2g3xEOhw3LqOfeprUhH4LZtZQw57yVK1ca586de55mfaWtnSsfFbSGAz8xqAyxaIJI4sCtGDAgZUtiYvJ4o9HwCs++Vr4zxZok+JLc8roLQclhwdxl+UKenQZbIUan4wFc0leAvoYd6QewXHoRWFKqqMnXsVERgGTNwIM93qOH/x32GiclJU5BjRzkzMldhw8ffo3wwku0sfaBbogUf/3113ybMzPh+w9Cm74uIL1/YpZUBgT4y6+E3wdoe93afE/7XF56BmyzXscNGJA6jud9p08XlAD6fQy8BwupWRW7t3+hhsRCtEOHZojTkm6vBXUjJkyYcBBVUs/O+DMEp/7GrHvarN1hPsQytueCsGIep/yp9nd5RAsXEyns4+Wlk1+N9SOZNXP6dp+tli5LthXCYwcOHDAWxvMx/CsZ+GzUizfHGqxU/V7RCX65UEC7hzl3Uo79nOPo4PV6r58Rw36PD/wU8e5BnOfYDeWzgH8AaRf7/DWSN1Issfu/8kG2xMXFcqJWKyrL39F+FG6hs5N7UXneZqkBOqKztyj1LHNPgG3qA4bGpKUN0sDAfqbuFaRoGouoF16pJQ/K8/8QKniOBx/AOEW76coLR/L4+Lh7WeS2IL1T0Zuf0mYMNJ6UtvBygvTu5Mk5l/V633/UaIzPfifEzkkypudj/HCq3BG+zOt4DGylEwaZOWjQQA368iA7GvU4RBNZ1LToSaWK5FcJ5KwiL2Qg1yIjI0abv3TkHmAjsrOzGwhz1nD/EG3ESljODFnEgaEBGo0B9SQnt5wD2BEe7NXxONgKA4A7CutFdlkOA7qRBXQkp11Nr9kw3cDmrAAUggraTi5TX/Wl02nvRge/dPDgwRbCw/lRUX0ehMgKFrxA1cQ80KDLwFZ4xxYfkZiYoMFxOLp//34/AB/IZoUc5vk5H6S5b99om1t0Co3O8tDQ3q/MmDHtGMrjv6Gp7axuV7/73lzuys5xQIbFxsYMbGlpOobzchxg/DAf+YWX1tVjBmIbj+5uQAu2qiUb6WtB/2pY6c9zsrMV0OJc+UheXvoMzDxNRkZ6GbSzAMkVcp5uK56tzEqnmFQt2RwXXsWi915VVXWfrVu3xeEgFAD+RVdHCc04gFb98V3t15H2HKNrOn78hFg1idRfimkpnqrqS/XgMjOHpfDrh6zr12v/ed++/CklJaV3lpWVG7EwDsbF9WO113TpGT7VI1bRAFe+pbCwyIcAlQ+xkg0cyGnipMHrgO6Ui6lqAeEoQSBBeyJfxth2nvOLi0s+Jeb7JFKZgdkmh8YPYQVI/Fd2V9x2bdy4SWiZ4tluI2qDECDf4mygd0VFpSE4uNcGPGGDt7ePhFq9ALpcr/dO4/dCcpxO1aVKsgH612ZAS0djkpISSUnL8dQ+4WM8z/m98adP+9WwnXY4JCQIT9LkZali6oeqjC5uRZL1SLKORXvt5Mm5unaQZXfcxBZ5P/ZmwUHzslo+VYEN8bnWOzDOGTFi+N1arebtHTvyEIzm5/AaJ7KdVjxy5IgKpt5EmFQ1i6z345nS1ta2Vvk1AQdtNIC8Oicnx5uI4ix47gDZomex31+2KLP7qBJsY79OKIrJ9cKkSbmXm5ubfpeXtzuFE6SP5eXtSurdO+Qg8ZFbqJmxnbTv8lc4WG2ckfE6d67MCMgrOXPtx2EC+bsNWyC389gpDjbHoQpsJPcCgMqKbPOC0XAfH98/TJs29fTlyzXP8nv1u69evTZ1+/YdRs7hbR4yJC1Cp/MaZpNAF7zAejIQR9EBchsgr8rNzfFHEGTzQEuyy4HgYLeSlQqqwIYX4hdG0Vd2L5geGBYW+g4btFsJuT5z7ty5ZzjKO43f3TSyS78S130IRFLtEnJjBXgC5HM6gL6FdbGa3SY5hPlzyh0CWWHlOxyUJ8dzVXqUn0dEtrW1yt9JhDnehSnqZmCci/bvP1jADzklXt0HB+YS0b3NMTF9c6Fld6fBFWsEQTayX6ktKSnll1+9VuFEBeNMzRCQ1YxD6mKN1NB2MAG1atVt1Taorj4/BQdqPe381LaF0TqDoe0t9Lk3foKEU/2JlRSwiO7j8PrdPNu00Z0BGzBNBx0xTxsx4Vamp2eE85FVhW4txtik12tnRUb23WZR7tCj6i8rVDk+wHaVcTm3IQ71cnulyvr6hj9yVGA4r2QPUMeGwa6xY8cUsRX2IBjd9osylWAD8nkkuaRBFj5+Q8M6oXUFZBkBu/7aORxR3ioPzlxOgS0doXs5u2FYDDDZznQsbZD0QzgO73HAfR50JlFkYEdn5dixWc3oUgG9Y01xBGzoGREEURd1QocfSEUB8jRn+VPaQZdjFbpHWeDPKWXO5E6DrXTGoodkGl8BmHilTG3OYFYTe9gIUC9AZwDPjZy+Woi5yP+S6ORPYbSdgS0g8/G1RUXFN/nN5Yr09MGxgMPsc+2C7jlE4t/5ZcES1yh919plsIUMYHhXV1+Y39ZmFD3s1CEWzCnZWXl7z56vKrHPX4JmOM/VnIb6gEOUOfziYBzPt7nr1dWXNDgkN3CgPsesjAfkKdRz9TrGEZi/REZGLwFw4cstl1vANueEA5BjDIbWOUiEOAcJ5u8cvL+K8fC6HMXF55DjwrIQl5PEodqEKWnSvRxw1OBaXw8MDFg+ePAQCYA5tbtDO9MFqKWIzTqdTv8ZBznzlXJ35m4H25w5gB8M8LMpuwvwhwNchw42r2fjvrCurv4N/vspFyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},danK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),a=l(o),u=l(n("2CTR"));function l(e){return e&&e.__esModule?e:{default:e}}function f(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 f(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),r(t,[{key:"render",value:function(){return a.default.createElement("div",{className:"pd20"},a.default.createElement("div",{className:"grid-item pb20 bbt"},a.default.createElement("h3",null,"待办事项")),a.default.createElement(u.default,{_html:"暂时没有数据~"}))}}]),t}(o.Component);t.default=c}}]); \ No newline at end of file diff --git a/static/js/86.d04c24ea.chunk.js b/static/js/87.e5eefa6a.chunk.js similarity index 89% rename from static/js/86.d04c24ea.chunk.js rename to static/js/87.e5eefa6a.chunk.js index 3f2345d8b..01ed3d11b 100644 --- a/static/js/86.d04c24ea.chunk.js +++ b/static/js/87.e5eefa6a.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[86],{"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 c=f(n("CnBM")),i=f(n("HUFq")),s=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,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(39)]).then(n.t.bind(null,"pSeD",7))},loading:i.default}),h=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(52)]).then(n.t.bind(null,"RIeY",7))},loading:i.default}),E=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(56)]).then(n.t.bind(null,"32zL",7))},loading:i.default}),b=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(28)]).then(n.t.bind(null,"XyF/",7))},loading:i.default}),g=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.t.bind(null,"Un2r",7))},loading:i.default}),j=(0,c.default)({loader:function(){return n.e(82).then(n.t.bind(null,"qh7/",7))},loading:i.default}),w=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(44)]).then(n.t.bind(null,"ejHd",7))},loading:i.default}),y=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,c=l==="/projects/"+r+"/"+n+"/setting";return o.default.createElement(s.Box,{className:"ProjectListIndex"},o.default.createElement(s.Short,null,o.default.createElement("ul",{className:"list-l-Menu"},o.default.createElement("li",{className:c?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-huabanfuben font-18 mr10"}),"基本设置"))),o.default.createElement("li",{className:l.indexOf("setting/collaborator")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/collaborator",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("setting/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/branch",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("setting/tags")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/tags",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr10"}),"项目标签"))))),o.default.createElement(s.Long,null,o.default.createElement(s.Gap,null,o.default.createElement(u.Switch,this.props,o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/collaborator",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/tags",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/branch/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/branch",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/manage/new",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/manage",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=y},NzgE:function(e,t,n){}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[87],{"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 c=f(n("CnBM")),i=f(n("HUFq")),s=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,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(40)]).then(n.t.bind(null,"pSeD",7))},loading:i.default}),h=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(53)]).then(n.t.bind(null,"RIeY",7))},loading:i.default}),E=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(57)]).then(n.t.bind(null,"32zL",7))},loading:i.default}),b=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(29)]).then(n.t.bind(null,"XyF/",7))},loading:i.default}),g=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(17)]).then(n.t.bind(null,"Un2r",7))},loading:i.default}),j=(0,c.default)({loader:function(){return n.e(83).then(n.t.bind(null,"qh7/",7))},loading:i.default}),w=(0,c.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(45)]).then(n.t.bind(null,"ejHd",7))},loading:i.default}),y=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,c=l==="/projects/"+r+"/"+n+"/setting";return o.default.createElement(s.Box,{className:"ProjectListIndex"},o.default.createElement(s.Short,null,o.default.createElement("ul",{className:"list-l-Menu"},o.default.createElement("li",{className:c?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-huabanfuben font-18 mr10"}),"基本设置"))),o.default.createElement("li",{className:l.indexOf("setting/collaborator")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/collaborator",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-chengyuan font-18 mr10"}),"协作者管理"))),o.default.createElement("li",{className:l.indexOf("setting/branch")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/branch",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-fenzhi font-20 mr10"}),"分支设置"))),o.default.createElement("li",{className:l.indexOf("setting/tags")>-1?"active":""},o.default.createElement("p",null,o.default.createElement(u.Link,{to:"/projects/"+r+"/"+n+"/setting/tags",className:"w-100"},o.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr10"}),"项目标签"))))),o.default.createElement(s.Long,null,o.default.createElement(s.Gap,null,o.default.createElement(u.Switch,this.props,o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/collaborator",render:function(t){return o.default.createElement(b,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/tags",render:function(t){return o.default.createElement(g,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/branch/:branch",render:function(t){return o.default.createElement(m,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/branch",render:function(t){return o.default.createElement(h,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/manage/new",render:function(t){return o.default.createElement(w,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting/manage",render:function(t){return o.default.createElement(j,a({},e.props,t,e.state))}}),o.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/setting",render:function(t){return o.default.createElement(E,a({},e.props,t,e.state))}})))))}}]),t}(l.Component);t.default=y},NzgE:function(e,t,n){}}]); \ No newline at end of file diff --git a/static/js/87.8f636c38.chunk.js b/static/js/88.48f8595f.chunk.js similarity index 81% rename from static/js/87.8f636c38.chunk.js rename to static/js/88.48f8595f.chunk.js index 27d4615b3..419099aeb 100644 --- a/static/js/87.8f636c38.chunk.js +++ b/static/js/88.48f8595f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[87],{"7dqz":function(e,t,n){},"p+DR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("q1tI")),a=n("eO8H"),u=f(n("CnBM")),l=f(n("HUFq")),d=n("sYIF"),o=n("1thW"),i=n("5A3O");function f(e){return e&&e.__esModule?e:{default:e}}n("7dqz");var c=(0,u.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(10),n.e(47)]).then(n.t.bind(null,"vnWZ",7))},loading:l.default}),m=(0,u.default)({loader:function(){return n.e(66).then(n.t.bind(null,"CSm+",7))},loading:l.default}),g=(0,u.default)({loader:function(){return n.e(67).then(n.t.bind(null,"CyMe",7))},loading:l.default});t.default=(0,o.CNotificationHOC)()((0,d.SnackbarHOC)()((0,i.TPMIndexHOC)((function(e){return r.default.createElement("div",{className:"newMain"},r.default.createElement(a.Switch,e,r.default.createElement(a.Route,{path:"/organize/:organizeId/group",render:function(e){return r.default.createElement(g,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(e){return r.default.createElement(m,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId/member",render:function(e){return r.default.createElement(g,e)}}),r.default.createElement(a.Route,{path:"/organize/new",render:function(e){return r.default.createElement(c,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId",render:function(e){return r.default.createElement(m,e)}})))}))))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[88],{"7dqz":function(e,t,n){},"p+DR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("q1tI")),a=n("eO8H"),u=f(n("CnBM")),l=f(n("HUFq")),d=n("sYIF"),o=n("1thW"),i=n("5A3O");function f(e){return e&&e.__esModule?e:{default:e}}n("7dqz");var c=(0,u.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(10),n.e(48)]).then(n.t.bind(null,"vnWZ",7))},loading:l.default}),m=(0,u.default)({loader:function(){return n.e(68).then(n.t.bind(null,"CSm+",7))},loading:l.default}),g=(0,u.default)({loader:function(){return n.e(69).then(n.t.bind(null,"CyMe",7))},loading:l.default});t.default=(0,o.CNotificationHOC)()((0,d.SnackbarHOC)()((0,i.TPMIndexHOC)((function(e){return r.default.createElement("div",{className:"newMain"},r.default.createElement(a.Switch,e,r.default.createElement(a.Route,{path:"/organize/:organizeId/group",render:function(e){return r.default.createElement(g,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId/member/:memberId/setting",render:function(e){return r.default.createElement(m,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId/member",render:function(e){return r.default.createElement(g,e)}}),r.default.createElement(a.Route,{path:"/organize/new",render:function(e){return r.default.createElement(c,e)}}),r.default.createElement(a.Route,{path:"/organize/:organizeId",render:function(e){return r.default.createElement(m,e)}})))}))))}}]); \ No newline at end of file diff --git a/static/js/89.5546fe7a.chunk.js b/static/js/89.5546fe7a.chunk.js deleted file mode 100644 index 163e32dcf..000000000 --- a/static/js/89.5546fe7a.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[89],{"+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=d(o),u=n("eO8H"),c=d(n("WsY7")),s=d(n("CnBM")),i=d(n("HUFq")),f=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(18)]).then(n.t.bind(null,"eacs",7))},loading:i.default}),m=(0,s.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(10),n.e(53)]).then(n.t.bind(null,"jP00",7))},loading:i.default}),h=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(15)]).then(n.t.bind(null,"vj+l",7))},loading:i.default}),b=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(49)]).then(n.t.bind(null,"VEFH",7))},loading:i.default}),E=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(77),n.e(84)]).then(n.t.bind(null,"ZDGD",7))},loading:i.default}),j=(0,s.default)({loader:function(){return n.e(80).then(n.t.bind(null,"W9hf",7))},loading:i.default}),v=(0,s.default)({loader:function(){return n.e(76).then(n.t.bind(null,"Re6A",7))},loading:i.default}),g=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(11)]).then(n.t.bind(null,"k/oc",7))},loading:i.default}),y=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(11)]).then(n.t.bind(null,"k/oc",7))},loading:i.default}),w=(0,s.default)({loader:function(){return n.e(65).then(n.t.bind(null,"cfbA",7))},loading:i.default}),_=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,a="/"+t.owner+"/"+r+"/top_counts.json";f.default.get(a,{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),a(t,[{key:"render",value:function(){var e=this;return l.default.createElement("div",null,l.default.createElement(c.default,r({},this.props,this.state)),l.default.createElement(u.Switch,this.props,l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/newfile/:path",render:function(t){return l.default.createElement(p,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/uploadfile",render:function(t){return l.default.createElement(m,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/newfile",render:function(t){return l.default.createElement(p,r({},e.props,t,e.state,{getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits/branch/:branchName",render:function(t){return l.default.createElement(b,r({},e.props,t,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits/:sha",render:function(t){return l.default.createElement(w,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits",render:function(){return l.default.createElement(b,r({},e.props,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases/:versionId/update",render:function(t){return l.default.createElement(y,r({},e.props,e.state,t))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases/new",render:function(){return l.default.createElement(g,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases",render:function(){return l.default.createElement(v,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/tag",render:function(){return l.default.createElement(j,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/branch/:branchName",render:function(t){return l.default.createElement(h,r({},e.props,e.state,{getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/branchs",render:function(){return l.default.createElement(E,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId",render:function(){return l.default.createElement(h,r({},e.props,e.state,{getTopCount:e.getTopCount}))}})))}}]),t}(o.Component);t.default=_},WsY7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=(r=o)&&r.__esModule?r:{default:r},u=n("eO8H");function c(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 i=function(e){function t(){return c(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),a(t,[{key:"render",value:function(){var e=this.props,t=e.coderCount,n=e.platform,r=this.props.match.params,a=r.projectsId,o=r.owner,c=this.props.location.pathname;return l.default.createElement("p",{className:"branch-wrapper"},n?l.default.createElement(l.default.Fragment,null,l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/commits",className:c.indexOf("/commits")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/branchs",className:c.indexOf("/branchs")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/tag",className:c.indexOf("/tag")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/releases",className:c.indexOf("/releases")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")):l.default.createElement(l.default.Fragment,null,l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-cangku font-18 mr3"}),"仓库 ",l.default.createElement("span",{className:"ml3"},t&&t.size||0)))}}]),t}(o.Component);t.default=i}}]); \ No newline at end of file diff --git a/static/js/88.376aba4b.chunk.js b/static/js/89.b4d856e8.chunk.js similarity index 98% rename from static/js/88.376aba4b.chunk.js rename to static/js/89.b4d856e8.chunk.js index 1c22d02a2..1fd0b34df 100644 --- a/static/js/88.376aba4b.chunk.js +++ b/static/js/89.b4d856e8.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[88],{bKeb:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(["{\n font-size:16px;\n color:#333;\n}"],["{\n font-size:16px;\n color:#333;\n}"]),r=c(["{\n margin-right:5px;\n color:#333\n}"],["{\n margin-right:5px;\n color:#333\n}"]),l=c(["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:30px;\n line-height:30px;\n padding:0px 15px;\n border-radius:5px;\n}"],["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:30px;\n line-height:30px;\n padding:0px 15px;\n border-radius:5px;\n}"]),d=c(["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"],["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"]),p=x(t("q1tI")),a=t("spEH"),o=x(t("vOnD"));function x(n){return n&&n.__esModule?n:{default:n}}function c(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var g=o.default.span(i),s=o.default.span(r),u=o.default.a(l),f=o.default.img(d);e.default=function(){return p.default.createElement("div",null,p.default.createElement(a.Banner,null,"组织团队"),p.default.createElement("div",{className:"groupBox"},p.default.createElement("div",null,p.default.createElement("p",{className:"g-head"},p.default.createElement(g,null,"oweners"),p.default.createElement(u,null,"离开团队")),p.default.createElement("div",{className:"g-body"},p.default.createElement(f,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),p.default.createElement(f,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),p.default.createElement("p",{className:"g-foot"},p.default.createElement(s,null,"2 名成员"),p.default.createElement(s,null,"1 个项目")))))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\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}"]),l=j(["{\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}"]),d=j(["{\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}"]),p=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),a=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),o=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),s=j(["{\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}"]),u=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),f=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\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}"]),b=j(["{\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}"]),m=j(["{\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}"]),k=j(["{\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}"]),y=j(["{\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}"]),B=j(["{\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}"]),w=j(["{\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}"]),v=t("vOnD"),C=(i=v)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=C.default.div(r),e.AlignCenterBetween=C.default.div(l),e.FlexAJ=C.default.div(d),e.AlignCenter=C.default.div(p),e.Box=C.default.div(a),e.Long=C.default.div(o),e.Short=C.default.div(x),e.Gap=C.default.div(c),e.WhiteBack=C.default.div(g),e.Blueline=C.default.a(s),e.Redline=C.default.a(u),e.Greenline=C.default.a(f),e.Greenback=C.default.a(h),e.Blueback=C.default.a(b),e.Redback=C.default.a(m),e.NumUl=C.default.ul(k),e.GreenUnder=C.default.a(y),e.Cancel=C.default.a(B),e.Content=C.default.div(w)}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[89],{bKeb:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=c(["{\n font-size:16px;\n color:#333;\n}"],["{\n font-size:16px;\n color:#333;\n}"]),r=c(["{\n margin-right:5px;\n color:#333\n}"],["{\n margin-right:5px;\n color:#333\n}"]),l=c(["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:30px;\n line-height:30px;\n padding:0px 15px;\n border-radius:5px;\n}"],["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:30px;\n line-height:30px;\n padding:0px 15px;\n border-radius:5px;\n}"]),d=c(["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"],["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"]),p=x(t("q1tI")),a=t("spEH"),o=x(t("vOnD"));function x(n){return n&&n.__esModule?n:{default:n}}function c(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}var g=o.default.span(i),s=o.default.span(r),u=o.default.a(l),f=o.default.img(d);e.default=function(){return p.default.createElement("div",null,p.default.createElement(a.Banner,null,"组织团队"),p.default.createElement("div",{className:"groupBox"},p.default.createElement("div",null,p.default.createElement("p",{className:"g-head"},p.default.createElement(g,null,"oweners"),p.default.createElement(u,null,"离开团队")),p.default.createElement("div",{className:"g-body"},p.default.createElement(f,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),p.default.createElement(f,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),p.default.createElement("p",{className:"g-foot"},p.default.createElement(s,null,"2 名成员"),p.default.createElement(s,null,"1 个项目")))))}},spEH:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Content=e.Cancel=e.GreenUnder=e.NumUl=e.Redback=e.Blueback=e.Greenback=e.Greenline=e.Redline=e.Blueline=e.WhiteBack=e.Gap=e.Short=e.Long=e.Box=e.AlignCenter=e.FlexAJ=e.AlignCenterBetween=e.Banner=void 0;var i,r=j(["{\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}"]),l=j(["{\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}"]),d=j(["{\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}"]),p=j(["{\n display:flex;\n align-items: center;\n}"],["{\n display:flex;\n align-items: center;\n}"]),a=j(["{\n display:flex;\n align-item:flex-start;\n}"],["{\n display:flex;\n align-item:flex-start;\n}"]),o=j(["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:72%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),x=j(["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"],["{\n width:28%;\n border-radius:5px;\n margin-bottom:30px;\n}"]),c=j(["{\n padding-left:20px;\n box-sizing:border-box;\n}"],["{\n padding-left:20px;\n box-sizing:border-box;\n}"]),g=j(["{\n background-color:#fff;\n border-radius:5px;\n}"],["{\n background-color:#fff;\n border-radius:5px;\n}"]),s=j(["{\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}"]),u=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #F73030;\n color:#F73030;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),f=j(["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"],["{\n height:30px;\n line-height:28px;\n border-radius:2px;\n border:1px solid #28BD6C;\n color:#28BD6C;\n padding:0px 12px;\n display:inline-block;\n min-width:80px;\n text-align:center;\n}"]),h=j(["{\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}"]),b=j(["{\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}"]),m=j(["{\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}"]),k=j(["{\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}"]),y=j(["{\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}"]),B=j(["{\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}"]),w=j(["{\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}"]),v=t("vOnD"),C=(i=v)&&i.__esModule?i:{default:i};function j(n,e){return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}e.Banner=C.default.div(r),e.AlignCenterBetween=C.default.div(l),e.FlexAJ=C.default.div(d),e.AlignCenter=C.default.div(p),e.Box=C.default.div(a),e.Long=C.default.div(o),e.Short=C.default.div(x),e.Gap=C.default.div(c),e.WhiteBack=C.default.div(g),e.Blueline=C.default.a(s),e.Redline=C.default.a(u),e.Greenline=C.default.a(f),e.Greenback=C.default.a(h),e.Blueback=C.default.a(b),e.Redback=C.default.a(m),e.NumUl=C.default.ul(k),e.GreenUnder=C.default.a(y),e.Cancel=C.default.a(B),e.Content=C.default.div(w)}}]); \ No newline at end of file diff --git a/static/js/90.41c5ae56.chunk.js b/static/js/90.41c5ae56.chunk.js new file mode 100644 index 000000000..06561c351 --- /dev/null +++ b/static/js/90.41c5ae56.chunk.js @@ -0,0 +1 @@ +(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{"+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=d(o),u=n("eO8H"),c=d(n("WsY7")),s=d(n("CnBM")),i=d(n("HUFq")),f=d(n("vDqi"));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(19)]).then(n.t.bind(null,"eacs",7))},loading:i.default}),m=(0,s.default)({loader:function(){return Promise.all([n.e(2),n.e(4),n.e(9),n.e(10),n.e(54)]).then(n.t.bind(null,"jP00",7))},loading:i.default}),h=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(3),n.e(16)]).then(n.t.bind(null,"vj+l",7))},loading:i.default}),b=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(50)]).then(n.t.bind(null,"VEFH",7))},loading:i.default}),E=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(5),n.e(78),n.e(85)]).then(n.t.bind(null,"ZDGD",7))},loading:i.default}),j=(0,s.default)({loader:function(){return n.e(81).then(n.t.bind(null,"W9hf",7))},loading:i.default}),v=(0,s.default)({loader:function(){return Promise.all([n.e(14),n.e(67)]).then(n.t.bind(null,"Re6A",7))},loading:i.default}),g=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(11)]).then(n.t.bind(null,"k/oc",7))},loading:i.default}),y=(0,s.default)({loader:function(){return Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(11)]).then(n.t.bind(null,"k/oc",7))},loading:i.default}),w=(0,s.default)({loader:function(){return n.e(66).then(n.t.bind(null,"cfbA",7))},loading:i.default}),_=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,a="/"+t.owner+"/"+r+"/top_counts.json";f.default.get(a,{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),a(t,[{key:"render",value:function(){var e=this;return l.default.createElement("div",null,l.default.createElement(c.default,r({},this.props,this.state)),l.default.createElement(u.Switch,this.props,l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/newfile/:path",render:function(t){return l.default.createElement(p,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/uploadfile",render:function(t){return l.default.createElement(m,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/:branch/newfile",render:function(t){return l.default.createElement(p,r({},e.props,t,e.state,{getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits/branch/:branchName",render:function(t){return l.default.createElement(b,r({},e.props,t,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits/:sha",render:function(t){return l.default.createElement(w,r({},e.props,t,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/commits",render:function(){return l.default.createElement(b,r({},e.props,e.state,{commit_class:"main",getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases/:versionId/update",render:function(t){return l.default.createElement(y,r({},e.props,e.state,t))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases/new",render:function(){return l.default.createElement(g,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/releases",render:function(){return l.default.createElement(v,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/tag",render:function(){return l.default.createElement(j,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/branch/:branchName",render:function(t){return l.default.createElement(h,r({},e.props,e.state,{getTopCount:e.getTopCount}))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId/branchs",render:function(){return l.default.createElement(E,r({},e.props,e.state))}}),l.default.createElement(u.Route,{path:"/projects/:owner/:projectsId",render:function(){return l.default.createElement(h,r({},e.props,e.state,{getTopCount:e.getTopCount}))}})))}}]),t}(o.Component);t.default=_},WsY7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=(r=o)&&r.__esModule?r:{default:r},u=n("eO8H");function c(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 i=function(e){function t(){return c(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),a(t,[{key:"render",value:function(){var e=this.props,t=e.coderCount,n=e.platform,r=this.props.match.params,a=r.projectsId,o=r.owner,c=this.props.location.pathname;return l.default.createElement("p",{className:"branch-wrapper"},n?l.default.createElement(l.default.Fragment,null,l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/commits",className:c.indexOf("/commits")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/branchs",className:c.indexOf("/branchs")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/tag",className:c.indexOf("/tag")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement(u.Link,{to:"/projects/"+o+"/"+a+"/releases",className:c.indexOf("/releases")>0?"active":""},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")):l.default.createElement(l.default.Fragment,null,l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-tijiaojilu font-20 mr3 font-bd"}),l.default.createElement("span",null,t&&t.commits_count||0),"个提交"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fenzhi1 font-18 mr3"}),l.default.createElement("span",null,t&&t.branches_count||0),"个分支"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-biaoqian3 font-18 mr3"}),l.default.createElement("span",null,t&&t.tags_count||0),"个标签"),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-fahangban font-18 mr3"}),l.default.createElement("span",null,t&&t.version_releasesed_count||0),"个发行版")),l.default.createElement("a",{href:"javscript:void(0)",style:{cursor:"default"}},l.default.createElement("i",{className:"iconfont icon-cangku font-18 mr3"}),"仓库 ",l.default.createElement("span",{className:"ml3"},t&&t.size||0)))}}]),t}(o.Component);t.default=i}}]); \ No newline at end of file diff --git a/static/js/90.4c26e187.chunk.js b/static/js/91.e76d52f8.chunk.js similarity index 99% rename from static/js/90.4c26e187.chunk.js rename to static/js/91.e76d52f8.chunk.js index 8f4bd2ec8..65e65ffbb 100644 --- a/static/js/90.4c26e187.chunk.js +++ b/static/js/91.e76d52f8.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[90],{"4k9F":function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,d,s=h(c("2/Rp")),a=h(c("PArb")),n=h(c("kaz8")),r=h(c("9yH6")),m=h(c("DFOY")),o=h(c("Vl3Y")),l=h(c("5rEg")),u=(i=["{\n padding:20px 30px;\n}"],d=["{\n padding:20px 30px;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(d)}})));c("L/Qf"),c("qNb/"),c("MKzF"),c("K4yd"),c("gySj"),c("tULf"),c("1vPl");var f=c("q1tI"),p=h(f),v=c("spEH"),E=h(c("ess8")),y=h(c("vOnD")),b=c("OvOV");function h(e){return e&&e.__esModule?e:{default:e}}var w=l.default.TextArea,g=y.default.div(u),k={display:"block",height:"30px",lineHeight:"30px"};t.default=o.default.create()((0,f.forwardRef)((function(e){var t=e.form.getFieldDecorator,c=(0,f.useCallback)((function(e,c,i,d,s){return p.default.createElement("div",null,p.default.createElement("span",{className:s?"required":""},e),p.default.createElement(o.default.Item,null,t(c,{rules:i,validateFirst:!0})(d)))}),[]);return p.default.createElement("div",null,p.default.createElement(v.WhiteBack,null,p.default.createElement(E.default,null,"基本设置"),p.default.createElement(g,null,p.default.createElement(o.default,null,c("组织名称:","name",[{required:!0,message:"请输入组织名称"}],p.default.createElement(l.default,{placeholder:"请输入组织名称"}),!0),c("组织描述:","desc",[],p.default.createElement(w,{placeholder:"请输入组织名称"})),c("官方网站:","web",[],p.default.createElement(l.default,{placeholder:"请输入官方网站"})),c("所在地区:","area",[],p.default.createElement(m.default,{placeholder:"请选择城市",options:b.locData})),c("可见性:","opacity",[],p.default.createElement(r.default.Group,null,p.default.createElement(r.default,{value:"0",style:k},"公开"),p.default.createElement(r.default,{value:"0",style:k},"受限",p.default.createElement("span",null,"(仅对登录用户可见)")),p.default.createElement(r.default,{value:"0",style:k},"私有",p.default.createElement("span",null,"(仅对组织成员可见)")))),c("权限:","operation",[],p.default.createElement(n.default,{value:"0",style:k},"仓库管理员可以添加或移除团队的访问权限")),p.default.createElement(a.default,null),c("最大仓库数:","number",[],p.default.createElement(l.default,{value:"-1",style:{width:"350px"}})),p.default.createElement(s.default,{type:"primary"},"更新仓库设置")))),p.default.createElement(v.WhiteBack,{className:"padding20 mt20"},p.default.createElement("div",{className:"warningBox"},p.default.createElement("div",{className:"warningTitle"},"删除当前组织"),p.default.createElement("div",{className:"warningContent"},p.default.createElement("p",{className:"font-16 mb15"},"删除操作会永久清除该组织的信息,并且不可恢复!"),p.default.createElement(v.FlexAJ,null,p.default.createElement("div",null,p.default.createElement("span",{className:"required"},"密码:"),p.default.createElement(l.default,{type:"password",style:{width:"350px"}})),p.default.createElement("a",{className:"warningDelete"},"删除组织"))))))})))},OvOV:function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={11e4:{code:"110000",name:"北京",cities:{11e4:{code:"110000",name:"北京",districts:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"}}}},12e4:{code:"120000",name:"天津",cities:{12e4:{code:"120000",name:"天津",districts:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"}}}},13e4:{code:"130000",name:"河北省",cities:{130100:{code:"130100",name:"石家庄",districts:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集",130183:"晋州",130184:"新乐"}},130200:{code:"130200",name:"唐山",districts:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130281:"遵化",130283:"迁安",130284:"滦州"}},130300:{code:"130300",name:"秦皇岛",districts:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县"}},130400:{code:"130400",name:"邯郸",districts:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安"}},130500:{code:"130500",name:"邢台",districts:{130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫",130582:"沙河"}},130600:{code:"130600",name:"保定",districts:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州",130682:"定州",130683:"安国",130684:"高碑店"}},130700:{code:"130700",name:"张家口",districts:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县"}},130800:{code:"130800",name:"承德",districts:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130881:"平泉"}},130900:{code:"130900",name:"沧州",districts:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头",130982:"任丘",130983:"黄骅",130984:"河间"}},131e3:{code:"131000",name:"廊坊",districts:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州",131082:"三河"}},131100:{code:"131100",name:"衡水",districts:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131182:"深州"}}}},14e4:{code:"140000",name:"山西省",cities:{140100:{code:"140100",name:"太原",districts:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交"}},140200:{code:"140200",name:"大同",districts:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县"}},140300:{code:"140300",name:"阳泉",districts:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"}},140400:{code:"140400",name:"长治",districts:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县"}},140500:{code:"140500",name:"晋城",districts:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平"}},140600:{code:"140600",name:"朔州",districts:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140681:"怀仁"}},140700:{code:"140700",name:"晋中",districts:{140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休"}},140800:{code:"140800",name:"运城",districts:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济",140882:"河津"}},140900:{code:"140900",name:"忻州",districts:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平"}},141e3:{code:"141000",name:"临汾",districts:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马",141082:"霍州"}},141100:{code:"141100",name:"吕梁",districts:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义",141182:"汾阳"}}}},15e4:{code:"150000",name:"内蒙古自治区",cities:{150100:{code:"150100",name:"呼和浩特",districts:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县"}},150200:{code:"150200",name:"包头",districts:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗"}},150300:{code:"150300",name:"乌海",districts:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"}},150400:{code:"150400",name:"赤峰",districts:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"}},150500:{code:"150500",name:"通辽",districts:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒"}},150600:{code:"150600",name:"鄂尔多斯",districts:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"}},150700:{code:"150700",name:"呼伦贝尔",districts:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里",150782:"牙克石",150783:"扎兰屯",150784:"额尔古纳",150785:"根河"}},150800:{code:"150800",name:"巴彦淖尔",districts:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"}},150900:{code:"150900",name:"乌兰察布",districts:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇"}},152200:{code:"152200",name:"兴安盟",districts:{152201:"乌兰浩特",152202:"阿尔山",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"}},152500:{code:"152500",name:"锡林郭勒盟",districts:{152501:"二连浩特",152502:"锡林浩特",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县"}},152900:{code:"152900",name:"阿拉善盟",districts:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗"}}}},21e4:{code:"210000",name:"辽宁省",cities:{210100:{code:"210100",name:"沈阳",districts:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民"}},210200:{code:"210200",name:"大连",districts:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店",210283:"庄河"}},210300:{code:"210300",name:"鞍山",districts:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城"}},210400:{code:"210400",name:"抚顺",districts:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"}},210500:{code:"210500",name:"本溪",districts:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"}},210600:{code:"210600",name:"丹东",districts:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港",210682:"凤城"}},210700:{code:"210700",name:"锦州",districts:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海",210782:"北镇"}},210800:{code:"210800",name:"营口",districts:{210802:"站前区",210803:"西区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州",210882:"大石桥"}},210900:{code:"210900",name:"阜新",districts:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"}},211e3:{code:"211000",name:"辽阳",districts:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔"}},211100:{code:"211100",name:"盘锦",districts:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"}},211200:{code:"211200",name:"铁岭",districts:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山",211282:"开原"}},211300:{code:"211300",name:"朝阳",districts:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票",211382:"凌源"}},211400:{code:"211400",name:"葫芦岛",districts:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城"}}}},22e4:{code:"220000",name:"吉林省",cities:{220100:{code:"220100",name:"长春",districts:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220182:"榆树",220183:"德惠"}},220200:{code:"220200",name:"吉林",districts:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河",220282:"桦甸",220283:"舒兰",220284:"磐石"}},220300:{code:"220300",name:"四平",districts:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭",220382:"双辽"}},220400:{code:"220400",name:"辽源",districts:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"}},220500:{code:"220500",name:"通化",districts:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口",220582:"集安"}},220600:{code:"220600",name:"白山",districts:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江"}},220700:{code:"220700",name:"松原",districts:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220781:"扶余"}},220800:{code:"220800",name:"白城",districts:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南",220882:"大安"}},222400:{code:"222400",name:"延边朝鲜族自治州",districts:{222401:"延吉",222402:"图们",222403:"敦化",222404:"珲春",222405:"龙井",222406:"和龙",222424:"汪清县",222426:"安图县"}}}},23e4:{code:"230000",name:"黑龙江省",cities:{230100:{code:"230100",name:"哈尔滨",districts:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志",230184:"五常"}},230200:{code:"230200",name:"齐齐哈尔",districts:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河"}},230300:{code:"230300",name:"鸡西",districts:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林",230382:"密山"}},230400:{code:"230400",name:"鹤岗",districts:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"}},230500:{code:"230500",name:"双鸭山",districts:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"}},230600:{code:"230600",name:"大庆",districts:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县"}},230700:{code:"230700",name:"伊春",districts:{230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力"}},230800:{code:"230800",name:"佳木斯",districts:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江",230882:"富锦",230883:"抚远"}},230900:{code:"230900",name:"七台河",districts:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"}},231e3:{code:"231000",name:"牡丹江",districts:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231081:"绥芬河",231083:"海林",231084:"宁安",231085:"穆棱",231086:"东宁"}},231100:{code:"231100",name:"黑河",districts:{231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安",231182:"五大连池"}},231200:{code:"231200",name:"绥化",districts:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达",231282:"肇东",231283:"海伦"}},232700:{code:"232700",name:"大兴安岭地区",districts:{232701:"漠河",232721:"呼玛县",232722:"塔河县"}}}},31e4:{code:"310000",name:"上海",cities:{31e4:{code:"310000",name:"上海",districts:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"}}}},32e4:{code:"320000",name:"江苏省",cities:{320100:{code:"320100",name:"南京",districts:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"}},320200:{code:"320200",name:"无锡",districts:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴",320282:"宜兴"}},320300:{code:"320300",name:"徐州",districts:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320381:"新沂",320382:"邳州"}},320400:{code:"320400",name:"常州",districts:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳"}},320500:{code:"320500",name:"苏州",districts:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320581:"常熟",320582:"张家港",320583:"昆山",320585:"太仓"}},320600:{code:"320600",name:"南通",districts:{320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320681:"启东",320682:"如皋",320684:"海门",320685:"海安"}},320700:{code:"320700",name:"连云港",districts:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县"}},320800:{code:"320800",name:"淮安",districts:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县"}},320900:{code:"320900",name:"盐城",districts:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台"}},321e3:{code:"321000",name:"扬州",districts:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321081:"仪征",321084:"高邮"}},321100:{code:"321100",name:"镇江",districts:{321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳",321182:"扬中",321183:"句容"}},321200:{code:"321200",name:"泰州",districts:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321281:"兴化",321282:"靖江",321283:"泰兴"}},321300:{code:"321300",name:"宿迁",districts:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县"}}}},33e4:{code:"330000",name:"浙江省",cities:{330100:{code:"330100",name:"杭州",districts:{330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德"}},330200:{code:"330200",name:"宁波",districts:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚",330282:"慈溪"}},330300:{code:"330300",name:"温州",districts:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安",330382:"乐清"}},330400:{code:"330400",name:"嘉兴",districts:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁",330482:"平湖",330483:"桐乡"}},330500:{code:"330500",name:"湖州",districts:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"}},330600:{code:"330600",name:"绍兴",districts:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨",330683:"嵊州"}},330700:{code:"330700",name:"金华",districts:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪",330782:"义乌",330783:"东阳",330784:"永康"}},330800:{code:"330800",name:"衢州",districts:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山"}},330900:{code:"330900",name:"舟山",districts:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"}},331e3:{code:"331000",name:"台州",districts:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭",331082:"临海",331083:"玉环"}},331100:{code:"331100",name:"丽水",districts:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉"}}}},34e4:{code:"340000",name:"安徽省",cities:{340100:{code:"340100",name:"合肥",districts:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340181:"巢湖"}},340200:{code:"340200",name:"芜湖",districts:{340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县"}},340300:{code:"340300",name:"蚌埠",districts:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县"}},340400:{code:"340400",name:"淮南",districts:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"}},340500:{code:"340500",name:"马鞍山",districts:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"}},340600:{code:"340600",name:"淮北",districts:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"}},340700:{code:"340700",name:"铜陵",districts:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"}},340800:{code:"340800",name:"安庆",districts:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城",340882:"潜山"}},341e3:{code:"341000",name:"黄山",districts:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"}},341100:{code:"341100",name:"滁州",districts:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长",341182:"明光"}},341200:{code:"341200",name:"阜阳",districts:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首"}},341300:{code:"341300",name:"宿州",districts:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县"}},341500:{code:"341500",name:"六安",districts:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"}},341600:{code:"341600",name:"亳州",districts:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"}},341700:{code:"341700",name:"池州",districts:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"}},341800:{code:"341800",name:"宣城",districts:{341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国"}}}},35e4:{code:"350000",name:"福建省",cities:{350100:{code:"350100",name:"福州",districts:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清"}},350200:{code:"350200",name:"厦门",districts:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"}},350300:{code:"350300",name:"莆田",districts:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"}},350400:{code:"350400",name:"三明",districts:{350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安"}},350500:{code:"350500",name:"泉州",districts:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮",350582:"晋江",350583:"南安"}},350600:{code:"350600",name:"漳州",districts:{350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海"}},350700:{code:"350700",name:"南平",districts:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武",350782:"武夷山",350783:"建瓯"}},350800:{code:"350800",name:"龙岩",districts:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平"}},350900:{code:"350900",name:"宁德",districts:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安",350982:"福鼎"}}}},36e4:{code:"360000",name:"江西省",cities:{360100:{code:"360100",name:"南昌",districts:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"}},360200:{code:"360200",name:"景德镇",districts:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平"}},360300:{code:"360300",name:"萍乡",districts:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"}},360400:{code:"360400",name:"九江",districts:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌",360482:"共青城",360483:"庐山"}},360500:{code:"360500",name:"新余",districts:{360502:"渝水区",360521:"分宜县"}},360600:{code:"360600",name:"鹰潭",districts:{360602:"月湖区",360603:"余江区",360681:"贵溪"}},360700:{code:"360700",name:"赣州",districts:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金"}},360800:{code:"360800",name:"吉安",districts:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山"}},360900:{code:"360900",name:"宜春",districts:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城",360982:"樟树",360983:"高安"}},361e3:{code:"361000",name:"抚州",districts:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"}},361100:{code:"361100",name:"上饶",districts:{361102:"信州区",361103:"广丰区",361121:"上饶县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴"}}}},37e4:{code:"370000",name:"山东省",cities:{370100:{code:"370100",name:"济南",districts:{370102:"历下区",370103:"中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县"}},370200:{code:"370200",name:"青岛",districts:{370202:"南区",370203:"北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370281:"胶州",370283:"平度",370285:"莱西"}},370300:{code:"370300",name:"淄博",districts:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"}},370400:{code:"370400",name:"枣庄",districts:{370402:"中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州"}},370500:{code:"370500",name:"东营",districts:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县"}},370600:{code:"370600",name:"烟台",districts:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370681:"龙口",370682:"莱阳",370683:"莱州",370684:"蓬莱",370685:"招远",370686:"栖霞",370687:"海阳"}},370700:{code:"370700",name:"潍坊",districts:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州",370782:"诸城",370783:"寿光",370784:"安丘",370785:"高密",370786:"昌邑"}},370800:{code:"370800",name:"济宁",districts:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜",370883:"邹城"}},370900:{code:"370900",name:"泰安",districts:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰",370983:"肥城"}},371e3:{code:"371000",name:"威海",districts:{371002:"环翠区",371003:"文登区",371082:"荣成",371083:"乳山"}},371100:{code:"371100",name:"日照",districts:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县"}},371300:{code:"371300",name:"临沂",districts:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县"}},371400:{code:"371400",name:"德州",districts:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵",371482:"禹城"}},371500:{code:"371500",name:"聊城",districts:{371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清"}},371600:{code:"371600",name:"滨州",districts:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平"}},371700:{code:"371700",name:"菏泽",districts:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县"}}}},41e4:{code:"410000",name:"河南省",cities:{410100:{code:"410100",name:"郑州",districts:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义",410182:"荥阳",410183:"新密",410184:"新郑",410185:"登封"}},410200:{code:"410200",name:"开封",districts:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"}},410300:{code:"410300",name:"洛阳",districts:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师"}},410400:{code:"410400",name:"平顶山",districts:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢",410482:"汝州"}},410500:{code:"410500",name:"安阳",districts:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州"}},410600:{code:"410600",name:"鹤壁",districts:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县"}},410700:{code:"410700",name:"新乡",districts:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉",410782:"辉县"}},410800:{code:"410800",name:"焦作",districts:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410882:"沁阳",410883:"孟州"}},410900:{code:"410900",name:"濮阳",districts:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县"}},411e3:{code:"411000",name:"许昌",districts:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411081:"禹州",411082:"长葛"}},411100:{code:"411100",name:"漯河",districts:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县"}},411200:{code:"411200",name:"三门峡",districts:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411281:"义马",411282:"灵宝"}},411300:{code:"411300",name:"南阳",districts:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州"}},411400:{code:"411400",name:"商丘",districts:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城"}},411500:{code:"411500",name:"信阳",districts:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县"}},411600:{code:"411600",name:"周口",districts:{411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城"}},411700:{code:"411700",name:"驻马店",districts:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县"}}}},42e4:{code:"420000",name:"湖北省",cities:{420100:{code:"420100",name:"武汉",districts:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"}},420200:{code:"420200",name:"黄石",districts:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶"}},420300:{code:"420300",name:"十堰",districts:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口"}},420500:{code:"420500",name:"宜昌",districts:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都",420582:"当阳",420583:"枝江"}},420600:{code:"420600",name:"襄阳",districts:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口",420683:"枣阳",420684:"宜城"}},420700:{code:"420700",name:"鄂州",districts:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"}},420800:{code:"420800",name:"荆门",districts:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥",420882:"京山"}},420900:{code:"420900",name:"孝感",districts:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城",420982:"安陆",420984:"汉川"}},421e3:{code:"421000",name:"荆州",districts:{421002:"沙区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首",421083:"洪湖",421087:"松滋"}},421100:{code:"421100",name:"黄冈",districts:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城",421182:"武穴"}},421200:{code:"421200",name:"咸宁",districts:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁"}},421300:{code:"421300",name:"随州",districts:{421303:"曾都区",421321:"随县",421381:"广水"}},422800:{code:"422800",name:"恩施土家族苗族自治州",districts:{422801:"恩施",422802:"利川",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"}}}},43e4:{code:"430000",name:"湖南省",cities:{430100:{code:"430100",name:"长沙",districts:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳",430182:"宁乡"}},430200:{code:"430200",name:"株洲",districts:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵"}},430300:{code:"430300",name:"湘潭",districts:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡",430382:"韶山"}},430400:{code:"430400",name:"衡阳",districts:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳",430482:"常宁"}},430500:{code:"430500",name:"邵阳",districts:{430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈"}},430600:{code:"430600",name:"岳阳",districts:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗",430682:"临湘"}},430700:{code:"430700",name:"常德",districts:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津"}},430800:{code:"430800",name:"张家界",districts:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"}},430900:{code:"430900",name:"益阳",districts:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江"}},431e3:{code:"431000",name:"郴州",districts:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴"}},431100:{code:"431100",name:"永州",districts:{431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县"}},431200:{code:"431200",name:"怀化",districts:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江"}},431300:{code:"431300",name:"娄底",districts:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江",431382:"涟源"}},433100:{code:"433100",name:"湘西土家族苗族自治州",districts:{433101:"吉首",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"}}}},44e4:{code:"440000",name:"广东省",cities:{440100:{code:"440100",name:"广州",districts:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"}},440200:{code:"440200",name:"韶关",districts:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌",440282:"南雄"}},440300:{code:"440300",name:"深圳",districts:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"}},440400:{code:"440400",name:"珠海",districts:{440402:"香洲区",440403:"斗门区",440404:"金湾区"}},440500:{code:"440500",name:"汕头",districts:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"}},440600:{code:"440600",name:"佛山",districts:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"}},440700:{code:"440700",name:"江门",districts:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山",440783:"开平",440784:"鹤山",440785:"恩平"}},440800:{code:"440800",name:"湛江",districts:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江",440882:"雷州",440883:"吴川"}},440900:{code:"440900",name:"茂名",districts:{440902:"茂南区",440904:"电白区",440981:"高州",440982:"化州",440983:"信宜"}},441200:{code:"441200",name:"肇庆",districts:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会"}},441300:{code:"441300",name:"惠州",districts:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"}},441400:{code:"441400",name:"梅州",districts:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁"}},441500:{code:"441500",name:"汕尾",districts:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰"}},441600:{code:"441600",name:"河源",districts:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"}},441700:{code:"441700",name:"阳江",districts:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春"}},441800:{code:"441800",name:"清远",districts:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德",441882:"连州"}},441900:{code:"441900",name:"东莞",districts:{}},442e3:{code:"442000",name:"中山",districts:{}},445100:{code:"445100",name:"潮州",districts:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"}},445200:{code:"445200",name:"揭阳",districts:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁"}},445300:{code:"445300",name:"云浮",districts:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定"}}}},45e4:{code:"450000",name:"广西壮族自治区",cities:{450100:{code:"450100",name:"南宁",districts:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"}},450200:{code:"450200",name:"柳州",districts:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"}},450300:{code:"450300",name:"桂林",districts:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦"}},450400:{code:"450400",name:"梧州",districts:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪"}},450500:{code:"450500",name:"北海",districts:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"}},450600:{code:"450600",name:"防城港",districts:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴"}},450700:{code:"450700",name:"钦州",districts:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"}},450800:{code:"450800",name:"贵港",districts:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平"}},450900:{code:"450900",name:"玉林",districts:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流"}},451e3:{code:"451000",name:"百色",districts:{451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西"}},451100:{code:"451100",name:"贺州",districts:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"}},451200:{code:"451200",name:"河池",districts:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"}},451300:{code:"451300",name:"来宾",districts:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山"}},451400:{code:"451400",name:"崇左",districts:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥"}}}},46e4:{code:"460000",name:"海南省",cities:{460100:{code:"460100",name:"海口",districts:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"}},460200:{code:"460200",name:"三亚",districts:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"}},460300:{code:"460300",name:"三沙",districts:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",460324:"永乐群岛"}},460400:{code:"460400",name:"儋州",districts:{}}}},5e5:{code:"500000",name:"重庆",cities:{5e5:{code:"500000",name:"重庆",districts:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区",500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"}}}},51e4:{code:"510000",name:"四川省",cities:{510100:{code:"510100",name:"成都",districts:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰",510182:"彭州",510183:"邛崃",510184:"崇州",510185:"简阳"}},510300:{code:"510300",name:"自贡",districts:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"}},510400:{code:"510400",name:"攀枝花",districts:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"}},510500:{code:"510500",name:"泸州",districts:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"}},510600:{code:"510600",name:"德阳",districts:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉",510682:"什邡",510683:"绵竹"}},510700:{code:"510700",name:"绵阳",districts:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油"}},510800:{code:"510800",name:"广元",districts:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"}},510900:{code:"510900",name:"遂宁",districts:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县"}},511e3:{code:"511000",name:"内江",districts:{511002:"中区",511011:"东兴区",511024:"威远县",511025:"资中县",511083:"隆昌"}},511100:{code:"511100",name:"乐山",districts:{511102:"中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山"}},511300:{code:"511300",name:"南充",districts:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中"}},511400:{code:"511400",name:"眉山",districts:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"}},511500:{code:"511500",name:"宜宾",districts:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"}},511600:{code:"511600",name:"广安",districts:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥"}},511700:{code:"511700",name:"达州",districts:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源"}},511800:{code:"511800",name:"雅安",districts:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"}},511900:{code:"511900",name:"巴中",districts:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县"}},512e3:{code:"512000",name:"资阳",districts:{512002:"雁江区",512021:"安岳县",512022:"乐至县"}},513200:{code:"513200",name:"阿坝藏族羌族自治州",districts:{513201:"马尔康",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"}},513300:{code:"513300",name:"甘孜藏族自治州",districts:{513301:"康定",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"}},513400:{code:"513400",name:"凉山彝族自治州",districts:{513401:"西昌",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"}}}},52e4:{code:"520000",name:"贵州省",cities:{520100:{code:"520100",name:"贵阳",districts:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇"}},520200:{code:"520200",name:"六盘水",districts:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州"}},520300:{code:"520300",name:"遵义",districts:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水",520382:"仁怀"}},520400:{code:"520400",name:"安顺",districts:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"}},520500:{code:"520500",name:"毕节",districts:{520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"}},520600:{code:"520600",name:"铜仁",districts:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"}},522300:{code:"522300",name:"黔西南布依族苗族自治州",districts:{522301:"兴义",522302:"兴仁",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"}},522600:{code:"522600",name:"黔东南苗族侗族自治州",districts:{522601:"凯里",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"}},522700:{code:"522700",name:"黔南布依族苗族自治州",districts:{522701:"都匀",522702:"福泉",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"}}}},53e4:{code:"530000",name:"云南省",cities:{530100:{code:"530100",name:"昆明",districts:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁"}},530300:{code:"530300",name:"曲靖",districts:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威"}},530400:{code:"530400",name:"玉溪",districts:{530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"}},530500:{code:"530500",name:"保山",districts:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲"}},530600:{code:"530600",name:"昭通",districts:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富"}},530700:{code:"530700",name:"丽江",districts:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"}},530800:{code:"530800",name:"普洱",districts:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"}},530900:{code:"530900",name:"临沧",districts:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"}},532300:{code:"532300",name:"楚雄彝族自治州",districts:{532301:"楚雄",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"}},532500:{code:"532500",name:"红河哈尼族彝族自治州",districts:{532501:"个旧",532502:"开远",532503:"蒙自",532504:"弥勒",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"}},532600:{code:"532600",name:"文山壮族苗族自治州",districts:{532601:"文山",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"}},532800:{code:"532800",name:"西双版纳傣族自治州",districts:{532801:"景洪",532822:"勐海县",532823:"勐腊县"}},532900:{code:"532900",name:"大理白族自治州",districts:{532901:"大理",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"}},533100:{code:"533100",name:"德宏傣族景颇族自治州",districts:{533102:"瑞丽",533103:"芒",533122:"梁河县",533123:"盈江县",533124:"陇川县"}},533300:{code:"533300",name:"怒江傈僳族自治州",districts:{533301:"泸水",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"}},533400:{code:"533400",name:"迪庆藏族自治州",districts:{533401:"香格里拉",533422:"德钦县",533423:"维西傈僳族自治县"}}}},54e4:{code:"540000",name:"西藏自治区",cities:{540100:{code:"540100",name:"拉萨",districts:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县"}},540200:{code:"540200",name:"日喀则",districts:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"}},540300:{code:"540300",name:"昌都",districts:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"}},540400:{code:"540400",name:"林芝",districts:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"}},540500:{code:"540500",name:"山南",districts:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"}},540600:{code:"540600",name:"那曲",districts:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"}},542500:{code:"542500",name:"阿里地区",districts:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"}}}},61e4:{code:"610000",name:"陕西省",cities:{610100:{code:"610100",name:"西安",districts:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"}},610200:{code:"610200",name:"铜川",districts:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"}},610300:{code:"610300",name:"宝鸡",districts:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"}},610400:{code:"610400",name:"咸阳",districts:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平",610482:"彬州"}},610500:{code:"610500",name:"渭南",districts:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城",610582:"华阴"}},610600:{code:"610600",name:"延安",districts:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610623:"子长县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县"}},610700:{code:"610700",name:"汉中",districts:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"}},610800:{code:"610800",name:"榆林",districts:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木"}},610900:{code:"610900",name:"安康",districts:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"}},611e3:{code:"611000",name:"商洛",districts:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"}}}},62e4:{code:"620000",name:"甘肃省",cities:{620100:{code:"620100",name:"兰州",districts:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县"}},620200:{code:"620200",name:"嘉峪关",districts:{}},620300:{code:"620300",name:"金昌",districts:{620302:"金川区",620321:"永昌县"}},620400:{code:"620400",name:"白银",districts:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"}},620500:{code:"620500",name:"天水",districts:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"}},620600:{code:"620600",name:"武威",districts:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"}},620700:{code:"620700",name:"张掖",districts:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"}},620800:{code:"620800",name:"平凉",districts:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭"}},620900:{code:"620900",name:"酒泉",districts:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门",620982:"敦煌"}},621e3:{code:"621000",name:"庆阳",districts:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"}},621100:{code:"621100",name:"定西",districts:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"}},621200:{code:"621200",name:"陇南",districts:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"}},622900:{code:"622900",name:"临夏回族自治州",districts:{622901:"临夏",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"}},623e3:{code:"623000",name:"甘南藏族自治州",districts:{623001:"合作",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"}}}},63e4:{code:"630000",name:"青海省",cities:{630100:{code:"630100",name:"西宁",districts:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"}},630200:{code:"630200",name:"海东",districts:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"}},632200:{code:"632200",name:"海北藏族自治州",districts:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"}},632300:{code:"632300",name:"黄南藏族自治州",districts:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"}},632500:{code:"632500",name:"海南藏族自治州",districts:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"}},632600:{code:"632600",name:"果洛藏族自治州",districts:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"}},632700:{code:"632700",name:"玉树藏族自治州",districts:{632701:"玉树",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"}},632800:{code:"632800",name:"海西蒙古族藏族自治州",districts:{632801:"格尔木",632802:"德令哈",632803:"茫崖",632821:"乌兰县",632822:"都兰县",632823:"天峻县"}}}},64e4:{code:"640000",name:"宁夏回族自治区",cities:{640100:{code:"640100",name:"银川",districts:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武"}},640200:{code:"640200",name:"石嘴山",districts:{640202:"大武口区",640205:"惠农区",640221:"平罗县"}},640300:{code:"640300",name:"吴忠",districts:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡"}},640400:{code:"640400",name:"固原",districts:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"}},640500:{code:"640500",name:"中卫",districts:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"}}}},65e4:{code:"650000",name:"新疆维吾尔自治区",cities:{650100:{code:"650100",name:"乌鲁木齐",districts:{650102:"天山区",650103:"沙依巴克区",650104:"新区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"}},650200:{code:"650200",name:"克拉玛依",districts:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"}},650400:{code:"650400",name:"吐鲁番",districts:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"}},650500:{code:"650500",name:"哈密",districts:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"}},652300:{code:"652300",name:"昌吉回族自治州",districts:{652301:"昌吉",652302:"阜康",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"}},652700:{code:"652700",name:"博尔塔拉蒙古自治州",districts:{652701:"博乐",652702:"阿拉山口",652722:"精河县",652723:"温泉县"}},652800:{code:"652800",name:"巴音郭楞蒙古自治州",districts:{652801:"库尔勒",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县"}},652900:{code:"652900",name:"阿克苏地区",districts:{652901:"阿克苏",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"}},653e3:{code:"653000",name:"克孜勒苏柯尔克孜自治州",districts:{653001:"阿图什",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"}},653100:{code:"653100",name:"喀什地区",districts:{653101:"喀什",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"}},653200:{code:"653200",name:"和田地区",districts:{653201:"和田",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"}},654e3:{code:"654000",name:"伊犁哈萨克自治州",districts:{654002:"伊宁",654003:"奎屯",654004:"霍尔果斯",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"}},654200:{code:"654200",name:"塔城地区",districts:{654201:"塔城",654202:"乌苏",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"}},654300:{code:"654300",name:"阿勒泰地区",districts:{654301:"阿勒泰",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"}}}},81e4:{code:"810000",name:"香港特别行政区",cities:{81e4:{code:"810000",name:"香港特别行政区",districts:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区",810105:"油尖旺区",810106:"深水埗区",810107:"九龙城区",810108:"黄大仙区",810109:"观塘区",810110:"北区",810111:"大埔区",810112:"沙田区",810113:"西贡区",810114:"荃湾区",810115:"屯门区",810116:"元朗区",810117:"葵青区",810118:"离岛区"}}}},82e4:{code:"820000",name:"澳门特别行政区",cities:{82e4:{code:"820000",name:"澳门特别行政区",districts:{820101:"花地玛堂区",820102:"圣安多尼堂区",820103:"大堂区",820104:"望德堂区",820105:"风顺堂区",820106:"嘉模堂区",820107:"圣方济各堂区",820108:"路氹城",820109:"澳门新城"}}}},83e4:{code:"830000",name:"台湾省",cities:{830100:{code:"830100",name:"台北",districts:{830101:"中正区",830102:"大同区",830103:"中山区",830104:"万华区",830105:"信义区",830106:"松山区",830107:"大安区",830108:"南港区",830109:"北投区",830110:"内湖区",830111:"士林区",830112:"文山区"}},830200:{code:"830200",name:"新北",districts:{830201:"板桥区",830202:"土城区",830203:"新庄区",830204:"新店区",830205:"深坑区",830206:"石碇区",830207:"坪林区",830208:"乌来区",830209:"五股区",830210:"八里区",830211:"林口区",830212:"淡水区",830213:"中和区",830214:"永和区",830215:"三重区",830216:"芦洲区",830217:"泰山区",830218:"树林区",830219:"莺歌区",830220:"三峡区",830221:"汐止区",830222:"金山区",830223:"万里区",830224:"三芝区",830225:"石门区",830226:"瑞芳区",830227:"贡寮区",830228:"双溪区",830229:"平溪区"}},830300:{code:"830300",name:"桃园",districts:{830301:"桃园区",830302:"中坜区",830303:"平镇区",830304:"八德区",830305:"杨梅区",830306:"芦竹区",830307:"大溪区",830308:"龙潭区",830309:"龟山区",830310:"大园区",830311:"观音区",830312:"新屋区",830313:"复兴区"}},830400:{code:"830400",name:"台中",districts:{830401:"中区",830402:"东区",830403:"西区",830404:"南区",830405:"北区",830406:"西屯区",830407:"南屯区",830408:"北屯区",830409:"丰原区",830410:"大里区",830411:"太平区",830412:"东势区",830413:"大甲区",830414:"清水区",830415:"沙鹿区",830416:"梧栖区",830417:"后里区",830418:"神冈区",830419:"潭子区",830420:"大雅区",830421:"新小区",830422:"石冈区",830423:"外埔区",830424:"大安区",830425:"乌日区",830426:"大肚区",830427:"龙井区",830428:"雾峰区",830429:"和平区"}},830500:{code:"830500",name:"台南",districts:{830501:"中西区",830502:"东区",830503:"南区",830504:"北区",830505:"安平区",830506:"安南区",830507:"永康区",830508:"归仁区",830509:"新化区",830510:"左镇区",830511:"玉井区",830512:"楠西区",830513:"南化区",830514:"仁德区",830515:"关庙区",830516:"龙崎区",830517:"官田区",830518:"麻豆区",830519:"佳里区",830520:"西港区",830521:"七股区",830522:"将军区",830523:"学甲区",830524:"北门区",830525:"新营区",830526:"后壁区",830527:"白河区",830528:"东山区",830529:"六甲区",830530:"下营区",830531:"柳营区",830532:"盐水区",830533:"善化区",830534:"大内区",830535:"山上区",830536:"新区",830537:"安定区"}},830600:{code:"830600",name:"高雄",districts:{830601:"楠梓区",830602:"左营区",830603:"鼓山区",830604:"三民区",830605:"盐埕区",830606:"前金区",830607:"新兴区",830608:"苓雅区",830609:"前镇区",830610:"旗津区",830611:"小港区",830612:"凤山区",830613:"大寮区",830614:"鸟松区",830615:"林园区",830616:"仁武区",830617:"大树区",830618:"大社区",830619:"冈山区",830620:"路竹区",830621:"桥头区",830622:"梓官区",830623:"弥陀区",830624:"永安区",830625:"燕巢区",830626:"阿莲区",830627:"茄萣区",830628:"湖内区",830629:"旗山区",830630:"美浓区",830631:"内门区",830632:"杉林区",830633:"甲仙区",830634:"六龟区",830635:"茂林区",830636:"桃源区",830637:"那玛夏区"}},830700:{code:"830700",name:"基隆",districts:{830701:"中正区",830702:"七堵区",830703:"暖暖区",830704:"仁爱区",830705:"中山区",830706:"安乐区",830707:"信义区"}},830800:{code:"830800",name:"新竹",districts:{830801:"东区",830802:"北区",830803:"香山区"}},830900:{code:"830900",name:"嘉义",districts:{830901:"东区",830902:"西区"}}}}},d=new Map,s=t.city2province=new Map,a=new Map;for(var n in i){var r=i[n].name;for(var m in d.set(r,new Set),i[n].cities){var o=i[n].cities[m].name,l=i[n].cities[m].districts;d.get(r).add(o),s.set(o,r),a.set(u(l),new Set)}}function u(e){var t=[];for(var c in e)t.push(e[c]);return t}t.locData=Array.from(d.keys()).map((function(e){return{value:e,label:e,children:Array.from(d.get(e).keys()).map((function(e,t){return{value:e,label:e,children:Array.from(a.keys())[t].map((function(e){return{value:e,label:e}}))}}))}}))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[91],{"4k9F":function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,d,s=h(c("2/Rp")),a=h(c("PArb")),n=h(c("kaz8")),r=h(c("9yH6")),m=h(c("DFOY")),o=h(c("Vl3Y")),l=h(c("5rEg")),u=(i=["{\n padding:20px 30px;\n}"],d=["{\n padding:20px 30px;\n}"],Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(d)}})));c("L/Qf"),c("qNb/"),c("MKzF"),c("K4yd"),c("gySj"),c("tULf"),c("1vPl");var f=c("q1tI"),p=h(f),v=c("spEH"),E=h(c("ess8")),y=h(c("vOnD")),b=c("OvOV");function h(e){return e&&e.__esModule?e:{default:e}}var w=l.default.TextArea,g=y.default.div(u),k={display:"block",height:"30px",lineHeight:"30px"};t.default=o.default.create()((0,f.forwardRef)((function(e){var t=e.form.getFieldDecorator,c=(0,f.useCallback)((function(e,c,i,d,s){return p.default.createElement("div",null,p.default.createElement("span",{className:s?"required":""},e),p.default.createElement(o.default.Item,null,t(c,{rules:i,validateFirst:!0})(d)))}),[]);return p.default.createElement("div",null,p.default.createElement(v.WhiteBack,null,p.default.createElement(E.default,null,"基本设置"),p.default.createElement(g,null,p.default.createElement(o.default,null,c("组织名称:","name",[{required:!0,message:"请输入组织名称"}],p.default.createElement(l.default,{placeholder:"请输入组织名称"}),!0),c("组织描述:","desc",[],p.default.createElement(w,{placeholder:"请输入组织名称"})),c("官方网站:","web",[],p.default.createElement(l.default,{placeholder:"请输入官方网站"})),c("所在地区:","area",[],p.default.createElement(m.default,{placeholder:"请选择城市",options:b.locData})),c("可见性:","opacity",[],p.default.createElement(r.default.Group,null,p.default.createElement(r.default,{value:"0",style:k},"公开"),p.default.createElement(r.default,{value:"0",style:k},"受限",p.default.createElement("span",null,"(仅对登录用户可见)")),p.default.createElement(r.default,{value:"0",style:k},"私有",p.default.createElement("span",null,"(仅对组织成员可见)")))),c("权限:","operation",[],p.default.createElement(n.default,{value:"0",style:k},"仓库管理员可以添加或移除团队的访问权限")),p.default.createElement(a.default,null),c("最大仓库数:","number",[],p.default.createElement(l.default,{value:"-1",style:{width:"350px"}})),p.default.createElement(s.default,{type:"primary"},"更新仓库设置")))),p.default.createElement(v.WhiteBack,{className:"padding20 mt20"},p.default.createElement("div",{className:"warningBox"},p.default.createElement("div",{className:"warningTitle"},"删除当前组织"),p.default.createElement("div",{className:"warningContent"},p.default.createElement("p",{className:"font-16 mb15"},"删除操作会永久清除该组织的信息,并且不可恢复!"),p.default.createElement(v.FlexAJ,null,p.default.createElement("div",null,p.default.createElement("span",{className:"required"},"密码:"),p.default.createElement(l.default,{type:"password",style:{width:"350px"}})),p.default.createElement("a",{className:"warningDelete"},"删除组织"))))))})))},OvOV:function(e,t,c){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={11e4:{code:"110000",name:"北京",cities:{11e4:{code:"110000",name:"北京",districts:{110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110118:"密云区",110119:"延庆区"}}}},12e4:{code:"120000",name:"天津",cities:{12e4:{code:"120000",name:"天津",districts:{120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120117:"宁河区",120118:"静海区",120119:"蓟州区"}}}},13e4:{code:"130000",name:"河北省",cities:{130100:{code:"130100",name:"石家庄",districts:{130102:"长安区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130109:"藁城区",130110:"鹿泉区",130111:"栾城区",130121:"井陉县",130123:"正定县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集",130183:"晋州",130184:"新乐"}},130200:{code:"130200",name:"唐山",districts:{130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130209:"曹妃甸区",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130281:"遵化",130283:"迁安",130284:"滦州"}},130300:{code:"130300",name:"秦皇岛",districts:{130302:"海港区",130303:"山海关区",130304:"北戴河区",130306:"抚宁区",130321:"青龙满族自治县",130322:"昌黎县",130324:"卢龙县"}},130400:{code:"130400",name:"邯郸",districts:{130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130407:"肥乡区",130408:"永年区",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安"}},130500:{code:"130500",name:"邢台",districts:{130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫",130582:"沙河"}},130600:{code:"130600",name:"保定",districts:{130602:"竞秀区",130606:"莲池区",130607:"满城区",130608:"清苑区",130609:"徐水区",130623:"涞水县",130624:"阜平县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州",130682:"定州",130683:"安国",130684:"高碑店"}},130700:{code:"130700",name:"张家口",districts:{130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130708:"万全区",130709:"崇礼区",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县"}},130800:{code:"130800",name:"承德",districts:{130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130881:"平泉"}},130900:{code:"130900",name:"沧州",districts:{130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头",130982:"任丘",130983:"黄骅",130984:"河间"}},131e3:{code:"131000",name:"廊坊",districts:{131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州",131082:"三河"}},131100:{code:"131100",name:"衡水",districts:{131102:"桃城区",131103:"冀州区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131182:"深州"}}}},14e4:{code:"140000",name:"山西省",cities:{140100:{code:"140100",name:"太原",districts:{140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交"}},140200:{code:"140200",name:"大同",districts:{140212:"新荣区",140213:"平城区",140214:"云冈区",140215:"云州区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县"}},140300:{code:"140300",name:"阳泉",districts:{140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县"}},140400:{code:"140400",name:"长治",districts:{140403:"潞州区",140404:"上党区",140405:"屯留区",140406:"潞城区",140423:"襄垣县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县"}},140500:{code:"140500",name:"晋城",districts:{140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平"}},140600:{code:"140600",name:"朔州",districts:{140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140681:"怀仁"}},140700:{code:"140700",name:"晋中",districts:{140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休"}},140800:{code:"140800",name:"运城",districts:{140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济",140882:"河津"}},140900:{code:"140900",name:"忻州",districts:{140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平"}},141e3:{code:"141000",name:"临汾",districts:{141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马",141082:"霍州"}},141100:{code:"141100",name:"吕梁",districts:{141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义",141182:"汾阳"}}}},15e4:{code:"150000",name:"内蒙古自治区",cities:{150100:{code:"150100",name:"呼和浩特",districts:{150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县"}},150200:{code:"150200",name:"包头",districts:{150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗"}},150300:{code:"150300",name:"乌海",districts:{150302:"海勃湾区",150303:"海南区",150304:"乌达区"}},150400:{code:"150400",name:"赤峰",districts:{150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗"}},150500:{code:"150500",name:"通辽",districts:{150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒"}},150600:{code:"150600",name:"鄂尔多斯",districts:{150602:"东胜区",150603:"康巴什区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗"}},150700:{code:"150700",name:"呼伦贝尔",districts:{150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里",150782:"牙克石",150783:"扎兰屯",150784:"额尔古纳",150785:"根河"}},150800:{code:"150800",name:"巴彦淖尔",districts:{150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗"}},150900:{code:"150900",name:"乌兰察布",districts:{150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇"}},152200:{code:"152200",name:"兴安盟",districts:{152201:"乌兰浩特",152202:"阿尔山",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县"}},152500:{code:"152500",name:"锡林郭勒盟",districts:{152501:"二连浩特",152502:"锡林浩特",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县"}},152900:{code:"152900",name:"阿拉善盟",districts:{152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗"}}}},21e4:{code:"210000",name:"辽宁省",cities:{210100:{code:"210100",name:"沈阳",districts:{210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"浑南区",210113:"沈北新区",210114:"于洪区",210115:"辽中区",210123:"康平县",210124:"法库县",210181:"新民"}},210200:{code:"210200",name:"大连",districts:{210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210214:"普兰店区",210224:"长海县",210281:"瓦房店",210283:"庄河"}},210300:{code:"210300",name:"鞍山",districts:{210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城"}},210400:{code:"210400",name:"抚顺",districts:{210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县"}},210500:{code:"210500",name:"本溪",districts:{210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县"}},210600:{code:"210600",name:"丹东",districts:{210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港",210682:"凤城"}},210700:{code:"210700",name:"锦州",districts:{210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海",210782:"北镇"}},210800:{code:"210800",name:"营口",districts:{210802:"站前区",210803:"西区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州",210882:"大石桥"}},210900:{code:"210900",name:"阜新",districts:{210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县"}},211e3:{code:"211000",name:"辽阳",districts:{211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔"}},211100:{code:"211100",name:"盘锦",districts:{211102:"双台子区",211103:"兴隆台区",211104:"大洼区",211122:"盘山县"}},211200:{code:"211200",name:"铁岭",districts:{211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山",211282:"开原"}},211300:{code:"211300",name:"朝阳",districts:{211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票",211382:"凌源"}},211400:{code:"211400",name:"葫芦岛",districts:{211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城"}}}},22e4:{code:"220000",name:"吉林省",cities:{220100:{code:"220100",name:"长春",districts:{220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220113:"九台区",220122:"农安县",220182:"榆树",220183:"德惠"}},220200:{code:"220200",name:"吉林",districts:{220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河",220282:"桦甸",220283:"舒兰",220284:"磐石"}},220300:{code:"220300",name:"四平",districts:{220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭",220382:"双辽"}},220400:{code:"220400",name:"辽源",districts:{220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县"}},220500:{code:"220500",name:"通化",districts:{220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口",220582:"集安"}},220600:{code:"220600",name:"白山",districts:{220602:"浑江区",220605:"江源区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220681:"临江"}},220700:{code:"220700",name:"松原",districts:{220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220781:"扶余"}},220800:{code:"220800",name:"白城",districts:{220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南",220882:"大安"}},222400:{code:"222400",name:"延边朝鲜族自治州",districts:{222401:"延吉",222402:"图们",222403:"敦化",222404:"珲春",222405:"龙井",222406:"和龙",222424:"汪清县",222426:"安图县"}}}},23e4:{code:"230000",name:"黑龙江省",cities:{230100:{code:"230100",name:"哈尔滨",districts:{230102:"道里区",230103:"南岗区",230104:"道外区",230108:"平房区",230109:"松北区",230110:"香坊区",230111:"呼兰区",230112:"阿城区",230113:"双城区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230183:"尚志",230184:"五常"}},230200:{code:"230200",name:"齐齐哈尔",districts:{230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河"}},230300:{code:"230300",name:"鸡西",districts:{230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林",230382:"密山"}},230400:{code:"230400",name:"鹤岗",districts:{230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县"}},230500:{code:"230500",name:"双鸭山",districts:{230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县"}},230600:{code:"230600",name:"大庆",districts:{230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县"}},230700:{code:"230700",name:"伊春",districts:{230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力"}},230800:{code:"230800",name:"佳木斯",districts:{230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230881:"同江",230882:"富锦",230883:"抚远"}},230900:{code:"230900",name:"七台河",districts:{230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县"}},231e3:{code:"231000",name:"牡丹江",districts:{231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231025:"林口县",231081:"绥芬河",231083:"海林",231084:"宁安",231085:"穆棱",231086:"东宁"}},231100:{code:"231100",name:"黑河",districts:{231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安",231182:"五大连池"}},231200:{code:"231200",name:"绥化",districts:{231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达",231282:"肇东",231283:"海伦"}},232700:{code:"232700",name:"大兴安岭地区",districts:{232701:"漠河",232721:"呼玛县",232722:"塔河县"}}}},31e4:{code:"310000",name:"上海",cities:{31e4:{code:"310000",name:"上海",districts:{310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310151:"崇明区"}}}},32e4:{code:"320000",name:"江苏省",cities:{320100:{code:"320100",name:"南京",districts:{320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320117:"溧水区",320118:"高淳区"}},320200:{code:"320200",name:"无锡",districts:{320205:"锡山区",320206:"惠山区",320211:"滨湖区",320213:"梁溪区",320214:"新吴区",320281:"江阴",320282:"宜兴"}},320300:{code:"320300",name:"徐州",districts:{320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320312:"铜山区",320321:"丰县",320322:"沛县",320324:"睢宁县",320381:"新沂",320382:"邳州"}},320400:{code:"320400",name:"常州",districts:{320402:"天宁区",320404:"钟楼区",320411:"新北区",320412:"武进区",320413:"金坛区",320481:"溧阳"}},320500:{code:"320500",name:"苏州",districts:{320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320509:"吴江区",320581:"常熟",320582:"张家港",320583:"昆山",320585:"太仓"}},320600:{code:"320600",name:"南通",districts:{320602:"崇川区",320611:"港闸区",320612:"通州区",320623:"如东县",320681:"启东",320682:"如皋",320684:"海门",320685:"海安"}},320700:{code:"320700",name:"连云港",districts:{320703:"连云区",320706:"海州区",320707:"赣榆区",320722:"东海县",320723:"灌云县",320724:"灌南县"}},320800:{code:"320800",name:"淮安",districts:{320803:"淮安区",320804:"淮阴区",320812:"清江浦区",320813:"洪泽区",320826:"涟水县",320830:"盱眙县",320831:"金湖县"}},320900:{code:"320900",name:"盐城",districts:{320902:"亭湖区",320903:"盐都区",320904:"大丰区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台"}},321e3:{code:"321000",name:"扬州",districts:{321002:"广陵区",321003:"邗江区",321012:"江都区",321023:"宝应县",321081:"仪征",321084:"高邮"}},321100:{code:"321100",name:"镇江",districts:{321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳",321182:"扬中",321183:"句容"}},321200:{code:"321200",name:"泰州",districts:{321202:"海陵区",321203:"高港区",321204:"姜堰区",321281:"兴化",321282:"靖江",321283:"泰兴"}},321300:{code:"321300",name:"宿迁",districts:{321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县"}}}},33e4:{code:"330000",name:"浙江省",cities:{330100:{code:"330100",name:"杭州",districts:{330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330111:"富阳区",330112:"临安区",330122:"桐庐县",330127:"淳安县",330182:"建德"}},330200:{code:"330200",name:"宁波",districts:{330203:"海曙区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330213:"奉化区",330225:"象山县",330226:"宁海县",330281:"余姚",330282:"慈溪"}},330300:{code:"330300",name:"温州",districts:{330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330305:"洞头区",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安",330382:"乐清"}},330400:{code:"330400",name:"嘉兴",districts:{330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁",330482:"平湖",330483:"桐乡"}},330500:{code:"330500",name:"湖州",districts:{330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县"}},330600:{code:"330600",name:"绍兴",districts:{330602:"越城区",330603:"柯桥区",330604:"上虞区",330624:"新昌县",330681:"诸暨",330683:"嵊州"}},330700:{code:"330700",name:"金华",districts:{330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪",330782:"义乌",330783:"东阳",330784:"永康"}},330800:{code:"330800",name:"衢州",districts:{330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山"}},330900:{code:"330900",name:"舟山",districts:{330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县"}},331e3:{code:"331000",name:"台州",districts:{331002:"椒江区",331003:"黄岩区",331004:"路桥区",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭",331082:"临海",331083:"玉环"}},331100:{code:"331100",name:"丽水",districts:{331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉"}}}},34e4:{code:"340000",name:"安徽省",cities:{340100:{code:"340100",name:"合肥",districts:{340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340124:"庐江县",340181:"巢湖"}},340200:{code:"340200",name:"芜湖",districts:{340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340225:"无为县"}},340300:{code:"340300",name:"蚌埠",districts:{340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县"}},340400:{code:"340400",name:"淮南",districts:{340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"寿县"}},340500:{code:"340500",name:"马鞍山",districts:{340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"含山县",340523:"和县"}},340600:{code:"340600",name:"淮北",districts:{340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县"}},340700:{code:"340700",name:"铜陵",districts:{340705:"铜官区",340706:"义安区",340711:"郊区",340722:"枞阳县"}},340800:{code:"340800",name:"安庆",districts:{340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城",340882:"潜山"}},341e3:{code:"341000",name:"黄山",districts:{341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县"}},341100:{code:"341100",name:"滁州",districts:{341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长",341182:"明光"}},341200:{code:"341200",name:"阜阳",districts:{341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首"}},341300:{code:"341300",name:"宿州",districts:{341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县"}},341500:{code:"341500",name:"六安",districts:{341502:"金安区",341503:"裕安区",341504:"叶集区",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县"}},341600:{code:"341600",name:"亳州",districts:{341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县"}},341700:{code:"341700",name:"池州",districts:{341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县"}},341800:{code:"341800",name:"宣城",districts:{341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国"}}}},35e4:{code:"350000",name:"福建省",cities:{350100:{code:"350100",name:"福州",districts:{350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350112:"长乐区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清"}},350200:{code:"350200",name:"厦门",districts:{350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区"}},350300:{code:"350300",name:"莆田",districts:{350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县"}},350400:{code:"350400",name:"三明",districts:{350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安"}},350500:{code:"350500",name:"泉州",districts:{350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮",350582:"晋江",350583:"南安"}},350600:{code:"350600",name:"漳州",districts:{350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海"}},350700:{code:"350700",name:"南平",districts:{350702:"延平区",350703:"建阳区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武",350782:"武夷山",350783:"建瓯"}},350800:{code:"350800",name:"龙岩",districts:{350802:"新罗区",350803:"永定区",350821:"长汀县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平"}},350900:{code:"350900",name:"宁德",districts:{350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安",350982:"福鼎"}}}},36e4:{code:"360000",name:"江西省",cities:{360100:{code:"360100",name:"南昌",districts:{360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360112:"新建区",360121:"南昌县",360123:"安义县",360124:"进贤县"}},360200:{code:"360200",name:"景德镇",districts:{360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平"}},360300:{code:"360300",name:"萍乡",districts:{360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县"}},360400:{code:"360400",name:"九江",districts:{360402:"濂溪区",360403:"浔阳区",360404:"柴桑区",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌",360482:"共青城",360483:"庐山"}},360500:{code:"360500",name:"新余",districts:{360502:"渝水区",360521:"分宜县"}},360600:{code:"360600",name:"鹰潭",districts:{360602:"月湖区",360603:"余江区",360681:"贵溪"}},360700:{code:"360700",name:"赣州",districts:{360702:"章贡区",360703:"南康区",360704:"赣县区",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金"}},360800:{code:"360800",name:"吉安",districts:{360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山"}},360900:{code:"360900",name:"宜春",districts:{360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城",360982:"樟树",360983:"高安"}},361e3:{code:"361000",name:"抚州",districts:{361002:"临川区",361003:"东乡区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361030:"广昌县"}},361100:{code:"361100",name:"上饶",districts:{361102:"信州区",361103:"广丰区",361121:"上饶县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴"}}}},37e4:{code:"370000",name:"山东省",cities:{370100:{code:"370100",name:"济南",districts:{370102:"历下区",370103:"中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370114:"章丘区",370115:"济阳区",370116:"莱芜区",370117:"钢城区",370124:"平阴县",370126:"商河县"}},370200:{code:"370200",name:"青岛",districts:{370202:"南区",370203:"北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370215:"即墨区",370281:"胶州",370283:"平度",370285:"莱西"}},370300:{code:"370300",name:"淄博",districts:{370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县"}},370400:{code:"370400",name:"枣庄",districts:{370402:"中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州"}},370500:{code:"370500",name:"东营",districts:{370502:"东营区",370503:"河口区",370505:"垦利区",370522:"利津县",370523:"广饶县"}},370600:{code:"370600",name:"烟台",districts:{370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370614:"蓬莱区",370681:"龙口",370682:"莱阳",370683:"莱州",370684:"蓬莱",370685:"招远",370686:"栖霞",370687:"海阳"}},370700:{code:"370700",name:"潍坊",districts:{370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州",370782:"诸城",370783:"寿光",370784:"安丘",370785:"高密",370786:"昌邑"}},370800:{code:"370800",name:"济宁",districts:{370811:"任城区",370812:"兖州区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜",370883:"邹城"}},370900:{code:"370900",name:"泰安",districts:{370902:"泰山区",370911:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰",370983:"肥城"}},371e3:{code:"371000",name:"威海",districts:{371002:"环翠区",371003:"文登区",371082:"荣成",371083:"乳山"}},371100:{code:"371100",name:"日照",districts:{371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县"}},371300:{code:"371300",name:"临沂",districts:{371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"兰陵县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县"}},371400:{code:"371400",name:"德州",districts:{371402:"德城区",371403:"陵城区",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵",371482:"禹城"}},371500:{code:"371500",name:"聊城",districts:{371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清"}},371600:{code:"371600",name:"滨州",districts:{371602:"滨城区",371603:"沾化区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371625:"博兴县",371681:"邹平"}},371700:{code:"371700",name:"菏泽",districts:{371702:"牡丹区",371703:"定陶区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371728:"东明县"}}}},41e4:{code:"410000",name:"河南省",cities:{410100:{code:"410100",name:"郑州",districts:{410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义",410182:"荥阳",410183:"新密",410184:"新郑",410185:"登封"}},410200:{code:"410200",name:"开封",districts:{410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410212:"祥符区",410221:"杞县",410222:"通许县",410223:"尉氏县",410225:"兰考县"}},410300:{code:"410300",name:"洛阳",districts:{410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410311:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师"}},410400:{code:"410400",name:"平顶山",districts:{410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢",410482:"汝州"}},410500:{code:"410500",name:"安阳",districts:{410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州"}},410600:{code:"410600",name:"鹤壁",districts:{410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县"}},410700:{code:"410700",name:"新乡",districts:{410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉",410782:"辉县"}},410800:{code:"410800",name:"焦作",districts:{410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410882:"沁阳",410883:"孟州"}},410900:{code:"410900",name:"濮阳",districts:{410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县"}},411e3:{code:"411000",name:"许昌",districts:{411002:"魏都区",411003:"建安区",411024:"鄢陵县",411025:"襄城县",411081:"禹州",411082:"长葛"}},411100:{code:"411100",name:"漯河",districts:{411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县"}},411200:{code:"411200",name:"三门峡",districts:{411202:"湖滨区",411203:"陕州区",411221:"渑池县",411224:"卢氏县",411281:"义马",411282:"灵宝"}},411300:{code:"411300",name:"南阳",districts:{411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州"}},411400:{code:"411400",name:"商丘",districts:{411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城"}},411500:{code:"411500",name:"信阳",districts:{411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县"}},411600:{code:"411600",name:"周口",districts:{411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城"}},411700:{code:"411700",name:"驻马店",districts:{411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县"}}}},42e4:{code:"420000",name:"湖北省",cities:{420100:{code:"420100",name:"武汉",districts:{420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区"}},420200:{code:"420200",name:"黄石",districts:{420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶"}},420300:{code:"420300",name:"十堰",districts:{420302:"茅箭区",420303:"张湾区",420304:"郧阳区",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口"}},420500:{code:"420500",name:"宜昌",districts:{420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都",420582:"当阳",420583:"枝江"}},420600:{code:"420600",name:"襄阳",districts:{420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口",420683:"枣阳",420684:"宜城"}},420700:{code:"420700",name:"鄂州",districts:{420702:"梁子湖区",420703:"华容区",420704:"鄂城区"}},420800:{code:"420800",name:"荆门",districts:{420802:"东宝区",420804:"掇刀区",420822:"沙洋县",420881:"钟祥",420882:"京山"}},420900:{code:"420900",name:"孝感",districts:{420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城",420982:"安陆",420984:"汉川"}},421e3:{code:"421000",name:"荆州",districts:{421002:"沙区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首",421083:"洪湖",421087:"松滋"}},421100:{code:"421100",name:"黄冈",districts:{421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城",421182:"武穴"}},421200:{code:"421200",name:"咸宁",districts:{421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁"}},421300:{code:"421300",name:"随州",districts:{421303:"曾都区",421321:"随县",421381:"广水"}},422800:{code:"422800",name:"恩施土家族苗族自治州",districts:{422801:"恩施",422802:"利川",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县"}}}},43e4:{code:"430000",name:"湖南省",cities:{430100:{code:"430100",name:"长沙",districts:{430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430112:"望城区",430121:"长沙县",430181:"浏阳",430182:"宁乡"}},430200:{code:"430200",name:"株洲",districts:{430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430212:"渌口区",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵"}},430300:{code:"430300",name:"湘潭",districts:{430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡",430382:"韶山"}},430400:{code:"430400",name:"衡阳",districts:{430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳",430482:"常宁"}},430500:{code:"430500",name:"邵阳",districts:{430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈"}},430600:{code:"430600",name:"岳阳",districts:{430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗",430682:"临湘"}},430700:{code:"430700",name:"常德",districts:{430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津"}},430800:{code:"430800",name:"张家界",districts:{430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县"}},430900:{code:"430900",name:"益阳",districts:{430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江"}},431e3:{code:"431000",name:"郴州",districts:{431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴"}},431100:{code:"431100",name:"永州",districts:{431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县"}},431200:{code:"431200",name:"怀化",districts:{431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江"}},431300:{code:"431300",name:"娄底",districts:{431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江",431382:"涟源"}},433100:{code:"433100",name:"湘西土家族苗族自治州",districts:{433101:"吉首",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县"}}}},44e4:{code:"440000",name:"广东省",cities:{440100:{code:"440100",name:"广州",districts:{440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440117:"从化区",440118:"增城区"}},440200:{code:"440200",name:"韶关",districts:{440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌",440282:"南雄"}},440300:{code:"440300",name:"深圳",districts:{440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"龙华区",440310:"坪山区",440311:"光明区"}},440400:{code:"440400",name:"珠海",districts:{440402:"香洲区",440403:"斗门区",440404:"金湾区"}},440500:{code:"440500",name:"汕头",districts:{440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县"}},440600:{code:"440600",name:"佛山",districts:{440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区"}},440700:{code:"440700",name:"江门",districts:{440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山",440783:"开平",440784:"鹤山",440785:"恩平"}},440800:{code:"440800",name:"湛江",districts:{440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江",440882:"雷州",440883:"吴川"}},440900:{code:"440900",name:"茂名",districts:{440902:"茂南区",440904:"电白区",440981:"高州",440982:"化州",440983:"信宜"}},441200:{code:"441200",name:"肇庆",districts:{441202:"端州区",441203:"鼎湖区",441204:"高要区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441284:"四会"}},441300:{code:"441300",name:"惠州",districts:{441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县"}},441400:{code:"441400",name:"梅州",districts:{441402:"梅江区",441403:"梅县区",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁"}},441500:{code:"441500",name:"汕尾",districts:{441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰"}},441600:{code:"441600",name:"河源",districts:{441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县"}},441700:{code:"441700",name:"阳江",districts:{441702:"江城区",441704:"阳东区",441721:"阳西县",441781:"阳春"}},441800:{code:"441800",name:"清远",districts:{441802:"清城区",441803:"清新区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441881:"英德",441882:"连州"}},441900:{code:"441900",name:"东莞",districts:{}},442e3:{code:"442000",name:"中山",districts:{}},445100:{code:"445100",name:"潮州",districts:{445102:"湘桥区",445103:"潮安区",445122:"饶平县"}},445200:{code:"445200",name:"揭阳",districts:{445202:"榕城区",445203:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁"}},445300:{code:"445300",name:"云浮",districts:{445302:"云城区",445303:"云安区",445321:"新兴县",445322:"郁南县",445381:"罗定"}}}},45e4:{code:"450000",name:"广西壮族自治区",cities:{450100:{code:"450100",name:"南宁",districts:{450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450110:"武鸣区",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县"}},450200:{code:"450200",name:"柳州",districts:{450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450206:"柳江区",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县"}},450300:{code:"450300",name:"桂林",districts:{450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450312:"临桂区",450321:"阳朔县",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450332:"恭城瑶族自治县",450381:"荔浦"}},450400:{code:"450400",name:"梧州",districts:{450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪"}},450500:{code:"450500",name:"北海",districts:{450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县"}},450600:{code:"450600",name:"防城港",districts:{450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴"}},450700:{code:"450700",name:"钦州",districts:{450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县"}},450800:{code:"450800",name:"贵港",districts:{450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平"}},450900:{code:"450900",name:"玉林",districts:{450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流"}},451e3:{code:"451000",name:"百色",districts:{451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451081:"靖西"}},451100:{code:"451100",name:"贺州",districts:{451102:"八步区",451103:"平桂区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县"}},451200:{code:"451200",name:"河池",districts:{451202:"金城江区",451203:"宜州区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县"}},451300:{code:"451300",name:"来宾",districts:{451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山"}},451400:{code:"451400",name:"崇左",districts:{451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥"}}}},46e4:{code:"460000",name:"海南省",cities:{460100:{code:"460100",name:"海口",districts:{460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区"}},460200:{code:"460200",name:"三亚",districts:{460202:"海棠区",460203:"吉阳区",460204:"天涯区",460205:"崖州区"}},460300:{code:"460300",name:"三沙",districts:{460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",460324:"永乐群岛"}},460400:{code:"460400",name:"儋州",districts:{}}}},5e5:{code:"500000",name:"重庆",cities:{5e5:{code:"500000",name:"重庆",districts:{500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"綦江区",500111:"大足区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500116:"江津区",500117:"合川区",500118:"永川区",500119:"南川区",500120:"璧山区",500151:"铜梁区",500152:"潼南区",500153:"荣昌区",500154:"开州区",500155:"梁平区",500156:"武隆区",500229:"城口县",500230:"丰都县",500231:"垫江县",500233:"忠县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县"}}}},51e4:{code:"510000",name:"四川省",cities:{510100:{code:"510100",name:"成都",districts:{510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510116:"双流区",510117:"郫都区",510121:"金堂县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰",510182:"彭州",510183:"邛崃",510184:"崇州",510185:"简阳"}},510300:{code:"510300",name:"自贡",districts:{510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县"}},510400:{code:"510400",name:"攀枝花",districts:{510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县"}},510500:{code:"510500",name:"泸州",districts:{510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县"}},510600:{code:"510600",name:"德阳",districts:{510603:"旌阳区",510604:"罗江区",510623:"中江县",510681:"广汉",510682:"什邡",510683:"绵竹"}},510700:{code:"510700",name:"绵阳",districts:{510703:"涪城区",510704:"游仙区",510705:"安州区",510722:"三台县",510723:"盐亭县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油"}},510800:{code:"510800",name:"广元",districts:{510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县"}},510900:{code:"510900",name:"遂宁",districts:{510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县"}},511e3:{code:"511000",name:"内江",districts:{511002:"中区",511011:"东兴区",511024:"威远县",511025:"资中县",511083:"隆昌"}},511100:{code:"511100",name:"乐山",districts:{511102:"中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山"}},511300:{code:"511300",name:"南充",districts:{511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中"}},511400:{code:"511400",name:"眉山",districts:{511402:"东坡区",511403:"彭山区",511421:"仁寿县",511423:"洪雅县",511424:"丹棱县",511425:"青神县"}},511500:{code:"511500",name:"宜宾",districts:{511502:"翠屏区",511503:"南溪区",511504:"叙州区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县"}},511600:{code:"511600",name:"广安",districts:{511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥"}},511700:{code:"511700",name:"达州",districts:{511702:"通川区",511703:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源"}},511800:{code:"511800",name:"雅安",districts:{511802:"雨城区",511803:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县"}},511900:{code:"511900",name:"巴中",districts:{511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县"}},512e3:{code:"512000",name:"资阳",districts:{512002:"雁江区",512021:"安岳县",512022:"乐至县"}},513200:{code:"513200",name:"阿坝藏族羌族自治州",districts:{513201:"马尔康",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县"}},513300:{code:"513300",name:"甘孜藏族自治州",districts:{513301:"康定",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县"}},513400:{code:"513400",name:"凉山彝族自治州",districts:{513401:"西昌",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县"}}}},52e4:{code:"520000",name:"贵州省",cities:{520100:{code:"520100",name:"贵阳",districts:{520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520115:"观山湖区",520121:"开阳县",520122:"息烽县",520123:"修文县",520181:"清镇"}},520200:{code:"520200",name:"六盘水",districts:{520201:"钟山区",520203:"六枝特区",520221:"水城县",520281:"盘州"}},520300:{code:"520300",name:"遵义",districts:{520302:"红花岗区",520303:"汇川区",520304:"播州区",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水",520382:"仁怀"}},520400:{code:"520400",name:"安顺",districts:{520402:"西秀区",520403:"平坝区",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县"}},520500:{code:"520500",name:"毕节",districts:{520502:"七星关区",520521:"大方县",520522:"黔西县",520523:"金沙县",520524:"织金县",520525:"纳雍县",520526:"威宁彝族回族苗族自治县",520527:"赫章县"}},520600:{code:"520600",name:"铜仁",districts:{520602:"碧江区",520603:"万山区",520621:"江口县",520622:"玉屏侗族自治县",520623:"石阡县",520624:"思南县",520625:"印江土家族苗族自治县",520626:"德江县",520627:"沿河土家族自治县",520628:"松桃苗族自治县"}},522300:{code:"522300",name:"黔西南布依族苗族自治州",districts:{522301:"兴义",522302:"兴仁",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县"}},522600:{code:"522600",name:"黔东南苗族侗族自治州",districts:{522601:"凯里",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县"}},522700:{code:"522700",name:"黔南布依族苗族自治州",districts:{522701:"都匀",522702:"福泉",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县"}}}},53e4:{code:"530000",name:"云南省",cities:{530100:{code:"530100",name:"昆明",districts:{530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530114:"呈贡区",530115:"晋宁区",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁"}},530300:{code:"530300",name:"曲靖",districts:{530302:"麒麟区",530303:"沾益区",530304:"马龙区",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530381:"宣威"}},530400:{code:"530400",name:"玉溪",districts:{530402:"红塔区",530403:"江川区",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县"}},530500:{code:"530500",name:"保山",districts:{530502:"隆阳区",530521:"施甸县",530523:"龙陵县",530524:"昌宁县",530581:"腾冲"}},530600:{code:"530600",name:"昭通",districts:{530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530681:"水富"}},530700:{code:"530700",name:"丽江",districts:{530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县"}},530800:{code:"530800",name:"普洱",districts:{530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县"}},530900:{code:"530900",name:"临沧",districts:{530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县"}},532300:{code:"532300",name:"楚雄彝族自治州",districts:{532301:"楚雄",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县"}},532500:{code:"532500",name:"红河哈尼族彝族自治州",districts:{532501:"个旧",532502:"开远",532503:"蒙自",532504:"弥勒",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县"}},532600:{code:"532600",name:"文山壮族苗族自治州",districts:{532601:"文山",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县"}},532800:{code:"532800",name:"西双版纳傣族自治州",districts:{532801:"景洪",532822:"勐海县",532823:"勐腊县"}},532900:{code:"532900",name:"大理白族自治州",districts:{532901:"大理",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县"}},533100:{code:"533100",name:"德宏傣族景颇族自治州",districts:{533102:"瑞丽",533103:"芒",533122:"梁河县",533123:"盈江县",533124:"陇川县"}},533300:{code:"533300",name:"怒江傈僳族自治州",districts:{533301:"泸水",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县"}},533400:{code:"533400",name:"迪庆藏族自治州",districts:{533401:"香格里拉",533422:"德钦县",533423:"维西傈僳族自治县"}}}},54e4:{code:"540000",name:"西藏自治区",cities:{540100:{code:"540100",name:"拉萨",districts:{540102:"城关区",540103:"堆龙德庆区",540104:"达孜区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540127:"墨竹工卡县"}},540200:{code:"540200",name:"日喀则",districts:{540202:"桑珠孜区",540221:"南木林县",540222:"江孜县",540223:"定日县",540224:"萨迦县",540225:"拉孜县",540226:"昂仁县",540227:"谢通门县",540228:"白朗县",540229:"仁布县",540230:"康马县",540231:"定结县",540232:"仲巴县",540233:"亚东县",540234:"吉隆县",540235:"聂拉木县",540236:"萨嘎县",540237:"岗巴县"}},540300:{code:"540300",name:"昌都",districts:{540302:"卡若区",540321:"江达县",540322:"贡觉县",540323:"类乌齐县",540324:"丁青县",540325:"察雅县",540326:"八宿县",540327:"左贡县",540328:"芒康县",540329:"洛隆县",540330:"边坝县"}},540400:{code:"540400",name:"林芝",districts:{540402:"巴宜区",540421:"工布江达县",540422:"米林县",540423:"墨脱县",540424:"波密县",540425:"察隅县",540426:"朗县"}},540500:{code:"540500",name:"山南",districts:{540502:"乃东区",540521:"扎囊县",540522:"贡嘎县",540523:"桑日县",540524:"琼结县",540525:"曲松县",540526:"措美县",540527:"洛扎县",540528:"加查县",540529:"隆子县",540530:"错那县",540531:"浪卡子县"}},540600:{code:"540600",name:"那曲",districts:{540602:"色尼区",540621:"嘉黎县",540622:"比如县",540623:"聂荣县",540624:"安多县",540625:"申扎县",540626:"索县",540627:"班戈县",540628:"巴青县",540629:"尼玛县",540630:"双湖县"}},542500:{code:"542500",name:"阿里地区",districts:{542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县"}}}},61e4:{code:"610000",name:"陕西省",cities:{610100:{code:"610100",name:"西安",districts:{610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610117:"高陵区",610118:"鄠邑区",610122:"蓝田县",610124:"周至县"}},610200:{code:"610200",name:"铜川",districts:{610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县"}},610300:{code:"610300",name:"宝鸡",districts:{610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县"}},610400:{code:"610400",name:"咸阳",districts:{610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平",610482:"彬州"}},610500:{code:"610500",name:"渭南",districts:{610502:"临渭区",610503:"华州区",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城",610582:"华阴"}},610600:{code:"610600",name:"延安",districts:{610602:"宝塔区",610603:"安塞区",610621:"延长县",610622:"延川县",610623:"子长县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县"}},610700:{code:"610700",name:"汉中",districts:{610702:"汉台区",610703:"南郑区",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县"}},610800:{code:"610800",name:"榆林",districts:{610802:"榆阳区",610803:"横山区",610822:"府谷县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610881:"神木"}},610900:{code:"610900",name:"安康",districts:{610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县"}},611e3:{code:"611000",name:"商洛",districts:{611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县"}}}},62e4:{code:"620000",name:"甘肃省",cities:{620100:{code:"620100",name:"兰州",districts:{620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县"}},620200:{code:"620200",name:"嘉峪关",districts:{}},620300:{code:"620300",name:"金昌",districts:{620302:"金川区",620321:"永昌县"}},620400:{code:"620400",name:"白银",districts:{620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县"}},620500:{code:"620500",name:"天水",districts:{620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县"}},620600:{code:"620600",name:"武威",districts:{620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县"}},620700:{code:"620700",name:"张掖",districts:{620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县"}},620800:{code:"620800",name:"平凉",districts:{620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620825:"庄浪县",620826:"静宁县",620881:"华亭"}},620900:{code:"620900",name:"酒泉",districts:{620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门",620982:"敦煌"}},621e3:{code:"621000",name:"庆阳",districts:{621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县"}},621100:{code:"621100",name:"定西",districts:{621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县"}},621200:{code:"621200",name:"陇南",districts:{621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县"}},622900:{code:"622900",name:"临夏回族自治州",districts:{622901:"临夏",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县"}},623e3:{code:"623000",name:"甘南藏族自治州",districts:{623001:"合作",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县"}}}},63e4:{code:"630000",name:"青海省",cities:{630100:{code:"630100",name:"西宁",districts:{630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县"}},630200:{code:"630200",name:"海东",districts:{630202:"乐都区",630203:"平安区",630222:"民和回族土族自治县",630223:"互助土族自治县",630224:"化隆回族自治县",630225:"循化撒拉族自治县"}},632200:{code:"632200",name:"海北藏族自治州",districts:{632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县"}},632300:{code:"632300",name:"黄南藏族自治州",districts:{632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县"}},632500:{code:"632500",name:"海南藏族自治州",districts:{632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县"}},632600:{code:"632600",name:"果洛藏族自治州",districts:{632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县"}},632700:{code:"632700",name:"玉树藏族自治州",districts:{632701:"玉树",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县"}},632800:{code:"632800",name:"海西蒙古族藏族自治州",districts:{632801:"格尔木",632802:"德令哈",632803:"茫崖",632821:"乌兰县",632822:"都兰县",632823:"天峻县"}}}},64e4:{code:"640000",name:"宁夏回族自治区",cities:{640100:{code:"640100",name:"银川",districts:{640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武"}},640200:{code:"640200",name:"石嘴山",districts:{640202:"大武口区",640205:"惠农区",640221:"平罗县"}},640300:{code:"640300",name:"吴忠",districts:{640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡"}},640400:{code:"640400",name:"固原",districts:{640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县"}},640500:{code:"640500",name:"中卫",districts:{640502:"沙坡头区",640521:"中宁县",640522:"海原县"}}}},65e4:{code:"650000",name:"新疆维吾尔自治区",cities:{650100:{code:"650100",name:"乌鲁木齐",districts:{650102:"天山区",650103:"沙依巴克区",650104:"新区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县"}},650200:{code:"650200",name:"克拉玛依",districts:{650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区"}},650400:{code:"650400",name:"吐鲁番",districts:{650402:"高昌区",650421:"鄯善县",650422:"托克逊县"}},650500:{code:"650500",name:"哈密",districts:{650502:"伊州区",650521:"巴里坤哈萨克自治县",650522:"伊吾县"}},652300:{code:"652300",name:"昌吉回族自治州",districts:{652301:"昌吉",652302:"阜康",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县"}},652700:{code:"652700",name:"博尔塔拉蒙古自治州",districts:{652701:"博乐",652702:"阿拉山口",652722:"精河县",652723:"温泉县"}},652800:{code:"652800",name:"巴音郭楞蒙古自治州",districts:{652801:"库尔勒",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县"}},652900:{code:"652900",name:"阿克苏地区",districts:{652901:"阿克苏",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县"}},653e3:{code:"653000",name:"克孜勒苏柯尔克孜自治州",districts:{653001:"阿图什",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县"}},653100:{code:"653100",name:"喀什地区",districts:{653101:"喀什",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县"}},653200:{code:"653200",name:"和田地区",districts:{653201:"和田",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县"}},654e3:{code:"654000",name:"伊犁哈萨克自治州",districts:{654002:"伊宁",654003:"奎屯",654004:"霍尔果斯",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县"}},654200:{code:"654200",name:"塔城地区",districts:{654201:"塔城",654202:"乌苏",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县"}},654300:{code:"654300",name:"阿勒泰地区",districts:{654301:"阿勒泰",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县"}}}},81e4:{code:"810000",name:"香港特别行政区",cities:{81e4:{code:"810000",name:"香港特别行政区",districts:{810101:"中西区",810102:"湾仔区",810103:"东区",810104:"南区",810105:"油尖旺区",810106:"深水埗区",810107:"九龙城区",810108:"黄大仙区",810109:"观塘区",810110:"北区",810111:"大埔区",810112:"沙田区",810113:"西贡区",810114:"荃湾区",810115:"屯门区",810116:"元朗区",810117:"葵青区",810118:"离岛区"}}}},82e4:{code:"820000",name:"澳门特别行政区",cities:{82e4:{code:"820000",name:"澳门特别行政区",districts:{820101:"花地玛堂区",820102:"圣安多尼堂区",820103:"大堂区",820104:"望德堂区",820105:"风顺堂区",820106:"嘉模堂区",820107:"圣方济各堂区",820108:"路氹城",820109:"澳门新城"}}}},83e4:{code:"830000",name:"台湾省",cities:{830100:{code:"830100",name:"台北",districts:{830101:"中正区",830102:"大同区",830103:"中山区",830104:"万华区",830105:"信义区",830106:"松山区",830107:"大安区",830108:"南港区",830109:"北投区",830110:"内湖区",830111:"士林区",830112:"文山区"}},830200:{code:"830200",name:"新北",districts:{830201:"板桥区",830202:"土城区",830203:"新庄区",830204:"新店区",830205:"深坑区",830206:"石碇区",830207:"坪林区",830208:"乌来区",830209:"五股区",830210:"八里区",830211:"林口区",830212:"淡水区",830213:"中和区",830214:"永和区",830215:"三重区",830216:"芦洲区",830217:"泰山区",830218:"树林区",830219:"莺歌区",830220:"三峡区",830221:"汐止区",830222:"金山区",830223:"万里区",830224:"三芝区",830225:"石门区",830226:"瑞芳区",830227:"贡寮区",830228:"双溪区",830229:"平溪区"}},830300:{code:"830300",name:"桃园",districts:{830301:"桃园区",830302:"中坜区",830303:"平镇区",830304:"八德区",830305:"杨梅区",830306:"芦竹区",830307:"大溪区",830308:"龙潭区",830309:"龟山区",830310:"大园区",830311:"观音区",830312:"新屋区",830313:"复兴区"}},830400:{code:"830400",name:"台中",districts:{830401:"中区",830402:"东区",830403:"西区",830404:"南区",830405:"北区",830406:"西屯区",830407:"南屯区",830408:"北屯区",830409:"丰原区",830410:"大里区",830411:"太平区",830412:"东势区",830413:"大甲区",830414:"清水区",830415:"沙鹿区",830416:"梧栖区",830417:"后里区",830418:"神冈区",830419:"潭子区",830420:"大雅区",830421:"新小区",830422:"石冈区",830423:"外埔区",830424:"大安区",830425:"乌日区",830426:"大肚区",830427:"龙井区",830428:"雾峰区",830429:"和平区"}},830500:{code:"830500",name:"台南",districts:{830501:"中西区",830502:"东区",830503:"南区",830504:"北区",830505:"安平区",830506:"安南区",830507:"永康区",830508:"归仁区",830509:"新化区",830510:"左镇区",830511:"玉井区",830512:"楠西区",830513:"南化区",830514:"仁德区",830515:"关庙区",830516:"龙崎区",830517:"官田区",830518:"麻豆区",830519:"佳里区",830520:"西港区",830521:"七股区",830522:"将军区",830523:"学甲区",830524:"北门区",830525:"新营区",830526:"后壁区",830527:"白河区",830528:"东山区",830529:"六甲区",830530:"下营区",830531:"柳营区",830532:"盐水区",830533:"善化区",830534:"大内区",830535:"山上区",830536:"新区",830537:"安定区"}},830600:{code:"830600",name:"高雄",districts:{830601:"楠梓区",830602:"左营区",830603:"鼓山区",830604:"三民区",830605:"盐埕区",830606:"前金区",830607:"新兴区",830608:"苓雅区",830609:"前镇区",830610:"旗津区",830611:"小港区",830612:"凤山区",830613:"大寮区",830614:"鸟松区",830615:"林园区",830616:"仁武区",830617:"大树区",830618:"大社区",830619:"冈山区",830620:"路竹区",830621:"桥头区",830622:"梓官区",830623:"弥陀区",830624:"永安区",830625:"燕巢区",830626:"阿莲区",830627:"茄萣区",830628:"湖内区",830629:"旗山区",830630:"美浓区",830631:"内门区",830632:"杉林区",830633:"甲仙区",830634:"六龟区",830635:"茂林区",830636:"桃源区",830637:"那玛夏区"}},830700:{code:"830700",name:"基隆",districts:{830701:"中正区",830702:"七堵区",830703:"暖暖区",830704:"仁爱区",830705:"中山区",830706:"安乐区",830707:"信义区"}},830800:{code:"830800",name:"新竹",districts:{830801:"东区",830802:"北区",830803:"香山区"}},830900:{code:"830900",name:"嘉义",districts:{830901:"东区",830902:"西区"}}}}},d=new Map,s=t.city2province=new Map,a=new Map;for(var n in i){var r=i[n].name;for(var m in d.set(r,new Set),i[n].cities){var o=i[n].cities[m].name,l=i[n].cities[m].districts;d.get(r).add(o),s.set(o,r),a.set(u(l),new Set)}}function u(e){var t=[];for(var c in e)t.push(e[c]);return t}t.locData=Array.from(d.keys()).map((function(e){return{value:e,label:e,children:Array.from(d.get(e).keys()).map((function(e,t){return{value:e,label:e,children:Array.from(a.keys())[t].map((function(e){return{value:e,label:e}}))}}))}}))}}]); \ No newline at end of file diff --git a/static/js/91.261c7af4.chunk.js b/static/js/92.45cab7b7.chunk.js similarity index 98% rename from static/js/91.261c7af4.chunk.js rename to static/js/92.45cab7b7.chunk.js index 2d75cc729..f25c1f580 100644 --- a/static/js/91.261c7af4.chunk.js +++ b/static/js/92.45cab7b7.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[91,143],{"7Xl7":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var o=t("87dK"),i=("undefined"==typeof monaco?self.monaco:monaco,o.conf),r={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.language.operators,symbols:o.language.symbols,escapes:o.language.escapes,digits:o.language.digits,octaldigits:o.language.octaldigits,binarydigits:o.language.binarydigits,hexdigits:o.language.hexdigits,regexpctl:o.language.regexpctl,regexpesc:o.language.regexpesc,tokenizer:o.language.tokenizer}},"87dK":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var o="undefined"==typeof monaco?self.monaco:monaco,i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},r={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[92,144],{"7Xl7":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var o=t("87dK"),i=("undefined"==typeof monaco?self.monaco:monaco,o.conf),r={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:o.language.operators,symbols:o.language.symbols,escapes:o.language.escapes,digits:o.language.digits,octaldigits:o.language.octaldigits,binarydigits:o.language.binarydigits,hexdigits:o.language.hexdigits,regexpctl:o.language.regexpctl,regexpesc:o.language.regexpesc,tokenizer:o.language.tokenizer}},"87dK":function(e,n,t){"use strict";t.r(n),t.d(n,"conf",(function(){return i})),t.d(n,"language",(function(){return r}));var o="undefined"==typeof monaco?self.monaco:monaco,i={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:o.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:o.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:o.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:o.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},r={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","as","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","package","private","protected","public","readonly","require","global","return","set","static","super","switch","symbol","this","throw","true","try","type","typeof","unique","var","void","while","with","yield","async","await","of"],typeKeywords:["any","boolean","number","object","string","undefined"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"keyword","@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"common"}]}}}}]); \ No newline at end of file diff --git a/static/js/92.c90fa313.chunk.js b/static/js/93.67ecadcf.chunk.js similarity index 99% rename from static/js/92.c90fa313.chunk.js rename to static/js/93.67ecadcf.chunk.js index 75be6fa14..7d4dd3ff3 100644 --- a/static/js/92.c90fa313.chunk.js +++ b/static/js/93.67ecadcf.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[92],{"20/g":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return Lo}));var i,r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}();!function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(i||(i={}));var o=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),s="a".charCodeAt(0),a="f".charCodeAt(0),l="z".charCodeAt(0),c="A".charCodeAt(0),d="F".charCodeAt(0),p="Z".charCodeAt(0),h="0".charCodeAt(0),m="9".charCodeAt(0),u="~".charCodeAt(0),f="^".charCodeAt(0),g="=".charCodeAt(0),b="|".charCodeAt(0),y="-".charCodeAt(0),v="_".charCodeAt(0),w="%".charCodeAt(0),x="*".charCodeAt(0),S="(".charCodeAt(0),k=")".charCodeAt(0),C="<".charCodeAt(0),F=">".charCodeAt(0),z="@".charCodeAt(0),D="#".charCodeAt(0),T="$".charCodeAt(0),R="\\".charCodeAt(0),E="/".charCodeAt(0),I="\n".charCodeAt(0),M="\r".charCodeAt(0),N="\f".charCodeAt(0),P='"'.charCodeAt(0),_="'".charCodeAt(0),A=" ".charCodeAt(0),W="\t".charCodeAt(0),O=";".charCodeAt(0),L=":".charCodeAt(0),U="{".charCodeAt(0),j="}".charCodeAt(0),V="[".charCodeAt(0),B="]".charCodeAt(0),$=",".charCodeAt(0),q=".".charCodeAt(0),K="!".charCodeAt(0),G={};G[O]=i.SemiColon,G[L]=i.Colon,G[U]=i.CurlyL,G[j]=i.CurlyR,G[B]=i.BracketR,G[V]=i.BracketL,G[S]=i.ParenthesisL,G[k]=i.ParenthesisR,G[$]=i.Comma;var J={};J.em=i.EMS,J.ex=i.EXS,J.px=i.Length,J.cm=i.Length,J.mm=i.Length,J.in=i.Length,J.pt=i.Length,J.pc=i.Length,J.deg=i.Angle,J.rad=i.Angle,J.grad=i.Angle,J.ms=i.Time,J.s=i.Time,J.hz=i.Freq,J.khz=i.Freq,J["%"]=i.Percentage,J.fr=i.Percentage,J.dpi=i.Resolution,J.dpcm=i.Resolution;var H,Y,X,Z=function(){function e(){this.stream=new o(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new o(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,i.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,i.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([C,K,y,y]))return this.finishToken(e,i.CDO);if(this.stream.advanceIfChars([y,y,F]))return this.finishToken(e,i.CDC);var t=[];if(this.ident(t))return this.finishToken(e,i.Ident,t.join(""));if(this.stream.advanceIfChar(z)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,i.Charset,n):this.finishToken(e,i.AtKeyword,n)}return this.finishToken(e,i.Delim)}if(this.stream.advanceIfChar(D))return t=["#"],this._name(t)?this.finishToken(e,i.Hash,t.join("")):this.finishToken(e,i.Delim);if(this.stream.advanceIfChar(K))return this.finishToken(e,i.Exclamation);if(this._number()){var r=this.stream.pos();if(t=[this.stream.substring(e,r)],this.stream.advanceIfChar(w))return this.finishToken(e,i.Percentage);if(this.ident(t)){var o=this.stream.substring(r).toLowerCase(),s=J[o];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,i.Dimension,t.join(""))}return this.finishToken(e,i.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=G[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Includes)):this.stream.peekChar(0)===b&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Dashmatch)):this.stream.peekChar(0)===x&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SubstringOperator)):this.stream.peekChar(0)===f&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.PrefixOperator)):this.stream.peekChar(0)===T&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,i.Delim))},e.prototype._matchWordAnyCase=function(e){var t=0;return this.stream.advanceWhileChar((function(n){var i=e[t]===n||e[t+1]===n;return i&&(t+=2),i})),t===e.length||(this.stream.goBack(t/2),!1)},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,i.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,i.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([E,x])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===E?(e=!0,!1):(t=n===x,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===q&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=m&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=m||0===t&&e===q})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case M:case N:case I:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===M&&this.stream.advanceIfChar(I)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===R){this.stream.advance(1),n=this.stream.peekChar();for(var i=0;i<6&&(n>=h&&n<=m||n>=s&&n<=a||n>=c&&n<=d);)this.stream.advance(1),n=this.stream.peekChar(),i++;if(i>0){try{var r=parseInt(this.stream.substring(this.stream.pos()-i),16);r&&e.push(String.fromCharCode(r))}catch(e){}return n===A||n===W?this.stream.advance(1):this._newline([]),!0}if(n!==M&&n!==N&&n!==I)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==R&&n!==M&&n!==N&&n!==I&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===_||this.stream.peekChar()===P){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),i.String):i.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==R&&t!==_&&t!==P&&t!==S&&t!==k&&t!==A&&t!==W&&t!==I&&t!==N&&t!==M&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===A||e===W||e===I||e===N||e===M}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===v||t>=s&&t<=l||t>=c&&t<=p||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===y&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===v||t===y||t>=s&&t<=l||t>=c&&t<=p||t>=h&&t<=m||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}(),Q=(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 ee(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function te(e,t){for(var n=ee(e,t),i=[];n;)i.unshift(n),n=n.parent;return i}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContent=48]="MixinContent",e[e.Media=49]="Media",e[e.Keyframe=50]="Keyframe",e[e.FontFace=51]="FontFace",e[e.Import=52]="Import",e[e.Namespace=53]="Namespace",e[e.Invocation=54]="Invocation",e[e.FunctionDeclaration=55]="FunctionDeclaration",e[e.ReturnStatement=56]="ReturnStatement",e[e.MediaQuery=57]="MediaQuery",e[e.FunctionParameter=58]="FunctionParameter",e[e.FunctionArgument=59]="FunctionArgument",e[e.KeyframeSelector=60]="KeyframeSelector",e[e.ViewPort=61]="ViewPort",e[e.Document=62]="Document",e[e.AtApplyRule=63]="AtApplyRule",e[e.CustomPropertyDeclaration=64]="CustomPropertyDeclaration",e[e.CustomPropertySet=65]="CustomPropertySet",e[e.ListEntry=66]="ListEntry",e[e.Supports=67]="Supports",e[e.SupportsCondition=68]="SupportsCondition",e[e.NamespacePrefix=69]="NamespacePrefix",e[e.GridLine=70]="GridLine",e[e.Plugin=71]="Plugin",e[e.UnknownAtRule=72]="UnknownAtRule",e[e.Use=73]="Use",e[e.ModuleConfiguration=74]="ModuleConfiguration",e[e.Forward=75]="Forward",e[e.ForwardVisibility=76]="ForwardVisibility",e[e.Module=77]="Module"}(Y||(Y={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(X||(X={}));var ne,ie=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||Y.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),-1!==t?i.splice(t,0,e):i.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof re;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),re=function(e){function t(t,n){void 0===n&&(n=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(t,n),i.offset=-1,i.length=-1,i}return Q(t,e),t}(ie),oe=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.isCustomProperty=!1,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(ie),se=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Stylesheet},enumerable:!0,configurable:!0}),t}(ie),ae=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declarations},enumerable:!0,configurable:!0}),t}(ie),le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(ie),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new re(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(Y.Declarations)},t}(le),de=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Selector},enumerable:!0,configurable:!0}),t}(ie),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SimpleSelector},enumerable:!0,configurable:!0}),t}(ie),he=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(ie),me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t}(ie),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(me),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertySet},enumerable:!0,configurable:!0}),t}(le),ge=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.property=null,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ae&&this.parent.getParent()instanceof Re){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(me),be=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.getText()},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(ie),ye=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new re(this)),this.arguments},t}(ie)),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(ie),we=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(ie),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(le),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(le),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new re(this)),this.variables},t}(le),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.While},enumerable:!0,configurable:!0}),t}(le),Fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Else},enumerable:!0,configurable:!0}),t}(le),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t}(le),De=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ViewPort},enumerable:!0,configurable:!0}),t}(le),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FontFace},enumerable:!0,configurable:!0}),t}(le),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NestedProperties},enumerable:!0,configurable:!0}),t}(le),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(le),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.KeyframeSelector},enumerable:!0,configurable:!0}),t}(le),Me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(ie),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(ie),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),We=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Namespace},enumerable:!0,configurable:!0}),t}(ie),Oe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Media},enumerable:!0,configurable:!0}),t}(le),Le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Supports},enumerable:!0,configurable:!0}),t}(le),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Document},enumerable:!0,configurable:!0}),t}(le),je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new re(this)),this.mediums},t}(ie),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MediaQuery},enumerable:!0,configurable:!0}),t}(ie),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SupportsCondition},enumerable:!0,configurable:!0}),t}(ie),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Page},enumerable:!0,configurable:!0}),t}(le),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(le),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Expression},enumerable:!0,configurable:!0}),t}(ie),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(ie),Je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(ie),He=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(ie),Ye=(function(e){function t(t,n){return e.call(this,t,n)||this}Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Operator},enumerable:!0,configurable:!0})}(ie),function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.HexColorValue},enumerable:!0,configurable:!0}),t}(ie)),Xe=".".charCodeAt(0),Ze="0".charCodeAt(0),Qe="9".charCodeAt(0),et=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,i=0,r=t.length;i<r&&(e=t.charCodeAt(i),Ze<=e&&e<=Qe||e===Xe);i++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(ie),tt=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(me),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Interpolation},enumerable:!0,configurable:!0}),t}(ie),it=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(ie),rt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new re(this)),this.selectors},t}(ie),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new re(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new re(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(ie),st=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(le),at=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(le),lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(ie),ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new re(this)),this.conditions},t}(ie),dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(ie),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(ne||(ne={}));var ht=function(){function e(e,t,n,i,r,o){void 0===r&&(r=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=i||t.message,this.offset=r,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),mt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function ut(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 ft(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return ut(t,n)}function gt(e){return ft}var bt=gt(),yt=function(e,t){this.id=e,this.message=t},vt={NumberExpected:new yt("css-numberexpected",bt("expected.number","number expected")),ConditionExpected:new yt("css-conditionexpected",bt("expected.condt","condition expected")),RuleOrSelectorExpected:new yt("css-ruleorselectorexpected",bt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new yt("css-dotexpected",bt("expected.dot","dot expected")),ColonExpected:new yt("css-colonexpected",bt("expected.colon","colon expected")),SemiColonExpected:new yt("css-semicolonexpected",bt("expected.semicolon","semi-colon expected")),TermExpected:new yt("css-termexpected",bt("expected.term","term expected")),ExpressionExpected:new yt("css-expressionexpected",bt("expected.expression","expression expected")),OperatorExpected:new yt("css-operatorexpected",bt("expected.operator","operator expected")),IdentifierExpected:new yt("css-identifierexpected",bt("expected.ident","identifier expected")),PercentageExpected:new yt("css-percentageexpected",bt("expected.percentage","percentage expected")),URIOrStringExpected:new yt("css-uriorstringexpected",bt("expected.uriorstring","uri or string expected")),URIExpected:new yt("css-uriexpected",bt("expected.uri","URI expected")),VariableNameExpected:new yt("css-varnameexpected",bt("expected.varname","variable name expected")),VariableValueExpected:new yt("css-varvalueexpected",bt("expected.varvalue","variable value expected")),PropertyValueExpected:new yt("css-propertyvalueexpected",bt("expected.propvalue","property value expected")),LeftCurlyExpected:new yt("css-lcurlyexpected",bt("expected.lcurly","{ expected")),RightCurlyExpected:new yt("css-rcurlyexpected",bt("expected.rcurly","} expected")),LeftSquareBracketExpected:new yt("css-rbracketexpected",bt("expected.lsquare","[ expected")),RightSquareBracketExpected:new yt("css-lbracketexpected",bt("expected.rsquare","] expected")),LeftParenthesisExpected:new yt("css-lparentexpected",bt("expected.lparen","( expected")),RightParenthesisExpected:new yt("css-rparentexpected",bt("expected.rparent",") expected")),CommaExpected:new yt("css-commaexpected",bt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new yt("css-pagedirordeclexpected",bt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new yt("css-unknownatrule",bt("unknown.atrule","at-rule unknown")),UnknownKeyword:new yt("css-unknownkeyword",bt("unknown.keyword","unknown keyword")),SelectorExpected:new yt("css-selectorexpected",bt("expected.selector","selector expected")),StringLiteralExpected:new yt("css-stringliteralexpected",bt("expected.stringliteral","string literal expected")),WhitespaceExpected:new yt("css-whitespaceexpected",bt("expected.whitespace","whitespace expected")),MediaQueryExpected:new yt("css-mediaqueryexpected",bt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new yt("css-idorwildcardexpected",bt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new yt("css-wildcardexpected",bt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new yt("css-idorvarexpected",bt("expected.idorvar","identifier or variable expected"))};function wt(e){return Object.keys(e).map((function(t){return e[t]}))}function xt(e){return void 0!==e}var St=function(){function e(e){this.dataProviders=e,this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.collectData()}return e.prototype.addDataProviders=function(e){this.dataProviders=this.dataProviders.concat(e),this.collectData()},e.prototype.collectData=function(){var e=this;this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=wt(this._propertySet),this._atDirectives=wt(this._atDirectiveSet),this._pseudoClasses=wt(this._pseudoClassSet),this._pseudoElements=wt(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}(),kt=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){e.properties&&(this._properties=this._properties.concat(e.properties)),e.atDirectives&&(this._atDirectives=this._atDirectives.concat(e.atDirectives)),e.pseudoClasses&&(this._pseudoClasses=this._pseudoClasses.concat(e.pseudoClasses)),e.pseudoElements&&(this._pseudoElements=this._pseudoElements.concat(e.pseudoElements))},e}(),Ct={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function Ft(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function zt(e,t){return t?{kind:"markdown",value:Tt(e)}:{kind:"plaintext",value:Dt(e)}}function Dt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=Ft(e.status)),t+=e.description;var n=Rt(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Tt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=Ft(e.status)),"string"==typeof e.description?t+=e.description:t=e.description.value;var n=Rt(e.browsers);return n&&(t+="\n\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function Rt(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),i=n[1],r=n[2];return i in Ct&&(t+=Ct[i]),r&&(t+=" "+r),t})).join(", ")}var Et=gt(),It=[{func:"rgb($red, $green, $blue)",desc:Et("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Et("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Et("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Et("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],Mt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Nt={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Pt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var i=parseFloat(n[1])/t;if(i>=0&&i<=1)return i}throw new Error}function _t(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function At(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Wt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*At(e.charCodeAt(1))/255,green:17*At(e.charCodeAt(2))/255,blue:17*At(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*At(e.charCodeAt(1))/255,green:17*At(e.charCodeAt(2))/255,blue:17*At(e.charCodeAt(3))/255,alpha:17*At(e.charCodeAt(4))/255};case 7:return{red:(16*At(e.charCodeAt(1))+At(e.charCodeAt(2)))/255,green:(16*At(e.charCodeAt(3))+At(e.charCodeAt(4)))/255,blue:(16*At(e.charCodeAt(5))+At(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*At(e.charCodeAt(1))+At(e.charCodeAt(2)))/255,green:(16*At(e.charCodeAt(3))+At(e.charCodeAt(4)))/255,blue:(16*At(e.charCodeAt(5))+At(e.charCodeAt(6)))/255,alpha:(16*At(e.charCodeAt(7))+At(e.charCodeAt(8)))/255}}return null}function Ot(e){if(e.type===Y.HexColorValue)return Wt(e.getText());if(e.type===Y.Function){var t=e,n=t.getName(),i=t.getArguments().getChildren();if(!n||i.length<3||i.length>4)return null;try{var r=4===i.length?Pt(i[3],1):1;if("rgb"===n||"rgba"===n)return{red:Pt(i[0],255),green:Pt(i[1],255),blue:Pt(i[2],255),alpha:r};if("hsl"===n||"hsla"===n)return function(e,t,n,i){if(void 0===i&&(i=1),0===t)return{red:n,green:n,blue:n,alpha:i};var r=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return{red:r(s,o,(e/=60)+2),green:r(s,o,e),blue:r(s,o,e-2),alpha:i}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(i[0]),Pt(i[1],100),Pt(i[2],100),r)}catch(e){return null}}else if(e.type===Y.Identifier){if(e.parent&&e.parent.type!==Y.Term)return null;var o=e.parent;if(o&&o.parent&&o.parent.type===Y.BinaryExpression){var s=o.parent;if(s.parent&&s.parent.type===Y.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=Mt[a];if(l)return Wt(l)}return null}var Lt={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},Ut={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},jt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Vt=["medium","thick","thin"],Bt={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},$t={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},qt={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Kt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Gt={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Jt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Ht={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Yt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Xt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Zt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],Qt=new St([new kt({version:1.1,properties:[{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],restrictions:["enum"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Color of an element's text",restrictions:["color"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"background-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"opacity",syntax:"<alpha-value>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"padding-right",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"padding-bottom",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"background-position",syntax:"<bg-position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"border-spacing",syntax:"<length> <length>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"border-top-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"flex-grow",syntax:"<number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"flex-shrink",syntax:"<number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"text-rendering",browsers:["FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"animation-timing-function",syntax:"<timing-function>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"border-right-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"border-left-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-duration",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"will-change",browsers:["FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"transition-delay",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"border-top-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"outline-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"order",syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"border-bottom-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"stroke-width",description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"transition-duration",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"animation-delay",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"stroke-dashoffset",description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"border-right-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"transition-timing-function",syntax:"<timing-function>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"resize",browsers:["FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"image-rendering",browsers:["FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"border-left-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"border-bottom-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"border-top-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",browsers:["E12","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"transform-style",browsers:["E12","FF16","S9","C36","O15"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O15"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"background-origin",syntax:"<box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ left | right | x-start | x-end ]? <length-percentage>? ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"border-left-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"border-right-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"text-decoration-color",browsers:["FF36","S12.1","C57","O44"],syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"all",browsers:["FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],restrictions:["length"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"fill-opacity",description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"margin-block-end",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"contain",browsers:["FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],status:"experimental",syntax:"none | strict | content | [ size || layout || style || paint ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"padding-inline-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"padding-inline-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"stroke-opacity",description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"shape-outside",browsers:["FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"perspective-origin",syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"mix-blend-mode",browsers:["FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"font-variant-ligatures",browsers:["FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"scroll-behavior",browsers:["FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"stroke-miterlimit",description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"text-decoration-line",browsers:["FF36","S12.1","C57","O"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"caret-color",browsers:["FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"tab-size",browsers:["FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"overflow-anchor",status:"experimental",syntax:"auto | none",browsers:["FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"font-kerning",browsers:["FF32","S7","C32","O19"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"backdrop-filter",status:"experimental",syntax:"none | <filter-function-list>",browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"column-rule-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"isolation",browsers:["FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"column-rule-style",syntax:"<'border-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"stop-color",description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"background-blend-mode",browsers:["FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"margin-block-start",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"text-decoration-skip-ink",status:"experimental",syntax:"auto | none",browsers:["FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"stop-opacity",description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"column-rule-width",syntax:"<'border-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"mask",syntax:"<mask-layer>#",browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"text-underline-position",browsers:["E12","C33","IE6","O20"],values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | [ under || [ left | right ] ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"mask-type",browsers:["FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"border-inline-end-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"text-orientation",browsers:["FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"shape-margin",browsers:["FF62","S10.1","C37","O24"],syntax:"<length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-image-threshold",browsers:["FF62","S10.1","C37","O24"],syntax:"<alpha-value>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"min-inline-size",browsers:["FF41","S12.1","C57","O44"],syntax:"<'min-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"inline-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"block-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["FF41","S12.1","C57","O44"],syntax:"<'min-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"border-inline-start-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-end-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"row-gap",syntax:"normal | <length-percentage>",browsers:["E16","FF63","S10.1","C66","O53"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],status:"experimental",syntax:"normal | [ fill || stroke || markers ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"scroll-snap-stop",syntax:"normal | always",browsers:["C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"offset-distance",status:"experimental",syntax:"<length-percentage>",browsers:["FF69","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",browsers:["FF53","S9","C59","O"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"offset-path",status:"experimental",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",browsers:["FF63","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-rotate",status:"experimental",syntax:"[ auto | reverse ] || <angle>",browsers:["FF69","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"max-inline-size",browsers:["FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],status:"experimental",syntax:"<'max-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-block-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],status:"experimental",syntax:"<'max-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"transform-box",syntax:"border-box | fill-box | view-box",browsers:["FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",browsers:["E16","FF63","S10.1","C66","O53"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",browsers:["FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",browsers:["FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"font-optical-sizing",syntax:"auto | none",browsers:["E17","FF62","S11","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"border-block-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"offset",status:"experimental",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",browsers:["FF71","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"border-inline-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"font-size-adjust",browsers:["FF40","C54","O41"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"motion-offset",browsers:["C46","O33"],description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"inset-block-start",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset",syntax:"<'top'>{1,4}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"scale",syntax:"none | <number>{1,3}",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"offset-anchor",status:"experimental",syntax:"auto | <position>",browsers:["FF70","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-position",status:"experimental",syntax:"auto | <position>",description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"user-zoom",syntax:"zoom | fixed",description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"inset-block-end",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"glyph-orientation-horizontal",description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"image-orientation",browsers:["FF26"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"inset-block",syntax:"<'top'>{1,2}",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"alt",browsers:["S9"],values:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"behavior",browsers:["IE6"],description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"box-decoration-break",browsers:["FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["FF53","S4","C1","O15"],syntax:"<geometry-box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-bottom-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-left-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-right-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-top-colors"}],description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E","IE10"],description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E","IE10"],description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E","IE10"],description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E","IE10"],description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-table-baseline",browsers:["O9.6"],description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E","C","S3.1"],status:"nonstandard",syntax:"<color>",restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",browsers:["FF1.5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-text-blink"}],description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",browsers:["FF3.5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-window-shadow"}],description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",browsers:["S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | <compat>",browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",description:""},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",browsers:["S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",browsers:["S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",browsers:["FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",browsers:["C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"mask-border",status:"experimental",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",status:"experimental",syntax:"luminance | alpha",description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",status:"experimental",syntax:"[ <length> | <number> ]{1,4}",description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",status:"experimental",syntax:"[ stretch | repeat | round | space ]{1,2}",description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",status:"experimental",syntax:"<number-percentage>{1,4} fill?",description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",status:"experimental",syntax:"none | <image>",description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",status:"experimental",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",browsers:["FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",description:"The max-liens property forces a break after a set number of lines"},{name:"overflow-block",status:"experimental",syntax:"visible | hidden | clip | scroll | auto",browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",status:"experimental",syntax:"visible | hidden | clip | scroll | auto",browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",status:"nonstandard",syntax:"[ contain | none | auto ]{1,2}",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",status:"nonstandard",syntax:"contain | none | auto",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",status:"nonstandard",syntax:"contain | none | auto",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length>",browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-underline-offset",syntax:"auto | from-font | <length>",browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"bleed",status:"experimental",syntax:"auto | <length>",description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",status:"experimental",syntax:"none | [ crop || cross ]",description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF1.5","S4","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF1.5","S4","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["FF4","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",browsers:["FF51","S9","C47","IE10","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-browse"}],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-check"}],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-clear"}],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill"}],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-lower"}],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-upper"}],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-reveal"}],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E16","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-value"}],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["S4.1","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimal-value",browsers:["E13","C","O15","S6"]},{name:"::-webkit-outer-spin-button",browsers:["S4.1","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-resizer"}]},{name:"::-webkit-scrollbar",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-button"}]},{name:"::-webkit-scrollbar-corner",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-corner"}]},{name:"::-webkit-scrollbar-thumb",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-thumb"}]},{name:"::-webkit-scrollbar-track",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-track"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-track-piece"}]},{name:"::-webkit-search-cancel-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["FF68","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["FF69","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]})]),en=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i},tn=function(){function e(e){void 0===e&&(e=new Z),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:i.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return i.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return i.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return i.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(i.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.length===this.token.text.length&&r===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(Y.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===i.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new ie(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,i){if(!(e instanceof re)&&(t&&this.markError(e,t,n,i),this.prevToken)){var r=this.prevToken.offset+this.prevToken.len;e.length=r>e.offset?r-e.offset:0}return e},e.prototype.markError=function(e,t,n,i){this.token!==this.lastErrorToken&&(e.addIssue(new ht(e,t,ne.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||i)&&this.resync(n,i)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(i,r){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(i,r)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var i=t.bind(this)();return i&&(i.textProvider=n||function(t,n){return e.substr(t,n)}),i},e.prototype._parseStylesheet=function(){for(var e=this.create(se);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var r=this._parseStylesheetStatement();for(r&&(e.addChild(r),n=!0,t=!1,this.peek(i.EOF)||!this._needsSemicolonAfter(r)||this.accept(i.SemiColon)||this.markError(e,vt.SemiColonExpected));this.accept(i.SemiColon)||this.accept(i.CDO)||this.accept(i.CDC);)n=!0,t=!1}while(n);if(this.peek(i.EOF))break;t||(this.peek(i.AtKeyword)?this.markError(e,vt.UnknownAtRule):this.markError(e,vt.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(i.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(i.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(i.Comma)&&this._parseSelector(e););if(this.accept(i.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(ce),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(i.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,vt.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclaration=function(){return this._parseAtApply()||this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()||this._parseUnknownAtRule()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(he);return this.consumeToken(),e.setIdentifier(this._parseIdent([X.Variable]))?this.finish(e):this.finish(e,vt.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case Y.Keyframe:case Y.ViewPort:case Y.Media:case Y.Ruleset:case Y.Namespace:case Y.If:case Y.For:case Y.Each:case Y.While:case Y.MixinDeclaration:case Y.FunctionDeclaration:return!1;case Y.ExtendsReference:case Y.MixinContent:case Y.ReturnStatement:case Y.MediaQuery:case Y.Debug:case Y.Import:case Y.AtApplyRule:case Y.CustomPropertyDeclaration:return!0;case Y.VariableDeclaration:return e.needsSemicolon;case Y.MixinReference:return!e.getContent();case Y.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ae);if(!this.accept(i.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(i.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(i.SemiColon))return this.finish(t,vt.SemiColonExpected,[i.SemiColon,i.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===i.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(i.SemiColon););n=e()}return this.accept(i.CurlyR)?this.finish(t):this.finish(t,vt.RightCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,vt.LeftCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(de),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(ge);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon)){var n=e?en(e,[i.SemiColon]):[i.SemiColon];return this.finish(t,vt.ColonExpected,[i.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,vt.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(i.Ident,/^--/))return null;var e=this.create(ue);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(e,vt.ColonExpected,[i.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(i.CurlyL)){var n=this.create(fe),r=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(r)&&!r.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(i.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peek(i.SemiColon))?(e.setValue(o),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),xt(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,vt.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(ie),t=function(){return 0===n&&0===r&&0===o},n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:case i.Exclamation:if(t())break e;break;case i.CurlyL:n++;break;case i.CurlyR:if(--n<0){if(0===r&&0===o)break e;return this.finish(e,vt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,vt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,vt.LeftSquareBracketExpected);break;case i.BadString:break e;case i.EOF:var s=vt.RightCurlyExpected;return o>0?s=vt.RightSquareBracketExpected:r>0&&(s=vt.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(i.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(be),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(i.Charset))return null;var e=this.create(ie);return this.consumeToken(),this.accept(i.String)?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Me);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,vt.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(We);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.URIExpected,[i.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Te);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(De);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(i.AtKeyword,this.keyframeRegex))return null;var e=this.create(Ee),t=this.create(ie);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,vt.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,vt.IdentifierExpected,[i.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([X.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ie);if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.finish(e,vt.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ie),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.restoreAtMark(t),null;return this.peek(i.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(Le);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(Be);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(i.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(Be);if(this.accept(i.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(i.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,vt.RightParenthesisExpected,[i.ParenthesisR],[]):this.finish(e,vt.ConditionExpected);if(this.peek(i.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(i.ParenthesisL)){for(var n=1;this.token.type!==i.EOF&&0!==n;)this.token.type===i.ParenthesisL?n++:this.token.type===i.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,vt.LeftParenthesisExpected,[],[i.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Oe);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,vt.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(je);if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,vt.MediaQueryExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,vt.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(Ve),n=!0,r=!1;if(!this.peek(i.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;r=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(i.ParenthesisL))return r?this.finish(t,vt.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,vt.IdentifierExpected,[],e);if(this.accept(i.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,vt.TermExpected,[],e);if(!this.accept(i.ParenthesisR))return this.finish(t,vt.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(ie);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(i.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,vt.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(qe);return this.acceptOneKeyword(Zt)||this.markError(e,vt.UnknownAtRule,[],[i.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(i.Ident)&&!this.peek(i.Colon))return null;var e=this.create(ie);return e.addChild(this._parseIdent()),this.accept(i.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,vt.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ue);return this.consumeToken(),this.resync([],[i.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(at);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:if(0===n&&0===r&&0===o)break e;break;case i.EOF:return n>0?this.finish(e,vt.RightCurlyExpected):o>0?this.finish(e,vt.RightSquareBracketExpected):r>0?this.finish(e,vt.RightParenthesisExpected):this.finish(e);case i.CurlyL:t++,n++;break;case i.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),o>0)return this.finish(e,vt.RightSquareBracketExpected);if(r>0)return this.finish(e,vt.RightParenthesisExpected);break e}if(n<0){if(0===r&&0===o)break e;return this.finish(e,vt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,vt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,vt.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(ie);return this.accept(i.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(i.Dashmatch)||this.peek(i.Includes)||this.peek(i.SubstringOperator)||this.peek(i.PrefixOperator)||this.peek(i.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(Y.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(ie);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(ie);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=Y.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=Y.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(ie);return this.consumeToken(),e.type=Y.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(ie);return this.consumeToken(),e.type=Y.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(ie);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=Y.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(pe),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(i.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(Y.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,vt.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(Y.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,vt.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(Y.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(Y.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(i.BracketL))return null;var e=this.create(He);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(i.BracketR)?this.finish(e):this.finish(e,vt.RightSquareBracketExpected)):this.finish(e,vt.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(ie);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(i.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(i.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(i.ParenthesisR))return this.finish(t,vt.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(i.Colon))return null;var e=this.mark(),t=this.createNode(Y.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(i.Colon)&&this.hasWhitespace()&&this.markError(t,vt.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,vt.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(i.Exclamation))return null;var e=this.createNode(Y.Prio);return this.accept(i.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(Ke);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(i.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(i.BracketL))return null;var e=this.createNode(Y.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(i.BracketR)?this.finish(e):this.finish(e,vt.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ge);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,vt.TermExpected);n=this.finish(n);var i=this._parseOperator();return i&&(n=this._parseBinaryExpr(n,i)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Je);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseURILiteral())||e.setExpression(this._parseFunction())||e.setExpression(this._parseIdent())||e.setExpression(this._parseStringLiteral())||e.setExpression(this._parseNumeric())||e.setExpression(this._parseHexColor())||e.setExpression(this._parseOperation())||e.setExpression(this._parseNamedLine())?this.finish(e):null},e.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(ie);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(i.Num)||this.peek(i.Percentage)||this.peek(i.Resolution)||this.peek(i.Length)||this.peek(i.EMS)||this.peek(i.EXS)||this.peek(i.Angle)||this.peek(i.Time)||this.peek(i.Dimension)||this.peek(i.Freq)){var e=this.create(et);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(i.String)&&!this.peek(i.BadString))return null;var e=this.createNode(Y.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(i.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(Y.URILiteral);return this.accept(i.Ident),this.hasWhitespace()||!this.peek(i.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(ie);return this.accept(i.String)||this.accept(i.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(i.Ident))return null;var t=this.create(oe);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(i.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(ye);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,vt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(i.Ident))return null;var e=this.create(oe);if(e.referenceTypes=[X.Function],this.acceptIdent("progid")){if(this.accept(i.Colon))for(;this.accept(i.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(we);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(i.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Ye);return this.consumeToken(),this.finish(e)}return null},e}();function nn(e,t){return-1!==e.indexOf(t)}function rn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],i=0,r=e;i<r.length;i++)for(var o=r[i],s=0,a=o;s<a.length;s++){var l=a[s];nn(n,l)||n.push(l)}return n}var on,sn,an,ln,cn,dn,pn,hn,mn,un,fn,gn,bn,yn,vn,wn,xn,Sn,kn,Cn,Fn=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)}}(),zn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,i=function(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}(this.children,(function(e){return e.offset>n}));if(0===i)return this;var r=this.children[i-1];return r.offset<=e&&r.offset+r.length>=e+t?r.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var i=this.symbols[n];if(i.name===e&&i.type===t)return i}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),Dn=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Fn(t,e),t}(zn),Tn=function(e,t,n,i){this.name=e,this.value=t,this.node=n,this.type=i},Rn=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,i){if(-1!==e.offset){var r=this.scope.findScope(e.offset,e.length);r&&r.addSymbol(new Tn(t,n,e,i))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new zn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,i,r){if(e&&-1!==e.offset){var o=this.addScope(e);o&&o.addSymbol(new Tn(n,i,t,r))}},e.prototype.visitNode=function(e){switch(e.type){case Y.Keyframe:return this.addSymbol(e,e.getName(),void 0,X.Keyframe),!0;case Y.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case Y.VariableDeclaration:return this.visitVariableDeclarationNode(e);case Y.Ruleset:return this.visitRuleSet(e);case Y.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,X.Mixin),!0;case Y.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,X.Function),!0;case Y.FunctionParameter:return this.visitFunctionParameterNode(e);case Y.Declarations:return this.addScope(e),!0;case Y.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,X.Variable),!0;case Y.Each:var i=e,r=i.getDeclarations();if(r)for(var o=0,s=i.getVariables().getChildren();o<s.length;o++){var a=s[o];this.addSymbolToChildScope(r,a,a.getName(),void 0,X.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,i=e.getSelectors().getChildren();n<i.length;n++){var r=i[n];r instanceof de&&1===r.getChildren().length&&t.addSymbol(new Tn(r.getChild(0).getText(),void 0,r,X.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,X.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),i=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),i,X.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,X.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,i){-1!==e.offset&&this.scope.addSymbol(new Tn(t,n,e,i))},e}(),En=function(){function e(e){this.global=new Dn,e.acceptVisitor(new Rn(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),i=[],r={};n;){for(var o=n.getSymbols(),s=0;s<o.length;s++){var a=o[s];a.type!==t||r[a.name]||(i.push(a),r[a.name]=!0)}n=n.parent}return i},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof ve&&e.parent.getParent()instanceof le&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof we&&e.parent.getParent()instanceof ye){var i=e.parent.getParent().getIdentifier();if(i){var r=this.internalFindSymbol(i,[X.Function]);r&&(n=r.node.getDeclarations())}}if(!n)return null;for(var o=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(o,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof oe){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[X.Variable];var n=function(e){var t=e.findParent(Y.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var i=n.getNonPrefixedPropertyName();if(("animation"===i||"animation-name"===i)&&n.getValue()&&n.getValue().offset===e.offset)return[X.Keyframe]}}else if(e instanceof it)return[X.Variable];return e.findAParent(Y.Selector,Y.ExtendsReference)?[X.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===Y.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===Y.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var i=this.global.findScope(n);i;){var r=i.getSymbol(e,t);if(r)return r;i=i.parent}return null},e}();function In(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Mn(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return li.objectLiteral(t)&&li.number(t.line)&&li.number(t.character)}}(on||(on={})),function(e){e.create=function(e,t,n,i){if(li.number(e)&&li.number(t)&&li.number(n)&&li.number(i))return{start:on.create(e,t),end:on.create(n,i)};if(on.is(e)&&on.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return li.objectLiteral(t)&&on.is(t.start)&&on.is(t.end)}}(sn||(sn={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.string(t.uri)||li.undefined(t.uri))}}(an||(an={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.targetRange)&&li.string(t.targetUri)&&(sn.is(t.targetSelectionRange)||li.undefined(t.targetSelectionRange))&&(sn.is(t.originSelectionRange)||li.undefined(t.originSelectionRange))}}(ln||(ln={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return li.number(t.red)&&li.number(t.green)&&li.number(t.blue)&&li.number(t.alpha)}}(cn||(cn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return sn.is(t.range)&&cn.is(t.color)}}(dn||(dn={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return li.string(t.label)&&(li.undefined(t.textEdit)||vn.is(t))&&(li.undefined(t.additionalTextEdits)||li.typedArray(t.additionalTextEdits,vn.is))}}(pn||(pn={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(hn||(hn={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return li.defined(n)&&(o.startCharacter=n),li.defined(i)&&(o.endCharacter=i),li.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return li.number(t.startLine)&&li.number(t.startLine)&&(li.undefined(t.startCharacter)||li.number(t.startCharacter))&&(li.undefined(t.endCharacter)||li.number(t.endCharacter))&&(li.undefined(t.kind)||li.string(t.kind))}}(mn||(mn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return li.defined(t)&&an.is(t.location)&&li.string(t.message)}}(un||(un={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(fn||(fn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(gn||(gn={})),function(e){e.create=function(e,t,n,i,r,o){var s={range:e,message:t};return li.defined(n)&&(s.severity=n),li.defined(i)&&(s.code=i),li.defined(r)&&(s.source=r),li.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&li.string(t.message)&&(li.number(t.severity)||li.undefined(t.severity))&&(li.number(t.code)||li.string(t.code)||li.undefined(t.code))&&(li.string(t.source)||li.undefined(t.source))&&(li.undefined(t.relatedInformation)||li.typedArray(t.relatedInformation,un.is))}}(bn||(bn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return li.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.title)&&li.string(t.command)}}(yn||(yn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return li.objectLiteral(t)&&li.string(t.newText)&&sn.is(t.range)}}(vn||(vn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return li.defined(t)&&Pn.is(t.textDocument)&&Array.isArray(t.edits)}}(wn||(wn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&li.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||li.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||li.boolean(t.options.ignoreIfExists)))}}(xn||(xn={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&li.string(t.oldUri)&&li.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||li.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||li.boolean(t.options.ignoreIfExists)))}}(Sn||(Sn={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&li.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||li.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||li.boolean(t.options.ignoreIfNotExists)))}}(kn||(kn={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return li.string(e.kind)?xn.is(e)||Sn.is(e)||kn.is(e):wn.is(e)})))}}(Cn||(Cn={}));var Nn,Pn,_n,An,Wn,On,Ln,Un,jn,Vn,Bn,$n,qn,Kn,Gn,Jn,Hn,Yn,Xn,Zn,Qn,ei,ti,ni,ii,ri,oi,si=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(vn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(vn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(vn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(wn.is(e)){var n=new si(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new si(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Pn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new si(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new si(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(xn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Sn.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)}}(Nn||(Nn={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)&&(null===t.version||li.number(t.version))}}(Pn||(Pn={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)&&li.string(t.languageId)&&li.number(t.version)&&li.string(t.text)}}(_n||(_n={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(An||(An={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(An||(An={})),function(e){e.is=function(e){var t=e;return li.objectLiteral(e)&&An.is(t.kind)&&li.string(t.value)}}(Wn||(Wn={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(On||(On={})),function(e){e.PlainText=1,e.Snippet=2}(Ln||(Ln={})),function(e){e.Deprecated=1}(Un||(Un={})),function(e){e.create=function(e){return{label:e}}}(jn||(jn={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Vn||(Vn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return li.string(t)||li.objectLiteral(t)&&li.string(t.language)&&li.string(t.value)}}(Bn||(Bn={})),function(e){e.is=function(e){var t=e;return!!t&&li.objectLiteral(t)&&(Wn.is(t.contents)||Bn.is(t.contents)||li.typedArray(t.contents,Bn.is))&&(void 0===e.range||sn.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(qn||(qn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return li.defined(t)&&(r.documentation=t),li.defined(n)?r.parameters=n:r.parameters=[],r}}(Kn||(Kn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Gn||(Gn={})),function(e){e.create=function(e,t){var n={range:e};return li.number(t)&&(n.kind=t),n}}(Jn||(Jn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Hn||(Hn={})),function(e){e.Deprecated=1}(Yn||(Yn={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}(Xn||(Xn={})),function(e){e.create=function(e,t,n,i,r,o){var s={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&li.string(t.name)&&li.number(t.kind)&&sn.is(t.range)&&sn.is(t.selectionRange)&&(void 0===t.detail||li.string(t.detail))&&(void 0===t.deprecated||li.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(Zn||(Zn={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Qn||(Qn={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return li.defined(t)&&li.typedArray(t.diagnostics,bn.is)&&(void 0===t.only||li.typedArray(t.only,li.string))}}(ei||(ei={})),function(e){e.create=function(e,t,n){var i={title:e};return yn.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&li.string(t.title)&&(void 0===t.diagnostics||li.typedArray(t.diagnostics,bn.is))&&(void 0===t.kind||li.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||yn.is(t.command))&&(void 0===t.isPreferred||li.boolean(t.isPreferred))&&(void 0===t.edit||Cn.is(t.edit))}}(ti||(ti={})),function(e){e.create=function(e,t){var n={range:e};return li.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.undefined(t.command)||yn.is(t.command))}}(ni||(ni={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return li.defined(t)&&li.number(t.tabSize)&&li.boolean(t.insertSpaces)}}(ii||(ii={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.undefined(t.target)||li.string(t.target))}}(ri||(ri={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&sn.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(oi||(oi={}));var ai;!function(e){e.create=function(e,t,n,i){return new ci(e,t,n,i)},e.is=function(e){var t=e;return!!(li.defined(t)&&li.string(t.uri)&&(li.undefined(t.languageId)||li.string(t.languageId))&&li.number(t.lineCount)&&li.func(t.getText)&&li.func(t.positionAt)&&li.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(ai||(ai={}));var li,ci=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return on.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return on.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(li||(li={}));var di,pi,hi,mi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var s=fi(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),p=this._lineOffsets,h=ui(o.text,!1,a);if(d-c===h.length)for(var m=0,u=h.length;m<u;m++)p[m+c+1]=h[m];else h.length<1e4?p.splice.apply(p,[c+1,d-c].concat(h)):this._lineOffsets=p=p.slice(0,c+1).concat(h,p.slice(d+1));var f=o.text.length-(l-a);if(0!==f)for(m=c+1+h.length,u=p.length;m<u;m++)p[m]=p[m]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ui(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ui(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function fi(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function gi(e){var t=fi(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new mi(e,t,n,i)},e.update=function(e,t,n){if(e instanceof mi)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(gi),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(di||(di={})),(pi||(pi={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[An.Markdown,An.PlainText]}},hover:{contentFormat:[An.Markdown,An.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(hi||(hi={}));var bi,yi=gt(),vi=Ln.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(bi||(bi={}));var wi=function(){function e(e,t){void 0===e&&(e=null),this.variablePrefix=e,this.clientCapabilities=t,this.completionParticipants=[],this.valueTypes=[Y.Identifier,Y.Value,Y.StringLiteral,Y.URILiteral,Y.NumericValue,Y.HexColorValue,Y.VariableName,Y.Prio]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new En(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,i=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=sn.create(on.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var i={isIncomplete:!1,items:[]};this.nodePath=te(this.styleSheet,this.offset);for(var r=this.nodePath.length-1;r>=0;r--){var o=this.nodePath[r];if(o instanceof be)this.getCompletionsForDeclarationProperty(o.getParent(),i);else if(o instanceof Ke)o.parent instanceof nt?this.getVariableProposals(null,i):this.getCompletionsForExpression(o,i);else if(o instanceof pe){var s=o.findAParent(Y.ExtendsReference,Y.Ruleset);if(s)if(s.type===Y.ExtendsReference)this.getCompletionsForExtendsReference(s,o,i);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),i)}}else if(o instanceof we)this.getCompletionsForFunctionArgument(o,o.getParent(),i);else if(o instanceof ae)this.getCompletionsForDeclarations(o,i);else if(o instanceof tt)this.getCompletionsForVariableDeclaration(o,i);else if(o instanceof ce)this.getCompletionsForRuleSet(o,i);else if(o instanceof nt)this.getCompletionsForInterpolation(o,i);else if(o instanceof ze)this.getCompletionsForFunctionDeclaration(o,i);else if(o instanceof ot)this.getCompletionsForMixinReference(o,i);else if(o instanceof ye)this.getCompletionsForFunctionArgument(null,o,i);else if(o instanceof Le)this.getCompletionsForSupports(o,i);else if(o instanceof Be)this.getCompletionsForSupportsCondition(o,i);else if(o instanceof rt)this.getCompletionsForExtendsReference(o,null,i);else if(o.type===Y.URILiteral)this.getCompletionForUriLiteralValue(o,i);else if(null===o.parent)this.getCompletionForTopLevel(i);else{if(o.type!==Y.StringLiteral||!this.isImportPathParent(o.parent.type))continue;this.getCompletionForImportPath(o,i)}if(i.items.length>0||this.offset>o.offset)return this.finalize(i)}return this.getCompletionsForStylesheet(i),0===i.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,i),this.finalize(i)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===Y.Import},e.prototype.finalize=function(e){return e.items.some((function(e){return!!e.sortText||"-"===e.label[0]}))&&e.items.forEach((function(e,t){e.sortText?"-"===e.label[0]?e.sortText+=bi.VendorPrefixed+"_"+Si(t):e.sortText+=bi.Normal+"_"+Si(t):"-"===e.label[0]?e.sortText=bi.VendorPrefixed+"_"+Si(t):e.sortText=bi.Normal+"_"+Si(t)})),e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var i=this.nodePath[n];if(-1!==e.indexOf(i.type))return i}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,i=this.isTriggerPropertyValueCompletionEnabled,r=this.isCompletePropertyWithSemicolonEnabled;return Qt.getProperties().forEach((function(o){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=o.name,xt(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=o.name+": ",l=!0),!e&&r&&(a+="$0;"),e&&!e.semicolonPosition&&r&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:o.name,documentation:zt(o,n.doesSupportMarkdown()),tags:xi(o)?[Un.Deprecated]:[],textEdit:vn.replace(s,a),insertTextFormat:Ln.Snippet,kind:On.Property};o.restrictions||(l=!1),i&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"}),In(o.name,"-")&&(c.sortText=bi.VendorPrefixed),t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,i=e.getFullPropertyName(),r=Qt.getProperty(i),o=e.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:i,propertyValue:n.currentWord,range:n.getCompletionRange(o)})})),r){if(r.restrictions)for(var s=0,a=r.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(r,o,t);break;case"position":this.getPositionProposals(r,o,t);break;case"repeat":this.getRepeatStyleProposals(r,o,t);break;case"line-style":this.getLineStyleProposals(r,o,t);break;case"line-width":this.getLineWidthProposals(r,o,t);break;case"geometry-box":this.getGeometryBoxProposals(r,o,t);break;case"box":this.getBoxProposals(r,o,t);break;case"image":this.getImageProposals(r,o,t);break;case"timing-function":this.getTimingFunctionProposals(r,o,t);break;case"shape":this.getBasicShapeProposals(r,o,t)}}this.getValueEnumProposals(r,o,t),this.getCSSWideKeywordProposals(r,o,t),this.getUnitProposals(r,o,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),i=new ki;function r(e){return(e instanceof oe||e instanceof et||e instanceof Ye)&&i.add(e.getText()),!0}return e.accept((function(e){if(e instanceof ge&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var i=e.getValue();i&&i.accept(r)}return!0})),i}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:vn.replace(this.getCompletionRange(o),d),kind:On.Value})}return this.getVariableProposals(o,t),this.getTermProposals(r,o,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var i=0,r=e.values;i<r.length;i++){var o=r[i],s=o.name,a=void 0;if(p=")",h=void 0,(h=(d=s).length-p.length)>0?d.lastIndexOf(p)===h:0===h&&d===p){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=vi)}var c={label:o.name,documentation:zt(o,this.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],textEdit:vn.replace(this.getCompletionRange(t),s),sortText:bi.Enums,kind:On.Value,insertTextFormat:a};n.items.push(c)}var d,p,h;return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var i in qt)n.items.push({label:i,documentation:qt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Variable);n<i.length;n++){var r=i[n],o=In(r.name,"--")?"var("+r.name+")":r.name,s={label:r.name,documentation:r.value?Mn(r.value):r.value,textEdit:vn.replace(this.getCompletionRange(e),o),kind:On.Variable,sortText:bi.Variable};if("string"==typeof s.documentation&&zi(s.documentation)&&(s.kind=On.Color),r.node.type===Y.FunctionParameter){var a=r.node.getParent();a.type===Y.MixinDeclaration&&(s.detail=yi("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Variable),n=0,i=t=t.filter((function(e){return In(e.name,"--")}));n<i.length;n++){var r=i[n],o={label:r.name,documentation:r.value?Mn(r.value):r.value,textEdit:vn.replace(this.getCompletionRange(null),r.name),kind:On.Variable};"string"==typeof o.documentation&&zi(o.documentation)&&(o.kind=On.Color),e.items.push(o)}return e},e.prototype.getUnitProposals=function(e,t,n){var i="0";if(this.currentWord.length>0){var r=this.currentWord.match(/^-?\d[\.\d+]*/);r&&(i=r[0],n.isIncomplete=i.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===Y.Term&&(t=t.getParent()),e.restrictions)for(var o=0,s=e.restrictions;o<s.length;o++){var a=s[o],l=Ht[a];if(l)for(var c=0,d=l;c<d.length;c++){var p=i+d[c];n.items.push({label:p,textEdit:vn.replace(this.getCompletionRange(t),p),kind:On.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return sn.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var i in Mt)n.items.push({label:i,documentation:Mt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Color});for(var i in Nt)n.items.push({label:i,documentation:Nt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});var r=new ki;this.styleSheet.acceptVisitor(new Fi(r,this.offset));for(var o=0,s=r.getEntries();o<s.length;o++){i=s[o];n.items.push({label:i,textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Color})}for(var a=function(e){var i=1,r=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+i+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:vn.replace(l.getCompletionRange(t),r),insertTextFormat:vi,kind:On.Function})},l=this,c=0,d=It;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var i in Lt)n.items.push({label:i,documentation:Lt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var i in Ut)n.items.push({label:i,documentation:Ut[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var i in jt)n.items.push({label:i,documentation:jt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var i=0,r=Vt;i<r.length;i++){var o=r[i];n.items.push({label:o,textEdit:vn.replace(this.getCompletionRange(t),o),kind:On.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var i in $t)n.items.push({label:i,documentation:$t[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var i in Bt)n.items.push({label:i,documentation:Bt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var i in Kt){var r=Ci(i);n.items.push({label:i,documentation:Kt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var i in Gt){var r=Ci(i);n.items.push({label:i,documentation:Gt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var i in Jt){var r=Ci(i);n.items.push({label:i,documentation:Jt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof ce?this.getCompletionsForRuleSet(t,e):t instanceof Le?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return Qt.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:vn.replace(t.getCompletionRange(null),n.name),documentation:zt(n,t.doesSupportMarkdown()),tags:xi(n)?[Un.Deprecated]:[],kind:On.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var i=this,r=this.findInNodePath(Y.PseudoSelector,Y.IdentifierSelector,Y.ClassSelector,Y.ElementNameSelector);if(!r&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=sn.create(on.create(this.position.line,this.position.character-this.currentWord.length),this.position)),Qt.getPseudoClasses().forEach((function(e){var t=Ci(e.name),o={label:e.name,textEdit:vn.replace(i.getCompletionRange(r),t),documentation:zt(e,i.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],kind:On.Function,insertTextFormat:e.name!==t?vi:void 0};In(e.name,":-")&&(o.sortText=bi.VendorPrefixed),n.items.push(o)})),Qt.getPseudoElements().forEach((function(e){var t=Ci(e.name),o={label:e.name,textEdit:vn.replace(i.getCompletionRange(r),t),documentation:zt(e,i.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],kind:On.Function,insertTextFormat:e.name!==t?vi:void 0};In(e.name,"::-")&&(o.sortText=bi.VendorPrefixed),n.items.push(o)})),!t){for(var o=0,s=Yt;o<s.length;o++){var a=s[o];n.items.push({label:a,textEdit:vn.replace(this.getCompletionRange(r),a),kind:On.Keyword})}for(var l=0,c=Xt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:vn.replace(this.getCompletionRange(r),a),kind:On.Keyword})}}var d={};d[this.currentWord]=!0;var p=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===Y.SimpleSelector&&e.length>0){var t=p.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:vn.replace(i.getCompletionRange(r),t),kind:On.Keyword})),!1}return!0})),e&&e.isNested()){var h=e.getSelectors().findFirstChildBeforeOffset(this.offset);h&&0===e.getSelectors().getChildren().indexOf(h)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof me){var i=n;if(!xt(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,t);if(xt(i.semicolonPosition)&&i.semicolonPosition<this.offset)return this.offset===i.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(i instanceof ge)return this.getCompletionsForDeclarationValue(i,t)}else n instanceof rt?this.getCompletionsForExtendsReference(n,null,t):this.currentWord&&"@"===this.currentWord[0]&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&xt(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof we)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var i=e.findParent(Y.Declaration);if(!i)return this.getTermProposals(null,null,t),t;var r=e.findChildAtOffset(this.offset,!0);return r?r instanceof et||r instanceof oe?this.getCompletionsForDeclarationValue(i,t):t:this.getCompletionsForDeclarationValue(i,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var i=t.getIdentifier();return i&&i.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(null,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Mixin);n<i.length;n++){var r=i[n];r.node instanceof st&&t.items.push(this.makeTermProposal(r,r.node.getParameters(),null))}return t},e.prototype.getTermProposals=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Function);i<r.length;i++){var o=r[i];o.node instanceof ze&&n.items.push(this.makeTermProposal(o,o.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var i=t.getChildren().map((function(e){return e instanceof ve?e.getName():e.getText()})),r=e.name+"("+i.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+i.join(", ")+")",textEdit:vn.replace(this.getCompletionRange(n),r),insertTextFormat:vi,kind:On.Function,sortText:bi.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof ge)return!xt(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof Be)return this.getCompletionsForSupportsCondition(n,t)}return xt(e.lParent)&&this.offset>e.lParent&&(!xt(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var i=e.findFirstChildBeforeOffset(this.offset);return i instanceof Be?this.getCompletionsForSupportsCondition(i,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,i,r;if(e.hasChildren()){var o=e.getChild(0);n=o.getText(),i=this.position,r=this.getCompletionRange(o)}else{n="",i=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);r=sn.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:i,range:r})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){if(!xt(this.supportsMarkdown)){if(!xt(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(An.Markdown)}return this.supportsMarkdown},e}();function xi(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}function Si(e){var t=e.toString();switch(t.length){case 4:return t;case 3:return"0"+t;case 2:return"00"+t;case 1:return"000"+t;default:return"0000"}}var ki=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function Ci(e){return e.replace(/\(\)$/,"($1)")}var Fi=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Ye||e instanceof ye&&_t(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function zi(e){return e.toLowerCase()in Mt||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Di,Ti=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)}}(),Ri=gt(),Ei=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var i=n[t];if(i.name===e)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Ii);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,i=this.attributes;n<i.length;n++){var r=i[n];if(r.name===e)return void(r.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var i=0,r=this.attributes;i<r.length;i++){var o=r[i];n.addAttr(o.name,o.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Ii||this.parent.cloneWithParent().addChild(e);return e},e}(),Ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ti(t,e),t}(Ei),Mi=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return Ti(t,e),t}(Ei),Ni=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Ii?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,i=e;n<i.length;n++){var r=i[n];this.doPrintElement(r,t),r.children&&this.doPrint(r.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Mi||"…"===n)this.writeLine(t,n);else{var i=["<"];if(n?i.push(n):i.push("element"),e.attributes)for(var r=0,o=e.attributes;r<o.length;r++){var s=o[r];if("name"!==s.name){i.push(" "),i.push(s.name);var a=s.value;a&&(i.push("="),i.push(Di.ensure(a,this.quote)))}}i.push(">"),this.writeLine(t,i.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Di||(Di={}));var Pi=function(){this.id=0,this.attr=0,this.tag=0};function _i(e,t){for(var n=new Ei,i=0,r=e.getChildren();i<r.length;i++){var o=r[i];switch(o.type){case Y.SelectorCombinator:if(t){var s=o.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case Y.SelectorPlaceholder:if(o.matches("@at-root"))return n;case Y.ElementNameSelector:var c=o.getText();n.addAttr("name","*"===c?"element":Ai(c));break;case Y.ClassSelector:n.addAttr("class",Ai(o.getText().substring(1)));break;case Y.IdentifierSelector:n.addAttr("id",Ai(o.getText().substring(1)));break;case Y.MixinDeclaration:n.addAttr("class",o.getName());break;case Y.PseudoSelector:n.addAttr(Ai(o.getText()),"");break;case Y.AttributeSelector:var d=o,p=d.getIdentifier();if(p){var h=d.getValue(),m=d.getOperator(),u=void 0;if(h&&m)switch(Ai(m.getText())){case"|=":u=Di.remove(Ai(h.getText()))+"-…";break;case"^=":u=Di.remove(Ai(h.getText()))+"…";break;case"$=":u="…"+Di.remove(Ai(h.getText()));break;case"~=":u=" … "+Di.remove(Ai(h.getText()))+" … ";break;case"*=":u="…"+Di.remove(Ai(h.getText()))+"…";break;default:u=Di.remove(Ai(h.getText()))}n.addAttr(Ai(p.getText()),u)}}}return n}function Ai(e){var t=new Z;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}function Wi(e){var t=new Pi;return function e(n){n.getChildren().forEach((function(n){switch(n.type){case Y.IdentifierSelector:t.id++;break;case Y.ClassSelector:case Y.AttributeSelector:t.attr++;break;case Y.ElementNameSelector:if(n.matches("*"))break;t.tag++;break;case Y.PseudoSelector:var i=n.getText();if(function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!Qt.getPseudoElement("::"+t[1])}(i))t.tag++;else{if(i.match(/^:not/i))break;t.attr++}}n.getChildren().length>0&&e(n)}))}(e),Ri("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",t.id,t.attr,t.tag)}function Oi(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Ii,n=[],i=e.getParent();if(i instanceof ce)for(var r=i.getParent();r&&!ji(r);){if(r instanceof ce){if(r.getSelectors().matches("@at-root"))break;n.push(r)}r=r.getParent()}for(var o=new Ui(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t}(e);if(t){var n=new Ni('"').print(t);return n.push(Wi(e)),n}return[]}function Li(e){var t=_i(e),n=new Ni('"').print(t);return n.push(Wi(e)),n}var Ui=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Ii)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===Y.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Ii&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var i=0,r=e.getChildren();i<r.length;i++){var o=r[i];if(o instanceof pe){if(this.prev instanceof pe){var s=new Mi("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(_i(o)),this.element.addChild(new Mi("⋮")));var a=_i(o,t),l=a.findRoot();this.element.addChild(l),this.element=a}(o instanceof pe||o.type===Y.SelectorCombinatorParent||o.type===Y.SelectorCombinatorShadowPiercingDescendant||o.type===Y.SelectorCombinatorSibling||o.type===Y.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function ji(e){switch(e.type){case Y.MixinDeclaration:case Y.Stylesheet:return!0}return!1}!function(){function e(e){this.clientCapabilities=e}e.prototype.doHover=function(e,t,n){function i(t){return sn.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var r=te(n,e.offsetAt(t)),o=null,s=0;s<r.length;s++){var a=r[s];if(a instanceof de){o={contents:Oi(a),range:i(a)};break}if(a instanceof pe){In(a.getText(),"@")||(o={contents:Li(a),range:i(a)});break}if(a instanceof ge){var l=a.getFullPropertyName();(d=Qt.getProperty(l))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else if(a instanceof at){var c=a.getText();(d=Qt.getAtDirective(c))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else if(a instanceof ie&&a.type===Y.PseudoSelector){var d,p=a.getText();(d="::"===p.slice(0,2)?Qt.getPseudoElement(p):Qt.getPseudoClass(p))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else;}return o&&(o.contents=this.convertContents(o.contents)),o},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!xt(this.supportsMarkdown)){if(!xt(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(An.Markdown)}return this.supportsMarkdown}}();var Vi=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Bi=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},$i=gt(),qi=function(){function e(){}return e.prototype.findDefinition=function(e,t,n){var i=new En(n),r=ee(n,e.offsetAt(t));if(!r)return null;var o=i.findSymbolFromNode(r);return o?{uri:e.uri,range:Gi(o.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var i=[],r=ee(n,e.offsetAt(t));if(!r||r.type===Y.Stylesheet||r.type===Y.Declarations)return i;r.type===Y.Identifier&&r.parent&&r.parent.type===Y.ClassSelector&&(r=r.parent);var o=new En(n),s=o.findSymbolFromNode(r),a=r.getText();return n.accept((function(t){if(s){if(o.matchesSymbol(t,s))return i.push({kind:Ji(t),range:Gi(t,e)}),!1}else r&&r.type===t.type&&t.matches(a)&&i.push({kind:Ji(t),range:Gi(t,e)});return!0})),i},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===Y.Import},e.prototype.findDocumentLinks=function(e,t,n){var i=this,r=[];return t.accept((function(t){if(t.type===Y.URILiteral)return(o=function(e,t,n){if(0===t.getChildren().length)return null;var i=t.getChild(0);return Ki(e,i,n)}(e,t,n))&&r.push(o),!1;if(t.parent&&i.isRawStringDocumentLinkNode(t.parent)){var o,s=t.getText();if(In(s,"'")||In(s,'"'))(o=Ki(e,t,n))&&r.push(o);return!1}return!0})),r},e.prototype.findDocumentLinks2=function(e,t,n){return Vi(this,void 0,void 0,(function(){return Bi(this,(function(i){return[2,this.findDocumentLinks(e,t,n)]}))}))},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var i={name:null,kind:Hn.Class,location:null},r=t;if(t instanceof de)return i.name=t.getText(),(r=t.findAParent(Y.Ruleset,Y.ExtendsReference))&&(i.location=an.create(e.uri,Gi(r,e)),n.push(i)),!1;if(t instanceof tt)i.name=t.getName(),i.kind=Hn.Variable;else if(t instanceof st)i.name=t.getName(),i.kind=Hn.Method;else if(t instanceof ze)i.name=t.getName(),i.kind=Hn.Function;else if(t instanceof Ee)i.name=$i("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Te)i.name=$i("literal.fontface","@font-face");else if(t instanceof Oe){var o=t.getChild(0);o instanceof je&&(i.name="@media "+o.getText(),i.kind=Hn.Module)}return i.name&&(i.location=an.create(e.uri,Gi(r,e)),n.push(i)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var i=function(e,t){var n=Ot(e);if(n){var i=Gi(e,t);return{color:n,range:i}}return null}(t,e);return i&&n.push(i),!0})),n},e.prototype.getColorPresentations=function(e,t,n,i){var r,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);r=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",o.push({label:r,textEdit:vn.replace(i,r)}),r=1===n.alpha?"#"+Hi(s)+Hi(a)+Hi(l):"#"+Hi(s)+Hi(a)+Hi(l)+Hi(Math.round(255*n.alpha)),o.push({label:r,textEdit:vn.replace(i,r)});var c=function(e){var t=e.red,n=e.green,i=e.blue,r=e.alpha,o=Math.max(t,n,i),s=Math.min(t,n,i),a=0,l=0,c=(s+o)/2,d=o-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case t:a=(n-i)/d+(n<i?6:0);break;case n:a=(i-t)/d+2;break;case i:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:r}}(n);return r=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",o.push({label:r,textEdit:vn.replace(i,r)}),o},e.prototype.doRename=function(e,t,n,i){var r,o=this.findDocumentHighlights(e,t,i).map((function(e){return vn.replace(e.range,n)}));return{changes:(r={},r[e.uri]=o,r)}},e}();function Ki(e,t,n){if(!t)return null;var i=t.getText(),r=Gi(t,e);return r.start.line===r.end.line&&r.start.character===r.end.character?null:((In(i,"'")||In(i,'"'))&&(i=i.slice(1,-1)),{range:r,target:In(i,"http://")||In(i,"https://")||/^\w+:\/\//g.test(i)?i:n.resolveReference(i,e.uri)})}function Gi(e,t){return sn.create(t.positionAt(e.offset),t.positionAt(e.end))}function Ji(e){if(e.type===Y.Selector)return Gn.Write;if(e instanceof oe&&e.parent&&e.parent instanceof be&&e.isCustomProperty)return Gn.Write;if(e.parent)switch(e.parent.type){case Y.FunctionDeclaration:case Y.MixinDeclaration:case Y.Keyframe:case Y.VariableDeclaration:case Y.FunctionParameter:return Gn.Write}return Gn.Read}function Hi(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var Yi=gt(),Xi=ne.Warning,Zi=ne.Error,Qi=ne.Ignore,er=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},tr=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},nr={AllVendorPrefixes:new er("compatibleVendorPrefixes",Yi("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),Qi),IncludeStandardPropertyWhenUsingVendorPrefix:new er("vendorPrefix",Yi("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),Xi),DuplicateDeclarations:new er("duplicateProperties",Yi("rule.duplicateDeclarations","Do not use duplicate style definitions"),Qi),EmptyRuleSet:new er("emptyRules",Yi("rule.emptyRuleSets","Do not use empty rulesets"),Xi),ImportStatemement:new er("importStatement",Yi("rule.importDirective","Import statements do not load in parallel"),Qi),BewareOfBoxModelSize:new er("boxModel",Yi("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),Qi),UniversalSelector:new er("universalSelector",Yi("rule.universalSelector","The universal selector (*) is known to be slow"),Qi),ZeroWithUnit:new er("zeroUnits",Yi("rule.zeroWidthUnit","No unit for zero needed"),Qi),RequiredPropertiesForFontFace:new er("fontFaceProperties",Yi("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),Xi),HexColorLength:new er("hexColorLength",Yi("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),Zi),ArgsInColorFunction:new er("argumentsInColorFunction",Yi("rule.colorFunction","Invalid number of parameters"),Zi),UnknownProperty:new er("unknownProperties",Yi("rule.unknownProperty","Unknown property."),Xi),UnknownAtRules:new er("unknownAtRules",Yi("rule.unknownAtRules","Unknown at-rule."),Xi),IEStarHack:new er("ieHack",Yi("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),Qi),UnknownVendorSpecificProperty:new er("unknownVendorSpecificProperties",Yi("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),Qi),PropertyIgnoredDueToDisplay:new er("propertyIgnoredDueToDisplay",Yi("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),Xi),AvoidImportant:new er("important",Yi("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),Qi),AvoidFloat:new er("float",Yi("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),Qi),AvoidIdSelector:new er("idSelector",Yi("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),Qi)},ir={ValidProperties:new tr("validProperties",Yi("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},rr=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return ne.Ignore;case"warning":return ne.Warning;case"error":return ne.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var or=gt(),sr=(function(){function e(){}e.prototype.doCodeActions=function(e,t,n,i){return this.doCodeActions2(e,t,n,i).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return yn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,i){var r=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o<s.length;o++){var a=s[o];this.appendFixesForMarker(e,i,a,r)}return r},e.prototype.getFixesForUnknownProperty=function(e,t,n,i){var r=t.getName(),o=[];Qt.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var i=Math.abs(e.length-t.length);if(i>n)return 0;var r,o,s=[],a=[];for(r=0;r<t.length+1;++r)a.push(0);for(r=0;r<e.length+1;++r)s.push(a);for(r=1;r<e.length+1;++r)for(o=1;o<t.length+1;++o)e[r-1]===t[o-1]?s[r][o]=s[r-1][o-1]+1:s[r][o]=Math.max(s[r-1][o],s[r][o-1]);return s[e.length][t.length]-Math.sqrt(i)}(r,e.name);t>=r.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score}));for(var s=3,a=0,l=o;a<l.length;a++){var c=l[a].property,d=or("css.codeaction.rename","Rename to '{0}'",c),p=vn.replace(n.range,c),h=Pn.create(e.uri,e.version),m={documentChanges:[wn.create(h,[p])]},u=ti.create(d,m,Qn.QuickFix);if(u.diagnostics=[n],i.push(u),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,i){if(n.code===nr.UnknownProperty.id)for(var r=e.offsetAt(n.range.start),o=e.offsetAt(n.range.end),s=te(t,r),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof ge){var c=l.getProperty();if(c&&c.offset===r&&c.end===o)return void this.getFixesForUnknownProperty(e,c,n,i)}}}}(),function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e});function ar(e,t,n,i){var r=e[t];r.value=n,n&&(nn(r.properties,i)||r.properties.push(i))}function lr(e,t,n,i){"top"===t||"right"===t||"bottom"===t||"left"===t?ar(e,t,n,i):function(e,t,n){ar(e,"top",t,n),ar(e,"right",t,n),ar(e,"bottom",t,n),ar(e,"left",t,n)}(e,n,i)}function cr(e,t,n){switch(t.length){case 1:lr(e,void 0,t[0],n);break;case 2:lr(e,"top",t[0],n),lr(e,"bottom",t[0],n),lr(e,"right",t[1],n),lr(e,"left",t[1],n);break;case 3:lr(e,"top",t[0],n),lr(e,"right",t[1],n),lr(e,"left",t[1],n),lr(e,"bottom",t[2],n);break;case 4:lr(e,"top",t[0],n),lr(e,"right",t[1],n),lr(e,"bottom",t[2],n),lr(e,"left",t[3],n)}}function dr(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(e.matches(r))return!0}return!1}function pr(e,t){return void 0===t&&(t=!0),(!t||!dr(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function hr(e,t){return void 0===t&&(t=!0),e.map((function(e){return pr(e,t)}))}function mr(e,t){return void 0===t&&(t=!0),!dr(e,["none","hidden"])&&(!t||!dr(e,["initial","unset"]))}function ur(e,t){return void 0===t&&(t=!0),e.map((function(e){return mr(e,t)}))}function fr(e){var t=e.getChildren();if(1===t.length)return pr(r=t[0])&&mr(r);for(var n=0,i=t;n<i.length;n++){var r;if(!pr(r=i[n],!1)||!mr(r,!1))return!1}return!0}var gr=gt(),br=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var i=this.data[e];i||(i={nodes:[],names:[]},this.data[e]=i),i.names.push(t),n&&i.nodes.push(n)},e}(),yr=function(){function e(e,t){var n=this;this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new br,this.validProperties={};var i=t.getSetting(ir.ValidProperties);Array.isArray(i)&&i.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(n.validProperties[t]=!0)}}))}return e.entries=function(t,n,i,r){var o=new e(n,i);return t.acceptVisitor(o),o.completeValidations(),o.getEntries(r)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i];o.fullPropertyName===t&&n.push(o)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var i=[],r=0,o=e;r<o.length;r++){var s=o[r];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&i.push(s)}}return i},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===Y.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=ne.Warning|ne.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var i=new ht(e,t,this.settings.getRule(t),n);this.warnings.push(i)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),i=0;i<t.length;i++){var r=n.indexOf(t[i]);-1!==r&&(n[r]=null)}var o=null;for(i=0;i<n.length;i++){var s=n[i];s&&(o=null===o?gr("namelist.single","'{0}'",s):gr("namelist.concatenated","{0}, '{1}'",o,s))}return o},e.prototype.visitNode=function(e){switch(e.type){case Y.UnknownAtRule:return this.visitUnknownAtRule(e);case Y.Keyframe:return this.visitKeyframe(e);case Y.FontFace:return this.visitFontFace(e);case Y.Ruleset:return this.visitRuleSet(e);case Y.SimpleSelector:return this.visitSimpleSelector(e);case Y.Function:return this.visitFunction(e);case Y.NumericValue:return this.visitNumericValue(e);case Y.Import:return this.visitImport(e);case Y.HexColorValue:return this.visitHexColorValue(e);case Y.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!Qt.getAtDirective(t.getText())&&(this.addEntry(t,nr.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,i=-1===n.indexOf("@keyframes");if(i||1!==n.length){var r=this.getMissingNames(e,n);if(r||i)for(var o=0,s=this.keyframes.data[t].nodes;o<s.length;o++){var a=s[o];if(i){var l=gr("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,nr.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(r){l=gr("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",r);this.addEntry(a,nr.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,nr.UniversalSelector),"#"===t&&this.addEntry(e,nr.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,nr.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),nr.EmptyRuleSet);for(var i=[],r=0,o=n.getChildren();r<o.length;r++){(k=o[r])instanceof ge&&i.push(new sr(k))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,i=e;n<i.length;n++){var r=i[n],o=r.node.value;if(void 0!==o)switch(r.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=r;break;case"height":t.height=r;break;default:var s=r.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:lr(t,s[1],fr(o),r);break;case"width":lr(t,s[1],pr(o,!1),r);break;case"style":lr(t,s[1],mr(o,!0),r)}break;case"width":cr(t,hr(o.getChildren(),!1),r);break;case"style":cr(t,ur(o.getChildren(),!0),r)}break;case"padding":1===s.length?cr(t,hr(o.getChildren(),!0),r):lr(t,s[1],pr(o,!0),r)}}}return t}(i);if(s.width){var a=[];if(s.right.value&&(a=rn(a,s.right.properties)),s.left.value&&(a=rn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,nr.BewareOfBoxModelSize)}this.addEntry(s.width.node,nr.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=rn(a,s.top.properties)),s.bottom.value&&(a=rn(a,s.bottom.properties)),0!==a.length){for(var p=0,h=a;p<h.length;p++){d=h[p];this.addEntry(d.node,nr.BewareOfBoxModelSize)}this.addEntry(s.height.node,nr.BewareOfBoxModelSize)}}var m=this.fetchWithValue(i,"display","inline");if(m.length>0)for(var u=0,f=["width","height","margin-top","margin-bottom","float"];u<f.length;u++)for(var g=f[u],b=this.fetch(i,g),y=0;y<b.length;y++){var v=b[y].node,w=v.getValue();("float"!==g||w&&!w.matches("none"))&&this.addEntry(v,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((m=this.fetchWithValue(i,"display","inline-block")).length>0)for(b=this.fetch(i,"float"),y=0;y<b.length;y++){var x=b[y].node;(w=x.getValue())&&!w.matches("none")&&this.addEntry(x,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((m=this.fetchWithValue(i,"display","block")).length>0)for(b=this.fetch(i,"vertical-align"),y=0;y<b.length;y++)this.addEntry(b[y].node,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var S=this.fetch(i,"float");for(y=0;y<S.length;y++){var k=S[y];this.isValidPropertyDeclaration(k)||this.addEntry(k.node,nr.AvoidFloat)}for(var C=0;C<i.length;C++){if("background"!==(k=i[C]).fullPropertyName&&!this.validProperties[k.fullPropertyName])if((w=k.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var F=this.fetch(i,k.fullPropertyName);if(F.length>1)for(var z=0;z<F.length;z++){var D=F[z].node.getValue();D&&"-"!==this.documentText.charAt(D.offset)&&F[z]!==k&&this.addEntry(k.node,nr.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var T=new br,R=!1,E=0,I=i;E<I.length;E++){var M=(k=I[E]).node;if(this.isCSSDeclaration(M)){var N=k.fullPropertyName,P=N.charAt(0);if("-"===P){if("-"!==N.charAt(1)){Qt.isKnownProperty(N)||this.validProperties[N]||this.addEntry(M.getProperty(),nr.UnknownVendorSpecificProperty);var _=M.getNonPrefixedPropertyName();T.add(_,N,M.getProperty())}}else{var A=N;"*"!==P&&"_"!==P||(this.addEntry(M.getProperty(),nr.IEStarHack),N=N.substr(1)),Qt.isKnownProperty(A)||Qt.isKnownProperty(N)||this.validProperties[N]||this.addEntry(M.getProperty(),nr.UnknownProperty,gr("property.unknownproperty.detailed","Unknown property: '{0}'",N)),T.add(N,N,null)}}else R=!0}if(!R)for(var W in T.data){var O=T.data[W],L=O.names,U=Qt.isStandardProperty(W)&&-1===L.indexOf(W);if(U||1!==L.length){for(var j=[],V=(C=0,e.prefixes.length);C<V;C++){var B=e.prefixes[C];Qt.isStandardProperty(B+W)&&j.push(B+W)}var $=this.getMissingNames(j,L);if($||U)for(var q=0,K=O.nodes;q<K.length;q++){var G=K[q];if(U){var J=gr("property.standard.missing","Also define the standard property '{0}' for compatibility",W);this.addEntry(G,nr.IncludeStandardPropertyWhenUsingVendorPrefix,J)}if($){J=gr("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",$);this.addEntry(G,nr.AllVendorPrefixes,J)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,nr.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(Y.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(Y.Declaration);if(n&&n.getValue()){var i=e.getValue();if(!i.unit||-1===Ht.length.indexOf(i.unit.toLowerCase()))return!0;0===parseFloat(i.value)&&i.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,nr.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,i=!1,r=!1,o=0,s=t.getChildren();o<s.length;o++){var a=s[o];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(i=!0)}else r=!0}return r||n&&i||this.addEntry(e,nr.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof ge){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,nr.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,i=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ge)||(i+=1,!1)})),i!==n&&this.addEntry(e,nr.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),vr=(function(){function e(){}e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var i=[];i.push.apply(i,mt.entries(t)),i.push.apply(i,yr.entries(t,e,new rr(n&&n.lint)));var r=[];for(var o in nr)r.push(nr[o].id);return i.filter((function(e){return e.getLevel()!==ne.Ignore})).map((function(t){var n=sn.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),i=e.languageId;return{code:t.getRule().id,source:i,message:t.getMessage(),severity:t.getLevel()===ne.Warning?fn.Warning:fn.Error,range:n}}))}}(),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)}}()),wr="/".charCodeAt(0),xr="\n".charCodeAt(0),Sr="\r".charCodeAt(0),kr="\f".charCodeAt(0),Cr="$".charCodeAt(0),Fr="#".charCodeAt(0),zr="{".charCodeAt(0),Dr="=".charCodeAt(0),Tr="!".charCodeAt(0),Rr="<".charCodeAt(0),Er=">".charCodeAt(0),Ir=".".charCodeAt(0),Mr="@".charCodeAt(0),Nr=i.CustomToken,Pr=Nr++,_r=Nr++,Ar=(Nr++,Nr++),Wr=Nr++,Or=Nr++,Lr=Nr++,Ur=Nr++,jr=(Nr++,Nr++),Vr=Nr++,Br=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return vr(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(Cr)){var n=["$"];if(this.ident(n))return this.finishToken(t,Pr,n.join(""));this.stream.goBackTo(t)}if(this.stream.advanceIfChars([Fr,zr]))return this.finishToken(t,_r);if(this.stream.advanceIfChars([Dr,Dr]))return this.finishToken(t,Ar);if(this.stream.advanceIfChars([Tr,Dr]))return this.finishToken(t,Wr);if(this.stream.advanceIfChar(Rr))return this.stream.advanceIfChar(Dr)?this.finishToken(t,Lr):this.finishToken(t,i.Delim);if(this.stream.advanceIfChar(Er))return this.stream.advanceIfChar(Dr)?this.finishToken(t,Or):this.finishToken(t,i.Delim);if(this.stream.advanceIfChars([Ir,Ir,Ir]))return this.finishToken(t,Ur);if(this.stream.advanceIfChar(Mr)){n=["@"];if(this.ident(n)){var r=n.join("");if("@forward"===r)return this.finishToken(t,jr,r);if("@use"===r)return this.finishToken(t,Vr,r)}this.stream.goBackTo(t)}return e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([wr,wr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case xr:case Sr:case kr:return!1;default:return!0}})),!0)},t}(Z),$r=gt(),qr=function(e,t){this.id=e,this.message=t},Kr={FromExpected:new qr("scss-fromexpected",$r("expected.from","'from' expected")),ThroughOrToExpected:new qr("scss-throughexpected",$r("expected.through","'through' or 'to' expected")),InExpected:new qr("scss-fromexpected",$r("expected.in","'in' expected"))},Gr=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)}}(),Jr=(function(e){function t(){return e.call(this,new Br)||this}Gr(t,e),t.prototype._parseStylesheetStart=function(){return this._parseForward()||this._parseUse()||e.prototype._parseStylesheetStart.call(this)},t.prototype._parseStylesheetStatement=function(){return this.peek(i.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||e.prototype._parseStylesheetAtStatement.call(this):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.URIOrStringExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.URIOrStringExpected);return this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Pr))return null;var t=this.create(tt);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(i.Colon))return this.finish(t,vt.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,vt.VariableValueExpected,[],e);for(;this.accept(i.Exclamation);){if(!this.peekRegExp(i.Ident,/^(default|global)$/))return this.finish(t,vt.UnknownKeyword);this.consumeToken()}return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Pr))return null;var e=this.create(it);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(pt);return t.setIdentifier(this._parseIdent([X.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,vt.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(i.Ident)&&!this.peek(_r)&&!this.peekDelim("-"))return null;var n=this.create(oe);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(i.Ident,/^--/);for(var r,o=!1;(this.accept(i.Ident)||n.addChild((r=void 0,r=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(r),null):t._parseInterpolation()))||o&&(this.acceptDelim("-")||this.accept(i.Num)))&&(o=!0,!this.hasWhitespace()););return o?this.finish(n):null},t.prototype._parseTerm=function(){var t=this.create(Je);if(t.setExpression(this._parseModuleMember()))return this.finish(t);var n=e.prototype._parseTerm.call(this);return n||(t.setExpression(this._parseVariable())||t.setExpression(this._parseSelectorCombinator())||t.setExpression(this._tryParsePrio())?this.finish(t):null)},t.prototype._parseInterpolation=function(){if(this.peek(_r)){var e=this.create(nt);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(i.CurlyR)?this.finish(e):this.finish(e,vt.RightCurlyExpected):this.accept(i.CurlyR)?this.finish(e):this.finish(e,vt.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Ar)||this.peek(Wr)||this.peek(Or)||this.peek(Lr)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(Y.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(ie);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(ge);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(t,vt.ColonExpected,[i.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(i.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,vt.PropertyValueExpected);return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(Re);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(rt);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,vt.SelectorExpected);for(;this.accept(i.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(i.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,vt.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Y.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(Y.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(Y.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(i.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(Y.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(i.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(xe);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,vt.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(i.CurlyL)){var n=this.create(Fe);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(Se);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.ThroughOrToExpected,[i.CurlyR]):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.FromExpected,[i.CurlyR]):this.finish(t,vt.VariableNameExpected,[i.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(ke);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,vt.VariableNameExpected,[i.CurlyR]);for(;this.accept(i.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,vt.VariableNameExpected,[i.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.InExpected,[i.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(Ce);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(ze);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([X.Function])))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected,[i.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,vt.VariableNameExpected);return this.accept(i.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,vt.RightParenthesisExpected,[i.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(Y.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,vt.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(st);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([X.Mixin])))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(this.accept(i.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,vt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected,[i.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(ve);return e.setIdentifier(this._parseVariable())?(this.accept(Ur),this.accept(i.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,vt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.createNode(Y.MixinContent);return this.consumeToken(),this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ot);this.consumeToken();var t=this._parseIdent([X.Mixin]);if(!e.setIdentifier(t))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([X.Mixin]);if(!n)return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);var r=this.create(pt);t.referenceTypes=[X.Module],r.setIdentifier(t),e.setIdentifier(n),e.addChild(r)}if(this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,vt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected)}if(this.peek(i.CurlyL)){var o=this.create(le);this._parseBody(o,this._parseMixinReferenceBodyStatement.bind(this)),e.setContent(o)}return this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(we),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(i.Colon))e.setIdentifier(n);else{if(this.accept(Ur))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(Ur),e.addChild(this._parsePrio()),this.finish(e)):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(ie);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n},t.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(ie);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(i.Comma);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(lt),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(i.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,vt.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peek(Vr))return null;var e=this.create(Ne);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|with/))return this.finish(e,vt.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([X.Module]))&&!this.acceptDelim("*"))return this.finish(e,vt.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected,[i.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,vt.VariableNameExpected);for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,vt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected)}}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,vt.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(i.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,vt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peek(jr))return null;var e=this.create(_e);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|hide|show/))return this.finish(e,vt.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([X.Forward]);if(!e.setIdentifier(t))return this.finish(e,vt.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,vt.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,vt.IdentifierOrVariableExpected)}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,vt.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(Ae);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null}}(tn),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)}}()),Hr=gt();!function(e){function t(n){var i=e.call(this,"$",n)||this;return Yr(t.scssModuleLoaders),Yr(t.scssModuleBuiltIns),i}Jr(t,e),t.prototype.isImportPathParent=function(t){return t===Y.Forward||t===Y.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,i){var r,o=n.getParent().type;return o!==Y.Forward&&o!==Y.Use||(r=i.items).push.apply(r,t.scssModuleBuiltIns),e.prototype.getCompletionForImportPath.call(this,n,i)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,i){return"\\"+i+": ${"+e+++":"+(t.variableDefaults[i]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:vn.replace(this.getCompletionRange(t),a),insertTextFormat:Ln.Snippet,kind:On.Function};n&&(l.sortText="z"),i.items.push(l)}return i},t.prototype.getCompletionsForSelector=function(n,i,r){return this.createFunctionProposals(t.selectorFuncs,null,!0,r),e.prototype.getCompletionsForSelector.call(this,n,i,r)},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInFuncs;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Rule);i<r.length;i++){var o=r[i],s={label:o.name,textEdit:vn.replace(this.getCompletionRange(t),o.name),kind:On.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:Hr("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:Hr("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:Hr("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:Hr("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:Hr("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:Hr("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:Hr("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:Hr("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:Hr("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:Hr("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:Hr("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:Hr("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:Hr("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:Hr("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:Hr("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:Hr("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:Hr("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:Hr("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:Hr("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:Hr("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:Hr("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:Hr("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:Hr("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:Hr("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:Hr("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:Hr("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:Hr("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:Hr("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:Hr("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:Hr("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:Hr("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:Hr("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:Hr("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:Hr("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:Hr("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:Hr("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:Hr("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:Hr("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:Hr("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:Hr("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:Hr("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:Hr("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:Hr("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:Hr("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:Hr("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:Hr("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:Hr("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:Hr("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:Hr("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:Hr("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:Hr("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:Hr("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:Hr("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:Hr("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:Hr("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:Hr("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:Hr("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:Hr("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:Hr("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:Hr("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:Hr("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:Hr("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:Hr("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:Hr("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:Hr("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:Hr("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:Hr("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:Hr("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:Hr("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:Hr("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:Hr("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:Hr("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:Hr("scss.builtin.@extend","Inherits the styles of another selector."),kind:On.Keyword},{label:"@at-root",documentation:Hr("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:On.Keyword},{label:"@debug",documentation:Hr("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:On.Keyword},{label:"@warn",documentation:Hr("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:On.Keyword},{label:"@error",documentation:Hr("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:On.Keyword},{label:"@if",documentation:Hr("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@for",documentation:Hr("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@each",documentation:Hr("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@while",documentation:Hr("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@mixin",documentation:Hr("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@include",documentation:Hr("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:On.Keyword},{label:"@function",documentation:Hr("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:On.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:Hr("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@forward",documentation:Hr("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Ln.Snippet,kind:On.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:Hr("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}],kind:On.Module},{label:"sass:string",documentation:Hr("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}],kind:On.Module},{label:"sass:color",documentation:Hr("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}],kind:On.Module},{label:"sass:list",documentation:Hr("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}],kind:On.Module},{label:"sass:map",documentation:Hr("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}],kind:On.Module},{label:"sass:selector",documentation:Hr("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}],kind:On.Module},{label:"sass:meta",documentation:Hr("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}],kind:On.Module}]}(wi);function Yr(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var Xr=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)}}(),Zr="/".charCodeAt(0),Qr="\n".charCodeAt(0),eo="\r".charCodeAt(0),to="\f".charCodeAt(0),no="`".charCodeAt(0),io=".".charCodeAt(0),ro=i.CustomToken,oo=ro++,so=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xr(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([io,io,io])?this.finishToken(t,oo):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Zr,Zr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case Qr:case eo:case to:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===no?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==no})),this.stream.advanceIfChar(no)?i.EscapedJavaScript:i.BadEscapedJavaScript):null},t}(Z),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)}}(),lo=(function(e){function t(){return e.call(this,new so)||this}ao(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Me);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(!this.accept(i.Ident))return this.finish(e,vt.IdentifierExpected,[i.SemiColon]);do{if(!this.accept(i.Comma))break}while(this.accept(i.Ident));if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected,[i.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,vt.URIOrStringExpected,[i.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(Y.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var i=this.create(Ve);return i.addChild(this._parseVariable())?this.finish(i):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(tt),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(i.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,vt.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(st);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,vt.IdentifierExpected,[],[i.ParenthesisR]);if(!this.accept(i.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(i.CurlyL))return null;var n=this.create(le);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(i.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(ie),t=this.mark();return this.accept(i.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(i.BracketR)||this.accept(i.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(i.AtKeyword))return null;for(var r=this.create(it),o=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return(this.accept(i.AtKeyword)||this.accept(i.Ident))&&(t||!this.peek(i.BracketL)||this._addLookupChildren(r))?r:(this.restoreAtMark(o),null)},t.prototype._parseTerm=function(){var t=e.prototype._parseTerm.call(this);return t||((t=this.create(Je)).setExpression(this._parseVariable())||t.setExpression(this._parseEscaped())||t.setExpression(this._tryParseMixinReference(!1))?this.finish(t):null)},t.prototype._parseEscaped=function(){if(this.peek(i.EscapedJavaScript)||this.peek(i.BadEscapedJavaScript)){var e=this.createNode(Y.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(Y.EscapedValue);return this.consumeToken(),this.accept(i.String)||this.accept(i.EscapedJavaScript)?this.finish(e):this.finish(e,vt.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||this._parseUnknownAtRule():this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([X.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(de),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var r=this.mark();if(t.addChild(this._parseGuard())&&this.peek(i.CurlyL))break;this.restoreAtMark(r),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Y.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(Y.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),i=this.create(oe);i.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?i.isCustomProperty?i.addChild(this._parseIdent()):i.addChild(this._parseRegexp(t)):i.isCustomProperty?this._acceptInterpolatedIdent(i):this._acceptInterpolatedIdent(i,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(i)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(i.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,r=!1,o=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(i.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(o)))&&(r=!0,!this.hasWhitespace()););return r},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(Y.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(i.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(i.CurlyR)?this.finish(t):this.finish(t,vt.RightCurlyExpected):this.finish(t,vt.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(st);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,vt.IdentifierExpected,[],[i.ParenthesisR]);return this.accept(i.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(i.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(oe),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(i.Hash))return null;e=this.create(oe),this.consumeToken()}return e.referenceTypes=[X.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(i.Colon))return null;var t=this.mark(),n=this.create(rt);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(rt);return this.consumeToken(),!this.hasWhitespace()&&this.accept(i.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,vt.SelectorExpected);for(;this.accept(i.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,vt.SelectorExpected);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(i.AtKeyword))return null;var e=this.mark(),t=this.create(ot);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(i.ParenthesisL)?this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ot),r=this._parseMixinDeclarationIdentifier();r;){this.acceptDelim(">");var o=this._parseMixinDeclarationIdentifier();if(!o)break;n.getNamespaces().addChild(r),r=o}if(!n.setIdentifier(r))return this.restoreAtMark(t),null;var s=!1;if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,vt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(n,vt.RightParenthesisExpected);r.referenceTypes=[X.Mixin]}else r.referenceTypes=[X.Mixin,X.Rule];return this.peek(i.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(i.SemiColon)||this.peek(i.CurlyR)||this.peek(i.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(we),t=this.mark(),n=this._parseVariable();return n&&(this.accept(i.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(ve);if(this.peekKeyword("@rest")){var t=this.create(ie);return this.consumeToken(),this.accept(oo)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,vt.DotExpected,[],[i.Comma,i.ParenthesisR])}if(this.peek(oo)){var n=this.create(ie);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var r=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(i.Colon),r=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||r?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(ct);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,vt.ConditionExpected);for(;this.acceptIdent("and")||this.accept(i.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,vt.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(dt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(ye);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,vt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(oe);return t.referenceTypes=[X.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(ie);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n}}(tn),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)}}()),co=gt();!function(e){function t(t){return e.call(this,"@",t)||this}lo(t,e),t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a={label:s.name,detail:s.example,documentation:s.description,textEdit:vn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Ln.Snippet,kind:On.Function};n&&(a.sortText="z"),i.items.push(a)}return i},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInProposals;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:co("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:co("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:co("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:co("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:co("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:co("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:co("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:co("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:co("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:co("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:co("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:co("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:co("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:co("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:co("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:co("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:co("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:co("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:co("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:co("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:co("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:co("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:co("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:co("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:co("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:co("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:co("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:co("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:co("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:co("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:co("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:co("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:co("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:co("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:co("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:co("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:co("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:co("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:co("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:co("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:co("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:co("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:co("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:co("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:co("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:co("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:co("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:co("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:co("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:co("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:co("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:co("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:co("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:co("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:co("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:co("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:co("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}]}(wi);var po=n("7VkR"),ho=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)}}(),mo=function(){return(mo=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},uo=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},fo=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};!function(e){function t(t){var n=e.call(this)||this;return n.fileSystemProvider=t,n}ho(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===Y.Use||t.type===Y.Forward},t.prototype.findDocumentLinks2=function(e,t,n){return uo(this,void 0,void 0,(function(){function i(e){return uo(this,void 0,void 0,(function(){var t;return fo(this,(function(n){switch(n.label){case 0:if(!o)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o.stat(e)];case 2:return(t=n.sent()).type===hi.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))}var r,o,s,a,l,c,d,p;return fo(this,(function(h){switch(h.label){case 0:if(r=this.findDocumentLinks(e,t,n),o=this.fileSystemProvider,s=[],!o)return[3,9];a=0,h.label=1;case 1:if(!(a<r.length))return[3,8];if(!(l=r[a].target))return[3,7];c=null;try{c=po.a.parse(l)}catch(e){if(e instanceof URIError)return[3,7];throw e}return(d=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],i=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var r=n+".scss",o=function(t){return e.with({path:i+t}).toString()};return[o(r),o("_"+r),o(r.slice(0,-5)+"/index.scss"),o(r.slice(0,-5)+"/_index.scss"),o(r.slice(0,-5)+".css")]}}(c))?[3,3]:[4,i(l)];case 2:return h.sent()&&s.push(r[a]),[3,7];case 3:p=0,h.label=4;case 4:return p<d.length?[4,i(d[p])]:[3,7];case 5:if(h.sent())return s.push(mo(mo({},r[a]),{target:d[p]})),[3,7];h.label=6;case 6:return p++,[3,4];case 7:return a++,[3,1];case 8:return[3,10];case 9:s.push.apply(s,r),h.label=10;case 10:return[2,s]}}))}))}}(qi);var go=monaco.Uri,bo=monaco.Range,yo=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){window.clearTimeout(t),t=window.setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},o=function(e){monaco.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(r)),this._disposables.push(monaco.editor.onWillDisposeModel(o)),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){o(e.model),r(e.model)}))),n.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(o(e),r(e))}))})),this._disposables.push({dispose:function(){for(var e in i._listener)i._listener[e].dispose()}}),monaco.editor.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(t){return t.doValidation(e.toString())})).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:vo(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),r=monaco.editor.getModel(e);r.getModeId()===t&&monaco.editor.setModelMarkers(r,t,i)})).then(void 0,(function(e){console.error(e)}))},e}();function vo(e){switch(e){case fn.Error:return monaco.MarkerSeverity.Error;case fn.Warning:return monaco.MarkerSeverity.Warning;case fn.Information:return monaco.MarkerSeverity.Info;case fn.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function wo(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function xo(e){if(e)return new monaco.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function So(e){var t=monaco.languages.CompletionItemKind;switch(e){case On.Text:return t.Text;case On.Method:return t.Method;case On.Function:return t.Function;case On.Constructor:return t.Constructor;case On.Field:return t.Field;case On.Variable:return t.Variable;case On.Class:return t.Class;case On.Interface:return t.Interface;case On.Module:return t.Module;case On.Property:return t.Property;case On.Unit:return t.Unit;case On.Value:return t.Value;case On.Enum:return t.Enum;case On.Keyword:return t.Keyword;case On.Snippet:return t.Snippet;case On.Color:return t.Color;case On.File:return t.File;case On.Reference:return t.Reference}return t.Property}function ko(e){if(e)return{range:xo(e.range),text:e.newText}}var Co=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doComplete(r.toString(),wo(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),r=new bo(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),o=n.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:r,kind:So(e.kind)};return e.textEdit&&(t.range=xo(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ko)),e.insertTextFormat===Ln.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:n.isIncomplete,suggestions:o}}}))},e}();function Fo(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function zo(e){if(e)return Array.isArray(e)?e.map(Fo):[Fo(e)]}var Do=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),wo(t))})).then((function(e){if(e)return{range:xo(e.range),contents:zo(e.contents)}}))},e}();function To(e){switch(e){case Gn.Read:return monaco.languages.DocumentHighlightKind.Read;case Gn.Write:return monaco.languages.DocumentHighlightKind.Write;case Gn.Text:return monaco.languages.DocumentHighlightKind.Text}return monaco.languages.DocumentHighlightKind.Text}var Ro=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),wo(t))})).then((function(e){if(e)return e.map((function(e){return{range:xo(e.range),kind:To(e.kind)}}))}))},e}();function Eo(e){return{uri:go.parse(e.uri),range:xo(e.range)}}var Io=function(){function e(e){this._worker=e}return e.prototype.provideDefinition=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDefinition(i.toString(),wo(t))})).then((function(e){if(e)return[Eo(e)]}))},e}(),Mo=function(){function e(e){this._worker=e}return e.prototype.provideReferences=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.findReferences(r.toString(),wo(t))})).then((function(e){if(e)return e.map(Eo)}))},e}();var No=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),wo(t),n)})).then((function(e){return function(e){if(e&&e.changes){var t=[];for(var n in e.changes)for(var i=go.parse(n),r=0,o=e.changes[n];r<o.length;r++){var s=o[r];t.push({resource:i,edit:{range:xo(s.range),text:s.newText}})}return{edits:t}}}(e)}))},e}();function Po(e){var t=monaco.languages.SymbolKind;switch(e){case Hn.File:return t.Array;case Hn.Module:return t.Module;case Hn.Namespace:return t.Namespace;case Hn.Package:return t.Package;case Hn.Class:return t.Class;case Hn.Method:return t.Method;case Hn.Property:return t.Property;case Hn.Field:return t.Field;case Hn.Constructor:return t.Constructor;case Hn.Enum:return t.Enum;case Hn.Interface:return t.Interface;case Hn.Function:return t.Function;case Hn.Variable:return t.Variable;case Hn.Constant:return t.Constant;case Hn.String:return t.String;case Hn.Number:return t.Number;case Hn.Boolean:return t.Boolean;case Hn.Array:return t.Array}return t.Function}var _o=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:Po(e.kind),tags:[],range:xo(e.location.range),selectionRange:xo(e.location.range)}}))}))},e}(),Ao=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:xo(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,function(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=ko(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ko)),t}))}))},e}(),Wo=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case hn.Comment:return monaco.languages.FoldingRangeKind.Comment;case hn.Imports:return monaco.languages.FoldingRangeKind.Imports;case hn.Region:return monaco.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var Oo=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(wo))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:xo(e.range)}),e=e.parent;return t}))}))},e}();function Lo(e){var t=[],n=[],i=new r(e);t.push(i);var o,s,a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.getLanguageServiceWorker.apply(i,e)};return o=e.languageId,s=e.modeConfiguration,jo(n),s.completionItems&&n.push(monaco.languages.registerCompletionItemProvider(o,new Co(a))),s.hovers&&n.push(monaco.languages.registerHoverProvider(o,new Do(a))),s.documentHighlights&&n.push(monaco.languages.registerDocumentHighlightProvider(o,new Ro(a))),s.definitions&&n.push(monaco.languages.registerDefinitionProvider(o,new Io(a))),s.references&&n.push(monaco.languages.registerReferenceProvider(o,new Mo(a))),s.documentSymbols&&n.push(monaco.languages.registerDocumentSymbolProvider(o,new _o(a))),s.rename&&n.push(monaco.languages.registerRenameProvider(o,new No(a))),s.colors&&n.push(monaco.languages.registerColorProvider(o,new Ao(a))),s.foldingRanges&&n.push(monaco.languages.registerFoldingRangeProvider(o,new Wo(a))),s.diagnostics&&n.push(new yo(o,a,e)),s.selectionRanges&&n.push(monaco.languages.registerSelectionRangeProvider(o,new Oo(a))),t.push(Uo(n)),Uo(t)}function Uo(e){return{dispose:function(){return jo(e)}}}function jo(e){for(;e.length;)e.pop().dispose()}},"7VkR":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m}));var i,r,o,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)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var p="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,m=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!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,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==p&&(t=p+t):t=p}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",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&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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(d.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,o))}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 v(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=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===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new f(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=h.exec(e);return n?new f(n[2]||"",decodeURIComponent(n[4]||""),decodeURIComponent(n[5]||""),decodeURIComponent(n[7]||""),decodeURIComponent(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,p)),e[0]===p&&e[1]===p){var n=e.indexOf(p,2);-1===n?(t=e.substring(2),e=p):(t=e.substring(2,n),e=e.substring(n)||p)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===u?t.fsPath:null,n}return t},e}(),u=o?1:void 0,f=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=v(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),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}(m),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var s=g[o];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=s):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function y(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 v(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,o&&(t=t.replace(/\//g,"\\")),t}function w(e,t){var n=t?y:b,i="",r=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=p,i+=p),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}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)),l&&(i+="#",i+=t?l:b(l,!1)),i}}).call(this,n("KCCg"))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[93],{"20/g":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return Lo}));var i,r=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}();!function(e){e[e.Ident=0]="Ident",e[e.AtKeyword=1]="AtKeyword",e[e.String=2]="String",e[e.BadString=3]="BadString",e[e.UnquotedString=4]="UnquotedString",e[e.Hash=5]="Hash",e[e.Num=6]="Num",e[e.Percentage=7]="Percentage",e[e.Dimension=8]="Dimension",e[e.UnicodeRange=9]="UnicodeRange",e[e.CDO=10]="CDO",e[e.CDC=11]="CDC",e[e.Colon=12]="Colon",e[e.SemiColon=13]="SemiColon",e[e.CurlyL=14]="CurlyL",e[e.CurlyR=15]="CurlyR",e[e.ParenthesisL=16]="ParenthesisL",e[e.ParenthesisR=17]="ParenthesisR",e[e.BracketL=18]="BracketL",e[e.BracketR=19]="BracketR",e[e.Whitespace=20]="Whitespace",e[e.Includes=21]="Includes",e[e.Dashmatch=22]="Dashmatch",e[e.SubstringOperator=23]="SubstringOperator",e[e.PrefixOperator=24]="PrefixOperator",e[e.SuffixOperator=25]="SuffixOperator",e[e.Delim=26]="Delim",e[e.EMS=27]="EMS",e[e.EXS=28]="EXS",e[e.Length=29]="Length",e[e.Angle=30]="Angle",e[e.Time=31]="Time",e[e.Freq=32]="Freq",e[e.Exclamation=33]="Exclamation",e[e.Resolution=34]="Resolution",e[e.Comma=35]="Comma",e[e.Charset=36]="Charset",e[e.EscapedJavaScript=37]="EscapedJavaScript",e[e.BadEscapedJavaScript=38]="BadEscapedJavaScript",e[e.Comment=39]="Comment",e[e.SingleLineComment=40]="SingleLineComment",e[e.EOF=41]="EOF",e[e.CustomToken=42]="CustomToken"}(i||(i={}));var o=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),s="a".charCodeAt(0),a="f".charCodeAt(0),l="z".charCodeAt(0),c="A".charCodeAt(0),d="F".charCodeAt(0),p="Z".charCodeAt(0),h="0".charCodeAt(0),m="9".charCodeAt(0),u="~".charCodeAt(0),f="^".charCodeAt(0),g="=".charCodeAt(0),b="|".charCodeAt(0),y="-".charCodeAt(0),v="_".charCodeAt(0),w="%".charCodeAt(0),x="*".charCodeAt(0),S="(".charCodeAt(0),k=")".charCodeAt(0),C="<".charCodeAt(0),F=">".charCodeAt(0),z="@".charCodeAt(0),D="#".charCodeAt(0),T="$".charCodeAt(0),R="\\".charCodeAt(0),E="/".charCodeAt(0),I="\n".charCodeAt(0),M="\r".charCodeAt(0),N="\f".charCodeAt(0),P='"'.charCodeAt(0),_="'".charCodeAt(0),A=" ".charCodeAt(0),W="\t".charCodeAt(0),O=";".charCodeAt(0),L=":".charCodeAt(0),U="{".charCodeAt(0),j="}".charCodeAt(0),V="[".charCodeAt(0),B="]".charCodeAt(0),$=",".charCodeAt(0),q=".".charCodeAt(0),K="!".charCodeAt(0),G={};G[O]=i.SemiColon,G[L]=i.Colon,G[U]=i.CurlyL,G[j]=i.CurlyR,G[B]=i.BracketR,G[V]=i.BracketL,G[S]=i.ParenthesisL,G[k]=i.ParenthesisR,G[$]=i.Comma;var J={};J.em=i.EMS,J.ex=i.EXS,J.px=i.Length,J.cm=i.Length,J.mm=i.Length,J.in=i.Length,J.pt=i.Length,J.pc=i.Length,J.deg=i.Angle,J.rad=i.Angle,J.grad=i.Angle,J.ms=i.Time,J.s=i.Time,J.hz=i.Freq,J.khz=i.Freq,J["%"]=i.Percentage,J.fr=i.Percentage,J.dpi=i.Resolution,J.dpcm=i.Resolution;var H,Y,X,Z=function(){function e(){this.stream=new o(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new o(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,i.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,i.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([C,K,y,y]))return this.finishToken(e,i.CDO);if(this.stream.advanceIfChars([y,y,F]))return this.finishToken(e,i.CDC);var t=[];if(this.ident(t))return this.finishToken(e,i.Ident,t.join(""));if(this.stream.advanceIfChar(z)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,i.Charset,n):this.finishToken(e,i.AtKeyword,n)}return this.finishToken(e,i.Delim)}if(this.stream.advanceIfChar(D))return t=["#"],this._name(t)?this.finishToken(e,i.Hash,t.join("")):this.finishToken(e,i.Delim);if(this.stream.advanceIfChar(K))return this.finishToken(e,i.Exclamation);if(this._number()){var r=this.stream.pos();if(t=[this.stream.substring(e,r)],this.stream.advanceIfChar(w))return this.finishToken(e,i.Percentage);if(this.ident(t)){var o=this.stream.substring(r).toLowerCase(),s=J[o];return void 0!==s?this.finishToken(e,s,t.join("")):this.finishToken(e,i.Dimension,t.join(""))}return this.finishToken(e,i.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):void 0!==(a=G[this.stream.peekChar()])?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Includes)):this.stream.peekChar(0)===b&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.Dashmatch)):this.stream.peekChar(0)===x&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SubstringOperator)):this.stream.peekChar(0)===f&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.PrefixOperator)):this.stream.peekChar(0)===T&&this.stream.peekChar(1)===g?(this.stream.advance(2),this.finishToken(e,i.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,i.Delim))},e.prototype._matchWordAnyCase=function(e){var t=0;return this.stream.advanceWhileChar((function(n){var i=e[t]===n||e[t+1]===n;return i&&(t+=2),i})),t===e.length||(this.stream.goBack(t/2),!1)},e.prototype.trivia=function(){for(;;){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,i.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,i.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([E,x])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===E?(e=!0,!1):(t=n===x,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===q&&(t=1),(e=this.stream.peekChar(t))>=h&&e<=m&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=h&&e<=m||0===t&&e===q})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case M:case N:case I:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===M&&this.stream.advanceIfChar(I)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===R){this.stream.advance(1),n=this.stream.peekChar();for(var i=0;i<6&&(n>=h&&n<=m||n>=s&&n<=a||n>=c&&n<=d);)this.stream.advance(1),n=this.stream.peekChar(),i++;if(i>0){try{var r=parseInt(this.stream.substring(this.stream.pos()-i),16);r&&e.push(String.fromCharCode(r))}catch(e){}return n===A||n===W?this.stream.advance(1):this._newline([]),!0}if(n!==M&&n!==N&&n!==I)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==R&&n!==M&&n!==N&&n!==I&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===_||this.stream.peekChar()===P){var t=this.stream.nextChar();for(e.push(String.fromCharCode(t));this._stringChar(t,e)||this._escape(e,!0););return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),i.String):i.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==R&&t!==_&&t!==P&&t!==S&&t!==k&&t!==A&&t!==W&&t!==I&&t!==N&&t!==M&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){for(var t=!1;this._unquotedChar(e)||this._escape(e);)t=!0;return t},e.prototype._whitespace=function(){return this.stream.advanceWhileChar((function(e){return e===A||e===W||e===I||e===N||e===M}))>0},e.prototype._name=function(e){for(var t=!1;this._identChar(e)||this._escape(e);)t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos();if(this._minus(e)&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===v||t>=s&&t<=l||t>=c&&t<=p||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===y&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===v||t===y||t>=s&&t<=l||t>=c&&t<=p||t>=h&&t<=m||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}(),Q=(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 ee(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function te(e,t){for(var n=ee(e,t),i=[];n;)i.unshift(n),n=n.parent;return i}!function(e){e[e.Undefined=0]="Undefined",e[e.Identifier=1]="Identifier",e[e.Stylesheet=2]="Stylesheet",e[e.Ruleset=3]="Ruleset",e[e.Selector=4]="Selector",e[e.SimpleSelector=5]="SimpleSelector",e[e.SelectorInterpolation=6]="SelectorInterpolation",e[e.SelectorCombinator=7]="SelectorCombinator",e[e.SelectorCombinatorParent=8]="SelectorCombinatorParent",e[e.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",e[e.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",e[e.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",e[e.Page=12]="Page",e[e.PageBoxMarginBox=13]="PageBoxMarginBox",e[e.ClassSelector=14]="ClassSelector",e[e.IdentifierSelector=15]="IdentifierSelector",e[e.ElementNameSelector=16]="ElementNameSelector",e[e.PseudoSelector=17]="PseudoSelector",e[e.AttributeSelector=18]="AttributeSelector",e[e.Declaration=19]="Declaration",e[e.Declarations=20]="Declarations",e[e.Property=21]="Property",e[e.Expression=22]="Expression",e[e.BinaryExpression=23]="BinaryExpression",e[e.Term=24]="Term",e[e.Operator=25]="Operator",e[e.Value=26]="Value",e[e.StringLiteral=27]="StringLiteral",e[e.URILiteral=28]="URILiteral",e[e.EscapedValue=29]="EscapedValue",e[e.Function=30]="Function",e[e.NumericValue=31]="NumericValue",e[e.HexColorValue=32]="HexColorValue",e[e.MixinDeclaration=33]="MixinDeclaration",e[e.MixinReference=34]="MixinReference",e[e.VariableName=35]="VariableName",e[e.VariableDeclaration=36]="VariableDeclaration",e[e.Prio=37]="Prio",e[e.Interpolation=38]="Interpolation",e[e.NestedProperties=39]="NestedProperties",e[e.ExtendsReference=40]="ExtendsReference",e[e.SelectorPlaceholder=41]="SelectorPlaceholder",e[e.Debug=42]="Debug",e[e.If=43]="If",e[e.Else=44]="Else",e[e.For=45]="For",e[e.Each=46]="Each",e[e.While=47]="While",e[e.MixinContent=48]="MixinContent",e[e.Media=49]="Media",e[e.Keyframe=50]="Keyframe",e[e.FontFace=51]="FontFace",e[e.Import=52]="Import",e[e.Namespace=53]="Namespace",e[e.Invocation=54]="Invocation",e[e.FunctionDeclaration=55]="FunctionDeclaration",e[e.ReturnStatement=56]="ReturnStatement",e[e.MediaQuery=57]="MediaQuery",e[e.FunctionParameter=58]="FunctionParameter",e[e.FunctionArgument=59]="FunctionArgument",e[e.KeyframeSelector=60]="KeyframeSelector",e[e.ViewPort=61]="ViewPort",e[e.Document=62]="Document",e[e.AtApplyRule=63]="AtApplyRule",e[e.CustomPropertyDeclaration=64]="CustomPropertyDeclaration",e[e.CustomPropertySet=65]="CustomPropertySet",e[e.ListEntry=66]="ListEntry",e[e.Supports=67]="Supports",e[e.SupportsCondition=68]="SupportsCondition",e[e.NamespacePrefix=69]="NamespacePrefix",e[e.GridLine=70]="GridLine",e[e.Plugin=71]="Plugin",e[e.UnknownAtRule=72]="UnknownAtRule",e[e.Use=73]="Use",e[e.ModuleConfiguration=74]="ModuleConfiguration",e[e.Forward=75]="Forward",e[e.ForwardVisibility=76]="ForwardVisibility",e[e.Module=77]="Module"}(Y||(Y={})),function(e){e[e.Mixin=0]="Mixin",e[e.Rule=1]="Rule",e[e.Variable=2]="Variable",e[e.Function=3]="Function",e[e.Keyframe=4]="Keyframe",e[e.Unknown=5]="Unknown",e[e.Module=6]="Module",e[e.Forward=7]="Forward",e[e.ForwardVisibility=8]="ForwardVisibility"}(X||(X={}));var ne,ie=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||Y.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){n[t].accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),-1!==t?i.splice(t,0,e):i.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if((t=this.children[n]).offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){for(var e=this.parent;e instanceof re;)e=e.parent;return e},e.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this;n&&!e.some((function(e){return n.type===e}));)n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),re=function(e){function t(t,n){void 0===n&&(n=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(t,n),i.offset=-1,i.length=-1,i}return Q(t,e),t}(ie),oe=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.isCustomProperty=!1,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(ie),se=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Stylesheet},enumerable:!0,configurable:!0}),t}(ie),ae=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declarations},enumerable:!0,configurable:!0}),t}(ie),le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(ie),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new re(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(Y.Declarations)},t}(le),de=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Selector},enumerable:!0,configurable:!0}),t}(ie),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SimpleSelector},enumerable:!0,configurable:!0}),t}(ie),he=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(ie),me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t}(ie),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(me),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertySet},enumerable:!0,configurable:!0}),t}(le),ge=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.property=null,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof ae&&this.parent.getParent()instanceof Re){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(me),be=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.getText()},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(ie),ye=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new re(this)),this.arguments},t}(ie)),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(ie),we=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(ie),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(le),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(le),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new re(this)),this.variables},t}(le),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.While},enumerable:!0,configurable:!0}),t}(le),Fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Else},enumerable:!0,configurable:!0}),t}(le),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t}(le),De=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ViewPort},enumerable:!0,configurable:!0}),t}(le),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FontFace},enumerable:!0,configurable:!0}),t}(le),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NestedProperties},enumerable:!0,configurable:!0}),t}(le),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(le),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.KeyframeSelector},enumerable:!0,configurable:!0}),t}(le),Me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(ie),Ne=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),Pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(ie),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie),We=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Namespace},enumerable:!0,configurable:!0}),t}(ie),Oe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Media},enumerable:!0,configurable:!0}),t}(le),Le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Supports},enumerable:!0,configurable:!0}),t}(le),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Document},enumerable:!0,configurable:!0}),t}(le),je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new re(this)),this.mediums},t}(ie),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MediaQuery},enumerable:!0,configurable:!0}),t}(ie),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SupportsCondition},enumerable:!0,configurable:!0}),t}(ie),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Page},enumerable:!0,configurable:!0}),t}(le),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(le),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Expression},enumerable:!0,configurable:!0}),t}(ie),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(ie),Je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(ie),He=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(ie),Ye=(function(e){function t(t,n){return e.call(this,t,n)||this}Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Operator},enumerable:!0,configurable:!0})}(ie),function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.HexColorValue},enumerable:!0,configurable:!0}),t}(ie)),Xe=".".charCodeAt(0),Ze="0".charCodeAt(0),Qe="9".charCodeAt(0),et=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,i=0,r=t.length;i<r&&(e=t.charCodeAt(i),Ze<=e&&e<=Qe||e===Xe);i++)n+=1;return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(ie),tt=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(me),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Interpolation},enumerable:!0,configurable:!0}),t}(ie),it=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(ie),rt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new re(this)),this.selectors},t}(ie),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new re(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new re(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(ie),st=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new re(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(le),at=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(le),lt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(ie),ct=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new re(this)),this.conditions},t}(ie),dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(ie),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(ie);!function(e){e[e.Ignore=1]="Ignore",e[e.Warning=2]="Warning",e[e.Error=4]="Error"}(ne||(ne={}));var ht=function(){function e(e,t,n,i,r,o){void 0===r&&(r=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=i||t.message,this.offset=r,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),mt=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function ut(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 ft(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return ut(t,n)}function gt(e){return ft}var bt=gt(),yt=function(e,t){this.id=e,this.message=t},vt={NumberExpected:new yt("css-numberexpected",bt("expected.number","number expected")),ConditionExpected:new yt("css-conditionexpected",bt("expected.condt","condition expected")),RuleOrSelectorExpected:new yt("css-ruleorselectorexpected",bt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new yt("css-dotexpected",bt("expected.dot","dot expected")),ColonExpected:new yt("css-colonexpected",bt("expected.colon","colon expected")),SemiColonExpected:new yt("css-semicolonexpected",bt("expected.semicolon","semi-colon expected")),TermExpected:new yt("css-termexpected",bt("expected.term","term expected")),ExpressionExpected:new yt("css-expressionexpected",bt("expected.expression","expression expected")),OperatorExpected:new yt("css-operatorexpected",bt("expected.operator","operator expected")),IdentifierExpected:new yt("css-identifierexpected",bt("expected.ident","identifier expected")),PercentageExpected:new yt("css-percentageexpected",bt("expected.percentage","percentage expected")),URIOrStringExpected:new yt("css-uriorstringexpected",bt("expected.uriorstring","uri or string expected")),URIExpected:new yt("css-uriexpected",bt("expected.uri","URI expected")),VariableNameExpected:new yt("css-varnameexpected",bt("expected.varname","variable name expected")),VariableValueExpected:new yt("css-varvalueexpected",bt("expected.varvalue","variable value expected")),PropertyValueExpected:new yt("css-propertyvalueexpected",bt("expected.propvalue","property value expected")),LeftCurlyExpected:new yt("css-lcurlyexpected",bt("expected.lcurly","{ expected")),RightCurlyExpected:new yt("css-rcurlyexpected",bt("expected.rcurly","} expected")),LeftSquareBracketExpected:new yt("css-rbracketexpected",bt("expected.lsquare","[ expected")),RightSquareBracketExpected:new yt("css-lbracketexpected",bt("expected.rsquare","] expected")),LeftParenthesisExpected:new yt("css-lparentexpected",bt("expected.lparen","( expected")),RightParenthesisExpected:new yt("css-rparentexpected",bt("expected.rparent",") expected")),CommaExpected:new yt("css-commaexpected",bt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new yt("css-pagedirordeclexpected",bt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new yt("css-unknownatrule",bt("unknown.atrule","at-rule unknown")),UnknownKeyword:new yt("css-unknownkeyword",bt("unknown.keyword","unknown keyword")),SelectorExpected:new yt("css-selectorexpected",bt("expected.selector","selector expected")),StringLiteralExpected:new yt("css-stringliteralexpected",bt("expected.stringliteral","string literal expected")),WhitespaceExpected:new yt("css-whitespaceexpected",bt("expected.whitespace","whitespace expected")),MediaQueryExpected:new yt("css-mediaqueryexpected",bt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new yt("css-idorwildcardexpected",bt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new yt("css-wildcardexpected",bt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new yt("css-idorvarexpected",bt("expected.idorvar","identifier or variable expected"))};function wt(e){return Object.keys(e).map((function(t){return e[t]}))}function xt(e){return void 0!==e}var St=function(){function e(e){this.dataProviders=e,this._propertySet={},this._atDirectiveSet={},this._pseudoClassSet={},this._pseudoElementSet={},this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.collectData()}return e.prototype.addDataProviders=function(e){this.dataProviders=this.dataProviders.concat(e),this.collectData()},e.prototype.collectData=function(){var e=this;this.dataProviders.forEach((function(t){t.provideProperties().forEach((function(t){e._propertySet[t.name]||(e._propertySet[t.name]=t)})),t.provideAtDirectives().forEach((function(t){e._atDirectiveSet[t.name]||(e._atDirectiveSet[t.name]=t)})),t.providePseudoClasses().forEach((function(t){e._pseudoClassSet[t.name]||(e._pseudoClassSet[t.name]=t)})),t.providePseudoElements().forEach((function(t){e._pseudoElementSet[t.name]||(e._pseudoElementSet[t.name]=t)}))})),this._properties=wt(this._propertySet),this._atDirectives=wt(this._atDirectiveSet),this._pseudoClasses=wt(this._pseudoClassSet),this._pseudoElements=wt(this._pseudoElementSet)},e.prototype.getProperty=function(e){return this._propertySet[e]},e.prototype.getAtDirective=function(e){return this._atDirectiveSet[e]},e.prototype.getPseudoClass=function(e){return this._pseudoClassSet[e]},e.prototype.getPseudoElement=function(e){return this._pseudoElementSet[e]},e.prototype.getProperties=function(){return this._properties},e.prototype.getAtDirectives=function(){return this._atDirectives},e.prototype.getPseudoClasses=function(){return this._pseudoClasses},e.prototype.getPseudoElements=function(){return this._pseudoElements},e.prototype.isKnownProperty=function(e){return e.toLowerCase()in this._propertySet},e.prototype.isStandardProperty=function(e){return this.isKnownProperty(e)&&(!this._propertySet[e.toLowerCase()].status||"standard"===this._propertySet[e.toLowerCase()].status)},e}(),kt=function(){function e(e){this._properties=[],this._atDirectives=[],this._pseudoClasses=[],this._pseudoElements=[],this.addData(e)}return e.prototype.provideProperties=function(){return this._properties},e.prototype.provideAtDirectives=function(){return this._atDirectives},e.prototype.providePseudoClasses=function(){return this._pseudoClasses},e.prototype.providePseudoElements=function(){return this._pseudoElements},e.prototype.addData=function(e){e.properties&&(this._properties=this._properties.concat(e.properties)),e.atDirectives&&(this._atDirectives=this._atDirectives.concat(e.atDirectives)),e.pseudoClasses&&(this._pseudoClasses=this._pseudoClasses.concat(e.pseudoClasses)),e.pseudoElements&&(this._pseudoElements=this._pseudoElements.concat(e.pseudoElements))},e}(),Ct={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function Ft(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function zt(e,t){return t?{kind:"markdown",value:Tt(e)}:{kind:"plaintext",value:Dt(e)}}function Dt(e){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;var t="";e.status&&(t+=Ft(e.status)),t+=e.description;var n=Rt(e.browsers);return n&&(t+="\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return e.name+": "+e.url})).join(" | ")),t}function Tt(e){if(!e.description||""===e.description)return"";var t="";e.status&&(t+=Ft(e.status)),"string"==typeof e.description?t+=e.description:t=e.description.value;var n=Rt(e.browsers);return n&&(t+="\n\n("+n+")"),"syntax"in e&&(t+="\n\nSyntax: "+e.syntax),e.references&&e.references.length>0&&(t+="\n\n",t+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | ")),t}function Rt(e){return void 0===e&&(e=[]),0===e.length?null:e.map((function(e){var t="",n=e.match(/([A-Z]+)(\d+)?/),i=n[1],r=n[2];return i in Ct&&(t+=Ct[i]),r&&(t+=" "+r),t})).join(", ")}var Et=gt(),It=[{func:"rgb($red, $green, $blue)",desc:Et("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Et("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Et("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Et("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],Mt={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Nt={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."};function Pt(e,t){var n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);var i=parseFloat(n[1])/t;if(i>=0&&i<=1)return i}throw new Error}function _t(e){var t=e.getName();return!!t&&/^(rgb|rgba|hsl|hsla)$/gi.test(t)}function At(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function Wt(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*At(e.charCodeAt(1))/255,green:17*At(e.charCodeAt(2))/255,blue:17*At(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*At(e.charCodeAt(1))/255,green:17*At(e.charCodeAt(2))/255,blue:17*At(e.charCodeAt(3))/255,alpha:17*At(e.charCodeAt(4))/255};case 7:return{red:(16*At(e.charCodeAt(1))+At(e.charCodeAt(2)))/255,green:(16*At(e.charCodeAt(3))+At(e.charCodeAt(4)))/255,blue:(16*At(e.charCodeAt(5))+At(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*At(e.charCodeAt(1))+At(e.charCodeAt(2)))/255,green:(16*At(e.charCodeAt(3))+At(e.charCodeAt(4)))/255,blue:(16*At(e.charCodeAt(5))+At(e.charCodeAt(6)))/255,alpha:(16*At(e.charCodeAt(7))+At(e.charCodeAt(8)))/255}}return null}function Ot(e){if(e.type===Y.HexColorValue)return Wt(e.getText());if(e.type===Y.Function){var t=e,n=t.getName(),i=t.getArguments().getChildren();if(!n||i.length<3||i.length>4)return null;try{var r=4===i.length?Pt(i[3],1):1;if("rgb"===n||"rgba"===n)return{red:Pt(i[0],255),green:Pt(i[1],255),blue:Pt(i[2],255),alpha:r};if("hsl"===n||"hsla"===n)return function(e,t,n,i){if(void 0===i&&(i=1),0===t)return{red:n,green:n,blue:n,alpha:i};var r=function(e,t,n){for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},o=n<=.5?n*(t+1):n+t-n*t,s=2*n-o;return{red:r(s,o,(e/=60)+2),green:r(s,o,e),blue:r(s,o,e-2),alpha:i}}(function(e){var t=e.getText();if(t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(t)%360;throw new Error}(i[0]),Pt(i[1],100),Pt(i[2],100),r)}catch(e){return null}}else if(e.type===Y.Identifier){if(e.parent&&e.parent.type!==Y.Term)return null;var o=e.parent;if(o&&o.parent&&o.parent.type===Y.BinaryExpression){var s=o.parent;if(s.parent&&s.parent.type===Y.ListEntry&&s.parent.key===s)return null}var a=e.getText().toLowerCase();if("none"===a)return null;var l=Mt[a];if(l)return Wt(l)}return null}var Lt={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},Ut={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},jt={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Vt=["medium","thick","thin"],Bt={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},$t={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},qt={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Kt={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Gt={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2 of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Jt={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Ht={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Yt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Xt=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],Zt=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"],Qt=new St([new kt({version:1.1,properties:[{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' properties. These properties specify offsets with respect to the box's 'containing block'."},{name:"fixed",description:"The box's position is calculated according to the 'absolute' model, but in addition, the box is fixed with respect to some reference. As with the 'absolute' model, the box's margins do not collapse with any other margins."},{name:"-ms-page",description:"The box's position is calculated according to the 'absolute' model."},{name:"relative",description:"The box's position is calculated according to the normal flow (this is called the position in normal flow). Then the box is offset relative to its normal position."},{name:"static",description:"The box is a normal box, laid out according to the normal flow. The 'top', 'right', 'bottom', and 'left' properties do not apply."},{name:"sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."},{name:"-webkit-sticky",description:"The box's position is calculated according to the normal flow. Then the box is offset relative to its flow root and containing block and in all cases, including table elements, does not affect the position of any following boxes."}],syntax:"static | relative | absolute | sticky | fixed",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/position"}],restrictions:["enum"]},{name:"border",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border"}],description:"Shorthand property for setting border width, style, and color.",restrictions:["length","line-width","line-style","color"]},{name:"margin",values:[{name:"auto"}],syntax:"[ <length> | <percentage> | auto ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits.",restrictions:["length","percentage"]},{name:"top",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/top"}],description:"Specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"left",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/left"}],description:"Specifies how far an absolutely positioned box's left margin edge is offset to the right of the left edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-top",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-top"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color"}],description:"Color of an element's text",restrictions:["color"]},{name:"font-size",values:[{name:"large"},{name:"larger"},{name:"medium"},{name:"small"},{name:"smaller"},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"<absolute-size> | <relative-size> | <length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size"}],description:"Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values.",restrictions:["length","percentage"]},{name:"background-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-color"}],description:"Sets the background color of an element.",restrictions:["color"]},{name:"text-align",values:[{name:"center",description:"The inline contents are centered within the line box."},{name:"end",description:"The inline contents are aligned to the end edge of the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."},{name:"start",description:"The inline contents are aligned to the start edge of the line box."}],syntax:"start | end | left | right | center | justify | match-parent",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align"}],description:"Describes how inline contents of a block are horizontally aligned if the contents do not completely fill the line box.",restrictions:["string"]},{name:"opacity",syntax:"<alpha-value>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/opacity"}],description:"Opacity of an element's text, where 1 is opaque and 0 is entirely transparent.",restrictions:["number(0-1)"]},{name:"background",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element's contents: if the element has a scrolling mechanism, the background scrolls with the element's contents."},{name:"none",description:"A value of 'none' counts as an image layer but draws nothing."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element's border.)"}],syntax:"[ <bg-layer> , ]* <final-bg-layer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background"}],description:"Shorthand property for setting most background properties at the same place in the style sheet.",restrictions:["enum","image","color","position","length","repeat","percentage","box"]},{name:"float",values:[{name:"inline-end",description:"A keyword indicating that the element must float on the end side of its containing block. That is the right side with ltr scripts, and the left side with rtl scripts."},{name:"inline-start",description:"A keyword indicating that the element must float on the start side of its containing block. That is the left side with ltr scripts, and the right side with rtl scripts."},{name:"left",description:"The element generates a block box that is floated to the left. Content flows on the right side of the box, starting at the top (subject to the 'clear' property)."},{name:"none",description:"The box is not floated."},{name:"right",description:"Similar to 'left', except the box is floated to the right, and content flows on the left side of the box, starting at the top."}],syntax:"left | right | none | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/float"}],description:"Specifies how a box should be floated. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned.",restrictions:["enum"]},{name:"font-weight",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"normal",description:"Same as 400"}],syntax:"<font-weight-absolute>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-weight"}],description:"Specifies weight of glyphs in the font, their degree of blackness or stroke thickness.",restrictions:["enum"]},{name:"overflow",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"-moz-hidden-unscrollable",description:"Same as the standardized 'clip', except doesn’t establish a block formatting context."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"[ visible | hidden | clip | scroll | auto ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow"}],description:"Shorthand for setting 'overflow-x' and 'overflow-y'.",restrictions:["enum"]},{name:"line-height",values:[{name:"normal",description:"Tells user agents to set the computed value to a 'reasonable' value based on the font size of the element."}],syntax:"normal | <number> | <length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height"}],description:"Determines the block-progression dimension of the text content area of an inline box.",restrictions:["number","length","percentage"]},{name:"font-family",values:[{name:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif"},{name:"Arial, Helvetica, sans-serif"},{name:"Cambria, Cochin, Georgia, Times, 'Times New Roman', serif"},{name:"'Courier New', Courier, monospace"},{name:"cursive"},{name:"fantasy"},{name:"'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif"},{name:"Georgia, 'Times New Roman', Times, serif"},{name:"'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif"},{name:"Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif"},{name:"'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif"},{name:"monospace"},{name:"sans-serif"},{name:"'Segoe UI', Tahoma, Geneva, Verdana, sans-serif"},{name:"serif"},{name:"'Times New Roman', Times, serif"},{name:"'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"},{name:"Verdana, Geneva, Tahoma, sans-serif"}],syntax:"<family-name>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-family"}],description:"Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered.",restrictions:["font"]},{name:"text-decoration",values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Produces no line."},{name:"overline",description:"Each line of text has a line above it."},{name:"solid",description:"Produces a solid line."},{name:"underline",description:"Each line of text is underlined."},{name:"wavy",description:"Produces a wavy line."}],syntax:"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'> || <'text-decoration-thickness'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration"}],description:"Decorations applied to font used for an element's text.",restrictions:["enum","color"]},{name:"box-sizing",values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],syntax:"content-box | border-box",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-sizing"}],description:"Specifies the behavior of the 'width' and 'height' properties.",restrictions:["enum"]},{name:"z-index",values:[{name:"auto",description:"The stack level of the generated box in the current stacking context is 0. The box does not establish a new stacking context unless it is the root element."}],syntax:"auto | <integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/z-index"}],description:"For a positioned box, the 'z-index' property specifies the stack level of the box in the current stacking context and whether the box establishes a local stacking context.",restrictions:["integer"]},{name:"vertical-align",values:[{name:"auto",description:"Align the dominant baseline of the parent box with the equivalent, or heuristically reconstructed, baseline of the element inline box."},{name:"baseline",description:"Align the 'alphabetic' baseline of the element with the 'alphabetic' baseline of the parent element."},{name:"bottom",description:"Align the after edge of the extended inline box with the after-edge of the line box."},{name:"middle",description:"Align the 'middle' baseline of the inline element with the middle baseline of the parent."},{name:"sub",description:"Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"super",description:"Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.)"},{name:"text-bottom",description:"Align the bottom of the box with the after-edge of the parent element's font."},{name:"text-top",description:"Align the top of the box with the before-edge of the parent element's font."},{name:"top",description:"Align the before edge of the extended inline box with the before-edge of the line box."},{name:"-webkit-baseline-middle"}],syntax:"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/vertical-align"}],description:"Affects the vertical positioning of the inline boxes generated by an inline-level element inside a line box.",restrictions:["percentage","length"]},{name:"border-radius",syntax:"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-radius"}],description:"Defines the radii of the outer border edge.",restrictions:["length","percentage"]},{name:"margin-left",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-left"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"cursor",values:[{name:"alias",description:"Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it."},{name:"all-scroll",description:"Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle."},{name:"auto",description:"The UA determines the cursor to display based on the current context."},{name:"cell",description:"Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle."},{name:"col-resize",description:"Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them."},{name:"context-menu",description:"A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it."},{name:"copy",description:"Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it."},{name:"crosshair",description:"A simple crosshair (e.g., short line segments resembling a '+' sign). Often used to indicate a two dimensional bitmap selection mode."},{name:"default",description:"The platform-dependent default cursor. Often rendered as an arrow."},{name:"e-resize",description:"Indicates that east edge is to be moved."},{name:"ew-resize",description:"Indicates a bidirectional east-west resize cursor."},{name:"grab",description:"Indicates that something can be grabbed."},{name:"grabbing",description:"Indicates that something is being grabbed."},{name:"help",description:"Help is available for the object under the cursor. Often rendered as a question mark or a balloon."},{name:"move",description:"Indicates something is to be moved."},{name:"-moz-grab",description:"Indicates that something can be grabbed."},{name:"-moz-grabbing",description:"Indicates that something is being grabbed."},{name:"-moz-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-moz-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"ne-resize",description:"Indicates that movement starts from north-east corner."},{name:"nesw-resize",description:"Indicates a bidirectional north-east/south-west cursor."},{name:"no-drop",description:"Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it."},{name:"none",description:"No cursor is rendered for the element."},{name:"not-allowed",description:"Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it."},{name:"n-resize",description:"Indicates that north edge is to be moved."},{name:"ns-resize",description:"Indicates a bidirectional north-south cursor."},{name:"nw-resize",description:"Indicates that movement starts from north-west corner."},{name:"nwse-resize",description:"Indicates a bidirectional north-west/south-east cursor."},{name:"pointer",description:"The cursor is a pointer that indicates a link."},{name:"progress",description:"A progress indicator. The program is performing some processing, but is different from 'wait' in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass."},{name:"row-resize",description:"Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them."},{name:"se-resize",description:"Indicates that movement starts from south-east corner."},{name:"s-resize",description:"Indicates that south edge is to be moved."},{name:"sw-resize",description:"Indicates that movement starts from south-west corner."},{name:"text",description:"Indicates text that may be selected. Often rendered as a vertical I-beam."},{name:"vertical-text",description:"Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam."},{name:"wait",description:"Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass."},{name:"-webkit-grab",description:"Indicates that something can be grabbed."},{name:"-webkit-grabbing",description:"Indicates that something is being grabbed."},{name:"-webkit-zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"-webkit-zoom-out",description:"Indicates that something can be zoomed (magnified) out."},{name:"w-resize",description:"Indicates that west edge is to be moved."},{name:"zoom-in",description:"Indicates that something can be zoomed (magnified) in."},{name:"zoom-out",description:"Indicates that something can be zoomed (magnified) out."}],syntax:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/cursor"}],description:"Allows control over cursor appearance in an element",restrictions:["url","number","enum"]},{name:"margin-bottom",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-bottom"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"right",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/right"}],description:"Specifies how far an absolutely positioned box's right margin edge is offset to the left of the right edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"margin-right",values:[{name:"auto"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-right"}],description:"Shorthand property to set values the thickness of the margin area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. Negative values for margin properties are allowed, but there may be implementation-specific limits..",restrictions:["length","percentage"]},{name:"padding-left",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-left"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"padding-top",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-top"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"max-width",values:[{name:"none",description:"No limit on the width of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"bottom",values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well"}],syntax:"<length> | <percentage> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/bottom"}],description:"Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.",restrictions:["length","percentage"]},{name:"background-image",values:[{name:"none",description:"Counts as an image layer but draws nothing."}],syntax:"<bg-image>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-image"}],description:"Sets the background image(s) of an element.",restrictions:["image","enum"]},{name:"content",values:[{name:"attr()",description:"The attr(n) function returns as a string the value of attribute n for the subject of the selector."},{name:"counter(name)",description:"Counters are denoted by identifiers (see the 'counter-increment' and 'counter-reset' properties)."},{name:"icon",description:"The (pseudo-)element is replaced in its entirety by the resource referenced by its 'icon' property, and treated as a replaced element."},{name:"none",description:"On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty. On pseudo-elements it causes the pseudo-element to have no content."},{name:"normal",description:"See http://www.w3.org/TR/css3-content/#content for computation rules."},{name:"url()"}],syntax:"normal | none | [ <content-replacement> | <content-list> ] [/ <string> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/content"}],description:"Determines which page-based occurrence of a given element is applied to a counter or string value.",restrictions:["string","url"]},{name:"padding-right",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-right"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"white-space",values:[{name:"normal",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'normal'."},{name:"nowrap",description:"Sets 'white-space-collapsing' to 'collapse' and 'text-wrap' to 'none'."},{name:"pre",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'none'."},{name:"pre-line",description:"Sets 'white-space-collapsing' to 'preserve-breaks' and 'text-wrap' to 'normal'."},{name:"pre-wrap",description:"Sets 'white-space-collapsing' to 'preserve' and 'text-wrap' to 'normal'."}],syntax:"normal | pre | nowrap | pre-wrap | pre-line | break-spaces",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/white-space"}],description:"Shorthand property for the 'white-space-collapsing' and 'text-wrap' properties.",restrictions:["enum"]},{name:"padding-bottom",syntax:"<length> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-bottom"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"border-bottom",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom"}],description:"Shorthand property for setting border width, style and color.",restrictions:["length","line-width","line-style","color"]},{name:"box-shadow",values:[{name:"inset",description:"Changes the drop shadow from an outer shadow (one that shadows the box onto the canvas, as if it were lifted above the canvas) to an inner shadow (one that shadows the canvas onto the box, as if the box were cut out of the canvas and shifted behind it)."},{name:"none",description:"No shadow."}],syntax:"none | <shadow>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-shadow"}],description:"Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.",restrictions:["length","color","enum"]},{name:"transform",values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],syntax:"none | <transform-list>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform"}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"min-height",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"visibility",values:[{name:"collapse",description:"Table-specific. If used on elements other than rows, row groups, columns, or column groups, 'collapse' has the same meaning as 'hidden'."},{name:"hidden",description:"The generated box is invisible (fully transparent, nothing is drawn), but still affects layout."},{name:"visible",description:"The generated box is visible."}],syntax:"visible | hidden | collapse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/visibility"}],description:"Specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout (set the ‘display’ property to ‘none’ to suppress box generation altogether).",restrictions:["enum"]},{name:"background-position",syntax:"<bg-position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position"}],description:"Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.",restrictions:["position","length","percentage"]},{name:"border-top",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"min-width",values:[{name:"auto"},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-width"}],description:"Allows authors to constrain content width to a certain range.",restrictions:["length","percentage"]},{name:"outline",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."},{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline"}],description:"Shorthand property for 'outline-style', 'outline-width', and 'outline-color'.",restrictions:["length","line-width","line-style","color","enum"]},{name:"transition",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"<single-transition>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition"}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"clear",values:[{name:"both",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating and left-floating boxes that resulted from elements earlier in the source document."},{name:"left",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any left-floating boxes that resulted from elements earlier in the source document."},{name:"none",description:"No constraint on the box's position with respect to floats."},{name:"right",description:"The clearance of the generated box is set to the amount necessary to place the top border edge below the bottom outer edge of any right-floating boxes that resulted from elements earlier in the source document."}],syntax:"none | left | right | both | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clear"}],description:"Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.",restrictions:["enum"]},{name:"border-color",values:[],syntax:"<color>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-color"}],description:"The color of the border around all four edges of an element.",restrictions:["color"]},{name:"background-repeat",values:[],syntax:"<repeat-style>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-repeat"}],description:"Specifies how background images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"background-size",values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-size"}],description:"Specifies the size of the background images.",restrictions:["length","percentage"]},{name:"text-transform",values:[{name:"capitalize",description:"Puts the first typographic letter unit of each word in titlecase."},{name:"lowercase",description:"Puts all letters in lowercase."},{name:"none",description:"No effects."},{name:"uppercase",description:"Puts all letters in uppercase."}],syntax:"none | capitalize | uppercase | lowercase | full-width | full-size-kana",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-transform"}],description:"Controls capitalization effects of an element’s text.",restrictions:["enum"]},{name:"max-height",values:[{name:"none",description:"No limit on the height of the box."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-height"}],description:"Allows authors to constrain content height to a certain range.",restrictions:["length","percentage"]},{name:"list-style",values:[{name:"armenian"},{name:"circle",description:"A hollow circle."},{name:"decimal"},{name:"decimal-leading-zero"},{name:"disc",description:"A filled circle."},{name:"georgian"},{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"lower-alpha"},{name:"lower-greek"},{name:"lower-latin"},{name:"lower-roman"},{name:"none"},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha"},{name:"upper-latin"},{name:"upper-roman"},{name:"url()"}],syntax:"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style"}],description:"Shorthand for setting 'list-style-type', 'list-style-position' and 'list-style-image'",restrictions:["image","enum","url"]},{name:"font-style",values:[{name:"italic",description:"Selects a font that is labeled as an 'italic' face, or an 'oblique' face if one is not"},{name:"normal",description:"Selects a face that is classified as 'normal'."},{name:"oblique",description:"Selects a font that is labeled as an 'oblique' face, or an 'italic' face if one is not."}],syntax:"normal | italic | oblique <angle>{0,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-style"}],description:"Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face.",restrictions:["enum"]},{name:"font",values:[{name:"100",description:"Thin"},{name:"200",description:"Extra Light (Ultra Light)"},{name:"300",description:"Light"},{name:"400",description:"Normal"},{name:"500",description:"Medium"},{name:"600",description:"Semi Bold (Demi Bold)"},{name:"700",description:"Bold"},{name:"800",description:"Extra Bold (Ultra Bold)"},{name:"900",description:"Black (Heavy)"},{name:"bold",description:"Same as 700"},{name:"bolder",description:"Specifies the weight of the face bolder than the inherited value."},{name:"caption",description:"The font used for captioned controls (e.g., buttons, drop-downs, etc.)."},{name:"icon",description:"The font used to label icons."},{name:"italic",description:"Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'."},{name:"large"},{name:"larger"},{name:"lighter",description:"Specifies the weight of the face lighter than the inherited value."},{name:"medium"},{name:"menu",description:"The font used in menus (e.g., dropdown menus and menu lists)."},{name:"message-box",description:"The font used in dialog boxes."},{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"oblique",description:"Selects a font that is labeled 'oblique'."},{name:"small"},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."},{name:"small-caption",description:"The font used for labeling small controls."},{name:"smaller"},{name:"status-bar",description:"The font used in window status bars."},{name:"x-large"},{name:"x-small"},{name:"xx-large"},{name:"xx-small"}],syntax:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font"}],description:"Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts.",restrictions:["font"]},{name:"text-overflow",values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],syntax:"[ clip | ellipsis | <string> ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-overflow"}],description:"Text can overflow for example when it is prevented from wrapping.",restrictions:["enum","string"]},{name:"border-left",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-right",syntax:"<line-width> || <line-style> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right"}],description:"Shorthand property for setting border width, style and color",restrictions:["length","line-width","line-style","color"]},{name:"border-width",values:[],syntax:"<line-width>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-width"}],description:"Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.",restrictions:["length","line-width"]},{name:"justify-content",values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"start",description:"The items are packed flush to each other toward the start edge of the alignment container in the main axis."},{name:"end",description:"The items are packed flush to each other toward the end edge of the alignment container in the main axis."},{name:"left",description:"The items are packed flush to each other toward the left edge of the alignment container in the main axis."},{name:"right",description:"The items are packed flush to each other toward the right edge of the alignment container in the main axis."},{name:"safe",description:"If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start."},{name:"unsafe",description:"Regardless of the relative sizes of the item and alignment container, the given alignment value is honored."},{name:"stretch",description:"If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container."},{name:"space-evenly",description:"The items are evenly distributed within the alignment container along the main axis."},{name:"flex-end",description:"Flex items are packed toward the end of the line."},{name:"flex-start",description:"Flex items are packed toward the start of the line."},{name:"space-around",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"space-between",description:"Flex items are evenly distributed in the line."},{name:"baseline",description:"Specifies participation in first-baseline alignment."},{name:"first baseline",description:"Specifies participation in first-baseline alignment."},{name:"last baseline",description:"Specifies participation in last-baseline alignment."}],syntax:"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"align-items",values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"overflow-y",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-y"}],description:"Specifies the handling of overflow in the vertical direction.",restrictions:["enum"]},{name:"pointer-events",values:[{name:"all",description:"The given element can be the target element for pointer events whenever the pointer is over either the interior or the perimeter of the element."},{name:"fill",description:"The given element can be the target element for pointer events whenever the pointer is over the interior of the element."},{name:"none",description:"The given element does not receive pointer events."},{name:"painted",description:'The given element can be the target element for pointer events when the pointer is over a "painted" area. '},{name:"stroke",description:"The given element can be the target element for pointer events whenever the pointer is over the perimeter of the element."},{name:"visible",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and the pointer is over either the interior or the perimete of the element."},{name:"visibleFill",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the interior of the element."},{name:"visiblePainted",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over a ‘painted’ area."},{name:"visibleStroke",description:"The given element can be the target element for pointer events when the ‘visibility’ property is set to visible and when the pointer is over the perimeter of the element."}],syntax:"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/pointer-events"}],description:"Specifies under what circumstances a given element can be the target element for a pointer event.",restrictions:["enum"]},{name:"letter-spacing",values:[{name:"normal",description:"The spacing is the normal spacing for the current font. It is typically zero-length."}],syntax:"normal | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/letter-spacing"}],description:"Specifies the minimum, maximum, and optimal spacing between grapheme clusters.",restrictions:["length"]},{name:"border-style",values:[],syntax:"<line-style>{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-style"}],description:"The style of the border around edges of an element.",restrictions:["line-style"]},{name:"animation",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"overflow-x",values:[{name:"auto",description:"The behavior of the 'auto' value is UA-dependent, but should cause a scrolling mechanism to be provided for overflowing boxes."},{name:"hidden",description:"Content is clipped and no scrolling mechanism should be provided to view the content outside the clipping region."},{name:"scroll",description:"Content is clipped and if the user agent uses a scrolling mechanism that is visible on the screen (such as a scroll bar or a panner), that mechanism should be displayed for a box whether or not any of its content is clipped."},{name:"visible",description:"Content is not clipped, i.e., it may be rendered outside the content box."}],syntax:"visible | hidden | clip | scroll | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-x"}],description:"Specifies the handling of overflow in the horizontal direction.",restrictions:["enum"]},{name:"word-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"border-collapse",values:[{name:"collapse",description:"Selects the collapsing borders model."},{name:"separate",description:"Selects the separated borders border model."}],syntax:"collapse | separate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-collapse"}],description:"Selects a table's border model.",restrictions:["enum"]},{name:"flex-direction",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],syntax:"row | row-reverse | column | column-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-direction"}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"zoom",browsers:["E12","S3.1","C1","IE5.5","O15"],values:[{name:"normal"}],syntax:"auto | <number> | <percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/zoom"}],description:"Non-standard. Specifies the magnification scale of the object. See 'transform: scale()' for a standards-based alternative.",restrictions:["enum","integer","number","percentage"]},{name:"flex",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."},{name:"none",description:"Expands to '0 0 auto'."}],syntax:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex"}],description:"Specifies the components of a flexible length: the flex grow factor and flex shrink factor, and the flex basis.",restrictions:["length","number","percentage"]},{name:"text-shadow",values:[{name:"none",description:"No shadow."}],syntax:"none | <shadow-t>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-shadow"}],description:"Enables shadow effects to be applied to the text of the element.",restrictions:["length","color"]},{name:"list-style-type",values:[{name:"armenian",description:"Traditional uppercase Armenian numbering."},{name:"circle",description:"A hollow circle."},{name:"decimal",description:"Western decimal numbers."},{name:"decimal-leading-zero",description:"Decimal numbers padded by initial zeros."},{name:"disc",description:"A filled circle."},{name:"georgian",description:"Traditional Georgian numbering."},{name:"lower-alpha",description:"Lowercase ASCII letters."},{name:"lower-greek",description:"Lowercase classical Greek."},{name:"lower-latin",description:"Lowercase ASCII letters."},{name:"lower-roman",description:"Lowercase ASCII Roman numerals."},{name:"none",description:"No marker"},{name:"square",description:"A filled square."},{name:"symbols()",description:"Allows a counter style to be defined inline."},{name:"upper-alpha",description:"Uppercase ASCII letters."},{name:"upper-latin",description:"Uppercase ASCII letters."},{name:"upper-roman",description:"Uppercase ASCII Roman numerals."}],syntax:"<counter-style> | <string> | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-type"}],description:"Used to construct the default contents of a list item’s marker",restrictions:["enum","string"]},{name:"border-bottom-left-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius"}],description:"Defines the radii of the bottom left outer border edge.",restrictions:["length","percentage"]},{name:"user-select",values:[{name:"all",description:"The content of the element must be selected atomically"},{name:"auto"},{name:"contain",description:"UAs must not allow a selection which is started in this element to be extended outside of this element."},{name:"none",description:"The UA must not allow selections to be started in this element."},{name:"text",description:"The element imposes no constraint on the selection."}],status:"nonstandard",syntax:"auto | text | none | contain | all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/user-select"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"fill",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],description:"Paints the interior of the given graphical element.",restrictions:["color","enum","url"]},{name:"transform-origin",syntax:"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-origin"}],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"border-top-left-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius"}],description:"Defines the radii of the top left outer border edge.",restrictions:["length","percentage"]},{name:"text-indent",values:[],syntax:"<length-percentage> && hanging? && each-line?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-indent"}],description:"Specifies the indentation applied to lines of inline content in a block. The indentation only affects the first line of inline content in the block unless the 'hanging' keyword is specified, in which case it affects all lines except the first.",restrictions:["percentage","length"]},{name:"border-bottom-right-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius"}],description:"Defines the radii of the bottom right outer border edge.",restrictions:["length","percentage"]},{name:"flex-wrap",values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"nowrap | wrap | wrap-reverse",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-wrap"}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"border-spacing",syntax:"<length> <length>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-spacing"}],description:"The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.",restrictions:["length"]},{name:"border-top-right-radius",syntax:"<length-percentage>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius"}],description:"Defines the radii of the top right outer border edge.",restrictions:["length","percentage"]},{name:"clip",values:[{name:"auto",description:"The element does not clip."},{name:"rect()",description:"Specifies offsets from the edges of the border box."}],syntax:"<shape> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip"}],description:"Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element’s box.",restrictions:["enum"]},{name:"border-top-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-color"}],description:"Sets the color of the top border.",restrictions:["color"]},{name:"word-break",values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],syntax:"normal | break-all | keep-all | break-word",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-break"}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"border-bottom-color",syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-color"}],description:"Sets the color of the bottom border.",restrictions:["color"]},{name:"flex-grow",syntax:"<number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-grow"}],description:"Sets the flex grow factor. Negative numbers are invalid.",restrictions:["number"]},{name:"direction",values:[{name:"ltr",description:"Left-to-right direction."},{name:"rtl",description:"Right-to-left direction."}],syntax:"ltr | rtl",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/direction"}],description:"Specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box. Note: for HTML content use the 'dir' attribute and 'bdo' element rather than this property.",restrictions:["enum"]},{name:"align-self",values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"flex-shrink",syntax:"<number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-shrink"}],description:"Sets the flex shrink factor. Negative numbers are invalid.",restrictions:["number"]},{name:"text-rendering",browsers:["FF1","S5","C4","O15"],values:[{name:"auto"},{name:"geometricPrecision",description:"Indicates that the user agent shall emphasize geometric precision over legibility and rendering speed."},{name:"optimizeLegibility",description:"Indicates that the user agent shall emphasize legibility over rendering speed and geometric precision."},{name:"optimizeSpeed",description:"Indicates that the user agent shall emphasize rendering speed over legibility and geometric precision."}],syntax:"auto | optimizeSpeed | optimizeLegibility | geometricPrecision",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-rendering"}],description:"The creator of SVG content might want to provide a hint to the implementation about what tradeoffs to make as it renders text. The ‘text-rendering’ property provides these hints.",restrictions:["enum"]},{name:"touch-action",values:[{name:"auto",description:"The user agent may determine any permitted touch behaviors for touches that begin on the element."},{name:"cross-slide-x"},{name:"cross-slide-y"},{name:"double-tap-zoom"},{name:"manipulation",description:"The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming."},{name:"none",description:"Touches that begin on the element must not trigger default touch behaviors."},{name:"pan-x",description:"The user agent may consider touches that begin on the element only for the purposes of horizontally scrolling the element’s nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The user agent may consider touches that begin on the element only for the purposes of vertically scrolling the element’s nearest ancestor with vertically scrollable content."},{name:"pinch-zoom"}],syntax:"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/touch-action"}],description:"Determines whether touch input may trigger default behavior supplied by user agent.",restrictions:["enum"]},{name:"background-clip",syntax:"<box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-clip"}],description:"Determines the background painting area.",restrictions:["box"]},{name:"filter",browsers:["E12","FF35","S9.1","C53","O40"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",browsers:["E12","FF35","S9.1","C53","O40"],description:"A filter reference to a <filter> element."}],syntax:"none | <filter-function-list>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/filter"}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"src",values:[{name:"url()",description:"Reference font by URL"},{name:"format()",description:"Optional hint describing the format of the font resource."},{name:"local()",description:"Format-specific string that identifies a locally available copy of a given font."}],syntax:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",description:"@font-face descriptor. Specifies the resource containing font data. It is required, whether the font is downloadable or locally installed.",restrictions:["enum","url","identifier"]},{name:"animation-timing-function",syntax:"<timing-function>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-timing-function"}],description:"Describes how the animation will progress over one cycle of its duration.",restrictions:["timing-function"]},{name:"border-right-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-color"}],description:"Sets the color of the right border.",restrictions:["color"]},{name:"font-variant",values:[{name:"normal",description:"Specifies a face that is not labeled as a small-caps font."},{name:"small-caps",description:"Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant"}],description:"Specifies variant representations of the font",restrictions:["enum"]},{name:"border-left-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-color"}],description:"Sets the color of the left border.",restrictions:["color"]},{name:"animation-name",values:[{name:"none",description:"No animation is performed"}],syntax:"[ none | <keyframes-name> ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-name"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"animation-duration",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-duration"}],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"will-change",browsers:["FF36","S9.1","C36","O24"],values:[{name:"auto",description:"Expresses no particular intent."},{name:"contents",description:"Indicates that the author expects to animate or change something about the element’s contents in the near future."},{name:"scroll-position",description:"Indicates that the author expects to animate or change the scroll position of the element in the near future."}],syntax:"auto | <animateable-feature>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/will-change"}],description:"Provides a rendering hint to the user agent, stating what kinds of changes the author expects to perform on the element.",restrictions:["enum","identifier"]},{name:"stroke",values:[{name:"url()",description:"A URL reference to a paint server element, which is an element that defines a paint server: ‘hatch’, ‘linearGradient’, ‘mesh’, ‘pattern’, ‘radialGradient’ and ‘solidcolor’."},{name:"none",description:"No paint is applied in this layer."}],description:"Paints along the outline of the given graphical element.",restrictions:["color","enum","url"]},{name:"transition-property",values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],syntax:"none | <single-transition-property>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-property"}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"table-layout",values:[{name:"auto",description:"Use any automatic table layout algorithm."},{name:"fixed",description:"Use the fixed table layout algorithm."}],syntax:"auto | fixed",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/table-layout"}],description:"Controls the algorithm used to lay out the table cells, rows, and columns.",restrictions:["enum"]},{name:"transition-delay",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-delay"}],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"flex-basis",values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"content",description:"Indicates automatic sizing, based on the flex item’s content."}],syntax:"content | <'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-basis"}],description:"Sets the flex basis.",restrictions:["length","number","percentage"]},{name:"overflow-wrap",values:[{name:"break-word",description:"An otherwise unbreakable sequence of characters may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],syntax:"normal | break-word | anywhere",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-wrap"}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit within the line box.",restrictions:["enum"]},{name:"border-top-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-width"}],description:"Sets the thickness of the top border.",restrictions:["length","line-width"]},{name:"outline-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-width"}],description:"Width of the outline.",restrictions:["length","line-width"]},{name:"order",syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/order"}],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"border-bottom-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-width"}],description:"Sets the thickness of the bottom border.",restrictions:["length","line-width"]},{name:"animation-fill-mode",values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],syntax:"<single-animation-fill-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode"}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"outline-style",values:[{name:"auto",description:"Permits the user agent to render a custom outline style, typically the default platform style."}],syntax:"auto | <'border-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-style"}],description:"Style of the outline.",restrictions:["line-style","enum"]},{name:"object-fit",browsers:["E16","FF36","S10","C31","O19"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],syntax:"fill | contain | cover | none | scale-down",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-fit"}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"stroke-width",description:"Specifies the width of the stroke on the current object.",restrictions:["percentage","length"]},{name:"transition-duration",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-duration"}],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"animation-delay",syntax:"<time>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-delay"}],description:"Defines when the animation will start.",restrictions:["time"]},{name:"outline-offset",browsers:["E15","FF1.5","S1.2","C1","O9.5"],syntax:"<length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-offset"}],description:"Offset the outline and draw it beyond the border edge.",restrictions:["length"]},{name:"stroke-dashoffset",description:"Specifies the distance into the dash pattern to start the dash.",restrictions:["percentage","length"]},{name:"backface-visibility",values:[{name:"hidden",description:"Back side is hidden."},{name:"visible",description:"Back side is visible."}],syntax:"visible | hidden",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backface-visibility"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"border-right-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-width"}],description:"Sets the thickness of the right border.",restrictions:["length","line-width"]},{name:"flex-flow",values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],syntax:"<'flex-direction'> || <'flex-wrap'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/flex-flow"}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"word-spacing",values:[{name:"normal",description:"No additional spacing is applied. Computes to zero."}],syntax:"normal | <length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/word-spacing"}],description:"Specifies additional spacing between “words”.",restrictions:["length","percentage"]},{name:"transition-timing-function",syntax:"<timing-function>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transition-timing-function"}],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"resize",browsers:["FF4","S3","C1","O12.1"],values:[{name:"both",description:"The UA presents a bidirectional resizing mechanism to allow the user to adjust both the height and the width of the element."},{name:"horizontal",description:"The UA presents a unidirectional horizontal resizing mechanism to allow the user to adjust only the width of the element."},{name:"none",description:"The UA does not present a resizing mechanism on the element, and the user is given no direct manipulation mechanism to resize the element."},{name:"vertical",description:"The UA presents a unidirectional vertical resizing mechanism to allow the user to adjust only the height of the element."}],syntax:"none | both | horizontal | vertical | block | inline",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/resize"}],description:"Specifies whether or not an element is resizable by the user, and if so, along which axis/axes.",restrictions:["enum"]},{name:"unicode-bidi",values:[{name:"bidi-override",description:"Inside the element, reordering is strictly in sequence according to the 'direction' property; the implicit part of the bidirectional algorithm is ignored."},{name:"embed",description:"If the element is inline-level, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' property."},{name:"isolate",description:"The contents of the element are considered to be inside a separate, independent paragraph."},{name:"isolate-override",description:"This combines the isolation behavior of 'isolate' with the directional override behavior of 'bidi-override'"},{name:"normal",description:"The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline-level elements, implicit reordering works across element boundaries."},{name:"plaintext",description:"For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction'."}],syntax:"normal | embed | isolate | bidi-override | isolate-override | plaintext",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/unicode-bidi"}],description:"The level of embedding with respect to the bidirectional algorithm.",restrictions:["enum"]},{name:"unicode-range",values:[{name:"U+26",description:"Ampersand."},{name:"U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00–FB4F",description:"WGL4 character set (Pan-European)."},{name:"U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF",description:"The Multilingual European Subset No. 1. Latin. Covers ~44 languages."},{name:"U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 2. Latin, Greek, and Cyrillic. Covers ~128 language."},{name:"U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD",description:"The Multilingual European Subset No. 3. Covers all characters belonging to European scripts."},{name:"U+00-7F",description:"Basic Latin (ASCII)."},{name:"U+80-FF",description:"Latin-1 Supplement. Accented characters for Western European languages, common punctuation characters, multiplication and division signs."},{name:"U+100-17F",description:"Latin Extended-A. Accented characters for for Czech, Dutch, Polish, and Turkish."},{name:"U+180-24F",description:"Latin Extended-B. Croatian, Slovenian, Romanian, Non-European and historic latin, Khoisan, Pinyin, Livonian, Sinology."},{name:"U+1E00-1EFF",description:"Latin Extended Additional. Vietnamese, German captial sharp s, Medievalist, Latin general use."},{name:"U+250-2AF",description:"International Phonetic Alphabet Extensions."},{name:"U+370-3FF",description:"Greek and Coptic."},{name:"U+1F00-1FFF",description:"Greek Extended. Accented characters for polytonic Greek."},{name:"U+400-4FF",description:"Cyrillic."},{name:"U+500-52F",description:"Cyrillic Supplement. Extra letters for Komi, Khanty, Chukchi, Mordvin, Kurdish, Aleut, Chuvash, Abkhaz, Azerbaijani, and Orok."},{name:"U+00-52F, U+1E00-1FFF, U+2200–22FF",description:"Latin, Greek, Cyrillic, some punctuation and symbols."},{name:"U+530–58F",description:"Armenian."},{name:"U+590–5FF",description:"Hebrew."},{name:"U+600–6FF",description:"Arabic."},{name:"U+750–77F",description:"Arabic Supplement. Additional letters for African languages, Khowar, Torwali, Burushaski, and early Persian."},{name:"U+8A0–8FF",description:"Arabic Extended-A. Additional letters for African languages, European and Central Asian languages, Rohingya, Tamazight, Arwi, and Koranic annotation signs."},{name:"U+700–74F",description:"Syriac."},{name:"U+900–97F",description:"Devanagari."},{name:"U+980–9FF",description:"Bengali."},{name:"U+A00–A7F",description:"Gurmukhi."},{name:"U+A80–AFF",description:"Gujarati."},{name:"U+B00–B7F",description:"Oriya."},{name:"U+B80–BFF",description:"Tamil."},{name:"U+C00–C7F",description:"Telugu."},{name:"U+C80–CFF",description:"Kannada."},{name:"U+D00–D7F",description:"Malayalam."},{name:"U+D80–DFF",description:"Sinhala."},{name:"U+118A0–118FF",description:"Warang Citi."},{name:"U+E00–E7F",description:"Thai."},{name:"U+1A20–1AAF",description:"Tai Tham."},{name:"U+AA80–AADF",description:"Tai Viet."},{name:"U+E80–EFF",description:"Lao."},{name:"U+F00–FFF",description:"Tibetan."},{name:"U+1000–109F",description:"Myanmar (Burmese)."},{name:"U+10A0–10FF",description:"Georgian."},{name:"U+1200–137F",description:"Ethiopic."},{name:"U+1380–139F",description:"Ethiopic Supplement. Extra Syllables for Sebatbeit, and Tonal marks"},{name:"U+2D80–2DDF",description:"Ethiopic Extended. Extra Syllables for Me'en, Blin, and Sebatbeit."},{name:"U+AB00–AB2F",description:"Ethiopic Extended-A. Extra characters for Gamo-Gofa-Dawro, Basketo, and Gumuz."},{name:"U+1780–17FF",description:"Khmer."},{name:"U+1800–18AF",description:"Mongolian."},{name:"U+1B80–1BBF",description:"Sundanese."},{name:"U+1CC0–1CCF",description:"Sundanese Supplement. Punctuation."},{name:"U+4E00–9FD5",description:"CJK (Chinese, Japanese, Korean) Unified Ideographs. Most common ideographs for modern Chinese and Japanese."},{name:"U+3400–4DB5",description:"CJK Unified Ideographs Extension A. Rare ideographs."},{name:"U+2F00–2FDF",description:"Kangxi Radicals."},{name:"U+2E80–2EFF",description:"CJK Radicals Supplement. Alternative forms of Kangxi Radicals."},{name:"U+1100–11FF",description:"Hangul Jamo."},{name:"U+AC00–D7AF",description:"Hangul Syllables."},{name:"U+3040–309F",description:"Hiragana."},{name:"U+30A0–30FF",description:"Katakana."},{name:"U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F",description:"Japanese Kanji, Hiragana and Katakana characters plus Yen/Yuan symbol."},{name:"U+A4D0–A4FF",description:"Lisu."},{name:"U+A000–A48F",description:"Yi Syllables."},{name:"U+A490–A4CF",description:"Yi Radicals."},{name:"U+2000-206F",description:"General Punctuation."},{name:"U+3000–303F",description:"CJK Symbols and Punctuation."},{name:"U+2070–209F",description:"Superscripts and Subscripts."},{name:"U+20A0–20CF",description:"Currency Symbols."},{name:"U+2100–214F",description:"Letterlike Symbols."},{name:"U+2150–218F",description:"Number Forms."},{name:"U+2190–21FF",description:"Arrows."},{name:"U+2200–22FF",description:"Mathematical Operators."},{name:"U+2300–23FF",description:"Miscellaneous Technical."},{name:"U+E000-F8FF",description:"Private Use Area."},{name:"U+FB00–FB4F",description:"Alphabetic Presentation Forms. Ligatures for latin, Armenian, and Hebrew."},{name:"U+FB50–FDFF",description:"Arabic Presentation Forms-A. Contextual forms / ligatures for Persian, Urdu, Sindhi, Central Asian languages, etc, Arabic pedagogical symbols, word ligatures."},{name:"U+1F600–1F64F",description:"Emoji: Emoticons."},{name:"U+2600–26FF",description:"Emoji: Miscellaneous Symbols."},{name:"U+1F300–1F5FF",description:"Emoji: Miscellaneous Symbols and Pictographs."},{name:"U+1F900–1F9FF",description:"Emoji: Supplemental Symbols and Pictographs."},{name:"U+1F680–1F6FF",description:"Emoji: Transport and Map Symbols."}],syntax:"<unicode-range>#",description:"@font-face descriptor. Defines the set of Unicode codepoints that may be supported by the font face for which it is declared.",restrictions:["unicode-range"]},{name:"stroke-dasharray",values:[{name:"none",description:"Indicates that no dashing is used."}],description:"Controls the pattern of dashes and gaps used to stroke paths.",restrictions:["length","percentage","number","enum"]},{name:"animation-iteration-count",values:[{name:"infinite",description:"Causes the animation to repeat forever."}],syntax:"<single-animation-iteration-count>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count"}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"image-rendering",browsers:["FF3.6","S6","C13","O15"],values:[{name:"auto",description:"The image should be scaled with an algorithm that maximizes the appearance of the image."},{name:"crisp-edges",description:"The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process."},{name:"-moz-crisp-edges",browsers:["FF3.6","S6","C13","O15"]},{name:"optimizeQuality",description:"Deprecated."},{name:"optimizeSpeed",description:"Deprecated."},{name:"pixelated",description:"When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels."}],syntax:"auto | crisp-edges | pixelated",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-rendering"}],description:"Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm.",restrictions:["enum"]},{name:"border-left-width",syntax:"<line-width>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-width"}],description:"Sets the thickness of the left border.",restrictions:["length","line-width"]},{name:"align-content",values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],syntax:"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"border-bottom-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-bottom-style"}],description:"Sets the style of the bottom border.",restrictions:["line-style"]},{name:"perspective",values:[{name:"none",description:"No perspective transform is applied."}],syntax:"none | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective"}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length","enum"]},{name:"border-top-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-top-style"}],description:"Sets the style of the top border.",restrictions:["line-style"]},{name:"text-size-adjust",status:"experimental",syntax:"none | auto | <percentage>",browsers:["E12","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-size-adjust"}],description:"The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property."},{name:"transform-style",browsers:["E12","FF16","S9","C36","O15"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."},{name:"preserve-3d",browsers:["E12","FF16","S9","C36","O15"],description:"Flattening is not performed, so children maintain their position in 3D space."}],syntax:"flat | preserve-3d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-style"}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"grid-template-columns",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-columns"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","enum"]},{name:"list-style-position",values:[{name:"inside",description:"The marker box is outside the principal block box, as described in the section on the ::marker pseudo-element below."},{name:"outside",description:"The ::marker pseudo-element is an inline element placed immediately before all ::before pseudo-elements in the principal block box, after which the element's content flows."}],syntax:"inside | outside",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-position"}],description:"Specifies the position of the '::marker' pseudo-element's box in the list item.",restrictions:["enum"]},{name:"animation-direction",values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"<single-animation-direction>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-direction"}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"animation-play-state",values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],syntax:"<single-animation-play-state>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation-play-state"}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"hyphens",values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],syntax:"none | manual | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hyphens"}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"quotes",values:[{name:"none",description:"The 'open-quote' and 'close-quote' values of the 'content' property produce no quotations marks, as if they were 'no-open-quote' and 'no-close-quote' respectively."}],syntax:"none | auto | [ <string> <string> ]+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/quotes"}],description:"Specifies quotation marks for any number of embedded quotations.",restrictions:["string"]},{name:"background-origin",syntax:"<box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-origin"}],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"background-attachment",values:[{name:"fixed",description:"The background is fixed with regard to the viewport. In paged media where there is no viewport, a 'fixed' background is fixed with respect to the page box and therefore replicated on every page."},{name:"local",description:"The background is fixed with regard to the element’s contents: if the element has a scrolling mechanism, the background scrolls with the element’s contents."},{name:"scroll",description:"The background is fixed with regard to the element itself and does not scroll with its contents. (It is effectively attached to the element’s border.)"}],syntax:"<attachment>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-attachment"}],description:"Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').",restrictions:["enum"]},{name:"background-position-x",values:[{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"left",description:"Equivalent to '0%' for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset."},{name:"right",description:"Equivalent to '100%' for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ left | right | x-start | x-end ]? <length-percentage>? ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-x"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"background-position-y",values:[{name:"bottom",description:"Equivalent to '100%' for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset."},{name:"center",description:"Equivalent to '50%' ('left 50%') for the horizontal position if the horizontal position is not otherwise specified, or '50%' ('top 50%') for the vertical position if it is."},{name:"top",description:"Equivalent to '0%' for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."}],status:"experimental",syntax:"[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-position-y"}],description:"If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.",restrictions:["length","percentage"]},{name:"font-feature-settings",values:[{name:'"aalt"',description:"Access All Alternates."},{name:'"abvf"',description:"Above-base Forms. Required in Khmer script."},{name:'"abvm"',description:"Above-base Mark Positioning. Required in Indic scripts."},{name:'"abvs"',description:"Above-base Substitutions. Required in Indic scripts."},{name:'"afrc"',description:"Alternative Fractions."},{name:'"akhn"',description:"Akhand. Required in most Indic scripts."},{name:'"blwf"',description:"Below-base Form. Required in a number of Indic scripts."},{name:'"blwm"',description:"Below-base Mark Positioning. Required in Indic scripts."},{name:'"blws"',description:"Below-base Substitutions. Required in Indic scripts."},{name:'"calt"',description:"Contextual Alternates."},{name:'"case"',description:"Case-Sensitive Forms. Applies only to European scripts; particularly prominent in Spanish-language setting."},{name:'"ccmp"',description:"Glyph Composition/Decomposition."},{name:'"cfar"',description:"Conjunct Form After Ro. Required in Khmer scripts."},{name:'"cjct"',description:"Conjunct Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"clig"',description:"Contextual Ligatures."},{name:'"cpct"',description:"Centered CJK Punctuation. Used primarily in Chinese fonts."},{name:'"cpsp"',description:"Capital Spacing. Should not be used in connecting scripts (e.g. most Arabic)."},{name:'"cswh"',description:"Contextual Swash."},{name:'"curs"',description:"Cursive Positioning. Can be used in any cursive script."},{name:'"c2pc"',description:"Petite Capitals From Capitals. Applies only to bicameral scripts."},{name:'"c2sc"',description:"Small Capitals From Capitals. Applies only to bicameral scripts."},{name:'"dist"',description:"Distances. Required in Indic scripts."},{name:'"dlig"',description:"Discretionary ligatures."},{name:'"dnom"',description:"Denominators."},{name:'"dtls"',description:"Dotless Forms. Applied to math formula layout."},{name:'"expt"',description:"Expert Forms. Applies only to Japanese."},{name:'"falt"',description:"Final Glyph on Line Alternates. Can be used in any cursive script."},{name:'"fin2"',description:"Terminal Form #2. Used only with the Syriac script."},{name:'"fin3"',description:"Terminal Form #3. Used only with the Syriac script."},{name:'"fina"',description:"Terminal Forms. Can be used in any alphabetic script."},{name:'"flac"',description:"Flattened ascent forms. Applied to math formula layout."},{name:'"frac"',description:"Fractions."},{name:'"fwid"',description:"Full Widths. Applies to any script which can use monospaced forms."},{name:'"half"',description:"Half Forms. Required in Indic scripts that show similarity to Devanagari."},{name:'"haln"',description:"Halant Forms. Required in Indic scripts."},{name:'"halt"',description:"Alternate Half Widths. Used only in CJKV fonts."},{name:'"hist"',description:"Historical Forms."},{name:'"hkna"',description:"Horizontal Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"hlig"',description:"Historical Ligatures."},{name:'"hngl"',description:"Hangul. Korean only."},{name:'"hojo"',description:"Hojo Kanji Forms (JIS X 0212-1990 Kanji Forms). Used only with Kanji script."},{name:'"hwid"',description:"Half Widths. Generally used only in CJKV fonts."},{name:'"init"',description:"Initial Forms. Can be used in any alphabetic script."},{name:'"isol"',description:"Isolated Forms. Can be used in any cursive script."},{name:'"ital"',description:"Italics. Applies mostly to Latin; note that many non-Latin fonts contain Latin as well."},{name:'"jalt"',description:"Justification Alternates. Can be used in any cursive script."},{name:'"jp78"',description:"JIS78 Forms. Applies only to Japanese."},{name:'"jp83"',description:"JIS83 Forms. Applies only to Japanese."},{name:'"jp90"',description:"JIS90 Forms. Applies only to Japanese."},{name:'"jp04"',description:"JIS2004 Forms. Applies only to Japanese."},{name:'"kern"',description:"Kerning."},{name:'"lfbd"',description:"Left Bounds."},{name:'"liga"',description:"Standard Ligatures."},{name:'"ljmo"',description:"Leading Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"lnum"',description:"Lining Figures."},{name:'"locl"',description:"Localized Forms."},{name:'"ltra"',description:"Left-to-right glyph alternates."},{name:'"ltrm"',description:"Left-to-right mirrored forms."},{name:'"mark"',description:"Mark Positioning."},{name:'"med2"',description:"Medial Form #2. Used only with the Syriac script."},{name:'"medi"',description:"Medial Forms."},{name:'"mgrk"',description:"Mathematical Greek."},{name:'"mkmk"',description:"Mark to Mark Positioning."},{name:'"nalt"',description:"Alternate Annotation Forms."},{name:'"nlck"',description:"NLC Kanji Forms. Used only with Kanji script."},{name:'"nukt"',description:"Nukta Forms. Required in Indic scripts.."},{name:'"numr"',description:"Numerators."},{name:'"onum"',description:"Oldstyle Figures."},{name:'"opbd"',description:"Optical Bounds."},{name:'"ordn"',description:"Ordinals. Applies mostly to Latin script."},{name:'"ornm"',description:"Ornaments."},{name:'"palt"',description:"Proportional Alternate Widths. Used mostly in CJKV fonts."},{name:'"pcap"',description:"Petite Capitals."},{name:'"pkna"',description:"Proportional Kana. Generally used only in Japanese fonts."},{name:'"pnum"',description:"Proportional Figures."},{name:'"pref"',description:"Pre-base Forms. Required in Khmer and Myanmar (Burmese) scripts and southern Indic scripts that may display a pre-base form of Ra."},{name:'"pres"',description:"Pre-base Substitutions. Required in Indic scripts."},{name:'"pstf"',description:"Post-base Forms. Required in scripts of south and southeast Asia that have post-base forms for consonants eg: Gurmukhi, Malayalam, Khmer."},{name:'"psts"',description:"Post-base Substitutions."},{name:'"pwid"',description:"Proportional Widths."},{name:'"qwid"',description:"Quarter Widths. Generally used only in CJKV fonts."},{name:'"rand"',description:"Randomize."},{name:'"rclt"',description:"Required Contextual Alternates. May apply to any script, but is especially important for many styles of Arabic."},{name:'"rlig"',description:"Required Ligatures. Applies to Arabic and Syriac. May apply to some other scripts."},{name:'"rkrf"',description:"Rakar Forms. Required in Devanagari and Gujarati scripts."},{name:'"rphf"',description:"Reph Form. Required in Indic scripts. E.g. Devanagari, Kannada."},{name:'"rtbd"',description:"Right Bounds."},{name:'"rtla"',description:"Right-to-left alternates."},{name:'"rtlm"',description:"Right-to-left mirrored forms."},{name:'"ruby"',description:"Ruby Notation Forms. Applies only to Japanese."},{name:'"salt"',description:"Stylistic Alternates."},{name:'"sinf"',description:"Scientific Inferiors."},{name:'"size"',description:"Optical size."},{name:'"smcp"',description:"Small Capitals. Applies only to bicameral scripts."},{name:'"smpl"',description:"Simplified Forms. Applies only to Chinese and Japanese."},{name:'"ssty"',description:"Math script style alternates."},{name:'"stch"',description:"Stretching Glyph Decomposition."},{name:'"subs"',description:"Subscript."},{name:'"sups"',description:"Superscript."},{name:'"swsh"',description:"Swash. Does not apply to ideographic scripts."},{name:'"titl"',description:"Titling."},{name:'"tjmo"',description:"Trailing Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"tnam"',description:"Traditional Name Forms. Applies only to Japanese."},{name:'"tnum"',description:"Tabular Figures."},{name:'"trad"',description:"Traditional Forms. Applies only to Chinese and Japanese."},{name:'"twid"',description:"Third Widths. Generally used only in CJKV fonts."},{name:'"unic"',description:"Unicase."},{name:'"valt"',description:"Alternate Vertical Metrics. Applies only to scripts with vertical writing modes."},{name:'"vatu"',description:"Vattu Variants. Used for Indic scripts. E.g. Devanagari."},{name:'"vert"',description:"Vertical Alternates. Applies only to scripts with vertical writing modes."},{name:'"vhal"',description:"Alternate Vertical Half Metrics. Used only in CJKV fonts."},{name:'"vjmo"',description:"Vowel Jamo Forms. Required for Hangul script when Ancient Hangul writing system is supported."},{name:'"vkna"',description:"Vertical Kana Alternates. Applies only to fonts that support kana (hiragana and katakana)."},{name:'"vkrn"',description:"Vertical Kerning."},{name:'"vpal"',description:"Proportional Alternate Vertical Metrics. Used mostly in CJKV fonts."},{name:'"vrt2"',description:"Vertical Alternates and Rotation. Applies only to scripts with vertical writing modes."},{name:'"zero"',description:"Slashed Zero."},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",description:"Disable feature."},{name:"on",description:"Enable feature."}],syntax:"normal | <feature-tag-value>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-feature-settings"}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"border-left-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-left-style"}],description:"Sets the style of the left border.",restrictions:["line-style"]},{name:"font-stretch",values:[{name:"condensed"},{name:"expanded"},{name:"extra-condensed"},{name:"extra-expanded"},{name:"narrower",description:"Indicates a narrower value relative to the width of the parent element."},{name:"normal"},{name:"semi-condensed"},{name:"semi-expanded"},{name:"ultra-condensed"},{name:"ultra-expanded"},{name:"wider",description:"Indicates a wider value relative to the width of the parent element."}],syntax:"<font-stretch-absolute>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-stretch"}],description:"Selects a normal, condensed, or expanded face from a font family.",restrictions:["enum"]},{name:"outline-color",values:[{name:"invert",description:"Performs a color inversion on the pixels on the screen."}],syntax:"<color> | invert",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/outline-color"}],description:"The color of the outline.",restrictions:["enum","color"]},{name:"border-right-style",syntax:"<line-style>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-right-style"}],description:"Sets the style of the right border.",restrictions:["line-style"]},{name:"clip-path",values:[{name:"none",description:"No clipping path gets created."},{name:"url()",description:"References a <clipPath> element to create a clipping path."}],syntax:"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/clip-path"}],description:"Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.",restrictions:["url","shape","geometry-box","enum"]},{name:"list-style-image",values:[{name:"none",description:"The default contents of the of the list item’s marker are given by 'list-style-type' instead."}],syntax:"<url> | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/list-style-image"}],description:"Sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.",restrictions:["image"]},{name:"counter-increment",values:[{name:"none",description:"This element does not alter the value of any counters."}],syntax:"[ <custom-ident> <integer>? ]+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-increment"}],description:"Manipulate the value of existing counters.",restrictions:["identifier","integer"]},{name:"counter-reset",values:[{name:"none",description:"The counter is not modified."}],syntax:"[ <custom-ident> <integer>? ]+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-reset"}],description:"Property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer gives the value that the counter is set to on each occurrence of the element.",restrictions:["identifier","integer"]},{name:"font-display",status:"experimental",syntax:"[ auto | block | swap | fallback | optional ]",description:"The font-display descriptor determines how a font face is displayed based on whether and when it is downloaded and ready to use."},{name:"border-image",values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none",description:"Use the border styles."},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],syntax:"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"column-count",values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],syntax:"<integer> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-count"}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer","enum"]},{name:"column-gap",values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],syntax:"normal | <length-percentage>",description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length","enum"]},{name:"text-decoration-color",browsers:["FF36","S12.1","C57","O44"],syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-color"}],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"all",browsers:["FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"object-position",browsers:["E16","FF36","S10","C31","O19"],syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/object-position"}],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"page-break-inside",values:[{name:"auto",description:"Neither force nor forbid a page break inside the generated box."},{name:"avoid",description:"Avoid a page break inside the generated box."}],syntax:"auto | avoid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-inside"}],description:"Defines rules for page breaks inside an element.",restrictions:["enum"]},{name:"stroke-linecap",values:[{name:"butt",description:"Indicates that the stroke for each subpath does not extend beyond its two endpoints."},{name:"round",description:"Indicates that at each end of each subpath, the shape representing the stroke will be extended by a half circle with a radius equal to the stroke width."},{name:"square",description:"Indicates that at the end of each subpath, the shape representing the stroke will be extended by a rectangle with the same width as the stroke width and whose length is half of the stroke width."}],description:"Specifies the shape to be used at the end of open subpaths when they are stroked.",restrictions:["enum"]},{name:"size",browsers:["C","O8"],restrictions:["length"]},{name:"empty-cells",values:[{name:"hide",description:"No borders or backgrounds are drawn around/behind empty cells."},{name:"-moz-show-background"},{name:"show",description:"Borders and backgrounds are drawn around/behind empty cells (like normal cells)."}],syntax:"show | hide",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/empty-cells"}],description:"In the separated borders model, this property controls the rendering of borders and backgrounds around cells that have no visible content.",restrictions:["enum"]},{name:"page-break-after",values:[{name:"always",description:"Always force a page break after the generated box."},{name:"auto",description:"Neither force nor forbid a page break after generated box."},{name:"avoid",description:"Avoid a page break after the generated box."},{name:"left",description:"Force one or two page breaks after the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks after the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-after"}],description:"Defines rules for page breaks after an element.",restrictions:["enum"]},{name:"fill-opacity",description:"Specifies the opacity of the painting operation used to paint the interior the current object.",restrictions:["number(0-1)"]},{name:"grid-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<'grid-row-gap'> <'grid-column-gap'>?",description:"Shorthand that specifies the gutters between grid columns and grid rows in one declaration. Replaced by 'gap' property.",restrictions:["length"]},{name:"margin-block-end",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-end"}],description:"Logical 'margin-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"contain",browsers:["FF69","C52","O40"],values:[{name:"none",description:"Indicates that the property has no effect."},{name:"strict",description:"Turns on all forms of containment for the element."},{name:"content",description:"All containment rules except size are applied to the element."},{name:"size",description:"For properties that can have effects on more than just an element and its descendants, those effects don't escape the containing element."},{name:"layout",description:"Turns on layout containment for the element."},{name:"style",description:"Turns on style containment for the element."},{name:"paint",description:"Turns on paint containment for the element."}],status:"experimental",syntax:"none | strict | content | [ size || layout || style || paint ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/contain"}],description:"Indicates that an element and its contents are, as much as possible, independent of the rest of the document tree.",restrictions:["enum"]},{name:"padding-inline-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-start"}],description:"Logical 'padding-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-start",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-start"}],description:"Logical 'margin-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"margin-inline-end",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline-end"}],description:"Logical 'margin-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"grid-template-rows",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"There is no explicit grid; any rows/columns will be implicitly generated."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Indicates that the grid will align to its parent grid in that axis."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | <track-list> | <auto-track-list> | subgrid <line-name-list>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-rows"}],description:"specifies, as a space-separated track list, the line names and track sizing functions of the grid.",restrictions:["identifier","length","percentage","string","enum"]},{name:"padding-inline-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline-end"}],description:"Logical 'padding-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"stroke-opacity",description:"Specifies the opacity of the painting operation used to stroke the current object.",restrictions:["number(0-1)"]},{name:"orphans",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/orphans"}],description:"Specifies the minimum number of line boxes in a block container that must be left in a fragment before a fragmentation break.",restrictions:["integer"]},{name:"shape-outside",browsers:["FF62","S10.1","C37","O24"],values:[{name:"margin-box",description:"The background is painted within (clipped to) the margin box."},{name:"none",description:"The float area is unaffected."}],syntax:"none | <shape-box> || <basic-shape> | <image>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-outside"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["image","box","shape","enum"]},{name:"caption-side",values:[{name:"bottom",description:"Positions the caption box below the table box."},{name:"top",description:"Positions the caption box above the table box."}],syntax:"top | bottom | block-start | block-end | inline-start | inline-end",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caption-side"}],description:"Specifies the position of the caption box with respect to the table box.",restrictions:["enum"]},{name:"widows",browsers:["E12","S1.3","C25","IE8","O9.2"],syntax:"<integer>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/widows"}],description:"Specifies the minimum number of line boxes of a block container that must be left in a fragment after a break.",restrictions:["integer"]},{name:"grid-column",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column"}],description:"Shorthand for 'grid-column-start' and 'grid-column-end'.",restrictions:["identifier","integer","enum"]},{name:"perspective-origin",syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/perspective-origin"}],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"column-width",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<length> | auto",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-width"}],description:"Describes the width of columns in multicol elements.",restrictions:["length","enum"]},{name:"mix-blend-mode",browsers:["FF32","S8","C41","O28"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["FF32","S8","C41","O28"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode"}],description:"Defines the formula that must be used to mix the colors with the backdrop.",restrictions:["enum"]},{name:"grid-auto-rows",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-rows"}],description:"Specifies the size of implicitly created rows.",restrictions:["length","percentage"]},{name:"font-variant-ligatures",browsers:["FF34","S9.1","C34","O21"],values:[{name:"additional-ligatures",description:"Enables display of additional ligatures."},{name:"common-ligatures",description:"Enables display of common ligatures."},{name:"contextual",browsers:["FF34","S9.1","C34","O21"],description:"Enables display of contextual alternates."},{name:"discretionary-ligatures",description:"Enables display of discretionary ligatures."},{name:"historical-ligatures",description:"Enables display of historical ligatures."},{name:"no-additional-ligatures",description:"Disables display of additional ligatures."},{name:"no-common-ligatures",description:"Disables display of common ligatures."},{name:"no-contextual",browsers:["FF34","S9.1","C34","O21"],description:"Disables display of contextual alternates."},{name:"no-discretionary-ligatures",description:"Disables display of discretionary ligatures."},{name:"no-historical-ligatures",description:"Disables display of historical ligatures."},{name:"none",browsers:["FF34","S9.1","C34","O21"],description:"Disables all ligatures."},{name:"normal",description:"Implies that the defaults set by the font are used."}],syntax:"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-ligatures"}],description:"Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used.",restrictions:["enum"]},{name:"scroll-behavior",browsers:["FF36","C61","O48"],values:[{name:"auto",description:"Scrolls in an instant fashion."},{name:"smooth",description:"Scrolls in a smooth fashion using a user-agent-defined timing function and time period."}],syntax:"auto | smooth",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-behavior"}],description:"Specifies the scrolling behavior for a scrolling box, when scrolling happens due to navigation or CSSOM scrolling APIs.",restrictions:["enum"]},{name:"text-decoration-skip",status:"experimental",syntax:"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]",browsers:["S12.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip"}],description:"The text-decoration-skip CSS property specifies what parts of the element’s content any text decoration affecting the element must skip over. It controls all text decoration lines drawn by the element and also any text decoration lines drawn by its ancestors."},{name:"columns",values:[{name:"auto",description:"The width depends on the values of other properties."}],syntax:"<'column-width'> || <'column-count'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/columns"}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer","enum"]},{name:"column-rule",syntax:"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule"}],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"line-break",values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"loose",description:"Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks text using the most common set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],syntax:"auto | loose | normal | strict | anywhere",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-break"}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"text-align-last",browsers:["E12","FF49","C47","IE5.5","O"],values:[{name:"auto",description:"Content on the affected line is aligned per 'text-align' unless 'text-align' is set to 'justify', in which case it is 'start-aligned'."},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],syntax:"auto | start | end | left | right | center | justify",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-align-last"}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"border-image-width",values:[{name:"auto",description:"The border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."}],syntax:"[ <length-percentage> | <number> | auto ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-width"}],description:"The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.",restrictions:["length","percentage","number"]},{name:"stroke-miterlimit",description:"When two line segments meet at a sharp angle and miter joins have been specified for 'stroke-linejoin', it is possible for the miter to extend far beyond the thickness of the line stroking the path.",restrictions:["number"]},{name:"border-image-repeat",values:[{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],syntax:"[ stretch | repeat | round | space ]{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-repeat"}],description:"Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.",restrictions:["enum"]},{name:"grid-column-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",description:"Specifies the gutters between grid columns. Replaced by 'column-gap' property.",restrictions:["length"]},{name:"border-image-slice",values:[{name:"fill",description:"Causes the middle part of the border-image to be preserved."}],syntax:"<number-percentage>{1,4} && fill?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-slice"}],description:"Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.",restrictions:["number","percentage"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"fill-rule",values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],description:"Indicates the algorithm (or winding rule) which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"border-image-outset",syntax:"[ <length> | <number> ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-outset"}],description:"The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.",restrictions:["length","number"]},{name:"justify-items",values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"},{name:"legacy"}],syntax:"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"break-inside",values:[{name:"auto",description:"Impose no additional breaking constraints within the box."},{name:"avoid",description:"Avoid breaks within the box."},{name:"avoid-column",description:"Avoid a column break within the box."},{name:"avoid-page",description:"Avoid a page break within the box."}],syntax:"auto | avoid | avoid-page | avoid-column | avoid-region",description:"Describes the page/column/region break behavior inside the principal box.",restrictions:["enum"]},{name:"scroll-snap-type",values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],syntax:"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type"}],description:"Defines how strictly snap points are enforced on the scroll container.",restrictions:["enum"]},{name:"text-decoration-line",browsers:["FF36","S12.1","C57","O"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],syntax:"none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-line"}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"scroll-snap-align",syntax:"[ none | start | end | center ]{1,2}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align"}],description:"The scroll-snap-align property specifies the box’s snap position as an alignment of its snap area (as the alignment subject) within its snap container’s snapport (as the alignment container). The two values specify the snapping alignment in the block axis and inline axis, respectively. If only one value is specified, the second value defaults to the same value."},{name:"grid-row",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row"}],description:"Shorthand for 'grid-row-start' and 'grid-row-end'.",restrictions:["identifier","integer","enum"]},{name:"caret-color",browsers:["FF53","S11.1","C57","O44"],values:[{name:"auto",description:"The user agent selects an appropriate color for the caret. This is generally currentcolor, but the user agent may choose a different color to ensure good visibility and contrast with the surrounding content, taking into account the value of currentcolor, the background, shadows, and other factors."}],syntax:"auto | <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/caret-color"}],description:"Controls the color of the text insertion indicator.",restrictions:["color","enum"]},{name:"stroke-linejoin",values:[{name:"bevel",description:"Indicates that a bevelled corner is to be used to join path segments."},{name:"miter",description:"Indicates that a sharp corner is to be used to join path segments."},{name:"round",description:"Indicates that a round corner is to be used to join path segments."}],description:"Specifies the shape to be used at the corners of paths or basic shapes when they are stroked.",restrictions:["enum"]},{name:"grid-area",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line> [ / <grid-line> ]{0,3}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-area"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement. Shorthand for 'grid-row-start', 'grid-column-start', 'grid-row-end', and 'grid-column-end'.",restrictions:["identifier","integer"]},{name:"column-fill",values:[{name:"auto",description:"Fills columns sequentially."},{name:"balance",description:"Balance content equally between columns, if possible."}],syntax:"auto | balance | balance-all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-fill"}],description:"In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.",restrictions:["enum"]},{name:"tab-size",browsers:["FF4","S6.1","C21","O15"],syntax:"<integer> | <length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/tab-size"}],description:"Determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"overflow-anchor",status:"experimental",syntax:"auto | none",browsers:["FF66","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-anchor"}],description:"The overflow-anchor CSS property provides a way to opt out browser scroll anchoring behavior which adjusts scroll position to minimize content shifts."},{name:"border-image-source",values:[{name:"none",description:"Use the border styles."}],syntax:"none | <image>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-image-source"}],description:"Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.",restrictions:["image"]},{name:"grid-template-areas",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"The grid container doesn’t define any named grid areas."}],syntax:"none | <string>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template-areas"}],description:"Specifies named grid areas, which are not associated with any particular grid item, but can be referenced from the grid-placement properties.",restrictions:["string"]},{name:"font-kerning",browsers:["FF32","S7","C32","O19"],values:[{name:"auto",description:"Specifies that kerning is applied at the discretion of the user agent."},{name:"none",description:"Specifies that kerning is not applied."},{name:"normal",description:"Specifies that kerning is applied."}],syntax:"auto | normal | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-kerning"}],description:"Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font.",restrictions:["enum"]},{name:"page-break-before",values:[{name:"always",description:"Always force a page break before the generated box."},{name:"auto",description:"Neither force nor forbid a page break before the generated box."},{name:"avoid",description:"Avoid a page break before the generated box."},{name:"left",description:"Force one or two page breaks before the generated box so that the next page is formatted as a left page."},{name:"right",description:"Force one or two page breaks before the generated box so that the next page is formatted as a right page."}],syntax:"auto | always | avoid | left | right | recto | verso",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/page-break-before"}],description:"Defines rules for page breaks before an element.",restrictions:["enum"]},{name:"text-decoration-style",browsers:["FF36","S12.1","C57","O44"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],syntax:"solid | double | dotted | dashed | wavy",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-style"}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"grid-row-gap",browsers:["FF52","C57","S10.1","O44"],status:"obsolete",syntax:"<length-percentage>",description:"Specifies the gutters between grid rows. Replaced by 'row-gap' property.",restrictions:["length"]},{name:"backdrop-filter",status:"experimental",syntax:"none | <filter-function-list>",browsers:["E17","FF70","S9","C76","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/backdrop-filter"}],description:"The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent."},{name:"grid-auto-flow",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"row",description:"The auto-placement algorithm places items by filling each row in turn, adding new rows as necessary."},{name:"column",description:"The auto-placement algorithm places items by filling each column in turn, adding new columns as necessary."},{name:"dense",description:"If specified, the auto-placement algorithm uses a “dense” packing algorithm, which attempts to fill in holes earlier in the grid if smaller items come up later."}],syntax:"[ row | column ] || dense",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-flow"}],description:"Controls how the auto-placement algorithm works, specifying exactly how auto-placed items get flowed into the grid.",restrictions:["enum"]},{name:"grid-column-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"column-rule-color",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-color"}],description:"Sets the color of the column rule",restrictions:["color"]},{name:"isolation",browsers:["FF36","S8","C41","O30"],values:[{name:"auto",description:"Elements are not isolated unless an operation is applied that causes the creation of a stacking context."},{name:"isolate",description:"In CSS will turn the element into a stacking context."}],syntax:"auto | isolate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/isolation"}],description:"In CSS setting to 'isolate' will turn the element into a stacking context. In SVG, it defines whether an element is isolated or not.",restrictions:["enum"]},{name:"column-rule-style",syntax:"<'border-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-style"}],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"stop-color",description:"Indicates what color to use at that gradient stop.",restrictions:["color"]},{name:"clip-rule",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"evenodd",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses."},{name:"nonzero",description:"Determines the ‘insideness’ of a point on the canvas by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray."}],description:"Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.",restrictions:["enum"]},{name:"background-blend-mode",browsers:["FF30","S8","C35","O22"],values:[{name:"normal",description:"Default attribute which specifies no blending"},{name:"multiply",description:"The source color is multiplied by the destination color and replaces the destination."},{name:"screen",description:"Multiplies the complements of the backdrop and source color values, then complements the result."},{name:"overlay",description:"Multiplies or screens the colors, depending on the backdrop color value."},{name:"darken",description:"Selects the darker of the backdrop and source colors."},{name:"lighten",description:"Selects the lighter of the backdrop and source colors."},{name:"color-dodge",description:"Brightens the backdrop color to reflect the source color."},{name:"color-burn",description:"Darkens the backdrop color to reflect the source color."},{name:"hard-light",description:"Multiplies or screens the colors, depending on the source color value."},{name:"soft-light",description:"Darkens or lightens the colors, depending on the source color value."},{name:"difference",description:"Subtracts the darker of the two constituent colors from the lighter color.."},{name:"exclusion",description:"Produces an effect similar to that of the Difference mode but lower in contrast."},{name:"hue",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the hue of the source color and the saturation and luminosity of the backdrop color."},{name:"saturation",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the saturation of the source color and the hue and luminosity of the backdrop color."},{name:"color",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the hue and saturation of the source color and the luminosity of the backdrop color."},{name:"luminosity",browsers:["FF30","S8","C35","O22"],description:"Creates a color with the luminosity of the source color and the hue and saturation of the backdrop color."}],syntax:"<blend-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/background-blend-mode"}],description:"Defines the blending mode of each background layer.",restrictions:["enum"]},{name:"font-variant-numeric",browsers:["FF34","S9.1","C52","O39"],values:[{name:"diagonal-fractions",description:"Enables display of lining diagonal fractions."},{name:"lining-nums",description:"Enables display of lining numerals."},{name:"normal",description:"None of the features are enabled."},{name:"oldstyle-nums",description:"Enables display of old-style numerals."},{name:"ordinal",description:"Enables display of letter forms used with ordinal numbers."},{name:"proportional-nums",description:"Enables display of proportional numerals."},{name:"slashed-zero",description:"Enables display of slashed zeros."},{name:"stacked-fractions",description:"Enables display of lining stacked fractions."},{name:"tabular-nums",description:"Enables display of tabular numerals."}],syntax:"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-numeric"}],description:"Specifies control over numerical forms.",restrictions:["enum"]},{name:"grid-column-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-column-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"margin-block-start",browsers:["FF41","S12.1","C69","O56"],values:[{name:"auto"}],syntax:"<'margin-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block-start"}],description:"Logical 'margin-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"writing-mode",values:[{name:"horizontal-tb",description:"Top-to-bottom block flow direction. The writing mode is horizontal."},{name:"sideways-lr",description:"Left-to-right block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"sideways-rl",description:"Right-to-left block flow direction. The writing mode is vertical, while the typographic mode is horizontal."},{name:"vertical-lr",description:"Left-to-right block flow direction. The writing mode is vertical."},{name:"vertical-rl",description:"Right-to-left block flow direction. The writing mode is vertical."}],syntax:"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/writing-mode"}],description:"This is a shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"shape-rendering",values:[{name:"auto",description:"Suppresses aural rendering."},{name:"crispEdges",description:"Emphasize the contrast between clean edges of artwork over rendering speed and geometric precision."},{name:"geometricPrecision",description:"Emphasize geometric precision over speed and crisp edges."},{name:"optimizeSpeed",description:"Emphasize rendering speed over geometric precision and crisp edges."}],description:"Provides hints about what tradeoffs to make as it renders vector graphics elements such as <path> elements and basic shapes such as circles and rectangles.",restrictions:["enum"]},{name:"grid-row-start",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-start"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"grid-auto-columns",values:[{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."}],syntax:"<track-size>+",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-auto-columns"}],description:"Specifies the size of implicitly created columns.",restrictions:["length","percentage"]},{name:"break-after",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",description:"Describes the page/column/region break behavior after the generated box.",restrictions:["enum"]},{name:"text-decoration-skip-ink",status:"experimental",syntax:"auto | none",browsers:["FF70","C64","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-skip-ink"}],description:"The text-decoration-skip-ink CSS property specifies how overlines and underlines are drawn when they pass over glyph ascenders and descenders."},{name:"grid-row-end",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"auto",description:"The property contributes nothing to the grid item’s placement, indicating auto-placement, an automatic span, or a default span of one."},{name:"span",description:"Contributes a grid span to the grid item’s placement such that the corresponding edge of the grid item’s grid area is N lines from its opposite edge."}],syntax:"<grid-line>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-row-end"}],description:"Determine a grid item’s size and location within the grid by contributing a line, a span, or nothing (automatic) to its grid placement.",restrictions:["identifier","integer","enum"]},{name:"break-before",values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the principal box."},{name:"avoid",description:"Avoid a break before/after the principal box."},{name:"avoid-column",description:"Avoid a column break before/after the principal box."},{name:"avoid-page",description:"Avoid a page break before/after the principal box."},{name:"column",description:"Always force a column break before/after the principal box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the principal box."},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],syntax:"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region",description:"Describes the page/column/region break behavior before the generated box.",restrictions:["enum"]},{name:"font-variant-caps",browsers:["FF34","C52","O39"],values:[{name:"all-petite-caps",description:"Enables display of petite capitals for both upper and lowercase letters."},{name:"all-small-caps",description:"Enables display of small capitals for both upper and lowercase letters."},{name:"normal",description:"None of the features are enabled."},{name:"petite-caps",description:"Enables display of petite capitals."},{name:"small-caps",description:"Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters."},{name:"titling-caps",description:"Enables display of titling capitals."},{name:"unicase",description:"Enables display of mixture of small capitals for uppercase letters with normal lowercase letters."}],syntax:"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-caps"}],description:"Specifies control over capitalized forms.",restrictions:["enum"]},{name:"stop-opacity",description:"Defines the opacity of a given gradient stop.",restrictions:["number(0-1)"]},{name:"column-span",values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],syntax:"none | all",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-span"}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"text-anchor",values:[{name:"end",description:"The rendered characters are aligned such that the end of the resulting rendered text is at the initial current text position."},{name:"middle",description:"The rendered characters are aligned such that the geometric middle of the resulting rendered text is at the initial current text position."},{name:"start",description:"The rendered characters are aligned such that the start of the resulting rendered text is at the initial current text position."}],description:"Used to align (start-, middle- or end-alignment) a string of text relative to a given point.",restrictions:["enum"]},{name:"column-rule-width",syntax:"<'border-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/column-rule-width"}],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"mask",syntax:"<mask-layer>#",browsers:["E12","FF2","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask"}],description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"text-underline-position",browsers:["E12","C33","IE6","O20"],values:[{name:"above"},{name:"auto",description:"The user agent may use any algorithm to determine the underline’s position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"below",description:"The underline is aligned with the under edge of the element’s content box."}],syntax:"auto | [ under || [ left | right ] ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-position"}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements. This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"mask-type",browsers:["FF35","S6.1","C24","O15"],values:[{name:"alpha",description:"Indicates that the alpha values of the mask should be used."},{name:"luminance",description:"Indicates that the luminance values of the mask should be used."}],syntax:"luminance | alpha",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-type"}],description:"Defines whether the content of the <mask> element is treated as as luminance mask or alpha mask.",restrictions:["enum"]},{name:"font-variant-east-asian",browsers:["FF34","C63","O50"],values:[{name:"full-width",description:"Enables rendering of full-width variants."},{name:"jis04",description:"Enables rendering of JIS04 forms."},{name:"jis78",description:"Enables rendering of JIS78 forms."},{name:"jis83",description:"Enables rendering of JIS83 forms."},{name:"jis90",description:"Enables rendering of JIS90 forms."},{name:"normal",description:"None of the features are enabled."},{name:"proportional-width",description:"Enables rendering of proportionally-spaced variants."},{name:"ruby",description:"Enables display of ruby variant glyphs."},{name:"simplified",description:"Enables rendering of simplified forms."},{name:"traditional",description:"Enables rendering of traditional forms."}],syntax:"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-east-asian"}],description:"Allows control of glyph substitute and positioning in East Asian text.",restrictions:["enum"]},{name:"border-inline-end-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width"}],description:"Logical 'border-right-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-inline-start-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width"}],description:"Logical 'border-left-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"text-orientation",browsers:["FF41","S5.1","C48","O15"],values:[{name:"sideways",browsers:["FF41","S5.1","C48","O15"],description:"This value is equivalent to 'sideways-right' in 'vertical-rl' writing mode and equivalent to 'sideways-left' in 'vertical-lr' writing mode."},{name:"sideways-right",browsers:["FF41","S5.1","C48","O15"],description:"In vertical writing modes, this causes text to be set as if in a horizontal layout, but rotated 90° clockwise."},{name:"upright",description:"In vertical writing modes, characters from horizontal-only scripts are rendered upright, i.e. in their standard horizontal orientation."}],syntax:"mixed | upright | sideways",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-orientation"}],description:"Specifies the orientation of text within a line.",restrictions:["enum"]},{name:"shape-margin",browsers:["FF62","S10.1","C37","O24"],syntax:"<length-percentage>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-margin"}],description:"Adds a margin to a 'shape-outside'. This defines a new shape that is the smallest contour that includes all the points that are the 'shape-margin' distance outward in the perpendicular direction from a point on the underlying shape.",restrictions:["url","length","percentage"]},{name:"shape-image-threshold",browsers:["FF62","S10.1","C37","O24"],syntax:"<alpha-value>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/shape-image-threshold"}],description:"Defines the alpha channel threshold used to extract the shape using an image. A value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque.",restrictions:["number"]},{name:"min-inline-size",browsers:["FF41","S12.1","C57","O44"],syntax:"<'min-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-inline-size"}],description:"Logical 'min-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"inline-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inline-size"}],description:"Logical 'height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"text-combine-upright",syntax:"none | all | [ digits <integer>? ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-combine-upright"}],description:"The text-combine-upright CSS property specifies the combination of multiple characters into the space of a single character. If the combined text is wider than 1em, the user agent must fit the contents within 1em. The resulting composition is treated as a single upright glyph for layout and decoration. This property only has an effect in vertical writing modes.\n\nThis is used to produce an effect that is known as tate-chū-yoko (縦中横) in Japanese, or as 直書橫向 in Chinese."},{name:"block-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"auto",description:"Depends on the values of other properties."}],syntax:"<'width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/block-size"}],description:"Logical 'width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"min-block-size",browsers:["FF41","S12.1","C57","O44"],syntax:"<'min-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/min-block-size"}],description:"Logical 'min-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"padding-block-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-start"}],description:"Logical 'padding-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"padding-block-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'padding-left'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block-end"}],description:"Logical 'padding-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"border-inline-start-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color"}],description:"Logical 'border-left-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color"}],description:"Logical 'border-right-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-inline-end-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style"}],description:"Logical 'border-right-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-inline-start-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style"}],description:"Logical 'border-left-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-style"}],description:"Logical 'border-bottom-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-end-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-color"}],description:"Logical 'border-bottom-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-style",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-style'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-style"}],description:"Logical 'border-top-style'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["line-style"]},{name:"border-block-start-color",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-color"}],description:"Logical 'border-top-color'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["color"]},{name:"border-block-start-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start-width"}],description:"Logical 'border-top-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"border-block-end-width",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end-width"}],description:"Logical 'border-bottom-width'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width"]},{name:"row-gap",syntax:"normal | <length-percentage>",browsers:["E16","FF63","S10.1","C66","O53"],description:"The row-gap CSS property specifies the gutter between grid rows."},{name:"grid-template",browsers:["E16","FF52","S10.1","C57","O44"],values:[{name:"none",description:"Sets all three properties to their initial values."},{name:"min-content",description:"Represents the largest min-content contribution of the grid items occupying the grid track."},{name:"max-content",description:"Represents the largest max-content contribution of the grid items occupying the grid track."},{name:"auto",description:"As a maximum, identical to 'max-content'. As a minimum, represents the largest minimum size (as specified by min-width/min-height) of the grid items occupying the grid track."},{name:"subgrid",description:"Sets 'grid-template-rows' and 'grid-template-columns' to 'subgrid', and 'grid-template-areas' to its initial value."},{name:"minmax()",description:"Defines a size range greater than or equal to min and less than or equal to max."},{name:"repeat()",description:"Represents a repeated fragment of the track list, allowing a large number of columns or rows that exhibit a recurring pattern to be written in a more compact form."}],syntax:"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid-template"}],description:"Shorthand for setting grid-template-columns, grid-template-rows, and grid-template-areas in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"color-interpolation-filters",browsers:["E","C5","FF3","IE10","O9","S6"],values:[{name:"auto",description:"Color operations are not required to occur in a particular color space."},{name:"linearRGB",description:"Color operations should occur in the linearized RGB color space."},{name:"sRGB",description:"Color operations should occur in the sRGB color space."}],description:"Specifies the color space for imaging operations performed via filter effects.",restrictions:["enum"]},{name:"paint-order",browsers:["E17","FF60","S8","C35","O22"],values:[{name:"fill"},{name:"markers"},{name:"normal",description:"The element is painted with the standard order of painting operations: the 'fill' is painted first, then its 'stroke' and finally its markers."},{name:"stroke"}],status:"experimental",syntax:"normal | [ fill || stroke || markers ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/paint-order"}],description:"Controls the order that the three paint operations that shapes and text are rendered with: their fill, their stroke and any markers they might have.",restrictions:["enum"]},{name:"flood-color",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Indicates what color to use to flood the current filter primitive subregion.",restrictions:["color"]},{name:"flood-opacity",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Indicates what opacity to use to flood the current filter primitive subregion.",restrictions:["number(0-1)","percentage"]},{name:"scroll-snap-stop",syntax:"normal | always",browsers:["C75","O62"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop"}],description:'The scroll-snap-stop CSS property defines whether the scroll container is allowed to "pass over" possible snap positions.'},{name:"lighting-color",browsers:["E","C5","FF3","IE10","O9","S6"],description:"Defines the color of the light source for filter primitives 'feDiffuseLighting' and 'feSpecularLighting'.",restrictions:["color"]},{name:"scroll-padding-left",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left"}],description:"The scroll-padding-left property defines offsets for the left of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"marker-end",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at the last vertices of the given markable element.",restrictions:["url"]},{name:"marker-start",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at the first vertices of the given markable element.",restrictions:["url"]},{name:"marker-mid",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker that will be drawn at all vertices except the first and last.",restrictions:["url"]},{name:"offset-distance",status:"experimental",syntax:"<length-percentage>",browsers:["FF69","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-distance"}],description:"The offset-distance CSS property specifies a position along an offset-path."},{name:"place-content",syntax:"<'align-content'> <'justify-content'>?",browsers:["FF53","S9","C59","O"],description:"The place-content CSS shorthand property sets both the align-content and justify-content properties."},{name:"font-variation-settings",syntax:"normal | [ <string> <number> ]#",browsers:["E17","FF62","S11","C62","O49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variation-settings"}],description:"The font-variation-settings CSS property provides low-level control over OpenType or TrueType font variations, by specifying the four letter axis names of the features you want to vary, along with their variation values."},{name:"offset-path",status:"experimental",syntax:"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]",browsers:["FF63","C55","O45"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-path"}],description:'The offset-path CSS property specifies the offset path where the element gets positioned. The exact element’s position on the offset path is determined by the offset-distance property. An offset path is either a specified path with one or multiple sub-paths or the geometry of a not-styled basic shape. Each shape or path must define an initial position for the computed value of "0" for offset-distance and an initial direction which specifies the rotation of the object to the initial position.\n\nIn this specification, a direction (or rotation) of 0 degrees is equivalent to the direction of the positive x-axis in the object’s local coordinate system. In other words, a rotation of 0 degree points to the right side of the UA if the object and its ancestors have no transformation applied.'},{name:"offset-rotate",status:"experimental",syntax:"[ auto | reverse ] || <angle>",browsers:["FF69","C56","O43"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-rotate"}],description:"The offset-rotate CSS property defines the direction of the element while positioning along the offset path."},{name:"max-inline-size",browsers:["FF41","S10.1","C57","O44"],values:[{name:"none",description:"No limit on the height of the box."}],status:"experimental",syntax:"<'max-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-inline-size"}],description:"Logical 'max-height'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"max-block-size",browsers:["FF41","S12.1","C57","O44"],values:[{name:"none",description:"No limit on the width of the box."}],status:"experimental",syntax:"<'max-width'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/max-block-size"}],description:"Logical 'max-width'. Mapping depends on the element’s 'writing-mode'.",restrictions:["length","percentage"]},{name:"scroll-padding",syntax:"[ auto | <length-percentage> ]{1,4}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding"}],description:"The scroll-padding property is a shorthand property which sets all of the scroll-padding longhands, assigning values much like the padding property does for the padding-* longhands."},{name:"transform-box",syntax:"border-box | fill-box | view-box",browsers:["FF55","S11","C64","O51"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/transform-box"}],description:"The transform-box CSS property defines the layout box to which the transform and transform-origin properties relate."},{name:"scroll-padding-top",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top"}],description:"The scroll-padding-top property defines offsets for the top of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"gap",syntax:"<'row-gap'> <'column-gap'>?",browsers:["E16","FF63","S10.1","C66","O53"],description:"The gap CSS property is a shorthand property for row-gap and column-gap specifying the gutters between grid rows and columns."},{name:"scroll-padding-right",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right"}],description:"The scroll-padding-right property defines offsets for the right of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"marker",values:[{name:"none",description:"Indicates that no marker symbol will be drawn at the given vertex or vertices."},{name:"url()",description:"Indicates that the <marker> element referenced will be used."}],description:"Specifies the marker symbol that shall be used for all points on the sets the value for all vertices on the given ‘path’ element or basic shape.",restrictions:["url"]},{name:"scroll-padding-bottom",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom"}],description:"The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-start",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start"}],description:"The scroll-padding-inline-start property defines offsets for the start edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-start",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start"}],description:"The scroll-padding-block-start property defines offsets for the start edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-inline-end",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end"}],description:"The scroll-padding-inline-end property defines offsets for the end edge in the inline dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"scroll-padding-block-end",syntax:"auto | <length-percentage>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end"}],description:"The scroll-padding-block-end property defines offsets for the end edge in the block dimension of the optimal viewing region of the scrollport: the region used as the target region for placing things in view of the user. This allows the author to exclude regions of the scrollport that are obscured by other content (such as fixed-positioned toolbars or sidebars) or simply to put more breathing room between a targeted element and the edges of the scrollport."},{name:"place-self",syntax:"<'align-self'> <'justify-self'>?",browsers:["FF45","C59","O46"],description:"The place-self CSS property is a shorthand property sets both the align-self and justify-self properties. The first value is the align-self property value, the second the justify-self one. If the second value is not present, the first value is also used for it."},{name:"grid",browsers:["E16","FF52","S10.1","C57","O44"],syntax:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/grid"}],description:"The grid CSS property is a shorthand property that sets all of the explicit grid properties ('grid-template-rows', 'grid-template-columns', and 'grid-template-areas'), and all the implicit grid properties ('grid-auto-rows', 'grid-auto-columns', and 'grid-auto-flow'), in a single declaration.",restrictions:["identifier","length","percentage","string","enum"]},{name:"place-items",syntax:"<'align-items'> <'justify-items'>?",browsers:["FF45","S11","C59","O46"],description:"The CSS place-items shorthand property sets both the align-items and justify-items properties. The first value is the align-items property value, the second the justify-items one. If the second value is not present, the first value is also used for it."},{name:"font-optical-sizing",syntax:"auto | none",browsers:["E17","FF62","S11","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-optical-sizing"}],description:"The font-optical-sizing CSS property allows developers to control whether browsers render text with slightly differing visual representations to optimize viewing at different sizes, or not. This only works for fonts that have an optical size variation axis."},{name:"border-block-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-start"}],description:"Logical 'border-top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-block-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-end"}],description:"Logical 'border-bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"border-inline-start",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-start"}],description:"Logical 'border-left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"offset",status:"experimental",syntax:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?",browsers:["FF71","C55","O42"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset"}],description:"The offset CSS property is a shorthand property for animating an element along a defined path."},{name:"border-inline-end",browsers:["FF41","S12.1","C69","O56"],syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-end"}],description:"Logical 'border-right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","line-width","line-style","color"]},{name:"scroll-padding-block",syntax:"[ auto | <length-percentage> ]{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block"}],description:"The scroll-padding-block property is a shorthand property which sets the scroll-padding longhands for the block dimension."},{name:"scroll-padding-inline",syntax:"[ auto | <length-percentage> ]{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline"}],description:"The scroll-padding-inline property is a shorthand property which sets the scroll-padding longhands for the inline dimension."},{name:"motion",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."},{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],description:"Shorthand property for setting 'motion-path', 'motion-offset' and 'motion-rotation'.",restrictions:["url","length","percentage","angle","shape","geometry-box","enum"]},{name:"margin-inline",syntax:"<'margin-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-inline"}],description:"The margin-inline CSS property defines the logical inline start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"padding-block",syntax:"<'padding-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-block"}],description:"The padding-block CSS property defines the logical block start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"padding-inline",syntax:"<'padding-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding-inline"}],description:"The padding-inline CSS property defines the logical inline start and end padding of an element, which maps to physical padding properties depending on the element's writing mode, directionality, and text orientation."},{name:"font-size-adjust",browsers:["FF40","C54","O41"],values:[{name:"none",description:"Do not preserve the font’s x-height."}],syntax:"none | <number>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-size-adjust"}],description:"Preserves the readability of text when font fallback occurs by adjusting the font-size so that the x-height is the same regardless of the font used.",restrictions:["number"]},{name:"motion-path",browsers:["C46","O33"],values:[{name:"none",description:"No motion path gets created."},{name:"path()",description:"Defines an SVG path as a string, with optional 'fill-rule' as the first argument."}],description:"Specifies the motion path the element gets positioned at.",restrictions:["url","shape","geometry-box","enum"]},{name:"text-justify",browsers:["E12","FF55","C32","IE11","O19"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"distribute-all-lines"},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."},{name:"newspaper"}],syntax:"auto | inter-character | inter-word | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-justify"}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"motion-offset",browsers:["C46","O33"],description:"A distance that describes the position along the specified motion path.",restrictions:["length","percentage"]},{name:"inset-block-start",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-start"}],description:"The inset-block-start CSS property defines the logical block start offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset",syntax:"<'top'>{1,4}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset"}],description:"The inset CSS property defines the logical block and inline start and end offsets of an element, which map to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-start",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-start"}],description:"The inset-inline-start CSS property defines the logical inline start inset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline-end",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline-end"}],description:"The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical inset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"scale",syntax:"none | <number>{1,3}",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scale"}],description:"The scale CSS property allows you to specify scale transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"translate",syntax:"none | <length-percentage> [ <length-percentage> <length>? ]?",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/translate"}],description:"The translate CSS property allows you to specify translation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"rotate",syntax:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>",browsers:["FF60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/rotate"}],description:"The rotate CSS property allows you to specify rotation transforms individually and independently of the transform property. This maps better to typical user interface usage, and saves having to remember the exact order of transform functions to specify in the transform value."},{name:"offset-anchor",status:"experimental",syntax:"auto | <position>",browsers:["FF70","C79"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/offset-anchor"}],description:"Defines an anchor point of the box positioned along the path. The anchor point specifies the point of the box which is to be considered as the point that is moved along the path."},{name:"offset-position",status:"experimental",syntax:"auto | <position>",description:"Specifies the initial position of the offset path. If position is specified with static, offset-position would be ignored."},{name:"margin-block",syntax:"<'margin-left'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/margin-block"}],description:"The margin-block CSS property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation."},{name:"user-zoom",syntax:"zoom | fixed",description:"The user-zoom CSS descriptor controls whether or not the user can change the zoom factor of a document defined by @viewport."},{name:"min-zoom",syntax:"auto | <number> | <percentage>",description:"The min-zoom CSS descriptor sets the minimum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"inset-block-end",syntax:"<'top'>",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block-end"}],description:"The inset-block-end CSS property defines the logical block end offset of an element, which maps to a physical offset depending on the element's writing mode, directionality, and text orientation. It corresponds to the top, right, bottom, or left property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"enable-background",values:[{name:"accumulate",description:"If the ancestor container element has a property of new, then all graphics elements within the current container are rendered both on the parent's background image and onto the target."},{name:"new",description:"Create a new background image canvas. All children of the current container element can access the background, and they will be rendered onto both the parent's background image canvas in addition to the target device."}],description:"Deprecated. Use 'isolation' property instead when support allows. Specifies how the accumulation of the background image is managed.",restrictions:["integer","length","percentage","enum"]},{name:"glyph-orientation-horizontal",description:"Controls glyph orientation when the inline-progression-direction is horizontal.",restrictions:["angle","number"]},{name:"glyph-orientation-vertical",values:[{name:"auto",description:"Sets the orientation based on the fullwidth or non-fullwidth characters and the most common orientation."}],description:"Controls glyph orientation when the inline-progression-direction is vertical.",restrictions:["angle","number","enum"]},{name:"kerning",values:[{name:"auto",description:"Indicates that the user agent should adjust inter-glyph spacing based on kerning tables that are included in the font that will be used."}],description:"Indicates whether the user agent should adjust inter-glyph spacing based on kerning tables that are included in the relevant font or instead disable auto-kerning and set inter-character spacing to a specific length.",restrictions:["length","enum"]},{name:"image-orientation",browsers:["FF26"],values:[{name:"flip",description:"After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted."},{name:"from-image",description:"If the image has an orientation specified in its metadata, such as EXIF, this value computes to the angle that the metadata specifies is necessary to correctly orient the image."}],syntax:"from-image | <angle> | [ <angle>? flip ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/image-orientation"}],description:"Specifies an orthogonal rotation to be applied to an image before it is laid out.",restrictions:["angle"]},{name:"image-resolution",status:"experimental",syntax:"[ from-image || <resolution> ] && snap?",description:"The image-resolution property specifies the intrinsic resolution of all raster images used in or on the element. It affects both content images (e.g. replaced elements and generated content) and decorative images (such as background-image). The intrinsic resolution of an image is used to determine the image’s intrinsic dimensions."},{name:"max-zoom",syntax:"auto | <number> | <percentage>",description:"The max-zoom CSS descriptor sets the maximum zoom factor of a document defined by the @viewport at-rule. The browser will not zoom in any further than this, whether automatically or at the user's request.\n\nA zoom factor of 1.0 or 100% corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out."},{name:"orientation",syntax:"auto | portrait | landscape",description:"The orientation CSS @media media feature can be used to apply styles based on the orientation of the viewport (or the page box, for paged media)."},{name:"motion-rotation",browsers:["C46","O33"],values:[{name:"auto",description:"Indicates that the object is rotated by the angle of the direction of the motion path."},{name:"reverse",description:"Indicates that the object is rotated by the angle of the direction of the motion path plus 180 degrees."}],description:"Defines the direction of the element while positioning along the motion path.",restrictions:["angle"]},{name:"scroll-snap-points-x",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x"}],description:"Defines the positioning of snap points along the x axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-points-y",browsers:["FF39","S9"],values:[{name:"none",description:"No snap points are defined by this scroll container."},{name:"repeat()",description:"Defines an interval at which snap points are defined, starting from the container’s relevant start edge."}],status:"obsolete",syntax:"none | repeat( <length-percentage> )",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y"}],description:"Defines the positioning of snap points along the y axis of the scroll container it is applied to.",restrictions:["enum"]},{name:"scroll-snap-coordinate",browsers:["FF39"],values:[{name:"none",description:"Specifies that this element does not contribute a snap point."}],status:"obsolete",syntax:"none | <position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate"}],description:"Defines the x and y coordinate within the element which will align with the nearest ancestor scroll container’s snap-destination for the respective axis.",restrictions:["position","length","percentage","enum"]},{name:"scroll-snap-destination",browsers:["FF39"],status:"obsolete",syntax:"<position>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination"}],description:"Define the x and y coordinate within the scroll container’s visual viewport which element snap points will align with.",restrictions:["position","length","percentage"]},{name:"border-block-color",syntax:"<'border-top-color'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-color"}],description:"The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-style",syntax:"<'border-top-style'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-style"}],description:"The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block-width",syntax:"<'border-top-width'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block-width"}],description:"The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-color",syntax:"<'border-top-color'>{1,2}",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-color"}],description:"The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-style",syntax:"<'border-top-style'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-style"}],description:"The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-inline-width",syntax:"<'border-top-width'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline-width"}],description:"The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation."},{name:"border-block",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-block"}],description:"The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet."},{name:"border-inline",syntax:"<'border-top-width'> || <'border-top-style'> || <'color'>",browsers:["FF66","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-inline"}],description:"The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet."},{name:"inset-block",syntax:"<'top'>{1,2}",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-block"}],description:"The inset-block CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"inset-inline",syntax:"<'top'>{1,2}",browsers:["FF63","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/inset-inline"}],description:"The inset-inline CSS property defines the logical block start and end offsets of an element, which maps to physical offsets depending on the element's writing mode, directionality, and text orientation. It corresponds to the top and bottom, or right and left properties depending on the values defined for writing-mode, direction, and text-orientation."},{name:"additive-symbols",browsers:["FF33"],syntax:"[ <integer> && <symbol> ]#",description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"alt",browsers:["S9"],values:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"behavior",browsers:["IE6"],description:"IE only. Used to extend behaviors of the browser.",restrictions:["url"]},{name:"box-decoration-break",browsers:["FF32","S6.1","C22","O15"],values:[{name:"clone",description:"Each box is independently wrapped with the border and padding."},{name:"slice",description:"The effect is as though the element were rendered with no breaks present, and then sliced by the breaks afterward."}],syntax:"slice | clone",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-decoration-break"}],description:"Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.",restrictions:["enum"]},{name:"fallback",browsers:["FF33"],syntax:"<counter-style-name>",description:"@counter-style descriptor. Specifies a fallback counter style to be used when the current counter style can’t create a representation for a given counter value.",restrictions:["identifier"]},{name:"font-language-override",browsers:["FF34"],values:[{name:"normal",description:"Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering."}],syntax:"normal | <string>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-language-override"}],description:"The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering.",restrictions:["string"]},{name:"font-synthesis",browsers:["FF34","S9"],values:[{name:"none",description:"Disallow all synthetic faces."},{name:"style",description:"Allow synthetic italic faces."},{name:"weight",description:"Allow synthetic bold faces."}],syntax:"none | [ weight || style ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-synthesis"}],description:"Controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces.",restrictions:["enum"]},{name:"font-variant-alternates",browsers:["FF34"],values:[{name:"annotation()",description:"Enables display of alternate annotation forms."},{name:"character-variant()",description:"Enables display of specific character variants."},{name:"historical-forms",description:"Enables display of historical forms."},{name:"normal",description:"None of the features are enabled."},{name:"ornaments()",description:"Enables replacement of default glyphs with ornaments, if provided in the font."},{name:"styleset()",description:"Enables display with stylistic sets."},{name:"stylistic()",description:"Enables display of stylistic alternates."},{name:"swash()",description:"Enables display of swash glyphs."}],syntax:"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-alternates"}],description:"For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs.",restrictions:["enum"]},{name:"font-variant-position",browsers:["FF34"],values:[{name:"normal",description:"None of the features are enabled."},{name:"sub",description:"Enables display of subscript variants (OpenType feature: subs)."},{name:"super",description:"Enables display of superscript variants (OpenType feature: sups)."}],syntax:"normal | sub | super",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/font-variant-position"}],description:"Specifies the vertical position",restrictions:["enum"]},{name:"ime-mode",browsers:["E12","FF3","IE5"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],status:"obsolete",syntax:"auto | normal | active | inactive | disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ime-mode"}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"mask-image",browsers:["E16","FF53","S4","C1","O15"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],syntax:"<mask-reference>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-image"}],description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"mask-mode",browsers:["FF53"],values:[{name:"alpha",description:"Alpha values of the mask layer image should be used as the mask values."},{name:"auto",description:"Use alpha values if 'mask-image' is an image, luminance if a <mask> element or a CSS image."},{name:"luminance",description:"Luminance values of the mask layer image should be used as the mask values."}],syntax:"<masking-mode>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-mode"}],description:"Indicates whether the mask layer image is treated as luminance mask or alpha mask.",restrictions:["url","image","enum"]},{name:"mask-origin",browsers:["FF53","S4","C1","O15"],syntax:"<geometry-box>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-origin"}],description:"Specifies the mask positioning area.",restrictions:["geometry-box","enum"]},{name:"mask-position",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<position>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-position"}],description:"Specifies how mask layer images are positioned.",restrictions:["position","length","percentage"]},{name:"mask-repeat",browsers:["E18","FF53","S3.2","C1","O15"],syntax:"<repeat-style>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-repeat"}],description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"mask-size",browsers:["E18","FF53","S4","C4","O15"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],syntax:"<bg-size>#",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-size"}],description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-moz-animation",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-moz-animation-delay",browsers:["FF9"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-moz-animation-direction",browsers:["FF9"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-moz-animation-duration",browsers:["FF9"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-moz-animation-iteration-count",browsers:["FF9"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-moz-animation-name",browsers:["FF9"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-moz-animation-play-state",browsers:["FF9"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-moz-animation-timing-function",browsers:["FF9"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-moz-appearance",browsers:["FF1"],values:[{name:"button"},{name:"button-arrow-down"},{name:"button-arrow-next"},{name:"button-arrow-previous"},{name:"button-arrow-up"},{name:"button-bevel"},{name:"checkbox"},{name:"checkbox-container"},{name:"checkbox-label"},{name:"dialog"},{name:"groupbox"},{name:"listbox"},{name:"menuarrow"},{name:"menuimage"},{name:"menuitem"},{name:"menuitemtext"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"menupopup"},{name:"menuradio"},{name:"menuseparator"},{name:"-moz-mac-unified-toolbar"},{name:"-moz-win-borderless-glass"},{name:"-moz-win-browsertabbar-toolbox"},{name:"-moz-win-communications-toolbox"},{name:"-moz-win-glass"},{name:"-moz-win-media-toolbox"},{name:"none"},{name:"progressbar"},{name:"progresschunk"},{name:"radio"},{name:"radio-container"},{name:"radio-label"},{name:"radiomenuitem"},{name:"resizer"},{name:"resizerpanel"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbar-small"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"separator"},{name:"spinner"},{name:"spinner-downbutton"},{name:"spinner-textfield"},{name:"spinner-upbutton"},{name:"statusbar"},{name:"statusbarpanel"},{name:"tab"},{name:"tabpanels"},{name:"tab-scroll-arrow-back"},{name:"tab-scroll-arrow-forward"},{name:"textfield"},{name:"textfield-multiline"},{name:"toolbar"},{name:"toolbox"},{name:"tooltip"},{name:"treeheadercell"},{name:"treeheadersortarrow"},{name:"treeitem"},{name:"treetwistyopen"},{name:"treeview"},{name:"treewisty"},{name:"window"}],status:"nonstandard",syntax:"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized",description:"Used in Gecko (Firefox) to display an element using a platform-native styling based on the operating system's theme.",restrictions:["enum"]},{name:"-moz-backface-visibility",browsers:["FF10"],values:[{name:"hidden"},{name:"visible"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-moz-background-clip",browsers:["FF1-3.6"],values:[{name:"padding"}],description:"Determines the background painting area.",restrictions:["box","enum"]},{name:"-moz-background-inline-policy",browsers:["FF1"],values:[{name:"bounding-box"},{name:"continuous"},{name:"each-box"}],description:"In Gecko-based applications like Firefox, the -moz-background-inline-policy CSS property specifies how the background image of an inline element is determined when the content of the inline element wraps onto multiple lines. The choice of position has significant effects on repetition.",restrictions:["enum"]},{name:"-moz-background-origin",browsers:["FF1"],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-moz-border-bottom-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-bottom-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-image",browsers:["FF3.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-moz-border-left-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-left-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-right-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-right-colors"}],description:"Sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-border-top-colors",browsers:["FF1"],status:"nonstandard",syntax:"<color>+ | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-border-top-colors"}],description:"Ske Firefox, -moz-border-bottom-colors sets a list of colors for the bottom border.",restrictions:["color"]},{name:"-moz-box-align",browsers:["FF1"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],description:"Specifies how a XUL box aligns its contents across (perpendicular to) the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-direction",browsers:["FF1"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],description:"Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-moz-box-flex",browsers:["FF1"],description:"Specifies how a box grows to fill the box that contains it, in the direction of the containing box's layout.",restrictions:["number"]},{name:"-moz-box-flexgroup",browsers:["FF1"],description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-moz-box-ordinal-group",browsers:["FF1"],description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-moz-box-orient",browsers:["FF1"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],description:"In Mozilla applications, -moz-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-moz-box-pack",browsers:["FF1"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],description:"Specifies how a box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.",restrictions:["enum"]},{name:"-moz-box-sizing",browsers:["FF1"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."},{name:"padding-box",description:"The specified width and height (and respective min/max properties) on this element determine the padding box of the element."}],description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-moz-column-count",browsers:["FF3.5"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-moz-column-gap",browsers:["FF3.5"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-moz-column-rule",browsers:["FF3.5"],description:"Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-moz-column-rule-color",browsers:["FF3.5"],description:"Sets the color of the column rule",restrictions:["color"]},{name:"-moz-column-rule-style",browsers:["FF3.5"],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-moz-column-rule-width",browsers:["FF3.5"],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-moz-columns",browsers:["FF9"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-moz-column-width",browsers:["FF3.5"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-moz-font-feature-settings",browsers:["FF4"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off",browsers:["FF4"]},{name:"on",browsers:["FF4"]}],description:"Provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-moz-hyphens",browsers:["FF9"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-moz-perspective",browsers:["FF10"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-moz-perspective-origin",browsers:["FF10"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-moz-text-align-last",browsers:["FF12"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-moz-text-decoration-color",browsers:["FF6"],description:"Specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with text-decoration-line.",restrictions:["color"]},{name:"-moz-text-decoration-line",browsers:["FF6"],values:[{name:"line-through",description:"Each line of text has a line through the middle."},{name:"none",description:"Neither produces nor inhibits text decoration."},{name:"overline",description:"Each line of text has a line above it."},{name:"underline",description:"Each line of text is underlined."}],description:"Specifies what line decorations, if any, are added to the element.",restrictions:["enum"]},{name:"-moz-text-decoration-style",browsers:["FF6"],values:[{name:"dashed",description:"Produces a dashed line style."},{name:"dotted",description:"Produces a dotted line."},{name:"double",description:"Produces a double line."},{name:"none",description:"Produces no line."},{name:"solid",description:"Produces a solid line."},{name:"wavy",description:"Produces a wavy line."}],description:"Specifies the line style for underline, line-through and overline text decoration.",restrictions:["enum"]},{name:"-moz-text-size-adjust",browsers:["FF"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-moz-transform",browsers:["FF3.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-moz-transform-origin",browsers:["FF3.5"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-moz-transition",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-moz-transition-delay",browsers:["FF4"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-moz-transition-duration",browsers:["FF4"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-moz-transition-property",browsers:["FF4"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-moz-transition-timing-function",browsers:["FF4"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-moz-user-focus",browsers:["FF1"],values:[{name:"ignore"},{name:"normal"}],status:"nonstandard",syntax:"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-focus"}],description:"Used to indicate whether the element can have focus."},{name:"-moz-user-select",browsers:["FF1.5"],values:[{name:"all"},{name:"element"},{name:"elements"},{name:"-moz-all"},{name:"-moz-none"},{name:"none"},{name:"text"},{name:"toggle"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-accelerator",browsers:["E","IE10"],values:[{name:"false",description:"The element does not contain an accelerator key sequence."},{name:"true",description:"The element contains an accelerator key sequence."}],status:"nonstandard",syntax:"false | true",description:"IE only. Has the ability to turn off its system underlines for accelerator keys until the ALT key is pressed",restrictions:["enum"]},{name:"-ms-behavior",browsers:["IE8"],description:"IE only. Used to extend behaviors of the browser",restrictions:["url"]},{name:"-ms-block-progression",browsers:["IE8"],values:[{name:"bt",description:"Bottom-to-top block flow. Layout is horizontal."},{name:"lr",description:"Left-to-right direction. The flow orientation is vertical."},{name:"rl",description:"Right-to-left direction. The flow orientation is vertical."},{name:"tb",description:"Top-to-bottom direction. The flow orientation is horizontal."}],status:"nonstandard",syntax:"tb | rl | bt | lr",description:"Sets the block-progression value and the flow orientation",restrictions:["enum"]},{name:"-ms-content-zoom-chaining",browsers:["E","IE10"],values:[{name:"chained",description:"The nearest zoomable parent element begins zooming when the user hits a zoom limit during a manipulation. No bounce effect is shown."},{name:"none",description:"A bounce effect is shown when the user hits a zoom limit during a manipulation."}],status:"nonstandard",syntax:"none | chained",description:"Specifies the zoom behavior that occurs when a user hits the zoom limit during a manipulation."},{name:"-ms-content-zooming",browsers:["E","IE10"],values:[{name:"none",description:"The element is not zoomable."},{name:"zoom",description:"The element is zoomable."}],status:"nonstandard",syntax:"none | zoom",description:"Specifies whether zooming is enabled.",restrictions:["enum"]},{name:"-ms-content-zoom-limit",browsers:["E","IE10"],status:"nonstandard",syntax:"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>",description:"Shorthand property for the -ms-content-zoom-limit-min and -ms-content-zoom-limit-max properties.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-max",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",description:"Specifies the maximum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-limit-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage>",description:"Specifies the minimum zoom factor.",restrictions:["percentage"]},{name:"-ms-content-zoom-snap",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'},{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>",description:"Shorthand property for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties."},{name:"-ms-content-zoom-snap-points",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)",description:"Specifies where the snap-points will be placed."},{name:"snapList()",description:"Specifies the position of individual snap-points as a comma-separated list of zoom factors."}],status:"nonstandard",syntax:"snapInterval( <percentage>, <percentage> ) | snapList( <percentage># )",description:"Defines where zoom snap-points are located."},{name:"-ms-content-zoom-snap-type",browsers:["E","IE10"],values:[{name:"mandatory",description:"Indicates that the motion of the content after the contact is picked up is always adjusted so that it lands on a snap-point."},{name:"none",description:"Indicates that zooming is unaffected by any defined snap-points."},{name:"proximity",description:'Indicates that the motion of the content after the contact is picked up may be adjusted if the content would normally stop "close enough" to a snap-point.'}],status:"nonstandard",syntax:"none | proximity | mandatory",description:"Specifies how zooming is affected by defined snap-points.",restrictions:["enum"]},{name:"-ms-filter",browsers:["IE8-9"],status:"nonstandard",syntax:"<string>",description:"IE only. Used to produce visual effects.",restrictions:["string"]},{name:"-ms-flex",browsers:["IE10"],values:[{name:"auto",description:"Retrieves the value of the main size property as the used 'flex-basis'."},{name:"none",description:"Expands to '0 0 auto'."}],description:"specifies the parameters of a flexible length: the positive and negative flexibility, and the preferred size.",restrictions:["length","number","percentage"]},{name:"-ms-flex-align",browsers:["IE10"],values:[{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flexbox item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flexbox item is anything other than 'auto', this value is identical to 'start'."}],description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-direction",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"row-reverse",description:"Same as 'row', except the main-start and main-end directions are swapped."}],description:"Specifies how flex items are placed in the flex container, by setting the direction of the flex container’s main axis.",restrictions:["enum"]},{name:"-ms-flex-flow",browsers:["IE10"],values:[{name:"column",description:"The flex container’s main axis has the same orientation as the block axis of the current writing mode."},{name:"column-reverse",description:"Same as 'column', except the main-start and main-end directions are swapped."},{name:"nowrap",description:"The flex container is single-line."},{name:"row",description:"The flex container’s main axis has the same orientation as the inline axis of the current writing mode."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],description:"Specifies how flexbox items are placed in the flexbox.",restrictions:["enum"]},{name:"-ms-flex-item-align",browsers:["IE10"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element’s parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"baseline",description:"If the flex item’s inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item’s margin box is centered in the cross axis within the line."},{name:"end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."}],description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"-ms-flex-line-pack",browsers:["IE10"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"distribute",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"end",description:"Lines are packed toward the end of the flex container."},{name:"justify",description:"Lines are evenly distributed in the flex container."},{name:"start",description:"Lines are packed toward the start of the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."}],description:"Aligns a flex container’s lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"-ms-flex-order",browsers:["IE10"],description:"Controls the order in which children of a flex container appear within the flex container, by assigning them to ordinal groups.",restrictions:["integer"]},{name:"-ms-flex-pack",browsers:["IE10"],values:[{name:"center",description:"Flex items are packed toward the center of the line."},{name:"distribute",description:"Flex items are evenly distributed in the line, with half-size spaces on either end."},{name:"end",description:"Flex items are packed toward the end of the line."},{name:"justify",description:"Flex items are evenly distributed in the line."},{name:"start",description:"Flex items are packed toward the start of the line."}],description:"Aligns flex items along the main axis of the current line of the flex container.",restrictions:["enum"]},{name:"-ms-flex-wrap",browsers:["IE10"],values:[{name:"nowrap",description:"The flex container is single-line."},{name:"wrap",description:"The flexbox is multi-line."},{name:"wrap-reverse",description:"Same as 'wrap', except the cross-start and cross-end directions are swapped."}],description:"Controls whether the flex container is single-line or multi-line, and the direction of the cross-axis, which determines the direction new lines are stacked in.",restrictions:["enum"]},{name:"-ms-flow-from",browsers:["E","IE10"],values:[{name:"none",description:"The block container is not a CSS Region."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-ms-flow-into",browsers:["E","IE10"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],status:"nonstandard",syntax:"[ none | <custom-ident> ]#",description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-ms-grid-column",browsers:["E","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],description:"Used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-column-align",browsers:["E","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's column."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's column."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's column."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's column."}],description:"Aligns the columns in a grid.",restrictions:["enum"]},{name:"-ms-grid-columns",browsers:["E","IE10"],description:"Lays out the columns of the grid."},{name:"-ms-grid-column-span",browsers:["E","IE10"],description:"Specifies the number of columns to span.",restrictions:["integer"]},{name:"-ms-grid-layer",browsers:["E","IE10"],description:"Grid-layer is similar in concept to z-index, but avoids overloading the meaning of the z-index property, which is applicable only to positioned elements.",restrictions:["integer"]},{name:"-ms-grid-row",browsers:["E","IE10"],values:[{name:"auto"},{name:"end"},{name:"start"}],description:"grid-row is used to place grid items and explicitly defined grid cells in the Grid.",restrictions:["integer","string","enum"]},{name:"-ms-grid-row-align",browsers:["E","IE10"],values:[{name:"center",description:"Places the center of the Grid Item's margin box at the center of the Grid Item's row."},{name:"end",description:"Aligns the end edge of the Grid Item's margin box to the end edge of the Grid Item's row."},{name:"start",description:"Aligns the starting edge of the Grid Item's margin box to the starting edge of the Grid Item's row."},{name:"stretch",description:"Ensures that the Grid Item's margin box is equal to the size of the Grid Item's row."}],description:"Aligns the rows in a grid.",restrictions:["enum"]},{name:"-ms-grid-rows",browsers:["E","IE10"],description:"Lays out the columns of the grid."},{name:"-ms-grid-row-span",browsers:["E","IE10"],description:"Specifies the number of rows to span.",restrictions:["integer"]},{name:"-ms-high-contrast-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Properties will be adjusted as applicable."},{name:"none",description:"No adjustments will be applied."}],status:"nonstandard",syntax:"auto | none",description:"Specifies if properties should be adjusted in high contrast mode.",restrictions:["enum"]},{name:"-ms-hyphenate-limit-chars",browsers:["E","IE10"],values:[{name:"auto",description:"The user agent chooses a value that adapts to the current layout."}],status:"nonstandard",syntax:"auto | <integer>{1,3}",description:"Specifies the minimum number of characters in a hyphenated word.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-lines",browsers:["E","IE10"],values:[{name:"no-limit",description:"There is no limit."}],status:"nonstandard",syntax:"no-limit | <integer>",description:"Indicates the maximum number of successive hyphenated lines in an element.",restrictions:["integer"]},{name:"-ms-hyphenate-limit-zone",browsers:["E","IE10"],status:"nonstandard",syntax:"<percentage> | <length>",description:"Specifies the maximum amount of unfilled space (before justification) that may be left in the line box before hyphenation is triggered to pull part of a word from the next line back up into the current line.",restrictions:["percentage","length"]},{name:"-ms-hyphens",browsers:["E","IE10"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-ms-ime-mode",browsers:["IE10"],values:[{name:"active",description:"The input method editor is initially active; text entry is performed using it unless the user specifically dismisses it."},{name:"auto",description:"No change is made to the current input method editor state. This is the default."},{name:"disabled",description:"The input method editor is disabled and may not be activated by the user."},{name:"inactive",description:"The input method editor is initially inactive, but the user may activate it if they wish."},{name:"normal",description:"The IME state should be normal; this value can be used in a user style sheet to override the page setting."}],description:"Controls the state of the input method editor for text fields.",restrictions:["enum"]},{name:"-ms-interpolation-mode",browsers:["IE7"],values:[{name:"bicubic"},{name:"nearest-neighbor"}],description:"Gets or sets the interpolation (resampling) method used to stretch images.",restrictions:["enum"]},{name:"-ms-layout-grid",browsers:["E","IE10"],values:[{name:"char",description:"Any of the range of character values available to the -ms-layout-grid-char property."},{name:"line",description:"Any of the range of line values available to the -ms-layout-grid-line property."},{name:"mode",description:"Any of the range of mode values available to the -ms-layout-grid-mode property."},{name:"type",description:"Any of the range of type values available to the -ms-layout-grid-type property."}],description:"Sets or retrieves the composite document grid properties that specify the layout of text characters."},{name:"-ms-layout-grid-char",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No character grid is set."}],description:"Sets or retrieves the size of the character grid used for rendering the text content of an element.",restrictions:["enum","length","percentage"]},{name:"-ms-layout-grid-line",browsers:["E","IE10"],values:[{name:"auto",description:"Largest character in the font of the element is used to set the character grid."},{name:"none",description:"Default. No grid line is set."}],description:"Sets or retrieves the gridline value used for rendering the text content of an element.",restrictions:["length"]},{name:"-ms-layout-grid-mode",browsers:["E","IE10"],values:[{name:"both",description:"Default. Both the char and line grid modes are enabled. This setting is necessary to fully enable the layout grid on an element."},{name:"char",description:"Only a character grid is used. This is recommended for use with block-level elements, such as a blockquote, where the line grid is intended to be disabled."},{name:"line",description:"Only a line grid is used. This is recommended for use with inline elements, such as a span, to disable the horizontal grid on runs of text that act as a single entity in the grid layout."},{name:"none",description:"No grid is used."}],description:"Gets or sets whether the text layout grid uses two dimensions.",restrictions:["enum"]},{name:"-ms-layout-grid-type",browsers:["E","IE10"],values:[{name:"fixed",description:"Grid used for monospaced layout. All noncursive characters are treated as equal; every character is centered within a single grid space by default."},{name:"loose",description:"Default. Grid used for Japanese and Korean characters."},{name:"strict",description:"Grid used for Chinese, as well as Japanese (Genko) and Korean characters. Only the ideographs, kanas, and wide characters are snapped to the grid."}],description:"Sets or retrieves the type of grid used for rendering the text content of an element.",restrictions:["enum"]},{name:"-ms-line-break",browsers:["E","IE10"],values:[{name:"auto",description:"The UA determines the set of line-breaking restrictions to use for CJK scripts, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines."},{name:"keep-all",description:"Sequences of CJK characters can no longer break on implied break points. This option should only be used where the presence of word separator characters still creates line-breaking opportunities, as in Korean."},{name:"newspaper",description:"Breaks CJK scripts using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers."},{name:"normal",description:"Breaks CJK scripts using a normal set of line-breaking rules."},{name:"strict",description:"Breaks CJK scripts using a more restrictive set of line-breaking rules than 'normal'."}],description:"Specifies what set of line breaking restrictions are in effect within the element.",restrictions:["enum"]},{name:"-ms-overflow-style",browsers:["E","IE10"],values:[{name:"auto",description:"No preference, UA should use the first scrolling method in the list that it supports."},{name:"-ms-autohiding-scrollbar",description:"Indicates the element displays auto-hiding scrollbars during mouse interactions and panning indicators during touch and keyboard interactions."},{name:"none",description:"Indicates the element does not display scrollbars or panning indicators, even when its content overflows."},{name:"scrollbar",description:'Scrollbars are typically narrow strips inserted on one or two edges of an element and which often have arrows to click on and a "thumb" to drag up and down (or left and right) to move the contents of the element.'}],status:"nonstandard",syntax:"auto | none | scrollbar | -ms-autohiding-scrollbar",description:"Specify whether content is clipped when it overflows the element's content area.",restrictions:["enum"]},{name:"-ms-perspective",browsers:["IE10"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-ms-perspective-origin",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-x",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the X position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-perspective-origin-y",browsers:["IE10"],description:"Establishes the origin for the perspective property. It effectively sets the Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-ms-progress-appearance",browsers:["IE10"],values:[{name:"bar"},{name:"ring"}],description:"Gets or sets a value that specifies whether a progress control displays as a bar or a ring.",restrictions:["enum"]},{name:"-ms-scrollbar-3dlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-arrow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"-ms-scrollbar-base-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"-ms-scrollbar-darkshadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-face-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-highlight-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-shadow-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"-ms-scrollbar-track-color",browsers:["IE8"],status:"nonstandard",syntax:"<color>",description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"-ms-scroll-chaining",browsers:["E","IE10"],values:[{name:"chained"},{name:"none"}],status:"nonstandard",syntax:"chained | none",description:"Gets or sets a value that indicates the scrolling behavior that occurs when a user hits the content boundary during a manipulation.",restrictions:["enum","length"]},{name:"-ms-scroll-limit",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.",restrictions:["length"]},{name:"-ms-scroll-limit-x-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",description:"Gets or sets a value that specifies the maximum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-x-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that specifies the minimum value for the scrollLeft property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-max",browsers:["E","IE10"],values:[{name:"auto"}],status:"nonstandard",syntax:"auto | <length>",description:"Gets or sets a value that specifies the maximum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-limit-y-min",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that specifies the minimum value for the scrollTop property.",restrictions:["length"]},{name:"-ms-scroll-rails",browsers:["E","IE10"],values:[{name:"none"},{name:"railed"}],status:"nonstandard",syntax:"none | railed",description:"Gets or sets a value that indicates whether or not small motions perpendicular to the primary axis of motion will result in either changes to both the scrollTop and scrollLeft properties or a change to the primary axis (for instance, either the scrollTop or scrollLeft properties will change, but not both).",restrictions:["enum","length"]},{name:"-ms-scroll-snap-points-x",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",description:"Gets or sets a value that defines where snap-points will be located along the x-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-points-y",browsers:["E","IE10"],values:[{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"snapInterval( <length-percentage>, <length-percentage> ) | snapList( <length-percentage># )",description:"Gets or sets a value that defines where snap-points will be located along the y-axis.",restrictions:["enum"]},{name:"-ms-scroll-snap-type",browsers:["E","IE10"],values:[{name:"none",description:"The visual viewport of this scroll container must ignore snap points, if any, when scrolled."},{name:"mandatory",description:"The visual viewport of this scroll container is guaranteed to rest on a snap point when there are no active scrolling operations."},{name:"proximity",description:"The visual viewport of this scroll container may come to rest on a snap point at the termination of a scroll at the discretion of the UA given the parameters of the scroll."}],status:"nonstandard",syntax:"none | proximity | mandatory",description:"Gets or sets a value that defines what type of snap-point should be used for the current element. There are two type of snap-points, with the primary difference being whether or not the user is guaranteed to always stop on a snap-point.",restrictions:["enum"]},{name:"-ms-scroll-snap-x",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-x properties.",restrictions:["enum"]},{name:"-ms-scroll-snap-y",browsers:["E","IE10"],values:[{name:"mandatory"},{name:"none"},{name:"proximity"},{name:"snapInterval(100%, 100%)"},{name:"snapList()"}],status:"nonstandard",syntax:"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>",description:"Gets or sets a shorthand value that sets values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.",restrictions:["enum"]},{name:"-ms-scroll-translation",browsers:["E","IE10"],values:[{name:"none"},{name:"vertical-to-horizontal"}],status:"nonstandard",syntax:"none | vertical-to-horizontal",description:"Gets or sets a value that specifies whether vertical-to-horizontal scroll wheel translation occurs on the specified element.",restrictions:["enum"]},{name:"-ms-text-align-last",browsers:["E","IE8"],values:[{name:"auto"},{name:"center",description:"The inline contents are centered within the line box."},{name:"justify",description:"The text is justified according to the method specified by the 'text-justify' property."},{name:"left",description:"The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text."},{name:"right",description:"The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text."}],description:"Describes how the last line of a block or a line right before a forced line break is aligned when 'text-align' is set to 'justify'.",restrictions:["enum"]},{name:"-ms-text-autospace",browsers:["E","IE8"],values:[{name:"ideograph-alpha",description:"Creates 1/4em extra spacing between runs of ideographic letters and non-ideographic letters, such as Latin-based, Cyrillic, Greek, Arabic or Hebrew."},{name:"ideograph-numeric",description:"Creates 1/4em extra spacing between runs of ideographic letters and numeric glyphs."},{name:"ideograph-parenthesis",description:"Creates extra spacing between normal (non wide) parenthesis and ideographs."},{name:"ideograph-space",description:"Extends the width of the space character while surrounded by ideographs."},{name:"none",description:"No extra space is created."},{name:"punctuation",description:"Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions."}],status:"nonstandard",syntax:"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space",description:"Determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its 'ink' lines up with the first glyph in the line above and below.",restrictions:["enum"]},{name:"-ms-text-combine-horizontal",browsers:["E","IE11"],values:[{name:"all",description:"Attempt to typeset horizontally all consecutive characters within the box such that they take up the space of a single character within the vertical line box."},{name:"digits",description:"Attempt to typeset horizontally each maximal sequence of consecutive ASCII digits (U+0030–U+0039) that has as many or fewer characters than the specified integer such that it takes up the space of a single character within the vertical line box."},{name:"none",description:"No special processing."}],description:"This property specifies the combination of multiple characters into the space of a single character.",restrictions:["enum","integer"]},{name:"-ms-text-justify",browsers:["E","IE8"],values:[{name:"auto",description:"The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality."},{name:"distribute",description:"Justification primarily changes spacing both at word separators and at grapheme cluster boundaries in all scripts except those in the connected and cursive groups. This value is sometimes used in e.g. Japanese, often with the 'text-align-last' property."},{name:"inter-cluster",description:"Justification primarily changes spacing at word separators and at grapheme cluster boundaries in clustered scripts. This value is typically used for Southeast Asian scripts such as Thai."},{name:"inter-ideograph",description:"Justification primarily changes spacing at word separators and at inter-graphemic boundaries in scripts that use no word spaces. This value is typically used for CJK languages."},{name:"inter-word",description:"Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or (sometimes) Korean."},{name:"kashida",description:"Justification primarily stretches Arabic and related scripts through the use of kashida or other calligraphic elongation."}],description:"Selects the justification algorithm used when 'text-align' is set to 'justify'. The property applies to block containers, but the UA may (but is not required to) also support it on inline elements.",restrictions:["enum"]},{name:"-ms-text-kashida-space",browsers:["E","IE10"],description:"Sets or retrieves the ratio of kashida expansion to white space expansion when justifying lines of text in the object.",restrictions:["percentage"]},{name:"-ms-text-overflow",browsers:["IE10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-ms-text-size-adjust",browsers:["E","IE10"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["enum","percentage"]},{name:"-ms-text-underline-position",browsers:["E","IE10"],values:[{name:"alphabetic",description:"The underline is aligned with the alphabetic baseline. In this case the underline is likely to cross some descenders."},{name:"auto",description:"The user agent may use any algorithm to determine the underline's position. In horizontal line layout, the underline should be aligned as for alphabetic. In vertical line layout, if the language is set to Japanese or Korean, the underline should be aligned as for over."},{name:"over",description:"The underline is aligned with the 'top' (right in vertical writing) edge of the element's em-box. In this mode, an overline also switches sides."},{name:"under",description:"The underline is aligned with the 'bottom' (left in vertical writing) edge of the element's em-box. In this case the underline usually does not cross the descenders. This is sometimes called 'accounting' underline."}],description:"Sets the position of an underline specified on the same element: it does not affect underlines specified by ancestor elements.This property is typically used in vertical writing contexts such as in Japanese documents where it often desired to have the underline appear 'over' (to the right of) the affected run of text",restrictions:["enum"]},{name:"-ms-touch-action",browsers:["IE10"],values:[{name:"auto",description:"The element is a passive element, with several exceptions."},{name:"double-tap-zoom",description:"The element will zoom on double-tap."},{name:"manipulation",description:"The element is a manipulation-causing element."},{name:"none",description:"The element is a manipulation-blocking element."},{name:"pan-x",description:"The element permits touch-driven panning on the horizontal axis. The touch pan is performed on the nearest ancestor with horizontally scrollable content."},{name:"pan-y",description:"The element permits touch-driven panning on the vertical axis. The touch pan is performed on the nearest ancestor with vertically scrollable content."},{name:"pinch-zoom",description:"The element permits pinch-zooming. The pinch-zoom is performed on the nearest ancestor with zoomable content."}],description:"Gets or sets a value that indicates whether and how a given region can be manipulated by the user.",restrictions:["enum"]},{name:"-ms-touch-select",browsers:["E","IE10"],values:[{name:"grippers",description:"Grippers are always on."},{name:"none",description:"Grippers are always off."}],status:"nonstandard",syntax:"grippers | none",description:"Gets or sets a value that toggles the 'gripper' visual elements that enable touch text selection.",restrictions:["enum"]},{name:"-ms-transform",browsers:["IE9-9"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-ms-transform-origin",browsers:["IE9-9"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-ms-transform-origin-x",browsers:["IE10"],description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-y",browsers:["IE10"],description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-transform-origin-z",browsers:["IE10"],description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-ms-user-select",browsers:["E","IE10"],values:[{name:"element"},{name:"none"},{name:"text"}],status:"nonstandard",syntax:"none | element | text",description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-word-break",browsers:["IE8"],values:[{name:"break-all",description:"Lines may break between any two grapheme clusters for non-CJK scripts."},{name:"keep-all",description:"Block characters can no longer create implied break points."},{name:"normal",description:"Breaks non-CJK scripts according to their own rules."}],description:"Specifies line break opportunities for non-CJK scripts.",restrictions:["enum"]},{name:"-ms-word-wrap",browsers:["IE8"],values:[{name:"break-word",description:"An unbreakable 'word' may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line."},{name:"normal",description:"Lines may break only at allowed break points."}],description:"Specifies whether the UA may break within a word to prevent overflow when an otherwise-unbreakable string is too long to fit.",restrictions:["enum"]},{name:"-ms-wrap-flow",browsers:["E","IE10"],values:[{name:"auto",description:"For floats an exclusion is created, for all other elements an exclusion is not created."},{name:"both",description:"Inline flow content can flow on all sides of the exclusion."},{name:"clear",description:"Inline flow content can only wrap on top and bottom of the exclusion and must leave the areas to the start and end edges of the exclusion box empty."},{name:"end",description:"Inline flow content can wrap on the end side of the exclusion area but must leave the area to the start edge of the exclusion area empty."},{name:"maximum",description:"Inline flow content can wrap on the side of the exclusion with the largest available space for the given line, and must leave the other side of the exclusion empty."},{name:"minimum",description:"Inline flow content can flow around the edge of the exclusion with the smallest available space within the flow content’s containing block, and must leave the other edge of the exclusion empty."},{name:"start",description:"Inline flow content can wrap on the start edge of the exclusion area but must leave the area to end edge of the exclusion area empty."}],status:"nonstandard",syntax:"auto | both | start | end | maximum | clear",description:"An element becomes an exclusion when its 'wrap-flow' property has a computed value other than 'auto'.",restrictions:["enum"]},{name:"-ms-wrap-margin",browsers:["E","IE10"],status:"nonstandard",syntax:"<length>",description:"Gets or sets a value that is used to offset the inner wrap shape from other shapes.",restrictions:["length","percentage"]},{name:"-ms-wrap-through",browsers:["E","IE10"],values:[{name:"none",description:"The exclusion element does not inherit its parent node's wrapping context. Its descendants are only subject to exclusion shapes defined inside the element."},{name:"wrap",description:"The exclusion element inherits its parent node's wrapping context. Its descendant inline content wraps around exclusions defined outside the element."}],status:"nonstandard",syntax:"wrap | none",description:"Specifies if an element inherits its parent wrapping context. In other words if it is subject to the exclusions defined outside the element.",restrictions:["enum"]},{name:"-ms-writing-mode",browsers:["IE8"],values:[{name:"bt-lr"},{name:"bt-rl"},{name:"lr-bt"},{name:"lr-tb"},{name:"rl-bt"},{name:"rl-tb"},{name:"tb-lr"},{name:"tb-rl"}],description:"Shorthand property for both 'direction' and 'block-progression'.",restrictions:["enum"]},{name:"-ms-zoom",browsers:["IE8"],values:[{name:"normal"}],description:"Sets or retrieves the magnification scale of the object.",restrictions:["enum","integer","number","percentage"]},{name:"-ms-zoom-animation",browsers:["IE10"],values:[{name:"default"},{name:"none"}],description:"Gets or sets a value that indicates whether an animation is used when zooming.",restrictions:["enum"]},{name:"nav-down",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-index",browsers:["O9.5"],values:[{name:"auto",description:"The element's sequential navigation order is assigned automatically by the user agent."}],description:"Provides an input-method-neutral way of specifying the sequential navigation order (also known as 'tabbing order').",restrictions:["number"]},{name:"nav-left",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-right",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"nav-up",browsers:["O9.5"],values:[{name:"auto",description:"The user agent automatically determines which element to navigate the focus to in response to directional navigational input."},{name:"current",description:"Indicates that the user agent should target the frame that the element is in."},{name:"root",description:"Indicates that the user agent should target the full window."}],description:"Provides an way to control directional focus navigation.",restrictions:["enum","identifier","string"]},{name:"negative",browsers:["FF33"],syntax:"<symbol> <symbol>?",description:"@counter-style descriptor. Defines how to alter the representation when the counter value is negative.",restrictions:["image","identifier","string"]},{name:"-o-animation",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-o-animation-delay",browsers:["O12"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-o-animation-direction",browsers:["O12"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-o-animation-duration",browsers:["O12"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-o-animation-fill-mode",browsers:["O12"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-o-animation-iteration-count",browsers:["O12"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-o-animation-name",browsers:["O12"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-o-animation-play-state",browsers:["O12"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-o-animation-timing-function",browsers:["O12"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-o-border-image",browsers:["O11.6"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","image","enum"]},{name:"-o-object-fit",browsers:["O10.6"],values:[{name:"contain",description:"The replaced content is sized to maintain its aspect ratio while fitting within the element’s content box: its concrete object size is resolved as a contain constraint against the element's used width and height."},{name:"cover",description:"The replaced content is sized to maintain its aspect ratio while filling the element's entire content box: its concrete object size is resolved as a cover constraint against the element’s used width and height."},{name:"fill",description:"The replaced content is sized to fill the element’s content box: the object's concrete object size is the element's used width and height."},{name:"none",description:"The replaced content is not resized to fit inside the element's content box"},{name:"scale-down",description:"Size the content as if ‘none’ or ‘contain’ were specified, whichever would result in a smaller concrete object size."}],description:"Specifies how the contents of a replaced element should be scaled relative to the box established by its used height and width.",restrictions:["enum"]},{name:"-o-object-position",browsers:["O10.6"],description:"Determines the alignment of the replaced element inside its box.",restrictions:["position","length","percentage"]},{name:"-o-table-baseline",browsers:["O9.6"],description:"Determines which row of a inline-table should be used as baseline of inline-table.",restrictions:["integer"]},{name:"-o-tab-size",browsers:["O10.6"],description:"This property determines the width of the tab character (U+0009), in space characters (U+0020), when rendered.",restrictions:["integer","length"]},{name:"-o-text-overflow",browsers:["O10"],values:[{name:"clip",description:"Clip inline content that overflows. Characters may be only partially rendered."},{name:"ellipsis",description:"Render an ellipsis character (U+2026) to represent clipped inline content."}],description:"Text can overflow for example when it is prevented from wrapping",restrictions:["enum"]},{name:"-o-transform",browsers:["O10.5"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-o-transform-origin",browsers:["O10.5"],description:"Establishes the origin of transformation for an element.",restrictions:["positon","length","percentage"]},{name:"-o-transition",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-o-transition-delay",browsers:["O11.5"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-o-transition-duration",browsers:["O11.5"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-o-transition-property",browsers:["O11.5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-o-transition-timing-function",browsers:["O11.5"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"offset-block-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'bottom'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-block-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'top'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-end",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'right'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"offset-inline-start",browsers:["FF41"],values:[{name:"auto",description:"For non-replaced elements, the effect of this value depends on which of related properties have the value 'auto' as well."}],description:"Logical 'left'. Mapping depends on the parent element’s 'writing-mode', 'direction', and 'text-orientation'.",restrictions:["length","percentage"]},{name:"pad",browsers:["FF33"],syntax:"<integer> && <symbol>",description:"@counter-style descriptor. Specifies a “fixed-width” counter style, where representations shorter than the pad value are padded with a particular <symbol>",restrictions:["integer","image","string","identifier"]},{name:"prefix",browsers:["FF33"],syntax:"<symbol>",description:"@counter-style descriptor. Specifies a <symbol> that is prepended to the marker representation.",restrictions:["image","string","identifier"]},{name:"range",browsers:["FF33"],values:[{name:"auto",description:"The range depends on the counter system."},{name:"infinite",description:"If used as the first value in a range, it represents negative infinity; if used as the second value, it represents positive infinity."}],syntax:"[ [ <integer> | infinite ]{2} ]# | auto",description:"@counter-style descriptor. Defines the ranges over which the counter style is defined.",restrictions:["integer","enum"]},{name:"ruby-align",browsers:["FF38"],values:[{name:"auto",browsers:["FF38"],description:"The user agent determines how the ruby contents are aligned. This is the initial value."},{name:"center",description:"The ruby content is centered within its box."},{name:"distribute-letter",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with the first and last ruby text glyphs lining up with the corresponding first and last base glyphs. If the width of the ruby text is at least the width of the base, then the letters of the base are evenly distributed across the width of the ruby text."},{name:"distribute-space",browsers:["FF38"],description:"If the width of the ruby text is smaller than that of the base, then the ruby text contents are evenly distributed across the width of the base, with a certain amount of white space preceding the first and following the last character in the ruby text. That amount of white space is normally equal to half the amount of inter-character space of the ruby text."},{name:"left",description:"The ruby text content is aligned with the start edge of the base."},{name:"line-edge",browsers:["FF38"],description:"If the ruby text is not adjacent to a line edge, it is aligned as in 'auto'. If it is adjacent to a line edge, then it is still aligned as in auto, but the side of the ruby text that touches the end of the line is lined up with the corresponding edge of the base."},{name:"right",browsers:["FF38"],description:"The ruby text content is aligned with the end edge of the base."},{name:"start",browsers:["FF38"],description:"The ruby text content is aligned with the start edge of the base."},{name:"space-between",browsers:["FF38"],description:"The ruby content expands as defined for normal text justification (as defined by 'text-justify'),"},{name:"space-around",browsers:["FF38"],description:"As for 'space-between' except that there exists an extra justification opportunities whose space is distributed half before and half after the ruby content."}],status:"experimental",syntax:"start | center | space-between | space-around",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-align"}],description:"Specifies how text is distributed within the various ruby boxes when their contents do not exactly fill their respective boxes.",restrictions:["enum"]},{name:"ruby-overhang",browsers:["FF10","IE5"],values:[{name:"auto",description:"The ruby text can overhang text adjacent to the base on either side. This is the initial value."},{name:"end",description:"The ruby text can overhang the text that follows it."},{name:"none",description:"The ruby text cannot overhang any text adjacent to its base, only its own base."},{name:"start",description:"The ruby text can overhang the text that precedes it."}],description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"ruby-position",browsers:["E12","FF38"],values:[{name:"after",description:"The ruby text appears after the base. This is a relatively rare setting used in ideographic East Asian writing systems, most easily found in educational text."},{name:"before",description:"The ruby text appears before the base. This is the most common setting used in ideographic East Asian writing systems."},{name:"inline"},{name:"right",description:"The ruby text appears on the right of the base. Unlike 'before' and 'after', this value is not relative to the text flow direction."}],status:"experimental",syntax:"over | under | inter-character",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/ruby-position"}],description:"Used by the parent of elements with display: ruby-text to control the position of the ruby text with respect to its base.",restrictions:["enum"]},{name:"ruby-span",browsers:["FF10"],values:[{name:"attr(x)",description:"The value of attribute 'x' is a string value. The string value is evaluated as a <number> to determine the number of ruby base elements to be spanned by the annotation element."},{name:"none",description:"No spanning. The computed value is '1'."}],description:"Determines whether, and on which side, ruby text is allowed to partially overhang any adjacent text in addition to its own base, when the ruby text is wider than the ruby base.",restrictions:["enum"]},{name:"scrollbar-3dlight-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-3dlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-arrow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-arrow-color"}],description:"Determines the color of the arrow elements of a scroll arrow.",restrictions:["color"]},{name:"scrollbar-base-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-base-color"}],description:"Determines the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.",restrictions:["color"]},{name:"scrollbar-darkshadow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-darkshadow-color"}],description:"Determines the color of the gutter of a scroll bar.",restrictions:["color"]},{name:"scrollbar-face-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-face-color"}],description:"Determines the color of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-highlight-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-highlight-color"}],description:"Determines the color of the top and left edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-shadow-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-shadow-color"}],description:"Determines the color of the bottom and right edges of the scroll box and scroll arrows of a scroll bar.",restrictions:["color"]},{name:"scrollbar-track-color",browsers:["IE5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-track-color"}],description:"Determines the color of the track element of a scroll bar.",restrictions:["color"]},{name:"suffix",browsers:["FF33"],syntax:"<symbol>",description:"@counter-style descriptor. Specifies a <symbol> that is appended to the marker representation.",restrictions:["image","string","identifier"]},{name:"system",browsers:["FF33"],values:[{name:"additive",description:"Represents “sign-value” numbering systems, which, rather than using reusing digits in different positions to change their value, define additional digits with much larger values, so that the value of the number can be obtained by adding all the digits together."},{name:"alphabetic",description:'Interprets the list of counter symbols as digits to an alphabetic numbering system, similar to the default lower-alpha counter style, which wraps from "a", "b", "c", to "aa", "ab", "ac".'},{name:"cyclic",description:"Cycles repeatedly through its provided symbols, looping back to the beginning when it reaches the end of the list."},{name:"extends",description:"Use the algorithm of another counter style, but alter other aspects."},{name:"fixed",description:"Runs through its list of counter symbols once, then falls back."},{name:"numeric",description:"interprets the list of counter symbols as digits to a \"place-value\" numbering system, similar to the default 'decimal' counter style."},{name:"symbolic",description:"Cycles repeatedly through its provided symbols, doubling, tripling, etc. the symbols on each successive pass through the list."}],syntax:"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]",description:"@counter-style descriptor. Specifies which algorithm will be used to construct the counter’s representation based on the counter value.",restrictions:["enum","integer"]},{name:"symbols",browsers:["FF33"],syntax:"<symbol>+",description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor.",restrictions:["image","string","identifier"]},{name:"-webkit-animation",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","enum","timing-function","identifier","number"]},{name:"-webkit-animation-delay",browsers:["C","S5"],description:"Defines when the animation will start.",restrictions:["time"]},{name:"-webkit-animation-direction",browsers:["C","S5"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],description:"Defines whether or not the animation should play in reverse on alternate cycles.",restrictions:["enum"]},{name:"-webkit-animation-duration",browsers:["C","S5"],description:"Defines the length of time that an animation takes to complete one cycle.",restrictions:["time"]},{name:"-webkit-animation-fill-mode",browsers:["C","S5"],values:[{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"none",description:"There is no change to the property value between the time the animation is applied and the time the animation begins playing or after the animation completes."}],description:"Defines what values are applied by the animation outside the time it is executing.",restrictions:["enum"]},{name:"-webkit-animation-iteration-count",browsers:["C","S5"],values:[{name:"infinite",description:"Causes the animation to repeat forever."}],description:"Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.",restrictions:["number","enum"]},{name:"-webkit-animation-name",browsers:["C","S5"],values:[{name:"none",description:"No animation is performed"}],description:"Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.",restrictions:["identifier","enum"]},{name:"-webkit-animation-play-state",browsers:["C","S5"],values:[{name:"paused",description:"A running animation will be paused."},{name:"running",description:"Resume playback of a paused animation."}],description:"Defines whether the animation is running or paused.",restrictions:["enum"]},{name:"-webkit-animation-timing-function",browsers:["C","S5"],description:"Describes how the animation will progress over one cycle of its duration. See the 'transition-timing-function'.",restrictions:["timing-function"]},{name:"-webkit-appearance",browsers:["C","S3"],values:[{name:"button"},{name:"button-bevel"},{name:"caps-lock-indicator"},{name:"caret"},{name:"checkbox"},{name:"default-button"},{name:"listbox"},{name:"listitem"},{name:"media-fullscreen-button"},{name:"media-mute-button"},{name:"media-play-button"},{name:"media-seek-back-button"},{name:"media-seek-forward-button"},{name:"media-slider"},{name:"media-sliderthumb"},{name:"menulist"},{name:"menulist-button"},{name:"menulist-text"},{name:"menulist-textfield"},{name:"none"},{name:"push-button"},{name:"radio"},{name:"scrollbarbutton-down"},{name:"scrollbarbutton-left"},{name:"scrollbarbutton-right"},{name:"scrollbarbutton-up"},{name:"scrollbargripper-horizontal"},{name:"scrollbargripper-vertical"},{name:"scrollbarthumb-horizontal"},{name:"scrollbarthumb-vertical"},{name:"scrollbartrack-horizontal"},{name:"scrollbartrack-vertical"},{name:"searchfield"},{name:"searchfield-cancel-button"},{name:"searchfield-decoration"},{name:"searchfield-results-button"},{name:"searchfield-results-decoration"},{name:"slider-horizontal"},{name:"sliderthumb-horizontal"},{name:"sliderthumb-vertical"},{name:"slider-vertical"},{name:"square-button"},{name:"textarea"},{name:"textfield"}],status:"nonstandard",syntax:"none | button | button-bevel | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | push-button | radio | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield",description:"Changes the appearance of buttons and other controls to resemble native controls.",restrictions:["enum"]},{name:"-webkit-backdrop-filter",browsers:["S9"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],description:"Applies a filter effect where the first filter in the list takes the element's background image as the input image.",restrictions:["enum","url"]},{name:"-webkit-backface-visibility",browsers:["C","S5"],values:[{name:"hidden"},{name:"visible"}],description:"Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.",restrictions:["enum"]},{name:"-webkit-background-clip",browsers:["C","S3"],description:"Determines the background painting area.",restrictions:["box"]},{name:"-webkit-background-composite",browsers:["C","S3"],values:[{name:"border"},{name:"padding"}],restrictions:["enum"]},{name:"-webkit-background-origin",browsers:["C","S3"],description:"For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).",restrictions:["box"]},{name:"-webkit-border-image",browsers:["C","S5"],values:[{name:"auto",description:"If 'auto' is specified then the border image width is the intrinsic width or height (whichever is applicable) of the corresponding image slice. If the image does not have the required intrinsic dimension then the corresponding border-width is used instead."},{name:"fill",description:"Causes the middle part of the border-image to be preserved."},{name:"none"},{name:"repeat",description:"The image is tiled (repeated) to fill the area."},{name:"round",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the image is rescaled so that it does."},{name:"space",description:"The image is tiled (repeated) to fill the area. If it does not fill the area with a whole number of tiles, the extra space is distributed around the tiles."},{name:"stretch",description:"The image is stretched to fill the area."},{name:"url()"}],description:"Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.",restrictions:["length","percentage","number","url","enum"]},{name:"-webkit-box-align",browsers:["C","S3"],values:[{name:"baseline",description:"If this box orientation is inline-axis or horizontal, all children are placed with their baselines aligned, and extra space placed before or after as necessary. For block flows, the baseline of the first non-empty line box located within the element is used. For tables, the baseline of the first cell is used."},{name:"center",description:"Any extra space is divided evenly, with half placed above the child and the other half placed after the child."},{name:"end",description:"For normal direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element. For reverse direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element."},{name:"start",description:"For normal direction boxes, the top edge of each child is placed along the top of the box. Extra space is placed below the element. For reverse direction boxes, the bottom edge of each child is placed along the bottom of the box. Extra space is placed above the element."},{name:"stretch",description:"The height of each child is adjusted to that of the containing block."}],description:"Specifies the alignment of nested elements within an outer flexible box element.",restrictions:["enum"]},{name:"-webkit-box-direction",browsers:["C","S3"],values:[{name:"normal",description:"A box with a computed value of horizontal for box-orient displays its children from left to right. A box with a computed value of vertical displays its children from top to bottom."},{name:"reverse",description:"A box with a computed value of horizontal for box-orient displays its children from right to left. A box with a computed value of vertical displays its children from bottom to top."}],description:"In webkit applications, -webkit-box-direction specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).",restrictions:["enum"]},{name:"-webkit-box-flex",browsers:["C","S3"],description:"Specifies an element's flexibility.",restrictions:["number"]},{name:"-webkit-box-flex-group",browsers:["C","S3"],description:"Flexible elements can be assigned to flex groups using the 'box-flex-group' property.",restrictions:["integer"]},{name:"-webkit-box-ordinal-group",browsers:["C","S3"],description:"Indicates the ordinal group the element belongs to. Elements with a lower ordinal group are displayed before those with a higher ordinal group.",restrictions:["integer"]},{name:"-webkit-box-orient",browsers:["C","S3"],values:[{name:"block-axis",description:"Elements are oriented along the box's axis."},{name:"horizontal",description:"The box displays its children from left to right in a horizontal line."},{name:"inline-axis",description:"Elements are oriented vertically."},{name:"vertical",description:"The box displays its children from stacked from top to bottom vertically."}],description:"In webkit applications, -webkit-box-orient specifies whether a box lays out its contents horizontally or vertically.",restrictions:["enum"]},{name:"-webkit-box-pack",browsers:["C","S3"],values:[{name:"center",description:"The extra space is divided evenly, with half placed before the first child and the other half placed after the last child."},{name:"end",description:"For normal direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child. For reverse direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child."},{name:"justify",description:"The space is divided evenly in-between each child, with none of the extra space placed before the first child or after the last child. If there is only one child, treat the pack value as if it were start."},{name:"start",description:"For normal direction boxes, the left edge of the first child is placed at the left side, with all extra space placed after the last child. For reverse direction boxes, the right edge of the last child is placed at the right side, with all extra space placed before the first child."}],description:"Specifies alignment of child elements within the current element in the direction of orientation.",restrictions:["enum"]},{name:"-webkit-box-reflect",browsers:["S4","C4","O15"],values:[{name:"above",description:"The reflection appears above the border box."},{name:"below",description:"The reflection appears below the border box."},{name:"left",description:"The reflection appears to the left of the border box."},{name:"right",description:"The reflection appears to the right of the border box."}],status:"nonstandard",syntax:"[ above | below | right | left ]? <length>? <image>?",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-box-reflect"}],description:"Defines a reflection of a border box."},{name:"-webkit-box-sizing",browsers:["C","S3"],values:[{name:"border-box",description:"The specified width and height (and respective min/max properties) on this element determine the border box of the element."},{name:"content-box",description:"Behavior of width and height as specified by CSS2.1. The specified width and height (and respective min/max properties) apply to the width and height respectively of the content box of the element."}],description:"Box Model addition in CSS3.",restrictions:["enum"]},{name:"-webkit-break-after",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-before",browsers:["S7"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-break-inside",browsers:["S7"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-after",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-before",browsers:["C","S3"],values:[{name:"always",description:"Always force a page break before/after the generated box."},{name:"auto",description:"Neither force nor forbid a page/column break before/after the generated box."},{name:"avoid",description:"Avoid a page/column break before/after the generated box."},{name:"avoid-column",description:"Avoid a column break before/after the generated box."},{name:"avoid-page",description:"Avoid a page break before/after the generated box."},{name:"avoid-region"},{name:"column",description:"Always force a column break before/after the generated box."},{name:"left",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a left page."},{name:"page",description:"Always force a page break before/after the generated box."},{name:"region"},{name:"right",description:"Force one or two page breaks before/after the generated box so that the next page is formatted as a right page."}],description:"Describes the page/column break behavior before the generated box.",restrictions:["enum"]},{name:"-webkit-column-break-inside",browsers:["C","S3"],values:[{name:"auto",description:"Neither force nor forbid a page/column break inside the generated box."},{name:"avoid",description:"Avoid a page/column break inside the generated box."},{name:"avoid-column",description:"Avoid a column break inside the generated box."},{name:"avoid-page",description:"Avoid a page break inside the generated box."},{name:"avoid-region"}],description:"Describes the page/column break behavior inside the generated box.",restrictions:["enum"]},{name:"-webkit-column-count",browsers:["C","S3"],values:[{name:"auto",description:"Determines the number of columns by the 'column-width' property and the element width."}],description:"Describes the optimal number of columns into which the content of the element will be flowed.",restrictions:["integer"]},{name:"-webkit-column-gap",browsers:["C","S3"],values:[{name:"normal",description:"User agent specific and typically equivalent to 1em."}],description:"Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.",restrictions:["length"]},{name:"-webkit-column-rule",browsers:["C","S3"],description:"This property is a shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.",restrictions:["length","line-width","line-style","color"]},{name:"-webkit-column-rule-color",browsers:["C","S3"],description:"Sets the color of the column rule",restrictions:["color"]},{name:"-webkit-column-rule-style",browsers:["C","S3"],description:"Sets the style of the rule between columns of an element.",restrictions:["line-style"]},{name:"-webkit-column-rule-width",browsers:["C","S3"],description:"Sets the width of the rule between columns. Negative values are not allowed.",restrictions:["length","line-width"]},{name:"-webkit-columns",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"A shorthand property which sets both 'column-width' and 'column-count'.",restrictions:["length","integer"]},{name:"-webkit-column-span",browsers:["C","S3"],values:[{name:"all",description:"The element spans across all columns. Content in the normal flow that appears before the element is automatically balanced across all columns before the element appear."},{name:"none",description:"The element does not span multiple columns."}],description:"Describes the page/column break behavior after the generated box.",restrictions:["enum"]},{name:"-webkit-column-width",browsers:["C","S3"],values:[{name:"auto",description:"The width depends on the values of other properties."}],description:"This property describes the width of columns in multicol elements.",restrictions:["length"]},{name:"-webkit-filter",browsers:["C18","O15","S6"],values:[{name:"none",description:"No filter effects are applied."},{name:"blur()",description:"Applies a Gaussian blur to the input image."},{name:"brightness()",description:"Applies a linear multiplier to input image, making it appear more or less bright."},{name:"contrast()",description:"Adjusts the contrast of the input."},{name:"drop-shadow()",description:"Applies a drop shadow effect to the input image."},{name:"grayscale()",description:"Converts the input image to grayscale."},{name:"hue-rotate()",description:"Applies a hue rotation on the input image. "},{name:"invert()",description:"Inverts the samples in the input image."},{name:"opacity()",description:"Applies transparency to the samples in the input image."},{name:"saturate()",description:"Saturates the input image."},{name:"sepia()",description:"Converts the input image to sepia."},{name:"url()",description:"A filter reference to a <filter> element."}],description:"Processes an element’s rendering before it is displayed in the document, by applying one or more filter effects.",restrictions:["enum","url"]},{name:"-webkit-flow-from",browsers:["S6.1"],values:[{name:"none",description:"The block container is not a CSS Region."}],description:"Makes a block container a region and associates it with a named flow.",restrictions:["identifier"]},{name:"-webkit-flow-into",browsers:["S6.1"],values:[{name:"none",description:"The element is not moved to a named flow and normal CSS processing takes place."}],description:"Places an element or its contents into a named flow.",restrictions:["identifier"]},{name:"-webkit-font-feature-settings",browsers:["C16"],values:[{name:'"c2cs"'},{name:'"dlig"'},{name:'"kern"'},{name:'"liga"'},{name:'"lnum"'},{name:'"onum"'},{name:'"smcp"'},{name:'"swsh"'},{name:'"tnum"'},{name:"normal",description:"No change in glyph substitution or positioning occurs."},{name:"off"},{name:"on"}],description:"This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case.",restrictions:["string","integer"]},{name:"-webkit-hyphens",browsers:["S5.1"],values:[{name:"auto",description:"Conditional hyphenation characters inside a word, if present, take priority over automatic resources when determining hyphenation points within the word."},{name:"manual",description:"Words are only broken at line breaks where there are characters inside the word that suggest line break opportunities"},{name:"none",description:"Words are not broken at line breaks, even if characters inside the word suggest line break points."}],description:"Controls whether hyphenation is allowed to create more break opportunities within a line of text.",restrictions:["enum"]},{name:"-webkit-line-break",browsers:["C","S3"],values:[{name:"after-white-space"},{name:"normal"}],description:"Specifies line-breaking rules for CJK (Chinese, Japanese, and Korean) text."},{name:"-webkit-margin-bottom-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-margin-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-margin-start",browsers:["C","S3"],values:[{name:"auto"}],restrictions:["percentage","length"]},{name:"-webkit-margin-top-collapse",browsers:["C","S3"],values:[{name:"collapse"},{name:"discard"},{name:"separate"}],restrictions:["enum"]},{name:"-webkit-mask-clip",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content | text ]#",description:"Determines the mask painting area, which determines the area that is affected by the mask.",restrictions:["box"]},{name:"-webkit-mask-image",browsers:["C","O15","S4"],values:[{name:"none",description:"Counts as a transparent black image layer."},{name:"url()",description:"Reference to a <mask element or to a CSS image."}],status:"nonstandard",syntax:"<mask-reference>#",description:"Sets the mask layer image of an element.",restrictions:["url","image","enum"]},{name:"-webkit-mask-origin",browsers:["C","O15","S4"],status:"nonstandard",syntax:"[ <box> | border | padding | content ]#",description:"Specifies the mask positioning area.",restrictions:["box"]},{name:"-webkit-mask-repeat",browsers:["C","O15","S4"],status:"nonstandard",syntax:"<repeat-style>#",description:"Specifies how mask layer images are tiled after they have been sized and positioned.",restrictions:["repeat"]},{name:"-webkit-mask-size",browsers:["C","O15","S4"],values:[{name:"auto",description:"Resolved by using the image’s intrinsic ratio and the size of the other dimension, or failing that, using the image’s intrinsic size, or failing that, treating it as 100%."},{name:"contain",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area."},{name:"cover",description:"Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area."}],status:"nonstandard",syntax:"<bg-size>#",description:"Specifies the size of the mask layer images.",restrictions:["length","percentage","enum"]},{name:"-webkit-nbsp-mode",browsers:["C","S3"],values:[{name:"normal"},{name:"space"}],description:"Defines the behavior of nonbreaking spaces within text."},{name:"-webkit-overflow-scrolling",browsers:["C","S5"],values:[{name:"auto"},{name:"touch"}],status:"nonstandard",syntax:"auto | touch",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-overflow-scrolling"}],description:"Specifies whether to use native-style scrolling in an overflow:scroll element."},{name:"-webkit-padding-start",browsers:["C","S3"],restrictions:["percentage","length"]},{name:"-webkit-perspective",browsers:["C","S4"],values:[{name:"none",description:"No perspective transform is applied."}],description:"Applies the same transform as the perspective(<number>) transform function, except that it applies only to the positioned or transformed children of the element, not to the transform on the element itself.",restrictions:["length"]},{name:"-webkit-perspective-origin",browsers:["C","S4"],description:"Establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element.",restrictions:["position","percentage","length"]},{name:"-webkit-region-fragment",browsers:["S7"],values:[{name:"auto",description:"Content flows as it would in a regular content box."},{name:"break",description:"If the content fits within the CSS Region, then this property has no effect."}],description:"The 'region-fragment' property controls the behavior of the last region associated with a named flow.",restrictions:["enum"]},{name:"-webkit-tap-highlight-color",browsers:["E","C","S3.1"],status:"nonstandard",syntax:"<color>",restrictions:["color"]},{name:"-webkit-text-fill-color",browsers:["E12","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-fill-color"}],restrictions:["color"]},{name:"-webkit-text-size-adjust",browsers:["E","C","S3"],values:[{name:"auto",description:"Renderers must use the default size adjustment when displaying on a small device."},{name:"none",description:"Renderers must not do size adjustment when displaying on a small device."}],description:"Specifies a size adjustment for displaying text content in mobile browsers.",restrictions:["percentage"]},{name:"-webkit-text-stroke",browsers:["E15","FF49","S3","C4","O15"],status:"nonstandard",syntax:"<length> || <color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke"}],restrictions:["length","line-width","color","percentage"]},{name:"-webkit-text-stroke-color",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<color>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-color"}],restrictions:["color"]},{name:"-webkit-text-stroke-width",browsers:["E15","FF49","S3","C1","O15"],status:"nonstandard",syntax:"<length>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke-width"}],restrictions:["length","line-width","percentage"]},{name:"-webkit-touch-callout",browsers:["S3"],values:[{name:"none"}],status:"nonstandard",syntax:"default | none",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-touch-callout"}],restrictions:["enum"]},{name:"-webkit-transform",browsers:["C","O12","S3.1"],values:[{name:"matrix()",description:"Specifies a 2D transformation in the form of a transformation matrix of six values. matrix(a,b,c,d,e,f) is equivalent to applying the transformation matrix [a b c d e f]"},{name:"matrix3d()",description:"Specifies a 3D transformation as a 4x4 homogeneous matrix of 16 values in column-major order."},{name:"none"},{name:"perspective()",description:"Specifies a perspective projection matrix."},{name:"rotate()",description:"Specifies a 2D rotation by the angle specified in the parameter about the origin of the element, as defined by the transform-origin property."},{name:"rotate3d()",description:"Specifies a clockwise 3D rotation by the angle specified in last parameter about the [x,y,z] direction vector described by the first 3 parameters."},{name:"rotateX('angle')",description:"Specifies a clockwise rotation by the given angle about the X axis."},{name:"rotateY('angle')",description:"Specifies a clockwise rotation by the given angle about the Y axis."},{name:"rotateZ('angle')",description:"Specifies a clockwise rotation by the given angle about the Z axis."},{name:"scale()",description:"Specifies a 2D scale operation by the [sx,sy] scaling vector described by the 2 parameters. If the second parameter is not provided, it is takes a value equal to the first."},{name:"scale3d()",description:"Specifies a 3D scale operation by the [sx,sy,sz] scaling vector described by the 3 parameters."},{name:"scaleX()",description:"Specifies a scale operation using the [sx,1] scaling vector, where sx is given as the parameter."},{name:"scaleY()",description:"Specifies a scale operation using the [sy,1] scaling vector, where sy is given as the parameter."},{name:"scaleZ()",description:"Specifies a scale operation using the [1,1,sz] scaling vector, where sz is given as the parameter."},{name:"skew()",description:"Specifies a skew transformation along the X and Y axes. The first angle parameter specifies the skew on the X axis. The second angle parameter specifies the skew on the Y axis. If the second parameter is not given then a value of 0 is used for the Y angle (ie: no skew on the Y axis)."},{name:"skewX()",description:"Specifies a skew transformation along the X axis by the given angle."},{name:"skewY()",description:"Specifies a skew transformation along the Y axis by the given angle."},{name:"translate()",description:"Specifies a 2D translation by the vector [tx, ty], where tx is the first translation-value parameter and ty is the optional second translation-value parameter."},{name:"translate3d()",description:"Specifies a 3D translation by the vector [tx,ty,tz], with tx, ty and tz being the first, second and third translation-value parameters respectively."},{name:"translateX()",description:"Specifies a translation by the given amount in the X direction."},{name:"translateY()",description:"Specifies a translation by the given amount in the Y direction."},{name:"translateZ()",description:"Specifies a translation by the given amount in the Z direction. Note that percentage values are not allowed in the translateZ translation-value, and if present are evaluated as 0."}],description:"A two-dimensional transformation is applied to an element through the 'transform' property. This property contains a list of transform functions similar to those allowed by SVG.",restrictions:["enum"]},{name:"-webkit-transform-origin",browsers:["C","O15","S3.1"],description:"Establishes the origin of transformation for an element.",restrictions:["position","length","percentage"]},{name:"-webkit-transform-origin-x",browsers:["C","S3.1"],description:"The x coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-y",browsers:["C","S3.1"],description:"The y coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-origin-z",browsers:["C","S4"],description:"The z coordinate of the origin for transforms applied to an element with respect to its border box.",restrictions:["length","percentage"]},{name:"-webkit-transform-style",browsers:["C","S4"],values:[{name:"flat",description:"All children of this element are rendered flattened into the 2D plane of the element."}],description:"Defines how nested elements are rendered in 3D space.",restrictions:["enum"]},{name:"-webkit-transition",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Shorthand property combines four of the transition properties into a single property.",restrictions:["time","property","timing-function","enum"]},{name:"-webkit-transition-delay",browsers:["C","O12","S5"],description:"Defines when the transition will start. It allows a transition to begin execution some period of time from when it is applied.",restrictions:["time"]},{name:"-webkit-transition-duration",browsers:["C","O12","S5"],description:"Specifies how long the transition from the old value to the new value should take.",restrictions:["time"]},{name:"-webkit-transition-property",browsers:["C","O12","S5"],values:[{name:"all",description:"Every property that is able to undergo a transition will do so."},{name:"none",description:"No property will transition."}],description:"Specifies the name of the CSS property to which the transition is applied.",restrictions:["property"]},{name:"-webkit-transition-timing-function",browsers:["C","O12","S5"],description:"Describes how the intermediate values used during a transition will be calculated.",restrictions:["timing-function"]},{name:"-webkit-user-drag",browsers:["S3"],values:[{name:"auto"},{name:"element"},{name:"none"}],restrictions:["enum"]},{name:"-webkit-user-modify",browsers:["C","S3"],values:[{name:"read-only"},{name:"read-write"},{name:"read-write-plaintext-only"}],status:"nonstandard",syntax:"read-only | read-write | read-write-plaintext-only",description:"Determines whether a user can edit the content of an element.",restrictions:["enum"]},{name:"-webkit-user-select",browsers:["C","S3"],values:[{name:"auto"},{name:"none"},{name:"text"}],description:"Controls the appearance of selection.",restrictions:["enum"]},{name:"-ms-ime-align",status:"nonstandard",syntax:"auto | after",description:"Aligns the Input Method Editor (IME) candidate window box relative to the element on which the IME composition is active."},{name:"-moz-binding",status:"nonstandard",syntax:"<url> | none",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-binding"}],description:"The -moz-binding CSS property is used by Mozilla-based applications to attach an XBL binding to a DOM element."},{name:"-moz-context-properties",status:"nonstandard",syntax:"none | [ fill | fill-opacity | stroke | stroke-opacity ]#",browsers:["FF55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-context-properties"}],description:"If you reference an SVG image in a webpage (such as with the <img> element or as a background image), the SVG image can coordinate with the embedding element (its context) to have the image adopt property values set on the embedding element. To do this the embedding element needs to list the properties that are to be made available to the image by listing them as values of the -moz-context-properties property, and the image needs to opt in to using those properties by using values such as the context-fill value.\n\nThis feature is available since Firefox 55, but is only currently supported with SVG images loaded via chrome:// or resource:// URLs. To experiment with the feature in SVG on the Web it is necessary to set the svg.context-properties.content.enabled pref to true."},{name:"-moz-float-edge",status:"nonstandard",syntax:"border-box | content-box | margin-box | padding-box",description:"The non-standard -moz-float-edge CSS property specifies whether the height and width properties of the element include the margin, border, or padding thickness."},{name:"-moz-force-broken-image-icon",status:"nonstandard",syntax:"<integer>",description:"The -moz-force-broken-image-icon extended CSS property can be used to force the broken image icon to be shown even when a broken image has an alt attribute."},{name:"-moz-image-region",status:"nonstandard",syntax:"<shape> | auto",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-image-region"}],description:"For certain XUL elements and pseudo-elements that use an image from the list-style-image property, this property specifies a region of the image that is used in place of the whole image. This allows elements to use different pieces of the same image to improve performance."},{name:"-moz-orient",status:"nonstandard",syntax:"inline | block | horizontal | vertical",browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-orient"}],description:"The -moz-orient CSS property specifies the orientation of the element to which it's applied."},{name:"-moz-outline-radius",status:"nonstandard",syntax:"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?",browsers:["FF1.5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-outline-radius"}],description:"In Mozilla applications like Firefox, the -moz-outline-radius CSS property can be used to give an element's outline rounded corners."},{name:"-moz-outline-radius-bottomleft",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-bottomleft CSS property can be used to round the bottom-left corner of an element's outline."},{name:"-moz-outline-radius-bottomright",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-bottomright CSS property can be used to round the bottom-right corner of an element's outline."},{name:"-moz-outline-radius-topleft",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-topleft CSS property can be used to round the top-left corner of an element's outline."},{name:"-moz-outline-radius-topright",status:"nonstandard",syntax:"<outline-radius>",description:"In Mozilla applications, the -moz-outline-radius-topright CSS property can be used to round the top-right corner of an element's outline."},{name:"-moz-stack-sizing",status:"nonstandard",syntax:"ignore | stretch-to-fit",description:"-moz-stack-sizing is an extended CSS property. Normally, a stack will change its size so that all of its child elements are completely visible. For example, moving a child of the stack far to the right will widen the stack so the child remains visible."},{name:"-moz-text-blink",status:"nonstandard",syntax:"none | blink",browsers:["FF6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-text-blink"}],description:"The -moz-text-blink non-standard Mozilla CSS extension specifies the blink mode."},{name:"-moz-user-input",status:"nonstandard",syntax:"auto | none | enabled | disabled",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-user-input"}],description:"In Mozilla applications, -moz-user-input determines if an element will accept user input."},{name:"-moz-user-modify",status:"nonstandard",syntax:"read-only | read-write | write-only",description:"The -moz-user-modify property has no effect. It was originally planned to determine whether or not the content of an element can be edited by a user."},{name:"-moz-window-dragging",status:"nonstandard",syntax:"drag | no-drag",description:"The -moz-window-dragging CSS property specifies whether a window is draggable or not. It only works in Chrome code, and only on Mac OS X."},{name:"-moz-window-shadow",status:"nonstandard",syntax:"default | menu | tooltip | sheet | none",browsers:["FF3.5"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-moz-window-shadow"}],description:"The -moz-window-shadow CSS property specifies whether a window will have a shadow. It only works on Mac OS X."},{name:"-webkit-border-before",status:"nonstandard",syntax:"<'border-width'> || <'border-style'> || <'color'>",browsers:["S5.1","C8","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-border-before"}],description:"The -webkit-border-before CSS property is a shorthand property for setting the individual logical block start border property values in a single place in the style sheet."},{name:"-webkit-border-before-color",status:"nonstandard",syntax:"<'color'>",description:"The -webkit-border-before-color CSS property sets the color of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-style",status:"nonstandard",syntax:"<'border-style'>",description:"The -webkit-border-before-style CSS property sets the style of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-border-before-width",status:"nonstandard",syntax:"<'border-width'>",description:"The -webkit-border-before-width CSS property sets the width of the individual logical block start border in a single place in the style sheet."},{name:"-webkit-line-clamp",syntax:"none | <integer>",browsers:["E17","FF68","S5","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp"}],description:"The -webkit-line-clamp CSS property allows limiting of the contents of a block container to the specified number of lines."},{name:"-webkit-mask",status:"nonstandard",syntax:"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#",description:"The mask CSS property alters the visibility of an element by either partially or fully hiding it. This is accomplished by either masking or clipping the image at specific points."},{name:"-webkit-mask-attachment",status:"nonstandard",syntax:"<attachment>#",browsers:["S4","C1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-attachment"}],description:"If a -webkit-mask-image is specified, -webkit-mask-attachment determines whether the mask image's position is fixed within the viewport, or scrolls along with its containing block."},{name:"-webkit-mask-composite",status:"nonstandard",syntax:"<composite-style>#",browsers:["E18","FF53","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite"}],description:"The -webkit-mask-composite property specifies the manner in which multiple mask images applied to the same element are composited with one another. Mask images are composited in the opposite order that they are declared with the -webkit-mask-image property."},{name:"-webkit-mask-position",status:"nonstandard",syntax:"<position>#",description:"The mask-position CSS property sets the initial position, relative to the mask position layer defined by mask-origin, for each defined mask image."},{name:"-webkit-mask-position-x",status:"nonstandard",syntax:"[ <length-percentage> | left | center | right ]#",browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-x"}],description:"The -webkit-mask-position-x CSS property sets the initial horizontal position of a mask image."},{name:"-webkit-mask-position-y",status:"nonstandard",syntax:"[ <length-percentage> | top | center | bottom ]#",browsers:["E18","FF49","S3.2","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-position-y"}],description:"The -webkit-mask-position-y CSS property sets the initial vertical position of a mask image."},{name:"-webkit-mask-repeat-x",status:"nonstandard",syntax:"repeat | no-repeat | space | round",browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-x"}],description:"The -webkit-mask-repeat-x property specifies whether and how a mask image is repeated (tiled) horizontally."},{name:"-webkit-mask-repeat-y",status:"nonstandard",syntax:"repeat | no-repeat | space | round",browsers:["E18","S5","C3","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-repeat-y"}],description:"The -webkit-mask-repeat-y property specifies whether and how a mask image is repeated (tiled) vertically."},{name:"appearance",status:"experimental",syntax:"none | auto | button | textfield | <compat>",browsers:["E12","FF1","S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/appearance"}],description:"Changes the appearance of buttons and other controls to resemble native controls."},{name:"aspect-ratio",status:"experimental",syntax:"auto | <ratio>",description:""},{name:"azimuth",status:"obsolete",syntax:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/azimuth"}],description:"In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage."},{name:"border-end-end-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius"}],description:"The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation."},{name:"border-end-start-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius"}],description:"The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-end-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius"}],description:"The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation."},{name:"border-start-start-radius",syntax:"<length-percentage>{1,2}",browsers:["FF66"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius"}],description:"The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation."},{name:"box-align",status:"nonstandard",syntax:"start | center | end | baseline | stretch",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-align"}],description:"The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box."},{name:"box-direction",status:"nonstandard",syntax:"normal | reverse | inherit",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-direction"}],description:"The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge)."},{name:"box-flex",status:"nonstandard",syntax:"<number>",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex"}],description:"The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout."},{name:"box-flex-group",status:"nonstandard",syntax:"<integer>",browsers:["S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-flex-group"}],description:"The box-flex-group CSS property assigns the flexbox's child elements to a flex group."},{name:"box-lines",status:"nonstandard",syntax:"single | multiple",browsers:["S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-lines"}],description:"The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes)."},{name:"box-ordinal-group",status:"nonstandard",syntax:"<integer>",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group"}],description:"The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group."},{name:"box-orient",status:"nonstandard",syntax:"horizontal | vertical | inline-axis | block-axis | inherit",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-orient"}],description:"The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically."},{name:"box-pack",status:"nonstandard",syntax:"start | center | end | justify",browsers:["E12","FF1","S3","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/box-pack"}],description:"The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box."},{name:"color-adjust",syntax:"economy | exact",browsers:["FF48","S6","C49","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/color-adjust"}],description:"The color-adjust property is a non-standard CSS extension that can be used to force printing of background colors and images in browsers based on the WebKit engine."},{name:"counter-set",syntax:"[ <custom-ident> <integer>? ]+ | none",browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/counter-set"}],description:"The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element."},{name:"hanging-punctuation",syntax:"none | [ first || [ force-end | allow-end ] || last ]",browsers:["S10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation"}],description:"The hanging-punctuation CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box."},{name:"initial-letter",status:"experimental",syntax:"normal | [ <number> <integer>? ]",browsers:["S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter"}],description:"The initial-letter CSS property specifies styling for dropped, raised, and sunken initial letters."},{name:"initial-letter-align",status:"experimental",syntax:"[ auto | alphabetic | hanging | ideographic ]",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/initial-letter-align"}],description:"The initial-letter-align CSS property specifies the alignment of initial letters within a paragraph."},{name:"line-clamp",status:"experimental",syntax:"none | <integer>",description:"The line-clamp property allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content."},{name:"line-height-step",status:"experimental",syntax:"<length>",browsers:["C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/line-height-step"}],description:"The line-height-step CSS property defines the step units for line box heights. When the step unit is positive, line box heights are rounded up to the closest multiple of the unit. Negative values are invalid."},{name:"mask-border",status:"experimental",syntax:"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>",description:"The mask-border CSS property lets you create a mask along the edge of an element's border.\n\nThis property is a shorthand for mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, mask-border-repeat, and mask-border-mode. As with all shorthand properties, any omitted sub-values will be set to their initial value."},{name:"mask-border-mode",status:"experimental",syntax:"luminance | alpha",description:"The mask-border-mode CSS property specifies the blending mode used in a mask border."},{name:"mask-border-outset",status:"experimental",syntax:"[ <length> | <number> ]{1,4}",description:"The mask-border-outset CSS property specifies the distance by which an element's mask border is set out from its border box."},{name:"mask-border-repeat",status:"experimental",syntax:"[ stretch | repeat | round | space ]{1,2}",description:"The mask-border-repeat CSS property defines how the edge regions of a source image are adjusted to fit the dimensions of an element's mask border."},{name:"mask-border-slice",status:"experimental",syntax:"<number-percentage>{1,4} fill?",description:"The mask-border-slice CSS property divides the image specified by mask-border-source into regions. These regions are used to form the components of an element's mask border."},{name:"mask-border-source",status:"experimental",syntax:"none | <image>",description:"The mask-border-source CSS property specifies the source image used to create an element's mask border.\n\nThe mask-border-slice property is used to divide the source image into regions, which are then dynamically applied to the final mask border."},{name:"mask-border-width",status:"experimental",syntax:"[ <length-percentage> | <number> | auto ]{1,4}",description:"The mask-border-width CSS property specifies the width of an element's mask border."},{name:"mask-clip",syntax:"[ <geometry-box> | no-clip ]#",browsers:["FF53","S4","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-clip"}],description:"The mask-clip CSS property determines the area, which is affected by a mask. The painted content of an element must be restricted to this area."},{name:"mask-composite",syntax:"<compositing-operator>#",browsers:["E18","FF53"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/mask-composite"}],description:"The mask-composite CSS property represents a compositing operation used on the current mask layer with the mask layers below it."},{name:"max-lines",status:"experimental",syntax:"none | <integer>",description:"The max-liens property forces a break after a set number of lines"},{name:"overflow-block",status:"experimental",syntax:"visible | hidden | clip | scroll | auto",browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-block"}],description:"The overflow-block CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the block axis."},{name:"overflow-clip-box",status:"nonstandard",syntax:"padding-box | content-box",browsers:["FF29"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Mozilla/CSS/overflow-clip-box"}],description:"The overflow-clip-box CSS property specifies relative to which box the clipping happens when there is an overflow. It is short hand for the overflow-clip-box-inline and overflow-clip-box-block properties."},{name:"overflow-inline",status:"experimental",syntax:"visible | hidden | clip | scroll | auto",browsers:["FF69"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overflow-inline"}],description:"The overflow-inline CSS media feature can be used to test how the output device handles content that overflows the initial containing block along the inline axis."},{name:"overscroll-behavior",status:"nonstandard",syntax:"[ contain | none | auto ]{1,2}",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior"}],description:"The overscroll-behavior CSS property is shorthand for the overscroll-behavior-x and overscroll-behavior-y properties, which allow you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached."},{name:"overscroll-behavior-x",status:"nonstandard",syntax:"contain | none | auto",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x"}],description:"The overscroll-behavior-x CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the x axis direction."},{name:"overscroll-behavior-y",status:"nonstandard",syntax:"contain | none | auto",browsers:["E18","FF59","C63","O50"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y"}],description:"The overscroll-behavior-y CSS property is allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached — in the y axis direction."},{name:"ruby-merge",status:"experimental",syntax:"separate | collapse | auto",description:"This property controls how ruby annotation boxes should be rendered when there are more than one in a ruby container box: whether each pair should be kept separate, the annotations should be collapsed and rendered as a group, or the separation should be determined based on the space available."},{name:"scrollbar-color",syntax:"auto | dark | light | <color>{2}",browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-color"}],description:"The scrollbar-color CSS property sets the color of the scrollbar track and thumb."},{name:"scrollbar-width",syntax:"auto | thin | none",browsers:["FF64"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scrollbar-width"}],description:"The scrollbar-width property allows the author to set the maximum thickness of an element’s scrollbars when they are shown. "},{name:"scroll-margin",syntax:"<length>{1,4}",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin"}],description:"The scroll-margin property is a shorthand property which sets all of the scroll-margin longhands, assigning values much like the margin property does for the margin-* longhands."},{name:"scroll-margin-block",syntax:"<length>{1,2}",browsers:["FF68","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block"}],description:"The scroll-margin-block property is a shorthand property which sets the scroll-margin longhands in the block dimension."},{name:"scroll-margin-block-start",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start"}],description:"The scroll-margin-block-start property defines the margin of the scroll snap area at the start of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-block-end",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end"}],description:"The scroll-margin-block-end property defines the margin of the scroll snap area at the end of the block dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-bottom",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom"}],description:"The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline",syntax:"<length>{1,2}",browsers:["FF68"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline"}],description:"The scroll-margin-inline property is a shorthand property which sets the scroll-margin longhands in the inline dimension."},{name:"scroll-margin-inline-start",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start"}],description:"The scroll-margin-inline-start property defines the margin of the scroll snap area at the start of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-inline-end",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end"}],description:"The scroll-margin-inline-end property defines the margin of the scroll snap area at the end of the inline dimension that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-left",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left"}],description:"The scroll-margin-left property defines the left margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-right",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right"}],description:"The scroll-margin-right property defines the right margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-margin-top",syntax:"<length>",browsers:["FF68","S11","C69","O56"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top"}],description:"The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box (axis-aligned in the scroll container’s coordinate space), then adding the specified outsets."},{name:"scroll-snap-type-x",status:"obsolete",syntax:"none | mandatory | proximity",browsers:["FF39","S9"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x"}],description:"The scroll-snap-type-x CSS property defines how strictly snap points are enforced on the horizontal axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"scroll-snap-type-y",status:"obsolete",syntax:"none | mandatory | proximity",browsers:["FF39"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y"}],description:"The scroll-snap-type-y CSS property defines how strictly snap points are enforced on the vertical axis of the scroll container in case there is one.\n\nSpecifying any precise animations or physics used to enforce those snap points is not covered by this property but instead left up to the user agent."},{name:"text-decoration-thickness",syntax:"auto | from-font | <length>",browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-decoration-thickness"}],description:"The text-decoration-thickness CSS property sets the thickness, or width, of the decoration line that is used on text in an element, such as a line-through, underline, or overline."},{name:"text-emphasis",syntax:"<'text-emphasis-style'> || <'text-emphasis-color'>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis"}],description:"The text-emphasis CSS property is a shorthand property for setting text-emphasis-style and text-emphasis-color in one declaration. This property will apply the specified emphasis mark to each character of the element's text, except separator characters, like spaces, and control characters."},{name:"text-emphasis-color",syntax:"<color>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-color"}],description:"The text-emphasis-color CSS property defines the color used to draw emphasis marks on text being rendered in the HTML document. This value can also be set and reset using the text-emphasis shorthand."},{name:"text-emphasis-position",syntax:"[ over | under ] && [ right | left ]",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-position"}],description:"The text-emphasis-position CSS property describes where emphasis marks are drawn at. The effect of emphasis marks on the line height is the same as for ruby text: if there isn't enough place, the line height is increased."},{name:"text-emphasis-style",syntax:"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>",browsers:["FF46","S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-emphasis-style"}],description:"The text-emphasis-style CSS property defines the type of emphasis used. It can also be set, and reset, using the text-emphasis shorthand."},{name:"text-underline-offset",syntax:"auto | from-font | <length>",browsers:["FF70","S12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/text-underline-offset"}],description:"The text-underline-offset CSS property sets the offset distance of an underline text decoration line (applied using text-decoration) from its original position."},{name:"speak-as",syntax:"auto | bullets | numbers | words | spell-out | <counter-style-name>",description:"The speak-as descriptor specifies how a counter symbol constructed with a given @counter-style will be represented in the spoken form. For example, an author can specify a counter symbol to be either spoken as its numerical value or just represented with an audio cue."},{name:"bleed",status:"experimental",syntax:"auto | <length>",description:"The bleed CSS at-rule descriptor, used with the @page at-rule, specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks property."},{name:"marks",status:"experimental",syntax:"none | [ crop || cross ]",description:"The marks CSS at-rule descriptor, used with the @page at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets."}],atDirectives:[{name:"@charset",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@charset"}],description:"Defines character set of the document."},{name:"@counter-style",browsers:["FF33"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@counter-style"}],description:"Defines a custom counter style."},{name:"@font-face",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-face"}],description:"Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment."},{name:"@font-feature-values",browsers:["FF34","S9.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"}],description:"Defines named values for the indices used to select alternate glyphs for a given font family."},{name:"@import",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@import"}],description:"Includes content of another file."},{name:"@keyframes",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@keyframes"}],description:"Defines set of animation key frames."},{name:"@media",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@media"}],description:"Defines a stylesheet for a particular media type."},{name:"@-moz-document",browsers:["FF1.8"],description:"Gecko-specific at-rule that restricts the style rules contained within it based on the URL of the document."},{name:"@-moz-keyframes",browsers:["FF5"],description:"Defines set of animation key frames."},{name:"@-ms-viewport",browsers:["E","IE10"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@namespace",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@namespace"}],description:"Declares a prefix and associates it with a namespace name."},{name:"@-o-keyframes",browsers:["O12"],description:"Defines set of animation key frames."},{name:"@-o-viewport",browsers:["O11"],description:"Specifies the size, zoom factor, and orientation of the viewport."},{name:"@page",browsers:["E12","FF19","C2","IE8","O6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@page"}],description:"Directive defines various page parameters."},{name:"@supports",browsers:["E12","FF22","S9","C28","O12.1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/@supports"}],description:"A conditional group rule whose condition tests whether the user agent supports CSS property:value pairs."},{name:"@-webkit-keyframes",browsers:["C","S4"],description:"Defines set of animation key frames."}],pseudoClasses:[{name:":active",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:active"}],description:"Applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it."},{name:":any-link",browsers:["FF50","S9","C65","O52"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:any-link"}],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":checked",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:checked"}],description:"Radio and checkbox elements can be toggled by the user. Some menu items are 'checked' when the user selects them. When such elements are toggled 'on' the :checked pseudo-class applies."},{name:":corner-present",browsers:["C","S5"],description:"Non-standard. Indicates whether or not a scrollbar corner is present."},{name:":decrement",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will decrement the view’s position when used."},{name:":default",browsers:["FF4","S5","C10","O10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:default"}],description:"Applies to the one or more UI elements that are the default among a set of similar elements. Typically applies to context menu items, buttons, and select lists/menus."},{name:":disabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:disabled"}],description:"Represents user interface elements that are in a disabled state; such elements have a corresponding enabled state."},{name:":double-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed together at the same end of the scrollbar."},{name:":empty",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:empty"}],description:"Represents an element that has no children at all."},{name:":enabled",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:enabled"}],description:"Represents user interface elements that are in an enabled state; such elements have a corresponding disabled state."},{name:":end",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed after the thumb."},{name:":first",browsers:["E12","S6","C18","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":first-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-child"}],description:"Same as :nth-child(1). Represents an element that is the first child of some other element."},{name:":first-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:first-of-type"}],description:"Same as :nth-of-type(1). Represents an element that is the first sibling of its type in the list of children of its parent element."},{name:":focus",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus"}],description:"Applies while an element has the focus (accepts keyboard or mouse events, or other forms of input)."},{name:":fullscreen",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:fullscreen"}],description:"Matches any element that has its fullscreen flag set."},{name:":future",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely after a :current element."},{name:":horizontal",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a horizontal orientation."},{name:":host",browsers:["FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:host"}],description:"When evaluated in the context of a shadow tree, matches the shadow tree’s host element."},{name:":host()",browsers:["C35","O22"],description:"When evaluated in the context of a shadow tree, it matches the shadow tree’s host element if the host element, in its normal context, matches the selector argument."},{name:":host-context()",browsers:["C35","O22"],description:"Tests whether there is an ancestor, outside the shadow tree, which matches a particular selector."},{name:":hover",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:hover"}],description:"Applies while the user designates an element with a pointing device, but does not necessarily activate it. For example, a visual user agent could apply this pseudo-class when the cursor (mouse pointer) hovers over a box generated by the element."},{name:":increment",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether or not the button or track piece will increment the view’s position when used."},{name:":indeterminate",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:indeterminate"}],description:"Applies to UI elements whose value is in an indeterminate state."},{name:":in-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:in-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":invalid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:invalid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":lang()",browsers:["E","C","FF1","IE8","O8","S3"],description:"Represents an element that is in language specified."},{name:":last-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-child"}],description:"Same as :nth-last-child(1). Represents an element that is the last child of some other element."},{name:":last-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:last-of-type"}],description:"Same as :nth-last-of-type(1). Represents an element that is the last sibling of its type in the list of children of its parent element."},{name:":left",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:left"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":link",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:link"}],description:"Applies to links that have not yet been visited."},{name:":matches()",browsers:["S9"],description:"Takes a selector list as its argument. It represents an element that is represented by its argument."},{name:":-moz-any()",browsers:["FF4"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-moz-any-link",browsers:["FF1"],description:"Represents an element that acts as the source anchor of a hyperlink. Applies to both visited and unvisited links."},{name:":-moz-broken",browsers:["FF3"],description:"Non-standard. Matches elements representing broken images."},{name:":-moz-drag-over",browsers:["FF1"],description:"Non-standard. Matches elements when a drag-over event applies to it."},{name:":-moz-first-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the first child node of some other element."},{name:":-moz-focusring",browsers:["FF4"],description:"Non-standard. Matches an element that has focus and focus ring drawing is enabled in the browser."},{name:":-moz-full-screen",browsers:["FF9"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":-moz-last-node",browsers:["FF1"],description:"Non-standard. Represents an element that is the last child node of some other element."},{name:":-moz-loading",browsers:["FF3"],description:"Non-standard. Matches elements, such as images, that haven’t started loading yet."},{name:":-moz-only-whitespace",browsers:["FF1"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-only-whitespace"}],description:"The same as :empty, except that it additionally matches elements that only contain code points affected by whitespace processing. Standardized as :blank."},{name:":-moz-placeholder",browsers:["FF4"],description:"Deprecated. Represents placeholder text in an input field. Use ::-moz-placeholder for Firefox 19+."},{name:":-moz-submit-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-submit-invalid"}],description:"Non-standard. Represents any submit button when the contents of the associated form are not valid."},{name:":-moz-suppressed",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been blocked from loading."},{name:":-moz-ui-invalid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-invalid"}],description:"Non-standard. Represents any validated form element whose value isn't valid "},{name:":-moz-ui-valid",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-ui-valid"}],description:"Non-standard. Represents any validated form element whose value is valid "},{name:":-moz-user-disabled",browsers:["FF3"],description:"Non-standard. Matches elements representing images that have been disabled due to the user’s preferences."},{name:":-moz-window-inactive",browsers:["FF4"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:-moz-window-inactive"}],description:"Non-standard. Matches elements in an inactive window."},{name:":-ms-fullscreen",browsers:["IE11"],description:"Matches any element that has its fullscreen flag set."},{name:":-ms-input-placeholder",browsers:["IE10"],description:"Represents placeholder text in an input field. Note: for Edge use the pseudo-element ::-ms-input-placeholder. Standardized as ::placeholder."},{name:":-ms-keyboard-active",browsers:["IE10"],description:"Windows Store apps only. Applies one or more styles to an element when it has focus and the user presses the space bar."},{name:":-ms-lang()",browsers:["E","IE10"],description:"Represents an element that is in the language specified. Accepts a comma separated list of language tokens."},{name:":no-button",browsers:["C","S5"],description:"Non-standard. Applies to track pieces. Applies when there is no button at that end of the track."},{name:":not()",browsers:["E","C","FF1","IE9","O9.5","S2"],description:"The negation pseudo-class, :not(X), is a functional notation taking a simple selector (excluding the negation pseudo-class itself) as an argument. It represents an element that is not represented by its argument."},{name:":nth-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings before it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-child()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings after it in the document tree, for any positive integer or zero value of n, and has a parent element."},{name:":nth-last-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name after it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":nth-of-type()",browsers:["E","C","FF3.5","IE9","O9.5","S3.1"],description:"Represents an element that has an+b-1 siblings with the same expanded element name before it in the document tree, for any zero or positive integer value of n, and has a parent element."},{name:":only-child",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-child"}],description:"Represents an element that has a parent element and whose parent element has no other element children. Same as :first-child:last-child or :nth-child(1):nth-last-child(1), but with a lower specificity."},{name:":only-of-type",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:only-of-type"}],description:"Matches every element that is the only child of its type, of its parent. Same as :first-of-type:last-of-type or :nth-of-type(1):nth-last-of-type(1), but with a lower specificity."},{name:":optional",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:optional"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":out-of-range",browsers:["E13","FF29","S5.1","C10","O11"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:out-of-range"}],description:"Used in conjunction with the min and max attributes, whether on a range input, a number field, or any other types that accept those attributes."},{name:":past",browsers:["C","O16","S6"],description:"Represents any element that is defined to occur entirely prior to a :current element."},{name:":read-only",browsers:["E13","FF1.5","S4","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-only"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":read-write",browsers:["E13","FF1.5","S4","C1","O"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:read-write"}],description:"An element whose contents are not user-alterable is :read-only. However, elements whose contents are user-alterable (such as text input fields) are considered to be in a :read-write state. In typical documents, most elements are :read-only."},{name:":required",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:required"}],description:"A form element is :required or :optional if a value for it is, respectively, required or optional before the form it belongs to is submitted. Elements that are not form elements are neither required nor optional."},{name:":right",browsers:["E12","S5.1","C6","IE8","O9.2"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:right"}],description:"When printing double-sided documents, the page boxes on left and right pages may be different. This can be expressed through CSS pseudo-classes defined in the page context."},{name:":root",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:root"}],description:"Represents an element that is the root of the document. In HTML 4, this is always the HTML element."},{name:":scope",browsers:["FF32","S7","C27","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:scope"}],description:"Represents any element that is in the contextual reference element set."},{name:":single-button",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Applies when both buttons are displayed separately at either end of the scrollbar."},{name:":start",browsers:["C","S5"],description:"Non-standard. Applies to buttons and track pieces. Indicates whether the object is placed before the thumb."},{name:":target",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:target"}],description:"Some URIs refer to a location within a resource. This kind of URI ends with a 'number sign' (#) followed by an anchor identifier (called the fragment identifier)."},{name:":valid",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:valid"}],description:"An element is :valid or :invalid when it is, respectively, valid or invalid with respect to data validity semantics defined by a different specification."},{name:":vertical",browsers:["C","S5"],description:"Non-standard. Applies to any scrollbar pieces that have a vertical orientation."},{name:":visited",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:visited"}],description:"Applies once the link has been visited by the user."},{name:":-webkit-any()",browsers:["C","S5"],description:"Represents an element that is represented by the selector list passed as its argument. Standardized as :matches()."},{name:":-webkit-full-screen",browsers:["C","S6"],description:"Matches any element that has its fullscreen flag set. Standardized as :fullscreen."},{name:":window-inactive",browsers:["C","S3"],description:"Non-standard. Applies to all scrollbar pieces. Indicates whether or not the window containing the scrollbar is currently active."},{name:":blank",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:blank"}],description:"The :blank CSS pseudo-class selects empty user input elements (eg. <input> or <textarea>)."},{name:":defined",status:"experimental",browsers:["FF63","S10","C54","O41"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:defined"}],description:"The :defined CSS pseudo-class represents any element that has been defined. This includes any standard element built in to the browser, and custom elements that have been successfully defined (i.e. with the CustomElementRegistry.define() method)."},{name:":dir",browsers:["FF49"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:dir"}],description:"The :dir() CSS pseudo-class matches elements based on the directionality of the text contained in them."},{name:":focus-visible",status:"experimental",browsers:["FF4","C67","O54"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-visible"}],description:"The :focus-visible pseudo-class applies while an element matches the :focus pseudo-class and the UA determines via heuristics that the focus should be made evident on the element."},{name:":focus-within",status:"experimental",browsers:["FF52","S10.1","C60","O47"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:focus-within"}],description:"The :focus-within pseudo-class applies to any element for which the :focus pseudo class applies as well as to an element whose descendant in the flat tree (including non-element nodes, such as text nodes) matches the conditions for matching :focus."},{name:":has",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:has"}],description:":The :has() CSS pseudo-class represents an element if any of the selectors passed as parameters (relative to the :scope of the given element), match at least one element."},{name:":is",status:"experimental",browsers:["FF4","S9","C68","O55"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:is"}],description:"The :is() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. This is useful for writing large selectors in a more compact form."},{name:":placeholder-shown",status:"experimental",browsers:["FF51","S9","C47","IE10","O34"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown"}],description:"The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text."},{name:":where",status:"experimental",description:"The :where() CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list."}],pseudoElements:[{name:"::after",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::after"}],description:"Represents a styleable child pseudo-element immediately after the originating element’s actual content."},{name:"::backdrop",browsers:["E12","FF47","C37","IE11","O24"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::backdrop"}],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::before",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::before"}],description:"Represents a styleable child pseudo-element immediately before the originating element’s actual content."},{name:"::content",browsers:["C35","O22"],description:"Deprecated. Matches the distribution list itself, on elements that have one. Use ::slotted for forward compatibility."},{name:"::cue",browsers:["FF55","S6.1","C26","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::cue"}]},{name:"::cue()",browsers:["C","O16","S6"]},{name:"::cue-region",browsers:["C","O16","S6"]},{name:"::cue-region()",browsers:["C","O16","S6"]},{name:"::first-letter",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-letter"}],description:"Represents the first letter of an element, if it is not preceded by any other content (such as images or inline tables) on its line."},{name:"::first-line",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::first-line"}],description:"Describes the contents of the first formatted line of its originating element."},{name:"::-moz-focus-inner",browsers:["FF4"]},{name:"::-moz-focus-outer",browsers:["FF4"]},{name:"::-moz-list-bullet",browsers:["FF1"],description:"Used to style the bullet of a list element. Similar to the standardized ::marker."},{name:"::-moz-list-number",browsers:["FF1"],description:"Used to style the numbers of a list element. Similar to the standardized ::marker."},{name:"::-moz-placeholder",browsers:["FF19"],description:"Represents placeholder text in an input field"},{name:"::-moz-progress-bar",browsers:["FF9"],description:"Represents the bar portion of a progress bar."},{name:"::-moz-selection",browsers:["FF1"],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::-ms-backdrop",browsers:["IE11"],description:"Used to create a backdrop that hides the underlying document for an element in a top layer (such as an element that is displayed fullscreen)."},{name:"::-ms-browse",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-browse"}],description:"Represents the browse button of an input type=file control."},{name:"::-ms-check",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-check"}],description:"Represents the check of a checkbox or radio button input control."},{name:"::-ms-clear",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-clear"}],description:"Represents the clear button of a text input control"},{name:"::-ms-expand",browsers:["E","IE10"],description:"Represents the drop-down button of a select control."},{name:"::-ms-fill",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill"}],description:"Represents the bar portion of a progress bar."},{name:"::-ms-fill-lower",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-lower"}],description:"Represents the portion of the slider track from its smallest value up to the value currently selected by the thumb. In a left-to-right layout, this is the portion of the slider track to the left of the thumb."},{name:"::-ms-fill-upper",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-upper"}],description:"Represents the portion of the slider track from the value currently selected by the thumb up to the slider's largest value. In a left-to-right layout, this is the portion of the slider track to the right of the thumb."},{name:"::-ms-reveal",browsers:["E12","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-reveal"}],description:"Represents the password reveal button of an input type=password control."},{name:"::-ms-thumb",browsers:["E","IE10"],description:"Represents the portion of range input control (also known as a slider control) that the user drags."},{name:"::-ms-ticks-after",browsers:["E","IE10"],description:"Represents the tick marks of a slider that begin just after the thumb and continue up to the slider's largest value. In a left-to-right layout, these are the ticks to the right of the thumb."},{name:"::-ms-ticks-before",browsers:["E","IE10"],description:"Represents the tick marks of a slider that represent its smallest values up to the value currently selected by the thumb. In a left-to-right layout, these are the ticks to the left of the thumb."},{name:"::-ms-tooltip",browsers:["E","IE10"],description:"Represents the tooltip of a slider (input type=range)."},{name:"::-ms-track",browsers:["E","IE10"],description:"Represents the track of a slider."},{name:"::-ms-value",browsers:["E16","IE10"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-ms-value"}],description:"Represents the content of a text or password input control, or a select control."},{name:"::selection",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::selection"}],description:"Represents the portion of a document that has been highlighted by the user."},{name:"::shadow",browsers:["C35","O22"],description:"Matches the shadow root if an element has a shadow tree."},{name:"::-webkit-file-upload-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-file-upload-button"}]},{name:"::-webkit-inner-spin-button",browsers:["S4.1","C6","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-inner-spin-button"}]},{name:"::-webkit-input-placeholder",browsers:["C","S4"]},{name:"::-webkit-keygen-select",browsers:["C","O","S6"]},{name:"::-webkit-meter-bar",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-bar"}]},{name:"::-webkit-meter-even-less-good-value",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-even-less-good-value"}]},{name:"::-webkit-meter-optimum-value",browsers:["S5.1","C12","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-meter-optimum-value"}]},{name:"::-webkit-meter-suboptimal-value",browsers:["E13","C","O15","S6"]},{name:"::-webkit-outer-spin-button",browsers:["S4.1","C6"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-outer-spin-button"}]},{name:"::-webkit-progress-bar",browsers:["S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-bar"}]},{name:"::-webkit-progress-inner-element",browsers:["S6.1","C23","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-inner-element"}]},{name:"::-webkit-progress-value",browsers:["S6.1","C25","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-progress-value"}]},{name:"::-webkit-resizer",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-resizer"}]},{name:"::-webkit-scrollbar",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar"}]},{name:"::-webkit-scrollbar-button",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-button"}]},{name:"::-webkit-scrollbar-corner",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-corner"}]},{name:"::-webkit-scrollbar-thumb",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-thumb"}]},{name:"::-webkit-scrollbar-track",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-track"}]},{name:"::-webkit-scrollbar-track-piece",browsers:["S4","C2","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-scrollbar-track-piece"}]},{name:"::-webkit-search-cancel-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-cancel-button"}]},{name:"::-webkit-search-decoration",browsers:["C","S4"]},{name:"::-webkit-search-results-button",browsers:["S3","C1","O15"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-webkit-search-results-button"}]},{name:"::-webkit-search-results-decoration",browsers:["C","S4"]},{name:"::-webkit-slider-runnable-track",browsers:["C","O","S6"]},{name:"::-webkit-slider-thumb",browsers:["C","O","S6"]},{name:"::-webkit-textfield-decoration-container",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-arrow-clipper",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-heading",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-message",browsers:["C","O","S6"]},{name:"::-webkit-validation-bubble-text-block",browsers:["C","O","S6"]},{name:"::-moz-range-progress",status:"nonstandard",browsers:["FF22"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-progress"}],description:'The ::-moz-range-progress CSS pseudo-element is a Mozilla extension that represents the lower portion of the track (i.e., groove) in which the indicator slides in an <input> of type="range". This portion corresponds to values lower than the value currently selected by the thumb (i.e., virtual knob).'},{name:"::-moz-range-thumb",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-thumb"}],description:'The ::-moz-range-thumb CSS pseudo-element is a Mozilla extension that represents the thumb (i.e., virtual knob) of an <input> of type="range". The user can move the thumb along the input\'s track to alter its numerical value.'},{name:"::-moz-range-track",status:"nonstandard",browsers:["FF21"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::-moz-range-track"}],description:'The ::-moz-range-track CSS pseudo-element is a Mozilla extension that represents the track (i.e., groove) in which the indicator slides in an <input> of type="range".'},{name:"::-webkit-progress-inner-value",status:"nonstandard",description:"The ::-webkit-progress-value CSS pseudo-element represents the filled-in portion of the bar of a <progress> element. It is a child of the ::-webkit-progress-bar pseudo-element.\n\nIn order to let ::-webkit-progress-value take effect, -webkit-appearance needs to be set to none on the <progress> element."},{name:"::grammar-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::grammar-error"}],description:"The ::grammar-error CSS pseudo-element represents a text segment which the user agent has flagged as grammatically incorrect."},{name:"::marker",browsers:["FF68","C80"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::marker"}],description:"The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements."},{name:"::part",status:"experimental",browsers:["FF69","C73","O60"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::part"}],description:"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute."},{name:"::placeholder",browsers:["E12","FF51","S10.1","C57","O44"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::placeholder"}],description:"The ::placeholder CSS pseudo-element represents the placeholder text of a form element."},{name:"::slotted",browsers:["FF63","S10","C50","O37"],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::slotted"}],description:"The :slotted() CSS pseudo-element represents any element that has been placed into a slot inside an HTML template."},{name:"::spelling-error",status:"experimental",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/::spelling-error"}],description:"The ::spelling-error CSS pseudo-element represents a text segment which the user agent has flagged as incorrectly spelled."}]})]),en=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,r++)i[r]=o[s];return i},tn=function(){function e(e){void 0===e&&(e=new Z),this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=e,this.token={type:i.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}return e.prototype.peekIdent=function(e){return i.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekKeyword=function(e){return i.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},e.prototype.peekDelim=function(e){return i.Delim===this.token.type&&e===this.token.text},e.prototype.peek=function(e){return e===this.token.type},e.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},e.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},e.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},e.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},e.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},e.prototype.try=function(e){var t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)},e.prototype.acceptOneKeyword=function(e){if(i.AtKeyword===this.token.type)for(var t=0,n=e;t<n.length;t++){var r=n[t];if(r.length===this.token.text.length&&r===this.token.text.toLowerCase())return this.consumeToken(),!0}return!1},e.prototype.accept=function(e){return e===this.token.type&&(this.consumeToken(),!0)},e.prototype.acceptIdent=function(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)},e.prototype.acceptKeyword=function(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)},e.prototype.acceptDelim=function(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)},e.prototype.acceptRegexp=function(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)},e.prototype._parseRegexp=function(e){var t=this.createNode(Y.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)},e.prototype.acceptUnquotedString=function(){var e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);var t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)},e.prototype.resync=function(e,t){for(;;){if(e&&-1!==e.indexOf(this.token.type))return this.consumeToken(),!0;if(t&&-1!==t.indexOf(this.token.type))return!0;if(this.token.type===i.EOF)return!1;this.token=this.scanner.scan()}},e.prototype.createNode=function(e){return new ie(this.token.offset,this.token.len,e)},e.prototype.create=function(e){return new e(this.token.offset,this.token.len)},e.prototype.finish=function(e,t,n,i){if(!(e instanceof re)&&(t&&this.markError(e,t,n,i),this.prevToken)){var r=this.prevToken.offset+this.prevToken.len;e.length=r>e.offset?r-e.offset:0}return e},e.prototype.markError=function(e,t,n,i){this.token!==this.lastErrorToken&&(e.addIssue(new ht(e,t,ne.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||i)&&this.resync(n,i)},e.prototype.parseStylesheet=function(e){var t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,(function(i,r){if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(i,r)}))},e.prototype.internalParse=function(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();var i=t.bind(this)();return i&&(i.textProvider=n||function(t,n){return e.substr(t,n)}),i},e.prototype._parseStylesheet=function(){for(var e=this.create(se);e.addChild(this._parseStylesheetStart()););var t=!1;do{var n=!1;do{n=!1;var r=this._parseStylesheetStatement();for(r&&(e.addChild(r),n=!0,t=!1,this.peek(i.EOF)||!this._needsSemicolonAfter(r)||this.accept(i.SemiColon)||this.markError(e,vt.SemiColonExpected));this.accept(i.SemiColon)||this.accept(i.CDO)||this.accept(i.CDC);)n=!0,t=!1}while(n);if(this.peek(i.EOF))break;t||(this.peek(i.AtKeyword)?this.markError(e,vt.UnknownAtRule):this.markError(e,vt.RuleOrSelectorExpected),t=!0),this.consumeToken()}while(!this.peek(i.EOF));return this.finish(e)},e.prototype._parseStylesheetStart=function(){return this._parseCharset()},e.prototype._parseStylesheetStatement=function(e){return void 0===e&&(e=!1),this.peek(i.AtKeyword)?this._parseStylesheetAtStatement(e):this._parseRuleset(e)},e.prototype._parseStylesheetAtStatement=function(e){return void 0===e&&(e=!1),this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseUnknownAtRule()},e.prototype._tryParseRuleset=function(e){var t=this.mark();if(this._parseSelector(e)){for(;this.accept(i.Comma)&&this._parseSelector(e););if(this.accept(i.CurlyL))return this.restoreAtMark(t),this._parseRuleset(e)}return this.restoreAtMark(t),null},e.prototype._parseRuleset=function(e){void 0===e&&(e=!1);var t=this.create(ce),n=t.getSelectors();if(!n.addChild(this._parseSelector(e)))return null;for(;this.accept(i.Comma);)if(!n.addChild(this._parseSelector(e)))return this.finish(t,vt.SelectorExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseRuleSetDeclaration=function(){return this._parseAtApply()||this._tryParseCustomPropertyDeclaration()||this._parseDeclaration()||this._parseUnknownAtRule()},e.prototype._parseAtApply=function(){if(!this.peekKeyword("@apply"))return null;var e=this.create(he);return this.consumeToken(),e.setIdentifier(this._parseIdent([X.Variable]))?this.finish(e):this.finish(e,vt.IdentifierExpected)},e.prototype._needsSemicolonAfter=function(e){switch(e.type){case Y.Keyframe:case Y.ViewPort:case Y.Media:case Y.Ruleset:case Y.Namespace:case Y.If:case Y.For:case Y.Each:case Y.While:case Y.MixinDeclaration:case Y.FunctionDeclaration:return!1;case Y.ExtendsReference:case Y.MixinContent:case Y.ReturnStatement:case Y.MediaQuery:case Y.Debug:case Y.Import:case Y.AtApplyRule:case Y.CustomPropertyDeclaration:return!0;case Y.VariableDeclaration:return e.needsSemicolon;case Y.MixinReference:return!e.getContent();case Y.Declaration:return!e.getNestedProperties()}return!1},e.prototype._parseDeclarations=function(e){var t=this.create(ae);if(!this.accept(i.CurlyL))return null;for(var n=e();t.addChild(n)&&!this.peek(i.CurlyR);){if(this._needsSemicolonAfter(n)&&!this.accept(i.SemiColon))return this.finish(t,vt.SemiColonExpected,[i.SemiColon,i.CurlyR]);for(n&&this.prevToken&&this.prevToken.type===i.SemiColon&&(n.semicolonPosition=this.prevToken.offset);this.accept(i.SemiColon););n=e()}return this.accept(i.CurlyR)?this.finish(t):this.finish(t,vt.RightCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseBody=function(e,t){return e.setDeclarations(this._parseDeclarations(t))?this.finish(e):this.finish(e,vt.LeftCurlyExpected,[i.CurlyR,i.SemiColon])},e.prototype._parseSelector=function(e){var t=this.create(de),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null},e.prototype._parseDeclaration=function(e){var t=this.create(ge);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon)){var n=e?en(e,[i.SemiColon]):[i.SemiColon];return this.finish(t,vt.ColonExpected,[i.Colon],n)}return this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseExpr())?(t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)):this.finish(t,vt.PropertyValueExpected)},e.prototype._tryParseCustomPropertyDeclaration=function(){if(!this.peekRegExp(i.Ident,/^--/))return null;var e=this.create(ue);if(!e.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(e,vt.ColonExpected,[i.Colon]);this.prevToken&&(e.colonPosition=this.prevToken.offset);var t=this.mark();if(this.peek(i.CurlyL)){var n=this.create(fe),r=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(n.setDeclarations(r)&&!r.isErroneous(!0)&&(n.addChild(this._parsePrio()),this.peek(i.SemiColon)))return this.finish(n),e.setPropertySet(n),e.semicolonPosition=this.token.offset,this.finish(e);this.restoreAtMark(t)}var o=this._parseExpr();return o&&!o.isErroneous(!0)&&(this._parsePrio(),this.peek(i.SemiColon))?(e.setValue(o),e.semicolonPosition=this.token.offset,this.finish(e)):(this.restoreAtMark(t),e.addChild(this._parseCustomPropertyValue()),e.addChild(this._parsePrio()),xt(e.colonPosition)&&this.token.offset===e.colonPosition+1?this.finish(e,vt.PropertyValueExpected):this.finish(e))},e.prototype._parseCustomPropertyValue=function(){var e=this.create(ie),t=function(){return 0===n&&0===r&&0===o},n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:case i.Exclamation:if(t())break e;break;case i.CurlyL:n++;break;case i.CurlyR:if(--n<0){if(0===r&&0===o)break e;return this.finish(e,vt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,vt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,vt.LeftSquareBracketExpected);break;case i.BadString:break e;case i.EOF:var s=vt.RightCurlyExpected;return o>0?s=vt.RightSquareBracketExpected:r>0&&(s=vt.RightParenthesisExpected),this.finish(e,s)}this.consumeToken()}return this.finish(e)},e.prototype._tryToParseDeclaration=function(){var e=this.mark();return this._parseProperty()&&this.accept(i.Colon)?(this.restoreAtMark(e),this._parseDeclaration()):(this.restoreAtMark(e),null)},e.prototype._parseProperty=function(){var e=this.create(be),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null},e.prototype._parsePropertyIdentifier=function(){return this._parseIdent()},e.prototype._parseCharset=function(){if(!this.peek(i.Charset))return null;var e=this.create(ie);return this.consumeToken(),this.accept(i.String)?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.IdentifierExpected)},e.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Me);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,vt.URIOrStringExpected)},e.prototype._parseNamespace=function(){if(!this.peekKeyword("@namespace"))return null;var e=this.create(We);return this.consumeToken(),e.addChild(this._parseURILiteral())||(e.addChild(this._parseIdent()),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral()))?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.URIExpected,[i.SemiColon])},e.prototype._parseFontFace=function(){if(!this.peekKeyword("@font-face"))return null;var e=this.create(Te);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseViewPort=function(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;var e=this.create(De);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parseKeyframe=function(){if(!this.peekRegExp(i.AtKeyword,this.keyframeRegex))return null;var e=this.create(Ee),t=this.create(ie);return this.consumeToken(),e.setKeyword(this.finish(t)),t.matches("@-ms-keyframes")&&this.markError(t,vt.UnknownKeyword),e.setIdentifier(this._parseKeyframeIdent())?this._parseBody(e,this._parseKeyframeSelector.bind(this)):this.finish(e,vt.IdentifierExpected,[i.CurlyR])},e.prototype._parseKeyframeIdent=function(){return this._parseIdent([X.Keyframe])},e.prototype._parseKeyframeSelector=function(){var e=this.create(Ie);if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.finish(e,vt.PercentageExpected);return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._tryParseKeyframeSelector=function(){var e=this.create(Ie),t=this.mark();if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return null;for(;this.accept(i.Comma);)if(!e.addChild(this._parseIdent())&&!this.accept(i.Percentage))return this.restoreAtMark(t),null;return this.peek(i.CurlyL)?this._parseBody(e,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(t),null)},e.prototype._parseSupports=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@supports"))return null;var t=this.create(Le);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))},e.prototype._parseSupportsDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseSupportsCondition=function(){var e=this.create(Be);if(this.acceptIdent("not"))e.addChild(this._parseSupportsConditionInParens());else if(e.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(i.Ident,/^(and|or)$/i))for(var t=this.token.text.toLowerCase();this.acceptIdent(t);)e.addChild(this._parseSupportsConditionInParens());return this.finish(e)},e.prototype._parseSupportsConditionInParens=function(){var e=this.create(Be);if(this.accept(i.ParenthesisL))return this.prevToken&&(e.lParent=this.prevToken.offset),e.addChild(this._tryToParseDeclaration())||this._parseSupportsCondition()?this.accept(i.ParenthesisR)?(this.prevToken&&(e.rParent=this.prevToken.offset),this.finish(e)):this.finish(e,vt.RightParenthesisExpected,[i.ParenthesisR],[]):this.finish(e,vt.ConditionExpected);if(this.peek(i.Ident)){var t=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(i.ParenthesisL)){for(var n=1;this.token.type!==i.EOF&&0!==n;)this.token.type===i.ParenthesisL?n++:this.token.type===i.ParenthesisR&&n--,this.consumeToken();return this.finish(e)}this.restoreAtMark(t)}return this.finish(e,vt.LeftParenthesisExpected,[],[i.ParenthesisL])},e.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)},e.prototype._parseMedia=function(e){if(void 0===e&&(e=!1),!this.peekKeyword("@media"))return null;var t=this.create(Oe);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,vt.MediaQueryExpected)},e.prototype._parseMediaQueryList=function(){var e=this.create(je);if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,vt.MediaQueryExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseMediaQuery([i.CurlyL])))return this.finish(e,vt.MediaQueryExpected);return this.finish(e)},e.prototype._parseMediaQuery=function(e){var t=this.create(Ve),n=!0,r=!1;if(!this.peek(i.ParenthesisL)){if(this.acceptIdent("only")||this.acceptIdent("not"),!t.addChild(this._parseIdent()))return null;r=!0,n=this.acceptIdent("and")}for(;n;)if(t.addChild(this._parseMediaContentStart()))n=this.acceptIdent("and");else{if(!this.accept(i.ParenthesisL))return r?this.finish(t,vt.LeftParenthesisExpected,[],e):null;if(!t.addChild(this._parseMediaFeatureName()))return this.finish(t,vt.IdentifierExpected,[],e);if(this.accept(i.Colon)&&!t.addChild(this._parseExpr()))return this.finish(t,vt.TermExpected,[],e);if(!this.accept(i.ParenthesisR))return this.finish(t,vt.RightParenthesisExpected,[],e);n=this.acceptIdent("and")}return this.finish(t)},e.prototype._parseMediaContentStart=function(){return null},e.prototype._parseMediaFeatureName=function(){return this._parseIdent()},e.prototype._parseMedium=function(){var e=this.create(ie);return e.addChild(this._parseIdent())?this.finish(e):null},e.prototype._parsePageDeclaration=function(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()},e.prototype._parsePage=function(){if(!this.peekKeyword("@page"))return null;var e=this.create($e);if(this.consumeToken(),e.addChild(this._parsePageSelector()))for(;this.accept(i.Comma);)if(!e.addChild(this._parsePageSelector()))return this.finish(e,vt.IdentifierExpected);return this._parseBody(e,this._parsePageDeclaration.bind(this))},e.prototype._parsePageMarginBox=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(qe);return this.acceptOneKeyword(Zt)||this.markError(e,vt.UnknownAtRule,[],[i.CurlyL]),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},e.prototype._parsePageSelector=function(){if(!this.peek(i.Ident)&&!this.peek(i.Colon))return null;var e=this.create(ie);return e.addChild(this._parseIdent()),this.accept(i.Colon)&&!e.addChild(this._parseIdent())?this.finish(e,vt.IdentifierExpected):this.finish(e)},e.prototype._parseDocument=function(){if(!this.peekKeyword("@-moz-document"))return null;var e=this.create(Ue);return this.consumeToken(),this.resync([],[i.CurlyL]),this._parseBody(e,this._parseStylesheetStatement.bind(this))},e.prototype._parseUnknownAtRule=function(){if(!this.peek(i.AtKeyword))return null;var e=this.create(at);e.addChild(this._parseUnknownAtRuleName());var t=0,n=0,r=0,o=0;e:for(;;){switch(this.token.type){case i.SemiColon:if(0===n&&0===r&&0===o)break e;break;case i.EOF:return n>0?this.finish(e,vt.RightCurlyExpected):o>0?this.finish(e,vt.RightSquareBracketExpected):r>0?this.finish(e,vt.RightParenthesisExpected):this.finish(e);case i.CurlyL:t++,n++;break;case i.CurlyR:if(n--,t>0&&0===n){if(this.consumeToken(),o>0)return this.finish(e,vt.RightSquareBracketExpected);if(r>0)return this.finish(e,vt.RightParenthesisExpected);break e}if(n<0){if(0===r&&0===o)break e;return this.finish(e,vt.LeftCurlyExpected)}break;case i.ParenthesisL:r++;break;case i.ParenthesisR:if(--r<0)return this.finish(e,vt.LeftParenthesisExpected);break;case i.BracketL:o++;break;case i.BracketR:if(--o<0)return this.finish(e,vt.LeftSquareBracketExpected)}this.consumeToken()}return e},e.prototype._parseUnknownAtRuleName=function(){var e=this.create(ie);return this.accept(i.AtKeyword)?this.finish(e):e},e.prototype._parseOperator=function(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(i.Dashmatch)||this.peek(i.Includes)||this.peek(i.SubstringOperator)||this.peek(i.PrefixOperator)||this.peek(i.SuffixOperator)||this.peekDelim("=")){var e=this.createNode(Y.Operator);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseUnaryOperator=function(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;var e=this.create(ie);return this.consumeToken(),this.finish(e)},e.prototype._parseCombinator=function(){if(this.peekDelim(">")){var e=this.create(ie);this.consumeToken();var t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=Y.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=Y.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){e=this.create(ie);return this.consumeToken(),e.type=Y.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){e=this.create(ie);return this.consumeToken(),e.type=Y.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){e=this.create(ie);this.consumeToken();t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=Y.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},e.prototype._parseSimpleSelector=function(){var e=this.create(pe),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null},e.prototype._parseSimpleSelectorBody=function(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()},e.prototype._parseSelectorIdent=function(){return this._parseIdent()},e.prototype._parseHash=function(){if(!this.peek(i.Hash)&&!this.peekDelim("#"))return null;var e=this.createNode(Y.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!e.addChild(this._parseSelectorIdent()))return this.finish(e,vt.IdentifierExpected)}else this.consumeToken();return this.finish(e)},e.prototype._parseClass=function(){if(!this.peekDelim("."))return null;var e=this.createNode(Y.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,vt.IdentifierExpected):this.finish(e)},e.prototype._parseElementName=function(){var e=this.mark(),t=this.createNode(Y.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseNamespacePrefix=function(){var e=this.mark(),t=this.createNode(Y.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)},e.prototype._parseAttrib=function(){if(!this.peek(i.BracketL))return null;var e=this.create(He);return this.consumeToken(),e.setNamespacePrefix(this._parseNamespacePrefix()),e.setIdentifier(this._parseIdent())?(e.setOperator(this._parseOperator())&&(e.setValue(this._parseBinaryExpr()),this.acceptIdent("i")),this.accept(i.BracketR)?this.finish(e):this.finish(e,vt.RightSquareBracketExpected)):this.finish(e,vt.IdentifierExpected)},e.prototype._parsePseudo=function(){var e=this,t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(t.addChild(this.try((function(){var t=e.create(ie);if(!t.addChild(e._parseSelector(!1)))return null;for(;e.accept(i.Comma)&&t.addChild(e._parseSelector(!1)););return e.peek(i.ParenthesisR)?e.finish(t):null}))||this._parseBinaryExpr()),!this.accept(i.ParenthesisR))return this.finish(t,vt.RightParenthesisExpected)}return this.finish(t)}return null},e.prototype._tryParsePseudoIdentifier=function(){if(!this.peek(i.Colon))return null;var e=this.mark(),t=this.createNode(Y.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(e),null):(this.accept(i.Colon)&&this.hasWhitespace()&&this.markError(t,vt.IdentifierExpected),t.addChild(this._parseIdent())||this.markError(t,vt.IdentifierExpected),t)},e.prototype._tryParsePrio=function(){var e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)},e.prototype._parsePrio=function(){if(!this.peek(i.Exclamation))return null;var e=this.createNode(Y.Prio);return this.accept(i.Exclamation)&&this.acceptIdent("important")?this.finish(e):null},e.prototype._parseExpr=function(e){void 0===e&&(e=!1);var t=this.create(Ke);if(!t.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(i.Comma)){if(e)return this.finish(t);this.consumeToken()}if(!t.addChild(this._parseBinaryExpr()))break}return this.finish(t)},e.prototype._parseNamedLine=function(){if(!this.peek(i.BracketL))return null;var e=this.createNode(Y.GridLine);for(this.consumeToken();e.addChild(this._parseIdent()););return this.accept(i.BracketR)?this.finish(e):this.finish(e,vt.RightSquareBracketExpected)},e.prototype._parseBinaryExpr=function(e,t){var n=this.create(Ge);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,vt.TermExpected);n=this.finish(n);var i=this._parseOperator();return i&&(n=this._parseBinaryExpr(n,i)),this.finish(n)},e.prototype._parseTerm=function(){var e=this.create(Je);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseURILiteral())||e.setExpression(this._parseFunction())||e.setExpression(this._parseIdent())||e.setExpression(this._parseStringLiteral())||e.setExpression(this._parseNumeric())||e.setExpression(this._parseHexColor())||e.setExpression(this._parseOperation())||e.setExpression(this._parseNamedLine())?this.finish(e):null},e.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(ie);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},e.prototype._parseNumeric=function(){if(this.peek(i.Num)||this.peek(i.Percentage)||this.peek(i.Resolution)||this.peek(i.Length)||this.peek(i.EMS)||this.peek(i.EXS)||this.peek(i.Angle)||this.peek(i.Time)||this.peek(i.Dimension)||this.peek(i.Freq)){var e=this.create(et);return this.consumeToken(),this.finish(e)}return null},e.prototype._parseStringLiteral=function(){if(!this.peek(i.String)&&!this.peek(i.BadString))return null;var e=this.createNode(Y.StringLiteral);return this.consumeToken(),this.finish(e)},e.prototype._parseURILiteral=function(){if(!this.peekRegExp(i.Ident,/^url(-prefix)?$/i))return null;var e=this.mark(),t=this.createNode(Y.URILiteral);return this.accept(i.Ident),this.hasWhitespace()||!this.peek(i.ParenthesisL)?(this.restoreAtMark(e),null):(this.scanner.inURL=!0,this.consumeToken(),t.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected))},e.prototype._parseURLArgument=function(){var e=this.create(ie);return this.accept(i.String)||this.accept(i.BadString)||this.acceptUnquotedString()?this.finish(e):null},e.prototype._parseIdent=function(e){if(!this.peek(i.Ident))return null;var t=this.create(oe);return e&&(t.referenceTypes=e),t.isCustomProperty=this.peekRegExp(i.Ident,/^--/),this.consumeToken(),this.finish(t)},e.prototype._parseFunction=function(){var e=this.mark(),t=this.create(ye);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)t.getArguments().addChild(this._parseFunctionArgument())||this.markError(t,vt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected)},e.prototype._parseFunctionIdentifier=function(){if(!this.peek(i.Ident))return null;var e=this.create(oe);if(e.referenceTypes=[X.Function],this.acceptIdent("progid")){if(this.accept(i.Colon))for(;this.accept(i.Ident)&&this.acceptDelim("."););return this.finish(e)}return this.consumeToken(),this.finish(e)},e.prototype._parseFunctionArgument=function(){var e=this.create(we);return e.setValue(this._parseExpr(!0))?this.finish(e):null},e.prototype._parseHexColor=function(){if(this.peekRegExp(i.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){var e=this.create(Ye);return this.consumeToken(),this.finish(e)}return null},e}();function nn(e,t){return-1!==e.indexOf(t)}function rn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],i=0,r=e;i<r.length;i++)for(var o=r[i],s=0,a=o;s<a.length;s++){var l=a[s];nn(n,l)||n.push(l)}return n}var on,sn,an,ln,cn,dn,pn,hn,mn,un,fn,gn,bn,yn,vn,wn,xn,Sn,kn,Cn,Fn=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)}}(),zn=function(){function e(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}return e.prototype.addChild=function(e){this.children.push(e),e.setParent(this)},e.prototype.setParent=function(e){this.parent=e},e.prototype.findScope=function(e,t){return void 0===t&&(t=0),this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},e.prototype.findInScope=function(e,t){void 0===t&&(t=0);var n=e+t,i=function(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}(this.children,(function(e){return e.offset>n}));if(0===i)return this;var r=this.children[i-1];return r.offset<=e&&r.offset+r.length>=e+t?r.findInScope(e,t):this},e.prototype.addSymbol=function(e){this.symbols.push(e)},e.prototype.getSymbol=function(e,t){for(var n=0;n<this.symbols.length;n++){var i=this.symbols[n];if(i.name===e&&i.type===t)return i}return null},e.prototype.getSymbols=function(){return this.symbols},e}(),Dn=function(e){function t(){return e.call(this,0,Number.MAX_VALUE)||this}return Fn(t,e),t}(zn),Tn=function(e,t,n,i){this.name=e,this.value=t,this.node=n,this.type=i},Rn=function(){function e(e){this.scope=e}return e.prototype.addSymbol=function(e,t,n,i){if(-1!==e.offset){var r=this.scope.findScope(e.offset,e.length);r&&r.addSymbol(new Tn(t,n,e,i))}},e.prototype.addScope=function(e){if(-1!==e.offset){var t=this.scope.findScope(e.offset,e.length);if(t&&(t.offset!==e.offset||t.length!==e.length)){var n=new zn(e.offset,e.length);return t.addChild(n),n}return t}return null},e.prototype.addSymbolToChildScope=function(e,t,n,i,r){if(e&&-1!==e.offset){var o=this.addScope(e);o&&o.addSymbol(new Tn(n,i,t,r))}},e.prototype.visitNode=function(e){switch(e.type){case Y.Keyframe:return this.addSymbol(e,e.getName(),void 0,X.Keyframe),!0;case Y.CustomPropertyDeclaration:return this.visitCustomPropertyDeclarationNode(e);case Y.VariableDeclaration:return this.visitVariableDeclarationNode(e);case Y.Ruleset:return this.visitRuleSet(e);case Y.MixinDeclaration:return this.addSymbol(e,e.getName(),void 0,X.Mixin),!0;case Y.FunctionDeclaration:return this.addSymbol(e,e.getName(),void 0,X.Function),!0;case Y.FunctionParameter:return this.visitFunctionParameterNode(e);case Y.Declarations:return this.addScope(e),!0;case Y.For:var t=e,n=t.getDeclarations();return n&&t.variable&&this.addSymbolToChildScope(n,t.variable,t.variable.getName(),void 0,X.Variable),!0;case Y.Each:var i=e,r=i.getDeclarations();if(r)for(var o=0,s=i.getVariables().getChildren();o<s.length;o++){var a=s[o];this.addSymbolToChildScope(r,a,a.getName(),void 0,X.Variable)}return!0}return!0},e.prototype.visitRuleSet=function(e){var t=this.scope.findScope(e.offset,e.length);if(t)for(var n=0,i=e.getSelectors().getChildren();n<i.length;n++){var r=i[n];r instanceof de&&1===r.getChildren().length&&t.addSymbol(new Tn(r.getChild(0).getText(),void 0,r,X.Rule))}return!0},e.prototype.visitVariableDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():void 0;return this.addSymbol(e,e.getName(),t,X.Variable),!0},e.prototype.visitFunctionParameterNode=function(e){var t=e.getParent().getDeclarations();if(t){var n=e.getDefaultValue(),i=n?n.getText():void 0;this.addSymbolToChildScope(t,e,e.getName(),i,X.Variable)}return!0},e.prototype.visitCustomPropertyDeclarationNode=function(e){var t=e.getValue()?e.getValue().getText():"";return this.addCSSVariable(e.getProperty(),e.getProperty().getName(),t,X.Variable),!0},e.prototype.addCSSVariable=function(e,t,n,i){-1!==e.offset&&this.scope.addSymbol(new Tn(t,n,e,i))},e}(),En=function(){function e(e){this.global=new Dn,e.acceptVisitor(new Rn(this.global))}return e.prototype.findSymbolsAtOffset=function(e,t){for(var n=this.global.findScope(e,0),i=[],r={};n;){for(var o=n.getSymbols(),s=0;s<o.length;s++){var a=o[s];a.type!==t||r[a.name]||(i.push(a),r[a.name]=!0)}n=n.parent}return i},e.prototype.internalFindSymbol=function(e,t){var n=e;if(e.parent instanceof ve&&e.parent.getParent()instanceof le&&(n=e.parent.getParent().getDeclarations()),e.parent instanceof we&&e.parent.getParent()instanceof ye){var i=e.parent.getParent().getIdentifier();if(i){var r=this.internalFindSymbol(i,[X.Function]);r&&(n=r.node.getDeclarations())}}if(!n)return null;for(var o=e.getText(),s=this.global.findScope(n.offset,n.length);s;){for(var a=0;a<t.length;a++){var l=t[a],c=s.getSymbol(o,l);if(c)return c}s=s.parent}return null},e.prototype.evaluateReferenceTypes=function(e){if(e instanceof oe){var t=e.referenceTypes;if(t)return t;if(e.isCustomProperty)return[X.Variable];var n=function(e){var t=e.findParent(Y.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(e);if(n){var i=n.getNonPrefixedPropertyName();if(("animation"===i||"animation-name"===i)&&n.getValue()&&n.getValue().offset===e.offset)return[X.Keyframe]}}else if(e instanceof it)return[X.Variable];return e.findAParent(Y.Selector,Y.ExtendsReference)?[X.Rule]:null},e.prototype.findSymbolFromNode=function(e){if(!e)return null;for(;e.type===Y.Interpolation;)e=e.getParent();var t=this.evaluateReferenceTypes(e);return t?this.internalFindSymbol(e,t):null},e.prototype.matchesSymbol=function(e,t){if(!e)return!1;for(;e.type===Y.Interpolation;)e=e.getParent();if(!e.matches(t.name))return!1;var n=this.evaluateReferenceTypes(e);return!(!n||-1===n.indexOf(t.type))&&this.internalFindSymbol(e,n)===t},e.prototype.findSymbol=function(e,t,n){for(var i=this.global.findScope(n);i;){var r=i.getSymbol(e,t);if(r)return r;i=i.parent}return null},e}();function In(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}function Mn(e,t){return void 0===t&&(t=!0),e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return li.objectLiteral(t)&&li.number(t.line)&&li.number(t.character)}}(on||(on={})),function(e){e.create=function(e,t,n,i){if(li.number(e)&&li.number(t)&&li.number(n)&&li.number(i))return{start:on.create(e,t),end:on.create(n,i)};if(on.is(e)&&on.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+i+"]")},e.is=function(e){var t=e;return li.objectLiteral(t)&&on.is(t.start)&&on.is(t.end)}}(sn||(sn={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.string(t.uri)||li.undefined(t.uri))}}(an||(an={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.targetRange)&&li.string(t.targetUri)&&(sn.is(t.targetSelectionRange)||li.undefined(t.targetSelectionRange))&&(sn.is(t.originSelectionRange)||li.undefined(t.originSelectionRange))}}(ln||(ln={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return li.number(t.red)&&li.number(t.green)&&li.number(t.blue)&&li.number(t.alpha)}}(cn||(cn={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return sn.is(t.range)&&cn.is(t.color)}}(dn||(dn={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return li.string(t.label)&&(li.undefined(t.textEdit)||vn.is(t))&&(li.undefined(t.additionalTextEdits)||li.typedArray(t.additionalTextEdits,vn.is))}}(pn||(pn={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(hn||(hn={})),function(e){e.create=function(e,t,n,i,r){var o={startLine:e,endLine:t};return li.defined(n)&&(o.startCharacter=n),li.defined(i)&&(o.endCharacter=i),li.defined(r)&&(o.kind=r),o},e.is=function(e){var t=e;return li.number(t.startLine)&&li.number(t.startLine)&&(li.undefined(t.startCharacter)||li.number(t.startCharacter))&&(li.undefined(t.endCharacter)||li.number(t.endCharacter))&&(li.undefined(t.kind)||li.string(t.kind))}}(mn||(mn={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return li.defined(t)&&an.is(t.location)&&li.string(t.message)}}(un||(un={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(fn||(fn={})),function(e){e.Unnecessary=1,e.Deprecated=2}(gn||(gn={})),function(e){e.create=function(e,t,n,i,r,o){var s={range:e,message:t};return li.defined(n)&&(s.severity=n),li.defined(i)&&(s.code=i),li.defined(r)&&(s.source=r),li.defined(o)&&(s.relatedInformation=o),s},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&li.string(t.message)&&(li.number(t.severity)||li.undefined(t.severity))&&(li.number(t.code)||li.string(t.code)||li.undefined(t.code))&&(li.string(t.source)||li.undefined(t.source))&&(li.undefined(t.relatedInformation)||li.typedArray(t.relatedInformation,un.is))}}(bn||(bn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return li.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.title)&&li.string(t.command)}}(yn||(yn={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return li.objectLiteral(t)&&li.string(t.newText)&&sn.is(t.range)}}(vn||(vn={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return li.defined(t)&&Pn.is(t.textDocument)&&Array.isArray(t.edits)}}(wn||(wn={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&li.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||li.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||li.boolean(t.options.ignoreIfExists)))}}(xn||(xn={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&li.string(t.oldUri)&&li.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||li.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||li.boolean(t.options.ignoreIfExists)))}}(Sn||(Sn={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&li.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||li.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||li.boolean(t.options.ignoreIfNotExists)))}}(kn||(kn={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return li.string(e.kind)?xn.is(e)||Sn.is(e)||kn.is(e):wn.is(e)})))}}(Cn||(Cn={}));var Nn,Pn,_n,An,Wn,On,Ln,Un,jn,Vn,Bn,$n,qn,Kn,Gn,Jn,Hn,Yn,Xn,Zn,Qn,ei,ti,ni,ii,ri,oi,si=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(vn.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(vn.replace(e,t))},e.prototype.delete=function(e){this.edits.push(vn.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(wn.is(e)){var n=new si(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new si(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(Pn.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new si(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new si(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(xn.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(Sn.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(kn.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)}}(Nn||(Nn={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)&&(null===t.version||li.number(t.version))}}(Pn||(Pn={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return li.defined(t)&&li.string(t.uri)&&li.string(t.languageId)&&li.number(t.version)&&li.string(t.text)}}(_n||(_n={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(An||(An={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(An||(An={})),function(e){e.is=function(e){var t=e;return li.objectLiteral(e)&&An.is(t.kind)&&li.string(t.value)}}(Wn||(Wn={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(On||(On={})),function(e){e.PlainText=1,e.Snippet=2}(Ln||(Ln={})),function(e){e.Deprecated=1}(Un||(Un={})),function(e){e.create=function(e){return{label:e}}}(jn||(jn={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(Vn||(Vn={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return li.string(t)||li.objectLiteral(t)&&li.string(t.language)&&li.string(t.value)}}(Bn||(Bn={})),function(e){e.is=function(e){var t=e;return!!t&&li.objectLiteral(t)&&(Wn.is(t.contents)||Bn.is(t.contents)||li.typedArray(t.contents,Bn.is))&&(void 0===e.range||sn.is(e.range))}}($n||($n={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(qn||(qn={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return li.defined(t)&&(r.documentation=t),li.defined(n)?r.parameters=n:r.parameters=[],r}}(Kn||(Kn={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Gn||(Gn={})),function(e){e.create=function(e,t){var n={range:e};return li.number(t)&&(n.kind=t),n}}(Jn||(Jn={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(Hn||(Hn={})),function(e){e.Deprecated=1}(Yn||(Yn={})),function(e){e.create=function(e,t,n,i,r){var o={name:e,kind:t,location:{uri:i,range:n}};return r&&(o.containerName=r),o}}(Xn||(Xn={})),function(e){e.create=function(e,t,n,i,r,o){var s={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==o&&(s.children=o),s},e.is=function(e){var t=e;return t&&li.string(t.name)&&li.number(t.kind)&&sn.is(t.range)&&sn.is(t.selectionRange)&&(void 0===t.detail||li.string(t.detail))&&(void 0===t.deprecated||li.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(Zn||(Zn={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(Qn||(Qn={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return li.defined(t)&&li.typedArray(t.diagnostics,bn.is)&&(void 0===t.only||li.typedArray(t.only,li.string))}}(ei||(ei={})),function(e){e.create=function(e,t,n){var i={title:e};return yn.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&li.string(t.title)&&(void 0===t.diagnostics||li.typedArray(t.diagnostics,bn.is))&&(void 0===t.kind||li.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||yn.is(t.command))&&(void 0===t.isPreferred||li.boolean(t.isPreferred))&&(void 0===t.edit||Cn.is(t.edit))}}(ti||(ti={})),function(e){e.create=function(e,t){var n={range:e};return li.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.undefined(t.command)||yn.is(t.command))}}(ni||(ni={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return li.defined(t)&&li.number(t.tabSize)&&li.boolean(t.insertSpaces)}}(ii||(ii={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return li.defined(t)&&sn.is(t.range)&&(li.undefined(t.target)||li.string(t.target))}}(ri||(ri={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&sn.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(oi||(oi={}));var ai;!function(e){e.create=function(e,t,n,i){return new ci(e,t,n,i)},e.is=function(e){var t=e;return!!(li.defined(t)&&li.string(t.uri)&&(li.undefined(t.languageId)||li.string(t.languageId))&&li.number(t.lineCount)&&li.func(t.getText)&&li.func(t.positionAt)&&li.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(ai||(ai={}));var li,ci=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return on.create(0,e);for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return on.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(li||(li={}));var di,pi,hi,mi=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var o=r[i];if(e.isIncremental(o)){var s=fi(o.range),a=this.offsetAt(s.start),l=this.offsetAt(s.end);this._content=this._content.substring(0,a)+o.text+this._content.substring(l,this._content.length);var c=Math.max(s.start.line,0),d=Math.max(s.end.line,0),p=this._lineOffsets,h=ui(o.text,!1,a);if(d-c===h.length)for(var m=0,u=h.length;m<u;m++)p[m+c+1]=h[m];else h.length<1e4?p.splice.apply(p,[c+1,d-c].concat(h)):this._lineOffsets=p=p.slice(0,c+1).concat(h,p.slice(d+1));var f=o.text.length-(l-a);if(0!==f)for(m=c+1+h.length,u=p.length;m<u;m++)p[m]=p[m]+f}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=ui(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var o=n-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function ui(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var o=e.charCodeAt(r);13!==o&&10!==o||(13===o&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function fi(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function gi(e){var t=fi(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new mi(e,t,n,i)},e.update=function(e,t,n){if(e instanceof mi)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),o=t.slice(i);e(r,n),e(o,n);var s=0,a=0,l=0;for(;s<r.length&&a<o.length;){var c=n(r[s],o[a]);t[l++]=c<=0?r[s++]:o[a++]}for(;s<r.length;)t[l++]=r[s++];for(;a<o.length;)t[l++]=o[a++];return t}(t.map(gi),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,o=i.length-1;o>=0;o--){var s=i[o],a=e.offsetAt(s.range.start),l=e.offsetAt(s.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,a)+s.newText+n.substring(l,n.length),r=a}return n}}(di||(di={})),(pi||(pi={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[An.Markdown,An.PlainText]}},hover:{contentFormat:[An.Markdown,An.PlainText]}}},function(e){e[e.Unknown=0]="Unknown",e[e.File=1]="File",e[e.Directory=2]="Directory",e[e.SymbolicLink=64]="SymbolicLink"}(hi||(hi={}));var bi,yi=gt(),vi=Ln.Snippet;!function(e){e.Enums=" ",e.Normal="d",e.VendorPrefixed="x",e.Term="y",e.Variable="z"}(bi||(bi={}));var wi=function(){function e(e,t){void 0===e&&(e=null),this.variablePrefix=e,this.clientCapabilities=t,this.completionParticipants=[],this.valueTypes=[Y.Identifier,Y.Value,Y.StringLiteral,Y.URILiteral,Y.NumericValue,Y.HexColorValue,Y.VariableName,Y.Prio]}return e.prototype.configure=function(e){this.settings=e},e.prototype.getSymbolContext=function(){return this.symbolContext||(this.symbolContext=new En(this.styleSheet)),this.symbolContext},e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){var n=t-1,i=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(i.charAt(n));)n--;return i.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=sn.create(on.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n;try{var i={isIncomplete:!1,items:[]};this.nodePath=te(this.styleSheet,this.offset);for(var r=this.nodePath.length-1;r>=0;r--){var o=this.nodePath[r];if(o instanceof be)this.getCompletionsForDeclarationProperty(o.getParent(),i);else if(o instanceof Ke)o.parent instanceof nt?this.getVariableProposals(null,i):this.getCompletionsForExpression(o,i);else if(o instanceof pe){var s=o.findAParent(Y.ExtendsReference,Y.Ruleset);if(s)if(s.type===Y.ExtendsReference)this.getCompletionsForExtendsReference(s,o,i);else{var a=s;this.getCompletionsForSelector(a,a&&a.isNested(),i)}}else if(o instanceof we)this.getCompletionsForFunctionArgument(o,o.getParent(),i);else if(o instanceof ae)this.getCompletionsForDeclarations(o,i);else if(o instanceof tt)this.getCompletionsForVariableDeclaration(o,i);else if(o instanceof ce)this.getCompletionsForRuleSet(o,i);else if(o instanceof nt)this.getCompletionsForInterpolation(o,i);else if(o instanceof ze)this.getCompletionsForFunctionDeclaration(o,i);else if(o instanceof ot)this.getCompletionsForMixinReference(o,i);else if(o instanceof ye)this.getCompletionsForFunctionArgument(null,o,i);else if(o instanceof Le)this.getCompletionsForSupports(o,i);else if(o instanceof Be)this.getCompletionsForSupportsCondition(o,i);else if(o instanceof rt)this.getCompletionsForExtendsReference(o,null,i);else if(o.type===Y.URILiteral)this.getCompletionForUriLiteralValue(o,i);else if(null===o.parent)this.getCompletionForTopLevel(i);else{if(o.type!==Y.StringLiteral||!this.isImportPathParent(o.parent.type))continue;this.getCompletionForImportPath(o,i)}if(i.items.length>0||this.offset>o.offset)return this.finalize(i)}return this.getCompletionsForStylesheet(i),0===i.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,i),this.finalize(i)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},e.prototype.isImportPathParent=function(e){return e===Y.Import},e.prototype.finalize=function(e){return e.items.some((function(e){return!!e.sortText||"-"===e.label[0]}))&&e.items.forEach((function(e,t){e.sortText?"-"===e.label[0]?e.sortText+=bi.VendorPrefixed+"_"+Si(t):e.sortText+=bi.Normal+"_"+Si(t):"-"===e.label[0]?e.sortText=bi.VendorPrefixed+"_"+Si(t):e.sortText=bi.Normal+"_"+Si(t)})),e},e.prototype.findInNodePath=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=this.nodePath.length-1;n>=0;n--){var i=this.nodePath[n];if(-1!==e.indexOf(i.type))return i}return null},e.prototype.getCompletionsForDeclarationProperty=function(e,t){return this.getPropertyProposals(e,t)},e.prototype.getPropertyProposals=function(e,t){var n=this,i=this.isTriggerPropertyValueCompletionEnabled,r=this.isCompletePropertyWithSemicolonEnabled;return Qt.getProperties().forEach((function(o){var s,a,l=!1;e?(s=n.getCompletionRange(e.getProperty()),a=o.name,xt(e.colonPosition)||(a+=": ",l=!0)):(s=n.getCompletionRange(null),a=o.name+": ",l=!0),!e&&r&&(a+="$0;"),e&&!e.semicolonPosition&&r&&n.offset>=n.textDocument.offsetAt(s.end)&&(a+="$0;");var c={label:o.name,documentation:zt(o,n.doesSupportMarkdown()),tags:xi(o)?[Un.Deprecated]:[],textEdit:vn.replace(s,a),insertTextFormat:Ln.Snippet,kind:On.Property};o.restrictions||(l=!1),i&&l&&(c.command={title:"Suggest",command:"editor.action.triggerSuggest"}),In(o.name,"-")&&(c.sortText=bi.VendorPrefixed),t.items.push(c)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(e.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.triggerPropertyValueCompletion||this.settings.completion.triggerPropertyValueCompletion},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){return!this.settings||!this.settings.completion||void 0===this.settings.completion.completePropertyWithSemicolon||this.settings.completion.completePropertyWithSemicolon},enumerable:!0,configurable:!0}),e.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n=this,i=e.getFullPropertyName(),r=Qt.getProperty(i),o=e.getValue()||null;o&&o.hasChildren();)o=o.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:i,propertyValue:n.currentWord,range:n.getCompletionRange(o)})})),r){if(r.restrictions)for(var s=0,a=r.restrictions;s<a.length;s++){switch(a[s]){case"color":this.getColorProposals(r,o,t);break;case"position":this.getPositionProposals(r,o,t);break;case"repeat":this.getRepeatStyleProposals(r,o,t);break;case"line-style":this.getLineStyleProposals(r,o,t);break;case"line-width":this.getLineWidthProposals(r,o,t);break;case"geometry-box":this.getGeometryBoxProposals(r,o,t);break;case"box":this.getBoxProposals(r,o,t);break;case"image":this.getImageProposals(r,o,t);break;case"timing-function":this.getTimingFunctionProposals(r,o,t);break;case"shape":this.getBasicShapeProposals(r,o,t)}}this.getValueEnumProposals(r,o,t),this.getCSSWideKeywordProposals(r,o,t),this.getUnitProposals(r,o,t)}else for(var l=0,c=function(e,t){var n=t.getFullPropertyName(),i=new ki;function r(e){return(e instanceof oe||e instanceof et||e instanceof Ye)&&i.add(e.getText()),!0}return e.accept((function(e){if(e instanceof ge&&e!==t&&function(e){var t=e.getFullPropertyName();return n===t}(e)){var i=e.getValue();i&&i.accept(r)}return!0})),i}(this.styleSheet,e).getEntries();l<c.length;l++){var d=c[l];t.items.push({label:d,textEdit:vn.replace(this.getCompletionRange(o),d),kind:On.Value})}return this.getVariableProposals(o,t),this.getTermProposals(r,o,t),t},e.prototype.getValueEnumProposals=function(e,t,n){if(e.values)for(var i=0,r=e.values;i<r.length;i++){var o=r[i],s=o.name,a=void 0;if(p=")",h=void 0,(h=(d=s).length-p.length)>0?d.lastIndexOf(p)===h:0===h&&d===p){var l=s.lastIndexOf("(");-1!==l&&(s=s.substr(0,l)+"($1)",a=vi)}var c={label:o.name,documentation:zt(o,this.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],textEdit:vn.replace(this.getCompletionRange(t),s),sortText:bi.Enums,kind:On.Value,insertTextFormat:a};n.items.push(c)}var d,p,h;return n},e.prototype.getCSSWideKeywordProposals=function(e,t,n){for(var i in qt)n.items.push({label:i,documentation:qt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getCompletionsForInterpolation=function(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t},e.prototype.getVariableProposals=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Variable);n<i.length;n++){var r=i[n],o=In(r.name,"--")?"var("+r.name+")":r.name,s={label:r.name,documentation:r.value?Mn(r.value):r.value,textEdit:vn.replace(this.getCompletionRange(e),o),kind:On.Variable,sortText:bi.Variable};if("string"==typeof s.documentation&&zi(s.documentation)&&(s.kind=On.Color),r.node.type===Y.FunctionParameter){var a=r.node.getParent();a.type===Y.MixinDeclaration&&(s.detail=yi("completion.argument","argument from '{0}'",a.getName()))}t.items.push(s)}return t},e.prototype.getVariableProposalsForCSSVarFunction=function(e){for(var t=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Variable),n=0,i=t=t.filter((function(e){return In(e.name,"--")}));n<i.length;n++){var r=i[n],o={label:r.name,documentation:r.value?Mn(r.value):r.value,textEdit:vn.replace(this.getCompletionRange(null),r.name),kind:On.Variable};"string"==typeof o.documentation&&zi(o.documentation)&&(o.kind=On.Color),e.items.push(o)}return e},e.prototype.getUnitProposals=function(e,t,n){var i="0";if(this.currentWord.length>0){var r=this.currentWord.match(/^-?\d[\.\d+]*/);r&&(i=r[0],n.isIncomplete=i.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===Y.Term&&(t=t.getParent()),e.restrictions)for(var o=0,s=e.restrictions;o<s.length;o++){var a=s[o],l=Ht[a];if(l)for(var c=0,d=l;c<d.length;c++){var p=i+d[c];n.items.push({label:p,textEdit:vn.replace(this.getCompletionRange(t),p),kind:On.Unit})}}return n},e.prototype.getCompletionRange=function(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){var t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return sn.create(n,t)}return this.defaultReplaceRange},e.prototype.getColorProposals=function(e,t,n){for(var i in Mt)n.items.push({label:i,documentation:Mt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Color});for(var i in Nt)n.items.push({label:i,documentation:Nt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});var r=new ki;this.styleSheet.acceptVisitor(new Fi(r,this.offset));for(var o=0,s=r.getEntries();o<s.length;o++){i=s[o];n.items.push({label:i,textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Color})}for(var a=function(e){var i=1,r=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+i+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:vn.replace(l.getCompletionRange(t),r),insertTextFormat:vi,kind:On.Function})},l=this,c=0,d=It;c<d.length;c++){a(d[c])}return n},e.prototype.getPositionProposals=function(e,t,n){for(var i in Lt)n.items.push({label:i,documentation:Lt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getRepeatStyleProposals=function(e,t,n){for(var i in Ut)n.items.push({label:i,documentation:Ut[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getLineStyleProposals=function(e,t,n){for(var i in jt)n.items.push({label:i,documentation:jt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getLineWidthProposals=function(e,t,n){for(var i=0,r=Vt;i<r.length;i++){var o=r[i];n.items.push({label:o,textEdit:vn.replace(this.getCompletionRange(t),o),kind:On.Value})}return n},e.prototype.getGeometryBoxProposals=function(e,t,n){for(var i in $t)n.items.push({label:i,documentation:$t[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getBoxProposals=function(e,t,n){for(var i in Bt)n.items.push({label:i,documentation:Bt[i],textEdit:vn.replace(this.getCompletionRange(t),i),kind:On.Value});return n},e.prototype.getImageProposals=function(e,t,n){for(var i in Kt){var r=Ci(i);n.items.push({label:i,documentation:Kt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getTimingFunctionProposals=function(e,t,n){for(var i in Gt){var r=Ci(i);n.items.push({label:i,documentation:Gt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getBasicShapeProposals=function(e,t,n){for(var i in Jt){var r=Ci(i);n.items.push({label:i,documentation:Jt[i],textEdit:vn.replace(this.getCompletionRange(t),r),kind:On.Function,insertTextFormat:i!==r?vi:void 0})}return n},e.prototype.getCompletionsForStylesheet=function(e){var t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof ce?this.getCompletionsForRuleSet(t,e):t instanceof Le?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)},e.prototype.getCompletionForTopLevel=function(e){var t=this;return Qt.getAtDirectives().forEach((function(n){e.items.push({label:n.name,textEdit:vn.replace(t.getCompletionRange(null),n.name),documentation:zt(n,t.doesSupportMarkdown()),tags:xi(n)?[Un.Deprecated]:[],kind:On.Keyword})})),this.getCompletionsForSelector(null,!1,e),e},e.prototype.getCompletionsForRuleSet=function(e,t){var n=e.getDeclarations();return n&&n.endsWith("}")&&this.offset>=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},e.prototype.getCompletionsForSelector=function(e,t,n){var i=this,r=this.findInNodePath(Y.PseudoSelector,Y.IdentifierSelector,Y.ClassSelector,Y.ElementNameSelector);if(!r&&this.offset-this.currentWord.length>0&&":"===this.textDocument.getText()[this.offset-this.currentWord.length-1]&&(this.currentWord=":"+this.currentWord,this.defaultReplaceRange=sn.create(on.create(this.position.line,this.position.character-this.currentWord.length),this.position)),Qt.getPseudoClasses().forEach((function(e){var t=Ci(e.name),o={label:e.name,textEdit:vn.replace(i.getCompletionRange(r),t),documentation:zt(e,i.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],kind:On.Function,insertTextFormat:e.name!==t?vi:void 0};In(e.name,":-")&&(o.sortText=bi.VendorPrefixed),n.items.push(o)})),Qt.getPseudoElements().forEach((function(e){var t=Ci(e.name),o={label:e.name,textEdit:vn.replace(i.getCompletionRange(r),t),documentation:zt(e,i.doesSupportMarkdown()),tags:xi(e)?[Un.Deprecated]:[],kind:On.Function,insertTextFormat:e.name!==t?vi:void 0};In(e.name,"::-")&&(o.sortText=bi.VendorPrefixed),n.items.push(o)})),!t){for(var o=0,s=Yt;o<s.length;o++){var a=s[o];n.items.push({label:a,textEdit:vn.replace(this.getCompletionRange(r),a),kind:On.Keyword})}for(var l=0,c=Xt;l<c.length;l++){a=c[l];n.items.push({label:a,textEdit:vn.replace(this.getCompletionRange(r),a),kind:On.Keyword})}}var d={};d[this.currentWord]=!0;var p=this.textDocument.getText();if(this.styleSheet.accept((function(e){if(e.type===Y.SimpleSelector&&e.length>0){var t=p.substr(e.offset,e.length);return"."!==t.charAt(0)||d[t]||(d[t]=!0,n.items.push({label:t,textEdit:vn.replace(i.getCompletionRange(r),t),kind:On.Keyword})),!1}return!0})),e&&e.isNested()){var h=e.getSelectors().findFirstChildBeforeOffset(this.offset);h&&0===e.getSelectors().getChildren().indexOf(h)&&this.getPropertyProposals(null,n)}return n},e.prototype.getCompletionsForDeclarations=function(e,t){if(!e||this.offset===e.offset)return t;var n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof me){var i=n;if(!xt(i.colonPosition)||this.offset<=i.colonPosition)return this.getCompletionsForDeclarationProperty(i,t);if(xt(i.semicolonPosition)&&i.semicolonPosition<this.offset)return this.offset===i.semicolonPosition+1?t:this.getCompletionsForDeclarationProperty(null,t);if(i instanceof ge)return this.getCompletionsForDeclarationValue(i,t)}else n instanceof rt?this.getCompletionsForExtendsReference(n,null,t):this.currentWord&&"@"===this.currentWord[0]&&this.getCompletionsForDeclarationProperty(null,t);return t},e.prototype.getCompletionsForVariableDeclaration=function(e,t){return this.offset&&xt(e.colonPosition)&&this.offset>e.colonPosition&&this.getVariableProposals(e.getValue(),t),t},e.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();if(n instanceof we)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;var i=e.findParent(Y.Declaration);if(!i)return this.getTermProposals(null,null,t),t;var r=e.findChildAtOffset(this.offset,!0);return r?r instanceof et||r instanceof oe?this.getCompletionsForDeclarationValue(i,t):t:this.getCompletionsForDeclarationValue(i,t)},e.prototype.getCompletionsForFunctionArgument=function(e,t,n){var i=t.getIdentifier();return i&&i.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},e.prototype.getCompletionsForFunctionDeclaration=function(e,t){var n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset<n.end&&this.getTermProposals(null,null,t),t},e.prototype.getCompletionsForMixinReference=function(e,t){for(var n=0,i=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Mixin);n<i.length;n++){var r=i[n];r.node instanceof st&&t.items.push(this.makeTermProposal(r,r.node.getParameters(),null))}return t},e.prototype.getTermProposals=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Function);i<r.length;i++){var o=r[i];o.node instanceof ze&&n.items.push(this.makeTermProposal(o,o.node.getParameters(),t))}return n},e.prototype.makeTermProposal=function(e,t,n){e.node;var i=t.getChildren().map((function(e){return e instanceof ve?e.getName():e.getText()})),r=e.name+"("+i.map((function(e,t){return"${"+(t+1)+":"+e+"}"})).join(", ")+")";return{label:e.name,detail:e.name+"("+i.join(", ")+")",textEdit:vn.replace(this.getCompletionRange(n),r),insertTextFormat:vi,kind:On.Function,sortText:bi.Term}},e.prototype.getCompletionsForSupportsCondition=function(e,t){var n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof ge)return!xt(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof Be)return this.getCompletionsForSupportsCondition(n,t)}return xt(e.lParent)&&this.offset>e.lParent&&(!xt(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},e.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();if(!n||this.offset<=n.offset){var i=e.findFirstChildBeforeOffset(this.offset);return i instanceof Be?this.getCompletionsForSupportsCondition(i,t):t}return this.getCompletionForTopLevel(t)},e.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},e.prototype.getCompletionForUriLiteralValue=function(e,t){var n,i,r;if(e.hasChildren()){var o=e.getChild(0);n=o.getText(),i=this.position,r=this.getCompletionRange(o)}else{n="",i=this.position;var s=this.textDocument.positionAt(e.offset+"url(".length);r=sn.create(s,s)}return this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:i,range:r})})),t},e.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},e.prototype.doesSupportMarkdown=function(){if(!xt(this.supportsMarkdown)){if(!xt(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(An.Markdown)}return this.supportsMarkdown},e}();function xi(e){return!(!e.status||"nonstandard"!==e.status&&"obsolete"!==e.status)}function Si(e){var t=e.toString();switch(t.length){case 4:return t;case 3:return"0"+t;case 2:return"00"+t;case 1:return"000"+t;default:return"0000"}}var ki=function(){function e(){this.entries={}}return e.prototype.add=function(e){this.entries[e]=!0},e.prototype.getEntries=function(){return Object.keys(this.entries)},e}();function Ci(e){return e.replace(/\(\)$/,"($1)")}var Fi=function(){function e(e,t){this.entries=e,this.currentOffset=t}return e.prototype.visitNode=function(e){return(e instanceof Ye||e instanceof ye&&_t(e))&&(this.currentOffset<e.offset||e.end<this.currentOffset)&&this.entries.add(e.getText()),!0},e}();function zi(e){return e.toLowerCase()in Mt||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}var Di,Ti=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)}}(),Ri=gt(),Ei=function(){function e(){this.parent=null,this.children=null,this.attributes=null}return e.prototype.findAttribute=function(e){if(this.attributes)for(var t=0,n=this.attributes;t<n.length;t++){var i=n[t];if(i.name===e)return i.value}return null},e.prototype.addChild=function(t){t instanceof e&&(t.parent=this),this.children||(this.children=[]),this.children.push(t)},e.prototype.append=function(e){if(this.attributes){var t=this.attributes[this.attributes.length-1];t.value=t.value+e}},e.prototype.prepend=function(e){if(this.attributes){var t=this.attributes[0];t.value=e+t.value}},e.prototype.findRoot=function(){for(var e=this;e.parent&&!(e.parent instanceof Ii);)e=e.parent;return e},e.prototype.removeChild=function(e){if(this.children){var t=this.children.indexOf(e);if(-1!==t)return this.children.splice(t,1),!0}return!1},e.prototype.addAttr=function(e,t){this.attributes||(this.attributes=[]);for(var n=0,i=this.attributes;n<i.length;n++){var r=i[n];if(r.name===e)return void(r.value+=" "+t)}this.attributes.push({name:e,value:t})},e.prototype.clone=function(t){void 0===t&&(t=!0);var n=new e;if(this.attributes){n.attributes=[];for(var i=0,r=this.attributes;i<r.length;i++){var o=r[i];n.addAttr(o.name,o.value)}}if(t&&this.children){n.children=[];for(var s=0;s<this.children.length;s++)n.addChild(this.children[s].clone())}return n},e.prototype.cloneWithParent=function(){var e=this.clone(!1);!this.parent||this.parent instanceof Ii||this.parent.cloneWithParent().addChild(e);return e},e}(),Ii=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Ti(t,e),t}(Ei),Mi=function(e){function t(t){var n=e.call(this)||this;return n.addAttr("name",t),n}return Ti(t,e),t}(Ei),Ni=function(){function e(e){this.quote=e,this.result=[]}return e.prototype.print=function(e){return this.result=[],e instanceof Ii?e.children&&this.doPrint(e.children,0):this.doPrint([e],0),[{language:"html",value:this.result.join("\n")}]},e.prototype.doPrint=function(e,t){for(var n=0,i=e;n<i.length;n++){var r=i[n];this.doPrintElement(r,t),r.children&&this.doPrint(r.children,t+1)}},e.prototype.writeLine=function(e,t){var n=new Array(e+1).join(" ");this.result.push(n+t)},e.prototype.doPrintElement=function(e,t){var n=e.findAttribute("name");if(e instanceof Mi||"…"===n)this.writeLine(t,n);else{var i=["<"];if(n?i.push(n):i.push("element"),e.attributes)for(var r=0,o=e.attributes;r<o.length;r++){var s=o[r];if("name"!==s.name){i.push(" "),i.push(s.name);var a=s.value;a&&(i.push("="),i.push(Di.ensure(a,this.quote)))}}i.push(">"),this.writeLine(t,i.join(""))}},e}();!function(e){function t(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Di||(Di={}));var Pi=function(){this.id=0,this.attr=0,this.tag=0};function _i(e,t){for(var n=new Ei,i=0,r=e.getChildren();i<r.length;i++){var o=r[i];switch(o.type){case Y.SelectorCombinator:if(t){var s=o.getText().split("&");if(1===s.length){n.addAttr("name",s[0]);break}if(n=t.cloneWithParent(),s[0])n.findRoot().prepend(s[0]);for(var a=1;a<s.length;a++){if(a>1){var l=t.cloneWithParent();n.addChild(l.findRoot()),n=l}n.append(s[a])}}break;case Y.SelectorPlaceholder:if(o.matches("@at-root"))return n;case Y.ElementNameSelector:var c=o.getText();n.addAttr("name","*"===c?"element":Ai(c));break;case Y.ClassSelector:n.addAttr("class",Ai(o.getText().substring(1)));break;case Y.IdentifierSelector:n.addAttr("id",Ai(o.getText().substring(1)));break;case Y.MixinDeclaration:n.addAttr("class",o.getName());break;case Y.PseudoSelector:n.addAttr(Ai(o.getText()),"");break;case Y.AttributeSelector:var d=o,p=d.getIdentifier();if(p){var h=d.getValue(),m=d.getOperator(),u=void 0;if(h&&m)switch(Ai(m.getText())){case"|=":u=Di.remove(Ai(h.getText()))+"-…";break;case"^=":u=Di.remove(Ai(h.getText()))+"…";break;case"$=":u="…"+Di.remove(Ai(h.getText()));break;case"~=":u=" … "+Di.remove(Ai(h.getText()))+" … ";break;case"*=":u="…"+Di.remove(Ai(h.getText()))+"…";break;default:u=Di.remove(Ai(h.getText()))}n.addAttr(Ai(p.getText()),u)}}}return n}function Ai(e){var t=new Z;t.setSource(e);var n=t.scanUnquotedString();return n?n.text:e}function Wi(e){var t=new Pi;return function e(n){n.getChildren().forEach((function(n){switch(n.type){case Y.IdentifierSelector:t.id++;break;case Y.ClassSelector:case Y.AttributeSelector:t.attr++;break;case Y.ElementNameSelector:if(n.matches("*"))break;t.tag++;break;case Y.PseudoSelector:var i=n.getText();if(function(e){var t=e.match(/^::?([\w-]+)/);return!!t&&!!Qt.getPseudoElement("::"+t[1])}(i))t.tag++;else{if(i.match(/^:not/i))break;t.attr++}}n.getChildren().length>0&&e(n)}))}(e),Ri("specificity","[Selector Specificity](https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity): ({0}, {1}, {2})",t.id,t.attr,t.tag)}function Oi(e){var t=function(e){if(e.matches("@at-root"))return null;var t=new Ii,n=[],i=e.getParent();if(i instanceof ce)for(var r=i.getParent();r&&!ji(r);){if(r instanceof ce){if(r.getSelectors().matches("@at-root"))break;n.push(r)}r=r.getParent()}for(var o=new Ui(t),s=n.length-1;s>=0;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t}(e);if(t){var n=new Ni('"').print(t);return n.push(Wi(e)),n}return[]}function Li(e){var t=_i(e),n=new Ni('"').print(t);return n.push(Wi(e)),n}var Ui=function(){function e(e){this.prev=null,this.element=e}return e.prototype.processSelector=function(e){var t=null;if(!(this.element instanceof Ii)&&e.getChildren().some((function(e){return e.hasChildren()&&e.getChild(0).type===Y.SelectorCombinator}))){var n=this.element.findRoot();n.parent instanceof Ii&&(t=this.element,this.element=n.parent,this.element.removeChild(n),this.prev=null)}for(var i=0,r=e.getChildren();i<r.length;i++){var o=r[i];if(o instanceof pe){if(this.prev instanceof pe){var s=new Mi("…");this.element.addChild(s),this.element=s}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&(this.element.addChild(_i(o)),this.element.addChild(new Mi("⋮")));var a=_i(o,t),l=a.findRoot();this.element.addChild(l),this.element=a}(o instanceof pe||o.type===Y.SelectorCombinatorParent||o.type===Y.SelectorCombinatorShadowPiercingDescendant||o.type===Y.SelectorCombinatorSibling||o.type===Y.SelectorCombinatorAllSiblings)&&(this.prev=o)}},e}();function ji(e){switch(e.type){case Y.MixinDeclaration:case Y.Stylesheet:return!0}return!1}!function(){function e(e){this.clientCapabilities=e}e.prototype.doHover=function(e,t,n){function i(t){return sn.create(e.positionAt(t.offset),e.positionAt(t.end))}for(var r=te(n,e.offsetAt(t)),o=null,s=0;s<r.length;s++){var a=r[s];if(a instanceof de){o={contents:Oi(a),range:i(a)};break}if(a instanceof pe){In(a.getText(),"@")||(o={contents:Li(a),range:i(a)});break}if(a instanceof ge){var l=a.getFullPropertyName();(d=Qt.getProperty(l))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else if(a instanceof at){var c=a.getText();(d=Qt.getAtDirective(c))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else if(a instanceof ie&&a.type===Y.PseudoSelector){var d,p=a.getText();(d="::"===p.slice(0,2)?Qt.getPseudoElement(p):Qt.getPseudoClass(p))&&(o={contents:zt(d,this.doesSupportMarkdown()),range:i(a)})}else;}return o&&(o.contents=this.convertContents(o.contents)),o},e.prototype.convertContents=function(e){return this.doesSupportMarkdown()||"string"==typeof e?e:"kind"in e?{kind:"plaintext",value:e.value}:Array.isArray(e)?e.map((function(e){return"string"==typeof e?e:e.value})):e.value},e.prototype.doesSupportMarkdown=function(){if(!xt(this.supportsMarkdown)){if(!xt(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(An.Markdown)}return this.supportsMarkdown}}();var Vi=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},Bi=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},$i=gt(),qi=function(){function e(){}return e.prototype.findDefinition=function(e,t,n){var i=new En(n),r=ee(n,e.offsetAt(t));if(!r)return null;var o=i.findSymbolFromNode(r);return o?{uri:e.uri,range:Gi(o.node,e)}:null},e.prototype.findReferences=function(e,t,n){return this.findDocumentHighlights(e,t,n).map((function(t){return{uri:e.uri,range:t.range}}))},e.prototype.findDocumentHighlights=function(e,t,n){var i=[],r=ee(n,e.offsetAt(t));if(!r||r.type===Y.Stylesheet||r.type===Y.Declarations)return i;r.type===Y.Identifier&&r.parent&&r.parent.type===Y.ClassSelector&&(r=r.parent);var o=new En(n),s=o.findSymbolFromNode(r),a=r.getText();return n.accept((function(t){if(s){if(o.matchesSymbol(t,s))return i.push({kind:Ji(t),range:Gi(t,e)}),!1}else r&&r.type===t.type&&t.matches(a)&&i.push({kind:Ji(t),range:Gi(t,e)});return!0})),i},e.prototype.isRawStringDocumentLinkNode=function(e){return e.type===Y.Import},e.prototype.findDocumentLinks=function(e,t,n){var i=this,r=[];return t.accept((function(t){if(t.type===Y.URILiteral)return(o=function(e,t,n){if(0===t.getChildren().length)return null;var i=t.getChild(0);return Ki(e,i,n)}(e,t,n))&&r.push(o),!1;if(t.parent&&i.isRawStringDocumentLinkNode(t.parent)){var o,s=t.getText();if(In(s,"'")||In(s,'"'))(o=Ki(e,t,n))&&r.push(o);return!1}return!0})),r},e.prototype.findDocumentLinks2=function(e,t,n){return Vi(this,void 0,void 0,(function(){return Bi(this,(function(i){return[2,this.findDocumentLinks(e,t,n)]}))}))},e.prototype.findDocumentSymbols=function(e,t){var n=[];return t.accept((function(t){var i={name:null,kind:Hn.Class,location:null},r=t;if(t instanceof de)return i.name=t.getText(),(r=t.findAParent(Y.Ruleset,Y.ExtendsReference))&&(i.location=an.create(e.uri,Gi(r,e)),n.push(i)),!1;if(t instanceof tt)i.name=t.getName(),i.kind=Hn.Variable;else if(t instanceof st)i.name=t.getName(),i.kind=Hn.Method;else if(t instanceof ze)i.name=t.getName(),i.kind=Hn.Function;else if(t instanceof Ee)i.name=$i("literal.keyframes","@keyframes {0}",t.getName());else if(t instanceof Te)i.name=$i("literal.fontface","@font-face");else if(t instanceof Oe){var o=t.getChild(0);o instanceof je&&(i.name="@media "+o.getText(),i.kind=Hn.Module)}return i.name&&(i.location=an.create(e.uri,Gi(r,e)),n.push(i)),!0})),n},e.prototype.findDocumentColors=function(e,t){var n=[];return t.accept((function(t){var i=function(e,t){var n=Ot(e);if(n){var i=Gi(e,t);return{color:n,range:i}}return null}(t,e);return i&&n.push(i),!0})),n},e.prototype.getColorPresentations=function(e,t,n,i){var r,o=[],s=Math.round(255*n.red),a=Math.round(255*n.green),l=Math.round(255*n.blue);r=1===n.alpha?"rgb("+s+", "+a+", "+l+")":"rgba("+s+", "+a+", "+l+", "+n.alpha+")",o.push({label:r,textEdit:vn.replace(i,r)}),r=1===n.alpha?"#"+Hi(s)+Hi(a)+Hi(l):"#"+Hi(s)+Hi(a)+Hi(l)+Hi(Math.round(255*n.alpha)),o.push({label:r,textEdit:vn.replace(i,r)});var c=function(e){var t=e.red,n=e.green,i=e.blue,r=e.alpha,o=Math.max(t,n,i),s=Math.min(t,n,i),a=0,l=0,c=(s+o)/2,d=o-s;if(d>0){switch(l=Math.min(c<=.5?d/(2*c):d/(2-2*c),1),o){case t:a=(n-i)/d+(n<i?6:0);break;case n:a=(i-t)/d+2;break;case i:a=(t-n)/d+4}a*=60,a=Math.round(a)}return{h:a,s:l,l:c,a:r}}(n);return r=1===c.a?"hsl("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%)":"hsla("+c.h+", "+Math.round(100*c.s)+"%, "+Math.round(100*c.l)+"%, "+c.a+")",o.push({label:r,textEdit:vn.replace(i,r)}),o},e.prototype.doRename=function(e,t,n,i){var r,o=this.findDocumentHighlights(e,t,i).map((function(e){return vn.replace(e.range,n)}));return{changes:(r={},r[e.uri]=o,r)}},e}();function Ki(e,t,n){if(!t)return null;var i=t.getText(),r=Gi(t,e);return r.start.line===r.end.line&&r.start.character===r.end.character?null:((In(i,"'")||In(i,'"'))&&(i=i.slice(1,-1)),{range:r,target:In(i,"http://")||In(i,"https://")||/^\w+:\/\//g.test(i)?i:n.resolveReference(i,e.uri)})}function Gi(e,t){return sn.create(t.positionAt(e.offset),t.positionAt(e.end))}function Ji(e){if(e.type===Y.Selector)return Gn.Write;if(e instanceof oe&&e.parent&&e.parent instanceof be&&e.isCustomProperty)return Gn.Write;if(e.parent)switch(e.parent.type){case Y.FunctionDeclaration:case Y.MixinDeclaration:case Y.Keyframe:case Y.VariableDeclaration:case Y.FunctionParameter:return Gn.Write}return Gn.Read}function Hi(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}var Yi=gt(),Xi=ne.Warning,Zi=ne.Error,Qi=ne.Ignore,er=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},tr=function(e,t,n){this.id=e,this.message=t,this.defaultValue=n},nr={AllVendorPrefixes:new er("compatibleVendorPrefixes",Yi("rule.vendorprefixes.all","When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),Qi),IncludeStandardPropertyWhenUsingVendorPrefix:new er("vendorPrefix",Yi("rule.standardvendorprefix.all","When using a vendor-specific prefix also include the standard property"),Xi),DuplicateDeclarations:new er("duplicateProperties",Yi("rule.duplicateDeclarations","Do not use duplicate style definitions"),Qi),EmptyRuleSet:new er("emptyRules",Yi("rule.emptyRuleSets","Do not use empty rulesets"),Xi),ImportStatemement:new er("importStatement",Yi("rule.importDirective","Import statements do not load in parallel"),Qi),BewareOfBoxModelSize:new er("boxModel",Yi("rule.bewareOfBoxModelSize","Do not use width or height when using padding or border"),Qi),UniversalSelector:new er("universalSelector",Yi("rule.universalSelector","The universal selector (*) is known to be slow"),Qi),ZeroWithUnit:new er("zeroUnits",Yi("rule.zeroWidthUnit","No unit for zero needed"),Qi),RequiredPropertiesForFontFace:new er("fontFaceProperties",Yi("rule.fontFaceProperties","@font-face rule must define 'src' and 'font-family' properties"),Xi),HexColorLength:new er("hexColorLength",Yi("rule.hexColor","Hex colors must consist of three, four, six or eight hex numbers"),Zi),ArgsInColorFunction:new er("argumentsInColorFunction",Yi("rule.colorFunction","Invalid number of parameters"),Zi),UnknownProperty:new er("unknownProperties",Yi("rule.unknownProperty","Unknown property."),Xi),UnknownAtRules:new er("unknownAtRules",Yi("rule.unknownAtRules","Unknown at-rule."),Xi),IEStarHack:new er("ieHack",Yi("rule.ieHack","IE hacks are only necessary when supporting IE7 and older"),Qi),UnknownVendorSpecificProperty:new er("unknownVendorSpecificProperties",Yi("rule.unknownVendorSpecificProperty","Unknown vendor specific property."),Qi),PropertyIgnoredDueToDisplay:new er("propertyIgnoredDueToDisplay",Yi("rule.propertyIgnoredDueToDisplay","Property is ignored due to the display."),Xi),AvoidImportant:new er("important",Yi("rule.avoidImportant","Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),Qi),AvoidFloat:new er("float",Yi("rule.avoidFloat","Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),Qi),AvoidIdSelector:new er("idSelector",Yi("rule.avoidIdSelector","Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),Qi)},ir={ValidProperties:new tr("validProperties",Yi("rule.validProperties","A list of properties that are not validated against the `unknownProperties` rule."),[])},rr=function(){function e(e){void 0===e&&(e={}),this.conf=e}return e.prototype.getRule=function(e){if(this.conf.hasOwnProperty(e.id)){var t=function(e){switch(e){case"ignore":return ne.Ignore;case"warning":return ne.Warning;case"error":return ne.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue},e.prototype.getSetting=function(e){return this.conf[e.id]},e}();var or=gt(),sr=(function(){function e(){}e.prototype.doCodeActions=function(e,t,n,i){return this.doCodeActions2(e,t,n,i).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return yn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},e.prototype.doCodeActions2=function(e,t,n,i){var r=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o<s.length;o++){var a=s[o];this.appendFixesForMarker(e,i,a,r)}return r},e.prototype.getFixesForUnknownProperty=function(e,t,n,i){var r=t.getName(),o=[];Qt.getProperties().forEach((function(e){var t=function(e,t,n){void 0===n&&(n=4);var i=Math.abs(e.length-t.length);if(i>n)return 0;var r,o,s=[],a=[];for(r=0;r<t.length+1;++r)a.push(0);for(r=0;r<e.length+1;++r)s.push(a);for(r=1;r<e.length+1;++r)for(o=1;o<t.length+1;++o)e[r-1]===t[o-1]?s[r][o]=s[r-1][o-1]+1:s[r][o]=Math.max(s[r-1][o],s[r][o-1]);return s[e.length][t.length]-Math.sqrt(i)}(r,e.name);t>=r.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score}));for(var s=3,a=0,l=o;a<l.length;a++){var c=l[a].property,d=or("css.codeaction.rename","Rename to '{0}'",c),p=vn.replace(n.range,c),h=Pn.create(e.uri,e.version),m={documentChanges:[wn.create(h,[p])]},u=ti.create(d,m,Qn.QuickFix);if(u.diagnostics=[n],i.push(u),--s<=0)return}},e.prototype.appendFixesForMarker=function(e,t,n,i){if(n.code===nr.UnknownProperty.id)for(var r=e.offsetAt(n.range.start),o=e.offsetAt(n.range.end),s=te(t,r),a=s.length-1;a>=0;a--){var l=s[a];if(l instanceof ge){var c=l.getProperty();if(c&&c.offset===r&&c.end===o)return void this.getFixesForUnknownProperty(e,c,n,i)}}}}(),function(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e});function ar(e,t,n,i){var r=e[t];r.value=n,n&&(nn(r.properties,i)||r.properties.push(i))}function lr(e,t,n,i){"top"===t||"right"===t||"bottom"===t||"left"===t?ar(e,t,n,i):function(e,t,n){ar(e,"top",t,n),ar(e,"right",t,n),ar(e,"bottom",t,n),ar(e,"left",t,n)}(e,n,i)}function cr(e,t,n){switch(t.length){case 1:lr(e,void 0,t[0],n);break;case 2:lr(e,"top",t[0],n),lr(e,"bottom",t[0],n),lr(e,"right",t[1],n),lr(e,"left",t[1],n);break;case 3:lr(e,"top",t[0],n),lr(e,"right",t[1],n),lr(e,"left",t[1],n),lr(e,"bottom",t[2],n);break;case 4:lr(e,"top",t[0],n),lr(e,"right",t[1],n),lr(e,"bottom",t[2],n),lr(e,"left",t[3],n)}}function dr(e,t){for(var n=0,i=t;n<i.length;n++){var r=i[n];if(e.matches(r))return!0}return!1}function pr(e,t){return void 0===t&&(t=!0),(!t||!dr(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function hr(e,t){return void 0===t&&(t=!0),e.map((function(e){return pr(e,t)}))}function mr(e,t){return void 0===t&&(t=!0),!dr(e,["none","hidden"])&&(!t||!dr(e,["initial","unset"]))}function ur(e,t){return void 0===t&&(t=!0),e.map((function(e){return mr(e,t)}))}function fr(e){var t=e.getChildren();if(1===t.length)return pr(r=t[0])&&mr(r);for(var n=0,i=t;n<i.length;n++){var r;if(!pr(r=i[n],!1)||!mr(r,!1))return!1}return!0}var gr=gt(),br=function(){function e(){this.data={}}return e.prototype.add=function(e,t,n){var i=this.data[e];i||(i={nodes:[],names:[]},this.data[e]=i),i.names.push(t),n&&i.nodes.push(n)},e}(),yr=function(){function e(e,t){var n=this;this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new br,this.validProperties={};var i=t.getSetting(ir.ValidProperties);Array.isArray(i)&&i.forEach((function(e){if("string"==typeof e){var t=e.trim().toLowerCase();t.length&&(n.validProperties[t]=!0)}}))}return e.entries=function(t,n,i,r){var o=new e(n,i);return t.acceptVisitor(o),o.completeValidations(),o.getEntries(r)},e.prototype.isValidPropertyDeclaration=function(e){var t=e.fullPropertyName;return this.validProperties[t]},e.prototype.fetch=function(e,t){for(var n=[],i=0,r=e;i<r.length;i++){var o=r[i];o.fullPropertyName===t&&n.push(o)}return n},e.prototype.fetchWithValue=function(e,t,n){for(var i=[],r=0,o=e;r<o.length;r++){var s=o[r];if(s.fullPropertyName===t){var a=s.node.getValue();a&&this.findValueInExpression(a,n)&&i.push(s)}}return i},e.prototype.findValueInExpression=function(e,t){var n=!1;return e.accept((function(e){return e.type===Y.Identifier&&e.matches(t)&&(n=!0),!n})),n},e.prototype.getEntries=function(e){return void 0===e&&(e=ne.Warning|ne.Error),this.warnings.filter((function(t){return 0!=(t.getLevel()&e)}))},e.prototype.addEntry=function(e,t,n){var i=new ht(e,t,this.settings.getRule(t),n);this.warnings.push(i)},e.prototype.getMissingNames=function(e,t){for(var n=e.slice(0),i=0;i<t.length;i++){var r=n.indexOf(t[i]);-1!==r&&(n[r]=null)}var o=null;for(i=0;i<n.length;i++){var s=n[i];s&&(o=null===o?gr("namelist.single","'{0}'",s):gr("namelist.concatenated","{0}, '{1}'",o,s))}return o},e.prototype.visitNode=function(e){switch(e.type){case Y.UnknownAtRule:return this.visitUnknownAtRule(e);case Y.Keyframe:return this.visitKeyframe(e);case Y.FontFace:return this.visitFontFace(e);case Y.Ruleset:return this.visitRuleSet(e);case Y.SimpleSelector:return this.visitSimpleSelector(e);case Y.Function:return this.visitFunction(e);case Y.NumericValue:return this.visitNumericValue(e);case Y.Import:return this.visitImport(e);case Y.HexColorValue:return this.visitHexColorValue(e);case Y.Prio:return this.visitPrio(e)}return!0},e.prototype.completeValidations=function(){this.validateKeyframes()},e.prototype.visitUnknownAtRule=function(e){var t=e.getChild(0);return!!t&&(!Qt.getAtDirective(t.getText())&&(this.addEntry(t,nr.UnknownAtRules,"Unknown at rule "+t.getText()),!0))},e.prototype.visitKeyframe=function(e){var t=e.getKeyword();if(!t)return!1;var n=t.getText();return this.keyframes.add(e.getName(),n,"@keyframes"!==n?t:null),!0},e.prototype.validateKeyframes=function(){var e=["@-webkit-keyframes","@-moz-keyframes","@-o-keyframes"];for(var t in this.keyframes.data){var n=this.keyframes.data[t].names,i=-1===n.indexOf("@keyframes");if(i||1!==n.length){var r=this.getMissingNames(e,n);if(r||i)for(var o=0,s=this.keyframes.data[t].nodes;o<s.length;o++){var a=s[o];if(i){var l=gr("keyframes.standardrule.missing","Always define standard rule '@keyframes' when defining keyframes.");this.addEntry(a,nr.IncludeStandardPropertyWhenUsingVendorPrefix,l)}if(r){l=gr("keyframes.vendorspecific.missing","Always include all vendor specific rules: Missing: {0}",r);this.addEntry(a,nr.AllVendorPrefixes,l)}}}}return!0},e.prototype.visitSimpleSelector=function(e){var t=this.documentText.charAt(e.offset);return 1===e.length&&"*"===t&&this.addEntry(e,nr.UniversalSelector),"#"===t&&this.addEntry(e,nr.AvoidIdSelector),!0},e.prototype.visitImport=function(e){return this.addEntry(e,nr.ImportStatemement),!0},e.prototype.visitRuleSet=function(t){var n=t.getDeclarations();if(!n)return!1;n.hasChildren()||this.addEntry(t.getSelectors(),nr.EmptyRuleSet);for(var i=[],r=0,o=n.getChildren();r<o.length;r++){(k=o[r])instanceof ge&&i.push(new sr(k))}var s=function(e){for(var t={top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}},n=0,i=e;n<i.length;n++){var r=i[n],o=r.node.value;if(void 0!==o)switch(r.fullPropertyName){case"box-sizing":return{top:{value:!1,properties:[]},right:{value:!1,properties:[]},bottom:{value:!1,properties:[]},left:{value:!1,properties:[]}};case"width":t.width=r;break;case"height":t.height=r;break;default:var s=r.fullPropertyName.split("-");switch(s[0]){case"border":switch(s[1]){case void 0:case"top":case"right":case"bottom":case"left":switch(s[2]){case void 0:lr(t,s[1],fr(o),r);break;case"width":lr(t,s[1],pr(o,!1),r);break;case"style":lr(t,s[1],mr(o,!0),r)}break;case"width":cr(t,hr(o.getChildren(),!1),r);break;case"style":cr(t,ur(o.getChildren(),!0),r)}break;case"padding":1===s.length?cr(t,hr(o.getChildren(),!0),r):lr(t,s[1],pr(o,!0),r)}}}return t}(i);if(s.width){var a=[];if(s.right.value&&(a=rn(a,s.right.properties)),s.left.value&&(a=rn(a,s.left.properties)),0!==a.length){for(var l=0,c=a;l<c.length;l++){var d=c[l];this.addEntry(d.node,nr.BewareOfBoxModelSize)}this.addEntry(s.width.node,nr.BewareOfBoxModelSize)}}if(s.height){a=[];if(s.top.value&&(a=rn(a,s.top.properties)),s.bottom.value&&(a=rn(a,s.bottom.properties)),0!==a.length){for(var p=0,h=a;p<h.length;p++){d=h[p];this.addEntry(d.node,nr.BewareOfBoxModelSize)}this.addEntry(s.height.node,nr.BewareOfBoxModelSize)}}var m=this.fetchWithValue(i,"display","inline");if(m.length>0)for(var u=0,f=["width","height","margin-top","margin-bottom","float"];u<f.length;u++)for(var g=f[u],b=this.fetch(i,g),y=0;y<b.length;y++){var v=b[y].node,w=v.getValue();("float"!==g||w&&!w.matches("none"))&&this.addEntry(v,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayInline","Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect."))}if((m=this.fetchWithValue(i,"display","inline-block")).length>0)for(b=this.fetch(i,"float"),y=0;y<b.length;y++){var x=b[y].node;(w=x.getValue())&&!w.matches("none")&&this.addEntry(x,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayInlineBlock","inline-block is ignored due to the float. If 'float' has a value other than 'none', the box is floated and 'display' is treated as 'block'"))}if((m=this.fetchWithValue(i,"display","block")).length>0)for(b=this.fetch(i,"vertical-align"),y=0;y<b.length;y++)this.addEntry(b[y].node,nr.PropertyIgnoredDueToDisplay,gr("rule.propertyIgnoredDueToDisplayBlock","Property is ignored due to the display. With 'display: block', vertical-align should not be used."));var S=this.fetch(i,"float");for(y=0;y<S.length;y++){var k=S[y];this.isValidPropertyDeclaration(k)||this.addEntry(k.node,nr.AvoidFloat)}for(var C=0;C<i.length;C++){if("background"!==(k=i[C]).fullPropertyName&&!this.validProperties[k.fullPropertyName])if((w=k.node.getValue())&&"-"!==this.documentText.charAt(w.offset)){var F=this.fetch(i,k.fullPropertyName);if(F.length>1)for(var z=0;z<F.length;z++){var D=F[z].node.getValue();D&&"-"!==this.documentText.charAt(D.offset)&&F[z]!==k&&this.addEntry(k.node,nr.DuplicateDeclarations)}}}if(!t.getSelectors().matches(":export")){for(var T=new br,R=!1,E=0,I=i;E<I.length;E++){var M=(k=I[E]).node;if(this.isCSSDeclaration(M)){var N=k.fullPropertyName,P=N.charAt(0);if("-"===P){if("-"!==N.charAt(1)){Qt.isKnownProperty(N)||this.validProperties[N]||this.addEntry(M.getProperty(),nr.UnknownVendorSpecificProperty);var _=M.getNonPrefixedPropertyName();T.add(_,N,M.getProperty())}}else{var A=N;"*"!==P&&"_"!==P||(this.addEntry(M.getProperty(),nr.IEStarHack),N=N.substr(1)),Qt.isKnownProperty(A)||Qt.isKnownProperty(N)||this.validProperties[N]||this.addEntry(M.getProperty(),nr.UnknownProperty,gr("property.unknownproperty.detailed","Unknown property: '{0}'",N)),T.add(N,N,null)}}else R=!0}if(!R)for(var W in T.data){var O=T.data[W],L=O.names,U=Qt.isStandardProperty(W)&&-1===L.indexOf(W);if(U||1!==L.length){for(var j=[],V=(C=0,e.prefixes.length);C<V;C++){var B=e.prefixes[C];Qt.isStandardProperty(B+W)&&j.push(B+W)}var $=this.getMissingNames(j,L);if($||U)for(var q=0,K=O.nodes;q<K.length;q++){var G=K[q];if(U){var J=gr("property.standard.missing","Also define the standard property '{0}' for compatibility",W);this.addEntry(G,nr.IncludeStandardPropertyWhenUsingVendorPrefix,J)}if($){J=gr("property.vendorspecific.missing","Always include all vendor specific properties: Missing: {0}",$);this.addEntry(G,nr.AllVendorPrefixes,J)}}}}}return!0},e.prototype.visitPrio=function(e){return this.addEntry(e,nr.AvoidImportant),!0},e.prototype.visitNumericValue=function(e){var t=e.findParent(Y.Function);if(t&&"calc"===t.getName())return!0;var n=e.findParent(Y.Declaration);if(n&&n.getValue()){var i=e.getValue();if(!i.unit||-1===Ht.length.indexOf(i.unit.toLowerCase()))return!0;0===parseFloat(i.value)&&i.unit&&!this.validProperties[n.getFullPropertyName()]&&this.addEntry(e,nr.ZeroWithUnit)}return!0},e.prototype.visitFontFace=function(e){var t=e.getDeclarations();if(!t)return!1;for(var n=!1,i=!1,r=!1,o=0,s=t.getChildren();o<s.length;o++){var a=s[o];if(this.isCSSDeclaration(a)){var l=a.getProperty().getName().toLowerCase();"src"===l&&(n=!0),"font-family"===l&&(i=!0)}else r=!0}return r||n&&i||this.addEntry(e,nr.RequiredPropertiesForFontFace),!0},e.prototype.isCSSDeclaration=function(e){if(e instanceof ge){if(!e.getValue())return!1;var t=e.getProperty();if(!t)return!1;var n=t.getIdentifier();return!(!n||n.containsInterpolation())}return!1},e.prototype.visitHexColorValue=function(e){var t=e.length;return 9!==t&&7!==t&&5!==t&&4!==t&&this.addEntry(e,nr.HexColorLength),!1},e.prototype.visitFunction=function(e){var t=e.getName().toLowerCase(),n=-1,i=0;switch(t){case"rgb(":case"hsl(":n=3;break;case"rgba(":case"hsla(":n=4}return-1!==n&&(e.getArguments().accept((function(e){return!(e instanceof Ge)||(i+=1,!1)})),i!==n&&this.addEntry(e,nr.ArgsInColorFunction)),!0},e.prefixes=["-ms-","-moz-","-o-","-webkit-"],e}(),vr=(function(){function e(){}e.prototype.configure=function(e){this.settings=e},e.prototype.doValidation=function(e,t,n){if(void 0===n&&(n=this.settings),n&&!1===n.validate)return[];var i=[];i.push.apply(i,mt.entries(t)),i.push.apply(i,yr.entries(t,e,new rr(n&&n.lint)));var r=[];for(var o in nr)r.push(nr[o].id);return i.filter((function(e){return e.getLevel()!==ne.Ignore})).map((function(t){var n=sn.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),i=e.languageId;return{code:t.getRule().id,source:i,message:t.getMessage(),severity:t.getLevel()===ne.Warning?fn.Warning:fn.Error,range:n}}))}}(),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)}}()),wr="/".charCodeAt(0),xr="\n".charCodeAt(0),Sr="\r".charCodeAt(0),kr="\f".charCodeAt(0),Cr="$".charCodeAt(0),Fr="#".charCodeAt(0),zr="{".charCodeAt(0),Dr="=".charCodeAt(0),Tr="!".charCodeAt(0),Rr="<".charCodeAt(0),Er=">".charCodeAt(0),Ir=".".charCodeAt(0),Mr="@".charCodeAt(0),Nr=i.CustomToken,Pr=Nr++,_r=Nr++,Ar=(Nr++,Nr++),Wr=Nr++,Or=Nr++,Lr=Nr++,Ur=Nr++,jr=(Nr++,Nr++),Vr=Nr++,Br=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return vr(t,e),t.prototype.scanNext=function(t){if(this.stream.advanceIfChar(Cr)){var n=["$"];if(this.ident(n))return this.finishToken(t,Pr,n.join(""));this.stream.goBackTo(t)}if(this.stream.advanceIfChars([Fr,zr]))return this.finishToken(t,_r);if(this.stream.advanceIfChars([Dr,Dr]))return this.finishToken(t,Ar);if(this.stream.advanceIfChars([Tr,Dr]))return this.finishToken(t,Wr);if(this.stream.advanceIfChar(Rr))return this.stream.advanceIfChar(Dr)?this.finishToken(t,Lr):this.finishToken(t,i.Delim);if(this.stream.advanceIfChar(Er))return this.stream.advanceIfChar(Dr)?this.finishToken(t,Or):this.finishToken(t,i.Delim);if(this.stream.advanceIfChars([Ir,Ir,Ir]))return this.finishToken(t,Ur);if(this.stream.advanceIfChar(Mr)){n=["@"];if(this.ident(n)){var r=n.join("");if("@forward"===r)return this.finishToken(t,jr,r);if("@use"===r)return this.finishToken(t,Vr,r)}this.stream.goBackTo(t)}return e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([wr,wr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case xr:case Sr:case kr:return!1;default:return!0}})),!0)},t}(Z),$r=gt(),qr=function(e,t){this.id=e,this.message=t},Kr={FromExpected:new qr("scss-fromexpected",$r("expected.from","'from' expected")),ThroughOrToExpected:new qr("scss-throughexpected",$r("expected.through","'through' or 'to' expected")),InExpected:new qr("scss-fromexpected",$r("expected.in","'in' expected"))},Gr=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)}}(),Jr=(function(e){function t(){return e.call(this,new Br)||this}Gr(t,e),t.prototype._parseStylesheetStart=function(){return this._parseForward()||this._parseUse()||e.prototype._parseStylesheetStart.call(this)},t.prototype._parseStylesheetStatement=function(){return this.peek(i.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||e.prototype._parseStylesheetAtStatement.call(this):this._parseRuleset(!0)||this._parseVariableDeclaration()},t.prototype._parseImport=function(){if(!this.peekKeyword("@import"))return null;var e=this.create(Me);if(this.consumeToken(),!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.URIOrStringExpected);for(;this.accept(i.Comma);)if(!e.addChild(this._parseURILiteral())&&!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.URIOrStringExpected);return this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)},t.prototype._parseVariableDeclaration=function(e){if(void 0===e&&(e=[]),!this.peek(Pr))return null;var t=this.create(tt);if(!t.setVariable(this._parseVariable()))return null;if(!this.accept(i.Colon))return this.finish(t,vt.ColonExpected);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),!t.setValue(this._parseExpr()))return this.finish(t,vt.VariableValueExpected,[],e);for(;this.accept(i.Exclamation);){if(!this.peekRegExp(i.Ident,/^(default|global)$/))return this.finish(t,vt.UnknownKeyword);this.consumeToken()}return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseMediaContentStart=function(){return this._parseInterpolation()},t.prototype._parseMediaFeatureName=function(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseVariableDeclaration()||this._parseMixinContent()},t.prototype._parseVariable=function(){if(!this.peek(Pr))return null;var e=this.create(it);return this.consumeToken(),e},t.prototype._parseModuleMember=function(){var e=this.mark(),t=this.create(pt);return t.setIdentifier(this._parseIdent([X.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,vt.IdentifierOrVariableExpected):null},t.prototype._parseIdent=function(e){var t=this;if(!this.peek(i.Ident)&&!this.peek(_r)&&!this.peekDelim("-"))return null;var n=this.create(oe);n.referenceTypes=e,n.isCustomProperty=this.peekRegExp(i.Ident,/^--/);for(var r,o=!1;(this.accept(i.Ident)||n.addChild((r=void 0,r=t.mark(),t.acceptDelim("-")&&(t.hasWhitespace()||t.acceptDelim("-"),t.hasWhitespace())?(t.restoreAtMark(r),null):t._parseInterpolation()))||o&&(this.acceptDelim("-")||this.accept(i.Num)))&&(o=!0,!this.hasWhitespace()););return o?this.finish(n):null},t.prototype._parseTerm=function(){var t=this.create(Je);if(t.setExpression(this._parseModuleMember()))return this.finish(t);var n=e.prototype._parseTerm.call(this);return n||(t.setExpression(this._parseVariable())||t.setExpression(this._parseSelectorCombinator())||t.setExpression(this._tryParsePrio())?this.finish(t):null)},t.prototype._parseInterpolation=function(){if(this.peek(_r)){var e=this.create(nt);return this.consumeToken(),e.addChild(this._parseExpr())||this._parseSelectorCombinator()?this.accept(i.CurlyR)?this.finish(e):this.finish(e,vt.RightCurlyExpected):this.accept(i.CurlyR)?this.finish(e):this.finish(e,vt.ExpressionExpected)}return null},t.prototype._parseOperator=function(){if(this.peek(Ar)||this.peek(Wr)||this.peek(Or)||this.peek(Lr)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){var t=this.createNode(Y.Operator);return this.consumeToken(),this.finish(t)}return e.prototype._parseOperator.call(this)},t.prototype._parseUnaryOperator=function(){if(this.peekIdent("not")){var t=this.create(ie);return this.consumeToken(),this.finish(t)}return e.prototype._parseUnaryOperator.call(this)},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseDeclaration=function(e){var t=this.create(ge);if(!t.setProperty(this._parseProperty()))return null;if(!this.accept(i.Colon))return this.finish(t,vt.ColonExpected,[i.Colon],e);this.prevToken&&(t.colonPosition=this.prevToken.offset);var n=!1;if(t.setValue(this._parseExpr())&&(n=!0,t.addChild(this._parsePrio())),this.peek(i.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!n)return this.finish(t,vt.PropertyValueExpected);return this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseNestedProperties=function(){var e=this.create(Re);return this._parseBody(e,this._parseDeclaration.bind(this))},t.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(rt);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,vt.SelectorExpected);for(;this.accept(i.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(i.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,vt.UnknownKeyword):this.finish(e)}return null},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Y.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorPlaceholder=function(){if(this.peekDelim("%")){var e=this.createNode(Y.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){e=this.createNode(Y.SelectorPlaceholder);return this.consumeToken(),this.finish(e)}return null},t.prototype._parseElementName=function(){var t=this.mark(),n=e.prototype._parseElementName.call(this);return n&&!this.hasWhitespace()&&this.peek(i.ParenthesisL)?(this.restoreAtMark(t),null):n},t.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||e.prototype._tryParsePseudoIdentifier.call(this)},t.prototype._parseWarnAndDebug=function(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;var e=this.createNode(Y.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)},t.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(i.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},t.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},t.prototype._internalParseIfStatement=function(e){var t=this.create(xe);if(this.consumeToken(),!t.setExpression(this._parseExpr(!0)))return this.finish(t,vt.ExpressionExpected);if(this._parseBody(t,e),this.acceptKeyword("@else"))if(this.peekIdent("if"))t.setElseClause(this._internalParseIfStatement(e));else if(this.peek(i.CurlyL)){var n=this.create(Fe);this._parseBody(n,e),t.setElseClause(n)}return this.finish(t)},t.prototype._parseForStatement=function(e){if(!this.peekKeyword("@for"))return null;var t=this.create(Se);return this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.ThroughOrToExpected,[i.CurlyR]):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.FromExpected,[i.CurlyR]):this.finish(t,vt.VariableNameExpected,[i.CurlyR])},t.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(ke);this.consumeToken();var n=t.getVariables();if(!n.addChild(this._parseVariable()))return this.finish(t,vt.VariableNameExpected,[i.CurlyR]);for(;this.accept(i.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,vt.VariableNameExpected,[i.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR]):this.finish(t,Kr.InExpected,[i.CurlyR])},t.prototype._parseWhileStatement=function(e){if(!this.peekKeyword("@while"))return null;var t=this.create(Ce);return this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,vt.ExpressionExpected,[i.CurlyR])},t.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},t.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(ze);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([X.Function])))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected,[i.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,vt.VariableNameExpected);return this.accept(i.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,vt.RightParenthesisExpected,[i.CurlyR])},t.prototype._parseReturnStatement=function(){if(!this.peekKeyword("@return"))return null;var e=this.createNode(Y.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,vt.ExpressionExpected)},t.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(st);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([X.Mixin])))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(this.accept(i.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,vt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected,[i.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},t.prototype._parseParameterDeclaration=function(){var e=this.create(ve);return e.setIdentifier(this._parseVariable())?(this.accept(Ur),this.accept(i.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,vt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):this.finish(e)):null},t.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.createNode(Y.MixinContent);return this.consumeToken(),this.finish(e)},t.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(ot);this.consumeToken();var t=this._parseIdent([X.Mixin]);if(!e.setIdentifier(t))return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([X.Mixin]);if(!n)return this.finish(e,vt.IdentifierExpected,[i.CurlyR]);var r=this.create(pt);t.referenceTypes=[X.Module],r.setIdentifier(t),e.setIdentifier(n),e.addChild(r)}if(this.accept(i.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,vt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected)}if(this.peek(i.CurlyL)){var o=this.create(le);this._parseBody(o,this._parseMixinReferenceBodyStatement.bind(this)),e.setContent(o)}return this.finish(e)},t.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._parseFunctionArgument=function(){var e=this.create(we),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(i.Colon))e.setIdentifier(n);else{if(this.accept(Ur))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(Ur),e.addChild(this._parsePrio()),this.finish(e)):null},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(ie);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n},t.prototype._parseOperation=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(ie);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(i.Comma);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseListElement=function(){var e=this.create(lt),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(i.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,vt.ExpressionExpected)}else e.setValue(t);return this.finish(e)},t.prototype._parseUse=function(){if(!this.peek(Vr))return null;var e=this.create(Ne);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|with/))return this.finish(e,vt.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([X.Module]))&&!this.acceptDelim("*"))return this.finish(e,vt.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected,[i.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,vt.VariableNameExpected);for(;this.accept(i.Comma)&&!this.peek(i.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,vt.VariableNameExpected);if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected)}}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,vt.SemiColonExpected)},t.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Pe);return e.setIdentifier(this._parseVariable())?this.accept(i.Colon)&&e.setValue(this._parseExpr(!0))?this.finish(e):this.finish(e,vt.VariableValueExpected,[],[i.Comma,i.ParenthesisR]):null},t.prototype._parseForward=function(){if(!this.peek(jr))return null;var e=this.create(_e);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,vt.StringLiteralExpected);if(!this.peek(i.SemiColon)&&!this.peek(i.EOF)){if(!this.peekRegExp(i.Ident,/as|hide|show/))return this.finish(e,vt.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([X.Forward]);if(!e.setIdentifier(t))return this.finish(e,vt.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,vt.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,vt.IdentifierOrVariableExpected)}return this.accept(i.SemiColon)||this.accept(i.EOF)?this.finish(e):this.finish(e,vt.SemiColonExpected)},t.prototype._parseForwardVisibility=function(){var e=this.create(Ae);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent()););return e.getChildren().length>1?e:null}}(tn),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)}}()),Hr=gt();!function(e){function t(n){var i=e.call(this,"$",n)||this;return Yr(t.scssModuleLoaders),Yr(t.scssModuleBuiltIns),i}Jr(t,e),t.prototype.isImportPathParent=function(t){return t===Y.Forward||t===Y.Use||e.prototype.isImportPathParent.call(this,t)},t.prototype.getCompletionForImportPath=function(n,i){var r,o=n.getParent().type;return o!==Y.Forward&&o!==Y.Use||(r=i.items).push.apply(r,t.scssModuleBuiltIns),e.prototype.getCompletionForImportPath.call(this,n,i)},t.prototype.createReplaceFunction=function(){var e=1;return function(n,i){return"\\"+i+": ${"+e+++":"+(t.variableDefaults[i]||"")+"}"}},t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a=s.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),l={label:s.func.substr(0,s.func.indexOf("(")),detail:s.func,documentation:s.desc,textEdit:vn.replace(this.getCompletionRange(t),a),insertTextFormat:Ln.Snippet,kind:On.Function};n&&(l.sortText="z"),i.items.push(l)}return i},t.prototype.getCompletionsForSelector=function(n,i,r){return this.createFunctionProposals(t.selectorFuncs,null,!0,r),e.prototype.getCompletionsForSelector.call(this,n,i,r)},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInFuncs;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionForAtDirectives(n),this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.prototype.getCompletionsForExtendsReference=function(e,t,n){for(var i=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,X.Rule);i<r.length;i++){var o=r[i],s={label:o.name,textEdit:vn.replace(this.getCompletionRange(t),o.name),kind:On.Function};n.items.push(s)}return n},t.prototype.getCompletionForAtDirectives=function(e){var n;return(n=e.items).push.apply(n,t.scssAtDirectives),e},t.prototype.getCompletionForTopLevel=function(t){return this.getCompletionForAtDirectives(t),this.getCompletionForModuleLoaders(t),e.prototype.getCompletionForTopLevel.call(this,t),t},t.prototype.getCompletionForModuleLoaders=function(e){var n;return(n=e.items).push.apply(n,t.scssModuleLoaders),e},t.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},t.colorProposals=[{func:"red($color)",desc:Hr("scss.builtin.red","Gets the red component of a color.")},{func:"green($color)",desc:Hr("scss.builtin.green","Gets the green component of a color.")},{func:"blue($color)",desc:Hr("scss.builtin.blue","Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:Hr("scss.builtin.mix","Mixes two colors together.")},{func:"hue($color)",desc:Hr("scss.builtin.hue","Gets the hue component of a color.")},{func:"saturation($color)",desc:Hr("scss.builtin.saturation","Gets the saturation component of a color.")},{func:"lightness($color)",desc:Hr("scss.builtin.lightness","Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:Hr("scss.builtin.adjust-hue","Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:Hr("scss.builtin.lighten","Makes a color lighter.")},{func:"darken($color, $amount)",desc:Hr("scss.builtin.darken","Makes a color darker.")},{func:"saturate($color, $amount)",desc:Hr("scss.builtin.saturate","Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:Hr("scss.builtin.desaturate","Makes a color less saturated.")},{func:"grayscale($color)",desc:Hr("scss.builtin.grayscale","Converts a color to grayscale.")},{func:"complement($color)",desc:Hr("scss.builtin.complement","Returns the complement of a color.")},{func:"invert($color)",desc:Hr("scss.builtin.invert","Returns the inverse of a color.")},{func:"alpha($color)",desc:Hr("scss.builtin.alpha","Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:Hr("scss.builtin.rgba","Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:Hr("scss.builtin.opacify","Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:Hr("scss.builtin.fade-in","Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:Hr("scss.builtin.transparentize","Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:Hr("scss.builtin.fade-out","Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.adjust-color","Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.scale-color","Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Hr("scss.builtin.change-color","Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:Hr("scss.builtin.ie-hex-str","Converts a color into the format understood by IE filters.")}],t.selectorFuncs=[{func:"selector-nest($selectors…)",desc:Hr("scss.builtin.selector-nest","Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:Hr("scss.builtin.selector-append","Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:Hr("scss.builtin.selector-extend","Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:Hr("scss.builtin.selector-replace","Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:Hr("scss.builtin.selector-unify","Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:Hr("scss.builtin.is-superselector","Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:Hr("scss.builtin.simple-selectors","Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:Hr("scss.builtin.selector-parse","Parses a selector into the format returned by &.")}],t.builtInFuncs=[{func:"unquote($string)",desc:Hr("scss.builtin.unquote","Removes quotes from a string.")},{func:"quote($string)",desc:Hr("scss.builtin.quote","Adds quotes to a string.")},{func:"str-length($string)",desc:Hr("scss.builtin.str-length","Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:Hr("scss.builtin.str-insert","Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:Hr("scss.builtin.str-index","Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:Hr("scss.builtin.str-slice","Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:Hr("scss.builtin.to-upper-case","Converts a string to upper case.")},{func:"to-lower-case($string)",desc:Hr("scss.builtin.to-lower-case","Converts a string to lower case.")},{func:"percentage($number)",desc:Hr("scss.builtin.percentage","Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:Hr("scss.builtin.round","Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:Hr("scss.builtin.ceil","Rounds a number up to the next whole number.")},{func:"floor($number)",desc:Hr("scss.builtin.floor","Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:Hr("scss.builtin.abs","Returns the absolute value of a number.")},{func:"min($numbers)",desc:Hr("scss.builtin.min","Finds the minimum of several numbers.")},{func:"max($numbers)",desc:Hr("scss.builtin.max","Finds the maximum of several numbers.")},{func:"random([$limit])",desc:Hr("scss.builtin.random","Returns a random number.")},{func:"length($list)",desc:Hr("scss.builtin.length","Returns the length of a list.")},{func:"nth($list, $n)",desc:Hr("scss.builtin.nth","Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:Hr("scss.builtin.set-nth","Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:Hr("scss.builtin.join","Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:Hr("scss.builtin.append","Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:Hr("scss.builtin.zip","Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:Hr("scss.builtin.index","Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:Hr("scss.builtin.list-separator","Returns the separator of a list.")},{func:"map-get($map, $key)",desc:Hr("scss.builtin.map-get","Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:Hr("scss.builtin.map-merge","Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:Hr("scss.builtin.map-remove","Returns a new map with keys removed.")},{func:"map-keys($map)",desc:Hr("scss.builtin.map-keys","Returns a list of all keys in a map.")},{func:"map-values($map)",desc:Hr("scss.builtin.map-values","Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:Hr("scss.builtin.map-has-key","Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:Hr("scss.builtin.keywords","Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:Hr("scss.builtin.feature-exists","Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:Hr("scss.builtin.variable-exists","Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:Hr("scss.builtin.global-variable-exists","Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:Hr("scss.builtin.function-exists","Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:Hr("scss.builtin.mixin-exists","Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:Hr("scss.builtin.inspect","Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:Hr("scss.builtin.type-of","Returns the type of a value.")},{func:"unit($number)",desc:Hr("scss.builtin.unit","Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:Hr("scss.builtin.unitless","Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:Hr("scss.builtin.comparable","Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:Hr("scss.builtin.call","Dynamically calls a Sass function.")}],t.scssAtDirectives=[{label:"@extend",documentation:Hr("scss.builtin.@extend","Inherits the styles of another selector."),kind:On.Keyword},{label:"@at-root",documentation:Hr("scss.builtin.@at-root","Causes one or more rules to be emitted at the root of the document."),kind:On.Keyword},{label:"@debug",documentation:Hr("scss.builtin.@debug","Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:On.Keyword},{label:"@warn",documentation:Hr("scss.builtin.@warn","Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:On.Keyword},{label:"@error",documentation:Hr("scss.builtin.@error","Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:On.Keyword},{label:"@if",documentation:Hr("scss.builtin.@if","Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@for",documentation:Hr("scss.builtin.@for","For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@each",documentation:Hr("scss.builtin.@each","Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@while",documentation:Hr("scss.builtin.@while","While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@mixin",documentation:Hr("scss.builtin.@mixin","Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@include",documentation:Hr("scss.builtin.@include","Includes the styles defined by another mixin into the current rule."),kind:On.Keyword},{label:"@function",documentation:Hr("scss.builtin.@function","Defines complex operations that can be re-used throughout stylesheets."),kind:On.Keyword}],t.scssModuleLoaders=[{label:"@use",documentation:Hr("scss.builtin.@use","Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use '$0';",insertTextFormat:Ln.Snippet,kind:On.Keyword},{label:"@forward",documentation:Hr("scss.builtin.@forward","Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward '$0';",insertTextFormat:Ln.Snippet,kind:On.Keyword}],t.scssModuleBuiltIns=[{label:"sass:math",documentation:Hr("scss.builtin.sass:math","Provides functions that operate on numbers."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/math"}],kind:On.Module},{label:"sass:string",documentation:Hr("scss.builtin.sass:string","Makes it easy to combine, search, or split apart strings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/string"}],kind:On.Module},{label:"sass:color",documentation:Hr("scss.builtin.sass:color","Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/color"}],kind:On.Module},{label:"sass:list",documentation:Hr("scss.builtin.sass:list","Lets you access and modify values in lists."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/list"}],kind:On.Module},{label:"sass:map",documentation:Hr("scss.builtin.sass:map","Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/map"}],kind:On.Module},{label:"sass:selector",documentation:Hr("scss.builtin.sass:selector","Provides access to Sass’s powerful selector engine."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/selector"}],kind:On.Module},{label:"sass:meta",documentation:Hr("scss.builtin.sass:meta","Exposes the details of Sass’s inner workings."),references:[{name:"Sass documentation",url:"https://sass-lang.com/documentation/modules/meta"}],kind:On.Module}]}(wi);function Yr(e){e.forEach((function(e){if(e.documentation&&e.references&&e.references.length>0){var t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "),e.documentation=t}}))}var Xr=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)}}(),Zr="/".charCodeAt(0),Qr="\n".charCodeAt(0),eo="\r".charCodeAt(0),to="\f".charCodeAt(0),no="`".charCodeAt(0),io=".".charCodeAt(0),ro=i.CustomToken,oo=ro++,so=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xr(t,e),t.prototype.scanNext=function(t){var n=this.escapedJavaScript();return null!==n?this.finishToken(t,n):this.stream.advanceIfChars([io,io,io])?this.finishToken(t,oo):e.prototype.scanNext.call(this,t)},t.prototype.comment=function(){return!!e.prototype.comment.call(this)||!(this.inURL||!this.stream.advanceIfChars([Zr,Zr]))&&(this.stream.advanceWhileChar((function(e){switch(e){case Qr:case eo:case to:return!1;default:return!0}})),!0)},t.prototype.escapedJavaScript=function(){return this.stream.peekChar()===no?(this.stream.advance(1),this.stream.advanceWhileChar((function(e){return e!==no})),this.stream.advanceIfChar(no)?i.EscapedJavaScript:i.BadEscapedJavaScript):null},t}(Z),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)}}(),lo=(function(e){function t(){return e.call(this,new so)||this}ao(t,e),t.prototype._parseStylesheetStatement=function(t){return void 0===t&&(t=!1),this.peek(i.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||e.prototype._parseStylesheetAtStatement.call(this,t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)},t.prototype._parseImport=function(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;var e=this.create(Me);if(this.consumeToken(),this.accept(i.ParenthesisL)){if(!this.accept(i.Ident))return this.finish(e,vt.IdentifierExpected,[i.SemiColon]);do{if(!this.accept(i.Comma))break}while(this.accept(i.Ident));if(!this.accept(i.ParenthesisR))return this.finish(e,vt.RightParenthesisExpected,[i.SemiColon])}return e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?(this.peek(i.SemiColon)||this.peek(i.EOF)||e.setMedialist(this._parseMediaQueryList()),this.finish(e)):this.finish(e,vt.URIOrStringExpected,[i.SemiColon])},t.prototype._parsePlugin=function(){if(!this.peekKeyword("@plugin"))return null;var e=this.createNode(Y.Plugin);return this.consumeToken(),e.addChild(this._parseStringLiteral())?this.accept(i.SemiColon)?this.finish(e):this.finish(e,vt.SemiColonExpected):this.finish(e,vt.StringLiteralExpected)},t.prototype._parseMediaQuery=function(t){var n=e.prototype._parseMediaQuery.call(this,t);if(!n){var i=this.create(Ve);return i.addChild(this._parseVariable())?this.finish(i):null}return n},t.prototype._parseMediaDeclaration=function(e){return void 0===e&&(e=!1),this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)},t.prototype._parseMediaFeatureName=function(){return this._parseIdent()||this._parseVariable()},t.prototype._parseVariableDeclaration=function(e){void 0===e&&(e=[]);var t=this.create(tt),n=this.mark();if(!t.setVariable(this._parseVariable(!0)))return null;if(!this.accept(i.Colon))return this.restoreAtMark(n),null;if(this.prevToken&&(t.colonPosition=this.prevToken.offset),t.setValue(this._parseDetachedRuleSet()))t.needsSemicolon=!1;else if(!t.setValue(this._parseExpr()))return this.finish(t,vt.VariableValueExpected,[],e);return t.addChild(this._parsePrio()),this.peek(i.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},t.prototype._parseDetachedRuleSet=function(){var e=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;var t=this.create(st);if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,vt.IdentifierExpected,[],[i.ParenthesisR]);if(!this.accept(i.ParenthesisR))return this.restoreAtMark(e),null}if(!this.peek(i.CurlyL))return null;var n=this.create(le);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)},t.prototype._parseDetachedRuleSetBody=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},t.prototype._addLookupChildren=function(e){if(!e.addChild(this._parseLookupValue()))return!1;for(var t=!1;this.peek(i.BracketL)&&(t=!0),e.addChild(this._parseLookupValue());)t=!1;return!t},t.prototype._parseLookupValue=function(){var e=this.create(ie),t=this.mark();return this.accept(i.BracketL)&&((e.addChild(this._parseVariable(!1,!0))||e.addChild(this._parsePropertyIdentifier()))&&this.accept(i.BracketR)||this.accept(i.BracketR))?e:(this.restoreAtMark(t),null)},t.prototype._parseVariable=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var n=!e&&this.peekDelim("$");if(!this.peekDelim("@")&&!n&&!this.peek(i.AtKeyword))return null;for(var r=this.create(it),o=this.mark();this.acceptDelim("@")||!e&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(o),null;return(this.accept(i.AtKeyword)||this.accept(i.Ident))&&(t||!this.peek(i.BracketL)||this._addLookupChildren(r))?r:(this.restoreAtMark(o),null)},t.prototype._parseTerm=function(){var t=e.prototype._parseTerm.call(this);return t||((t=this.create(Je)).setExpression(this._parseVariable())||t.setExpression(this._parseEscaped())||t.setExpression(this._tryParseMixinReference(!1))?this.finish(t):null)},t.prototype._parseEscaped=function(){if(this.peek(i.EscapedJavaScript)||this.peek(i.BadEscapedJavaScript)){var e=this.createNode(Y.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){e=this.createNode(Y.EscapedValue);return this.consumeToken(),this.accept(i.String)||this.accept(i.EscapedJavaScript)?this.finish(e):this.finish(e,vt.TermExpected)}return null},t.prototype._parseOperator=function(){var t=this._parseGuardOperator();return t||e.prototype._parseOperator.call(this)},t.prototype._parseGuardOperator=function(){if(this.peekDelim(">")){var e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){e=this.createNode(Y.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null},t.prototype._parseRuleSetDeclaration=function(){return this.peek(i.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||this._parseUnknownAtRule():this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||e.prototype._parseRuleSetDeclaration.call(this)},t.prototype._parseKeyframeIdent=function(){return this._parseIdent([X.Keyframe])||this._parseVariable()},t.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||e.prototype._parseKeyframeSelector.call(this)},t.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||e.prototype._parseSimpleSelectorBody.call(this)},t.prototype._parseSelector=function(e){var t=this.create(de),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var r=this.mark();if(t.addChild(this._parseGuard())&&this.peek(i.CurlyL))break;this.restoreAtMark(r),t.addChild(this._parseCombinator())}return n?this.finish(t):null},t.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(Y.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(i.Num)||this.accept(i.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},t.prototype._parseSelectorIdent=function(){if(!this.peekInterpolatedIdent())return null;var e=this.createNode(Y.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null},t.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;var n=this.mark(),i=this.create(oe);i.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");return(e?i.isCustomProperty?i.addChild(this._parseIdent()):i.addChild(this._parseRegexp(t)):i.isCustomProperty?this._acceptInterpolatedIdent(i):this._acceptInterpolatedIdent(i,t))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(i)):(this.restoreAtMark(n),null)},t.prototype.peekInterpolatedIdent=function(){return this.peek(i.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},t.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,r=!1,o=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},s=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(i.Ident)};(s()||e.addChild(this._parseInterpolation()||this.try(o)))&&(r=!0,!this.hasWhitespace()););return r},t.prototype._parseInterpolation=function(){var e=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){var t=this.createNode(Y.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(i.CurlyL)?(this.restoreAtMark(e),null):t.addChild(this._parseIdent())?this.accept(i.CurlyR)?this.finish(t):this.finish(t,vt.RightCurlyExpected):this.finish(t,vt.IdentifierExpected)}return null},t.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(st);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,vt.IdentifierExpected,[],[i.ParenthesisR]);return this.accept(i.ParenthesisR)?(t.setGuard(this._parseGuard()),this.peek(i.CurlyL)?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)):(this.restoreAtMark(e),null)},t.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},t.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(oe),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(i.Hash))return null;e=this.create(oe),this.consumeToken()}return e.referenceTypes=[X.Mixin],this.finish(e)},t.prototype._parsePseudo=function(){if(!this.peek(i.Colon))return null;var t=this.mark(),n=this.create(rt);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),e.prototype._parsePseudo.call(this))},t.prototype._parseExtend=function(){if(!this.peekDelim("&"))return null;var e=this.mark(),t=this.create(rt);return this.consumeToken(),!this.hasWhitespace()&&this.accept(i.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)},t.prototype._completeExtends=function(e){if(!this.accept(i.ParenthesisL))return this.finish(e,vt.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,vt.SelectorExpected);for(;this.accept(i.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,vt.SelectorExpected);return this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseDetachedRuleSetMixin=function(){if(!this.peek(i.AtKeyword))return null;var e=this.mark(),t=this.create(ot);return!t.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(i.ParenthesisL)?this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected):(this.restoreAtMark(e),null)},t.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(ot),r=this._parseMixinDeclarationIdentifier();r;){this.acceptDelim(">");var o=this._parseMixinDeclarationIdentifier();if(!o)break;n.getNamespaces().addChild(r),r=o}if(!n.setIdentifier(r))return this.restoreAtMark(t),null;var s=!1;if(!this.hasWhitespace()&&this.accept(i.ParenthesisL)){if(s=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,vt.ExpressionExpected);if(!this.accept(i.ParenthesisR))return this.finish(n,vt.RightParenthesisExpected);r.referenceTypes=[X.Mixin]}else r.referenceTypes=[X.Mixin,X.Rule];return this.peek(i.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),s||this.peek(i.SemiColon)||this.peek(i.CurlyR)||this.peek(i.EOF)?this.finish(n):(this.restoreAtMark(t),null)},t.prototype._parseMixinArgument=function(){var e=this.create(we),t=this.mark(),n=this._parseVariable();return n&&(this.accept(i.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},t.prototype._parseMixinParameter=function(){var e=this.create(ve);if(this.peekKeyword("@rest")){var t=this.create(ie);return this.consumeToken(),this.accept(oo)?(e.setIdentifier(this.finish(t)),this.finish(e)):this.finish(e,vt.DotExpected,[],[i.Comma,i.ParenthesisR])}if(this.peek(oo)){var n=this.create(ie);return this.consumeToken(),e.setIdentifier(this.finish(n)),this.finish(e)}var r=!1;return e.setIdentifier(this._parseVariable())&&(this.accept(i.Colon),r=!0),e.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||r?this.finish(e):null},t.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(ct);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,vt.ConditionExpected);for(;this.acceptIdent("and")||this.accept(i.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,vt.ConditionExpected);return this.finish(e)},t.prototype._parseGuardCondition=function(){if(!this.peek(i.ParenthesisL))return null;var e=this.create(dt);return this.consumeToken(),e.addChild(this._parseExpr()),this.accept(i.ParenthesisR)?this.finish(e):this.finish(e,vt.RightParenthesisExpected)},t.prototype._parseFunction=function(){var e=this.mark(),t=this.create(ye);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(i.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(i.Comma)||this.accept(i.SemiColon))&&!this.peek(i.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,vt.ExpressionExpected);return this.accept(i.ParenthesisR)?this.finish(t):this.finish(t,vt.RightParenthesisExpected)},t.prototype._parseFunctionIdentifier=function(){if(this.peekDelim("%")){var t=this.create(oe);return t.referenceTypes=[X.Function],this.consumeToken(),this.finish(t)}return e.prototype._parseFunctionIdentifier.call(this)},t.prototype._parseURLArgument=function(){var t=this.mark(),n=e.prototype._parseURLArgument.call(this);if(!n||!this.peek(i.ParenthesisR)){this.restoreAtMark(t);var r=this.create(ie);return r.addChild(this._parseBinaryExpr()),this.finish(r)}return n}}(tn),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)}}()),co=gt();!function(e){function t(t){return e.call(this,"@",t)||this}lo(t,e),t.prototype.createFunctionProposals=function(e,t,n,i){for(var r=0,o=e;r<o.length;r++){var s=o[r],a={label:s.name,detail:s.example,documentation:s.description,textEdit:vn.replace(this.getCompletionRange(t),s.name+"($0)"),insertTextFormat:Ln.Snippet,kind:On.Function};n&&(a.sortText="z"),i.items.push(a)}return i},t.prototype.getTermProposals=function(n,i,r){var o=t.builtInProposals;return n&&(o=o.filter((function(e){return!e.type||!n.restrictions||-1!==n.restrictions.indexOf(e.type)}))),this.createFunctionProposals(o,i,!0,r),e.prototype.getTermProposals.call(this,n,i,r)},t.prototype.getColorProposals=function(n,i,r){return this.createFunctionProposals(t.colorProposals,i,!1,r),e.prototype.getColorProposals.call(this,n,i,r)},t.prototype.getCompletionsForDeclarationProperty=function(t,n){return this.getCompletionsForSelector(null,!0,n),e.prototype.getCompletionsForDeclarationProperty.call(this,t,n)},t.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:co("less.builtin.if","returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:co("less.builtin.boolean",'"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:co("less.builtin.length","returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:co("less.builtin.extract","returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:co("less.builtin.range","generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:co("less.builtin.each","bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:co("less.builtin.escape","URL encodes a string")},{name:"e",example:"e(@string);",description:co("less.builtin.e","escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:co("less.builtin.replace","string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:co("less.builtin.unit","remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:co("less.builtin.color","parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:co("less.builtin.convert","converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:co("less.builtin.data-uri","inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:co("less.builtin.abs","absolute value of a number"),example:"abs(number);"},{name:"acos",description:co("less.builtin.acos","arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:co("less.builtin.asin","arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:co("less.builtin.ceil","rounds up to an integer")},{name:"cos",description:co("less.builtin.cos","cosine function"),example:"cos(number);"},{name:"floor",description:co("less.builtin.floor","rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:co("less.builtin.percentage","converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:co("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:co("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:co("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:co("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:co("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:co("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:co("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:co("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:co("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:co("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],t.colorProposals=[{name:"argb",example:"argb(@color);",description:co("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:co("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:co("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:co("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:co("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:co("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:co("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:co("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:co("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:co("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:co("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:co("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:co("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:co("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:co("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:co("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:co("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:co("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:co("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:co("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:co("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:co("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:co("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:co("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:co("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:co("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:co("less.builtin.contrast","return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}]}(wi);var po=n("7VkR"),ho=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)}}(),mo=function(){return(mo=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},uo=function(e,t,n,i){return new(n||(n=Promise))((function(r,o){function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))},fo=function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};!function(e){function t(t){var n=e.call(this)||this;return n.fileSystemProvider=t,n}ho(t,e),t.prototype.isRawStringDocumentLinkNode=function(t){return e.prototype.isRawStringDocumentLinkNode.call(this,t)||t.type===Y.Use||t.type===Y.Forward},t.prototype.findDocumentLinks2=function(e,t,n){return uo(this,void 0,void 0,(function(){function i(e){return uo(this,void 0,void 0,(function(){var t;return fo(this,(function(n){switch(n.label){case 0:if(!o)return[2,!1];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,o.stat(e)];case 2:return(t=n.sent()).type===hi.Unknown&&-1===t.size?[2,!1]:[2,!0];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))}var r,o,s,a,l,c,d,p;return fo(this,(function(h){switch(h.label){case 0:if(r=this.findDocumentLinks(e,t,n),o=this.fileSystemProvider,s=[],!o)return[3,9];a=0,h.label=1;case 1:if(!(a<r.length))return[3,8];if(!(l=r[a].target))return[3,7];c=null;try{c=po.a.parse(l)}catch(e){if(e instanceof URIError)return[3,7];throw e}return(d=function(e){if(""!==e.path&&!e.path.endsWith(".scss")&&!e.path.endsWith(".css")){if(e.path.endsWith("/"))return[e.with({path:e.path+"index.scss"}).toString(),e.with({path:e.path+"_index.scss"}).toString()];var t=e.path.split("/"),n=t[t.length-1],i=e.path.slice(0,-n.length);if(n.startsWith("_"))return e.path.endsWith(".scss")?void 0:[e.with({path:e.path+".scss"}).toString()];var r=n+".scss",o=function(t){return e.with({path:i+t}).toString()};return[o(r),o("_"+r),o(r.slice(0,-5)+"/index.scss"),o(r.slice(0,-5)+"/_index.scss"),o(r.slice(0,-5)+".css")]}}(c))?[3,3]:[4,i(l)];case 2:return h.sent()&&s.push(r[a]),[3,7];case 3:p=0,h.label=4;case 4:return p<d.length?[4,i(d[p])]:[3,7];case 5:if(h.sent())return s.push(mo(mo({},r[a]),{target:d[p]})),[3,7];h.label=6;case 6:return p++,[3,4];case 7:return a++,[3,1];case 8:return[3,10];case 9:s.push.apply(s,r),h.label=10;case 10:return[2,s]}}))}))}}(qi);var go=monaco.Uri,bo=monaco.Range,yo=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){window.clearTimeout(t),t=window.setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},o=function(e){monaco.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(r)),this._disposables.push(monaco.editor.onWillDisposeModel(o)),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){o(e.model),r(e.model)}))),n.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(o(e),r(e))}))})),this._disposables.push({dispose:function(){for(var e in i._listener)i._listener[e].dispose()}}),monaco.editor.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(t){return t.doValidation(e.toString())})).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:vo(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n})),r=monaco.editor.getModel(e);r.getModeId()===t&&monaco.editor.setModelMarkers(r,t,i)})).then(void 0,(function(e){console.error(e)}))},e}();function vo(e){switch(e){case fn.Error:return monaco.MarkerSeverity.Error;case fn.Warning:return monaco.MarkerSeverity.Warning;case fn.Information:return monaco.MarkerSeverity.Info;case fn.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function wo(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function xo(e){if(e)return new monaco.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function So(e){var t=monaco.languages.CompletionItemKind;switch(e){case On.Text:return t.Text;case On.Method:return t.Method;case On.Function:return t.Function;case On.Constructor:return t.Constructor;case On.Field:return t.Field;case On.Variable:return t.Variable;case On.Class:return t.Class;case On.Interface:return t.Interface;case On.Module:return t.Module;case On.Property:return t.Property;case On.Unit:return t.Unit;case On.Value:return t.Value;case On.Enum:return t.Enum;case On.Keyword:return t.Keyword;case On.Snippet:return t.Snippet;case On.Color:return t.Color;case On.File:return t.File;case On.Reference:return t.Reference}return t.Property}function ko(e){if(e)return{range:xo(e.range),text:e.newText}}var Co=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doComplete(r.toString(),wo(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),r=new bo(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),o=n.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:r,kind:So(e.kind)};return e.textEdit&&(t.range=xo(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ko)),e.insertTextFormat===Ln.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:n.isIncomplete,suggestions:o}}}))},e}();function Fo(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function zo(e){if(e)return Array.isArray(e)?e.map(Fo):[Fo(e)]}var Do=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),wo(t))})).then((function(e){if(e)return{range:xo(e.range),contents:zo(e.contents)}}))},e}();function To(e){switch(e){case Gn.Read:return monaco.languages.DocumentHighlightKind.Read;case Gn.Write:return monaco.languages.DocumentHighlightKind.Write;case Gn.Text:return monaco.languages.DocumentHighlightKind.Text}return monaco.languages.DocumentHighlightKind.Text}var Ro=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),wo(t))})).then((function(e){if(e)return e.map((function(e){return{range:xo(e.range),kind:To(e.kind)}}))}))},e}();function Eo(e){return{uri:go.parse(e.uri),range:xo(e.range)}}var Io=function(){function e(e){this._worker=e}return e.prototype.provideDefinition=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDefinition(i.toString(),wo(t))})).then((function(e){if(e)return[Eo(e)]}))},e}(),Mo=function(){function e(e){this._worker=e}return e.prototype.provideReferences=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.findReferences(r.toString(),wo(t))})).then((function(e){if(e)return e.map(Eo)}))},e}();var No=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),wo(t),n)})).then((function(e){return function(e){if(e&&e.changes){var t=[];for(var n in e.changes)for(var i=go.parse(n),r=0,o=e.changes[n];r<o.length;r++){var s=o[r];t.push({resource:i,edit:{range:xo(s.range),text:s.newText}})}return{edits:t}}}(e)}))},e}();function Po(e){var t=monaco.languages.SymbolKind;switch(e){case Hn.File:return t.Array;case Hn.Module:return t.Module;case Hn.Namespace:return t.Namespace;case Hn.Package:return t.Package;case Hn.Class:return t.Class;case Hn.Method:return t.Method;case Hn.Property:return t.Property;case Hn.Field:return t.Field;case Hn.Constructor:return t.Constructor;case Hn.Enum:return t.Enum;case Hn.Interface:return t.Interface;case Hn.Function:return t.Function;case Hn.Variable:return t.Variable;case Hn.Constant:return t.Constant;case Hn.String:return t.String;case Hn.Number:return t.Number;case Hn.Boolean:return t.Boolean;case Hn.Array:return t.Array}return t.Function}var _o=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:Po(e.kind),tags:[],range:xo(e.location.range),selectionRange:xo(e.location.range)}}))}))},e}(),Ao=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentColors(n.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:xo(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getColorPresentations(i.toString(),t.color,function(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=ko(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(ko)),t}))}))},e}(),Wo=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case hn.Comment:return monaco.languages.FoldingRangeKind.Comment;case hn.Imports:return monaco.languages.FoldingRangeKind.Imports;case hn.Region:return monaco.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var Oo=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(wo))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:xo(e.range)}),e=e.parent;return t}))}))},e}();function Lo(e){var t=[],n=[],i=new r(e);t.push(i);var o,s,a=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.getLanguageServiceWorker.apply(i,e)};return o=e.languageId,s=e.modeConfiguration,jo(n),s.completionItems&&n.push(monaco.languages.registerCompletionItemProvider(o,new Co(a))),s.hovers&&n.push(monaco.languages.registerHoverProvider(o,new Do(a))),s.documentHighlights&&n.push(monaco.languages.registerDocumentHighlightProvider(o,new Ro(a))),s.definitions&&n.push(monaco.languages.registerDefinitionProvider(o,new Io(a))),s.references&&n.push(monaco.languages.registerReferenceProvider(o,new Mo(a))),s.documentSymbols&&n.push(monaco.languages.registerDocumentSymbolProvider(o,new _o(a))),s.rename&&n.push(monaco.languages.registerRenameProvider(o,new No(a))),s.colors&&n.push(monaco.languages.registerColorProvider(o,new Ao(a))),s.foldingRanges&&n.push(monaco.languages.registerFoldingRangeProvider(o,new Wo(a))),s.diagnostics&&n.push(new yo(o,a,e)),s.selectionRanges&&n.push(monaco.languages.registerSelectionRangeProvider(o,new Oo(a))),t.push(Uo(n)),Uo(t)}function Uo(e){return{dispose:function(){return jo(e)}}}function jo(e){for(;e.length;)e.pop().dispose()}},"7VkR":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return m}));var i,r,o,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)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var a=navigator.userAgent;o=a.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,d=/^\/\//;var p="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,m=function(){function e(e,t,n,i,r,o){void 0===o&&(o=!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,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==p&&(t=p+t):t=p}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",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&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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(d.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,o))}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 v(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,o=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===r?r=this.query:null===r&&(r=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&o===this.fragment?this:new f(t,n,i,r,o)},e.parse=function(e,t){void 0===t&&(t=!1);var n=h.exec(e);return n?new f(n[2]||"",decodeURIComponent(n[4]||""),decodeURIComponent(n[5]||""),decodeURIComponent(n[7]||""),decodeURIComponent(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,p)),e[0]===p&&e[1]===p){var n=e.indexOf(p,2);-1===n?(t=e.substring(2),e=p):(t=e.substring(2,n),e=e.substring(n)||p)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),w(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===u?t.fsPath:null,n}return t},e}(),u=o?1:void 0,f=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=v(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?w(this,!0):(this._formatted||(this._formatted=w(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=u),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}(m),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var o=e.charCodeAt(r);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var s=g[o];void 0!==s?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=s):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function y(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 v(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,o&&(t=t.replace(/\//g,"\\")),t}function w(e,t){var n=t?y:b,i="",r=e.scheme,o=e.authority,s=e.path,a=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(o||"file"===r)&&(i+=p,i+=p),o){var c=o.indexOf("@");if(-1!==c){var d=o.substr(0,c);o=o.substr(c+1),-1===(c=d.indexOf(":"))?i+=n(d,!1):(i+=n(d.substr(0,c),!1),i+=":",i+=n(d.substr(c+1),!1)),i+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?i+=n(o,!1):(i+=n(o.substr(0,c),!1),i+=o.substr(c))}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)),l&&(i+="#",i+=t?l:b(l,!1)),i}}).call(this,n("KCCg"))}}]); \ No newline at end of file diff --git a/static/js/93.46d2d7b7.chunk.js b/static/js/94.8d8bcb59.chunk.js similarity index 99% rename from static/js/93.46d2d7b7.chunk.js rename to static/js/94.8d8bcb59.chunk.js index f780dfc74..79f21284f 100644 --- a/static/js/93.46d2d7b7.chunk.js +++ b/static/js/94.8d8bcb59.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[93],{"+lu7":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode1",(function(){return wt})),n.d(t,"setupMode",(function(){return vt}));var i,r,a,o,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}();function S(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 x(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return S(t,n)}function M(e){return x}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ne.objectLiteral(t)&&ne.number(t.line)&&ne.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(ne.number(e)&&ne.number(t)&&ne.number(n)&&ne.number(r))return{start:i.create(e,t),end:i.create(n,r)};if(i.is(e)&&i.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return ne.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(r||(r={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.string(t.uri)||ne.undefined(t.uri))}}(a||(a={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.targetRange)&&ne.string(t.targetUri)&&(r.is(t.targetSelectionRange)||ne.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||ne.undefined(t.originSelectionRange))}}(o||(o={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ne.number(t.red)&&ne.number(t.green)&&ne.number(t.blue)&&ne.number(t.alpha)}}(s||(s={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.is(t.range)&&s.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ne.string(t.label)&&(ne.undefined(t.textEdit)||b.is(t))&&(ne.undefined(t.additionalTextEdits)||ne.typedArray(t.additionalTextEdits,b.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(h||(h={})),function(e){e.create=function(e,t,n,i,r){var a={startLine:e,endLine:t};return ne.defined(n)&&(a.startCharacter=n),ne.defined(i)&&(a.endCharacter=i),ne.defined(r)&&(a.kind=r),a},e.is=function(e){var t=e;return ne.number(t.startLine)&&ne.number(t.startLine)&&(ne.undefined(t.startCharacter)||ne.number(t.startCharacter))&&(ne.undefined(t.endCharacter)||ne.number(t.endCharacter))&&(ne.undefined(t.kind)||ne.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ne.defined(t)&&a.is(t.location)&&ne.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(p||(p={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,i,r,a){var o={range:e,message:t};return ne.defined(n)&&(o.severity=n),ne.defined(i)&&(o.code=i),ne.defined(r)&&(o.source=r),ne.defined(a)&&(o.relatedInformation=a),o},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&ne.string(t.message)&&(ne.number(t.severity)||ne.undefined(t.severity))&&(ne.number(t.code)||ne.string(t.code)||ne.undefined(t.code))&&(ne.string(t.source)||ne.undefined(t.source))&&(ne.undefined(t.relatedInformation)||ne.typedArray(t.relatedInformation,u.is))}}(f||(f={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ne.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.title)&&ne.string(t.command)}}(g||(g={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ne.objectLiteral(t)&&ne.string(t.newText)&&r.is(t.range)}}(b||(b={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ne.defined(t)&&E.is(t.textDocument)&&Array.isArray(t.edits)}}(_||(_={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ne.boolean(t.options.ignoreIfExists)))}}(w||(w={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ne.string(t.oldUri)&&ne.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ne.boolean(t.options.ignoreIfExists)))}}(v||(v={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ne.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ne.boolean(t.options.ignoreIfNotExists)))}}(y||(y={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ne.string(e.kind)?w.is(e)||v.is(e)||y.is(e):_.is(e)})))}}(T||(T={}));var L,E,A,R,z,I,H,U,C,W,D,q,N,P,O,F,j,B,G,V,K,J,Y,X,$,Q,Z,ee=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(b.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(b.replace(e,t))},e.prototype.delete=function(e){this.edits.push(b.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(_.is(e)){var n=new ee(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new ee(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(E.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new ee(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new ee(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(w.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(v.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)&&(null===t.version||ne.number(t.version))}}(E||(E={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)&&ne.string(t.languageId)&&ne.number(t.version)&&ne.string(t.text)}}(A||(A={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(R||(R={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(R||(R={})),function(e){e.is=function(e){var t=e;return ne.objectLiteral(e)&&R.is(t.kind)&&ne.string(t.value)}}(z||(z={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(I||(I={})),function(e){e.PlainText=1,e.Snippet=2}(H||(H={})),function(e){e.Deprecated=1}(U||(U={})),function(e){e.create=function(e){return{label:e}}}(C||(C={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(W||(W={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ne.string(t)||ne.objectLiteral(t)&&ne.string(t.language)&&ne.string(t.value)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ne.objectLiteral(t)&&(z.is(t.contents)||D.is(t.contents)||ne.typedArray(t.contents,D.is))&&(void 0===e.range||r.is(e.range))}}(q||(q={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(N||(N={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ne.defined(t)&&(r.documentation=t),ne.defined(n)?r.parameters=n:r.parameters=[],r}}(P||(P={})),function(e){e.Text=1,e.Read=2,e.Write=3}(O||(O={})),function(e){e.create=function(e,t){var n={range:e};return ne.number(t)&&(n.kind=t),n}}(F||(F={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(j||(j={})),function(e){e.Deprecated=1}(B||(B={})),function(e){e.create=function(e,t,n,i,r){var a={name:e,kind:t,location:{uri:i,range:n}};return r&&(a.containerName=r),a}}(G||(G={})),function(e){e.create=function(e,t,n,i,r,a){var o={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==a&&(o.children=a),o},e.is=function(e){var t=e;return t&&ne.string(t.name)&&ne.number(t.kind)&&r.is(t.range)&&r.is(t.selectionRange)&&(void 0===t.detail||ne.string(t.detail))&&(void 0===t.deprecated||ne.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(V||(V={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(K||(K={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ne.defined(t)&&ne.typedArray(t.diagnostics,f.is)&&(void 0===t.only||ne.typedArray(t.only,ne.string))}}(J||(J={})),function(e){e.create=function(e,t,n){var i={title:e};return g.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ne.string(t.title)&&(void 0===t.diagnostics||ne.typedArray(t.diagnostics,f.is))&&(void 0===t.kind||ne.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||g.is(t.command))&&(void 0===t.isPreferred||ne.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(Y||(Y={})),function(e){e.create=function(e,t){var n={range:e};return ne.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.undefined(t.command)||g.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ne.defined(t)&&ne.number(t.tabSize)&&ne.boolean(t.insertSpaces)}}($||($={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.undefined(t.target)||ne.string(t.target))}}(Q||(Q={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&r.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(Z||(Z={}));var te;!function(e){e.create=function(e,t,n,i){return new oe(e,t,n,i)},e.is=function(e){var t=e;return!!(ne.defined(t)&&ne.string(t.uri)&&(ne.undefined(t.languageId)||ne.string(t.languageId))&&ne.number(t.lineCount)&&ne.func(t.getText)&&ne.func(t.positionAt)&&ne.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),a=t.slice(i);e(r,n),e(a,n);var o=0,s=0,l=0;for(;o<r.length&&s<a.length;){var c=n(r[o],a[s]);t[l++]=c<=0?r[o++]:a[s++]}for(;o<r.length;)t[l++]=r[o++];for(;s<a.length;)t[l++]=a[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,a=i.length-1;a>=0;a--){var o=i[a],s=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+o.newText+n.substring(l,n.length),r=s}return n}}(te||(te={}));var ne,ie,re,ae,oe=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return i.create(0,e);for(;n<r;){var a=Math.floor((n+r)/2);t[a]>e?r=a:n=a+1}var o=n-1;return i.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ne||(ne={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(ie||(ie={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(re||(re={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[R.Markdown,R.PlainText]}},hover:{contentFormat:[R.Markdown,R.PlainText]}}};var se=M(),le=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===ve||e===ye||e===be||e===we||e===_e}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),ce="!".charCodeAt(0),he="-".charCodeAt(0),de="<".charCodeAt(0),ue=">".charCodeAt(0),pe="/".charCodeAt(0),me="=".charCodeAt(0),fe='"'.charCodeAt(0),ge="'".charCodeAt(0),be="\n".charCodeAt(0),_e="\r".charCodeAt(0),we="\f".charCodeAt(0),ve=" ".charCodeAt(0),ye="\t".charCodeAt(0),Te={"text/x-handlebars-template":!0};function ke(e,t,n){void 0===t&&(t=0),void 0===n&&(n=re.WithinContent);var i,r,a,o,s,l=new le(e,t),c=n,h=0,d=ie.Unknown;function u(){return l.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function p(e,t,n){return d=t,h=e,i=n,t}return{scan:function(){var e=l.pos(),t=c,n=function e(){var t,n=l.pos();if(l.eos())return p(n,ie.EOS);switch(c){case re.WithinComment:return l.advanceIfChars([he,he,ue])?(c=re.WithinContent,p(n,ie.EndCommentTag)):(l.advanceUntilChars([he,he,ue]),p(n,ie.Comment));case re.WithinDoctype:return l.advanceIfChar(ue)?(c=re.WithinContent,p(n,ie.EndDoctypeTag)):(l.advanceUntilChar(ue),p(n,ie.Doctype));case re.WithinContent:if(l.advanceIfChar(de)){if(!l.eos()&&l.peekChar()===ce){if(l.advanceIfChars([ce,he,he]))return c=re.WithinComment,p(n,ie.StartCommentTag);if(l.advanceIfRegExp(/^!doctype/i))return c=re.WithinDoctype,p(n,ie.StartDoctypeTag)}return l.advanceIfChar(pe)?(c=re.AfterOpeningEndTag,p(n,ie.EndTagOpen)):(c=re.AfterOpeningStartTag,p(n,ie.StartTagOpen))}return l.advanceUntilChar(de),p(n,ie.Content);case re.AfterOpeningEndTag:return u().length>0?(c=re.WithinEndTag,p(n,ie.EndTag)):l.skipWhitespace()?p(n,ie.Whitespace,se("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(c=re.WithinEndTag,l.advanceUntilChar(ue),n<l.pos()?p(n,ie.Unknown,se("error.endTagNameExpected","End tag name expected.")):e());case re.WithinEndTag:if(l.skipWhitespace())return p(n,ie.Whitespace);if(l.advanceIfChar(ue))return c=re.WithinContent,p(n,ie.EndTagClose);t=se("error.tagNameExpected","Closing bracket expected.");break;case re.AfterOpeningStartTag:return a=u(),s=void 0,o=void 0,a.length>0?(r=!1,c=re.WithinTag,p(n,ie.StartTag)):l.skipWhitespace()?p(n,ie.Whitespace,se("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(c=re.WithinTag,l.advanceUntilChar(ue),n<l.pos()?p(n,ie.Unknown,se("error.startTagNameExpected","Start tag name expected.")):e());case re.WithinTag:return l.skipWhitespace()?(r=!0,p(n,ie.Whitespace)):r&&(o=l.advanceIfRegExp(/^[^\s"'>/=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(c=re.AfterAttributeName,r=!1,p(n,ie.AttributeName)):l.advanceIfChars([pe,ue])?(c=re.WithinContent,p(n,ie.StartTagSelfClose)):l.advanceIfChar(ue)?(c="script"===a?s&&Te[s]?re.WithinContent:re.WithinScriptContent:"style"===a?re.WithinStyleContent:re.WithinContent,p(n,ie.StartTagClose)):(l.advance(1),p(n,ie.Unknown,se("error.unexpectedCharacterInTag","Unexpected character in tag.")));case re.AfterAttributeName:return l.skipWhitespace()?(r=!0,p(n,ie.Whitespace)):l.advanceIfChar(me)?(c=re.BeforeAttributeValue,p(n,ie.DelimiterAssign)):(c=re.WithinTag,e());case re.BeforeAttributeValue:if(l.skipWhitespace())return p(n,ie.Whitespace);var i=l.advanceIfRegExp(/^[^\s"'`=<>]+/);if(i.length>0)return l.peekChar()===ue&&l.peekChar(-1)===pe&&(l.goBack(1),i=i.substr(0,i.length-1)),"type"===o&&(s=i),c=re.WithinTag,r=!1,p(n,ie.AttributeValue);var h=l.peekChar();return h===ge||h===fe?(l.advance(1),l.advanceUntilChar(h)&&l.advance(1),"type"===o&&(s=l.getSource().substring(n+1,l.pos()-1)),c=re.WithinTag,r=!1,p(n,ie.AttributeValue)):(c=re.WithinTag,r=!1,e());case re.WithinScriptContent:for(var d=1;!l.eos();){var m=l.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===m.length)return l.goToEnd(),p(n,ie.Script);if("\x3c!--"===m)1===d&&(d=2);else if("--\x3e"===m)d=1;else if("/"!==m[1])2===d&&(d=3);else{if(3!==d){l.goBack(m.length);break}d=2}}return c=re.WithinContent,n<l.pos()?p(n,ie.Script):e();case re.WithinStyleContent:return l.advanceUntilRegExp(/<\/style/i),c=re.WithinContent,n<l.pos()?p(n,ie.Styles):e()}return l.advance(1),c=re.WithinContent,p(n,ie.Unknown,t)}();return n!==ie.EOS&&e===l.pos()?(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+c),l.advance(1),p(e,ie.Unknown)):n},getTokenType:function(){return d},getTokenOffset:function(){return h},getTokenLength:function(){return l.pos()-h},getTokenEnd:function(){return l.pos()},getTokenText:function(){return l.getSource().substring(h,l.pos())},getScannerState:function(){return c},getTokenError:function(){return i}}}function Se(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}var xe=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Me(e){return!!e&&function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var a=(i+r)/2|0,o=n(e[a],t);if(o<0)i=a+1;else{if(!(o>0))return a;r=a-1}}return-(i+1)}(xe,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}!function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!0,configurable:!0}),e.prototype.isSameTag=function(e){return this.tag&&e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=Se(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=Se(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this}}();var Le={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Ee(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}var Ae="a".charCodeAt(0),Re="z".charCodeAt(0),ze="A".charCodeAt(0),Ie="Z".charCodeAt(0),He="0".charCodeAt(0),Ue="9".charCodeAt(0);function Ce(e,t){var n=e.charCodeAt(t);return Ae<=n&&n<=Re||ze<=n&&n<=Ie||He<=n&&n<=Ue}var We=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._attributeMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name]=e,e.attributes&&e.attributes.forEach((function(e){n._attributeMap[e.name]=e}))})),this._globalAttributes.forEach((function(e){n._attributeMap[e.name]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)};return this._tagMap[e]&&this._tagMap[e].attributes.forEach((function(e){n(e)})),this._globalAttributes.forEach((function(e){n(e)})),t},e.prototype.provideValues=function(e,t){var n=this,i=[],r=function(e){e.forEach((function(e){e.name===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))};return this._tagMap[e]?(r(this._tagMap[e].attributes),r(this._globalAttributes),i):[]},e}();function De(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}return e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),n}var qe=[new We("html5",{version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]})],Ne=[];function Pe(){return qe.concat(Ne)}function Oe(e){return void 0!==e}var Fe=M();!function(){function e(e){this.clientCapabilities=e,this.completionParticipants=[]}e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n,i){var r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)},e.prototype._doComplete=function(e,t,n,a){var o={isIncomplete:!1,items:[]},s=this.completionParticipants,l=Pe().filter((function(t){return t.isApplicable(e.languageId)&&(!a||!1!==a[t.getId()])})),c=this.doesSupportMarkdown(),h=e.getText(),d=e.offsetAt(t),u=n.findNodeBefore(d);if(!u)return o;var p,m=ke(h,u.start),f="";function g(t,n){return void 0===n&&(n=d),t>d&&(t=d),{start:e.positionAt(t),end:e.positionAt(n)}}function _(e,t){var n=g(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:e.name,kind:I.Property,documentation:De(e,c),textEdit:b.replace(n,e.name),insertTextFormat:H.PlainText})}))})),o}function w(e){for(var t=e;t>0;){var n=h.charAt(t-1);if("\n\r".indexOf(n)>=0)return h.substring(t,e);if(!je(n))return null;t--}return h.substring(0,e)}function v(e,t,n){void 0===n&&(n=d);var i=g(e,n),r=Be(h,n,re.WithinEndTag,ie.EndTagClose)?"":">",a=u;for(t&&(a=a.parent);a;){var s=a.tag;if(s&&(!a.closed||a.endTagStart&&a.endTagStart>d)){var p={label:"/"+s,kind:I.Property,filterText:"/"+s,textEdit:b.replace(i,"/"+s+r),insertTextFormat:H.PlainText},m=w(a.start),f=w(e-1);if(null!==m&&null!==f&&m!==f){var _=m+"</"+s+r;p.textEdit=b.replace(g(e-1-f.length),_),p.filterText=f+"</"+s}return o.items.push(p),o}a=a.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:"/"+e.name,kind:I.Property,documentation:De(e,c),filterText:"/"+e+r,textEdit:b.replace(i,"/"+e+r),insertTextFormat:H.PlainText})}))})),o}function y(t,n){if(a&&a.hideAutoCompleteProposals)return o;if(!Me(n)){var i=e.positionAt(t);o.items.push({label:"</"+n+">",kind:I.Property,filterText:"</"+n+">",textEdit:b.insert(i,"$0</"+n+">"),insertTextFormat:H.Snippet})}return o}function T(e,t){return _(e,t),v(e,!0,t),o}function k(e,t){void 0===t&&(t=d);for(var i=d;i<t&&"<"!==h[i];)i++;var r=g(e,i),a=Be(h,t,re.AfterAttributeName,ie.DelimiterAssign)?"":'="$1"',s=f.toLowerCase(),u=Object.create(null);return l.forEach((function(e){e.provideAttributes(s).forEach((function(e){if(!u[e.name]){u[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&a.length&&(n+=a,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),o.items.push({label:e.name,kind:"handler"===e.valueSet?I.Function:I.Value,documentation:De(e,c),textEdit:b.replace(r,n),insertTextFormat:H.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!Ee(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return o.items.push({label:t,kind:I.Value,textEdit:b.replace(e,i[t]),insertTextFormat:H.Snippet})}))}(r,u),o}function S(n,i){var r,a,u,m;if(void 0===i&&(i=d),d>n&&d<=i&&(m=h[n],/^["']*$/.test(m))){var _=n+1,w=i;i>n&&h[i-1]===h[n]&&w--;var v=function(e,t,n){for(;t>n&&!je(e[t-1]);)t--;return t}(h,d,_),y=function(e,t,n){for(;t<n&&!je(e[t]);)t++;return t}(h,d,w);r=g(v,y),u=d>=_&&d<=w?h.substring(_,d):"",a=!1}else r=g(n,i),u=h.substring(n,d),a=!0;var T=f.toLowerCase(),k=p.toLowerCase();if(s.length>0)for(var S=g(n,i),x=0,M=s;x<M.length;x++){var E=M[x];E.onHtmlAttributeValue&&E.onHtmlAttributeValue({document:e,position:t,tag:T,attribute:k,value:u,range:S})}return l.forEach((function(e){e.provideValues(T,k).forEach((function(e){var t=a?'"'+e.name+'"':e.name;o.items.push({label:e.name,filterText:t,kind:I.Unit,documentation:De(e,c),textEdit:b.replace(r,t),insertTextFormat:H.PlainText})}))})),L(),o}function x(e){return d===m.getTokenEnd()&&(A=m.scan())===e&&m.getTokenOffset()===d?m.getTokenEnd():d}function M(){for(var n=0,i=s;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return L()}function L(){for(var e,n,a,s=d-1,l=t.character;s>=0&&Ce(h,s);)s--,l--;if(s>=0&&"&"===h[s]){var c=r.create(i.create(t.line,l-1),t);for(var u in Le)if(n=";",a=void 0,(a=(e=u).length-n.length)>0?e.lastIndexOf(n)===a:0===a&&e===n){var p="&"+u;o.items.push({label:p,kind:I.Keyword,documentation:Fe("entity.propose","Character entity representing '"+Le[u]+"'"),textEdit:b.replace(c,p),insertTextFormat:H.PlainText})}}return o}for(var E,A=m.scan();A!==ie.EOS&&m.getTokenOffset()<=d;){switch(A){case ie.StartTagOpen:if(m.getTokenEnd()===d){var R=x(ie.StartTag);return 0===t.line&&(E=void 0,E=g(d,R),o.items.push({label:"!DOCTYPE",kind:I.Property,documentation:"A preamble for an HTML document.",textEdit:b.replace(E,"!DOCTYPE html>"),insertTextFormat:H.PlainText})),T(d,R)}break;case ie.StartTag:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return _(m.getTokenOffset(),m.getTokenEnd());f=m.getTokenText();break;case ie.AttributeName:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return k(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case ie.DelimiterAssign:if(m.getTokenEnd()===d){R=x(ie.AttributeValue);return S(d,R)}break;case ie.AttributeValue:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case ie.Whitespace:if(d<=m.getTokenEnd())switch(m.getScannerState()){case re.AfterOpeningStartTag:return T(m.getTokenOffset(),x(ie.StartTag));case re.WithinTag:case re.AfterAttributeName:return k(m.getTokenEnd());case re.BeforeAttributeValue:return S(m.getTokenEnd());case re.AfterOpeningEndTag:return v(m.getTokenOffset()-1,!1);case re.WithinContent:return M()}break;case ie.EndTagOpen:if(d<=m.getTokenEnd())return v(m.getTokenOffset()+1,!1,x(ie.EndTag));break;case ie.EndTag:if(d<=m.getTokenEnd())for(var z=m.getTokenOffset()-1;z>=0;){var U=h.charAt(z);if("/"===U)return v(z,!1,m.getTokenEnd());if(!je(U))break;z--}break;case ie.StartTagClose:if(d<=m.getTokenEnd()&&f)return y(m.getTokenEnd(),f);break;case ie.Content:if(d<=m.getTokenEnd())return M();break;default:if(d<=m.getTokenEnd())return o}A=m.scan()}return o},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((o=n.findNodeBefore(i))&&o.tag&&!Me(o.tag)&&o.start<i&&(!o.endTagStart||o.endTagStart>i))for(var a=(s=ke(e.getText(),o.start)).scan();a!==ie.EOS&&s.getTokenEnd()<=i;){if(a===ie.StartTagClose&&s.getTokenEnd()===i)return"$0</"+o.tag+">";a=s.scan()}}else if("/"===r){for(var o=n.findNodeBefore(i);o&&o.closed;)o=o.parent;if(o&&o.tag){var s;for(a=(s=ke(e.getText(),o.start)).scan();a!==ie.EOS&&s.getTokenEnd()<=i;){if(a===ie.EndTagOpen&&s.getTokenEnd()===i)return o.tag+">";a=s.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){if(!Oe(this.supportsMarkdown)){if(!Oe(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities&&this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(R.Markdown)}return this.supportsMarkdown}}();function je(e){return/^\s*$/.test(e)}function Be(e,t,n,i){for(var r=ke(e,t,n),a=r.scan();a===ie.Whitespace;)a=r.scan();return a===i}!function(){function e(e){this.clientCapabilities=e}e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),r=this.doesSupportMarkdown(),a=e.offsetAt(t),o=n.findNodeAt(a);if(!o||!o.tag)return null;var s=Pe().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){e=e.toLowerCase();for(var a=function(a){var o=null;if(a.provideTags().forEach((function(i){if(i.name.toLowerCase()===e.toLowerCase()){var a=n?"<"+e+">":"</"+e+">",s=De(i,r);s.value="```html\n"+a+"\n```\n"+s.value,o={contents:s,range:t}}})),o)return o.contents=i(o.contents),{value:o}},o=0,l=s;o<l.length;o++){var c=a(l[o]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=ke(e.getText(),n),r=i.scan();r!==ie.EOS&&(i.getTokenEnd()<a||i.getTokenEnd()===a&&r!==t);)r=i.scan();return r===t&&a<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(o.endTagStart&&a>=o.endTagStart){var h=c(ie.EndTag,o.endTagStart);return h?l(o.tag,h,!1):null}var d=c(ie.StartTag,o.start);if(d)return l(o.tag,d,!0);var u=c(ie.AttributeName,o.start);if(u)return function(e,t,n){e=e.toLowerCase();for(var a=function(a){var o=null;if(a.provideAttributes(e).forEach((function(e){t===e.name&&e.description&&(o={contents:De(e,r),range:n})})),o)return o.contents=i(o.contents),{value:o}},o=0,l=s;o<l.length;o++){var c=a(l[o]);if("object"==typeof c)return c.value}return null}(m=o.tag,e.getText(u),u);var p=c(ie.AttributeValue,o.start);if(p){var m=o.tag,f=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),g=function(t,n){for(var i=ke(e.getText(),t),r=i.scan(),a=void 0;r!==ie.EOS&&i.getTokenEnd()<=n;)(r=i.scan())===ie.AttributeName&&(a=i.getTokenText());return a}(o.start,e.offsetAt(p.start));if(g)return function(e,t,n,a){e=e.toLowerCase();for(var o=function(o){var s=null;if(o.provideValues(e,t).forEach((function(e){n===e.name&&e.description&&(s={contents:De(e,r),range:a})})),s)return s.contents=i(s.contents),{value:s}},l=0,c=s;l<c.length;l++){var h=o(c[l]);if("object"==typeof h)return h.value}return null}(m,g,f,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){if(!Oe(this.supportsMarkdown)){if(!Oe(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities&&this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(R.Markdown)}return this.supportsMarkdown}}();(function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)})([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function a(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},a.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=a},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=a(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function a(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=a,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,a=n(8).InputScanner,o=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,h=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new a(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,f=!1,g=!1,b=!1,_=!1,w=!1,v=this._ch;i=""!==this._input.read(h),p=v,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(d),T=o.get_directives(y);T&&"start"===T.ignore&&(y+=o.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s$/,""),this.print_string(k),this._output.space_before_token=!0),"extend"===(k=k.replace(/\s$/,""))?_=!0:"import"===k&&(w=!0),k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(b=!0)):f||0!==m||-1===k.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),w=!1,_=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(g&&(this.outdent(),g=!1),_=!1,w=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==m||w?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]),function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function a(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},a.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=a},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=a(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function a(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=a,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new a,this._reset();for(var t=new r(s.START,""),n=null,i=[],o=new a;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)o.add(e),e=this._get_next_token(t,n);o.isEmpty()||(e.comments_before=o,o=new a),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=s},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function a(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new i,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},a.prototype.read_options=function(e){var t=this._create();for(var n in r)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},a.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},a.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},a.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},a.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=a},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,a=n(21).Tokenizer,o=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==o.TEXT&&e.previous.type!==o.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var h=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==o.EOF&&e.closed!==n;){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function d(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var a=new i(t,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new f,h=new c(this._options,n),d=new a(e,this._options).tokenize();this._tag_stack=new p(h);for(var u=null,m=d.next();m.type!==o.EOF;)m.type===o.TAG_OPEN||m.type===o.COMMENT?r=u=this._handle_tag_open(h,m,r,i):m.type===o.ATTRIBUTE||m.type===o.EQUALS||m.type===o.VALUE||m.type===o.TEXT&&!r.tag_complete?u=this._handle_inside_tag(h,m,r,d):m.type===o.TAG_CLOSE?u=this._handle_tag_close(h,m,r):m.type===o.TEXT?u=this._handle_text(h,m,r):h.add_raw_token(m),i=u,m=d.next();return h._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,a={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===o.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===o.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===o.EQUALS||t.type===o.VALUE&&t.previous.type===o.EQUALS)&&e.set_space_before_token(!1),t.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,h=0;do{if((l=i.peek(h)).type===o.ATTRIBUTE){c=!1;break}h+=1}while(h<4&&l.type!==o.EOF&&l.type!==o.TAG_CLOSE);s=!c}s&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return a},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,a=t.text,o=1,s="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-e.indent_level);var c=e.get_full_indent(o);if(a=a.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var h=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!h)return void e.add_raw_token(t);s=c+h[1]+"\n",a=h[4],h[5]&&(l=c+h[5]),a=a.replace(/\n[ \t]*$/,""),(h[2]||-1!==h[3].indexOf("\n"))&&(h=h[3].match(/[ \t]+$/))&&(t.whitespace_before=h[0])}if(a)if(r){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,a=r(c+a,new d)}else{var u=t.whitespace_before;u&&(a=a.replace(new RegExp("\n("+u+")?","g"),"\n")),a=c+a.replace(/\n/g,"\n"+c)}s&&(a=a?s+a+"\n"+l:s+l),e.print_newline(!1),a&&(t.text=a,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===o.TAG_OPEN&&0===t.text.indexOf("</")?e.add_raw_token(t):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var f=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{[#\^]?([^\s}]+)/),this.tag_check=n?n[1]:""),this.tag_check=this.tag_check.toLowerCase(),t.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new f(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=h(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===o.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===o.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))},m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent)return"body"===e.tag_name?t=t||this._tag_stack.try_pop("head"):"li"===e.tag_name?t=t||this._tag_stack.try_pop("li",["ol","ul"]):"dd"===e.tag_name||"dt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]):"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])),e.parent=this._tag_stack.get_parser_token(),t},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,a=n(13).Directives,o=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new a(/<\!--/,/-->/),h=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new o(this._input).read_options(this._options),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =\/>]/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var a=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(a).until_after(a)}};(h.prototype=new i)._is_comment=function(e){return!1},h.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},h.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},h.prototype._reset=function(){this._current_tag_name=""},h.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},h.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},h.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},h.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},h.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},h.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},h.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var a=this._input.next();a+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,a)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},h.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},h.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var a=this._read_comment_or_cdata(e);if(a)return a.type=l.TEXT,a;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},h.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=h,e.exports.TOKEN=l}]);n("Nsby");var Ge,Ve=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var a=r[i];if(e.isIncremental(a)){var o=Je(a.range),s=this.offsetAt(o.start),l=this.offsetAt(o.end);this._content=this._content.substring(0,s)+a.text+this._content.substring(l,this._content.length);var c=Math.max(o.start.line,0),h=Math.max(o.end.line,0),d=this._lineOffsets,u=Ke(a.text,!1,s);if(h-c===u.length)for(var p=0,m=u.length;p<m;p++)d[p+c+1]=u[p];else u.length<1e4?d.splice.apply(d,[c+1,h-c].concat(u)):this._lineOffsets=d=d.slice(0,c+1).concat(u,d.slice(h+1));var f=a.text.length-(l-s);if(0!==f)for(p=c+1+u.length,m=d.length;p<m;p++)d[p]=d[p]+f}else{if(!e.isFull(a))throw new Error("Unknown change event received");this._content=a.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=Ke(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var a=n-1;return{line:a,character:e-t[a]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function Ke(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var a=e.charCodeAt(r);13!==a&&10!==a||(13===a&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function Je(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Ye(e){var t=Je(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new Ve(e,t,n,i)},e.update=function(e,t,n){if(e instanceof Ve)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),a=t.slice(i);e(r,n),e(a,n);var o=0,s=0,l=0;for(;o<r.length&&s<a.length;){var c=n(r[o],a[s]);t[l++]=c<=0?r[o++]:a[s++]}for(;o<r.length;)t[l++]=r[o++];for(;s<a.length;)t[l++]=a[s++];return t}(t.map(Ye),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,a=i.length-1;a>=0;a--){var o=i[a],s=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+o.newText+n.substring(l,n.length),r=s}return n}}(Ge||(Ge={}));var Xe=monaco.Uri,$e=monaco.Range,Qe=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},a=function(e){monaco.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(r)),this._disposables.push(monaco.editor.onWillDisposeModel((function(e){a(e)}))),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){a(e.model),r(e.model)}))),this._disposables.push(n.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(a(e),r(e))}))}))),this._disposables.push({dispose:function(){for(var e in i._listener)i._listener[e].dispose()}}),monaco.editor.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:Ze(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n}));monaco.editor.setModelMarkers(monaco.editor.getModel(e),t,i)}))})).then(void 0,(function(e){console.error(e)}))},e}();function Ze(e){switch(e){case p.Error:return monaco.MarkerSeverity.Error;case p.Warning:return monaco.MarkerSeverity.Warning;case p.Information:return monaco.MarkerSeverity.Info;case p.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function et(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function tt(e){if(e)return new $e(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function nt(e){var t=monaco.languages.CompletionItemKind;switch(e){case I.Text:return t.Text;case I.Method:return t.Method;case I.Function:return t.Function;case I.Constructor:return t.Constructor;case I.Field:return t.Field;case I.Variable:return t.Variable;case I.Class:return t.Class;case I.Interface:return t.Interface;case I.Module:return t.Module;case I.Property:return t.Property;case I.Unit:return t.Unit;case I.Value:return t.Value;case I.Enum:return t.Enum;case I.Keyword:return t.Keyword;case I.Snippet:return t.Snippet;case I.Color:return t.Color;case I.File:return t.File;case I.Reference:return t.Reference}return t.Property}function it(e){if(e)return{range:tt(e.range),text:e.newText}}var rt=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doComplete(r.toString(),et(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),r=new $e(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),a=n.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:r,kind:nt(e.kind)};return e.textEdit&&(t.range=tt(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(it)),e.insertTextFormat===H.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function at(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function ot(e){if(e)return Array.isArray(e)?e.map(at):[at(e)]}var st=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),et(t))})).then((function(e){if(e)return{range:tt(e.range),contents:ot(e.contents)}}))},e}();function lt(e){var t=monaco.languages.DocumentHighlightKind;switch(e){case O.Read:return t.Read;case O.Write:return t.Write;case O.Text:return t.Text}return t.Text}var ct=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),et(t))})).then((function(e){if(e)return e.map((function(e){return{range:tt(e.range),kind:lt(e.kind)}}))}))},e}();function ht(e){var t=monaco.languages.SymbolKind;switch(e){case j.File:return t.Array;case j.Module:return t.Module;case j.Namespace:return t.Namespace;case j.Package:return t.Package;case j.Class:return t.Class;case j.Method:return t.Method;case j.Property:return t.Property;case j.Field:return t.Field;case j.Constructor:return t.Constructor;case j.Enum:return t.Enum;case j.Interface:return t.Interface;case j.Function:return t.Function;case j.Variable:return t.Variable;case j.Constant:return t.Constant;case j.String:return t.String;case j.Number:return t.Number;case j.Boolean:return t.Boolean;case j.Array:return t.Array}return t.Function}var dt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:ht(e.kind),tags:[],range:tt(e.location.range),selectionRange:tt(e.location.range)}}))}))},e}(),ut=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentLinks(n.toString())})).then((function(e){if(e)return{links:e.map((function(e){return{range:tt(e.range),url:e.target}}))}}))},e}();function pt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var mt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,pt(t)).then((function(e){if(e&&0!==e.length)return e.map(it)}))}))},e}(),ft=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.format(r.toString(),function(e){if(e)return{start:et(e.getStartPosition()),end:et(e.getEndPosition())}}(t),pt(n)).then((function(e){if(e&&0!==e.length)return e.map(it)}))}))},e}(),gt=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),et(t),n)})).then((function(e){return function(e){if(!e||!e.changes)return;var t=[];for(var n in e.changes)for(var i=Xe.parse(n),r=0,a=e.changes[n];r<a.length;r++){var o=a[r];t.push({resource:i,edit:{range:tt(o.range),text:o.newText}})}return{edits:t}}(e)}))},e}();var bt=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case h.Comment:return monaco.languages.FoldingRangeKind.Comment;case h.Imports:return monaco.languages.FoldingRangeKind.Imports;case h.Region:return monaco.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var _t=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(et))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:tt(e.range)}),e=e.parent;return t}))}))},e}();function wt(e){var t=new k(e),n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.getLanguageServiceWorker.apply(t,e)},i=e.languageId;monaco.languages.registerCompletionItemProvider(i,new rt(n)),monaco.languages.registerHoverProvider(i,new st(n)),monaco.languages.registerDocumentHighlightProvider(i,new ct(n)),monaco.languages.registerLinkProvider(i,new ut(n)),monaco.languages.registerFoldingRangeProvider(i,new bt(n)),monaco.languages.registerDocumentSymbolProvider(i,new dt(n)),monaco.languages.registerSelectionRangeProvider(i,new _t(n)),monaco.languages.registerRenameProvider(i,new gt(n)),"html"===i&&(monaco.languages.registerDocumentFormattingEditProvider(i,new mt(n)),monaco.languages.registerDocumentRangeFormattingEditProvider(i,new ft(n)),new Qe(i,n,e))}function vt(e){var t=[],n=[],i=new k(e);t.push(i);var r,a,o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.getLanguageServiceWorker.apply(i,e)};return r=e.languageId,a=e.modeConfiguration,Tt(n),a.completionItems&&n.push(monaco.languages.registerCompletionItemProvider(r,new rt(o))),a.hovers&&n.push(monaco.languages.registerHoverProvider(r,new st(o))),a.documentHighlights&&n.push(monaco.languages.registerDocumentHighlightProvider(r,new ct(o))),a.links&&n.push(monaco.languages.registerLinkProvider(r,new ut(o))),a.documentSymbols&&n.push(monaco.languages.registerDocumentSymbolProvider(r,new dt(o))),a.rename&&n.push(monaco.languages.registerRenameProvider(r,new gt(o))),a.foldingRanges&&n.push(monaco.languages.registerFoldingRangeProvider(r,new bt(o))),a.selectionRanges&&n.push(monaco.languages.registerSelectionRangeProvider(r,new _t(o))),a.documentFormattingEdits&&n.push(monaco.languages.registerDocumentFormattingEditProvider(r,new mt(o))),a.documentRangeFormattingEdits&&n.push(monaco.languages.registerDocumentRangeFormattingEditProvider(r,new ft(o))),a.diagnostics&&n.push(new Qe(r,o,e)),t.push(yt(n)),yt(t)}function yt(e){return{dispose:function(){return Tt(e)}}}function Tt(e){for(;e.length;)e.pop().dispose()}},Nsby:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,a,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)});if("object"==typeof e)a="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;a=s.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,h=/^\/\//;var d="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,a){void 0===a&&(a=!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,a),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",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&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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(h.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,a))}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 w(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,a=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===r?r=this.query:null===r&&(r=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&a===this.fragment?this:new f(t,n,i,r,a)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new f(n[2]||"",decodeURIComponent(n[4]||""),decodeURIComponent(n[5]||""),decodeURIComponent(n[7]||""),decodeURIComponent(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(a&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){var n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=a?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return o(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),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}(p),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var a=e.charCodeAt(r);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||45===a||46===a||95===a||126===a||t&&47===a)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var o=g[a];void 0!==o?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=o):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(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 w(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,a&&(t=t.replace(/\//g,"\\")),t}function v(e,t){var n=t?_:b,i="",r=e.scheme,a=e.authority,o=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(a||"file"===r)&&(i+=d,i+=d),a){var c=a.indexOf("@");if(-1!==c){var h=a.substr(0,c);a=a.substr(c+1),-1===(c=h.indexOf(":"))?i+=n(h,!1):(i+=n(h.substr(0,c),!1),i+=":",i+=n(h.substr(c+1),!1)),i+="@"}-1===(c=(a=a.toLowerCase()).indexOf(":"))?i+=n(a,!1):(i+=n(a.substr(0,c),!1),i+=a.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(u=o.charCodeAt(1))>=65&&u<=90&&(o="/"+String.fromCharCode(u+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var u;(u=o.charCodeAt(0))>=65&&u<=90&&(o=String.fromCharCode(u+32)+":"+o.substr(2))}i+=n(o,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}}).call(this,n("KCCg"))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[94],{"+lu7":function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode1",(function(){return wt})),n.d(t,"setupMode",(function(){return vt}));var i,r,a,o,s,l,c,h,d,u,p,m,f,g,b,_,w,v,y,T,k=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}();function S(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 x(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return S(t,n)}function M(e){return x}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return ne.objectLiteral(t)&&ne.number(t.line)&&ne.number(t.character)}}(i||(i={})),function(e){e.create=function(e,t,n,r){if(ne.number(e)&&ne.number(t)&&ne.number(n)&&ne.number(r))return{start:i.create(e,t),end:i.create(n,r)};if(i.is(e)&&i.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+n+", "+r+"]")},e.is=function(e){var t=e;return ne.objectLiteral(t)&&i.is(t.start)&&i.is(t.end)}}(r||(r={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.string(t.uri)||ne.undefined(t.uri))}}(a||(a={})),function(e){e.create=function(e,t,n,i){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:i}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.targetRange)&&ne.string(t.targetUri)&&(r.is(t.targetSelectionRange)||ne.undefined(t.targetSelectionRange))&&(r.is(t.originSelectionRange)||ne.undefined(t.originSelectionRange))}}(o||(o={})),function(e){e.create=function(e,t,n,i){return{red:e,green:t,blue:n,alpha:i}},e.is=function(e){var t=e;return ne.number(t.red)&&ne.number(t.green)&&ne.number(t.blue)&&ne.number(t.alpha)}}(s||(s={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return r.is(t.range)&&s.is(t.color)}}(l||(l={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){var t=e;return ne.string(t.label)&&(ne.undefined(t.textEdit)||b.is(t))&&(ne.undefined(t.additionalTextEdits)||ne.typedArray(t.additionalTextEdits,b.is))}}(c||(c={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(h||(h={})),function(e){e.create=function(e,t,n,i,r){var a={startLine:e,endLine:t};return ne.defined(n)&&(a.startCharacter=n),ne.defined(i)&&(a.endCharacter=i),ne.defined(r)&&(a.kind=r),a},e.is=function(e){var t=e;return ne.number(t.startLine)&&ne.number(t.startLine)&&(ne.undefined(t.startCharacter)||ne.number(t.startCharacter))&&(ne.undefined(t.endCharacter)||ne.number(t.endCharacter))&&(ne.undefined(t.kind)||ne.string(t.kind))}}(d||(d={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return ne.defined(t)&&a.is(t.location)&&ne.string(t.message)}}(u||(u={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(p||(p={})),function(e){e.Unnecessary=1,e.Deprecated=2}(m||(m={})),function(e){e.create=function(e,t,n,i,r,a){var o={range:e,message:t};return ne.defined(n)&&(o.severity=n),ne.defined(i)&&(o.code=i),ne.defined(r)&&(o.source=r),ne.defined(a)&&(o.relatedInformation=a),o},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&ne.string(t.message)&&(ne.number(t.severity)||ne.undefined(t.severity))&&(ne.number(t.code)||ne.string(t.code)||ne.undefined(t.code))&&(ne.string(t.source)||ne.undefined(t.source))&&(ne.undefined(t.relatedInformation)||ne.typedArray(t.relatedInformation,u.is))}}(f||(f={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={title:e,command:t};return ne.defined(n)&&n.length>0&&(r.arguments=n),r},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.title)&&ne.string(t.command)}}(g||(g={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return ne.objectLiteral(t)&&ne.string(t.newText)&&r.is(t.range)}}(b||(b={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return ne.defined(t)&&E.is(t.textDocument)&&Array.isArray(t.edits)}}(_||(_={})),function(e){e.create=function(e,t){var n={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"create"===t.kind&&ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ne.boolean(t.options.ignoreIfExists)))}}(w||(w={})),function(e){e.create=function(e,t,n){var i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),i},e.is=function(e){var t=e;return t&&"rename"===t.kind&&ne.string(t.oldUri)&&ne.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||ne.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||ne.boolean(t.options.ignoreIfExists)))}}(v||(v={})),function(e){e.create=function(e,t){var n={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(n.options=t),n},e.is=function(e){var t=e;return t&&"delete"===t.kind&&ne.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||ne.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||ne.boolean(t.options.ignoreIfNotExists)))}}(y||(y={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return ne.string(e.kind)?w.is(e)||v.is(e)||y.is(e):_.is(e)})))}}(T||(T={}));var L,E,A,R,z,I,H,U,C,W,D,q,N,P,O,F,j,B,G,V,K,J,Y,X,$,Q,Z,ee=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(b.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(b.replace(e,t))},e.prototype.delete=function(e){this.edits.push(b.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(_.is(e)){var n=new ee(e.edits);t._textEditChanges[e.textDocument.uri]=n}})):e.changes&&Object.keys(e.changes).forEach((function(n){var i=new ee(e.changes[n]);t._textEditChanges[n]=i})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(E.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(i=this._textEditChanges[t.uri])){var n={textDocument:t,edits:r=[]};this._workspaceEdit.documentChanges.push(n),i=new ee(r),this._textEditChanges[t.uri]=i}return i}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var i;if(!(i=this._textEditChanges[e])){var r=[];this._workspaceEdit.changes[e]=r,i=new ee(r),this._textEditChanges[e]=i}return i},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(w.create(e,t))},e.prototype.renameFile=function(e,t,n){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(v.create(e,t,n))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(y.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)&&(null===t.version||ne.number(t.version))}}(E||(E={})),function(e){e.create=function(e,t,n,i){return{uri:e,languageId:t,version:n,text:i}},e.is=function(e){var t=e;return ne.defined(t)&&ne.string(t.uri)&&ne.string(t.languageId)&&ne.number(t.version)&&ne.string(t.text)}}(A||(A={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(R||(R={})),function(e){e.is=function(t){var n=t;return n===e.PlainText||n===e.Markdown}}(R||(R={})),function(e){e.is=function(e){var t=e;return ne.objectLiteral(e)&&R.is(t.kind)&&ne.string(t.value)}}(z||(z={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(I||(I={})),function(e){e.PlainText=1,e.Snippet=2}(H||(H={})),function(e){e.Deprecated=1}(U||(U={})),function(e){e.create=function(e){return{label:e}}}(C||(C={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(W||(W={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return ne.string(t)||ne.objectLiteral(t)&&ne.string(t.language)&&ne.string(t.value)}}(D||(D={})),function(e){e.is=function(e){var t=e;return!!t&&ne.objectLiteral(t)&&(z.is(t.contents)||D.is(t.contents)||ne.typedArray(t.contents,D.is))&&(void 0===e.range||r.is(e.range))}}(q||(q={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(N||(N={})),function(e){e.create=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r={label:e};return ne.defined(t)&&(r.documentation=t),ne.defined(n)?r.parameters=n:r.parameters=[],r}}(P||(P={})),function(e){e.Text=1,e.Read=2,e.Write=3}(O||(O={})),function(e){e.create=function(e,t){var n={range:e};return ne.number(t)&&(n.kind=t),n}}(F||(F={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(j||(j={})),function(e){e.Deprecated=1}(B||(B={})),function(e){e.create=function(e,t,n,i,r){var a={name:e,kind:t,location:{uri:i,range:n}};return r&&(a.containerName=r),a}}(G||(G={})),function(e){e.create=function(e,t,n,i,r,a){var o={name:e,detail:t,kind:n,range:i,selectionRange:r};return void 0!==a&&(o.children=a),o},e.is=function(e){var t=e;return t&&ne.string(t.name)&&ne.number(t.kind)&&r.is(t.range)&&r.is(t.selectionRange)&&(void 0===t.detail||ne.string(t.detail))&&(void 0===t.deprecated||ne.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(V||(V={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(K||(K={})),function(e){e.create=function(e,t){var n={diagnostics:e};return null!=t&&(n.only=t),n},e.is=function(e){var t=e;return ne.defined(t)&&ne.typedArray(t.diagnostics,f.is)&&(void 0===t.only||ne.typedArray(t.only,ne.string))}}(J||(J={})),function(e){e.create=function(e,t,n){var i={title:e};return g.is(t)?i.command=t:i.edit=t,void 0!==n&&(i.kind=n),i},e.is=function(e){var t=e;return t&&ne.string(t.title)&&(void 0===t.diagnostics||ne.typedArray(t.diagnostics,f.is))&&(void 0===t.kind||ne.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||g.is(t.command))&&(void 0===t.isPreferred||ne.boolean(t.isPreferred))&&(void 0===t.edit||T.is(t.edit))}}(Y||(Y={})),function(e){e.create=function(e,t){var n={range:e};return ne.defined(t)&&(n.data=t),n},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.undefined(t.command)||g.is(t.command))}}(X||(X={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return ne.defined(t)&&ne.number(t.tabSize)&&ne.boolean(t.insertSpaces)}}($||($={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){var t=e;return ne.defined(t)&&r.is(t.range)&&(ne.undefined(t.target)||ne.string(t.target))}}(Q||(Q={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var n=t;return void 0!==n&&r.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(Z||(Z={}));var te;!function(e){e.create=function(e,t,n,i){return new oe(e,t,n,i)},e.is=function(e){var t=e;return!!(ne.defined(t)&&ne.string(t.uri)&&(ne.undefined(t.languageId)||ne.string(t.languageId))&&ne.number(t.lineCount)&&ne.func(t.getText)&&ne.func(t.positionAt)&&ne.func(t.offsetAt))},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),a=t.slice(i);e(r,n),e(a,n);var o=0,s=0,l=0;for(;o<r.length&&s<a.length;){var c=n(r[o],a[s]);t[l++]=c<=0?r[o++]:a[s++]}for(;o<r.length;)t[l++]=r[o++];for(;s<a.length;)t[l++]=a[s++];return t}(t,(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,a=i.length-1;a>=0;a--){var o=i[a],s=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+o.newText+n.substring(l,n.length),r=s}return n}}(te||(te={}));var ne,ie,re,ae,oe=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,n=!0,i=0;i<t.length;i++){n&&(e.push(i),n=!1);var r=t.charAt(i);n="\r"===r||"\n"===r,"\r"===r&&i+1<t.length&&"\n"===t.charAt(i+1)&&i++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return i.create(0,e);for(;n<r;){var a=Math.floor((n+r)/2);t[a]>e?r=a:n=a+1}var o=n-1;return i.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(ne||(ne={})),function(e){e[e.StartCommentTag=0]="StartCommentTag",e[e.Comment=1]="Comment",e[e.EndCommentTag=2]="EndCommentTag",e[e.StartTagOpen=3]="StartTagOpen",e[e.StartTagClose=4]="StartTagClose",e[e.StartTagSelfClose=5]="StartTagSelfClose",e[e.StartTag=6]="StartTag",e[e.EndTagOpen=7]="EndTagOpen",e[e.EndTagClose=8]="EndTagClose",e[e.EndTag=9]="EndTag",e[e.DelimiterAssign=10]="DelimiterAssign",e[e.AttributeName=11]="AttributeName",e[e.AttributeValue=12]="AttributeValue",e[e.StartDoctypeTag=13]="StartDoctypeTag",e[e.Doctype=14]="Doctype",e[e.EndDoctypeTag=15]="EndDoctypeTag",e[e.Content=16]="Content",e[e.Whitespace=17]="Whitespace",e[e.Unknown=18]="Unknown",e[e.Script=19]="Script",e[e.Styles=20]="Styles",e[e.EOS=21]="EOS"}(ie||(ie={})),function(e){e[e.WithinContent=0]="WithinContent",e[e.AfterOpeningStartTag=1]="AfterOpeningStartTag",e[e.AfterOpeningEndTag=2]="AfterOpeningEndTag",e[e.WithinDoctype=3]="WithinDoctype",e[e.WithinTag=4]="WithinTag",e[e.WithinEndTag=5]="WithinEndTag",e[e.WithinComment=6]="WithinComment",e[e.WithinScriptContent=7]="WithinScriptContent",e[e.WithinStyleContent=8]="WithinStyleContent",e[e.AfterAttributeName=9]="AfterAttributeName",e[e.BeforeAttributeValue=10]="BeforeAttributeValue"}(re||(re={})),(ae||(ae={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[R.Markdown,R.PlainText]}},hover:{contentFormat:[R.Markdown,R.PlainText]}}};var se=M(),le=function(){function e(e,t){this.source=e,this.len=e.length,this.position=t}return e.prototype.eos=function(){return this.len<=this.position},e.prototype.getSource=function(){return this.source},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.goToEnd=function(){this.position=this.source.length},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){var t;if(this.position+e.length>this.source.length)return!1;for(t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceIfRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index+t[0].length,t[0]):""},e.prototype.advanceUntilRegExp=function(e){var t=this.source.substr(this.position).match(e);return t?(this.position=this.position+t.index,t[0]):(this.goToEnd(),"")},e.prototype.advanceUntilChar=function(e){for(;this.position<this.source.length;){if(this.source.charCodeAt(this.position)===e)return!0;this.advance(1)}return!1},e.prototype.advanceUntilChars=function(e){for(;this.position+e.length<=this.source.length;){for(var t=0;t<e.length&&this.source.charCodeAt(this.position+t)===e[t];t++);if(t===e.length)return!0;this.advance(1)}return this.goToEnd(),!1},e.prototype.skipWhitespace=function(){return this.advanceWhileChar((function(e){return e===ve||e===ye||e===be||e===we||e===_e}))>0},e.prototype.advanceWhileChar=function(e){for(var t=this.position;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-t},e}(),ce="!".charCodeAt(0),he="-".charCodeAt(0),de="<".charCodeAt(0),ue=">".charCodeAt(0),pe="/".charCodeAt(0),me="=".charCodeAt(0),fe='"'.charCodeAt(0),ge="'".charCodeAt(0),be="\n".charCodeAt(0),_e="\r".charCodeAt(0),we="\f".charCodeAt(0),ve=" ".charCodeAt(0),ye="\t".charCodeAt(0),Te={"text/x-handlebars-template":!0};function ke(e,t,n){void 0===t&&(t=0),void 0===n&&(n=re.WithinContent);var i,r,a,o,s,l=new le(e,t),c=n,h=0,d=ie.Unknown;function u(){return l.advanceIfRegExp(/^[_:\w][_:\w-.\d]*/).toLowerCase()}function p(e,t,n){return d=t,h=e,i=n,t}return{scan:function(){var e=l.pos(),t=c,n=function e(){var t,n=l.pos();if(l.eos())return p(n,ie.EOS);switch(c){case re.WithinComment:return l.advanceIfChars([he,he,ue])?(c=re.WithinContent,p(n,ie.EndCommentTag)):(l.advanceUntilChars([he,he,ue]),p(n,ie.Comment));case re.WithinDoctype:return l.advanceIfChar(ue)?(c=re.WithinContent,p(n,ie.EndDoctypeTag)):(l.advanceUntilChar(ue),p(n,ie.Doctype));case re.WithinContent:if(l.advanceIfChar(de)){if(!l.eos()&&l.peekChar()===ce){if(l.advanceIfChars([ce,he,he]))return c=re.WithinComment,p(n,ie.StartCommentTag);if(l.advanceIfRegExp(/^!doctype/i))return c=re.WithinDoctype,p(n,ie.StartDoctypeTag)}return l.advanceIfChar(pe)?(c=re.AfterOpeningEndTag,p(n,ie.EndTagOpen)):(c=re.AfterOpeningStartTag,p(n,ie.StartTagOpen))}return l.advanceUntilChar(de),p(n,ie.Content);case re.AfterOpeningEndTag:return u().length>0?(c=re.WithinEndTag,p(n,ie.EndTag)):l.skipWhitespace()?p(n,ie.Whitespace,se("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(c=re.WithinEndTag,l.advanceUntilChar(ue),n<l.pos()?p(n,ie.Unknown,se("error.endTagNameExpected","End tag name expected.")):e());case re.WithinEndTag:if(l.skipWhitespace())return p(n,ie.Whitespace);if(l.advanceIfChar(ue))return c=re.WithinContent,p(n,ie.EndTagClose);t=se("error.tagNameExpected","Closing bracket expected.");break;case re.AfterOpeningStartTag:return a=u(),s=void 0,o=void 0,a.length>0?(r=!1,c=re.WithinTag,p(n,ie.StartTag)):l.skipWhitespace()?p(n,ie.Whitespace,se("error.unexpectedWhitespace","Tag name must directly follow the open bracket.")):(c=re.WithinTag,l.advanceUntilChar(ue),n<l.pos()?p(n,ie.Unknown,se("error.startTagNameExpected","Start tag name expected.")):e());case re.WithinTag:return l.skipWhitespace()?(r=!0,p(n,ie.Whitespace)):r&&(o=l.advanceIfRegExp(/^[^\s"'>/=\x00-\x0F\x7F\x80-\x9F]*/).toLowerCase()).length>0?(c=re.AfterAttributeName,r=!1,p(n,ie.AttributeName)):l.advanceIfChars([pe,ue])?(c=re.WithinContent,p(n,ie.StartTagSelfClose)):l.advanceIfChar(ue)?(c="script"===a?s&&Te[s]?re.WithinContent:re.WithinScriptContent:"style"===a?re.WithinStyleContent:re.WithinContent,p(n,ie.StartTagClose)):(l.advance(1),p(n,ie.Unknown,se("error.unexpectedCharacterInTag","Unexpected character in tag.")));case re.AfterAttributeName:return l.skipWhitespace()?(r=!0,p(n,ie.Whitespace)):l.advanceIfChar(me)?(c=re.BeforeAttributeValue,p(n,ie.DelimiterAssign)):(c=re.WithinTag,e());case re.BeforeAttributeValue:if(l.skipWhitespace())return p(n,ie.Whitespace);var i=l.advanceIfRegExp(/^[^\s"'`=<>]+/);if(i.length>0)return l.peekChar()===ue&&l.peekChar(-1)===pe&&(l.goBack(1),i=i.substr(0,i.length-1)),"type"===o&&(s=i),c=re.WithinTag,r=!1,p(n,ie.AttributeValue);var h=l.peekChar();return h===ge||h===fe?(l.advance(1),l.advanceUntilChar(h)&&l.advance(1),"type"===o&&(s=l.getSource().substring(n+1,l.pos()-1)),c=re.WithinTag,r=!1,p(n,ie.AttributeValue)):(c=re.WithinTag,r=!1,e());case re.WithinScriptContent:for(var d=1;!l.eos();){var m=l.advanceIfRegExp(/<!--|-->|<\/?script\s*\/?>?/i);if(0===m.length)return l.goToEnd(),p(n,ie.Script);if("\x3c!--"===m)1===d&&(d=2);else if("--\x3e"===m)d=1;else if("/"!==m[1])2===d&&(d=3);else{if(3!==d){l.goBack(m.length);break}d=2}}return c=re.WithinContent,n<l.pos()?p(n,ie.Script):e();case re.WithinStyleContent:return l.advanceUntilRegExp(/<\/style/i),c=re.WithinContent,n<l.pos()?p(n,ie.Styles):e()}return l.advance(1),c=re.WithinContent,p(n,ie.Unknown,t)}();return n!==ie.EOS&&e===l.pos()?(console.log("Scanner.scan has not advanced at offset "+e+", state before: "+t+" after: "+c),l.advance(1),p(e,ie.Unknown)):n},getTokenType:function(){return d},getTokenOffset:function(){return h},getTokenLength:function(){return l.pos()-h},getTokenEnd:function(){return l.pos()},getTokenText:function(){return l.getSource().substring(h,l.pos())},getScannerState:function(){return c},getTokenError:function(){return i}}}function Se(e,t){var n=0,i=e.length;if(0===i)return 0;for(;n<i;){var r=Math.floor((n+i)/2);t(e[r])?i=r:n=r+1}return n}var xe=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function Me(e){return!!e&&function(e,t,n){for(var i=0,r=e.length-1;i<=r;){var a=(i+r)/2|0,o=n(e[a],t);if(o<0)i=a+1;else{if(!(o>0))return a;r=a-1}}return-(i+1)}(xe,e.toLowerCase(),(function(e,t){return e.localeCompare(t)}))>=0}!function(){function e(e,t,n,i){this.start=e,this.end=t,this.children=n,this.parent=i,this.closed=!1}Object.defineProperty(e.prototype,"attributeNames",{get:function(){return this.attributes?Object.keys(this.attributes):[]},enumerable:!0,configurable:!0}),e.prototype.isSameTag=function(e){return this.tag&&e&&this.tag.length===e.length&&this.tag.toLowerCase()===e},Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length?this.children[this.children.length-1]:void 0},enumerable:!0,configurable:!0}),e.prototype.findNodeBefore=function(e){var t=Se(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start){if(e<n.end)return n.findNodeBefore(e);var i=n.lastChild;return i&&i.end===n.end?n.findNodeBefore(e):n}}return this},e.prototype.findNodeAt=function(e){var t=Se(this.children,(function(t){return e<=t.start}))-1;if(t>=0){var n=this.children[t];if(e>n.start&&e<=n.end)return n.findNodeAt(e)}return this}}();var Le={"Aacute;":"Á",Aacute:"Á","aacute;":"á",aacute:"á","Abreve;":"Ă","abreve;":"ă","ac;":"∾","acd;":"∿","acE;":"∾̳","Acirc;":"Â",Acirc:"Â","acirc;":"â",acirc:"â","acute;":"´",acute:"´","Acy;":"А","acy;":"а","AElig;":"Æ",AElig:"Æ","aelig;":"æ",aelig:"æ","af;":"⁡","Afr;":"𝔄","afr;":"𝔞","Agrave;":"À",Agrave:"À","agrave;":"à",agrave:"à","alefsym;":"ℵ","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","AMP;":"&",AMP:"&","amp;":"&",amp:"&","And;":"⩓","and;":"∧","andand;":"⩕","andd;":"⩜","andslope;":"⩘","andv;":"⩚","ang;":"∠","ange;":"⦤","angle;":"∠","angmsd;":"∡","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrt;":"∟","angrtvb;":"⊾","angrtvbd;":"⦝","angsph;":"∢","angst;":"Å","angzarr;":"⍼","Aogon;":"Ą","aogon;":"ą","Aopf;":"𝔸","aopf;":"𝕒","ap;":"≈","apacir;":"⩯","apE;":"⩰","ape;":"≊","apid;":"≋","apos;":"'","ApplyFunction;":"⁡","approx;":"≈","approxeq;":"≊","Aring;":"Å",Aring:"Å","aring;":"å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Assign;":"≔","ast;":"*","asymp;":"≈","asympeq;":"≍","Atilde;":"Ã",Atilde:"Ã","atilde;":"ã",atilde:"ã","Auml;":"Ä",Auml:"Ä","auml;":"ä",auml:"ä","awconint;":"∳","awint;":"⨑","backcong;":"≌","backepsilon;":"϶","backprime;":"‵","backsim;":"∽","backsimeq;":"⋍","Backslash;":"∖","Barv;":"⫧","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","barwedge;":"⌅","bbrk;":"⎵","bbrktbrk;":"⎶","bcong;":"≌","Bcy;":"Б","bcy;":"б","bdquo;":"„","becaus;":"∵","Because;":"∵","because;":"∵","bemptyv;":"⦰","bepsi;":"϶","bernou;":"ℬ","Bernoullis;":"ℬ","Beta;":"Β","beta;":"β","beth;":"ℶ","between;":"≬","Bfr;":"𝔅","bfr;":"𝔟","bigcap;":"⋂","bigcirc;":"◯","bigcup;":"⋃","bigodot;":"⨀","bigoplus;":"⨁","bigotimes;":"⨂","bigsqcup;":"⨆","bigstar;":"★","bigtriangledown;":"▽","bigtriangleup;":"△","biguplus;":"⨄","bigvee;":"⋁","bigwedge;":"⋀","bkarow;":"⤍","blacklozenge;":"⧫","blacksquare;":"▪","blacktriangle;":"▴","blacktriangledown;":"▾","blacktriangleleft;":"◂","blacktriangleright;":"▸","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","bne;":"=⃥","bnequiv;":"≡⃥","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","bot;":"⊥","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxH;":"═","boxh;":"─","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxminus;":"⊟","boxplus;":"⊞","boxtimes;":"⊠","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxV;":"║","boxv;":"│","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","bprime;":"‵","Breve;":"˘","breve;":"˘","brvbar;":"¦",brvbar:"¦","Bscr;":"ℬ","bscr;":"𝒷","bsemi;":"⁏","bsim;":"∽","bsime;":"⋍","bsol;":"\\","bsolb;":"⧅","bsolhsub;":"⟈","bull;":"•","bullet;":"•","bump;":"≎","bumpE;":"⪮","bumpe;":"≏","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","Cap;":"⋒","cap;":"∩","capand;":"⩄","capbrcup;":"⩉","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","CapitalDifferentialD;":"ⅅ","caps;":"∩︀","caret;":"⁁","caron;":"ˇ","Cayleys;":"ℭ","ccaps;":"⩍","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç",Ccedil:"Ç","ccedil;":"ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","Cconint;":"∰","ccups;":"⩌","ccupssm;":"⩐","Cdot;":"Ċ","cdot;":"ċ","cedil;":"¸",cedil:"¸","Cedilla;":"¸","cemptyv;":"⦲","cent;":"¢",cent:"¢","CenterDot;":"·","centerdot;":"·","Cfr;":"ℭ","cfr;":"𝔠","CHcy;":"Ч","chcy;":"ч","check;":"✓","checkmark;":"✓","Chi;":"Χ","chi;":"χ","cir;":"○","circ;":"ˆ","circeq;":"≗","circlearrowleft;":"↺","circlearrowright;":"↻","circledast;":"⊛","circledcirc;":"⊚","circleddash;":"⊝","CircleDot;":"⊙","circledR;":"®","circledS;":"Ⓢ","CircleMinus;":"⊖","CirclePlus;":"⊕","CircleTimes;":"⊗","cirE;":"⧃","cire;":"≗","cirfnint;":"⨐","cirmid;":"⫯","cirscir;":"⧂","ClockwiseContourIntegral;":"∲","CloseCurlyDoubleQuote;":"”","CloseCurlyQuote;":"’","clubs;":"♣","clubsuit;":"♣","Colon;":"∷","colon;":":","Colone;":"⩴","colone;":"≔","coloneq;":"≔","comma;":",","commat;":"@","comp;":"∁","compfn;":"∘","complement;":"∁","complexes;":"ℂ","cong;":"≅","congdot;":"⩭","Congruent;":"≡","Conint;":"∯","conint;":"∮","ContourIntegral;":"∮","Copf;":"ℂ","copf;":"𝕔","coprod;":"∐","Coproduct;":"∐","COPY;":"©",COPY:"©","copy;":"©",copy:"©","copysr;":"℗","CounterClockwiseContourIntegral;":"∳","crarr;":"↵","Cross;":"⨯","cross;":"✗","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csube;":"⫑","csup;":"⫐","csupe;":"⫒","ctdot;":"⋯","cudarrl;":"⤸","cudarrr;":"⤵","cuepr;":"⋞","cuesc;":"⋟","cularr;":"↶","cularrp;":"⤽","Cup;":"⋓","cup;":"∪","cupbrcap;":"⩈","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","cupor;":"⩅","cups;":"∪︀","curarr;":"↷","curarrm;":"⤼","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","curlyvee;":"⋎","curlywedge;":"⋏","curren;":"¤",curren:"¤","curvearrowleft;":"↶","curvearrowright;":"↷","cuvee;":"⋎","cuwed;":"⋏","cwconint;":"∲","cwint;":"∱","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","Dashv;":"⫤","dashv;":"⊣","dbkarow;":"⤏","dblac;":"˝","Dcaron;":"Ď","dcaron;":"ď","Dcy;":"Д","dcy;":"д","DD;":"ⅅ","dd;":"ⅆ","ddagger;":"‡","ddarr;":"⇊","DDotrahd;":"⤑","ddotseq;":"⩷","deg;":"°",deg:"°","Del;":"∇","Delta;":"Δ","delta;":"δ","demptyv;":"⦱","dfisht;":"⥿","Dfr;":"𝔇","dfr;":"𝔡","dHar;":"⥥","dharl;":"⇃","dharr;":"⇂","DiacriticalAcute;":"´","DiacriticalDot;":"˙","DiacriticalDoubleAcute;":"˝","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","diam;":"⋄","Diamond;":"⋄","diamond;":"⋄","diamondsuit;":"♦","diams;":"♦","die;":"¨","DifferentialD;":"ⅆ","digamma;":"ϝ","disin;":"⋲","div;":"÷","divide;":"÷",divide:"÷","divideontimes;":"⋇","divonx;":"⋇","DJcy;":"Ђ","djcy;":"ђ","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","Dopf;":"𝔻","dopf;":"𝕕","Dot;":"¨","dot;":"˙","DotDot;":"⃜","doteq;":"≐","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","dotplus;":"∔","dotsquare;":"⊡","doublebarwedge;":"⌆","DoubleContourIntegral;":"∯","DoubleDot;":"¨","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","DoubleLeftRightArrow;":"⇔","DoubleLeftTee;":"⫤","DoubleLongLeftArrow;":"⟸","DoubleLongLeftRightArrow;":"⟺","DoubleLongRightArrow;":"⟹","DoubleRightArrow;":"⇒","DoubleRightTee;":"⊨","DoubleUpArrow;":"⇑","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownArrowBar;":"⤓","DownArrowUpArrow;":"⇵","DownBreve;":"̑","downdownarrows;":"⇊","downharpoonleft;":"⇃","downharpoonright;":"⇂","DownLeftRightVector;":"⥐","DownLeftTeeVector;":"⥞","DownLeftVector;":"↽","DownLeftVectorBar;":"⥖","DownRightTeeVector;":"⥟","DownRightVector;":"⇁","DownRightVectorBar;":"⥗","DownTee;":"⊤","DownTeeArrow;":"↧","drbkarow;":"⤐","drcorn;":"⌟","drcrop;":"⌌","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","Dstrok;":"Đ","dstrok;":"đ","dtdot;":"⋱","dtri;":"▿","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯","dwangle;":"⦦","DZcy;":"Џ","dzcy;":"џ","dzigrarr;":"⟿","Eacute;":"É",Eacute:"É","eacute;":"é",eacute:"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecir;":"≖","Ecirc;":"Ê",Ecirc:"Ê","ecirc;":"ê",ecirc:"ê","ecolon;":"≕","Ecy;":"Э","ecy;":"э","eDDot;":"⩷","Edot;":"Ė","eDot;":"≑","edot;":"ė","ee;":"ⅇ","efDot;":"≒","Efr;":"𝔈","efr;":"𝔢","eg;":"⪚","Egrave;":"È",Egrave:"È","egrave;":"è",egrave:"è","egs;":"⪖","egsdot;":"⪘","el;":"⪙","Element;":"∈","elinters;":"⏧","ell;":"ℓ","els;":"⪕","elsdot;":"⪗","Emacr;":"Ē","emacr;":"ē","empty;":"∅","emptyset;":"∅","EmptySmallSquare;":"◻","emptyv;":"∅","EmptyVerySmallSquare;":"▫","emsp;":" ","emsp13;":" ","emsp14;":" ","ENG;":"Ŋ","eng;":"ŋ","ensp;":" ","Eogon;":"Ę","eogon;":"ę","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","eparsl;":"⧣","eplus;":"⩱","epsi;":"ε","Epsilon;":"Ε","epsilon;":"ε","epsiv;":"ϵ","eqcirc;":"≖","eqcolon;":"≕","eqsim;":"≂","eqslantgtr;":"⪖","eqslantless;":"⪕","Equal;":"⩵","equals;":"=","EqualTilde;":"≂","equest;":"≟","Equilibrium;":"⇌","equiv;":"≡","equivDD;":"⩸","eqvparsl;":"⧥","erarr;":"⥱","erDot;":"≓","Escr;":"ℰ","escr;":"ℯ","esdot;":"≐","Esim;":"⩳","esim;":"≂","Eta;":"Η","eta;":"η","ETH;":"Ð",ETH:"Ð","eth;":"ð",eth:"ð","Euml;":"Ë",Euml:"Ë","euml;":"ë",euml:"ë","euro;":"€","excl;":"!","exist;":"∃","Exists;":"∃","expectation;":"ℰ","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","fallingdotseq;":"≒","Fcy;":"Ф","fcy;":"ф","female;":"♀","ffilig;":"ffi","fflig;":"ff","ffllig;":"ffl","Ffr;":"𝔉","ffr;":"𝔣","filig;":"fi","FilledSmallSquare;":"◼","FilledVerySmallSquare;":"▪","fjlig;":"fj","flat;":"♭","fllig;":"fl","fltns;":"▱","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","ForAll;":"∀","forall;":"∀","fork;":"⋔","forkv;":"⫙","Fouriertrf;":"ℱ","fpartint;":"⨍","frac12;":"½",frac12:"½","frac13;":"⅓","frac14;":"¼",frac14:"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾",frac34:"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","frasl;":"⁄","frown;":"⌢","Fscr;":"ℱ","fscr;":"𝒻","gacute;":"ǵ","Gamma;":"Γ","gamma;":"γ","Gammad;":"Ϝ","gammad;":"ϝ","gap;":"⪆","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","Gcirc;":"Ĝ","gcirc;":"ĝ","Gcy;":"Г","gcy;":"г","Gdot;":"Ġ","gdot;":"ġ","gE;":"≧","ge;":"≥","gEl;":"⪌","gel;":"⋛","geq;":"≥","geqq;":"≧","geqslant;":"⩾","ges;":"⩾","gescc;":"⪩","gesdot;":"⪀","gesdoto;":"⪂","gesdotol;":"⪄","gesl;":"⋛︀","gesles;":"⪔","Gfr;":"𝔊","gfr;":"𝔤","Gg;":"⋙","gg;":"≫","ggg;":"⋙","gimel;":"ℷ","GJcy;":"Ѓ","gjcy;":"ѓ","gl;":"≷","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnap;":"⪊","gnapprox;":"⪊","gnE;":"≩","gne;":"⪈","gneq;":"⪈","gneqq;":"≩","gnsim;":"⋧","Gopf;":"𝔾","gopf;":"𝕘","grave;":"`","GreaterEqual;":"≥","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","GreaterGreater;":"⪢","GreaterLess;":"≷","GreaterSlantEqual;":"⩾","GreaterTilde;":"≳","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gsime;":"⪎","gsiml;":"⪐","GT;":">",GT:">","Gt;":"≫","gt;":">",gt:">","gtcc;":"⪧","gtcir;":"⩺","gtdot;":"⋗","gtlPar;":"⦕","gtquest;":"⩼","gtrapprox;":"⪆","gtrarr;":"⥸","gtrdot;":"⋗","gtreqless;":"⋛","gtreqqless;":"⪌","gtrless;":"≷","gtrsim;":"≳","gvertneqq;":"≩︀","gvnE;":"≩︀","Hacek;":"ˇ","hairsp;":" ","half;":"½","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hArr;":"⇔","harr;":"↔","harrcir;":"⥈","harrw;":"↭","Hat;":"^","hbar;":"ℏ","Hcirc;":"Ĥ","hcirc;":"ĥ","hearts;":"♥","heartsuit;":"♥","hellip;":"…","hercon;":"⊹","Hfr;":"ℌ","hfr;":"𝔥","HilbertSpace;":"ℋ","hksearow;":"⤥","hkswarow;":"⤦","hoarr;":"⇿","homtht;":"∻","hookleftarrow;":"↩","hookrightarrow;":"↪","Hopf;":"ℍ","hopf;":"𝕙","horbar;":"―","HorizontalLine;":"─","Hscr;":"ℋ","hscr;":"𝒽","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","HumpDownHump;":"≎","HumpEqual;":"≏","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í",Iacute:"Í","iacute;":"í",iacute:"í","ic;":"⁣","Icirc;":"Î",Icirc:"Î","icirc;":"î",icirc:"î","Icy;":"И","icy;":"и","Idot;":"İ","IEcy;":"Е","iecy;":"е","iexcl;":"¡",iexcl:"¡","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Igrave;":"Ì",Igrave:"Ì","igrave;":"ì",igrave:"ì","ii;":"ⅈ","iiiint;":"⨌","iiint;":"∭","iinfin;":"⧜","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Im;":"ℑ","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","ImaginaryI;":"ⅈ","imagline;":"ℐ","imagpart;":"ℑ","imath;":"ı","imof;":"⊷","imped;":"Ƶ","Implies;":"⇒","in;":"∈","incare;":"℅","infin;":"∞","infintie;":"⧝","inodot;":"ı","Int;":"∬","int;":"∫","intcal;":"⊺","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","Intersection;":"⋂","intlarhk;":"⨗","intprod;":"⨼","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","IOcy;":"Ё","iocy;":"ё","Iogon;":"Į","iogon;":"į","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","iprod;":"⨼","iquest;":"¿",iquest:"¿","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","isindot;":"⋵","isinE;":"⋹","isins;":"⋴","isinsv;":"⋳","isinv;":"∈","it;":"⁢","Itilde;":"Ĩ","itilde;":"ĩ","Iukcy;":"І","iukcy;":"і","Iuml;":"Ï",Iuml:"Ï","iuml;":"ï",iuml:"ï","Jcirc;":"Ĵ","jcirc;":"ĵ","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","jmath;":"ȷ","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","Jsercy;":"Ј","jsercy;":"ј","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","kgreen;":"ĸ","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","lAarr;":"⇚","Lacute;":"Ĺ","lacute;":"ĺ","laemptyv;":"⦴","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","Lang;":"⟪","lang;":"⟨","langd;":"⦑","langle;":"⟨","lap;":"⪅","Laplacetrf;":"ℒ","laquo;":"«",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","larrb;":"⇤","larrbfs;":"⤟","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrsim;":"⥳","larrtl;":"↢","lat;":"⪫","lAtail;":"⤛","latail;":"⤙","late;":"⪭","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrace;":"{","lbrack;":"[","lbrke;":"⦋","lbrksld;":"⦏","lbrkslu;":"⦍","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","lceil;":"⌈","lcub;":"{","Lcy;":"Л","lcy;":"л","ldca;":"⤶","ldquo;":"“","ldquor;":"„","ldrdhar;":"⥧","ldrushar;":"⥋","ldsh;":"↲","lE;":"≦","le;":"≤","LeftAngleBracket;":"⟨","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftArrowBar;":"⇤","LeftArrowRightArrow;":"⇆","leftarrowtail;":"↢","LeftCeiling;":"⌈","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVector;":"⇃","LeftDownVectorBar;":"⥙","LeftFloor;":"⌊","leftharpoondown;":"↽","leftharpoonup;":"↼","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftrightarrows;":"⇆","leftrightharpoons;":"⇋","leftrightsquigarrow;":"↭","LeftRightVector;":"⥎","LeftTee;":"⊣","LeftTeeArrow;":"↤","LeftTeeVector;":"⥚","leftthreetimes;":"⋋","LeftTriangle;":"⊲","LeftTriangleBar;":"⧏","LeftTriangleEqual;":"⊴","LeftUpDownVector;":"⥑","LeftUpTeeVector;":"⥠","LeftUpVector;":"↿","LeftUpVectorBar;":"⥘","LeftVector;":"↼","LeftVectorBar;":"⥒","lEg;":"⪋","leg;":"⋚","leq;":"≤","leqq;":"≦","leqslant;":"⩽","les;":"⩽","lescc;":"⪨","lesdot;":"⩿","lesdoto;":"⪁","lesdotor;":"⪃","lesg;":"⋚︀","lesges;":"⪓","lessapprox;":"⪅","lessdot;":"⋖","lesseqgtr;":"⋚","lesseqqgtr;":"⪋","LessEqualGreater;":"⋚","LessFullEqual;":"≦","LessGreater;":"≶","lessgtr;":"≶","LessLess;":"⪡","lesssim;":"≲","LessSlantEqual;":"⩽","LessTilde;":"≲","lfisht;":"⥼","lfloor;":"⌊","Lfr;":"𝔏","lfr;":"𝔩","lg;":"≶","lgE;":"⪑","lHar;":"⥢","lhard;":"↽","lharu;":"↼","lharul;":"⥪","lhblk;":"▄","LJcy;":"Љ","ljcy;":"љ","Ll;":"⋘","ll;":"≪","llarr;":"⇇","llcorner;":"⌞","Lleftarrow;":"⇚","llhard;":"⥫","lltri;":"◺","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","lmoustache;":"⎰","lnap;":"⪉","lnapprox;":"⪉","lnE;":"≨","lne;":"⪇","lneq;":"⪇","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","longmapsto;":"⟼","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowleft;":"↫","looparrowright;":"↬","lopar;":"⦅","Lopf;":"𝕃","lopf;":"𝕝","loplus;":"⨭","lotimes;":"⨴","lowast;":"∗","lowbar;":"_","LowerLeftArrow;":"↙","LowerRightArrow;":"↘","loz;":"◊","lozenge;":"◊","lozf;":"⧫","lpar;":"(","lparlt;":"⦓","lrarr;":"⇆","lrcorner;":"⌟","lrhar;":"⇋","lrhard;":"⥭","lrm;":"‎","lrtri;":"⊿","lsaquo;":"‹","Lscr;":"ℒ","lscr;":"𝓁","Lsh;":"↰","lsh;":"↰","lsim;":"≲","lsime;":"⪍","lsimg;":"⪏","lsqb;":"[","lsquo;":"‘","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","LT;":"<",LT:"<","Lt;":"≪","lt;":"<",lt:"<","ltcc;":"⪦","ltcir;":"⩹","ltdot;":"⋖","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltquest;":"⩻","ltri;":"◃","ltrie;":"⊴","ltrif;":"◂","ltrPar;":"⦖","lurdshar;":"⥊","luruhar;":"⥦","lvertneqq;":"≨︀","lvnE;":"≨︀","macr;":"¯",macr:"¯","male;":"♂","malt;":"✠","maltese;":"✠","Map;":"⤅","map;":"↦","mapsto;":"↦","mapstodown;":"↧","mapstoleft;":"↤","mapstoup;":"↥","marker;":"▮","mcomma;":"⨩","Mcy;":"М","mcy;":"м","mdash;":"—","mDDot;":"∺","measuredangle;":"∡","MediumSpace;":" ","Mellintrf;":"ℳ","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","micro;":"µ",micro:"µ","mid;":"∣","midast;":"*","midcir;":"⫰","middot;":"·",middot:"·","minus;":"−","minusb;":"⊟","minusd;":"∸","minusdu;":"⨪","MinusPlus;":"∓","mlcp;":"⫛","mldr;":"…","mnplus;":"∓","models;":"⊧","Mopf;":"𝕄","mopf;":"𝕞","mp;":"∓","Mscr;":"ℳ","mscr;":"𝓂","mstpos;":"∾","Mu;":"Μ","mu;":"μ","multimap;":"⊸","mumap;":"⊸","nabla;":"∇","Nacute;":"Ń","nacute;":"ń","nang;":"∠⃒","nap;":"≉","napE;":"⩰̸","napid;":"≋̸","napos;":"ʼn","napprox;":"≉","natur;":"♮","natural;":"♮","naturals;":"ℕ","nbsp;":" ",nbsp:" ","nbump;":"≎̸","nbumpe;":"≏̸","ncap;":"⩃","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","ncong;":"≇","ncongdot;":"⩭̸","ncup;":"⩂","Ncy;":"Н","ncy;":"н","ndash;":"–","ne;":"≠","nearhk;":"⤤","neArr;":"⇗","nearr;":"↗","nearrow;":"↗","nedot;":"≐̸","NegativeMediumSpace;":"​","NegativeThickSpace;":"​","NegativeThinSpace;":"​","NegativeVeryThinSpace;":"​","nequiv;":"≢","nesear;":"⤨","nesim;":"≂̸","NestedGreaterGreater;":"≫","NestedLessLess;":"≪","NewLine;":"\n","nexist;":"∄","nexists;":"∄","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","ngeq;":"≱","ngeqq;":"≧̸","ngeqslant;":"⩾̸","nges;":"⩾̸","nGg;":"⋙̸","ngsim;":"≵","nGt;":"≫⃒","ngt;":"≯","ngtr;":"≯","nGtv;":"≫̸","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","ni;":"∋","nis;":"⋼","nisd;":"⋺","niv;":"∋","NJcy;":"Њ","njcy;":"њ","nlArr;":"⇍","nlarr;":"↚","nldr;":"‥","nlE;":"≦̸","nle;":"≰","nLeftarrow;":"⇍","nleftarrow;":"↚","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","nleq;":"≰","nleqq;":"≦̸","nleqslant;":"⩽̸","nles;":"⩽̸","nless;":"≮","nLl;":"⋘̸","nlsim;":"≴","nLt;":"≪⃒","nlt;":"≮","nltri;":"⋪","nltrie;":"⋬","nLtv;":"≪̸","nmid;":"∤","NoBreak;":"⁠","NonBreakingSpace;":" ","Nopf;":"ℕ","nopf;":"𝕟","Not;":"⫬","not;":"¬",not:"¬","NotCongruent;":"≢","NotCupCap;":"≭","NotDoubleVerticalBar;":"∦","NotElement;":"∉","NotEqual;":"≠","NotEqualTilde;":"≂̸","NotExists;":"∄","NotGreater;":"≯","NotGreaterEqual;":"≱","NotGreaterFullEqual;":"≧̸","NotGreaterGreater;":"≫̸","NotGreaterLess;":"≹","NotGreaterSlantEqual;":"⩾̸","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotHumpEqual;":"≏̸","notin;":"∉","notindot;":"⋵̸","notinE;":"⋹̸","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLeftTriangle;":"⋪","NotLeftTriangleBar;":"⧏̸","NotLeftTriangleEqual;":"⋬","NotLess;":"≮","NotLessEqual;":"≰","NotLessGreater;":"≸","NotLessLess;":"≪̸","NotLessSlantEqual;":"⩽̸","NotLessTilde;":"≴","NotNestedGreaterGreater;":"⪢̸","NotNestedLessLess;":"⪡̸","notni;":"∌","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","NotPrecedes;":"⊀","NotPrecedesEqual;":"⪯̸","NotPrecedesSlantEqual;":"⋠","NotReverseElement;":"∌","NotRightTriangle;":"⋫","NotRightTriangleBar;":"⧐̸","NotRightTriangleEqual;":"⋭","NotSquareSubset;":"⊏̸","NotSquareSubsetEqual;":"⋢","NotSquareSuperset;":"⊐̸","NotSquareSupersetEqual;":"⋣","NotSubset;":"⊂⃒","NotSubsetEqual;":"⊈","NotSucceeds;":"⊁","NotSucceedsEqual;":"⪰̸","NotSucceedsSlantEqual;":"⋡","NotSucceedsTilde;":"≿̸","NotSuperset;":"⊃⃒","NotSupersetEqual;":"⊉","NotTilde;":"≁","NotTildeEqual;":"≄","NotTildeFullEqual;":"≇","NotTildeTilde;":"≉","NotVerticalBar;":"∤","npar;":"∦","nparallel;":"∦","nparsl;":"⫽⃥","npart;":"∂̸","npolint;":"⨔","npr;":"⊀","nprcue;":"⋠","npre;":"⪯̸","nprec;":"⊀","npreceq;":"⪯̸","nrArr;":"⇏","nrarr;":"↛","nrarrc;":"⤳̸","nrarrw;":"↝̸","nRightarrow;":"⇏","nrightarrow;":"↛","nrtri;":"⋫","nrtrie;":"⋭","nsc;":"⊁","nsccue;":"⋡","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nshortmid;":"∤","nshortparallel;":"∦","nsim;":"≁","nsime;":"≄","nsimeq;":"≄","nsmid;":"∤","nspar;":"∦","nsqsube;":"⋢","nsqsupe;":"⋣","nsub;":"⊄","nsubE;":"⫅̸","nsube;":"⊈","nsubset;":"⊂⃒","nsubseteq;":"⊈","nsubseteqq;":"⫅̸","nsucc;":"⊁","nsucceq;":"⪰̸","nsup;":"⊅","nsupE;":"⫆̸","nsupe;":"⊉","nsupset;":"⊃⃒","nsupseteq;":"⊉","nsupseteqq;":"⫆̸","ntgl;":"≹","Ntilde;":"Ñ",Ntilde:"Ñ","ntilde;":"ñ",ntilde:"ñ","ntlg;":"≸","ntriangleleft;":"⋪","ntrianglelefteq;":"⋬","ntriangleright;":"⋫","ntrianglerighteq;":"⋭","Nu;":"Ν","nu;":"ν","num;":"#","numero;":"№","numsp;":" ","nvap;":"≍⃒","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvge;":"≥⃒","nvgt;":">⃒","nvHarr;":"⤄","nvinfin;":"⧞","nvlArr;":"⤂","nvle;":"≤⃒","nvlt;":"<⃒","nvltrie;":"⊴⃒","nvrArr;":"⤃","nvrtrie;":"⊵⃒","nvsim;":"∼⃒","nwarhk;":"⤣","nwArr;":"⇖","nwarr;":"↖","nwarrow;":"↖","nwnear;":"⤧","Oacute;":"Ó",Oacute:"Ó","oacute;":"ó",oacute:"ó","oast;":"⊛","ocir;":"⊚","Ocirc;":"Ô",Ocirc:"Ô","ocirc;":"ô",ocirc:"ô","Ocy;":"О","ocy;":"о","odash;":"⊝","Odblac;":"Ő","odblac;":"ő","odiv;":"⨸","odot;":"⊙","odsold;":"⦼","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿","Ofr;":"𝔒","ofr;":"𝔬","ogon;":"˛","Ograve;":"Ò",Ograve:"Ò","ograve;":"ò",ograve:"ò","ogt;":"⧁","ohbar;":"⦵","ohm;":"Ω","oint;":"∮","olarr;":"↺","olcir;":"⦾","olcross;":"⦻","oline;":"‾","olt;":"⧀","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","Omicron;":"Ο","omicron;":"ο","omid;":"⦶","ominus;":"⊖","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","OpenCurlyDoubleQuote;":"“","OpenCurlyQuote;":"‘","operp;":"⦹","oplus;":"⊕","Or;":"⩔","or;":"∨","orarr;":"↻","ord;":"⩝","order;":"ℴ","orderof;":"ℴ","ordf;":"ª",ordf:"ª","ordm;":"º",ordm:"º","origof;":"⊶","oror;":"⩖","orslope;":"⩗","orv;":"⩛","oS;":"Ⓢ","Oscr;":"𝒪","oscr;":"ℴ","Oslash;":"Ø",Oslash:"Ø","oslash;":"ø",oslash:"ø","osol;":"⊘","Otilde;":"Õ",Otilde:"Õ","otilde;":"õ",otilde:"õ","Otimes;":"⨷","otimes;":"⊗","otimesas;":"⨶","Ouml;":"Ö",Ouml:"Ö","ouml;":"ö",ouml:"ö","ovbar;":"⌽","OverBar;":"‾","OverBrace;":"⏞","OverBracket;":"⎴","OverParenthesis;":"⏜","par;":"∥","para;":"¶",para:"¶","parallel;":"∥","parsim;":"⫳","parsl;":"⫽","part;":"∂","PartialD;":"∂","Pcy;":"П","pcy;":"п","percnt;":"%","period;":".","permil;":"‰","perp;":"⊥","pertenk;":"‱","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","phiv;":"ϕ","phmmat;":"ℳ","phone;":"☎","Pi;":"Π","pi;":"π","pitchfork;":"⋔","piv;":"ϖ","planck;":"ℏ","planckh;":"ℎ","plankv;":"ℏ","plus;":"+","plusacir;":"⨣","plusb;":"⊞","pluscir;":"⨢","plusdo;":"∔","plusdu;":"⨥","pluse;":"⩲","PlusMinus;":"±","plusmn;":"±",plusmn:"±","plussim;":"⨦","plustwo;":"⨧","pm;":"±","Poincareplane;":"ℌ","pointint;":"⨕","Popf;":"ℙ","popf;":"𝕡","pound;":"£",pound:"£","Pr;":"⪻","pr;":"≺","prap;":"⪷","prcue;":"≼","prE;":"⪳","pre;":"⪯","prec;":"≺","precapprox;":"⪷","preccurlyeq;":"≼","Precedes;":"≺","PrecedesEqual;":"⪯","PrecedesSlantEqual;":"≼","PrecedesTilde;":"≾","preceq;":"⪯","precnapprox;":"⪹","precneqq;":"⪵","precnsim;":"⋨","precsim;":"≾","Prime;":"″","prime;":"′","primes;":"ℙ","prnap;":"⪹","prnE;":"⪵","prnsim;":"⋨","prod;":"∏","Product;":"∏","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","prop;":"∝","Proportion;":"∷","Proportional;":"∝","propto;":"∝","prsim;":"≾","prurel;":"⊰","Pscr;":"𝒫","pscr;":"𝓅","Psi;":"Ψ","psi;":"ψ","puncsp;":" ","Qfr;":"𝔔","qfr;":"𝔮","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","qprime;":"⁗","Qscr;":"𝒬","qscr;":"𝓆","quaternions;":"ℍ","quatint;":"⨖","quest;":"?","questeq;":"≟","QUOT;":'"',QUOT:'"',"quot;":'"',quot:'"',"rAarr;":"⇛","race;":"∽̱","Racute;":"Ŕ","racute;":"ŕ","radic;":"√","raemptyv;":"⦳","Rang;":"⟫","rang;":"⟩","rangd;":"⦒","range;":"⦥","rangle;":"⟩","raquo;":"»",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rarrap;":"⥵","rarrb;":"⇥","rarrbfs;":"⤠","rarrc;":"⤳","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","rarrsim;":"⥴","Rarrtl;":"⤖","rarrtl;":"↣","rarrw;":"↝","rAtail;":"⤜","ratail;":"⤚","ratio;":"∶","rationals;":"ℚ","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrace;":"}","rbrack;":"]","rbrke;":"⦌","rbrksld;":"⦎","rbrkslu;":"⦐","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rceil;":"⌉","rcub;":"}","Rcy;":"Р","rcy;":"р","rdca;":"⤷","rdldhar;":"⥩","rdquo;":"”","rdquor;":"”","rdsh;":"↳","Re;":"ℜ","real;":"ℜ","realine;":"ℛ","realpart;":"ℜ","reals;":"ℝ","rect;":"▭","REG;":"®",REG:"®","reg;":"®",reg:"®","ReverseElement;":"∋","ReverseEquilibrium;":"⇋","ReverseUpEquilibrium;":"⥯","rfisht;":"⥽","rfloor;":"⌋","Rfr;":"ℜ","rfr;":"𝔯","rHar;":"⥤","rhard;":"⇁","rharu;":"⇀","rharul;":"⥬","Rho;":"Ρ","rho;":"ρ","rhov;":"ϱ","RightAngleBracket;":"⟩","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightArrowBar;":"⇥","RightArrowLeftArrow;":"⇄","rightarrowtail;":"↣","RightCeiling;":"⌉","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVector;":"⇂","RightDownVectorBar;":"⥕","RightFloor;":"⌋","rightharpoondown;":"⇁","rightharpoonup;":"⇀","rightleftarrows;":"⇄","rightleftharpoons;":"⇌","rightrightarrows;":"⇉","rightsquigarrow;":"↝","RightTee;":"⊢","RightTeeArrow;":"↦","RightTeeVector;":"⥛","rightthreetimes;":"⋌","RightTriangle;":"⊳","RightTriangleBar;":"⧐","RightTriangleEqual;":"⊵","RightUpDownVector;":"⥏","RightUpTeeVector;":"⥜","RightUpVector;":"↾","RightUpVectorBar;":"⥔","RightVector;":"⇀","RightVectorBar;":"⥓","ring;":"˚","risingdotseq;":"≓","rlarr;":"⇄","rlhar;":"⇌","rlm;":"‏","rmoust;":"⎱","rmoustache;":"⎱","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","Ropf;":"ℝ","ropf;":"𝕣","roplus;":"⨮","rotimes;":"⨵","RoundImplies;":"⥰","rpar;":")","rpargt;":"⦔","rppolint;":"⨒","rrarr;":"⇉","Rrightarrow;":"⇛","rsaquo;":"›","Rscr;":"ℛ","rscr;":"𝓇","Rsh;":"↱","rsh;":"↱","rsqb;":"]","rsquo;":"’","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","rtri;":"▹","rtrie;":"⊵","rtrif;":"▸","rtriltri;":"⧎","RuleDelayed;":"⧴","ruluhar;":"⥨","rx;":"℞","Sacute;":"Ś","sacute;":"ś","sbquo;":"‚","Sc;":"⪼","sc;":"≻","scap;":"⪸","Scaron;":"Š","scaron;":"š","sccue;":"≽","scE;":"⪴","sce;":"⪰","Scedil;":"Ş","scedil;":"ş","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scnE;":"⪶","scnsim;":"⋩","scpolint;":"⨓","scsim;":"≿","Scy;":"С","scy;":"с","sdot;":"⋅","sdotb;":"⊡","sdote;":"⩦","searhk;":"⤥","seArr;":"⇘","searr;":"↘","searrow;":"↘","sect;":"§",sect:"§","semi;":";","seswar;":"⤩","setminus;":"∖","setmn;":"∖","sext;":"✶","Sfr;":"𝔖","sfr;":"𝔰","sfrown;":"⌢","sharp;":"♯","SHCHcy;":"Щ","shchcy;":"щ","SHcy;":"Ш","shcy;":"ш","ShortDownArrow;":"↓","ShortLeftArrow;":"←","shortmid;":"∣","shortparallel;":"∥","ShortRightArrow;":"→","ShortUpArrow;":"↑","shy;":"­",shy:"­","Sigma;":"Σ","sigma;":"σ","sigmaf;":"ς","sigmav;":"ς","sim;":"∼","simdot;":"⩪","sime;":"≃","simeq;":"≃","simg;":"⪞","simgE;":"⪠","siml;":"⪝","simlE;":"⪟","simne;":"≆","simplus;":"⨤","simrarr;":"⥲","slarr;":"←","SmallCircle;":"∘","smallsetminus;":"∖","smashp;":"⨳","smeparsl;":"⧤","smid;":"∣","smile;":"⌣","smt;":"⪪","smte;":"⪬","smtes;":"⪬︀","SOFTcy;":"Ь","softcy;":"ь","sol;":"/","solb;":"⧄","solbar;":"⌿","Sopf;":"𝕊","sopf;":"𝕤","spades;":"♠","spadesuit;":"♠","spar;":"∥","sqcap;":"⊓","sqcaps;":"⊓︀","sqcup;":"⊔","sqcups;":"⊔︀","Sqrt;":"√","sqsub;":"⊏","sqsube;":"⊑","sqsubset;":"⊏","sqsubseteq;":"⊑","sqsup;":"⊐","sqsupe;":"⊒","sqsupset;":"⊐","sqsupseteq;":"⊒","squ;":"□","Square;":"□","square;":"□","SquareIntersection;":"⊓","SquareSubset;":"⊏","SquareSubsetEqual;":"⊑","SquareSuperset;":"⊐","SquareSupersetEqual;":"⊒","SquareUnion;":"⊔","squarf;":"▪","squf;":"▪","srarr;":"→","Sscr;":"𝒮","sscr;":"𝓈","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","Star;":"⋆","star;":"☆","starf;":"★","straightepsilon;":"ϵ","straightphi;":"ϕ","strns;":"¯","Sub;":"⋐","sub;":"⊂","subdot;":"⪽","subE;":"⫅","sube;":"⊆","subedot;":"⫃","submult;":"⫁","subnE;":"⫋","subne;":"⊊","subplus;":"⪿","subrarr;":"⥹","Subset;":"⋐","subset;":"⊂","subseteq;":"⊆","subseteqq;":"⫅","SubsetEqual;":"⊆","subsetneq;":"⊊","subsetneqq;":"⫋","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succ;":"≻","succapprox;":"⪸","succcurlyeq;":"≽","Succeeds;":"≻","SucceedsEqual;":"⪰","SucceedsSlantEqual;":"≽","SucceedsTilde;":"≿","succeq;":"⪰","succnapprox;":"⪺","succneqq;":"⪶","succnsim;":"⋩","succsim;":"≿","SuchThat;":"∋","Sum;":"∑","sum;":"∑","sung;":"♪","Sup;":"⋑","sup;":"⊃","sup1;":"¹",sup1:"¹","sup2;":"²",sup2:"²","sup3;":"³",sup3:"³","supdot;":"⪾","supdsub;":"⫘","supE;":"⫆","supe;":"⊇","supedot;":"⫄","Superset;":"⊃","SupersetEqual;":"⊇","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supnE;":"⫌","supne;":"⊋","supplus;":"⫀","Supset;":"⋑","supset;":"⊃","supseteq;":"⊇","supseteqq;":"⫆","supsetneq;":"⊋","supsetneqq;":"⫌","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swArr;":"⇙","swarr;":"↙","swarrow;":"↙","swnwar;":"⤪","szlig;":"ß",szlig:"ß","Tab;":"\t","target;":"⌖","Tau;":"Τ","tau;":"τ","tbrk;":"⎴","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","Tcy;":"Т","tcy;":"т","tdot;":"⃛","telrec;":"⌕","Tfr;":"𝔗","tfr;":"𝔱","there4;":"∴","Therefore;":"∴","therefore;":"∴","Theta;":"Θ","theta;":"θ","thetasym;":"ϑ","thetav;":"ϑ","thickapprox;":"≈","thicksim;":"∼","ThickSpace;":"  ","thinsp;":" ","ThinSpace;":" ","thkap;":"≈","thksim;":"∼","THORN;":"Þ",THORN:"Þ","thorn;":"þ",thorn:"þ","Tilde;":"∼","tilde;":"˜","TildeEqual;":"≃","TildeFullEqual;":"≅","TildeTilde;":"≈","times;":"×",times:"×","timesb;":"⊠","timesbar;":"⨱","timesd;":"⨰","tint;":"∭","toea;":"⤨","top;":"⊤","topbot;":"⌶","topcir;":"⫱","Topf;":"𝕋","topf;":"𝕥","topfork;":"⫚","tosa;":"⤩","tprime;":"‴","TRADE;":"™","trade;":"™","triangle;":"▵","triangledown;":"▿","triangleleft;":"◃","trianglelefteq;":"⊴","triangleq;":"≜","triangleright;":"▹","trianglerighteq;":"⊵","tridot;":"◬","trie;":"≜","triminus;":"⨺","TripleDot;":"⃛","triplus;":"⨹","trisb;":"⧍","tritime;":"⨻","trpezium;":"⏢","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","TSHcy;":"Ћ","tshcy;":"ћ","Tstrok;":"Ŧ","tstrok;":"ŧ","twixt;":"≬","twoheadleftarrow;":"↞","twoheadrightarrow;":"↠","Uacute;":"Ú",Uacute:"Ú","uacute;":"ú",uacute:"ú","Uarr;":"↟","uArr;":"⇑","uarr;":"↑","Uarrocir;":"⥉","Ubrcy;":"Ў","ubrcy;":"ў","Ubreve;":"Ŭ","ubreve;":"ŭ","Ucirc;":"Û",Ucirc:"Û","ucirc;":"û",ucirc:"û","Ucy;":"У","ucy;":"у","udarr;":"⇅","Udblac;":"Ű","udblac;":"ű","udhar;":"⥮","ufisht;":"⥾","Ufr;":"𝔘","ufr;":"𝔲","Ugrave;":"Ù",Ugrave:"Ù","ugrave;":"ù",ugrave:"ù","uHar;":"⥣","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ulcorn;":"⌜","ulcorner;":"⌜","ulcrop;":"⌏","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","uml;":"¨",uml:"¨","UnderBar;":"_","UnderBrace;":"⏟","UnderBracket;":"⎵","UnderParenthesis;":"⏝","Union;":"⋃","UnionPlus;":"⊎","Uogon;":"Ų","uogon;":"ų","Uopf;":"𝕌","uopf;":"𝕦","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","UpArrowBar;":"⤒","UpArrowDownArrow;":"⇅","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","UpEquilibrium;":"⥮","upharpoonleft;":"↿","upharpoonright;":"↾","uplus;":"⊎","UpperLeftArrow;":"↖","UpperRightArrow;":"↗","Upsi;":"ϒ","upsi;":"υ","upsih;":"ϒ","Upsilon;":"Υ","upsilon;":"υ","UpTee;":"⊥","UpTeeArrow;":"↥","upuparrows;":"⇈","urcorn;":"⌝","urcorner;":"⌝","urcrop;":"⌎","Uring;":"Ů","uring;":"ů","urtri;":"◹","Uscr;":"𝒰","uscr;":"𝓊","utdot;":"⋰","Utilde;":"Ũ","utilde;":"ũ","utri;":"▵","utrif;":"▴","uuarr;":"⇈","Uuml;":"Ü",Uuml:"Ü","uuml;":"ü",uuml:"ü","uwangle;":"⦧","vangrt;":"⦜","varepsilon;":"ϵ","varkappa;":"ϰ","varnothing;":"∅","varphi;":"ϕ","varpi;":"ϖ","varpropto;":"∝","vArr;":"⇕","varr;":"↕","varrho;":"ϱ","varsigma;":"ς","varsubsetneq;":"⊊︀","varsubsetneqq;":"⫋︀","varsupsetneq;":"⊋︀","varsupsetneqq;":"⫌︀","vartheta;":"ϑ","vartriangleleft;":"⊲","vartriangleright;":"⊳","Vbar;":"⫫","vBar;":"⫨","vBarv;":"⫩","Vcy;":"В","vcy;":"в","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","Vdashl;":"⫦","Vee;":"⋁","vee;":"∨","veebar;":"⊻","veeeq;":"≚","vellip;":"⋮","Verbar;":"‖","verbar;":"|","Vert;":"‖","vert;":"|","VerticalBar;":"∣","VerticalLine;":"|","VerticalSeparator;":"❘","VerticalTilde;":"≀","VeryThinSpace;":" ","Vfr;":"𝔙","vfr;":"𝔳","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","Vopf;":"𝕍","vopf;":"𝕧","vprop;":"∝","vrtri;":"⊳","Vscr;":"𝒱","vscr;":"𝓋","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","vzigzag;":"⦚","Wcirc;":"Ŵ","wcirc;":"ŵ","wedbar;":"⩟","Wedge;":"⋀","wedge;":"∧","wedgeq;":"≙","weierp;":"℘","Wfr;":"𝔚","wfr;":"𝔴","Wopf;":"𝕎","wopf;":"𝕨","wp;":"℘","wr;":"≀","wreath;":"≀","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcirc;":"◯","xcup;":"⋃","xdtri;":"▽","Xfr;":"𝔛","xfr;":"𝔵","xhArr;":"⟺","xharr;":"⟷","Xi;":"Ξ","xi;":"ξ","xlArr;":"⟸","xlarr;":"⟵","xmap;":"⟼","xnis;":"⋻","xodot;":"⨀","Xopf;":"𝕏","xopf;":"𝕩","xoplus;":"⨁","xotime;":"⨂","xrArr;":"⟹","xrarr;":"⟶","Xscr;":"𝒳","xscr;":"𝓍","xsqcup;":"⨆","xuplus;":"⨄","xutri;":"△","xvee;":"⋁","xwedge;":"⋀","Yacute;":"Ý",Yacute:"Ý","yacute;":"ý",yacute:"ý","YAcy;":"Я","yacy;":"я","Ycirc;":"Ŷ","ycirc;":"ŷ","Ycy;":"Ы","ycy;":"ы","yen;":"¥",yen:"¥","Yfr;":"𝔜","yfr;":"𝔶","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ",yuml:"ÿ","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","Zcy;":"З","zcy;":"з","Zdot;":"Ż","zdot;":"ż","zeetrf;":"ℨ","ZeroWidthSpace;":"​","Zeta;":"Ζ","zeta;":"ζ","Zfr;":"ℨ","zfr;":"𝔷","ZHcy;":"Ж","zhcy;":"ж","zigrarr;":"⇝","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwj;":"‍","zwnj;":"‌"};function Ee(e,t){if(e.length<t.length)return!1;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!1;return!0}var Ae="a".charCodeAt(0),Re="z".charCodeAt(0),ze="A".charCodeAt(0),Ie="Z".charCodeAt(0),He="0".charCodeAt(0),Ue="9".charCodeAt(0);function Ce(e,t){var n=e.charCodeAt(t);return Ae<=n&&n<=Re||ze<=n&&n<=Ie||He<=n&&n<=Ue}var We=function(){function e(e,t){var n=this;this.id=e,this._tags=[],this._tagMap={},this._attributeMap={},this._valueSetMap={},this._tags=t.tags||[],this._globalAttributes=t.globalAttributes||[],this._tags.forEach((function(e){n._tagMap[e.name]=e,e.attributes&&e.attributes.forEach((function(e){n._attributeMap[e.name]=e}))})),this._globalAttributes.forEach((function(e){n._attributeMap[e.name]=e})),t.valueSets&&t.valueSets.forEach((function(e){n._valueSetMap[e.name]=e.values}))}return e.prototype.isApplicable=function(){return!0},e.prototype.getId=function(){return this.id},e.prototype.provideTags=function(){return this._tags},e.prototype.provideAttributes=function(e){var t=[],n=function(e){t.push(e)};return this._tagMap[e]&&this._tagMap[e].attributes.forEach((function(e){n(e)})),this._globalAttributes.forEach((function(e){n(e)})),t},e.prototype.provideValues=function(e,t){var n=this,i=[],r=function(e){e.forEach((function(e){e.name===t&&(e.values&&e.values.forEach((function(e){i.push(e)})),e.valueSet&&n._valueSetMap[e.valueSet]&&n._valueSetMap[e.valueSet].forEach((function(e){i.push(e)})))}))};return this._tagMap[e]?(r(this._tagMap[e].attributes),r(this._globalAttributes),i):[]},e}();function De(e,t){var n={kind:t?"markdown":"plaintext",value:""};if(e.description){var i=function(e){if(e)return"string"==typeof e?{kind:"markdown",value:e}:{kind:"markdown",value:e.value}}(e.description);i&&(n.value+=i.value)}return e.references&&e.references.length>0&&(n.value+="\n\n",n.value+=t?e.references.map((function(e){return"["+e.name+"]("+e.url+")"})).join(" | "):e.references.map((function(e){return e.name+": "+e.url})).join("\n")),n}var qe=[new We("html5",{version:1.1,tags:[{name:"html",description:{kind:"markdown",value:"The html element represents the root of an HTML document."},attributes:[{name:"manifest",description:{kind:"markdown",value:"Specifies the URI of a resource manifest indicating resources that should be cached locally. See [Using the application cache](https://developer.mozilla.org/en-US/docs/Web/HTML/Using_the_application_cache) for details."}},{name:"version",description:'Specifies the version of the HTML [Document Type Definition](https://developer.mozilla.org/en-US/docs/Glossary/DTD "Document Type Definition: In HTML, the doctype is the required "<!DOCTYPE html>" preamble found at the top of all documents. Its sole purpose is to prevent a browser from switching into so-called “quirks mode” when rendering a document; that is, the "<!DOCTYPE html>" doctype ensures that the browser makes a best-effort attempt at following the relevant specifications, rather than using a different rendering mode that is incompatible with some specifications.") that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.'},{name:"xmlns",description:'Specifies the XML Namespace of the document. Default value is `"http://www.w3.org/1999/xhtml"`. This is required in documents parsed with XML parsers, and optional in text/html documents.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/html"}]},{name:"head",description:{kind:"markdown",value:"The head element represents a collection of metadata for the Document."},attributes:[{name:"profile",description:"The URIs of one or more metadata profiles, separated by white space."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/head"}]},{name:"title",description:{kind:"markdown",value:"The title element represents the document's title or name. Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results. The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/title"}]},{name:"base",description:{kind:"markdown",value:"The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information."},attributes:[{name:"href",description:{kind:"markdown",value:"The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed."}},{name:"target",description:{kind:"markdown",value:"A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the result into a new unnamed browsing context.\n* `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n\nIf this attribute is specified, this element must come before any other elements with attributes whose values are URLs."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/base"}]},{name:"link",description:{kind:"markdown",value:"The link element allows authors to link their document to other resources."},attributes:[{name:"href",description:{kind:"markdown",value:'This attribute specifies the [URL](https://developer.mozilla.org/en-US/docs/Glossary/URL "URL: Uniform Resource Locator (URL) is a text string specifying where a resource can be found on the Internet.") of the linked resource. A URL can be absolute or relative.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") must be used when fetching the resource. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\n`anonymous`\n\nA cross-origin request (i.e. with an [`Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin "The Origin request header indicates where a fetch originates from. It doesn\'t include any path information, but only the server name. It is sent with CORS requests, as well as with POST requests. It is similar to the Referer header, but, unlike this header, it doesn\'t disclose the whole path.") HTTP header) is performed, but no credential is sent (i.e. no cookie, X.509 certificate, or HTTP Basic authentication). If the server does not give credentials to the origin site (by not setting the [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin "The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin.") HTTP header) the image will be tainted and its usage restricted.\n\n`use-credentials`\n\nA cross-origin request (i.e. with an `Origin` HTTP header) is performed along with a credential sent (i.e. a cookie, certificate, and/or HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through [`Access-Control-Allow-Credentials`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials "The Access-Control-Allow-Credentials response header tells browsers whether to expose the response to frontend JavaScript code when the request\'s credentials mode (Request.credentials) is "include".") HTTP header), the resource will be _tainted_ and its usage restricted.\n\nIf the attribute is not present, the resource is fetched without a [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") request (i.e. without sending the `Origin` HTTP header), preventing its non-tainted usage. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for additional information.'}},{name:"rel",description:{kind:"markdown",value:"This attribute names a relationship of the linked document to the current document. The attribute must be a space-separated list of the [link types values](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"media",description:{kind:"markdown",value:"This attribute specifies the media that the linked resource applies to. Its value must be a media type / [media query](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries). This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.\n\n**Notes:**\n\n* In HTML 4, this can only be a simple white-space-separated list of media description literals, i.e., [media types and groups](https://developer.mozilla.org/en-US/docs/Web/CSS/@media), where defined and allowed as values for this attribute, such as `print`, `screen`, `aural`, `braille`. HTML5 extended this to any kind of [media queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries), which are a superset of the allowed values of HTML 4.\n* Browsers not supporting [CSS3 Media Queries](https://developer.mozilla.org/en-US/docs/Web/CSS/Media_queries) won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4."}},{name:"hreflang",description:{kind:"markdown",value:"This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt). Use this attribute only if the [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute is present."}},{name:"type",description:{kind:"markdown",value:'This attribute is used to define the type of the content linked to. The value of the attribute should be a MIME type such as **text/html**, **text/css**, and so on. The common use of this attribute is to define the type of stylesheet being referenced (such as **text/css**), but given that CSS is the only stylesheet language used on the web, not only is it possible to omit the `type` attribute, but is actually now recommended practice. It is also used on `rel="preload"` link types, to make sure the browser only downloads file types that it supports.'}},{name:"sizes",description:{kind:"markdown",value:"This attribute defines the sizes of the icons for visual media contained in the resource. It must be present only if the [`rel`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-rel) contains a value of `icon` or a non-standard type such as Apple's `apple-touch-icon`. It may have the following values:\n\n* `any`, meaning that the icon can be scaled to any size as it is in a vector format, like `image/svg+xml`.\n* a white-space separated list of sizes, each in the format `_<width in pixels>_x_<height in pixels>_` or `_<width in pixels>_X_<height in pixels>_`. Each of these sizes must be contained in the resource.\n\n**Note:** Most icon formats are only able to store one single icon; therefore most of the time the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-sizes) contains only one entry. MS's ICO format does, as well as Apple's ICNS. ICO is more ubiquitous; you should definitely use it."}},{name:"as",description:'This attribute is only used when `rel="preload"` or `rel="prefetch"` has been set on the `<link>` element. It specifies the type of content being loaded by the `<link>`, which is necessary for content prioritization, request matching, application of correct [content security policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP), and setting of correct [`Accept`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept "The Accept request HTTP header advertises which content types, expressed as MIME types, the client is able to understand. Using content negotiation, the server then selects one of the proposals, uses it and informs the client of its choice with the Content-Type response header. Browsers set adequate values for this header depending on the context where the request is done: when fetching a CSS stylesheet a different value is set for the request than when fetching an image, video or a script.") request header.'},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:'**`auto`**: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the resource.\n\n**`high`**: Indicates to the browser that the resource is of **high** priority.\n\n**`low`**: Indicates to the browser that the resource is of **low** priority.\n\n**Note:** The `importance` attribute may only be used for the `<link>` element if `rel="preload"` or `rel="prefetch"` is present.'},{name:"integrity",description:"Contains inline metadata — a base64-encoded cryptographic hash of the resource (file) you’re telling the browser to fetch. The browser can use this to verify that the fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"referrerpolicy",description:'A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer` means that the [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` means that no [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior, if no policy is otherwise specified.\n* `origin` means that the referrer will be the origin of the page, which is roughly the scheme, the host, and the port.\n* `origin-when-cross-origin` means that navigating to other origins will be limited to the scheme, the host, and the port, while navigating on the same origin will include the referrer\'s path.\n* `unsafe-url` means that the referrer will include the origin and the path (but not the fragment, password, or username). This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins.'},{name:"title",description:'The `title` attribute has special semantics on the `<link>` element. When used on a `<link rel="stylesheet">` it defines a [preferred or an alternate stylesheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets). Incorrectly using it may [cause the stylesheet to be ignored](https://developer.mozilla.org/en-US/docs/Correctly_Using_Titles_With_External_Stylesheets).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/link"}]},{name:"meta",description:{kind:"markdown",value:"The meta element represents various kinds of metadata that cannot be expressed using the title, base, link, style, and script elements."},attributes:[{name:"name",description:{kind:"markdown",value:'This attribute defines the name of a piece of document-level metadata. It should not be set if one of the attributes [`itemprop`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-itemprop), [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) is also set.\n\nThis metadata name is associated with the value contained by the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute. The possible values for the name attribute are:\n\n* `application-name` which defines the name of the application running in the web page.\n \n **Note:**\n \n * Browsers may use this to identify the application. It is different from the [`<title>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title "The HTML Title element (<title>) defines the document\'s title that is shown in a browser\'s title bar or a page\'s tab.") element, which usually contain the application name, but may also contain information like the document name or a status.\n * Simple web pages shouldn\'t define an application-name.\n \n* `author` which defines the name of the document\'s author.\n* `description` which contains a short and accurate summary of the content of the page. Several browsers, like Firefox and Opera, use this as the default description of bookmarked pages.\n* `generator` which contains the identifier of the software that generated the page.\n* `keywords` which contains words relevant to the page\'s content separated by commas.\n* `referrer` which controls the [`Referer` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) attached to requests sent from the document:\n \n Values for the `content` attribute of `<meta name="referrer">`\n \n `no-referrer`\n \n Do not send a HTTP `Referrer` header.\n \n `origin`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the document.\n \n `no-referrer-when-downgrade`\n \n Send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) as a referrer to URLs as secure as the current page, (https→https), but does not send a referrer to less secure URLs (https→http). This is the default behaviour.\n \n `origin-when-cross-origin`\n \n Send the full URL (stripped of parameters) for same-origin requests, but only send the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) for other cases.\n \n `same-origin`\n \n A referrer will be sent for [same-site origins](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy), but cross-origin requests will contain no referrer information.\n \n `strict-origin`\n \n Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don\'t send it to a less secure destination (HTTPS->HTTP).\n \n `strict-origin-when-cross-origin`\n \n Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).\n \n `unsafe-URL`\n \n Send the full URL (stripped of parameters) for same-origin or cross-origin requests.\n \n **Notes:**\n \n * Some browsers support the deprecated values of `always`, `default`, and `never` for referrer.\n * Dynamically inserting `<meta name="referrer">` (with [`document.write`](https://developer.mozilla.org/en-US/docs/Web/API/Document/write) or [`appendChild`](https://developer.mozilla.org/en-US/docs/Web/API/Node/appendChild)) makes the referrer behaviour unpredictable.\n * When several conflicting policies are defined, the no-referrer policy is applied.\n \n\nThis attribute may also have a value taken from the extended list defined on [WHATWG Wiki MetaExtensions page](https://wiki.whatwg.org/wiki/MetaExtensions). Although none have been formally accepted yet, a few commonly used names are:\n\n* `creator` which defines the name of the creator of the document, such as an organization or institution. If there are more than one, several [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") elements should be used.\n* `googlebot`, a synonym of `robots`, is only followed by Googlebot (the indexing crawler for Google).\n* `publisher` which defines the name of the document\'s publisher.\n* `robots` which defines the behaviour that cooperative crawlers, or "robots", should use with the page. It is a comma-separated list of the values below:\n \n Values for the content of `<meta name="robots">`\n \n Value\n \n Description\n \n Used by\n \n `index`\n \n Allows the robot to index the page (default).\n \n All\n \n `noindex`\n \n Requests the robot to not index the page.\n \n All\n \n `follow`\n \n Allows the robot to follow the links on the page (default).\n \n All\n \n `nofollow`\n \n Requests the robot to not follow the links on the page.\n \n All\n \n `none`\n \n Equivalent to `noindex, nofollow`\n \n [Google](https://support.google.com/webmasters/answer/79812)\n \n `noodp`\n \n Prevents using the [Open Directory Project](https://www.dmoz.org/) description, if any, as the page description in search engine results.\n \n [Google](https://support.google.com/webmasters/answer/35624#nodmoz), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/meta-tags-robotstxt-yahoo-search-sln2213.html#cont5), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noarchive`\n \n Requests the search engine not to cache the page content.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Yahoo](https://help.yahoo.com/kb/search-for-desktop/SLN2213.html), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `nosnippet`\n \n Prevents displaying any description of the page in search engine results.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives), [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n `noimageindex`\n \n Requests this page not to appear as the referring page of an indexed image.\n \n [Google](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag#valid-indexing--serving-directives)\n \n `nocache`\n \n Synonym of `noarchive`.\n \n [Bing](https://www.bing.com/webmaster/help/which-robots-metatags-does-bing-support-5198d240)\n \n **Notes:**\n \n * Only cooperative robots follow these rules. Do not expect to prevent e-mail harvesters with them.\n * The robot still needs to access the page in order to read these rules. To prevent bandwidth consumption, use a _[robots.txt](https://developer.mozilla.org/en-US/docs/Glossary/robots.txt "robots.txt: Robots.txt is a file which is usually placed in the root of any website. It decides whether crawlers are permitted or forbidden access to the web site.")_ file.\n * If you want to remove a page, `noindex` will work, but only after the robot visits the page again. Ensure that the `robots.txt` file is not preventing revisits.\n * Some values are mutually exclusive, like `index` and `noindex`, or `follow` and `nofollow`. In these cases the robot\'s behaviour is undefined and may vary between them.\n * Some crawler robots, like Google, Yahoo and Bing, support the same values for the HTTP header `X-Robots-Tag`; this allows non-HTML documents like images to use these rules.\n \n* `slurp`, is a synonym of `robots`, but only for Slurp - the crawler for Yahoo Search.\n* `viewport`, which gives hints about the size of the initial size of the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/viewport "viewport: A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you\'re viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view."). Used by mobile devices only.\n \n Values for the content of `<meta name="viewport">`\n \n Value\n \n Possible subvalues\n \n Description\n \n `width`\n \n A positive integer number, or the text `device-width`\n \n Defines the pixel width of the viewport that you want the web site to be rendered at.\n \n `height`\n \n A positive integer, or the text `device-height`\n \n Defines the height of the viewport. Not used by any browser.\n \n `initial-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the ratio between the device width (`device-width` in portrait mode or `device-height` in landscape mode) and the viewport size.\n \n `maximum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the maximum amount to zoom in. It must be greater or equal to the `minimum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `minimum-scale`\n \n A positive number between `0.0` and `10.0`\n \n Defines the minimum zoom level. It must be smaller or equal to the `maximum-scale` or the behaviour is undefined. Browser settings can ignore this rule and iOS10+ ignores it by default.\n \n `user-scalable`\n \n `yes` or `no`\n \n If set to `no`, the user is not able to zoom in the webpage. The default is `yes`. Browser settings can ignore this rule, and iOS10+ ignores it by default.\n \n Specification\n \n Status\n \n Comment\n \n [CSS Device Adaptation \n The definition of \'<meta name="viewport">\' in that specification.](https://drafts.csswg.org/css-device-adapt/#viewport-meta)\n \n Working Draft\n \n Non-normatively describes the Viewport META element\n \n See also: [`@viewport`](https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport "The @viewport CSS at-rule lets you configure the viewport through which the document is viewed. It\'s primarily used for mobile devices, but is also used by desktop browsers that support features like "snap to edge" (such as Microsoft Edge).")\n \n **Notes:**\n \n * Though unstandardized, this declaration is respected by most mobile browsers due to de-facto dominance.\n * The default values may vary between devices and browsers.\n * To learn about this declaration in Firefox for Mobile, see [this article](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag "Mobile/Viewport meta tag").'}},{name:"http-equiv",description:{kind:"markdown",value:'Defines a pragma directive. The attribute is named `**http-equiv**(alent)` because all the allowed values are names of particular HTTP headers:\n\n* `"content-language"` \n Defines the default language of the page. It can be overridden by the [lang](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang) attribute on any element.\n \n **Warning:** Do not use this value, as it is obsolete. Prefer the `lang` attribute on the [`<html>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html "The HTML <html> element represents the root (top-level element) of an HTML document, so it is also referred to as the root element. All other elements must be descendants of this element.") element.\n \n* `"content-security-policy"` \n Allows page authors to define a [content policy](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/CSP_policy_directives) for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.\n* `"content-type"` \n Defines the [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type) of the document, followed by its character encoding. It follows the same syntax as the HTTP `content-type` entity-header field, but as it is inside a HTML page, most values other than `text/html` are impossible. Therefore the valid syntax for its `content` is the string \'`text/html`\' followed by a character set with the following syntax: \'`; charset=_IANAcharset_`\', where `IANAcharset` is the _preferred MIME name_ for a character set as [defined by the IANA.](https://www.iana.org/assignments/character-sets)\n \n **Warning:** Do not use this value, as it is obsolete. Use the [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute on the [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element.\n \n **Note:** As [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") can\'t change documents\' types in XHTML or HTML5\'s XHTML serialization, never set the MIME type to an XHTML MIME type with `<meta>`.\n \n* `"refresh"` \n This instruction specifies:\n * The number of seconds until the page should be reloaded - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer.\n * The number of seconds until the page should redirect to another - only if the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) attribute contains a positive integer followed by the string \'`;url=`\', and a valid URL.\n* `"set-cookie"` \n Defines a [cookie](https://developer.mozilla.org/en-US/docs/cookie) for the page. Its content must follow the syntax defined in the [IETF HTTP Cookie Specification](https://tools.ietf.org/html/draft-ietf-httpstate-cookie-14).\n \n **Warning:** Do not use this instruction, as it is obsolete. Use the HTTP header [`Set-Cookie`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) instead.'}},{name:"content",description:{kind:"markdown",value:"This attribute contains the value for the [`http-equiv`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-http-equiv) or [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-name) attribute, depending on which is used."}},{name:"charset",description:{kind:"markdown",value:'This attribute declares the page\'s character encoding. It must contain a [standard IANA MIME name for character encodings](https://www.iana.org/assignments/character-sets). Although the standard doesn\'t request a specific encoding, it suggests:\n\n* Authors are encouraged to use [`UTF-8`](https://developer.mozilla.org/en-US/docs/Glossary/UTF-8).\n* Authors should not use ASCII-incompatible encodings to avoid security risk: browsers not supporting them may interpret harmful content as HTML. This happens with the `JIS_C6226-1983`, `JIS_X0212-1990`, `HZ-GB-2312`, `JOHAB`, the ISO-2022 family and the EBCDIC family.\n\n**Note:** ASCII-incompatible encodings are those that don\'t map the 8-bit code points `0x20` to `0x7E` to the `0x0020` to `0x007E` Unicode code points)\n\n* Authors **must not** use `CESU-8`, `UTF-7`, `BOCU-1` and/or `SCSU` as [cross-site scripting](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting) attacks with these encodings have been demonstrated.\n* Authors should not use `UTF-32` because not all HTML5 encoding algorithms can distinguish it from `UTF-16`.\n\n**Notes:**\n\n* The declared character encoding must match the one the page was saved with to avoid garbled characters and security holes.\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element declaring the encoding must be inside the [`<head>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head "The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.") element and **within the first 1024 bytes** of the HTML as some browsers only look at those bytes before choosing an encoding.\n* This [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element is only one part of the [algorithm to determine a page\'s character set](https://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#encoding-sniffing-algorithm "Algorithm charset page"). The [`Content-Type` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) and any [Byte-Order Marks](https://developer.mozilla.org/en-US/docs/Glossary/Byte-Order_Mark "The definition of that term (Byte-Order Marks) has not been written yet; please consider contributing it!") override this element.\n* It is strongly recommended to define the character encoding. If a page\'s encoding is undefined, cross-scripting techniques are possible, such as the [`UTF-7` fallback cross-scripting technique](https://code.google.com/p/doctype-mirror/wiki/ArticleUtf7).\n* The [`<meta>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta "The HTML <meta> element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.") element with a `charset` attribute is a synonym for the pre-HTML5 `<meta http-equiv="Content-Type" content="text/html; charset=_IANAcharset_">`, where _`IANAcharset`_ contains the value of the equivalent [`charset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-charset) attribute. This syntax is still allowed, although no longer recommended.'}},{name:"scheme",description:"This attribute defines the scheme in which metadata is described. A scheme is a context leading to the correct interpretations of the [`content`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content) value, like a format.\n\n**Warning:** Do not use this value, as it is obsolete. There is no replacement as there was no real usage for it."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meta"}]},{name:"style",description:{kind:"markdown",value:"The style element allows authors to embed style information in their documents. The style element is one of several inputs to the styling processing model. The element does not represent content for the user."},attributes:[{name:"media",description:{kind:"markdown",value:"This attribute defines which media the style should be applied to. Its value is a [media query](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries), which defaults to `all` if the attribute is missing."}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) used to whitelist inline styles in a [style-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource’s policy is otherwise trivial."}},{name:"type",description:{kind:"markdown",value:"This attribute defines the styling language as a MIME type (charset should not be specified). This attribute is optional and defaults to `text/css` if it is not specified — there is very little reason to include this in modern web documents."}},{name:"scoped",valueSet:"v"},{name:"title",description:"This attribute specifies [alternative style sheet](https://developer.mozilla.org/en-US/docs/Web/CSS/Alternative_style_sheets) sets."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/style"}]},{name:"body",description:{kind:"markdown",value:"The body element represents the content of the document."},attributes:[{name:"onafterprint",description:{kind:"markdown",value:"Function to call after the user has printed the document."}},{name:"onbeforeprint",description:{kind:"markdown",value:"Function to call when the user requests printing of the document."}},{name:"onbeforeunload",description:{kind:"markdown",value:"Function to call when the document is about to be unloaded."}},{name:"onhashchange",description:{kind:"markdown",value:"Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed."}},{name:"onlanguagechange",description:{kind:"markdown",value:"Function to call when the preferred languages changed."}},{name:"onmessage",description:{kind:"markdown",value:"Function to call when the document has received a message."}},{name:"onoffline",description:{kind:"markdown",value:"Function to call when network communication has failed."}},{name:"ononline",description:{kind:"markdown",value:"Function to call when network communication has been restored."}},{name:"onpagehide"},{name:"onpageshow"},{name:"onpopstate",description:{kind:"markdown",value:"Function to call when the user has navigated session history."}},{name:"onstorage",description:{kind:"markdown",value:"Function to call when the storage area has changed."}},{name:"onunload",description:{kind:"markdown",value:"Function to call when the document is going away."}},{name:"alink",description:'Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._'},{name:"background",description:'URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._'},{name:"bgcolor",description:'Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._'},{name:"bottommargin",description:'The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"leftmargin",description:'The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"link",description:'Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._'},{name:"onblur",description:"Function to call when the document loses focus."},{name:"onerror",description:"Function to call when the document fails to load properly."},{name:"onfocus",description:"Function to call when the document receives focus."},{name:"onload",description:"Function to call when the document has finished loading."},{name:"onredo",description:"Function to call when the user has moved forward in undo transaction history."},{name:"onresize",description:"Function to call when the document has been resized."},{name:"onundo",description:"Function to call when the user has moved backward in undo transaction history."},{name:"rightmargin",description:'The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"text",description:'Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property on the element instead._'},{name:"topmargin",description:'The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._'},{name:"vlink",description:'Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element\'s text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/body"}]},{name:"article",description:{kind:"markdown",value:"The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1–h6 element) as a child of the article element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/article"}]},{name:"section",description:{kind:"markdown",value:"The section element represents a generic section of a document or application. A section, in this context, is a thematic grouping of content. Each section should be identified, typically by including a heading ( h1- h6 element) as a child of the section element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/section"}]},{name:"nav",description:{kind:"markdown",value:"The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/nav"}]},{name:"aside",description:{kind:"markdown",value:"The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/aside"}]},{name:"h1",description:{kind:"markdown",value:"The h1 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h2",description:{kind:"markdown",value:"The h2 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h3",description:{kind:"markdown",value:"The h3 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h4",description:{kind:"markdown",value:"The h4 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h5",description:{kind:"markdown",value:"The h5 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"h6",description:{kind:"markdown",value:"The h6 element represents a section heading."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements"}]},{name:"header",description:{kind:"markdown",value:"The header element represents introductory content for its nearest ancestor sectioning content or sectioning root element. A header typically contains a group of introductory or navigational aids. When the nearest ancestor sectioning content or sectioning root element is the body element, then it applies to the whole page."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/header"}]},{name:"footer",description:{kind:"markdown",value:"The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/footer"}]},{name:"address",description:{kind:"markdown",value:"The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/address"}]},{name:"p",description:{kind:"markdown",value:"The p element represents a paragraph."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/p"}]},{name:"hr",description:{kind:"markdown",value:"The hr element represents a paragraph-level thematic break, e.g. a scene change in a story, or a transition to another topic within a section of a reference book."},attributes:[{name:"align",description:"Sets the alignment of the rule on the page. If no value is specified, the default value is `left`."},{name:"color",description:"Sets the color of the rule through color name or hexadecimal value."},{name:"noshade",description:"Sets the rule to have no shading."},{name:"size",description:"Sets the height, in pixels, of the rule."},{name:"width",description:"Sets the length of the rule on the page through a pixel or percentage value."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/hr"}]},{name:"pre",description:{kind:"markdown",value:"The pre element represents a block of preformatted text, in which structure is represented by typographic conventions rather than by elements."},attributes:[{name:"cols",description:'Contains the _preferred_ count of characters that a line should have. It was a non-standard synonym of [`width`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre#attr-width). To achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"width",description:'Contains the _preferred_ count of characters that a line should have. Though technically still implemented, this attribute has no visual effect; to achieve such an effect, use CSS [`width`](https://developer.mozilla.org/en-US/docs/Web/CSS/width "The width CSS property sets an element\'s width. By default it sets the width of the content area, but if box-sizing is set to border-box, it sets the width of the border area.") instead.'},{name:"wrap",description:'Is a _hint_ indicating how the overflow must happen. In modern browser this hint is ignored and no visual effect results in its present; to achieve such an effect, use CSS [`white-space`](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space "The white-space CSS property sets how white space inside an element is handled.") instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/pre"}]},{name:"blockquote",description:{kind:"markdown",value:"The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/blockquote"}]},{name:"ol",description:{kind:"markdown",value:"The ol element represents a list of items, where the items have been intentionally ordered, such that changing the order would change the meaning of the document."},attributes:[{name:"reversed",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute specifies that the items of the list are specified in reversed order."}},{name:"start",description:{kind:"markdown",value:'This integer attribute specifies the start value for numbering the individual list items. Although the ordering type of list elements might be Roman numerals, such as XXXI, or letters, the value of start is always represented as a number. To start numbering elements from the letter "C", use `<ol start="3">`.\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.'}},{name:"type",valueSet:"lt",description:{kind:"markdown",value:"Indicates the numbering type:\n\n* `'a'` indicates lowercase letters,\n* `'A'` indicates uppercase letters,\n* `'i'` indicates lowercase Roman numerals,\n* `'I'` indicates uppercase Roman numerals,\n* and `'1'` indicates numbers (default).\n\nThe type set is used for the entire list unless a different [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li#attr-type) attribute is used within an enclosed [`<li>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li \"The HTML <li> element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.\") element.\n\n**Note:** This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\nUnless the value of the list number matters (e.g. in legal or technical documents where items are to be referenced by their number/letter), the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type \"The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.\") property should be used instead."}},{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Warning:** Do not use this attribute, as it has been deprecated: the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give an effect similar to the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [`line-height`](https://developer.mozilla.org/en-US/docs/Web/CSS/line-height "The line-height CSS property sets the amount of space used for lines, such as in text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.") can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ol"}]},{name:"ul",description:{kind:"markdown",value:"The ul element represents a list of items, where the order of the items is not important — that is, where changing the order would not materially change the meaning of the document."},attributes:[{name:"compact",description:'This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent and it doesn\'t work in all browsers.\n\n**Usage note: **Do not use this attribute, as it has been deprecated: the [`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To give a similar effect as the `compact` attribute, the [CSS](https://developer.mozilla.org/en-US/docs/CSS) property [line-height](https://developer.mozilla.org/en-US/docs/CSS/line-height) can be used with a value of `80%`.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ul"}]},{name:"li",description:{kind:"markdown",value:"The li element represents a list item. If its parent element is an ol, ul, or menu element, then the element is an item of the parent element's list, as defined for those elements. Otherwise, the list item has no defined list-related relationship to any other li element."},attributes:[{name:"value",description:{kind:"markdown",value:'This integer attribute indicates the current ordinal value of the list item as defined by the [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element. The only allowed value for this attribute is a number, even if the list is displayed with Roman numerals or letters. List items that follow this one continue numbering from the value set. The **value** attribute has no meaning for unordered lists ([`<ul>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul "The HTML <ul> element represents an unordered list of items, typically rendered as a bulleted list.")) or for menus ([`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.")).\n\n**Note**: This attribute was deprecated in HTML4, but reintroduced in HTML5.\n\n**Note:** Prior to Gecko 9.0, negative values were incorrectly converted to 0. Starting in Gecko 9.0 all integer values are correctly parsed.'}},{name:"type",description:'This character attribute indicates the numbering type:\n\n* `a`: lowercase letters\n* `A`: uppercase letters\n* `i`: lowercase Roman numerals\n* `I`: uppercase Roman numerals\n* `1`: numbers\n\nThis type overrides the one used by its parent [`<ol>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol "The HTML <ol> element represents an ordered list of items, typically rendered as a numbered list.") element, if any.\n\n**Usage note:** This attribute has been deprecated: use the CSS [`list-style-type`](https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type "The list-style-type CSS property sets the marker (such as a disc, character, or custom counter style) of a list item element.") property instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/li"}]},{name:"dl",description:{kind:"markdown",value:"The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dl"}]},{name:"dt",description:{kind:"markdown",value:"The dt element represents the term, or name, part of a term-description group in a description list (dl element)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dt"}]},{name:"dd",description:{kind:"markdown",value:"The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element)."},attributes:[{name:"nowrap",description:"If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dd"}]},{name:"figure",description:{kind:"markdown",value:"The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figure"}]},{name:"figcaption",description:{kind:"markdown",value:"The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/figcaption"}]},{name:"main",description:{kind:"markdown",value:"The main element represents the main content of the body of a document or application. The main content area consists of content that is directly related to or expands upon the central topic of a document or central functionality of an application."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/main"}]},{name:"div",description:{kind:"markdown",value:"The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/div"}]},{name:"a",description:{kind:"markdown",value:"If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents."},attributes:[{name:"href",description:{kind:"markdown",value:"Contains a URL or a URL fragment that the hyperlink points to."}},{name:"target",description:{kind:"markdown",value:'Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:\n\n* `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.\n* `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.\n* `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.\n* `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.\n\n**Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.\n\n**Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page\'s performance may suffer. To avoid this use `rel="noopener"`.'}},{name:"download",description:{kind:"markdown",value:"This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.\n\n**Notes:**\n\n* This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).\n* Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.\n* If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.\n* If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute."}},{name:"ping",description:{kind:"markdown",value:'Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.'}},{name:"rel",description:{kind:"markdown",value:"Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types)."}},{name:"hreflang",description:{kind:"markdown",value:'This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").'}},{name:"type",description:{kind:"markdown",value:'Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.'}},{name:"referrerpolicy",description:"Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:\n\n* `'no-referrer'` means the `Referer:` header will not be sent.\n* `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.\n* `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.\n* `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.\n* `'strict-origin-when-cross-origin'`\n* `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/a"}]},{name:"em",description:{kind:"markdown",value:"The em element represents stress emphasis of its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/em"}]},{name:"strong",description:{kind:"markdown",value:"The strong element represents strong importance, seriousness, or urgency for its contents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/strong"}]},{name:"small",description:{kind:"markdown",value:"The small element represents side comments such as small print."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/small"}]},{name:"s",description:{kind:"markdown",value:"The s element represents contents that are no longer accurate or no longer relevant."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/s"}]},{name:"cite",description:{kind:"markdown",value:"The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/cite"}]},{name:"q",description:{kind:"markdown",value:"The q element represents some phrasing content quoted from another source."},attributes:[{name:"cite",description:{kind:"markdown",value:"The value of this attribute is a URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/q"}]},{name:"dfn",description:{kind:"markdown",value:"The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dfn"}]},{name:"abbr",description:{kind:"markdown",value:"The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/abbr"}]},{name:"ruby",description:{kind:"markdown",value:"The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations. In Japanese, this form of typography is also known as furigana. Ruby text can appear on either side, and sometimes both sides, of the base text, and it is possible to control its position using CSS. A more complete introduction to ruby can be found in the Use Cases & Exploratory Approaches for Ruby Markup document as well as in CSS Ruby Module Level 1. [RUBY-UC] [CSSRUBY]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ruby"}]},{name:"rb",description:{kind:"markdown",value:"The rb element marks the base text component of a ruby annotation. When it is the child of a ruby element, it doesn't represent anything itself, but its parent ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rb"}]},{name:"rt",description:{kind:"markdown",value:"The rt element marks the ruby text component of a ruby annotation. When it is the child of a ruby element or of an rtc element that is itself the child of a ruby element, it doesn't represent anything itself, but its ancestor ruby element uses it as part of determining what it represents."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rt"}]},{name:"rp",description:{kind:"markdown",value:"The rp element is used to provide fallback text to be shown by user agents that don't support ruby annotations. One widespread convention is to provide parentheses around the ruby text component of a ruby annotation."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/rp"}]},{name:"time",description:{kind:"markdown",value:"The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below."},attributes:[{name:"datetime",description:{kind:"markdown",value:"This attribute indicates the time and/or date of the element and must be in one of the formats described below."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/time"}]},{name:"code",description:{kind:"markdown",value:"The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/code"}]},{name:"var",description:{kind:"markdown",value:"The var element represents a variable. This could be an actual variable in a mathematical expression or programming context, an identifier representing a constant, a symbol identifying a physical quantity, a function parameter, or just be a term used as a placeholder in prose."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/var"}]},{name:"samp",description:{kind:"markdown",value:"The samp element represents sample or quoted output from another program or computing system."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/samp"}]},{name:"kbd",description:{kind:"markdown",value:"The kbd element represents user input (typically keyboard input, although it may also be used to represent other input, such as voice commands)."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/kbd"}]},{name:"sub",description:{kind:"markdown",value:"The sub element represents a subscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sub"}]},{name:"sup",description:{kind:"markdown",value:"The sup element represents a superscript."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/sup"}]},{name:"i",description:{kind:"markdown",value:"The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/i"}]},{name:"b",description:{kind:"markdown",value:"The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/b"}]},{name:"u",description:{kind:"markdown",value:"The u element represents a span of text with an unarticulated, though explicitly rendered, non-textual annotation, such as labeling the text as being a proper name in Chinese text (a Chinese proper name mark), or labeling the text as being misspelt."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/u"}]},{name:"mark",description:{kind:"markdown",value:"The mark element represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. When used in a quotation or other block of text referred to from the prose, it indicates a highlight that was not originally present but which has been added to bring the reader's attention to a part of the text that might not have been considered important by the original author when the block was originally written, but which is now under previously unexpected scrutiny. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its likely relevance to the user's current activity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/mark"}]},{name:"bdi",description:{kind:"markdown",value:"The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]"},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdi"}]},{name:"bdo",description:{kind:"markdown",value:"The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]"},attributes:[{name:"dir",description:"The direction in which text should be rendered in this element's contents. Possible values are:\n\n* `ltr`: Indicates that the text should go in a left-to-right direction.\n* `rtl`: Indicates that the text should go in a right-to-left direction."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/bdo"}]},{name:"span",description:{kind:"markdown",value:"The span element doesn't mean anything on its own, but can be useful when used together with the global attributes, e.g. class, lang, or dir. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/span"}]},{name:"br",description:{kind:"markdown",value:"The br element represents a line break."},attributes:[{name:"clear",description:"Indicates where to begin the next line after the break."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/br"}]},{name:"wbr",description:{kind:"markdown",value:"The wbr element represents a line break opportunity."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/wbr"}]},{name:"ins",description:{kind:"markdown",value:"The ins element represents an addition to the document."},attributes:[{name:"cite",description:"This attribute defines the URI of a resource that explains the change, such as a link to meeting minutes or a ticket in a troubleshooting system."},{name:"datetime",description:'This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/ins"}]},{name:"del",description:{kind:"markdown",value:"The del element represents a removal from the document."},attributes:[{name:"cite",description:{kind:"markdown",value:"A URI for a resource that explains the change (for example, meeting minutes)."}},{name:"datetime",description:{kind:"markdown",value:'This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/del"}]},{name:"picture",description:{kind:"markdown",value:"The picture element is a container which provides multiple sources to its contained img element to allow authors to declaratively control or give hints to the user agent about which image resource to use, based on the screen pixel density, viewport size, image format, and other factors. It represents its children."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/picture"}]},{name:"img",description:{kind:"markdown",value:"An img element represents an image."},attributes:[{name:"alt",description:{kind:"markdown",value:'This attribute defines an alternative text description of the image.\n\n**Note:** Browsers do not always display the image referenced by the element. This is the case for non-graphical browsers (including those used by people with visual impairments), if the user chooses not to display images, or if the browser cannot display the image because it is invalid or an [unsupported type](#Supported_image_formats). In these cases, the browser may replace the image with the text defined in this element\'s `alt` attribute. You should, for these reasons and others, provide a useful value for `alt` whenever possible.\n\n**Note:** Omitting this attribute altogether indicates that the image is a key part of the content, and no textual equivalent is available. Setting this attribute to an empty string (`alt=""`) indicates that this image is _not_ a key part of the content (decorative), and that non-visual browsers may omit it from rendering.'}},{name:"src",description:{kind:"markdown",value:"The image URL. This attribute is mandatory for the `<img>` element. On browsers supporting `srcset`, `src` is treated like a candidate image with a pixel density descriptor `1x` unless an image with this pixel density descriptor is already defined in `srcset,` or unless `srcset` contains '`w`' descriptors."}},{name:"srcset",description:{kind:"markdown",value:"A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use. Each string is composed of:\n\n1. a URL to an image,\n2. optionally, whitespace followed by one of:\n * A width descriptor, or a positive integer directly followed by '`w`'. The width descriptor is divided by the source size given in the `sizes` attribute to calculate the effective pixel density.\n * A pixel density descriptor, which is a positive floating point number directly followed by '`x`'.\n\nIf no descriptor is specified, the source is assigned the default descriptor: `1x`.\n\nIt is incorrect to mix width descriptors and pixel density descriptors in the same `srcset` attribute. Duplicate descriptors (for instance, two sources in the same `srcset` which are both described with '`2x`') are also invalid.\n\nThe user agent selects any one of the available sources at its discretion. This provides them with significant leeway to tailor their selection based on things like user preferences or bandwidth conditions. See our [Responsive images](https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images) tutorial for an example."}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being "[tainted](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas)." The allowed values are:'}},{name:"usemap",description:{kind:"markdown",value:'The partial URL (starting with \'#\') of an [image map](https://developer.mozilla.org/en-US/docs/HTML/Element/map) associated with the element.\n\n**Note:** You cannot use this attribute if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") element.'}},{name:"ismap",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.\n\n**Note:** This attribute is allowed only if the `<img>` element is a descendant of an [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL.") element with a valid [`href`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-href) attribute.'}},{name:"width",description:{kind:"markdown",value:"The intrinsic width of the image in pixels."}},{name:"height",description:{kind:"markdown",value:"The intrinsic height of the image in pixels."}},{name:"decoding",description:"Provides an image decoding hint to the browser. The allowed values are:"},{name:"decoding",description:"`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."},{name:"importance",description:"Indicates the relative importance of the resource. Priority hints are delegated using the values:"},{name:"importance",description:"`auto`: Indicates **no preference**. The browser may use its own heuristics to decide the priority of the image.\n\n`high`: Indicates to the browser that the image is of **high** priority.\n\n`low`: Indicates to the browser that the image is of **low** priority."},{name:"intrinsicsize",description:"This attribute tells the browser to ignore the actual intrinsic size of the image and pretend it’s the size specified in the attribute. Specifically, the image would raster at these dimensions and `naturalWidth`/`naturalHeight` on images would return the values specified in this attribute. [Explainer](https://github.com/ojanvafai/intrinsicsize-attribute), [examples](https://googlechrome.github.io/samples/intrinsic-size/index.html)"},{name:"referrerpolicy",description:"A string indicating which referrer to use when fetching the resource:\n\n* `no-referrer:` The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer \"The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.\") header will not be sent.\n* `no-referrer-when-downgrade:` No `Referer` header will be sent when navigating to an origin without TLS (HTTPS). This is a user agent’s default behavior if no policy is otherwise specified.\n* `origin:` The `Referer` header will include the page of origin's scheme, the host, and the port.\n* `origin-when-cross-origin:` Navigating to other origins will limit the included referral data to the scheme, the host and the port, while navigating from the same origin will include the referrer's full path.\n* `unsafe-url:` The `Referer` header will include the origin and the path, but not the fragment, password, or username. This case is unsafe because it can leak origins and paths from TLS-protected resources to insecure origins."},{name:"sizes",description:"A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:\n\n1. a media condition. This must be omitted for the last item.\n2. a source size value.\n\nSource size values specify the intended display size of the image. User agents use the current source size to select one of the sources supplied by the `srcset` attribute, when those sources are described using width ('`w`') descriptors. The selected source size affects the intrinsic size of the image (the image’s display size if no CSS styling is applied). If the `srcset` attribute is absent, or contains no values with a width (`w`) descriptor, then the `sizes` attribute has no effect."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/img"}]},{name:"iframe",description:{kind:"markdown",value:"The iframe element represents a nested browsing context."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the page to embed. Use a value of `about:blank` to embed an empty page that conforms to the [same-origin policy](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Inherited_origins). Also note that programatically removing an `<iframe>`\'s src attribute (e.g. via [`Element.removeAttribute()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute "The Element method removeAttribute() removes the attribute with the specified name from the element.")) causes `about:blank` to be loaded in the frame in Firefox (from version 65), Chromium-based browsers, and Safari/iOS.'}},{name:"srcdoc",description:{kind:"markdown",value:"Inline HTML to embed, overriding the `src` attribute. If a browser does not support the `srcdoc` attribute, it will fall back to the URL in the `src` attribute."}},{name:"name",description:{kind:"markdown",value:'A targetable name for the embedded browsing context. This can be used in the `target` attribute of the [`<a>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a "The HTML <a> element (or anchor element) creates a hyperlink to other web pages, files, locations within the same page, email addresses, or any other URL."), [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server."), or [`<base>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base "The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.") elements; the `formtarget` attribute of the [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") or [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") elements; or the `windowName` parameter in the [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open "The Window interface\'s open() method loads the specified resource into the browsing context (window, <iframe> or tab) with the specified name. If the name doesn\'t exist, then a new window is opened and the specified resource is loaded into its browsing context.") method.'}},{name:"sandbox",valueSet:"sb",description:{kind:"markdown",value:'Applies extra restrictions to the content in the frame. The value of the attribute can either be empty to apply all restrictions, or space-separated tokens to lift particular restrictions:\n\n* `allow-forms`: Allows the resource to submit forms. If this keyword is not used, form submission is blocked.\n* `allow-modals`: Lets the resource [open modal windows](https://html.spec.whatwg.org/multipage/origin.html#sandboxed-modals-flag).\n* `allow-orientation-lock`: Lets the resource [lock the screen orientation](https://developer.mozilla.org/en-US/docs/Web/API/Screen/lockOrientation).\n* `allow-pointer-lock`: Lets the resource use the [Pointer Lock API](https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock).\n* `allow-popups`: Allows popups (such as `window.open()`, `target="_blank"`, or `showModalDialog()`). If this keyword is not used, the popup will silently fail to open.\n* `allow-popups-to-escape-sandbox`: Lets the sandboxed document open new windows without those windows inheriting the sandboxing. For example, this can safely sandbox an advertisement without forcing the same restrictions upon the page the ad links to.\n* `allow-presentation`: Lets the resource start a [presentation session](https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest).\n* `allow-same-origin`: If this token is not used, the resource is treated as being from a special origin that always fails the [same-origin policy](https://developer.mozilla.org/en-US/docs/Glossary/same-origin_policy "same-origin policy: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin.").\n* `allow-scripts`: Lets the resource run scripts (but not create popup windows).\n* `allow-storage-access-by-user-activation` : Lets the resource request access to the parent\'s storage capabilities with the [Storage Access API](https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API).\n* `allow-top-navigation`: Lets the resource navigate the top-level browsing context (the one named `_top`).\n* `allow-top-navigation-by-user-activation`: Lets the resource navigate the top-level browsing context, but only if initiated by a user gesture.\n\n**Notes about sandboxing:**\n\n* When the embedded document has the same origin as the embedding page, it is **strongly discouraged** to use both `allow-scripts` and `allow-same-origin`, as that lets the embedded document remove the `sandbox` attribute — making it no more secure than not using the `sandbox` attribute at all.\n* Sandboxing is useless if the attacker can display content outside a sandboxed `iframe` — such as if the viewer opens the frame in a new tab. Such content should be also served from a _separate origin_ to limit potential damage.\n* The `sandbox` attribute is unsupported in Internet Explorer 9 and earlier.'}},{name:"seamless",valueSet:"v"},{name:"allowfullscreen",valueSet:"v",description:{kind:"markdown",value:'Set to `true` if the `<iframe>` can activate fullscreen mode by calling the [`requestFullscreen()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen "The Element.requestFullscreen() method issues an asynchronous request to make the element be displayed in full-screen mode.") method.'}},{name:"width",description:{kind:"markdown",value:"The width of the frame in CSS pixels. Default is `300`."}},{name:"height",description:{kind:"markdown",value:"The height of the frame in CSS pixels. Default is `150`."}},{name:"allow",description:"Specifies a [feature policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy) for the `<iframe>`."},{name:"allowpaymentrequest",description:"Set to `true` if a cross-origin `<iframe>` should be allowed to invoke the [Payment Request API](https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API)."},{name:"allowpaymentrequest",description:'This attribute is considered a legacy attribute and redefined as `allow="payment"`.'},{name:"csp",description:'A [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) enforced for the embedded resource. See [`HTMLIFrameElement.csp`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/csp "The csp property of the HTMLIFrameElement interface specifies the Content Security Policy that an embedded document must agree to enforce upon itself.") for details.'},{name:"importance",description:"The download priority of the resource in the `<iframe>`'s `src` attribute. Allowed values:\n\n`auto` (default)\n\nNo preference. The browser uses its own heuristics to decide the priority of the resource.\n\n`high`\n\nThe resource should be downloaded before other lower-priority page resources.\n\n`low`\n\nThe resource should be downloaded after other higher-priority page resources."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the frame\'s resource:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (HTTPS→HTTPS), but don\'t send it to a less secure destination (HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, only send the origin when the protocol security level stays the same (HTTPS→HTTPS), and send no header to a less secure destination (HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/iframe"}]},{name:"embed",description:{kind:"markdown",value:"The embed element provides an integration point for an external (typically non-HTML) application or interactive content."},attributes:[{name:"src",description:{kind:"markdown",value:"The URL of the resource being embedded."}},{name:"type",description:{kind:"markdown",value:"The MIME type to use to select the plug-in to instantiate."}},{name:"width",description:{kind:"markdown",value:"The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}},{name:"height",description:{kind:"markdown",value:"The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/embed"}]},{name:"object",description:{kind:"markdown",value:"The object element can represent an external resource, which, depending on the type of the resource, will either be treated as an image, as a nested browsing context, or as an external resource to be processed by a plugin."},attributes:[{name:"data",description:{kind:"markdown",value:"The address of the resource as a valid URL. At least one of **data** and **type** must be defined."}},{name:"type",description:{kind:"markdown",value:"The [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource specified by **data**. At least one of **data** and **type** must be defined."}},{name:"typemustmatch",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates if the **type** attribute and the actual [content type](https://developer.mozilla.org/en-US/docs/Glossary/Content_type) of the resource must match to be used."}},{name:"name",description:{kind:"markdown",value:"The name of valid browsing context (HTML5), or the name of the control (HTML 4)."}},{name:"usemap",description:{kind:"markdown",value:"A hash-name reference to a [`<map>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map \"The HTML <map> element is used with <area> elements to define an image map (a clickable link area).\") element; that is a '#' followed by the value of a [`name`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map#attr-name) of a map element."}},{name:"form",description:{kind:"markdown",value:'The form element, if any, that the object element is associated with (its _form owner_). The value of the attribute must be an ID of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document.'}},{name:"width",description:{kind:"markdown",value:"The width of the display resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"height",description:{kind:"markdown",value:"The height of the displayed resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). -- (Absolute values only. [NO percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes))"}},{name:"archive",description:"A space-separated list of URIs for archives of resources for the object."},{name:"border",description:"The width of a border around the control, in pixels."},{name:"classid",description:"The URI of the object's implementation. It can be used together with, or in place of, the **data** attribute."},{name:"codebase",description:"The base path used to resolve relative URIs specified by **classid**, **data**, or **archive**. If not specified, the default is the base URI of the current document."},{name:"codetype",description:"The content type of the data specified by **classid**."},{name:"declare",description:"The presence of this Boolean attribute makes this element a declaration only. The object must be instantiated by a subsequent `<object>` element. In HTML5, repeat the <object> element completely each that that the resource is reused."},{name:"standby",description:"A message that the browser can show while loading the object's implementation and data."},{name:"tabindex",description:"The position of the element in the tabbing navigation order for the current document."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/object"}]},{name:"param",description:{kind:"markdown",value:"The param element defines parameters for plugins invoked by object elements. It does not represent anything on its own."},attributes:[{name:"name",description:{kind:"markdown",value:"Name of the parameter."}},{name:"value",description:{kind:"markdown",value:"Specifies the value of the parameter."}},{name:"type",description:'Only used if the `valuetype` is set to "ref". Specifies the MIME type of values found at the URI specified by value.'},{name:"valuetype",description:'Specifies the type of the `value` attribute. Possible values are:\n\n* data: Default value. The value is passed to the object\'s implementation as a string.\n* ref: The value is a URI to a resource where run-time values are stored.\n* object: An ID of another [`<object>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object "The HTML <object> element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.") in the same document.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/param"}]},{name:"video",description:{kind:"markdown",value:"A video element is used for playing videos or movies, and audio files with captions."},attributes:[{name:"src"},{name:"crossorigin",valueSet:"xo"},{name:"poster"},{name:"preload",valueSet:"pl"},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute; if specified, the video automatically begins to play back as soon as it can do so without stopping to finish loading the data."}},{name:"mediagroup"},{name:"loop",valueSet:"v"},{name:"muted",valueSet:"v"},{name:"controls",valueSet:"v"},{name:"width"},{name:"height"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/video"}]},{name:"audio",description:{kind:"markdown",value:"An audio element represents a sound or audio stream."},attributes:[{name:"src",description:{kind:"markdown",value:'The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:\n\nanonymous\n\nSends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.\n\nuse-credentials\n\nSends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.\n\nWhen not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.'}},{name:"preload",valueSet:"pl",description:{kind:"markdown",value:"This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:\n\n* `none`: Indicates that the audio should not be preloaded.\n* `metadata`: Indicates that only audio metadata (e.g. length) is fetched.\n* `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.\n* _empty string_: A synonym of the `auto` value.\n\nIf not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.\n\n**Usage notes:**\n\n* The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.\n* The browser is not forced by the specification to follow the value of this attribute; it is a mere hint."}},{name:"autoplay",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.\n\n**Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control."}},{name:"mediagroup"},{name:"loop",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio."}},{name:"muted",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`."}},{name:"controls",valueSet:"v",description:{kind:"markdown",value:"If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/audio"}]},{name:"source",description:{kind:"markdown",value:"The source element allows authors to specify multiple alternative media resources for media elements. It does not represent anything on its own."},attributes:[{name:"src",description:{kind:"markdown",value:'Required for [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") and [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document."), address of the media resource. The value of this attribute is ignored when the `<source>` element is placed inside a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}},{name:"type",description:{kind:"markdown",value:"The MIME-type of the resource, optionally with a `codecs` parameter. See [RFC 4281](https://tools.ietf.org/html/rfc4281) for information about how to specify codecs."}},{name:"sizes",description:'Is a list of source sizes that describes the final rendered width of the image represented by the source. Each source size consists of a comma-separated list of media condition-length pairs. This information is used by the browser to determine, before laying the page out, which image defined in [`srcset`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#attr-srcset) to use. \nThe `sizes` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'},{name:"srcset",description:"A list of one or more strings separated by commas indicating a set of possible images represented by the source for the browser to use. Each string is composed of:\n\n1. one URL to an image,\n2. a width descriptor, that is a positive integer directly followed by `'w'`. The default value, if missing, is the infinity.\n3. a pixel density descriptor, that is a positive floating number directly followed by `'x'`. The default value, if missing, is `1x`.\n\nEach string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor. \nThe browser chooses the most adequate image to display at a given point of time. \nThe `srcset` attribute has an effect only when the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source \"The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.\") element is the direct child of a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture \"The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.\") element."},{name:"media",description:'[Media query](https://developer.mozilla.org/en-US/docs/CSS/Media_queries) of the resource\'s intended media; this should be used only in a [`<picture>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture "The HTML <picture> element contains zero or more <source> elements and one <img> element to provide versions of an image for different display/device scenarios.") element.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/source"}]},{name:"track",description:{kind:"markdown",value:"The track element allows authors to specify explicit external timed text tracks for media elements. It does not represent anything on its own."},attributes:[{name:"default",valueSet:"v",description:{kind:"markdown",value:"This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. This may only be used on one `track` element per media element."}},{name:"kind",valueSet:"tk",description:{kind:"markdown",value:"How the text track is meant to be used. If omitted the default kind is `subtitles`. If the attribute is not present, it will use the `subtitles`. If the attribute contains an invalid value, it will use `metadata`. (Versions of Chrome earlier than 52 treated an invalid value as `subtitles`.) The following keywords are allowed:\n\n* `subtitles`\n * Subtitles provide translation of content that cannot be understood by the viewer. For example dialogue or text that is not English in an English language film.\n * Subtitles may contain additional content, usually extra background information. For example the text at the beginning of the Star Wars films, or the date, time, and location of a scene.\n* `captions`\n * Closed captions provide a transcription and possibly a translation of audio.\n * It may include important non-verbal information such as music cues or sound effects. It may indicate the cue's source (e.g. music, text, character).\n * Suitable for users who are deaf or when the sound is muted.\n* `descriptions`\n * Textual description of the video content.\n * Suitable for users who are blind or where the video cannot be seen.\n* `chapters`\n * Chapter titles are intended to be used when the user is navigating the media resource.\n* `metadata`\n * Tracks used by scripts. Not visible to the user."}},{name:"label",description:{kind:"markdown",value:"A user-readable title of the text track which is used by the browser when listing available text tracks."}},{name:"src",description:{kind:"markdown",value:'Address of the track (`.vtt` file). Must be a valid URL. This attribute must be specified and its URL value must have the same origin as the document — unless the [`<audio>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio "The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.") or [`<video>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video "The HTML Video element (<video>) embeds a media player which supports video playback into the document.") parent element of the `track` element has a [`crossorigin`](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) attribute.'}},{name:"srclang",description:{kind:"markdown",value:"Language of the track text data. It must be a valid [BCP 47](https://r12a.github.io/app-subtags/) language tag. If the `kind` attribute is set to `subtitles,` then `srclang` must be defined."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/track"}]},{name:"map",description:{kind:"markdown",value:"The map element, in conjunction with an img element and any area element descendants, defines an image map. The element represents its children."},attributes:[{name:"name",description:{kind:"markdown",value:"The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/map"}]},{name:"area",description:{kind:"markdown",value:"The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map."},attributes:[{name:"alt"},{name:"coords"},{name:"shape",valueSet:"sh"},{name:"href"},{name:"target"},{name:"download"},{name:"ping"},{name:"rel"},{name:"hreflang"},{name:"type"},{name:"accesskey",description:"Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/area"}]},{name:"table",description:{kind:"markdown",value:"The table element represents data with more than one dimension, in the form of a table."},attributes:[{name:"border"},{name:"align",description:'This enumerated attribute indicates how the table must be aligned inside the containing document. It may have the following values:\n\n* left: the table is displayed on the left side of the document;\n* center: the table is displayed in the center of the document;\n* right: the table is displayed on the right side of the document.\n\n**Usage Note**\n\n* **Do not use this attribute**, as it has been deprecated. The [`<table>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table "The HTML <table> element represents tabular data — that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). Set [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") and [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") to `auto` or [`margin`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin "The margin CSS property sets the margin area on all four sides of an element. It is a shorthand for margin-top, margin-right, margin-bottom, and margin-left.") to `0 auto` to achieve an effect that is similar to the align attribute.\n* Prior to Firefox 4, Firefox also supported the `middle`, `absmiddle`, and `abscenter` values as synonyms of `center`, in quirks mode only.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/table"}]},{name:"caption",description:{kind:"markdown",value:"The caption element represents the title of the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"align",description:'This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:\n\n`left`\n\nThe caption is displayed to the left of the table.\n\n`top`\n\nThe caption is displayed above the table.\n\n`right`\n\nThe caption is displayed to the right of the table.\n\n`bottom`\n\nThe caption is displayed below the table.\n\n**Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table\'s <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/caption"}]},{name:"colgroup",description:{kind:"markdown",value:"The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/colgroup"}]},{name:"col",description:{kind:"markdown",value:"If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup."},attributes:[{name:"span"},{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values:\n * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won\'t inherit it.\n * If the table doesn\'t use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.\n * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/col"}]},{name:"tbody",description:{kind:"markdown",value:"The tbody element represents a block of rows that consist of a body of data for the parent table element, if the tbody element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes.\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tbody"}]},{name:"thead",description:{kind:"markdown",value:"The thead element represents the block of rows that consist of the column labels (headers) for the parent table element, if the thead element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/thead"}]},{name:"tfoot",description:{kind:"markdown",value:"The tfoot element represents the block of rows that consist of the column summaries (footers) for the parent table element, if the tfoot element has a parent and it is a table."},attributes:[{name:"align",description:'This enumerated attribute specifies how horizontal alignment of each cell content will be handled. Possible values are:\n\n* `left`, aligning the content to the left of the cell\n* `center`, centering the content in the cell\n* `right`, aligning the content to the right of the cell\n* `justify`, inserting spaces into the textual content so that the content is justified in the cell\n* `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nIf this attribute is not set, the `left` value is assumed.\n\n**Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on it.\n* To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tfoot"}]},{name:"tr",description:{kind:"markdown",value:"The tr element represents a row of cells in a table."},attributes:[{name:"align",description:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") which specifies how the cell\'s context should be aligned horizontally within the cells in the row; this is shorthand for using `align` on every cell in the row individually. Possible values are:\n\n`left`\n\nAlign the content of each cell at its left edge.\n\n`center`\n\nCenter the contents of each cell between their left and right edges.\n\n`right`\n\nAlign the content of each cell at its right edge.\n\n`justify`\n\nWiden whitespaces within the text of each cell so that the text fills the full width of each cell (full justification).\n\n`char`\n\nAlign each cell in the row on a specific character (such that each row in the column that is configured this way will horizontally align its cells on that character). This uses the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr#attr-charoff) to establish the alignment character (typically "." or "," when aligning numerical data) and the number of characters that should follow the alignment character. This alignment type was never widely supported.\n\nIf no value is expressly set for `align`, the parent node\'s value is inherited.\n\nInstead of using the obsolete `align` attribute, you should instead use the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to establish `left`, `center`, `right`, or `justify` alignment for the row\'s cells. To apply character-based alignment, set the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the alignment character (such as `"."` or `","`).'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/tr"}]},{name:"td",description:{kind:"markdown",value:"The td element represents a data cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"abbr",description:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard. Alternatively, you can put the abbreviated description inside the cell and place the long content in the **title** attribute."},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/td"}]},{name:"th",description:{kind:"markdown",value:"The th element represents a header cell in a table."},attributes:[{name:"colspan"},{name:"rowspan"},{name:"headers"},{name:"scope",valueSet:"s"},{name:"sorted"},{name:"abbr",description:{kind:"markdown",value:"This attribute contains a short abbreviated description of the cell's content. Some user-agents, such as speech readers, may present this description before the content itself."}},{name:"align",description:'This enumerated attribute specifies how the cell content\'s horizontal alignment will be handled. Possible values are:\n\n* `left`: The content is aligned to the left of the cell.\n* `center`: The content is centered in the cell.\n* `right`: The content is aligned to the right of the cell.\n* `justify` (with text only): The content is stretched out inside the cell so that it covers its entire width.\n* `char` (with text only): The content is aligned to a character inside the `<th>` element with minimal offset. This character is defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-charoff) attributes.\n\nThe default value when this attribute is not specified is `left`.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard.\n\n* To achieve the same effect as the `left`, `center`, `right` or `justify` values, apply the CSS [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property to the element.\n* To achieve the same effect as the `char` value, give the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property the same value you would use for the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-char). Unimplemented in CSS3.'},{name:"axis",description:"This attribute contains a list of space-separated strings. Each string is the `id` of a group of cells that this header applies to.\n\n**Note:** Do not use this attribute as it is obsolete in the latest standard: use the [`scope`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th#attr-scope) attribute instead."},{name:"bgcolor",description:'This attribute defines the background color of each cell in a column. It consists of a 6-digit hexadecimal code as defined in [sRGB](https://www.w3.org/Graphics/Color/sRGB) and is prefixed by \'#\'. This attribute may be used with one of sixteen predefined color strings:\n\n \n\n`black` = "#000000"\n\n \n\n`green` = "#008000"\n\n \n\n`silver` = "#C0C0C0"\n\n \n\n`lime` = "#00FF00"\n\n \n\n`gray` = "#808080"\n\n \n\n`olive` = "#808000"\n\n \n\n`white` = "#FFFFFF"\n\n \n\n`yellow` = "#FFFF00"\n\n \n\n`maroon` = "#800000"\n\n \n\n`navy` = "#000080"\n\n \n\n`red` = "#FF0000"\n\n \n\n`blue` = "#0000FF"\n\n \n\n`purple` = "#800080"\n\n \n\n`teal` = "#008080"\n\n \n\n`fuchsia` = "#FF00FF"\n\n \n\n`aqua` = "#00FFFF"\n\n**Note:** Do not use this attribute, as it is non-standard and only implemented in some versions of Microsoft Internet Explorer: The [`<th>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th "The HTML <th> element defines a cell as header of a group of table cells. The exact nature of this group is defined by the scope and headers attributes.") element should be styled using [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS). To create a similar effect use the [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property in [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) instead.'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/th"}]},{name:"form",description:{kind:"markdown",value:"The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing."},attributes:[{name:"accept-charset",description:{kind:"markdown",value:'A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string `"UNKNOWN"`, indicates the same encoding as that of the document containing the form element. \nIn previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.'}},{name:"action",description:{kind:"markdown",value:'The URI of a program that processes the form information. This value can be overridden by a [`formaction`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formaction) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"autocomplete",valueSet:"o",description:{kind:"markdown",value:"Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an `autocomplete` attribute on an element belonging to the form. Possible values are:\n\n* `off`: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.\n* `on`: The browser can automatically complete values based on values that the user has previously entered in the form.\n\nFor most modern browsers (including Firefox 38+, Google Chrome 34+, IE 11+) setting the autocomplete attribute will not prevent a browser's password manager from asking the user if they want to store login fields (username and password), if the user permits the storage the browser will autofill the login the next time the user visits the page. See [The autocomplete attribute and login fields](https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion#The_autocomplete_attribute_and_login_fields)."}},{name:"enctype",valueSet:"et",description:{kind:"markdown",value:'When the value of the `method` attribute is `post`, enctype is the [MIME type](https://en.wikipedia.org/wiki/Mime_type) of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: The value used for an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the `type` attribute set to "file".\n* `text/plain`: (HTML5)\n\nThis value can be overridden by a [`formenctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formenctype) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"method",valueSet:"m",description:{kind:"markdown",value:'The [HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP) method that the browser uses to submit the form. Possible values are:\n\n* `post`: Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5) ; form data are included in the body of the form and sent to the server.\n* `get`: Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a \'?\' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n* `dialog`: Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog "The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.") element to close the dialog when submitted.\n\nThis value can be overridden by a [`formmethod`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formmethod) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"name",description:{kind:"markdown",value:"The name of the form. In HTML 4, its use is deprecated (`id` should be used instead). It must be unique among the forms in a document and not just an empty string in HTML 5."}},{name:"novalidate",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a [`formnovalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formnovalidate) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element belonging to the form.'}},{name:"target",description:{kind:"markdown",value:'A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a _browsing context_ (for example, tab, window, or inline frame). The following keywords have special meanings:\n\n* `_self`: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.\n* `_parent`: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.\n* _iframename_: The response is displayed in a named [`<iframe>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe "The HTML Inline Frame element (<iframe>) represents a nested browsing context, embedding another HTML page into the current one.").\n\nHTML5: This value can be overridden by a [`formtarget`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-formtarget) attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") or [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'}},{name:"accept",description:'A comma-separated list of content types that the server accepts.\n\n**Usage note:** This attribute has been removed in HTML5 and should no longer be used. Instead, use the [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-accept) attribute of the specific [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element.'},{name:"autocapitalize",description:"This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the `autocapitalize` attribute is specified on an individual form control descendant, it trumps the form-wide `autocapitalize` setting. The non-deprecated values are available in iOS 5 and later. The default value is `sentences`. Possible values are:\n\n* `none`: Completely disables automatic capitalization\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/form"}]},{name:"label",description:{kind:"markdown",value:"The label element represents a caption in a user interface. The caption can be associated with a specific form control, known as the label element's labeled control, either using the for attribute, or by putting the form control inside the label element itself."},attributes:[{name:"form",description:{kind:"markdown",value:'The [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element with which the label is associated (its _form owner_). If specified, the value of the attribute is the `id` of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. This lets you place label elements anywhere within a document, not just as descendants of their form elements.'}},{name:"for",description:{kind:"markdown",value:"The [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of a [labelable](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Form_labelable) form-related element in the same document as the `<label>` element. The first element in the document with an `id` matching the value of the `for` attribute is the _labeled control_ for this label element, if it is a labelable element. If it is not labelable then the `for` attribute has no effect. If there are other elements which also match the `id` value, later in the document, they are not considered.\n\n**Note**: A `<label>` element can have both a `for` attribute and a contained control element, as long as the `for` attribute points to the contained control element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/label"}]},{name:"input",description:{kind:"markdown",value:"The input element represents a typed data field, usually with a form control to allow the user to edit the data."},attributes:[{name:"accept"},{name:"alt"},{name:"autocomplete",valueSet:"inputautocomplete"},{name:"autofocus",valueSet:"v"},{name:"checked",valueSet:"v"},{name:"dirname"},{name:"disabled",valueSet:"v"},{name:"form"},{name:"formaction"},{name:"formenctype",valueSet:"et"},{name:"formmethod",valueSet:"fm"},{name:"formnovalidate",valueSet:"v"},{name:"formtarget"},{name:"height"},{name:"inputmode",valueSet:"im"},{name:"list"},{name:"max"},{name:"maxlength"},{name:"min"},{name:"minlength"},{name:"multiple",valueSet:"v"},{name:"name"},{name:"pattern"},{name:"placeholder"},{name:"readonly",valueSet:"v"},{name:"required",valueSet:"v"},{name:"size"},{name:"src"},{name:"step"},{name:"type",valueSet:"t"},{name:"value"},{name:"width"}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/input"}]},{name:"button",description:{kind:"markdown",value:"The button element represents a button labeled by its contents."},attributes:[{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.\n\nFirefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.'}},{name:"form",description:{kind:"markdown",value:'The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.'}},{name:"formaction",description:{kind:"markdown",value:"The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner."}},{name:"formenctype",valueSet:"et",description:{kind:"markdown",value:'If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:\n\n* `application/x-www-form-urlencoded`: The default value if the attribute is not specified.\n* `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.\n* `text/plain`\n\nIf this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button\'s form owner.'}},{name:"formmethod",valueSet:"fm",description:{kind:"markdown",value:"If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:\n\n* `post`: The data from the form are included in the body of the form and sent to the server.\n* `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.\n\nIf specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner."}},{name:"formnovalidate",valueSet:"v",description:{kind:"markdown",value:"If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner."}},{name:"formtarget",description:{kind:"markdown",value:"If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:\n\n* `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.\n* `_blank`: Load the response into a new unnamed browsing context.\n* `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.\n* `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`."}},{name:"name",description:{kind:"markdown",value:"The name of the button, which is submitted with the form data."}},{name:"type",valueSet:"bt",description:{kind:"markdown",value:"The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."}},{name:"value",description:{kind:"markdown",value:"The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted."}},{name:"autocomplete",description:'The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn\'t return after refreshing the page").'}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/button"}]},{name:"select",description:{kind:"markdown",value:"The select element represents a control for selecting amongst a set of options."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'A [`DOMString`](https://developer.mozilla.org/en-US/docs/Web/API/DOMString "DOMString is a UTF-16 String. As JavaScript already uses such strings, DOMString is mapped directly to a String.") providing a hint for a [user agent\'s](https://developer.mozilla.org/en-US/docs/Glossary/user_agent "user agent\'s: A user agent is a computer program representing a person, for example, a browser in a Web context.") autocomplete feature. See [The HTML autocomplete attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for a complete list of values and details on how to use autocomplete.'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form element in a document can have the `autofocus` attribute."}},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example `fieldset`; if there is no containing element with the `disabled` attribute set, then the control is enabled."}},{name:"form",description:{kind:"markdown",value:'This attribute lets you specify the form element to which the select element is associated (that is, its "form owner"). If this attribute is specified, its value must be the same as the `id` of a form element in the same document. This enables you to place select elements anywhere within a document, not just as descendants of their form elements.'}},{name:"multiple",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that multiple options can be selected in the list. If it is not specified, then only one option can be selected at a time. When `multiple` is specified, most browsers will show a scrolling list box instead of a single line dropdown."}},{name:"name",description:{kind:"markdown",value:"This attribute is used to specify the name of the control."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"A Boolean attribute indicating that an option with a non-empty string value must be selected."}},{name:"size",description:{kind:"markdown",value:"If the control is presented as a scrolling list box (e.g. when `multiple` is specified), this attribute represents the number of rows in the list that should be visible at one time. Browsers are not required to present a select element as a scrolled list box. The default value is 0.\n\n**Note:** According to the HTML5 specification, the default value for size should be 1; however, in practice, this has been found to break some web sites, and no other browser currently does that, so Mozilla has opted to continue to return 0 for the time being with Firefox."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/select"}]},{name:"datalist",description:{kind:"markdown",value:"The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/datalist"}]},{name:"optgroup",description:{kind:"markdown",value:"The optgroup element represents a group of option elements with a common label."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones."}},{name:"label",description:{kind:"markdown",value:"The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/optgroup"}]},{name:"option",description:{kind:"markdown",value:"The option element represents an option in a select element or as part of a list of suggestions in a datalist element."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'If this Boolean attribute is set, this option is not checkable. Often browsers grey out such control and it won\'t receive any browsing event, like mouse clicks or focus-related ones. If this attribute is not set, the element can still be disabled if one of its ancestors is a disabled [`<optgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup "The HTML <optgroup> element creates a grouping of options within a <select> element.") element.'}},{name:"label",description:{kind:"markdown",value:"This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content."}},{name:"selected",valueSet:"v",description:{kind:"markdown",value:'If present, this Boolean attribute indicates that the option is initially selected. If the `<option>` element is the descendant of a [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element whose [`multiple`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) attribute is not set, only one single `<option>` of this [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select "The HTML <select> element represents a control that provides a menu of options") element may have the `selected` attribute.'}},{name:"value",description:{kind:"markdown",value:"The content of this attribute represents the value to be submitted with the form, should this option be selected. If this attribute is omitted, the value is taken from the text content of the option element."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/option"}]},{name:"textarea",description:{kind:"markdown",value:"The textarea element represents a multiline plain text edit control for the element's raw value. The contents of the control represent the control's default value."},attributes:[{name:"autocomplete",valueSet:"inputautocomplete",description:{kind:"markdown",value:'This attribute indicates whether the value of the control can be automatically completed by the browser. Possible values are:\n\n* `off`: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.\n* `on`: The browser can automatically complete the value based on values that the user has entered during previous uses.\n\nIf the `autocomplete` attribute is not specified on a `<textarea>` element, then the browser uses the `autocomplete` attribute value of the `<textarea>` element\'s form owner. The form owner is either the [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element that this `<textarea>` element is a descendant of or the form element whose `id` is specified by the `form` attribute of the input element. For more information, see the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-autocomplete) attribute in [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.").'}},{name:"autofocus",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute lets you specify that a form control should have input focus when the page loads. Only one form-associated element in a document can have this attribute specified."}},{name:"cols",description:{kind:"markdown",value:"The visible width of the text control, in average character widths. If it is specified, it must be a positive integer. If it is not specified, the default value is `20`."}},{name:"dirname"},{name:"disabled",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute indicates that the user cannot interact with the control. If this attribute is not specified, the control inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element when the `disabled` attribute is set, the control is enabled.'}},{name:"form",description:{kind:"markdown",value:'The form element that the `<textarea>` element is associated with (its "form owner"). The value of the attribute must be the `id` of a form element in the same document. If this attribute is not specified, the `<textarea>` element must be a descendant of a form element. This attribute enables you to place `<textarea>` elements anywhere within a document, not just as descendants of form elements.'}},{name:"inputmode",valueSet:"im"},{name:"maxlength",description:{kind:"markdown",value:"The maximum number of characters (unicode code points) that the user can enter. If this value isn't specified, the user can enter an unlimited number of characters."}},{name:"minlength",description:{kind:"markdown",value:"The minimum number of characters (unicode code points) required that the user should enter."}},{name:"name",description:{kind:"markdown",value:"The name of the control."}},{name:"placeholder",description:{kind:"markdown",value:'A hint to the user of what can be entered in the control. Carriage returns or line-feeds within the placeholder text must be treated as line breaks when rendering the hint.\n\n**Note:** Placeholders should only be used to show an example of the type of data that should be entered into a form; they are _not_ a substitute for a proper [`<label>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label "The HTML <label> element represents a caption for an item in a user interface.") element tied to the input. See [Labels and placeholders](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Labels_and_placeholders "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") in [<input>: The Input (Form Input) element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") for a full explanation.'}},{name:"readonly",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates that the user cannot modify the value of the control. Unlike the `disabled` attribute, the `readonly` attribute does not prevent the user from clicking or selecting in the control. The value of a read-only control is still submitted with the form."}},{name:"required",valueSet:"v",description:{kind:"markdown",value:"This attribute specifies that the user must fill in a value before submitting a form."}},{name:"rows",description:{kind:"markdown",value:"The number of visible text lines for the control."}},{name:"wrap",valueSet:"w",description:{kind:"markdown",value:"Indicates how the control wraps text. Possible values are:\n\n* `hard`: The browser automatically inserts line breaks (CR+LF) so that each line has no more than the width of the control; the `cols` attribute must also be specified for this to take effect.\n* `soft`: The browser ensures that all line breaks in the value consist of a CR+LF pair, but does not insert any additional line breaks.\n* `off` : Like `soft` but changes appearance to `white-space: pre` so line segments exceeding `cols` are not wrapped and the `<textarea>` becomes horizontally scrollable.\n\nIf this attribute is not specified, `soft` is its default value."}},{name:"autocapitalize",description:"This is a non-standard attribute supported by WebKit on iOS (therefore nearly all browsers running on iOS, including Safari, Firefox, and Chrome), which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:\n\n* `none`: Completely disables automatic capitalization.\n* `sentences`: Automatically capitalize the first letter of sentences.\n* `words`: Automatically capitalize the first letter of words.\n* `characters`: Automatically capitalize all characters.\n* `on`: Deprecated since iOS 5.\n* `off`: Deprecated since iOS 5."},{name:"spellcheck",description:"Specifies whether the `<textarea>` is subject to spell checking by the underlying browser/OS. the value can be:\n\n* `true`: Indicates that the element needs to have its spelling and grammar checked.\n* `default` : Indicates that the element is to act according to a default behavior, possibly based on the parent element's own `spellcheck` value.\n* `false` : Indicates that the element should not be spell checked."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/textarea"}]},{name:"output",description:{kind:"markdown",value:"The output element represents the result of a calculation performed by the application, or the result of a user action."},attributes:[{name:"for",description:{kind:"markdown",value:"A space-separated list of other elements’ [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id)s, indicating that those elements contributed input values to (or otherwise affected) the calculation."}},{name:"form",description:{kind:"markdown",value:'The [form element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form) that this element is associated with (its "form owner"). The value of the attribute must be an `id` of a form element in the same document. If this attribute is not specified, the output element must be a descendant of a form element. This attribute enables you to place output elements anywhere within a document, not just as descendants of their form elements.'}},{name:"name",description:{kind:"markdown",value:'The name of the element, exposed in the [`HTMLFormElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement "The HTMLFormElement interface represents a <form> element in the DOM; it allows access to and in some cases modification of aspects of the form, as well as access to its component elements.") API.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/output"}]},{name:"progress",description:{kind:"markdown",value:"The progress element represents the completion progress of a task. The progress is either indeterminate, indicating that progress is being made but that it is not clear how much more work remains to be done before the task is complete (e.g. because the task is waiting for a remote host to respond), or the progress is a number in the range zero to a maximum, giving the fraction of work that has so far been completed."},attributes:[{name:"value",description:{kind:"markdown",value:"This attribute specifies how much of the task that has been completed. It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted. If there is no `value` attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take."}},{name:"max",description:{kind:"markdown",value:"This attribute describes how much work the task indicated by the `progress` element requires. The `max` attribute, if present, must have a value greater than zero and be a valid floating point number. The default value is 1."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/progress"}]},{name:"meter",description:{kind:"markdown",value:"The meter element represents a scalar measurement within a known range, or a fractional value; for example disk usage, the relevance of a query result, or the fraction of a voting population to have selected a particular candidate."},attributes:[{name:"value",description:{kind:"markdown",value:"The current numeric value. This must be between the minimum and maximum values (`min` attribute and `max` attribute) if they are specified. If unspecified or malformed, the value is 0. If specified, but not within the range given by the `min` attribute and `max` attribute, the value is equal to the nearest end of the range.\n\n**Usage note:** Unless the `value` attribute is between `0` and `1` (inclusive), the `min` and `max` attributes should define the range so that the `value` attribute's value is within it."}},{name:"min",description:{kind:"markdown",value:"The lower numeric bound of the measured range. This must be less than the maximum value (`max` attribute), if specified. If unspecified, the minimum value is 0."}},{name:"max",description:{kind:"markdown",value:"The upper numeric bound of the measured range. This must be greater than the minimum value (`min` attribute), if specified. If unspecified, the maximum value is 1."}},{name:"low",description:{kind:"markdown",value:"The upper numeric bound of the low end of the measured range. This must be greater than the minimum value (`min` attribute), and it also must be less than the high value and maximum value (`high` attribute and `max` attribute, respectively), if any are specified. If unspecified, or if less than the minimum value, the `low` value is equal to the minimum value."}},{name:"high",description:{kind:"markdown",value:"The lower numeric bound of the high end of the measured range. This must be less than the maximum value (`max` attribute), and it also must be greater than the low value and minimum value (`low` attribute and **min** attribute, respectively), if any are specified. If unspecified, or if greater than the maximum value, the `high` value is equal to the maximum value."}},{name:"optimum",description:{kind:"markdown",value:"This attribute indicates the optimal numeric value. It must be within the range (as defined by the `min` attribute and `max` attribute). When used with the `low` attribute and `high` attribute, it gives an indication where along the range is considered preferable. For example, if it is between the `min` attribute and the `low` attribute, then the lower range is considered preferred."}},{name:"form",description:"This attribute associates the element with a `form` element that has ownership of the `meter` element. For example, a `meter` might be displaying a range corresponding to an `input` element of `type` _number_. This attribute is only used if the `meter` element is being used as a form-associated element; even then, it may be omitted if the element appears as a descendant of a `form` element."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/meter"}]},{name:"fieldset",description:{kind:"markdown",value:"The fieldset element represents a set of form controls optionally grouped under a common name."},attributes:[{name:"disabled",valueSet:"v",description:{kind:"markdown",value:"If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend \"The HTML <legend> element represents a caption for the content of its parent <fieldset>.\") element won't be disabled."}},{name:"form",description:{kind:"markdown",value:'This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.'}},{name:"name",description:{kind:"markdown",value:'The name associated with the group.\n\n**Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.'}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/fieldset"}]},{name:"legend",description:{kind:"markdown",value:"The legend element represents a caption for the rest of the contents of the legend element's parent fieldset element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/legend"}]},{name:"details",description:{kind:"markdown",value:"The details element represents a disclosure widget from which the user can obtain additional information or controls."},attributes:[{name:"open",valueSet:"v",description:{kind:"markdown",value:"This Boolean attribute indicates whether or not the details — that is, the contents of the `<details>` element — are currently visible. The default, `false`, means the details are not visible."}}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/details"}]},{name:"summary",description:{kind:"markdown",value:"The summary element represents a summary, caption, or legend for the rest of the contents of the summary element's parent details element, if any."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/summary"}]},{name:"dialog",description:{kind:"markdown",value:"The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window."},attributes:[{name:"open",description:"Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/dialog"}]},{name:"script",description:{kind:"markdown",value:"The script element allows authors to include dynamic script and data blocks in their documents. The element does not represent content for the user."},attributes:[{name:"src",description:{kind:"markdown",value:"This attribute specifies the URI of an external script; this can be used as an alternative to embedding a script directly within a document.\n\nIf a `script` element has a `src` attribute specified, it should not have a script embedded inside its tags."}},{name:"type",description:{kind:"markdown",value:'This attribute indicates the type of script represented. The value of this attribute will be in one of the following categories:\n\n* **Omitted or a JavaScript MIME type:** For HTML5-compliant browsers this indicates the script is JavaScript. HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type. In earlier browsers, this identified the scripting language of the embedded or imported (via the `src` attribute) code. JavaScript MIME types are [listed in the specification](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#JavaScript_types).\n* **`module`:** For HTML5-compliant browsers the code is treated as a JavaScript module. The processing of the script contents is not affected by the `charset` and `defer` attributes. For information on using `module`, see [ES6 in Depth: Modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/). Code may behave differently when the `module` keyword is used.\n* **Any other value:** The embedded content is treated as a data block which won\'t be processed by the browser. Developers must use a valid MIME type that is not a JavaScript MIME type to denote data blocks. The `src` attribute will be ignored.\n\n**Note:** in Firefox you could specify the version of JavaScript contained in a `<script>` element by including a non-standard `version` parameter inside the `type` attribute — for example `type="text/javascript;version=1.8"`. This has been removed in Firefox 59 (see [bug 1428745](https://bugzilla.mozilla.org/show_bug.cgi?id=1428745 "FIXED: Remove support for version parameter from script loader")).'}},{name:"charset"},{name:"async",valueSet:"v",description:{kind:"markdown",value:'This is a Boolean attribute indicating that the browser should, if possible, load the script asynchronously.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts). If it is included in this case it will have no effect.\n\nBrowsers usually assume the worst case scenario and load scripts synchronously, (i.e. `async="false"`) during HTML parsing.\n\nDynamically inserted scripts (using [`document.createElement()`](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement "In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn\'t recognized.")) load asynchronously by default, so to turn on synchronous loading (i.e. scripts load in the order they were inserted) set `async="false"`.\n\nSee [Browser compatibility](#Browser_compatibility) for notes on browser support. See also [Async scripts for asm.js](https://developer.mozilla.org/en-US/docs/Games/Techniques/Async_scripts).'}},{name:"defer",valueSet:"v",description:{kind:"markdown",value:'This Boolean attribute is set to indicate to a browser that the script is meant to be executed after the document has been parsed, but before firing [`DOMContentLoaded`](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded "/en-US/docs/Web/Events/DOMContentLoaded").\n\nScripts with the `defer` attribute will prevent the `DOMContentLoaded` event from firing until the script has loaded and finished evaluating.\n\nThis attribute must not be used if the `src` attribute is absent (i.e. for inline scripts), in this case it would have no effect.\n\nTo achieve a similar effect for dynamically inserted scripts use `async="false"` instead. Scripts with the `defer` attribute will execute in the order in which they appear in the document.'}},{name:"crossorigin",valueSet:"xo",description:{kind:"markdown",value:'Normal `script` elements pass minimal information to the [`window.onerror`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror "The onerror property of the GlobalEventHandlers mixin is an EventHandler that processes error events.") for scripts which do not pass the standard [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS "CORS: CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.") checks. To allow error logging for sites which use a separate domain for static media, use this attribute. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_settings_attributes) for a more descriptive explanation of its valid arguments.'}},{name:"nonce",description:{kind:"markdown",value:"A cryptographic nonce (number used once) to whitelist inline scripts in a [script-src Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src). The server must generate a unique nonce value each time it transmits a policy. It is critical to provide a nonce that cannot be guessed as bypassing a resource's policy is otherwise trivial."}},{name:"integrity",description:"This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation. See [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity)."},{name:"nomodule",description:"This Boolean attribute is set to indicate that the script should not be executed in browsers that support [ES2015 modules](https://hacks.mozilla.org/2015/08/es6-in-depth-modules/) — in effect, this can be used to serve fallback scripts to older browsers that do not support modular JavaScript code."},{name:"referrerpolicy",description:'Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer) to send when fetching the script, or resources fetched by the script:\n\n* `no-referrer`: The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent.\n* `no-referrer-when-downgrade` (default): The [`Referer`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer "The Referer request header contains the address of the previous web page from which a link to the currently requested page was followed. The Referer header allows servers to identify where people are visiting them from and may use that data for analytics, logging, or optimized caching, for example.") header will not be sent to [origin](https://developer.mozilla.org/en-US/docs/Glossary/origin "origin: Web content\'s origin is defined by the scheme (protocol), host (domain), and port of the URL used to access it. Two objects have the same origin only when the scheme, host, and port all match.")s without [TLS](https://developer.mozilla.org/en-US/docs/Glossary/TLS "TLS: Transport Layer Security (TLS), previously known as Secure Sockets Layer (SSL), is a protocol used by applications to communicate securely across a network, preventing tampering with and eavesdropping on email, web browsing, messaging, and other protocols.") ([HTTPS](https://developer.mozilla.org/en-US/docs/Glossary/HTTPS "HTTPS: HTTPS (HTTP Secure) is an encrypted version of the HTTP protocol. It usually uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, for example for banking activities or online shopping.")).\n* `origin`: The sent referrer will be limited to the origin of the referring page: its [scheme](https://developer.mozilla.org/en-US/docs/Archive/Mozilla/URIScheme), [host](https://developer.mozilla.org/en-US/docs/Glossary/host "host: A host is a device connected to the Internet (or a local network). Some hosts called servers offer additional services like serving webpages or storing files and emails."), and [port](https://developer.mozilla.org/en-US/docs/Glossary/port "port: For a computer connected to a network with an IP address, a port is a communication endpoint. Ports are designated by numbers, and below 1024 each port is associated by default with a specific protocol.").\n* `origin-when-cross-origin`: The referrer sent to other origins will be limited to the scheme, the host, and the port. Navigations on the same origin will still include the path.\n* `same-origin`: A referrer will be sent for [same origin](https://developer.mozilla.org/en-US/docs/Glossary/Same-origin_policy "same origin: The same-origin policy is a critical security mechanism that restricts how a document or script loaded from one origin can interact with a resource from another origin."), but cross-origin requests will contain no referrer information.\n* `strict-origin`: Only send the origin of the document as the referrer when the protocol security level stays the same (e.g. HTTPS→HTTPS), but don\'t send it to a less secure destination (e.g. HTTPS→HTTP).\n* `strict-origin-when-cross-origin`: Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS→HTTPS), and send no header to a less secure destination (e.g. HTTPS→HTTP).\n* `unsafe-url`: The referrer will include the origin _and_ the path (but not the [fragment](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/hash), [password](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/password), or [username](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/username)). **This value is unsafe**, because it leaks origins and paths from TLS-protected resources to insecure origins.\n\n**Note**: An empty string value (`""`) is both the default value, and a fallback value if `referrerpolicy` is not supported. If `referrerpolicy` is not explicitly specified on the `<script>` element, it will adopt a higher-level referrer policy, i.e. one set on the whole document or domain. If a higher-level policy is not available, the empty string is treated as being equivalent to `no-referrer-when-downgrade`.'},{name:"text",description:"Like the `textContent` attribute, this attribute sets the text content of the element. Unlike the `textContent` attribute, however, this attribute is evaluated as executable code after the node is inserted into the DOM."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/script"}]},{name:"noscript",description:{kind:"markdown",value:"The noscript element represents nothing if scripting is enabled, and represents its children if scripting is disabled. It is used to present different markup to user agents that support scripting and those that don't support scripting, by affecting how the document is parsed."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/noscript"}]},{name:"template",description:{kind:"markdown",value:"The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script."},attributes:[],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/template"}]},{name:"canvas",description:{kind:"markdown",value:"The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly."},attributes:[{name:"width",description:{kind:"markdown",value:"The width of the coordinate space in CSS pixels. Defaults to 300."}},{name:"height",description:{kind:"markdown",value:"The height of the coordinate space in CSS pixels. Defaults to 150."}},{name:"moz-opaque",description:"Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext \"The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.\") instead."}],references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Element/canvas"}]}],globalAttributes:[{name:"accesskey",description:{kind:"markdown",value:"Provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters. The browser should use the first one that exists on the computer keyboard layout."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey"}]},{name:"autocapitalize",description:{kind:"markdown",value:"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/autocapitalize"}]},{name:"class",description:{kind:"markdown",value:'A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](/en-US/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](/en-US/docs/Web/API/Document/getElementsByClassName "returns an array-like object of all child elements which have all of the given class names.").'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/class"}]},{name:"contenteditable",description:{kind:"markdown",value:"An enumerated attribute indicating if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:\n\n* `true` or the _empty string_, which indicates that the element must be editable;\n* `false`, which indicates that the element must not be editable."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contenteditable"}]},{name:"contextmenu",description:{kind:"markdown",value:'The `[**id**](#attr-id)` of a [`<menu>`](/en-US/docs/Web/HTML/Element/menu "The HTML <menu> element represents a group of commands that a user can perform or activate. This includes both list menus, which might appear across the top of a screen, as well as context menus, such as those that might appear underneath a button after it has been clicked.") to use as the contextual menu for this element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/contextmenu"}]},{name:"dir",description:{kind:"markdown",value:"An enumerated attribute indicating the directionality of the element's text. It can have the following values:\n\n* `ltr`, which means _left to right_ and is to be used for languages that are written from the left to the right (like English);\n* `rtl`, which means _right to left_ and is to be used for languages that are written from the right to the left (like Arabic);\n* `auto`, which lets the user agent decide. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then it applies that directionality to the whole element."},valueSet:"d",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dir"}]},{name:"draggable",description:{kind:"markdown",value:"An enumerated attribute indicating whether the element can be dragged, using the [Drag and Drop API](/en-us/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `true`, which indicates that the element may be dragged\n* `false`, which indicates that the element may not be dragged."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/draggable"}]},{name:"dropzone",description:{kind:"markdown",value:"An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](/en-US/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/dropzone"}]},{name:"exportparts",description:{kind:"markdown",value:"Used to transitively export shadow parts from a nested shadow tree into a containing light tree."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/exportparts"}]},{name:"hidden",description:{kind:"markdown",value:"A Boolean attribute indicates that the element is not yet, or is no longer, _relevant_. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements. This attribute must not be used to hide content that could legitimately be shown."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/hidden"}]},{name:"id",description:{kind:"markdown",value:"Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/id"}]},{name:"inputmode",description:{kind:"markdown",value:'Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") elements, but is usable on any element while in `[contenteditable](/en-US/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/inputmode"}]},{name:"is",description:{kind:"markdown",value:"Allows you to specify that a standard HTML element should behave like a registered custom built-in element (see [Using custom elements](/en-US/docs/Web/Web_Components/Using_custom_elements) for more details)."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/is"}]},{name:"itemid",description:{kind:"markdown",value:"The unique, global identifier of an item."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemid"}]},{name:"itemprop",description:{kind:"markdown",value:"Used to add properties to an item. Every HTML element may have an `itemprop` attribute specified, where an `itemprop` consists of a name and value pair."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemprop"}]},{name:"itemref",description:{kind:"markdown",value:"Properties that are not descendants of an element with the `itemscope` attribute can be associated with the item using an `itemref`. It provides a list of element ids (not `itemid`s) with additional properties elsewhere in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemref"}]},{name:"itemscope",description:{kind:"markdown",value:"`itemscope` (usually) works along with `[itemtype](/en-US/docs/Web/HTML/Global_attributes#attr-itemtype)` to specify that the HTML contained in a block is about a particular item. `itemscope` creates the Item and defines the scope of the `itemtype` associated with it. `itemtype` is a valid URL of a vocabulary (such as [schema.org](https://schema.org/)) that describes the item and its properties context."},valueSet:"v",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemscope"}]},{name:"itemtype",description:{kind:"markdown",value:"Specifies the URL of the vocabulary that will be used to define `itemprop`s (item properties) in the data structure. `[itemscope](/en-US/docs/Web/HTML/Global_attributes#attr-itemscope)` is used to set the scope of where in the data structure the vocabulary set by `itemtype` will be active."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/itemtype"}]},{name:"lang",description:{kind:"markdown",value:"Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang"}]},{name:"part",description:{kind:"markdown",value:'A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](/en-US/docs/Web/CSS/::part "The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.") pseudo-element.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/part"}]},{name:"role",valueSet:"roles"},{name:"slot",description:{kind:"markdown",value:"Assigns a slot in a [shadow DOM](/en-US/docs/Web/Web_Components/Shadow_DOM) shadow tree to an element: An element with a `slot` attribute is assigned to the slot created by the [`<slot>`](/en-US/docs/Web/HTML/Element/slot \"The HTML <slot> element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.\") element whose `[name](/en-US/docs/Web/HTML/Element/slot#attr-name)` attribute's value matches that `slot` attribute's value."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/slot"}]},{name:"spellcheck",description:{kind:"markdown",value:"An enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:\n\n* `true`, which indicates that the element should be, if possible, checked for spelling errors;\n* `false`, which indicates that the element should not be checked for spelling errors."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/spellcheck"}]},{name:"style",description:{kind:"markdown",value:'Contains [CSS](/en-US/docs/Web/CSS) styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the [`<style>`](/en-US/docs/Web/HTML/Element/style "The HTML <style> element contains style information for a document, or part of a document.") element have mainly the purpose of allowing for quick styling, for example for testing purposes.'},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/style"}]},{name:"tabindex",description:{kind:"markdown",value:"An integer attribute indicating if the element can take input focus (is _focusable_), if it should participate to sequential keyboard navigation, and if so, at what position. It can take several values:\n\n* a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;\n* `0` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;\n* a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/tabindex"}]},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/title"}]},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](/en-US/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Global_attributes/translate"}]},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedat",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedat"}]},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:'\\[Deprecated in ARIA 1.1\\] Indicates an element\'s "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.'}},{name:"aria-haspopup",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-kbdshortcuts",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-kbdshortcuts"}]},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"GET",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"POST",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"GET"},{name:"POST"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"},{name:"menu"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]}]})],Ne=[];function Pe(){return qe.concat(Ne)}function Oe(e){return void 0!==e}var Fe=M();!function(){function e(e){this.clientCapabilities=e,this.completionParticipants=[]}e.prototype.setCompletionParticipants=function(e){this.completionParticipants=e||[]},e.prototype.doComplete=function(e,t,n,i){var r=this._doComplete(e,t,n,i);return this.convertCompletionList(r)},e.prototype._doComplete=function(e,t,n,a){var o={isIncomplete:!1,items:[]},s=this.completionParticipants,l=Pe().filter((function(t){return t.isApplicable(e.languageId)&&(!a||!1!==a[t.getId()])})),c=this.doesSupportMarkdown(),h=e.getText(),d=e.offsetAt(t),u=n.findNodeBefore(d);if(!u)return o;var p,m=ke(h,u.start),f="";function g(t,n){return void 0===n&&(n=d),t>d&&(t=d),{start:e.positionAt(t),end:e.positionAt(n)}}function _(e,t){var n=g(e,t);return l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:e.name,kind:I.Property,documentation:De(e,c),textEdit:b.replace(n,e.name),insertTextFormat:H.PlainText})}))})),o}function w(e){for(var t=e;t>0;){var n=h.charAt(t-1);if("\n\r".indexOf(n)>=0)return h.substring(t,e);if(!je(n))return null;t--}return h.substring(0,e)}function v(e,t,n){void 0===n&&(n=d);var i=g(e,n),r=Be(h,n,re.WithinEndTag,ie.EndTagClose)?"":">",a=u;for(t&&(a=a.parent);a;){var s=a.tag;if(s&&(!a.closed||a.endTagStart&&a.endTagStart>d)){var p={label:"/"+s,kind:I.Property,filterText:"/"+s,textEdit:b.replace(i,"/"+s+r),insertTextFormat:H.PlainText},m=w(a.start),f=w(e-1);if(null!==m&&null!==f&&m!==f){var _=m+"</"+s+r;p.textEdit=b.replace(g(e-1-f.length),_),p.filterText=f+"</"+s}return o.items.push(p),o}a=a.parent}return t||l.forEach((function(e){e.provideTags().forEach((function(e){o.items.push({label:"/"+e.name,kind:I.Property,documentation:De(e,c),filterText:"/"+e+r,textEdit:b.replace(i,"/"+e+r),insertTextFormat:H.PlainText})}))})),o}function y(t,n){if(a&&a.hideAutoCompleteProposals)return o;if(!Me(n)){var i=e.positionAt(t);o.items.push({label:"</"+n+">",kind:I.Property,filterText:"</"+n+">",textEdit:b.insert(i,"$0</"+n+">"),insertTextFormat:H.Snippet})}return o}function T(e,t){return _(e,t),v(e,!0,t),o}function k(e,t){void 0===t&&(t=d);for(var i=d;i<t&&"<"!==h[i];)i++;var r=g(e,i),a=Be(h,t,re.AfterAttributeName,ie.DelimiterAssign)?"":'="$1"',s=f.toLowerCase(),u=Object.create(null);return l.forEach((function(e){e.provideAttributes(s).forEach((function(e){if(!u[e.name]){u[e.name]=!0;var t,n=e.name;"v"!==e.valueSet&&a.length&&(n+=a,(e.valueSet||"style"===e.name)&&(t={title:"Suggest",command:"editor.action.triggerSuggest"})),o.items.push({label:e.name,kind:"handler"===e.valueSet?I.Function:I.Value,documentation:De(e,c),textEdit:b.replace(r,n),insertTextFormat:H.Snippet,command:t})}}))})),function(e,t){var i={};i["data-"]='data-$1="$2"',n&&n.roots.forEach((function(e){return function e(n){n.attributeNames.forEach((function(e){!Ee(e,"data-")||i[e]||t[e]||(i[e]=e+'="$1"')})),n.children.forEach((function(t){return e(t)}))}(e)}));Object.keys(i).forEach((function(t){return o.items.push({label:t,kind:I.Value,textEdit:b.replace(e,i[t]),insertTextFormat:H.Snippet})}))}(r,u),o}function S(n,i){var r,a,u,m;if(void 0===i&&(i=d),d>n&&d<=i&&(m=h[n],/^["']*$/.test(m))){var _=n+1,w=i;i>n&&h[i-1]===h[n]&&w--;var v=function(e,t,n){for(;t>n&&!je(e[t-1]);)t--;return t}(h,d,_),y=function(e,t,n){for(;t<n&&!je(e[t]);)t++;return t}(h,d,w);r=g(v,y),u=d>=_&&d<=w?h.substring(_,d):"",a=!1}else r=g(n,i),u=h.substring(n,d),a=!0;var T=f.toLowerCase(),k=p.toLowerCase();if(s.length>0)for(var S=g(n,i),x=0,M=s;x<M.length;x++){var E=M[x];E.onHtmlAttributeValue&&E.onHtmlAttributeValue({document:e,position:t,tag:T,attribute:k,value:u,range:S})}return l.forEach((function(e){e.provideValues(T,k).forEach((function(e){var t=a?'"'+e.name+'"':e.name;o.items.push({label:e.name,filterText:t,kind:I.Unit,documentation:De(e,c),textEdit:b.replace(r,t),insertTextFormat:H.PlainText})}))})),L(),o}function x(e){return d===m.getTokenEnd()&&(A=m.scan())===e&&m.getTokenOffset()===d?m.getTokenEnd():d}function M(){for(var n=0,i=s;n<i.length;n++){var r=i[n];r.onHtmlContent&&r.onHtmlContent({document:e,position:t})}return L()}function L(){for(var e,n,a,s=d-1,l=t.character;s>=0&&Ce(h,s);)s--,l--;if(s>=0&&"&"===h[s]){var c=r.create(i.create(t.line,l-1),t);for(var u in Le)if(n=";",a=void 0,(a=(e=u).length-n.length)>0?e.lastIndexOf(n)===a:0===a&&e===n){var p="&"+u;o.items.push({label:p,kind:I.Keyword,documentation:Fe("entity.propose","Character entity representing '"+Le[u]+"'"),textEdit:b.replace(c,p),insertTextFormat:H.PlainText})}}return o}for(var E,A=m.scan();A!==ie.EOS&&m.getTokenOffset()<=d;){switch(A){case ie.StartTagOpen:if(m.getTokenEnd()===d){var R=x(ie.StartTag);return 0===t.line&&(E=void 0,E=g(d,R),o.items.push({label:"!DOCTYPE",kind:I.Property,documentation:"A preamble for an HTML document.",textEdit:b.replace(E,"!DOCTYPE html>"),insertTextFormat:H.PlainText})),T(d,R)}break;case ie.StartTag:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return _(m.getTokenOffset(),m.getTokenEnd());f=m.getTokenText();break;case ie.AttributeName:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return k(m.getTokenOffset(),m.getTokenEnd());p=m.getTokenText();break;case ie.DelimiterAssign:if(m.getTokenEnd()===d){R=x(ie.AttributeValue);return S(d,R)}break;case ie.AttributeValue:if(m.getTokenOffset()<=d&&d<=m.getTokenEnd())return S(m.getTokenOffset(),m.getTokenEnd());break;case ie.Whitespace:if(d<=m.getTokenEnd())switch(m.getScannerState()){case re.AfterOpeningStartTag:return T(m.getTokenOffset(),x(ie.StartTag));case re.WithinTag:case re.AfterAttributeName:return k(m.getTokenEnd());case re.BeforeAttributeValue:return S(m.getTokenEnd());case re.AfterOpeningEndTag:return v(m.getTokenOffset()-1,!1);case re.WithinContent:return M()}break;case ie.EndTagOpen:if(d<=m.getTokenEnd())return v(m.getTokenOffset()+1,!1,x(ie.EndTag));break;case ie.EndTag:if(d<=m.getTokenEnd())for(var z=m.getTokenOffset()-1;z>=0;){var U=h.charAt(z);if("/"===U)return v(z,!1,m.getTokenEnd());if(!je(U))break;z--}break;case ie.StartTagClose:if(d<=m.getTokenEnd()&&f)return y(m.getTokenEnd(),f);break;case ie.Content:if(d<=m.getTokenEnd())return M();break;default:if(d<=m.getTokenEnd())return o}A=m.scan()}return o},e.prototype.doTagComplete=function(e,t,n){var i=e.offsetAt(t);if(i<=0)return null;var r=e.getText().charAt(i-1);if(">"===r){if((o=n.findNodeBefore(i))&&o.tag&&!Me(o.tag)&&o.start<i&&(!o.endTagStart||o.endTagStart>i))for(var a=(s=ke(e.getText(),o.start)).scan();a!==ie.EOS&&s.getTokenEnd()<=i;){if(a===ie.StartTagClose&&s.getTokenEnd()===i)return"$0</"+o.tag+">";a=s.scan()}}else if("/"===r){for(var o=n.findNodeBefore(i);o&&o.closed;)o=o.parent;if(o&&o.tag){var s;for(a=(s=ke(e.getText(),o.start)).scan();a!==ie.EOS&&s.getTokenEnd()<=i;){if(a===ie.EndTagOpen&&s.getTokenEnd()===i)return o.tag+">";a=s.scan()}}}return null},e.prototype.convertCompletionList=function(e){return this.doesSupportMarkdown()||e.items.forEach((function(e){e.documentation&&"string"!=typeof e.documentation&&(e.documentation={kind:"plaintext",value:e.documentation.value})})),e},e.prototype.doesSupportMarkdown=function(){if(!Oe(this.supportsMarkdown)){if(!Oe(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities&&this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(R.Markdown)}return this.supportsMarkdown}}();function je(e){return/^\s*$/.test(e)}function Be(e,t,n,i){for(var r=ke(e,t,n),a=r.scan();a===ie.Whitespace;)a=r.scan();return a===i}!function(){function e(e){this.clientCapabilities=e}e.prototype.doHover=function(e,t,n){var i=this.convertContents.bind(this),r=this.doesSupportMarkdown(),a=e.offsetAt(t),o=n.findNodeAt(a);if(!o||!o.tag)return null;var s=Pe().filter((function(t){return t.isApplicable(e.languageId)}));function l(e,t,n){e=e.toLowerCase();for(var a=function(a){var o=null;if(a.provideTags().forEach((function(i){if(i.name.toLowerCase()===e.toLowerCase()){var a=n?"<"+e+">":"</"+e+">",s=De(i,r);s.value="```html\n"+a+"\n```\n"+s.value,o={contents:s,range:t}}})),o)return o.contents=i(o.contents),{value:o}},o=0,l=s;o<l.length;o++){var c=a(l[o]);if("object"==typeof c)return c.value}return null}function c(t,n){for(var i=ke(e.getText(),n),r=i.scan();r!==ie.EOS&&(i.getTokenEnd()<a||i.getTokenEnd()===a&&r!==t);)r=i.scan();return r===t&&a<=i.getTokenEnd()?{start:e.positionAt(i.getTokenOffset()),end:e.positionAt(i.getTokenEnd())}:null}if(o.endTagStart&&a>=o.endTagStart){var h=c(ie.EndTag,o.endTagStart);return h?l(o.tag,h,!1):null}var d=c(ie.StartTag,o.start);if(d)return l(o.tag,d,!0);var u=c(ie.AttributeName,o.start);if(u)return function(e,t,n){e=e.toLowerCase();for(var a=function(a){var o=null;if(a.provideAttributes(e).forEach((function(e){t===e.name&&e.description&&(o={contents:De(e,r),range:n})})),o)return o.contents=i(o.contents),{value:o}},o=0,l=s;o<l.length;o++){var c=a(l[o]);if("object"==typeof c)return c.value}return null}(m=o.tag,e.getText(u),u);var p=c(ie.AttributeValue,o.start);if(p){var m=o.tag,f=function(e){if(e.length<=1)return e.replace(/['"]/,"");"'"!==e[0]&&'"'!==e[0]||(e=e.slice(1));"'"!==e[e.length-1]&&'"'!==e[e.length-1]||(e=e.slice(0,-1));return e}(e.getText(p)),g=function(t,n){for(var i=ke(e.getText(),t),r=i.scan(),a=void 0;r!==ie.EOS&&i.getTokenEnd()<=n;)(r=i.scan())===ie.AttributeName&&(a=i.getTokenText());return a}(o.start,e.offsetAt(p.start));if(g)return function(e,t,n,a){e=e.toLowerCase();for(var o=function(o){var s=null;if(o.provideValues(e,t).forEach((function(e){n===e.name&&e.description&&(s={contents:De(e,r),range:a})})),s)return s.contents=i(s.contents),{value:s}},l=0,c=s;l<c.length;l++){var h=o(c[l]);if("object"==typeof h)return h.value}return null}(m,g,f,p)}return null},e.prototype.convertContents=function(e){if(!this.doesSupportMarkdown()){if("string"==typeof e)return e;if("kind"in e)return{kind:"plaintext",value:e.value};if(!Array.isArray(e))return e.value;e.map((function(e){return"string"==typeof e?e:e.value}))}return e},e.prototype.doesSupportMarkdown=function(){if(!Oe(this.supportsMarkdown)){if(!Oe(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;var e=this.clientCapabilities&&this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(R.Markdown)}return this.supportsMarkdown}}();(function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)})([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function a(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},a.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=a},,,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=a(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function a(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=a,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},,,,,function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},,function(e,t,n){var i=n(16).Beautifier,r=n(17).Options;e.exports=function(e,t){return new i(e,t).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(17).Options,r=n(2).Output,a=n(8).InputScanner,o=new(0,n(13).Directives)(/\/\*/,/\*\//),s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,h=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,u=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function p(e,t){this._source_text=e||"",this._options=new i(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}p.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},p.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=!0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(this._options.preserve_newlines||n)&&(n=!1,this._output.add_new_line(!0));return t},p.prototype.foundNestedPseudoClass=function(){for(var e=0,t=1,n=this._input.peek(t);n;){if("{"===n)return!0;if("("===n)e+=1;else if(")"===n){if(0===e)return!1;e-=1}else if(";"===n||"}"===n)return!1;t++,n=this._input.peek(t)}return!1},p.prototype.print_string=function(e){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(e)},p.prototype.preserveSingleSpace=function(e){e&&(this._output.space_before_token=!0)},p.prototype.indent=function(){this._indentLevel++},p.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&s.test(e||"")&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new r(this._options,n),this._input=new a(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var i,p,m=0,f=!1,g=!1,b=!1,_=!1,w=!1,v=this._ch;i=""!==this._input.read(h),p=v,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),v=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var y=this._input.read(d),T=o.get_directives(y);T&&"start"===T.ignore&&(y+=o.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(u)),this.eatWhitespace(!0);else if("@"===this._ch)if(this.preserveSingleSpace(i),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s$/,""),this.print_string(k),this._output.space_before_token=!0),"extend"===(k=k.replace(/\s$/,""))?_=!0:"import"===k&&(w=!0),k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(b=!0)):f||0!==m||-1===k.indexOf(":")||(g=!0,this.indent())}else"#"===this._ch&&"{"===this._input.peek()?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString("}"))):"{"===this._ch?(g&&(g=!1,this.outdent()),this.indent(),this._output.space_before_token=!0,this.print_string(this._ch),b?(b=!1,f=this._indentLevel>this._nestedLevel):f=this._indentLevel>=this._nestedLevel,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this.eatWhitespace(!0),this._output.add_new_line()):"}"===this._ch?(this.outdent(),this._output.add_new_line(),"{"===p&&this._output.trim(!0),w=!1,_=!1,g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0)):":"===this._ch?!f&&!b||this._input.lookBack("&")||this.foundNestedPseudoClass()||this._input.lookBack("(")||_||0!==m?(this._input.lookBack(" ")&&(this._output.space_before_token=!0),":"===this._input.peek()?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":")):(this.print_string(":"),g||(g=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):'"'===this._ch||"'"===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)):";"===this._ch?0===m?(g&&(this.outdent(),g=!1),_=!1,w=!1,this.print_string(this._ch),this.eatWhitespace(!0),"/"!==this._input.peek()&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0):"("===this._ch?this._input.lookBack("url")?(this.print_string(this._ch),this.eatWhitespace(),m++,this.indent(),this._ch=this._input.next(),")"===this._ch||'"'===this._ch||"'"===this._ch?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),m&&(m--,this.outdent()))):(this.preserveSingleSpace(i),this.print_string(this._ch),this.eatWhitespace(),m++,this.indent()):")"===this._ch?(m&&(m--,this.outdent()),this.print_string(this._ch)):","===this._ch?(this.print_string(this._ch),this.eatWhitespace(!0),!this._options.selector_separator_newline||g||0!==m||w?this._output.space_before_token=!0:this._output.add_new_line()):">"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==m?"]"===this._ch?this.print_string(this._ch):"["===this._ch?(this.preserveSingleSpace(i),this.print_string(this._ch)):"="===this._ch?(this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="")):"!"!==this._ch||this._input.lookBack("\\")?(this.preserveSingleSpace(i),this.print_string(this._ch)):(this.print_string(" "),this.print_string(this._ch)):this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=p},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t}r.prototype=new i,e.exports.Options=r}]),function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([,,function(e,t,n){function i(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function r(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function a(e,t){this.__indent_cache=new r(e,t),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}i.prototype.clone_empty=function(){var e=new i(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},i.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},i.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},i.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return 0===this.__items.length},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},i.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},r.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},r.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},r.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},a.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(e){for(var t=0;t<e.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(e.whitespace_before),this.current_line.push(e.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(e){this.__add_space_before_token(),this.current_line.push(e),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(e){for(var t=this.__lines.length;e<t;)this.__lines[e]._remove_indent(),e++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(e){for(e=void 0!==e&&e,this.current_line.trim();e&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(e,t){for(var n=this.__lines.length-2;n>=0;){var r=this.__lines[n];if(r.is_empty())break;if(0!==r.item(0).indexOf(e)&&r.item(-1)!==t){this.__lines.splice(n+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},e.exports.Output=a},function(e,t,n){e.exports.Token=function(e,t,n,i){this.type=e,this.text=t,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}},,,function(e,t,n){function i(e,t){this.raw_options=r(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php"],["auto"])}function r(e,t){var n,i={};for(n in e=a(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function a(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}i.prototype._get_array=function(e,t){var n=this.raw_options[e],i=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(i=n.concat()):"string"==typeof n&&(i=n.split(/[^a-zA-Z0-9_\/\-]+/)),i},i.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},i.prototype._get_characters=function(e,t){var n=this.raw_options[e],i=t||"";return"string"==typeof n&&(i=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),i},i.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var i=parseInt(n,10);return isNaN(i)&&(i=t),i},i.prototype._get_selection=function(e,t,n){var i=this._get_selection_list(e,t,n);if(1!==i.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i[0]},i.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var i=this._get_array(e,n);if(!this._is_valid_selection(i,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return i},i.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=i,e.exports.normalizeOpts=a,e.exports.mergeOpts=r},,function(e,t,n){var i=RegExp.prototype.hasOwnProperty("sticky");function r(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__input.charAt(this.__position),this.__position+=1),e},r.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__input_length&&(t=this.__input.charAt(e)),t},r.prototype.__match=function(e,t){e.lastIndex=t;var n=e.exec(this.__input);return!n||i&&e.sticky||n.index!==t&&(n=null),n},r.prototype.test=function(e,t){return t=t||0,(t+=this.__position)>=0&&t<this.__input_length&&!!this.__match(e,t)},r.prototype.testChar=function(e,t){var n=this.peek(t);return e.lastIndex=0,null!==n&&e.test(n)},r.prototype.match=function(e){var t=this.__match(e,this.__position);return t?this.__position+=t[0].length:t=null,t},r.prototype.read=function(e,t,n){var i,r="";return e&&(i=this.match(e))&&(r+=i[0]),!t||!i&&e||(r+=this.readUntil(t,n)),r},r.prototype.readUntil=function(e,t){var n,i=this.__position;e.lastIndex=this.__position;var r=e.exec(this.__input);return r?(i=r.index,t&&(i+=r[0].length)):i=this.__input_length,n=this.__input.substring(this.__position,i),this.__position=i,n},r.prototype.readUntilAfter=function(e){return this.readUntil(e,!0)},r.prototype.get_regexp=function(e,t){var n=null,r="g";return t&&i&&(r="y"),"string"==typeof e&&""!==e?n=new RegExp(e,r):e&&(n=new RegExp(e.source,r)),n},r.prototype.get_literal_regexp=function(e){return RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(e){var t=this.__position,n=this.readUntilAfter(e);return this.__position=t,n},r.prototype.lookBack=function(e){var t=this.__position-1;return t>=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=r},function(e,t,n){var i=n(8).InputScanner,r=n(3).Token,a=n(10).TokenStream,o=n(11).WhitespacePattern,s={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},l=function(e,t){this._input=new i(e),this._options=t||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};l.prototype.tokenize=function(){var e;this._input.restart(),this.__tokens=new a,this._reset();for(var t=new r(s.START,""),n=null,i=[],o=new a;t.type!==s.EOF;){for(e=this._get_next_token(t,n);this._is_comment(e);)o.add(e),e=this._get_next_token(t,n);o.isEmpty()||(e.comments_before=o,o=new a),e.parent=n,this._is_opening(e)?(i.push(n),n=e):n&&this._is_closing(e,n)&&(e.opened=n,n.closed=e,n=i.pop(),e.parent=n),e.previous=t,t.next=e,this.__tokens.add(e),t=e}return this.__tokens},l.prototype._is_first_token=function(){return this.__tokens.isEmpty()},l.prototype._reset=function(){},l.prototype._get_next_token=function(e,t){this._readWhitespace();var n=this._input.read(/.+/g);return n?this._create_token(s.RAW,n):this._create_token(s.EOF,"")},l.prototype._is_comment=function(e){return!1},l.prototype._is_opening=function(e){return!1},l.prototype._is_closing=function(e,t){return!1},l.prototype._create_token=function(e,t){return new r(e,t,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token)},l.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=l,e.exports.TOKEN=s},function(e,t,n){function i(e){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=e}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return 0===this.__tokens_length},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var e=null;return this.hasNext()&&(e=this.__tokens[this.__position],this.__position+=1),e},i.prototype.peek=function(e){var t=null;return e=e||0,(e+=this.__position)>=0&&e<this.__tokens_length&&(t=this.__tokens[e]),t},i.prototype.add=function(e){this.__parent_token&&(e.parent=this.__parent_token),this.__tokens.push(e),this.__tokens_length+=1},e.exports.TokenStream=i},function(e,t,n){var i=n(12).Pattern;function r(e,t){i.call(this,e,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new i,r.prototype.__set_whitespace_patterns=function(e,t){e+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+e+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var e=this._input.read(this._match_pattern);if(" "===e)this.whitespace_before_token=" ";else if(e){var t=this.__split(this._newline_regexp,e);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return e},r.prototype.matching=function(e,t){var n=this._create();return n.__set_whitespace_patterns(e,t),n._update(),n},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(e,t){e.lastIndex=0;for(var n=0,i=[],r=e.exec(t);r;)i.push(t.substring(n,r.index)),n=r.index+r[0].length,r=e.exec(t);return n<t.length?i.push(t.substring(n,t.length)):i.push(""),i},e.exports.WhitespacePattern=r},function(e,t,n){function i(e,t){this._input=e,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,t&&(this._starting_pattern=this._input.get_regexp(t._starting_pattern,!0),this._match_pattern=this._input.get_regexp(t._match_pattern,!0),this._until_pattern=this._input.get_regexp(t._until_pattern),this._until_after=t._until_after)}i.prototype.read=function(){var e=this._input.read(this._starting_pattern);return this._starting_pattern&&!e||(e+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),e},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(e){var t=this._create();return t._until_after=!0,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.until=function(e){var t=this._create();return t._until_after=!1,t._until_pattern=this._input.get_regexp(e),t._update(),t},i.prototype.starting_with=function(e){var t=this._create();return t._starting_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype.matching=function(e){var t=this._create();return t._match_pattern=this._input.get_regexp(e,!0),t._update(),t},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},e.exports.Pattern=i},function(e,t,n){function i(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}i.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},i.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=i},function(e,t,n){var i=n(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1};function a(e,t){i.call(this,e,t),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),t&&(this.__template_pattern=this._input.get_regexp(t.__template_pattern),this._excluded=Object.assign(this._excluded,t._excluded),this._disabled=Object.assign(this._disabled,t._disabled));var n=new i(e);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[=]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/)}}a.prototype=new i,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(e){var t=this._create();return t._disabled[e]=!0,t._update(),t},a.prototype.read_options=function(e){var t=this._create();for(var n in r)t._disabled[n]=-1===e.templating.indexOf(n);return t._update(),t},a.prototype.exclude=function(e){var t=this._create();return t._excluded[e]=!0,t._update(),t},a.prototype.read=function(){var e="";e=this._match_pattern?this._input.read(this._starting_pattern):this._input.read(this._starting_pattern,this.__template_pattern);for(var t=this._read_template();t;)this._match_pattern?t+=this._input.read(this._match_pattern):t+=this._input.readUntil(this.__template_pattern),e+=t,t=this._read_template();return this._until_after&&(e+=this._input.readUntilAfter(this._until_pattern)),e},a.prototype.__set_templated_pattern=function(){var e=[];this._disabled.php||e.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||e.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||e.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(e.push(this.__patterns.django._starting_pattern.source),e.push(this.__patterns.django_value._starting_pattern.source),e.push(this.__patterns.django_comment._starting_pattern.source)),this._until_pattern&&e.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+e.join("|")+")")},a.prototype._read_template=function(){var e="",t=this._input.peek();if("<"===t){var n=this._input.peek(1);this._disabled.php||this._excluded.php||"?"!==n||(e=e||this.__patterns.php.read()),this._disabled.erb||this._excluded.erb||"%"!==n||(e=e||this.__patterns.erb.read())}else"{"===t&&(this._disabled.handlebars||this._excluded.handlebars||(e=(e=(e=e||this.__patterns.handlebars_comment.read())||this.__patterns.handlebars_unescaped.read())||this.__patterns.handlebars.read()),this._disabled.django||(this._excluded.django||this._excluded.handlebars||(e=e||this.__patterns.django_value.read()),this._excluded.django||(e=(e=e||this.__patterns.django_comment.read())||this.__patterns.django.read())));return e},e.exports.TemplatablePattern=a},,,,function(e,t,n){var i=n(19).Beautifier,r=n(20).Options;e.exports=function(e,t,n,r){return new i(e,t,n,r).beautify()},e.exports.defaultOptions=function(){return new r}},function(e,t,n){var i=n(20).Options,r=n(2).Output,a=n(21).Tokenizer,o=n(21).TOKEN,s=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=function(e,t){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=e.max_preserve_newlines,this.preserve_newlines=e.preserve_newlines,this._output=new r(e,t)};c.prototype.current_line_has_match=function(e){return this._output.current_line.has_match(e)},c.prototype.set_space_before_token=function(e,t){this._output.space_before_token=e,this._output.non_breaking_space=t},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(e){this._output.add_raw_token(e)},c.prototype.print_preserved_newlines=function(e){var t=0;e.type!==o.TEXT&&e.previous.type!==o.TEXT&&(t=e.newlines?1:0),this.preserve_newlines&&(t=e.newlines<this.max_preserve_newlines+1?e.newlines:this.max_preserve_newlines+1);for(var n=0;n<t;n++)this.print_newline(n>0);return 0!==t},c.prototype.traverse_whitespace=function(e){return!(!e.whitespace_before&&!e.newlines)&&(this.print_preserved_newlines(e)||(this._output.space_before_token=!0),!0)},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(e){this._output.add_new_line(e)},c.prototype.print_token=function(e){e.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(e.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.get_full_indent=function(e){return(e=this.indent_level+(e||0))<1?"":this._output.get_indent_string(e)};var h=function(e,t){var n=null,i=null;return t.closed?("script"===e?n="text/javascript":"style"===e&&(n="text/css"),(n=function(e){for(var t=null,n=e.next;n.type!==o.EOF&&e.closed!==n;){if(n.type===o.ATTRIBUTE&&"type"===n.text){n.next&&n.next.type===o.EQUALS&&n.next.next&&n.next.next.type===o.VALUE&&(t=n.next.next.text);break}n=n.next}return t}(t)||n).search("text/css")>-1?i="css":n.search(/(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1?i="javascript":n.search(/(text|application|dojo)\/(x-)?(html)/)>-1?i="html":n.search(/test\/null/)>-1&&(i="null"),i):null};function d(e,t){return-1!==t.indexOf(e)}function u(e,t,n){this.parent=e||null,this.tag=t?t.tag_name:"",this.indent_level=n||0,this.parser_token=t||null}function p(e){this._printer=e,this._current_frame=null}function m(e,t,n,r){this._source_text=e||"",t=t||{},this._js_beautify=n,this._css_beautify=r,this._tag_stack=null;var a=new i(t,"html");this._options=a,this._is_wrap_attributes_force="force"===this._options.wrap_attributes.substr(0,"force".length),this._is_wrap_attributes_force_expand_multiline="force-expand-multiline"===this._options.wrap_attributes,this._is_wrap_attributes_force_aligned="force-aligned"===this._options.wrap_attributes,this._is_wrap_attributes_aligned_multiple="aligned-multiple"===this._options.wrap_attributes,this._is_wrap_attributes_preserve="preserve"===this._options.wrap_attributes.substr(0,"preserve".length),this._is_wrap_attributes_preserve_aligned="preserve-aligned"===this._options.wrap_attributes}p.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},p.prototype.record_tag=function(e){var t=new u(this._current_frame,e,this._printer.indent_level);this._current_frame=t},p.prototype._try_pop_frame=function(e){var t=null;return e&&(t=e.parser_token,this._printer.indent_level=e.indent_level,this._current_frame=e.parent),t},p.prototype._get_frame=function(e,t){for(var n=this._current_frame;n&&-1===e.indexOf(n.tag);){if(t&&-1!==t.indexOf(n.tag)){n=null;break}n=n.parent}return n},p.prototype.try_pop=function(e,t){var n=this._get_frame([e],t);return this._try_pop_frame(n)},p.prototype.indent_to_tag=function(e){var t=this._get_frame(e);t&&(this._printer.indent_level=t.indent_level)},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===this._options.eol&&(t="\n",e&&s.test(e)&&(t=e.match(s)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0],i={text:"",type:""},r=new f,h=new c(this._options,n),d=new a(e,this._options).tokenize();this._tag_stack=new p(h);for(var u=null,m=d.next();m.type!==o.EOF;)m.type===o.TAG_OPEN||m.type===o.COMMENT?r=u=this._handle_tag_open(h,m,r,i):m.type===o.ATTRIBUTE||m.type===o.EQUALS||m.type===o.VALUE||m.type===o.TEXT&&!r.tag_complete?u=this._handle_inside_tag(h,m,r,d):m.type===o.TAG_CLOSE?u=this._handle_tag_close(h,m,r):m.type===o.TEXT?u=this._handle_text(h,m,r):h.add_raw_token(m),i=u,m=d.next();return h._output.get_code(t)},m.prototype._handle_tag_close=function(e,t,n){var i={text:t.text,type:t.type};return e.alignment_size=0,n.tag_complete=!0,e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted?e.add_raw_token(t):("<"===n.tag_start_char&&(e.set_space_before_token("/"===t.text[0],!0),this._is_wrap_attributes_force_expand_multiline&&n.has_wrapped_attrs&&e.print_newline(!1)),e.print_token(t)),!n.indent_content||n.is_unformatted||n.is_content_unformatted||(e.indent(),n.indent_content=!1),n.is_inline_element||n.is_unformatted||n.is_content_unformatted||e.set_wrap_point(),i},m.prototype._handle_inside_tag=function(e,t,n,i){var r=n.has_wrapped_attrs,a={text:t.text,type:t.type};if(e.set_space_before_token(t.newlines||""!==t.whitespace_before,!0),n.is_unformatted)e.add_raw_token(t);else if("{"===n.tag_start_char&&t.type===o.TEXT)e.print_preserved_newlines(t)?(t.newlines=0,e.add_raw_token(t)):e.print_token(t);else{if(t.type===o.ATTRIBUTE?(e.set_space_before_token(!0),n.attr_count+=1):(t.type===o.EQUALS||t.type===o.VALUE&&t.previous.type===o.EQUALS)&&e.set_space_before_token(!1),t.type===o.ATTRIBUTE&&"<"===n.tag_start_char&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(e.traverse_whitespace(t),r=r||0!==t.newlines),this._is_wrap_attributes_force)){var s=n.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&1===n.attr_count){var l,c=!0,h=0;do{if((l=i.peek(h)).type===o.ATTRIBUTE){c=!1;break}h+=1}while(h<4&&l.type!==o.EOF&&l.type!==o.TAG_CLOSE);s=!c}s&&(e.print_newline(!1),r=!0)}e.print_token(t),r=r||e.previous_token_wrapped(),n.has_wrapped_attrs=r}return a},m.prototype._handle_text=function(e,t,n){var i={text:t.text,type:"TK_CONTENT"};return n.custom_beautifier_name?this._print_custom_beatifier_text(e,t,n):n.is_unformatted||n.is_content_unformatted?e.add_raw_token(t):(e.traverse_whitespace(t),e.print_token(t)),i},m.prototype._print_custom_beatifier_text=function(e,t,n){var i=this;if(""!==t.text){var r,a=t.text,o=1,s="",l="";"javascript"===n.custom_beautifier_name&&"function"==typeof this._js_beautify?r=this._js_beautify:"css"===n.custom_beautifier_name&&"function"==typeof this._css_beautify?r=this._css_beautify:"html"===n.custom_beautifier_name&&(r=function(e,t){return new m(e,t,i._js_beautify,i._css_beautify).beautify()}),"keep"===this._options.indent_scripts?o=0:"separate"===this._options.indent_scripts&&(o=-e.indent_level);var c=e.get_full_indent(o);if(a=a.replace(/\n[ \t]*$/,""),"html"!==n.custom_beautifier_name&&"<"===a[0]&&a.match(/^(<!--|<!\[CDATA\[)/)){var h=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(a);if(!h)return void e.add_raw_token(t);s=c+h[1]+"\n",a=h[4],h[5]&&(l=c+h[5]),a=a.replace(/\n[ \t]*$/,""),(h[2]||-1!==h[3].indexOf("\n"))&&(h=h[3].match(/[ \t]+$/))&&(t.whitespace_before=h[0])}if(a)if(r){var d=function(){this.eol="\n"};d.prototype=this._options.raw_options,a=r(c+a,new d)}else{var u=t.whitespace_before;u&&(a=a.replace(new RegExp("\n("+u+")?","g"),"\n")),a=c+a.replace(/\n/g,"\n"+c)}s&&(a=a?s+a+"\n"+l:s+l),e.print_newline(!1),a&&(t.text=a,t.whitespace_before="",t.newlines=0,e.add_raw_token(t),e.print_newline(!0))}},m.prototype._handle_tag_open=function(e,t,n,i){var r=this._get_tag_open_token(t);return(n.is_unformatted||n.is_content_unformatted)&&t.type===o.TAG_OPEN&&0===t.text.indexOf("</")?e.add_raw_token(t):(e.traverse_whitespace(t),this._set_tag_position(e,t,r,n,i),r.is_inline_element||e.set_wrap_point(),e.print_token(t)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(r.alignment_size=t.text.length+1),r.tag_complete||r.is_unformatted||(e.alignment_size=r.alignment_size),r};var f=function(e,t){var n;(this.parent=e||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",t)?(this.tag_start_char=t.text[0],this.text=t.text,"<"===this.tag_start_char?(n=t.text.match(/^<([^\s>]*)/),this.tag_check=n?n[1]:""):(n=t.text.match(/^{{[#\^]?([^\s}]+)/),this.tag_check=n?n[1]:""),this.tag_check=this.tag_check.toLowerCase(),t.type===o.COMMENT&&(this.tag_complete=!0),this.is_start_tag="/"!==this.tag_check.charAt(0),this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||t.closed&&"/>"===t.closed.text,this.is_end_tag=this.is_end_tag||"{"===this.tag_start_char&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(2)))):this.tag_complete=!0};m.prototype._get_tag_open_token=function(e){var t=new f(this._tag_stack.get_parser_token(),e);return t.alignment_size=this._options.wrap_attributes_indent_size,t.is_end_tag=t.is_end_tag||d(t.tag_check,this._options.void_elements),t.is_empty_element=t.tag_complete||t.is_start_tag&&t.is_end_tag,t.is_unformatted=!t.tag_complete&&d(t.tag_check,this._options.unformatted),t.is_content_unformatted=!t.is_empty_element&&d(t.tag_check,this._options.content_unformatted),t.is_inline_element=d(t.tag_name,this._options.inline)||"{"===t.tag_start_char,t},m.prototype._set_tag_position=function(e,t,n,i,r){if(n.is_empty_element||(n.is_end_tag?n.start_tag_token=this._tag_stack.try_pop(n.tag_name):(this._do_optional_end_element(n)&&(n.is_inline_element||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1))),this._tag_stack.record_tag(n),"script"!==n.tag_name&&"style"!==n.tag_name||n.is_unformatted||n.is_content_unformatted||(n.custom_beautifier_name=h(n.tag_check,t)))),d(n.tag_check,this._options.extra_liners)&&(e.print_newline(!1),e._output.just_added_blankline()||e.print_newline(!0)),n.is_empty_element){if("{"===n.tag_start_char&&"else"===n.tag_check)this._tag_stack.indent_to_tag(["if","unless","each"]),n.indent_content=!0,e.current_line_has_match(/{{#if/)||e.print_newline(!1);"!--"===n.tag_name&&r.type===o.TAG_CLOSE&&i.is_end_tag&&-1===n.text.indexOf("\n")||n.is_inline_element||n.is_unformatted||e.print_newline(!1)}else n.is_unformatted||n.is_content_unformatted?n.is_inline_element||n.is_unformatted||e.print_newline(!1):n.is_end_tag?(n.start_tag_token&&n.start_tag_token.multiline_content||!(n.is_inline_element||i.is_inline_element||r.type===o.TAG_CLOSE&&n.start_tag_token===i||"TK_CONTENT"===r.type))&&e.print_newline(!1):(n.indent_content=!n.custom_beautifier_name,"<"===n.tag_start_char&&("html"===n.tag_name?n.indent_content=this._options.indent_inner_html:"head"===n.tag_name?n.indent_content=this._options.indent_head_inner_html:"body"===n.tag_name&&(n.indent_content=this._options.indent_body_inner_html)),n.is_inline_element||"TK_CONTENT"===r.type||(n.parent&&(n.parent.multiline_content=!0),e.print_newline(!1)))},m.prototype._do_optional_end_element=function(e){var t=null;if(!e.is_empty_element&&e.is_start_tag&&e.parent)return"body"===e.tag_name?t=t||this._tag_stack.try_pop("head"):"li"===e.tag_name?t=t||this._tag_stack.try_pop("li",["ol","ul"]):"dd"===e.tag_name||"dt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("dt",["dl"]))||this._tag_stack.try_pop("dd",["dl"]):"rp"===e.tag_name||"rt"===e.tag_name?t=(t=t||this._tag_stack.try_pop("rt",["ruby","rtc"]))||this._tag_stack.try_pop("rp",["ruby","rtc"]):"optgroup"===e.tag_name?t=t||this._tag_stack.try_pop("optgroup",["select"]):"option"===e.tag_name?t=t||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):"colgroup"===e.tag_name?t=t||this._tag_stack.try_pop("caption",["table"]):"thead"===e.tag_name?t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]):"tbody"===e.tag_name||"tfoot"===e.tag_name?t=(t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("thead",["table"]))||this._tag_stack.try_pop("tbody",["table"]):"tr"===e.tag_name?t=(t=(t=t||this._tag_stack.try_pop("caption",["table"]))||this._tag_stack.try_pop("colgroup",["table"]))||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"]):"th"!==e.tag_name&&"td"!==e.tag_name||(t=(t=t||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]))||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"])),e.parent=this._tag_stack.get_parser_token(),t},e.exports.Beautifier=m},function(e,t,n){var i=n(6).Options;function r(e){i.call(this,e,"html"),1===this.templating.length&&"auto"===this.templating[0]&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}r.prototype=new i,e.exports.Options=r},function(e,t,n){var i=n(9).Tokenizer,r=n(9).TOKEN,a=n(13).Directives,o=n(14).TemplatablePattern,s=n(12).Pattern,l={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new a(/<\!--/,/-->/),h=function(e,t){i.call(this,e,t),this._current_tag_name="";var n=new o(this._input).read_options(this._options),r=new s(this._input);if(this.__patterns={word:n.until(/[\n\r\t <]/),single_quote:n.until_after(/'/),double_quote:n.until_after(/"/),attribute:n.until(/[\n\r\t =\/>]/),element_name:n.until(/[\n\r\t >\/]/),handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),handlebars_open:r.until(/[\n\r\t }]/),handlebars_raw_close:r.until(/}}/),comment:r.starting_with(/<!--/).until_after(/-->/),cdata:r.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:r.starting_with(/<!\[/).until_after(/]>/),processing:r.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var a=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=r.matching(a).until_after(a)}};(h.prototype=new i)._is_comment=function(e){return!1},h.prototype._is_opening=function(e){return e.type===l.TAG_OPEN},h.prototype._is_closing=function(e,t){return e.type===l.TAG_CLOSE&&t&&((">"===e.text||"/>"===e.text)&&"<"===t.text[0]||"}}"===e.text&&"{"===t.text[0]&&"{"===t.text[1])},h.prototype._reset=function(){this._current_tag_name=""},h.prototype._get_next_token=function(e,t){var n=null;this._readWhitespace();var i=this._input.peek();return null===i?this._create_token(l.EOF,""):n=(n=(n=(n=(n=(n=(n=(n=(n=n||this._read_open_handlebars(i,t))||this._read_attribute(i,e,t))||this._read_raw_content(i,e,t))||this._read_close(i,t))||this._read_content_word(i))||this._read_comment_or_cdata(i))||this._read_processing(i))||this._read_open(i,t))||this._create_token(l.UNKNOWN,this._input.next())},h.prototype._read_comment_or_cdata=function(e){var t=null,n=null,i=null;"<"===e&&("!"===this._input.peek(1)&&((n=this.__patterns.comment.read())?(i=c.get_directives(n))&&"start"===i.ignore&&(n+=c.readIgnored(this._input)):n=this.__patterns.cdata.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=i));return t},h.prototype._read_processing=function(e){var t=null,n=null;if("<"===e){var i=this._input.peek(1);"!"!==i&&"?"!==i||(n=(n=this.__patterns.conditional_comment.read())||this.__patterns.processing.read()),n&&((t=this._create_token(l.COMMENT,n)).directives=null)}return t},h.prototype._read_open=function(e,t){var n=null,i=null;return t||"<"===e&&(n=this._input.next(),"/"===this._input.peek()&&(n+=this._input.next()),n+=this.__patterns.element_name.read(),i=this._create_token(l.TAG_OPEN,n)),i},h.prototype._read_open_handlebars=function(e,t){var n=null,i=null;return t||this._options.indent_handlebars&&"{"===e&&"{"===this._input.peek(1)&&("!"===this._input.peek(2)?(n=(n=this.__patterns.handlebars_comment.read())||this.__patterns.handlebars.read(),i=this._create_token(l.COMMENT,n)):(n=this.__patterns.handlebars_open.read(),i=this._create_token(l.TAG_OPEN,n))),i},h.prototype._read_close=function(e,t){var n=null,i=null;return t&&("<"===t.text[0]&&(">"===e||"/"===e&&">"===this._input.peek(1))?(n=this._input.next(),"/"===e&&(n+=this._input.next()),i=this._create_token(l.TAG_CLOSE,n)):"{"===t.text[0]&&"}"===e&&"}"===this._input.peek(1)&&(this._input.next(),this._input.next(),i=this._create_token(l.TAG_CLOSE,"}}"))),i},h.prototype._read_attribute=function(e,t,n){var i=null,r="";if(n&&"<"===n.text[0])if("="===e)i=this._create_token(l.EQUALS,this._input.next());else if('"'===e||"'"===e){var a=this._input.next();a+='"'===e?this.__patterns.double_quote.read():this.__patterns.single_quote.read(),i=this._create_token(l.VALUE,a)}else(r=this.__patterns.attribute.read())&&(i=t.type===l.EQUALS?this._create_token(l.VALUE,r):this._create_token(l.ATTRIBUTE,r));return i},h.prototype._is_content_unformatted=function(e){return-1===this._options.void_elements.indexOf(e)&&(-1!==this._options.content_unformatted.indexOf(e)||-1!==this._options.unformatted.indexOf(e))},h.prototype._read_raw_content=function(e,t,n){var i="";if(n&&"{"===n.text[0])i=this.__patterns.handlebars_raw_close.read();else if(t.type===l.TAG_CLOSE&&"<"===t.opened.text[0]){var r=t.opened.text.substr(1).toLowerCase();if("script"===r||"style"===r){var a=this._read_comment_or_cdata(e);if(a)return a.type=l.TEXT,a;i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(r)&&(i=this._input.readUntil(new RegExp("</"+r+"[\\n\\r\\t ]*?>","ig")))}return i?this._create_token(l.TEXT,i):null},h.prototype._read_content_word=function(e){var t="";if(this._options.unformatted_content_delimiter&&e===this._options.unformatted_content_delimiter[0]&&(t=this.__patterns.unformatted_content_delimiter.read()),t||(t=this.__patterns.word.read()),t)return this._create_token(l.TEXT,t)},e.exports.Tokenizer=h,e.exports.TOKEN=l}]);n("Nsby");var Ge,Ve=function(){function e(e,t,n,i){this._uri=e,this._languageId=t,this._version=n,this._content=i,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content},e.prototype.update=function(t,n){for(var i=0,r=t;i<r.length;i++){var a=r[i];if(e.isIncremental(a)){var o=Je(a.range),s=this.offsetAt(o.start),l=this.offsetAt(o.end);this._content=this._content.substring(0,s)+a.text+this._content.substring(l,this._content.length);var c=Math.max(o.start.line,0),h=Math.max(o.end.line,0),d=this._lineOffsets,u=Ke(a.text,!1,s);if(h-c===u.length)for(var p=0,m=u.length;p<m;p++)d[p+c+1]=u[p];else u.length<1e4?d.splice.apply(d,[c+1,h-c].concat(u)):this._lineOffsets=d=d.slice(0,c+1).concat(u,d.slice(h+1));var f=a.text.length-(l-s);if(0!==f)for(p=c+1+u.length,m=d.length;p<m;p++)d[p]=d[p]+f}else{if(!e.isFull(a))throw new Error("Unknown change event received");this._content=a.text,this._lineOffsets=void 0}}this._version=n},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=Ke(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),n=0,i=t.length;if(0===i)return{line:0,character:e};for(;n<i;){var r=Math.floor((n+i)/2);t[r]>e?i=r:n=r+1}var a=n-1;return{line:a,character:e-t[a]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var n=t[e.line],i=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function Ke(e,t,n){void 0===n&&(n=0);for(var i=t?[n]:[],r=0;r<e.length;r++){var a=e.charCodeAt(r);13!==a&&10!==a||(13===a&&r+1<e.length&&10===e.charCodeAt(r+1)&&r++,i.push(n+r+1))}return i}function Je(e){var t=e.start,n=e.end;return t.line>n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Ye(e){var t=Je(e.range);return t!==e.range?{newText:e.newText,range:t}:e}!function(e){e.create=function(e,t,n,i){return new Ve(e,t,n,i)},e.update=function(e,t,n){if(e instanceof Ve)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var n=e.getText(),i=function e(t,n){if(t.length<=1)return t;var i=t.length/2|0,r=t.slice(0,i),a=t.slice(i);e(r,n),e(a,n);var o=0,s=0,l=0;for(;o<r.length&&s<a.length;){var c=n(r[o],a[s]);t[l++]=c<=0?r[o++]:a[s++]}for(;o<r.length;)t[l++]=r[o++];for(;s<a.length;)t[l++]=a[s++];return t}(t.map(Ye),(function(e,t){var n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),r=n.length,a=i.length-1;a>=0;a--){var o=i[a],s=e.offsetAt(o.range.start),l=e.offsetAt(o.range.end);if(!(l<=r))throw new Error("Overlapping edit");n=n.substring(0,s)+o.newText+n.substring(l,n.length),r=s}return n}}(Ge||(Ge={}));var Xe=monaco.Uri,$e=monaco.Range,Qe=function(){function e(e,t,n){var i=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var r=function(e){var t,n=e.getModeId();n===i._languageId&&(i._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return i._doValidate(e.uri,n)}),500)})),i._doValidate(e.uri,n))},a=function(e){monaco.editor.setModelMarkers(e,i._languageId,[]);var t=e.uri.toString(),n=i._listener[t];n&&(n.dispose(),delete i._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(r)),this._disposables.push(monaco.editor.onWillDisposeModel((function(e){a(e)}))),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){a(e.model),r(e.model)}))),this._disposables.push(n.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===i._languageId&&(a(e),r(e))}))}))),this._disposables.push({dispose:function(){for(var e in i._listener)i._listener[e].dispose()}}),monaco.editor.getModels().forEach(r)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._doValidate=function(e,t){this._worker(e).then((function(n){return n.doValidation(e.toString()).then((function(n){var i=n.map((function(e){return n="number"==typeof(t=e).code?String(t.code):t.code,{severity:Ze(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:n,source:t.source};var t,n}));monaco.editor.setModelMarkers(monaco.editor.getModel(e),t,i)}))})).then(void 0,(function(e){console.error(e)}))},e}();function Ze(e){switch(e){case p.Error:return monaco.MarkerSeverity.Error;case p.Warning:return monaco.MarkerSeverity.Warning;case p.Information:return monaco.MarkerSeverity.Info;case p.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function et(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function tt(e){if(e)return new $e(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function nt(e){var t=monaco.languages.CompletionItemKind;switch(e){case I.Text:return t.Text;case I.Method:return t.Method;case I.Function:return t.Function;case I.Constructor:return t.Constructor;case I.Field:return t.Field;case I.Variable:return t.Variable;case I.Class:return t.Class;case I.Interface:return t.Interface;case I.Module:return t.Module;case I.Property:return t.Property;case I.Unit:return t.Unit;case I.Value:return t.Value;case I.Enum:return t.Enum;case I.Keyword:return t.Keyword;case I.Snippet:return t.Snippet;case I.Color:return t.Color;case I.File:return t.File;case I.Reference:return t.Reference}return t.Property}function it(e){if(e)return{range:tt(e.range),text:e.newText}}var rt=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doComplete(r.toString(),et(t))})).then((function(n){if(n){var i=e.getWordUntilPosition(t),r=new $e(t.lineNumber,i.startColumn,t.lineNumber,i.endColumn),a=n.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:r,kind:nt(e.kind)};return e.textEdit&&(t.range=tt(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(it)),e.insertTextFormat===H.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:n.isIncomplete,suggestions:a}}}))},e}();function at(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function ot(e){if(e)return Array.isArray(e)?e.map(at):[at(e)]}var st=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.doHover(i.toString(),et(t))})).then((function(e){if(e)return{range:tt(e.range),contents:ot(e.contents)}}))},e}();function lt(e){var t=monaco.languages.DocumentHighlightKind;switch(e){case O.Read:return t.Read;case O.Write:return t.Write;case O.Text:return t.Text}return t.Text}var ct=function(){function e(e){this._worker=e}return e.prototype.provideDocumentHighlights=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.findDocumentHighlights(i.toString(),et(t))})).then((function(e){if(e)return e.map((function(e){return{range:tt(e.range),kind:lt(e.kind)}}))}))},e}();function ht(e){var t=monaco.languages.SymbolKind;switch(e){case j.File:return t.Array;case j.Module:return t.Module;case j.Namespace:return t.Namespace;case j.Package:return t.Package;case j.Class:return t.Class;case j.Method:return t.Method;case j.Property:return t.Property;case j.Field:return t.Field;case j.Constructor:return t.Constructor;case j.Enum:return t.Enum;case j.Interface:return t.Interface;case j.Function:return t.Function;case j.Variable:return t.Variable;case j.Constant:return t.Constant;case j.String:return t.String;case j.Number:return t.Number;case j.Boolean:return t.Boolean;case j.Array:return t.Array}return t.Function}var dt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentSymbols(n.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:ht(e.kind),tags:[],range:tt(e.location.range),selectionRange:tt(e.location.range)}}))}))},e}(),ut=function(){function e(e){this._worker=e}return e.prototype.provideLinks=function(e,t){var n=e.uri;return this._worker(n).then((function(e){return e.findDocumentLinks(n.toString())})).then((function(e){if(e)return{links:e.map((function(e){return{range:tt(e.range),url:e.target}}))}}))},e}();function pt(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var mt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),null,pt(t)).then((function(e){if(e&&0!==e.length)return e.map(it)}))}))},e}(),ft=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.format(r.toString(),function(e){if(e)return{start:et(e.getStartPosition()),end:et(e.getEndPosition())}}(t),pt(n)).then((function(e){if(e&&0!==e.length)return e.map(it)}))}))},e}(),gt=function(){function e(e){this._worker=e}return e.prototype.provideRenameEdits=function(e,t,n,i){var r=e.uri;return this._worker(r).then((function(e){return e.doRename(r.toString(),et(t),n)})).then((function(e){return function(e){if(!e||!e.changes)return;var t=[];for(var n in e.changes)for(var i=Xe.parse(n),r=0,a=e.changes[n];r<a.length;r++){var o=a[r];t.push({resource:i,edit:{range:tt(o.range),text:o.newText}})}return{edits:t}}(e)}))},e}();var bt=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getFoldingRanges(i.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case h.Comment:return monaco.languages.FoldingRangeKind.Comment;case h.Imports:return monaco.languages.FoldingRangeKind.Imports;case h.Region:return monaco.languages.FoldingRangeKind.Region}}(e.kind)),t}))}))},e}();var _t=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,n){var i=e.uri;return this._worker(i).then((function(e){return e.getSelectionRanges(i.toString(),t.map(et))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:tt(e.range)}),e=e.parent;return t}))}))},e}();function wt(e){var t=new k(e),n=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.getLanguageServiceWorker.apply(t,e)},i=e.languageId;monaco.languages.registerCompletionItemProvider(i,new rt(n)),monaco.languages.registerHoverProvider(i,new st(n)),monaco.languages.registerDocumentHighlightProvider(i,new ct(n)),monaco.languages.registerLinkProvider(i,new ut(n)),monaco.languages.registerFoldingRangeProvider(i,new bt(n)),monaco.languages.registerDocumentSymbolProvider(i,new dt(n)),monaco.languages.registerSelectionRangeProvider(i,new _t(n)),monaco.languages.registerRenameProvider(i,new gt(n)),"html"===i&&(monaco.languages.registerDocumentFormattingEditProvider(i,new mt(n)),monaco.languages.registerDocumentRangeFormattingEditProvider(i,new ft(n)),new Qe(i,n,e))}function vt(e){var t=[],n=[],i=new k(e);t.push(i);var r,a,o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.getLanguageServiceWorker.apply(i,e)};return r=e.languageId,a=e.modeConfiguration,Tt(n),a.completionItems&&n.push(monaco.languages.registerCompletionItemProvider(r,new rt(o))),a.hovers&&n.push(monaco.languages.registerHoverProvider(r,new st(o))),a.documentHighlights&&n.push(monaco.languages.registerDocumentHighlightProvider(r,new ct(o))),a.links&&n.push(monaco.languages.registerLinkProvider(r,new ut(o))),a.documentSymbols&&n.push(monaco.languages.registerDocumentSymbolProvider(r,new dt(o))),a.rename&&n.push(monaco.languages.registerRenameProvider(r,new gt(o))),a.foldingRanges&&n.push(monaco.languages.registerFoldingRangeProvider(r,new bt(o))),a.selectionRanges&&n.push(monaco.languages.registerSelectionRangeProvider(r,new _t(o))),a.documentFormattingEdits&&n.push(monaco.languages.registerDocumentFormattingEditProvider(r,new mt(o))),a.documentRangeFormattingEdits&&n.push(monaco.languages.registerDocumentRangeFormattingEditProvider(r,new ft(o))),a.diagnostics&&n.push(new Qe(r,o,e)),t.push(yt(n)),yt(t)}function yt(e){return{dispose:function(){return Tt(e)}}}function Tt(e){for(;e.length;)e.pop().dispose()}},Nsby:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));var i,r,a,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)});if("object"==typeof e)a="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;a=s.indexOf("Windows")>=0}var l=/^\w[\w\d+.-]*$/,c=/^\//,h=/^\/\//;var d="/",u=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,n,i,r,a){void 0===a&&(a=!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,a),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==d&&(t=d+t):t=d}return t}(this.scheme,n||""),this.query=i||"",this.fragment=r||"",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&&!l.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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(h.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,a))}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 w(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,n=e.authority,i=e.path,r=e.query,a=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===r?r=this.query:null===r&&(r=""),void 0===a?a=this.fragment:null===a&&(a=""),t===this.scheme&&n===this.authority&&i===this.path&&r===this.query&&a===this.fragment?this:new f(t,n,i,r,a)},e.parse=function(e,t){void 0===t&&(t=!1);var n=u.exec(e);return n?new f(n[2]||"",decodeURIComponent(n[4]||""),decodeURIComponent(n[5]||""),decodeURIComponent(n[7]||""),decodeURIComponent(n[9]||""),t):new f("","","","","")},e.file=function(e){var t="";if(a&&(e=e.replace(/\\/g,d)),e[0]===d&&e[1]===d){var n=e.indexOf(d,2);-1===n?(t=e.substring(2),e=d):(t=e.substring(2,n),e=e.substring(n)||d)}return new f("file",t,e,"","")},e.from=function(e){return new f(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),v(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var n=new f(t);return n._formatted=t.external,n._fsPath=t._sep===m?t.fsPath:null,n}return t},e}(),m=a?1:void 0,f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return o(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=w(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),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}(p),g=((r={})[58]="%3A",r[47]="%2F",r[63]="%3F",r[35]="%23",r[91]="%5B",r[93]="%5D",r[64]="%40",r[33]="%21",r[36]="%24",r[38]="%26",r[39]="%27",r[40]="%28",r[41]="%29",r[42]="%2A",r[43]="%2B",r[44]="%2C",r[59]="%3B",r[61]="%3D",r[32]="%20",r);function b(e,t){for(var n=void 0,i=-1,r=0;r<e.length;r++){var a=e.charCodeAt(r);if(a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||45===a||46===a||95===a||126===a||t&&47===a)-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),void 0!==n&&(n+=e.charAt(r));else{void 0===n&&(n=e.substr(0,r));var o=g[a];void 0!==o?(-1!==i&&(n+=encodeURIComponent(e.substring(i,r)),i=-1),n+=o):-1===i&&(i=r)}}return-1!==i&&(n+=encodeURIComponent(e.substring(i))),void 0!==n?n:e}function _(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 w(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,a&&(t=t.replace(/\//g,"\\")),t}function v(e,t){var n=t?_:b,i="",r=e.scheme,a=e.authority,o=e.path,s=e.query,l=e.fragment;if(r&&(i+=r,i+=":"),(a||"file"===r)&&(i+=d,i+=d),a){var c=a.indexOf("@");if(-1!==c){var h=a.substr(0,c);a=a.substr(c+1),-1===(c=h.indexOf(":"))?i+=n(h,!1):(i+=n(h.substr(0,c),!1),i+=":",i+=n(h.substr(c+1),!1)),i+="@"}-1===(c=(a=a.toLowerCase()).indexOf(":"))?i+=n(a,!1):(i+=n(a.substr(0,c),!1),i+=a.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(u=o.charCodeAt(1))>=65&&u<=90&&(o="/"+String.fromCharCode(u+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var u;(u=o.charCodeAt(0))>=65&&u<=90&&(o=String.fromCharCode(u+32)+":"+o.substr(2))}i+=n(o,!0)}return s&&(i+="?",i+=n(s,!1)),l&&(i+="#",i+=t?l:b(l,!1)),i}}).call(this,n("KCCg"))}}]); \ No newline at end of file diff --git a/static/js/94.c411b828.chunk.js b/static/js/95.4394350f.chunk.js similarity index 99% rename from static/js/94.c411b828.chunk.js rename to static/js/95.4394350f.chunk.js index 255ca5102..900142027 100644 --- a/static/js/94.c411b828.chunk.js +++ b/static/js/95.4394350f.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[94],{R7lK:function(e,t,r){"use strict";r.r(t),r.d(t,"setupMode",(function(){return Mt}));var n,i=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(r)})).then((function(t){return e}))},e}();function o(e,t){void 0===t&&(t=!1);var r=e.length,n=0,i="",o=0,c=16,l=0,f=0,h=0,p=0,m=0;function d(t,r){for(var i=0,o=0;i<t||!r;){var a=e.charCodeAt(n);if(a>=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else{if(!(a>=97&&a<=102))break;o=16*o+a-97+10}n++,i++}return i<t&&(o=-1),o}function g(){if(i="",m=0,o=n,f=l,p=h,n>=r)return o=r,c=17;var t=e.charCodeAt(n);if(a(t)){do{n++,i+=String.fromCharCode(t),t=e.charCodeAt(n)}while(a(t));return c=15}if(s(t))return n++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,i+="\n"),l++,h=n,c=14;switch(t){case 123:return n++,c=1;case 125:return n++,c=2;case 91:return n++,c=3;case 93:return n++,c=4;case 58:return n++,c=6;case 44:return n++,c=5;case 34:return n++,i=function(){for(var t="",i=n;;){if(n>=r){t+=e.substring(i,n),m=2;break}var o=e.charCodeAt(n);if(34===o){t+=e.substring(i,n),n++;break}if(92!==o){if(o>=0&&o<=31){if(s(o)){t+=e.substring(i,n),m=2;break}m=6}n++}else{if(t+=e.substring(i,n),++n>=r){m=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=d(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}i=n}}return t}(),c=10;case 47:var g=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n<r&&!s(e.charCodeAt(n));)n++;return i=e.substring(g,n),c=12}if(42===e.charCodeAt(n+1)){n+=2;for(var y=r-1,b=!1;n<y;){var x=e.charCodeAt(n);if(42===x&&47===e.charCodeAt(n+1)){n+=2,b=!0;break}n++,s(x)&&(13===x&&10===e.charCodeAt(n)&&n++,l++,h=n)}return b||(n++,m=1),i=e.substring(g,n),c=13}return i+=String.fromCharCode(t),n++,c=16;case 45:if(i+=String.fromCharCode(t),++n===r||!u(e.charCodeAt(n)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){var t=n;if(48===e.charCodeAt(n))n++;else for(n++;n<e.length&&u(e.charCodeAt(n));)n++;if(n<e.length&&46===e.charCodeAt(n)){if(!(++n<e.length&&u(e.charCodeAt(n))))return m=3,e.substring(t,n);for(n++;n<e.length&&u(e.charCodeAt(n));)n++}var r=n;if(n<e.length&&(69===e.charCodeAt(n)||101===e.charCodeAt(n)))if((++n<e.length&&43===e.charCodeAt(n)||45===e.charCodeAt(n))&&n++,n<e.length&&u(e.charCodeAt(n))){for(n++;n<e.length&&u(e.charCodeAt(n));)n++;r=n}else m=3;return e.substring(t,r)}(),c=11;default:for(;n<r&&v(t);)n++,t=e.charCodeAt(n);if(o!==n){switch(i=e.substring(o,n)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return i+=String.fromCharCode(t),n++,c=16}}function v(e){if(a(e)||s(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){n=e,i="",o=0,c=16,m=0},getPosition:function(){return n},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return c},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return o-p},getTokenError:function(){return m}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e){return e>=48&&e<=57}function c(e,t,r){void 0===r&&(r=n.DEFAULT);var i=o(e,!1);function a(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}var u=a(t.onObjectBegin),c=s(t.onObjectProperty),l=a(t.onObjectEnd),f=a(t.onArrayBegin),h=a(t.onArrayEnd),p=s(t.onLiteralValue),m=s(t.onSeparator),d=a(t.onComment),g=s(t.onError),v=r&&r.disallowComments,y=r&&r.allowTrailingComma;function b(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:v||x(11);break;case 2:x(12);break;case 6:x(16)}switch(e){case 12:case 13:v?x(10):d();break;case 16:x(1);break;case 15:case 14:break;default:return e}}}function x(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),g(e),t.length+r.length>0)for(var n=i.getToken();17!==n;){if(-1!==t.indexOf(n)){b();break}if(-1!==r.indexOf(n))break;n=b()}}function S(e){var t=i.getTokenValue();return e?p(t):c(t),b(),!0}function k(){switch(i.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||x(4,[],[]),m(","),b(),4===i.getToken()&&y)break}else e&&x(6,[],[]);k()||x(4,[],[4,5]),e=!0}return h(),4!==i.getToken()?x(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||x(4,[],[]),m(","),b(),2===i.getToken()&&y)break}else e&&x(6,[],[]);(10!==i.getToken()?(x(3,[],[2,5]),0):(S(!1),6===i.getToken()?(m(":"),b(),k()||x(4,[],[2,5])):x(5,[],[2,5]),1))||x(4,[],[2,5]),e=!0}return l(),2!==i.getToken()?x(7,[2],[]):b(),!0}();case 10:return S(!0);default:return function(){switch(i.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(i.getTokenValue()))&&(x(2),e=0)}catch(e){x(2)}p(e);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return b(),!0}()}}return b(),17===i.getToken()?!!r.allowEmptyContent||(x(4,[],[]),!1):k()?(17!==i.getToken()&&x(9,[],[]),!0):(x(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(n||(n={}));var l,f,h,p,m,d,g,v,y,b,x,S,k,C,A,w,I,T,E,O,j=o,P=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r=n.DEFAULT);var i=null,o=[],a=[];function s(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}return c(e,{onObjectBegin:function(){var e={};s(e),a.push(o),o=e,i=null},onObjectProperty:function(e){i=e},onObjectEnd:function(){o=a.pop()},onArrayBegin:function(){var e=[];s(e),a.push(o),o=e,i=null},onArrayEnd:function(){o=a.pop()},onLiteralValue:s,onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r),o[0]},M=function e(t,r,n){if(void 0===n&&(n=!1),function(e,t,r){return void 0===r&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}(t,r,n)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=r;o++){var a=e(i[o],r,n);if(a)return a}return t}},_=function e(t){if(!t.parent||!t.parent.children)return[];var r=e(t.parent);if("property"===t.parent.type){var n=t.parent.children[0].value;r.push(n)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&r.push(i)}return r},V=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var r=Object.create(null),n=0,i=t.children;n<i.length;n++){var o=i[n],a=o.children[1];a&&(r[o.children[0].value]=e(a))}return r;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function F(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var r,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(!F(e[r],t[r]))return!1}else{var i=[];for(n in e)i.push(n);i.sort();var o=[];for(n in t)o.push(n);if(o.sort(),!F(i,o))return!1;for(r=0;r<i.length;r++)if(!F(e[i[r]],t[i[r]]))return!1}return!0}function N(e){return"number"==typeof e}function R(e){return void 0!==e}function $(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return me.objectLiteral(t)&&me.number(t.line)&&me.number(t.character)}}(l||(l={})),function(e){e.create=function(e,t,r,n){if(me.number(e)&&me.number(t)&&me.number(r)&&me.number(n))return{start:l.create(e,t),end:l.create(r,n)};if(l.is(e)&&l.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+r+", "+n+"]")},e.is=function(e){var t=e;return me.objectLiteral(t)&&l.is(t.start)&&l.is(t.end)}}(f||(f={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.string(t.uri)||me.undefined(t.uri))}}(h||(h={})),function(e){e.create=function(e,t,r,n){return{targetUri:e,targetRange:t,targetSelectionRange:r,originSelectionRange:n}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.targetRange)&&me.string(t.targetUri)&&(f.is(t.targetSelectionRange)||me.undefined(t.targetSelectionRange))&&(f.is(t.originSelectionRange)||me.undefined(t.originSelectionRange))}}(p||(p={})),function(e){e.create=function(e,t,r,n){return{red:e,green:t,blue:r,alpha:n}},e.is=function(e){var t=e;return me.number(t.red)&&me.number(t.green)&&me.number(t.blue)&&me.number(t.alpha)}}(m||(m={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return f.is(t.range)&&m.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,r){return{label:e,textEdit:t,additionalTextEdits:r}},e.is=function(e){var t=e;return me.string(t.label)&&(me.undefined(t.textEdit)||A.is(t))&&(me.undefined(t.additionalTextEdits)||me.typedArray(t.additionalTextEdits,A.is))}}(g||(g={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(v||(v={})),function(e){e.create=function(e,t,r,n,i){var o={startLine:e,endLine:t};return me.defined(r)&&(o.startCharacter=r),me.defined(n)&&(o.endCharacter=n),me.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return me.number(t.startLine)&&me.number(t.startLine)&&(me.undefined(t.startCharacter)||me.number(t.startCharacter))&&(me.undefined(t.endCharacter)||me.number(t.endCharacter))&&(me.undefined(t.kind)||me.string(t.kind))}}(y||(y={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return me.defined(t)&&h.is(t.location)&&me.string(t.message)}}(b||(b={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(x||(x={})),function(e){e.Unnecessary=1,e.Deprecated=2}(S||(S={})),function(e){e.create=function(e,t,r,n,i,o){var a={range:e,message:t};return me.defined(r)&&(a.severity=r),me.defined(n)&&(a.code=n),me.defined(i)&&(a.source=i),me.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&me.string(t.message)&&(me.number(t.severity)||me.undefined(t.severity))&&(me.number(t.code)||me.string(t.code)||me.undefined(t.code))&&(me.string(t.source)||me.undefined(t.source))&&(me.undefined(t.relatedInformation)||me.typedArray(t.relatedInformation,b.is))}}(k||(k={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={title:e,command:t};return me.defined(r)&&r.length>0&&(i.arguments=r),i},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.title)&&me.string(t.command)}}(C||(C={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return me.objectLiteral(t)&&me.string(t.newText)&&f.is(t.range)}}(A||(A={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return me.defined(t)&&D.is(t.textDocument)&&Array.isArray(t.edits)}}(w||(w={})),function(e){e.create=function(e,t){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&me.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||me.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||me.boolean(t.options.ignoreIfExists)))}}(I||(I={})),function(e){e.create=function(e,t,r){var n={kind:"rename",oldUri:e,newUri:t};return void 0===r||void 0===r.overwrite&&void 0===r.ignoreIfExists||(n.options=r),n},e.is=function(e){var t=e;return t&&"rename"===t.kind&&me.string(t.oldUri)&&me.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||me.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||me.boolean(t.options.ignoreIfExists)))}}(T||(T={})),function(e){e.create=function(e,t){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&me.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||me.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||me.boolean(t.options.ignoreIfNotExists)))}}(E||(E={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return me.string(e.kind)?I.is(e)||T.is(e)||E.is(e):w.is(e)})))}}(O||(O={}));var L,D,W,U,q,B,K,J,z,H,G,Z,X,Q,Y,ee,te,re,ne,ie,oe,ae,se,ue,ce,le,fe,he=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(A.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(A.replace(e,t))},e.prototype.delete=function(e){this.edits.push(A.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(w.is(e)){var r=new he(e.edits);t._textEditChanges[e.textDocument.uri]=r}})):e.changes&&Object.keys(e.changes).forEach((function(r){var n=new he(e.changes[r]);t._textEditChanges[r]=n})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(D.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(n=this._textEditChanges[t.uri])){var r={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(r),n=new he(i),this._textEditChanges[t.uri]=n}return n}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n;if(!(n=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,n=new he(i),this._textEditChanges[e]=n}return n},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(I.create(e,t))},e.prototype.renameFile=function(e,t,r){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(T.create(e,t,r))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(E.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)&&(null===t.version||me.number(t.version))}}(D||(D={})),function(e){e.create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)&&me.string(t.languageId)&&me.number(t.version)&&me.string(t.text)}}(W||(W={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(U||(U={})),function(e){e.is=function(t){var r=t;return r===e.PlainText||r===e.Markdown}}(U||(U={})),function(e){e.is=function(e){var t=e;return me.objectLiteral(e)&&U.is(t.kind)&&me.string(t.value)}}(q||(q={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(B||(B={})),function(e){e.PlainText=1,e.Snippet=2}(K||(K={})),function(e){e.Deprecated=1}(J||(J={})),function(e){e.create=function(e){return{label:e}}}(z||(z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(H||(H={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return me.string(t)||me.objectLiteral(t)&&me.string(t.language)&&me.string(t.value)}}(G||(G={})),function(e){e.is=function(e){var t=e;return!!t&&me.objectLiteral(t)&&(q.is(t.contents)||G.is(t.contents)||me.typedArray(t.contents,G.is))&&(void 0===e.range||f.is(e.range))}}(Z||(Z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(X||(X={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={label:e};return me.defined(t)&&(i.documentation=t),me.defined(r)?i.parameters=r:i.parameters=[],i}}(Q||(Q={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Y||(Y={})),function(e){e.create=function(e,t){var r={range:e};return me.number(t)&&(r.kind=t),r}}(ee||(ee={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(te||(te={})),function(e){e.Deprecated=1}(re||(re={})),function(e){e.create=function(e,t,r,n,i){var o={name:e,kind:t,location:{uri:n,range:r}};return i&&(o.containerName=i),o}}(ne||(ne={})),function(e){e.create=function(e,t,r,n,i,o){var a={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&me.string(t.name)&&me.number(t.kind)&&f.is(t.range)&&f.is(t.selectionRange)&&(void 0===t.detail||me.string(t.detail))&&(void 0===t.deprecated||me.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(ie||(ie={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(oe||(oe={})),function(e){e.create=function(e,t){var r={diagnostics:e};return null!=t&&(r.only=t),r},e.is=function(e){var t=e;return me.defined(t)&&me.typedArray(t.diagnostics,k.is)&&(void 0===t.only||me.typedArray(t.only,me.string))}}(ae||(ae={})),function(e){e.create=function(e,t,r){var n={title:e};return C.is(t)?n.command=t:n.edit=t,void 0!==r&&(n.kind=r),n},e.is=function(e){var t=e;return t&&me.string(t.title)&&(void 0===t.diagnostics||me.typedArray(t.diagnostics,k.is))&&(void 0===t.kind||me.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||C.is(t.command))&&(void 0===t.isPreferred||me.boolean(t.isPreferred))&&(void 0===t.edit||O.is(t.edit))}}(se||(se={})),function(e){e.create=function(e,t){var r={range:e};return me.defined(t)&&(r.data=t),r},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.undefined(t.command)||C.is(t.command))}}(ue||(ue={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return me.defined(t)&&me.number(t.tabSize)&&me.boolean(t.insertSpaces)}}(ce||(ce={})),function(e){e.create=function(e,t,r){return{range:e,target:t,data:r}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.undefined(t.target)||me.string(t.target))}}(le||(le={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&f.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(fe||(fe={}));var pe;!function(e){e.create=function(e,t,r,n){return new de(e,t,r,n)},e.is=function(e){var t=e;return!!(me.defined(t)&&me.string(t.uri)&&(me.undefined(t.languageId)||me.string(t.languageId))&&me.number(t.lineCount)&&me.func(t.getText)&&me.func(t.positionAt)&&me.func(t.offsetAt))},e.applyEdits=function(e,t){for(var r=e.getText(),n=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0,i=t.slice(0,n),o=t.slice(n);e(i,r),e(o,r);var a=0,s=0,u=0;for(;a<i.length&&s<o.length;){var c=r(i[a],o[s]);t[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[u++]=i[a++];for(;s<o.length;)t[u++]=o[s++];return t}(t,(function(e,t){var r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r})),i=r.length,o=n.length-1;o>=0;o--){var a=n[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,s)+a.newText+r.substring(u,r.length),i=s}return r}}(pe||(pe={}));var me,de=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,r=!0,n=0;n<t.length;n++){r&&(e.push(n),r=!1);var i=t.charAt(n);r="\r"===i||"\n"===i,"\r"===i&&n+1<t.length&&"\n"===t.charAt(n+1)&&n++}r&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return l.create(0,e);for(;r<n;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i+1}var o=r-1;return l.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(me||(me={}));var ge,ve,ye,be=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(t,r){for(var n=0,i=t;n<i.length;n++){var o=i[n];if(e.isIncremental(o)){var a=Se(o.range),s=this.offsetAt(a.start),u=this.offsetAt(a.end);this._content=this._content.substring(0,s)+o.text+this._content.substring(u,this._content.length);var c=Math.max(a.start.line,0),l=Math.max(a.end.line,0),f=this._lineOffsets,h=xe(o.text,!1,s);if(l-c===h.length)for(var p=0,m=h.length;p<m;p++)f[p+c+1]=h[p];else h.length<1e4?f.splice.apply(f,[c+1,l-c].concat(h)):this._lineOffsets=f=f.slice(0,c+1).concat(h,f.slice(l+1));var d=o.text.length-(u-s);if(0!==d)for(p=c+1+h.length,m=f.length;p<m;p++)f[p]=f[p]+d}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=r},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=xe(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return{line:0,character:e};for(;r<n;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i+1}var o=r-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function xe(e,t,r){void 0===r&&(r=0);for(var n=t?[r]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,n.push(r+i+1))}return n}function Se(e){var t=e.start,r=e.end;return t.line>r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function ke(e){var t=Se(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function Ce(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,r){var n=r[0];return void 0!==t[n]?t[n]:e}))}function Ae(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return Ce(t,r)}function we(e){return Ae}!function(e){e.create=function(e,t,r,n){return new be(e,t,r,n)},e.update=function(e,t,r){if(e instanceof be)return e.update(t,r),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var r=e.getText(),n=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0,i=t.slice(0,n),o=t.slice(n);e(i,r),e(o,r);var a=0,s=0,u=0;for(;a<i.length&&s<o.length;){var c=r(i[a],o[s]);t[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[u++]=i[a++];for(;s<o.length;)t[u++]=o[s++];return t}(t.map(ke),(function(e,t){var r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r})),i=r.length,o=n.length-1;o>=0;o--){var a=n[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,s)+a.newText+r.substring(u,r.length),i=s}return r}}(ge||(ge={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(ve||(ve={})),(ye||(ye={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[U.Markdown,U.PlainText],commitCharactersSupport:!0}}}};var Ie,Te,Ee=(Ie=function(e,t){return(Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}Ie(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Oe=we(),je={"color-hex":{errorMessage:Oe("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:Oe("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:Oe("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:Oe("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:Oe("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\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,}))$/}},Pe=function(){function e(e,t,r){this.offset=t,this.length=r,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();(function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="null",n.value=null,n}Ee(t,e)})(Pe),function(e){function t(t,r,n){var i=e.call(this,t,n)||this;return i.type="boolean",i.value=r,i}Ee(t,e)}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="array",n.items=[],n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!0,configurable:!0})}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="number",n.isInteger=!0,n.value=Number.NaN,n}Ee(t,e)}(Pe),function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i.type="string",i.value="",i}Ee(t,e)}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="property",n.colonOffset=-1,n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!0,configurable:!0})}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="object",n.properties=[],n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!0,configurable:!0})}(Pe);function Me(e){return $(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(Te||(Te={}));var _e=function(){function e(e,t){void 0===e&&(e=-1),void 0===t&&(t=null),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){var t;(t=this.schemas).push.apply(t,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||$e(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Ve=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Fe=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=null}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];this.merge(n)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,r=this.problems;t<r.length;t++){var n=r[t];n.code===ve.EnumValueMismatch&&(n.message=Oe("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function Ne(e){return V(e)}function Re(e){return _(e)}function $e(e,t,r){return void 0===r&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}!function(){function e(e,t,r){void 0===t&&(t=[]),void 0===r&&(r=[]),this.root=e,this.syntaxErrors=t,this.comments=r}e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return M(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(r){var n=e(r),i=r.children;if(Array.isArray(i))for(var o=0;o<i.length&&n;o++)n=t(i[o]);return n};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var r=new Fe;return Le(this.root,t,r,Ve.instance),r.problems.map((function(t){var r=f.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return k.create(r,t.message,t.severity,t.code)}))}return null},e.prototype.getMatchingSchemas=function(e,t,r){void 0===t&&(t=-1),void 0===r&&(r=null);var n=new _e(t,r);return this.root&&e&&Le(this.root,e,new Fe,n),n.schemas}}();function Le(e,t,r,n){if(e&&n.include(e)){switch(e.type){case"object":!function(e,t,r,n){for(var i=Object.create(null),o=[],a=0,s=e.properties;a<s.length;a++){var u=(y=s[a]).keyNode.value;i[u]=y.valueNode,o.push(u)}if(Array.isArray(t.required))for(var c=0,l=t.required;c<l.length;c++){var f=l[c];if(!i[f]){var h=e.parent&&"property"===e.parent.type&&e.parent.keyNode,p=h?{offset:h.offset,length:h.length}:{offset:e.offset,length:1};r.problems.push({location:p,severity:x.Warning,message:Oe("MissingRequiredPropWarning",'Missing property "{0}".',f)})}}var m=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var d=0,g=Object.keys(t.properties);d<g.length;d++){f=g[d];m(f);var v=t.properties[f];if(P=i[f])if($(v))if(v)r.propertiesMatches++,r.propertiesValueMatches++;else{var y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{var b=new Fe;Le(P,v,b,n),r.mergePropertyMatch(b)}}if(t.patternProperties)for(var S=0,k=Object.keys(t.patternProperties);S<k.length;S++)for(var C=k[S],A=new RegExp(C),w=0,I=o.slice(0);w<I.length;w++){f=I[w];if(A.test(f))if(m(f),P=i[f])if($(v=t.patternProperties[C]))if(v)r.propertiesMatches++,r.propertiesValueMatches++;else{y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{b=new Fe;Le(P,v,b,n),r.mergePropertyMatch(b)}}if("object"==typeof t.additionalProperties)for(var T=0,E=o;T<E.length;T++){f=E[T];if(P=i[f]){b=new Fe;Le(P,t.additionalProperties,b,n),r.mergePropertyMatch(b)}}else if(!1===t.additionalProperties&&o.length>0)for(var O=0,j=o;O<j.length;O++){var P;f=j[O];if(P=i[f]){y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}}N(t.maxProperties)&&e.properties.length>t.maxProperties&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});N(t.minProperties)&&e.properties.length<t.minProperties&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var M=0,_=Object.keys(t.dependencies);M<_.length;M++){u=_[M];if(i[u]){var V=t.dependencies[u];if(Array.isArray(V))for(var F=0,R=V;F<R.length;F++){var L=R[F];i[L]?r.propertiesValueMatches++:r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",L,u)})}else if(v=Me(V)){b=new Fe;Le(e,v,b,n),r.mergePropertyMatch(b)}}}var D=Me(t.propertyNames);if(D)for(var W=0,U=e.properties;W<U.length;W++){var q=U[W];(u=q.keyNode)&&Le(u,D,r,Ve.instance)}}(e,t,r,n);break;case"array":!function(e,t,r,n){if(Array.isArray(t.items)){for(var i=t.items,o=0;o<i.length;o++){var a=Me(i[o]),s=new Fe;(h=e.items[o])?(Le(h,a,s,n),r.mergePropertyMatch(s)):e.items.length>=i.length&&r.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var u=i.length;u<e.items.length;u++){s=new Fe;Le(e.items[u],t.additionalItems,s,n),r.mergePropertyMatch(s)}else!1===t.additionalItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var c=Me(t.items);if(c)for(var l=0,f=e.items;l<f.length;l++){var h=f[l];s=new Fe;Le(h,c,s,n),r.mergePropertyMatch(s)}}var p=Me(t.contains);if(p){e.items.some((function(e){var t=new Fe;return Le(e,p,t,Ve.instance),!t.hasProblems()}))||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("requiredItemMissingWarning","Array does not contain required item.")})}N(t.minItems)&&e.items.length<t.minItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});N(t.maxItems)&&e.items.length>t.maxItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var m=Ne(e);m.some((function(e,t){return t!==m.lastIndexOf(e)}))&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("uniqueItemsWarning","Array has duplicate items.")})}}(e,t,r,n);break;case"string":!function(e,t,r,n){N(t.minLength)&&e.value.length<t.minLength&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});N(t.maxLength)&&e.value.length>t.maxLength&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"==typeof i){new RegExp(t.pattern).test(e.value)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||Oe("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);a?a[2]||"uri"!==t.format||(o=Oe("uriSchemeMissing","URI with a scheme is expected.")):o=Oe("uriMissing","URI is expected.")}else o=Oe("uriEmpty","URI expected.");o&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||Oe("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var s=je[t.format];e.value&&s.pattern.exec(e.value)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||s.errorMessage})}}(e,t,r);break;case"number":!function(e,t,r,n){var i=e.value;N(t.multipleOf)&&i%t.multipleOf!=0&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)});function o(e,t){return N(t)?t:$(t)&&t?e:void 0}function a(e,t){if(!$(t)||!t)return e}var s=o(t.minimum,t.exclusiveMinimum);N(s)&&i<=s&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",s)});var u=o(t.maximum,t.exclusiveMaximum);N(u)&&i>=u&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",u)});var c=a(t.minimum,t.exclusiveMinimum);N(c)&&i<c&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minimumWarning","Value is below the minimum of {0}.",c)});var l=a(t.maximum,t.exclusiveMaximum);N(l)&&i>l&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maximumWarning","Value is above the maximum of {0}.",l)})}(e,t,r);break;case"property":return Le(e.valueNode,t,r,n)}!function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}Array.isArray(t.type)?t.type.some(i)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(i(t.type)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,a=t.allOf;o<a.length;o++){var s=a[o];Le(e,Me(s),r,n)}var u=Me(t.not);if(u){var c=new Fe,l=n.newSub();Le(e,u,c,l),c.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("notSchemaWarning","Matches a schema that is not allowed.")});for(var f=0,h=l.schemas;f<h.length;f++){var p=h[f];p.inverted=!p.inverted,n.add(p)}}var m=function(t,i){for(var o=[],a=null,s=0,u=t;s<u.length;s++){var c=Me(u[s]),l=new Fe,f=n.newSub();if(Le(e,c,l,f),l.hasProblems()||o.push(c),a)if(i||l.hasProblems()||a.validationResult.hasProblems()){var h=l.compare(a.validationResult);h>0?a={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(a.matchingSchemas.merge(f),a.validationResult.mergeEnumValues(l))}else a.matchingSchemas.merge(f),a.validationResult.propertiesMatches+=l.propertiesMatches,a.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else a={schema:c,validationResult:l,matchingSchemas:f}}return o.length>1&&i&&r.problems.push({location:{offset:e.offset,length:1},severity:x.Warning,message:Oe("oneOfWarning","Matches multiple schemas when only one must validate.")}),null!==a&&(r.merge(a.validationResult),r.propertiesMatches+=a.validationResult.propertiesMatches,r.propertiesValueMatches+=a.validationResult.propertiesValueMatches,n.merge(a.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&m(t.anyOf,!1);Array.isArray(t.oneOf)&&m(t.oneOf,!0);var d=function(t){var i=new Fe,o=n.newSub();Le(e,Me(t),i,o),r.merge(i),r.propertiesMatches+=i.propertiesMatches,r.propertiesValueMatches+=i.propertiesValueMatches,n.merge(o)},g=Me(t.if);g&&function(t,r,i){var o=Me(t),a=new Fe,s=n.newSub();Le(e,o,a,s),n.merge(s),a.hasProblems()?i&&d(i):r&&d(r)}(g,Me(t.then),Me(t.else));if(Array.isArray(t.enum)){for(var v=Ne(e),y=!1,b=0,S=t.enum;b<S.length;b++){var k=S[b];if(F(v,k)){y=!0;break}}r.enumValues=t.enum,r.enumValueMatch=y,y||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,code:ve.EnumValueMismatch,message:t.errorMessage||Oe("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(R(t.const)){F(v=Ne(e),t.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,code:ve.EnumValueMismatch,message:t.errorMessage||Oe("constWarning","Value must be {0}.",JSON.stringify(t.const))}),r.enumValueMatch=!1),r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:x.Warning,message:t.deprecationMessage})}(),n.add({node:e,schema:t})}}function De(e,t){var r=e.length-t.length;return r>0?e.lastIndexOf(t)===r:0===r&&e===t}var We=we();(function(){function e(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=Promise),void 0===n&&(n={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=r,this.clientCapabilities=n,this.templateVarIdCounter=0}e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--)if(this.contributions[t].resolveCompletion){var r=this.contributions[t].resolveCompletion(e);if(r)return r}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,r){var n=this,i={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),s=r.getNodeFromOffset(a,!0);if(this.isInComment(e,s?s.offset:0,a))return Promise.resolve(i);if(s&&a===s.offset+s.length&&a>0){var u=o[a-1];("object"===s.type&&"}"===u||"array"===s.type&&"]"===u)&&(s=s.parent)}var c=this.getCurrentWord(e,a),l=null;if(!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type){var h=a-c.length;h>0&&'"'===o[h-1]&&h--,l=f.create(e.positionAt(h),t)}else l=f.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length));var p={},m={add:function(e){var t=e.label,r=p[t];if(r)r.documentation||(r.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var n=t.substr(0,57).trim()+"...";p[n]||(t=n)}l&&(e.textEdit=A.replace(l,e.insertText)),e.label=t,p[t]=e,i.items.push(e)}},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,r).then((function(t){var u=[],f=!0,h="",d=null;if(s&&"string"===s.type){var g=s.parent;g&&"property"===g.type&&g.keyNode===s&&(f=!g.valueNode,d=g,h=o.substr(s.offset+1,s.length-2),g&&(s=g.parent))}if(s&&"object"===s.type){if(s.offset===a)return i;s.properties.forEach((function(e){d&&d===e||(p[e.keyNode.value]=z.create("__"))}));var v="";f&&(v=n.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?n.getPropertyCompletions(t,r,s,f,v,m):n.getSchemaLessPropertyCompletions(r,s,h,m);var y=Re(s);n.contributions.forEach((function(t){var r=t.collectPropertyCompletions(e.uri,y,c,f,""===v,m);r&&u.push(r)})),!t&&c.length>0&&'"'!==o.charAt(a-c.length-1)&&(m.add({kind:B.Property,label:n.getLabelForValue(c),insertText:n.getInsertTextForProperty(c,null,!1,v),insertTextFormat:K.Snippet,documentation:""}),m.setAsIncomplete())}var b={};return t?n.getValueCompletions(t,r,s,a,e,m,b):n.getSchemaLessValueCompletions(r,s,a,e,m),n.contributions.length>0&&n.getContributedValueCompletions(r,s,a,e,m,u),n.promiseConstructor.all(u).then((function(){if(0===m.getNumberOfProposals()){var t=a;!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type||(t=s.offset+s.length);var r=n.evaluateSeparatorAfter(e,t);n.addFillerValueCompletions(b,r,m)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,r,n,i,o){var a=this;t.getMatchingSchemas(e.schema,r.offset).forEach((function(e){if(e.node===r&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var r=t[e];if("object"==typeof r&&!r.deprecationMessage&&!r.doNotSuggest){var s={kind:B.Property,label:e,insertText:a.getInsertTextForProperty(e,r,n,i),insertTextFormat:K.Snippet,filterText:a.getFilterTextForValue(e),documentation:a.fromMarkup(r.markdownDescription)||r.description||""};De(s.insertText,"$1"+i)&&(s.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(s)}}))}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,r,n){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;n.add({kind:B.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:K.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var a=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===a&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&n.add({kind:B.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",null,!0,""),insertTextFormat:K.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,r,n,i){var o=this,a=r;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(a=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:K.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:K.Snippet,documentation:""});var s=this.evaluateSeparatorAfter(n,a),u=function(e){$e(e.parent,r,!0)||i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,n),insertText:o.getInsertTextForMatchingNode(e,n,s),insertTextFormat:K.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,s,i)};if("property"===t.type&&r>t.colonOffset){var c=t.valueNode;if(c&&(r>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(s,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,r,n,i,o,a){var s=this,u=n,c=null,l=null;if(!r||"string"!==r.type&&"number"!==r.type&&"boolean"!==r.type&&"null"!==r.type||(u=r.offset+r.length,l=r,r=r.parent),r){if("property"===r.type&&n>r.colonOffset){var f=r.valueNode;if(f&&n>f.offset+f.length)return;c=r.keyNode.value,r=r.parent}if(r&&(null!==c||"array"===r.type)){var h=this.evaluateSeparatorAfter(i,u);t.getMatchingSchemas(e.schema,r.offset,l).forEach((function(e){if(e.node===r&&!e.inverted&&e.schema){if("array"===r.type&&e.schema.items)if(Array.isArray(e.schema.items)){var t=s.findItemAtOffset(r,i,n);t<e.schema.items.length&&s.addSchemaValueCompletions(e.schema.items[t],h,o,a)}else s.addSchemaValueCompletions(e.schema.items,h,o,a);if(e.schema.properties){var u=e.schema.properties[c];u&&s.addSchemaValueCompletions(u,h,o,a)}}})),"$schema"!==c||r.parent||this.addDollarSchemaCompletions(h,o),a.boolean&&(this.addBooleanValueCompletion(!0,h,o),this.addBooleanValueCompletion(!1,h,o)),a.null&&this.addNullValueCompletion(h,o)}}else this.addSchemaValueCompletions(e.schema,"",o,a)},e.prototype.getContributedValueCompletions=function(e,t,r,n,i,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),"property"===t.type&&r>t.colonOffset){var a=t.keyNode.value,s=t.valueNode;if(!s||r<=s.offset+s.length){var u=Re(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(n.uri,u,a,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(n.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,r,n){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,r),this.addDefaultValueCompletions(e,t,r),this.collectTypes(e,n),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})))},e.prototype.addDefaultValueCompletions=function(e,t,r,n){var i=this;void 0===n&&(n=0);var o=!1;if(R(e.default)){for(var a=e.type,s=e.default,u=n;u>0;u--)s=[s],a="array";r.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(s),insertText:this.getInsertTextForValue(s,t),insertTextFormat:K.Snippet,detail:We("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(a){for(var s=e.type,u=a,c=n;c>0;c--)u=[u],s="array";r.add({kind:i.getSuggestionKind(s),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:K.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(a){var s,u,c=e.type,l=a.body,f=a.label;if(R(l)){e.type;for(var h=n;h>0;h--)l=[l],"array";s=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else if("string"==typeof a.bodyText){var p="",m="",d="";for(h=n;h>0;h--)p=p+d+"[\n",m=m+"\n"+d+"]",d+="\t",c="array";s=p+d+a.bodyText.split("\n").join("\n"+d)+m+t,f=f||s,u=s.replace(/[\n]/g,"")}r.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(a.markdownDescription)||a.description,insertText:s,insertTextFormat:K.Snippet,filterText:u}),o=!0})),o||"object"!=typeof e.items||Array.isArray(e.items)||this.addDefaultValueCompletions(e.items,t,r,n+1)},e.prototype.addEnumValueCompletions=function(e,t,r){if(R(e.const)&&r.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:K.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var n=0,i=e.enum.length;n<i;n++){var o=e.enum[n],a=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&n<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?a=this.fromMarkup(e.markdownEnumDescriptions[n]):e.enumDescriptions&&n<e.enumDescriptions.length&&(a=e.enumDescriptions[n]),r.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:K.Snippet,documentation:a})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!R(e.const)){var r=e.type;Array.isArray(r)?r.forEach((function(e){return t[e]=!0})):t[r]=!0}},e.prototype.addFillerValueCompletions=function(e,t,r){e.object&&r.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:K.Snippet,detail:We("defaults.object","New object"),documentation:""}),e.array&&r.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:K.Snippet,detail:We("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,r){r.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:K.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:K.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var r=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(n){return t.add({kind:B.Module,label:r.getLabelForValue(n),filterText:r.getFilterTextForValue(n),insertText:r.getInsertTextForValue(n,e),insertTextFormat:K.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var r=JSON.stringify(e,null,"\t");return"{}"===r?"{$1}"+t:"[]"===r?"[$1]"+t:this.getInsertTextForPlainText(r+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,r,n){if(null!==t&&"object"==typeof t){var i=r+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",a=0;a<t.length;a++)o+=i+e(t[a],i,n),a<t.length-1&&(o+=","),o+="\n";return o+=r+"]"}var s=Object.keys(t);if(0===s.length)return"{}";for(o="{\n",a=0;a<s.length;a++){var u=s[a];o+=i+JSON.stringify(u)+": "+e(t[u],i,n),a<s.length-1&&(o+=","),o+="\n"}return o+=r+"}"}return n(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var r=JSON.stringify(e);return r=r.substr(1,r.length-2),'"${1:'+(r=this.getInsertTextForPlainText(r))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:null}if(!e)return B.Value;switch(e){case"string":return B.Value;case"object":return B.Module;case"property":return B.Property;default:return B.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,r){switch(e.type){case"array":return this.getInsertTextForValue([],r);case"object":return this.getInsertTextForValue({},r);default:var n=t.getText().substr(e.offset,e.length)+r;return this.getInsertTextForPlainText(n)}},e.prototype.getInsertTextForProperty=function(e,t,r,n){var i=this.getInsertTextForValue(e,"");if(!r)return i;var o,a=i+": ",s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;R(u)&&(o=this.getInsertTextForSnippetValue(u,""))}s+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),R(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),s++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),s+=t.examples.length),0===s){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||s>1)&&(o="$1"),a+o+n},e.prototype.getCurrentWord=function(e,t){for(var r=t-1,n=e.getText();r>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(n.charAt(r));)r--;return n.substring(r+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var r=j(e.getText(),!0);switch(r.setPosition(t),r.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,r){for(var n=j(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var a=i[o];if(r>a.offset+a.length)return n.setPosition(a.offset+a.length),5===n.scan()&&r>=n.getTokenOffset()+n.getTokenLength()?o+1:o;if(r>=a.offset)return o}return 0},e.prototype.isInComment=function(e,t,r){var n=j(e.getText(),!1);n.setPosition(t);for(var i=n.scan();17!==i&&n.getTokenOffset()+n.getTokenLength()<r;)i=n.scan();return(12===i||13===i)&&n.getTokenOffset()<=r},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:U.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!R(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(U.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!R(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters}})(),function(){function e(e,t,r){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=r||Promise}e.prototype.doHover=function(e,t,r){var n=e.offsetAt(t),i=r.getNodeFromOffset(n);if(!i||("object"===i.type||"array"===i.type)&&n>i.offset+1&&n<i.offset+i.length-1)return this.promise.resolve(null);var o=i;if("string"===i.type){var a=i.parent;if(a&&"property"===a.type&&a.keyNode===i&&!(i=a.valueNode))return this.promise.resolve(null)}for(var s=f.create(e.positionAt(o.offset),e.positionAt(o.offset+o.length)),u=function(e){return{contents:e,range:s}},c=Re(i),l=this.contributions.length-1;l>=0;l--){var h=this.contributions[l].getInfoContribution(e.uri,c);if(h)return h.then((function(e){return u(e)}))}return this.schemaService.getSchemaForResource(e.uri,r).then((function(e){if(e){var t=r.getMatchingSchemas(e.schema,i.offset),n=null,o=null,a=null,s=null;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(n=n||e.schema.title,o=o||e.schema.markdownDescription||Ue(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Ne(i));e.schema.markdownEnumDescriptions?a=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(a=Ue(e.schema.enumDescriptions[t])),a&&"string"!=typeof(s=e.schema.enum[t])&&(s=JSON.stringify(s))}return!0}));var c="";return n&&(c=Ue(n)),o&&(c.length>0&&(c+="\n\n"),c+=o),a&&(c.length>0&&(c+="\n\n"),c+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(s)+"`: "+a),u([c])}return null}))}}();function Ue(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var qe=r("xiP/"),Be=we(),Ke=function(){function e(e){try{this.patternRegExp=new RegExp(function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}(e)+"$")}catch(e){this.patternRegExp=null}this.schemas=[]}return e.prototype.addSchema=function(e){this.schemas.push(e)},e.prototype.matchesPattern=function(e){return this.patternRegExp&&this.patternRegExp.test(e)},e.prototype.getSchemas=function(){return this.schemas},e}(),Je=function(){function e(e,t,r){this.service=e,this.url=t,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new ze(r)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=null,this.unresolvedSchema=null,this.dependencies={}},e}(),ze=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},He=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){return Me(this.getSectionRecursive(e,this.schema))},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var r=e.shift();if(t.properties&&(t.properties[r],1))return this.getSectionRecursive(e,t.properties[r]);if(t.patternProperties)for(var n=0,i=Object.keys(t.patternProperties);n<i.length;n++){var o=i[n];if(new RegExp(o).test(r))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(r.match("[0-9]+"))if(Array.isArray(t.items)){var a=parseInt(r,10);if(!isNaN(a)&&t.items[a])return this.getSectionRecursive(e,t.items[a])}else if(t.items)return this.getSectionRecursive(e,t.items)}return null},e}();!function(){function e(e,t,r){this.contextService=t,this.requestService=e,this.promiseConstructor=r||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations={},this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={}}e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var r=qe.a.parse(t).scheme;return"schemaservice"!==r&&(!e||e(r))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,r=!1,n=[e=this.normalizeId(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));n.length;)for(var o=n.pop(),a=0;a<i.length;a++){var s=i[a];s&&(s.url===o||s.dependencies[o])&&(s.url!==o&&n.push(s.url),s.clearSchema(),i[a]=void 0,r=!0)}return r},e.prototype.normalizeId=function(e){try{return qe.a.parse(e).toString()}catch(t){return e}},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var r in t){var n=this.normalizeId(r);this.contributionSchemas[n]=this.addSchemaHandle(n,t[r])}}if(e.schemaAssociations){var i=e.schemaAssociations;for(var o in i){var a=i[o];this.contributionAssociations[o]=a;for(var s=this.getOrAddFilePatternAssociation(o),u=0,c=a;u<c.length;u++){var l=c[u];r=this.normalizeId(l);s.addSchema(r)}}}},e.prototype.addSchemaHandle=function(e,t){var r=new Je(this,e,t);return this.schemasById[e]=r,r},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.getOrAddFilePatternAssociation=function(e){var t=this.filePatternAssociationById[e];return t||(t=new Ke(e),this.filePatternAssociationById[e]=t,this.filePatternAssociations.push(t)),t},e.prototype.registerExternalSchema=function(e,t,r){void 0===t&&(t=null);var n=this.normalizeId(e);if(this.registeredSchemasIds[n]=!0,t)for(var i=0,o=t;i<o.length;i++){var a=o[i];this.getOrAddFilePatternAssociation(a).addSchema(n)}return r?this.addSchemaHandle(n,r):this.getOrAddSchemaHandle(n)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={},this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t in this.contributionAssociations)for(var r=this.getOrAddFilePatternAssociation(t),n=0,i=this.contributionAssociations[t];n<i.length;n++){var o=i[n];e=this.normalizeId(o);r.addSchema(e)}},e.prototype.getResolvedSchema=function(e){var t=this.normalizeId(e),r=this.schemasById[t];return r?r.getResolvedSchema():this.promise.resolve(null)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=Be("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Ge(e));return this.promise.resolve(new ze({},[t]))}return this.requestService(e).then((function(t){if(!t){var r=Be("json.schema.nocontent","Unable to load schema from '{0}': No content.",Ge(e));return new ze({},[r])}var n,i=[];n=P(t,i);var o=i.length?[Be("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Ge(e),i[0].offset)]:[];return new ze(n,o)}),(function(t){var r=t.toString(),n=t.toString().split("Error: ");return n.length>1&&(r=n[1]),De(r,".")&&(r=r.substr(0,r.length-1)),new ze({},[Be("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Ge(e),r)])}))},e.prototype.resolveSchemaContent=function(e,t,r){var n=this,i=e.errors.slice(0),o=e.schema;if(o.$schema){var a=this.normalizeId(o.$schema);if("http://json-schema.org/draft-03/schema"===a)return this.promise.resolve(new He({},[Be("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===a&&e.errors.push(Be("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var s=this.contextService,u=function(e,t,r,n){var o=function(e,t){if(!t)return e;var r=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(r=r[e])})),r}(t,n);if(o)for(var a in o)o.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=o[a]);else i.push(Be("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",n,r))},c=function(e,t,r,o,a){s&&!/^\w+:\/\/.*/.test(t)&&(t=s.resolveRelativePath(t,o)),t=n.normalizeId(t);var c=n.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(n){if(a[t]=!0,n.errors.length){var o=r?t+"#"+r:t;i.push(Be("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return u(e,n.schema,t,r),l(e,n.schema,t,c.dependencies)}))},l=function(e,t,r,i){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],a=[],s=[],l=function(e){for(var n=[];e.$ref;){var a=e.$ref,l=a.split("#",2);if(delete e.$ref,l[0].length>0)return void s.push(c(e,l[0],l[1],r,i));-1===n.indexOf(a)&&(u(e,t,r,l[1]),n.push(a))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];"object"==typeof i&&o.push(i)}}(e.items,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];if("object"==typeof i)for(var a in i){var s=i[a];"object"==typeof s&&o.push(s)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];if(Array.isArray(i))for(var a=0,s=i;a<s.length;a++){var u=s[a];"object"==typeof u&&o.push(u)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var f=o.pop();a.indexOf(f)>=0||(a.push(f),l(f))}return n.promise.all(s)};return l(o,o,t,r).then((function(e){return new He(o,i)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var r=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(r.length>0){var n=Ne(r[0].valueNode);if(n&&function(e,t){if(e.length<t.length)return!1;for(var r=0;r<t.length;r++)if(e[r]!==t[r])return!1;return!0}(n,".")&&this.contextService&&(n=this.contextService.resolveRelativePath(n,e)),n){var i=this.normalizeId(n);return this.getOrAddSchemaHandle(i).getResolvedSchema()}}}for(var o=Object.create(null),a=[],s=0,u=this.filePatternAssociations;s<u.length;s++){var c=u[s];if(c.matchesPattern(e))for(var l=0,f=c.getSchemas();l<f.length;l++){var h=f[l];o[h]||(a.push(h),o[h]=!0)}}return a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(null)},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var r="schemaservice://combinedSchema/"+encodeURIComponent(e),n={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(r,n)}}();function Ge(e){try{var t=qe.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var Ze=we(),Xe=(function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:x.Error)},e.prototype.doValidation=function(e,t,r,n){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],a={},s=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,o.push(e))},u=function(n){var a=r?Qe(r.trailingCommas):x.Error,u=r?Qe(r.comments):i.commentSeverity;if(n){if(n.errors.length&&t.root){var c=t.root,l="object"===c.type?c.properties[0]:null;if(l&&"$schema"===l.keyNode.value){var h=l.valueNode||l,p=f.create(e.positionAt(h.offset),e.positionAt(h.offset+h.length));s(k.create(p,n.errors[0],x.Warning,ve.SchemaResolveError))}else{p=f.create(e.positionAt(c.offset),e.positionAt(c.offset+1));s(k.create(p,n.errors[0],x.Warning,ve.SchemaResolveError))}}else{var m=t.validate(e,n.schema);m&&m.forEach(s)}(function e(t){if(t&&"object"==typeof t){if($(t.allowComments))return t.allowComments;if(t.allOf)for(var r=0,n=t.allOf;r<n.length;r++){var i=n[r],o=e(i);if($(o))return o}}return})(n.schema)&&(u=void 0),function e(t){if(t&&"object"==typeof t){if($(t.allowTrailingCommas))return t.allowTrailingCommas;if($(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(t.allOf)for(var r=0,n=t.allOf;r<n.length;r++){var i=n[r],o=e(i);if($(o))return o}}return}(n.schema)&&(a=void 0)}for(var d=0,g=t.syntaxErrors;d<g.length;d++){var v=g[d];if(v.code===ve.TrailingComma){if("number"!=typeof a)continue;v.severity=a}s(v)}if("number"==typeof u){var y=Ze("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){s(k.create(e,y,u,ve.CommentNotPermitted))}))}return o};if(n){var c=n.id||"schemaservice://untitled/"+Xe++;return this.jsonSchemaService.resolveSchemaContent(new ze(n),c,{}).then((function(e){return u(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return u(e)}))}}(),0);function Qe(e){switch(e){case"error":return x.Error;case"warning":return x.Warning;case"ignore":return}}function Ye(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function et(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ye(e.charCodeAt(1))/255,green:17*Ye(e.charCodeAt(2))/255,blue:17*Ye(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ye(e.charCodeAt(1))/255,green:17*Ye(e.charCodeAt(2))/255,blue:17*Ye(e.charCodeAt(3))/255,alpha:17*Ye(e.charCodeAt(4))/255};case 7:return{red:(16*Ye(e.charCodeAt(1))+Ye(e.charCodeAt(2)))/255,green:(16*Ye(e.charCodeAt(3))+Ye(e.charCodeAt(4)))/255,blue:(16*Ye(e.charCodeAt(5))+Ye(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ye(e.charCodeAt(1))+Ye(e.charCodeAt(2)))/255,green:(16*Ye(e.charCodeAt(3))+Ye(e.charCodeAt(4)))/255,blue:(16*Ye(e.charCodeAt(5))+Ye(e.charCodeAt(6)))/255,alpha:(16*Ye(e.charCodeAt(7))+Ye(e.charCodeAt(8)))/255}}return null}!function(){function e(e){this.schemaService=e}e.prototype.findDocumentSymbols=function(e,t,r){var n=this;void 0===r&&(r={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return null;var o=r.resultLimit,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||De(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,p=l.properties;f<p.length;f++){var m=p[f];if("key"===m.keyNode.value&&m.valueNode){var d=h.create(e.uri,tt(e,l));if(s.push({name:Ne(m.valueNode),kind:te.Function,location:d}),--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),s}}}return s}for(var g=[{node:i,containerName:""}],v=0,y=!1,b=[],x=function(t,r){"array"===t.type?t.items.forEach((function(e){e&&g.push({node:e,containerName:r})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=h.create(e.uri,tt(e,t)),s=r?r+"."+t.keyNode.value:t.keyNode.value;b.push({name:n.getKeyLabel(t),kind:n.getSymbolKind(i.type),location:a,containerName:r}),g.push({node:i,containerName:s})}else y=!0}))};v<g.length;){var S=g[v++];x(S.node,S.containerName)}return y&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),b},e.prototype.findDocumentSymbols2=function(e,t,r){var n=this;void 0===r&&(r={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return null;var o=r.resultLimit,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||De(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var p=h[f];if("key"===p.keyNode.value&&p.valueNode){var m=tt(e,l),d=tt(e,p.keyNode);if(s.push({name:Ne(p.valueNode),kind:te.Function,range:m,selectionRange:d}),--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),s}}}return s}for(var g=[],v=[{node:i,result:g}],y=0,b=!1,x=function(t,r){"array"===t.type?t.items.forEach((function(t,i){if(t)if(o>0){o--;var a=tt(e,t),s=a,u={name:String(i),kind:n.getSymbolKind(t.type),range:a,selectionRange:s,children:[]};r.push(u),v.push({result:u.children,node:t})}else b=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=tt(e,t),s=tt(e,t.keyNode),u={name:n.getKeyLabel(t),kind:n.getSymbolKind(i.type),range:a,selectionRange:s,children:[]};r.push(u),v.push({result:u.children,node:i})}else b=!0}))};y<v.length;){var S=v[y++];x(S.node,S.result)}return b&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),g},e.prototype.getSymbolKind=function(e){switch(e){case"object":return te.Module;case"string":return te.String;case"number":return te.Number;case"array":return te.Array;case"boolean":return te.Boolean;default:return te.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,r){return this.schemaService.getSchemaForResource(e.uri,t).then((function(n){var i=[];if(n)for(var o=r&&"number"==typeof r.resultLimit?r.resultLimit:Number.MAX_VALUE,a={},s=0,u=t.getMatchingSchemas(n.schema);s<u.length;s++){var c=u[s];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var l=String(c.node.offset);if(!a[l]){var f=et(Ne(c.node));if(f){var h=tt(e,c.node);i.push({color:f,range:h})}if(a[l]=!0,--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,r,n){var i,o=[],a=Math.round(255*r.red),s=Math.round(255*r.green),u=Math.round(255*r.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===r.alpha?"#"+c(a)+c(s)+c(u):"#"+c(a)+c(s)+c(u)+c(Math.round(255*r.alpha)),o.push({label:i,textEdit:A.replace(n,JSON.stringify(i))}),o}}();function tt(e,t){return f.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var rt=we(),nt={schemaAssociations:{},schemas:{"http://json-schema.org/draft-04/schema#":{title:rt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:rt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},it={id:rt("schema.json.id","A unique identifier for the schema."),$schema:rt("schema.json.$schema","The schema to verify this document against."),title:rt("schema.json.title","A descriptive title of the element."),description:rt("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:rt("schema.json.default","A default value. Used by suggestions."),multipleOf:rt("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:rt("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:rt("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:rt("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:rt("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:rt("schema.json.maxLength","The maximum length of a string."),minLength:rt("schema.json.minLength","The minimum length of a string."),pattern:rt("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:rt("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:rt("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:rt("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:rt("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:rt("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:rt("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:rt("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:rt("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:rt("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:rt("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:rt("schema.json.properties","A map of property names to schemas for each property."),patternProperties:rt("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:rt("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:rt("schema.json.enum","The set of literal values that are valid."),type:rt("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:rt("schema.json.format","Describes the format expected for the value."),allOf:rt("schema.json.allOf","An array of schemas, all of which must match."),anyOf:rt("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:rt("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:rt("schema.json.not","A schema which must not match."),$id:rt("schema.json.$id","A unique identifier for the schema."),$ref:rt("schema.json.$ref","Reference a definition hosted on any location."),$comment:rt("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:rt("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:rt("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:rt("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:rt("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:rt("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:rt("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:rt("schema.json.contentEncoding","Describes the content encoding of a string property."),if:rt("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:rt("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:rt("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ot in nt.schemas){var at=nt.schemas[ot];for(var st in at.properties){var ut=at.properties[st];!0===ut&&(ut=at.properties[st]={});var ct=it[st];ct?ut.description=ct:console.log(st+": localize('schema.json."+st+'\', "")')}}monaco.Uri;var lt=monaco.Range,ft=function(){function e(e,t,r){var n=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var i=function(e){var t,r=e.getModeId();r===n._languageId&&(n._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return n._doValidate(e.uri,r)}),500)})),n._doValidate(e.uri,r))},o=function(e){monaco.editor.setModelMarkers(e,n._languageId,[]);var t=e.uri.toString(),r=n._listener[t];r&&(r.dispose(),delete n._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(i)),this._disposables.push(monaco.editor.onWillDisposeModel((function(e){o(e),n._resetSchema(e.uri)}))),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){o(e.model),i(e.model),n._resetSchema(e.model.uri)}))),this._disposables.push(r.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===n._languageId&&(o(e),i(e))}))}))),this._disposables.push({dispose:function(){for(var e in monaco.editor.getModels().forEach(o),n._listener)n._listener[e].dispose()}}),monaco.editor.getModels().forEach(i)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},e.prototype._doValidate=function(e,t){this._worker(e).then((function(r){return r.doValidation(e.toString()).then((function(r){var n=r.map((function(e){return r="number"==typeof(t=e).code?String(t.code):t.code,{severity:ht(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:r,source:t.source};var t,r})),i=monaco.editor.getModel(e);i&&i.getModeId()===t&&monaco.editor.setModelMarkers(i,t,n)}))})).then(void 0,(function(e){console.error(e)}))},e}();function ht(e){switch(e){case x.Error:return monaco.MarkerSeverity.Error;case x.Warning:return monaco.MarkerSeverity.Warning;case x.Information:return monaco.MarkerSeverity.Info;case x.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function pt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function mt(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function dt(e){if(e)return new lt(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function gt(e){var t=monaco.languages.CompletionItemKind;switch(e){case B.Text:return t.Text;case B.Method:return t.Method;case B.Function:return t.Function;case B.Constructor:return t.Constructor;case B.Field:return t.Field;case B.Variable:return t.Variable;case B.Class:return t.Class;case B.Interface:return t.Interface;case B.Module:return t.Module;case B.Property:return t.Property;case B.Unit:return t.Unit;case B.Value:return t.Value;case B.Enum:return t.Enum;case B.Keyword:return t.Keyword;case B.Snippet:return t.Snippet;case B.Color:return t.Color;case B.File:return t.File;case B.Reference:return t.Reference}return t.Property}function vt(e){if(e)return{range:dt(e.range),text:e.newText}}var yt=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,r,n){var i=e.uri;return this._worker(i).then((function(e){return e.doComplete(i.toString(),pt(t))})).then((function(r){if(r){var n=e.getWordUntilPosition(t),i=new lt(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn),o=r.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:i,kind:gt(e.kind)};return e.textEdit&&(t.range=dt(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(vt)),e.insertTextFormat===K.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:r.isIncomplete,suggestions:o}}}))},e}();function bt(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function xt(e){if(e)return Array.isArray(e)?e.map(bt):[bt(e)]}var St=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.doHover(n.toString(),pt(t))})).then((function(e){if(e)return{range:dt(e.range),contents:xt(e.contents)}}))},e}();function kt(e){var t=monaco.languages.SymbolKind;switch(e){case te.File:return t.Array;case te.Module:return t.Module;case te.Namespace:return t.Namespace;case te.Package:return t.Package;case te.Class:return t.Class;case te.Method:return t.Method;case te.Property:return t.Property;case te.Field:return t.Field;case te.Constructor:return t.Constructor;case te.Enum:return t.Enum;case te.Interface:return t.Interface;case te.Function:return t.Function;case te.Variable:return t.Variable;case te.Constant:return t.Constant;case te.String:return t.String;case te.Number:return t.Number;case te.Boolean:return t.Boolean;case te.Array:return t.Array}return t.Function}var Ct=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var r=e.uri;return this._worker(r).then((function(e){return e.findDocumentSymbols(r.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:kt(e.kind),range:dt(e.location.range),selectionRange:dt(e.location.range),tags:[]}}))}))},e}();function At(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var wt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.format(n.toString(),null,At(t)).then((function(e){if(e&&0!==e.length)return e.map(vt)}))}))},e}(),It=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,r,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),mt(t),At(r)).then((function(e){if(e&&0!==e.length)return e.map(vt)}))}))},e}(),Tt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var r=e.uri;return this._worker(r).then((function(e){return e.findDocumentColors(r.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:dt(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getColorPresentations(n.toString(),t.color,mt(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=vt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(vt)),t}))}))},e}(),Et=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getFoldingRanges(n.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case v.Comment:return monaco.languages.FoldingRangeKind.Comment;case v.Imports:return monaco.languages.FoldingRangeKind.Imports;case v.Region:return monaco.languages.FoldingRangeKind.Region}return}(e.kind)),t}))}))},e}();var Ot=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getSelectionRanges(n.toString(),t.map(pt))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:dt(e.range)}),e=e.parent;return t}))}))},e}();function jt(e){return{getInitialState:function(){return new Pt(null,null,!1)},tokenize:function(t,r,n,i){return function(e,t,r,n,i){void 0===n&&(n=0);var o=0,a=!1;switch(r.scanError){case 2:t='"'+t,o=1;break;case 1:t="/*"+t,o=2}var s,u,c=j(t),l=r.lastWasColon;u={tokens:[],endState:r.clone()};for(;;){var f=n+c.getPosition(),h="";if(17===(s=c.scan()))break;if(f===n+c.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(c.getPosition(),3));switch(a&&(f-=o),a=o>0,s){case 1:case 2:h="delimiter.bracket.json",l=!1;break;case 3:case 4:h="delimiter.array.json",l=!1;break;case 6:h="delimiter.colon.json",l=!0;break;case 5:h="delimiter.comma.json",l=!1;break;case 8:case 9:case 7:h="keyword.json",l=!1;break;case 10:h=l?"string.value.json":"string.key.json",l=!1;break;case 11:h="number.json",l=!1}if(e)switch(s){case 12:h="comment.line.json";break;case 13:h="comment.block.json"}u.endState=new Pt(r.getStateData(),c.getTokenError(),l),u.tokens.push({startIndex:f,scopes:h})}return u}(e,t,r,n)}}}var Pt=function(){function e(e,t,r){this._state=e,this.scanError=t,this.lastWasColon=r}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&(this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon)},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}();function Mt(e){var t=[],r=[],n=new i(e);t.push(n);var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)};function a(){var t=e.languageId,n=e.modeConfiguration;Vt(r),n.documentFormattingEdits&&r.push(monaco.languages.registerDocumentFormattingEditProvider(t,new wt(o))),n.documentRangeFormattingEdits&&r.push(monaco.languages.registerDocumentRangeFormattingEditProvider(t,new It(o))),n.completionItems&&r.push(monaco.languages.registerCompletionItemProvider(t,new yt(o))),n.hovers&&r.push(monaco.languages.registerHoverProvider(t,new St(o))),n.documentSymbols&&r.push(monaco.languages.registerDocumentSymbolProvider(t,new Ct(o))),n.tokens&&r.push(monaco.languages.setTokensProvider(t,jt(!0))),n.colors&&r.push(monaco.languages.registerColorProvider(t,new Tt(o))),n.foldingRanges&&r.push(monaco.languages.registerFoldingRangeProvider(t,new Et(o))),n.diagnostics&&r.push(new ft(t,o,e)),n.selectionRanges&&r.push(monaco.languages.registerSelectionRangeProvider(t,new Ot(o)))}a(),t.push(monaco.languages.setLanguageConfiguration(e.languageId,Ft));var s=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==s&&(s=e.modeConfiguration,a())})),t.push(_t(r)),_t(t)}function _t(e){return{dispose:function(){return Vt(e)}}}function Vt(e){for(;e.length;)e.pop().dispose()}var Ft={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},"xiP/":function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n,i,o,a=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;o=s.indexOf("Windows")>=0}var u=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//;var f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,r,n,i,o){void 0===o&&(o=!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,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",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&&!u.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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,o))}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 b(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,r=e.authority,n=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&o===this.fragment?this:new d(t,r,n,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var r=h.exec(e);return r?new d(r[2]||"",decodeURIComponent(r[4]||""),decodeURIComponent(r[5]||""),decodeURIComponent(r[7]||""),decodeURIComponent(r[9]||""),t):new d("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var r=e.indexOf(f,2);-1===r?(t=e.substring(2),e=f):(t=e.substring(2,r),e=e.substring(r)||f)}return new d("file",t,e,"","")},e.from=function(e){return new d(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),x(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var r=new d(t);return r._formatted=t.external,r._fsPath=t._sep===m?t.fsPath:null,r}return t},e}(),m=o?1:void 0,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?x(this,!0):(this._formatted||(this._formatted=x(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),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}(p),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var r=void 0,n=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),void 0!==r&&(r+=e.charAt(i));else{void 0===r&&(r=e.substr(0,i));var a=g[o];void 0!==a?(-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=a):-1===n&&(n=i)}}return-1!==n&&(r+=encodeURIComponent(e.substring(n))),void 0!==r?r:e}function y(e){for(var t=void 0,r=0;r<e.length;r++){var n=e.charCodeAt(r);35===n||63===n?(void 0===t&&(t=e.substr(0,r)),t+=g[n]):void 0!==t&&(t+=e[r])}return void 0!==t?t:e}function b(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,o&&(t=t.replace(/\//g,"\\")),t}function x(e,t){var r=t?y:v,n="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(n+=i,n+=":"),(o||"file"===i)&&(n+=f,n+=f),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?n+=r(l,!1):(n+=r(l.substr(0,c),!1),n+=":",n+=r(l.substr(c+1),!1)),n+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?n+=r(o,!1):(n+=r(o.substr(0,c),!1),n+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}n+=r(a,!0)}return s&&(n+="?",n+=r(s,!1)),u&&(n+="#",n+=t?u:v(u,!1)),n}}).call(this,r("KCCg"))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[95],{R7lK:function(e,t,r){"use strict";r.r(t),r.d(t,"setupMode",(function(){return Mt}));var n,i=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){this._worker&&(Date.now()-this._lastUsedTime>12e4&&this._stopWorker())},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/json/jsonWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(r)})).then((function(t){return e}))},e}();function o(e,t){void 0===t&&(t=!1);var r=e.length,n=0,i="",o=0,c=16,l=0,f=0,h=0,p=0,m=0;function d(t,r){for(var i=0,o=0;i<t||!r;){var a=e.charCodeAt(n);if(a>=48&&a<=57)o=16*o+a-48;else if(a>=65&&a<=70)o=16*o+a-65+10;else{if(!(a>=97&&a<=102))break;o=16*o+a-97+10}n++,i++}return i<t&&(o=-1),o}function g(){if(i="",m=0,o=n,f=l,p=h,n>=r)return o=r,c=17;var t=e.charCodeAt(n);if(a(t)){do{n++,i+=String.fromCharCode(t),t=e.charCodeAt(n)}while(a(t));return c=15}if(s(t))return n++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(n)&&(n++,i+="\n"),l++,h=n,c=14;switch(t){case 123:return n++,c=1;case 125:return n++,c=2;case 91:return n++,c=3;case 93:return n++,c=4;case 58:return n++,c=6;case 44:return n++,c=5;case 34:return n++,i=function(){for(var t="",i=n;;){if(n>=r){t+=e.substring(i,n),m=2;break}var o=e.charCodeAt(n);if(34===o){t+=e.substring(i,n),n++;break}if(92!==o){if(o>=0&&o<=31){if(s(o)){t+=e.substring(i,n),m=2;break}m=6}n++}else{if(t+=e.substring(i,n),++n>=r){m=2;break}switch(e.charCodeAt(n++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:var a=d(4,!0);a>=0?t+=String.fromCharCode(a):m=4;break;default:m=5}i=n}}return t}(),c=10;case 47:var g=n-1;if(47===e.charCodeAt(n+1)){for(n+=2;n<r&&!s(e.charCodeAt(n));)n++;return i=e.substring(g,n),c=12}if(42===e.charCodeAt(n+1)){n+=2;for(var y=r-1,b=!1;n<y;){var x=e.charCodeAt(n);if(42===x&&47===e.charCodeAt(n+1)){n+=2,b=!0;break}n++,s(x)&&(13===x&&10===e.charCodeAt(n)&&n++,l++,h=n)}return b||(n++,m=1),i=e.substring(g,n),c=13}return i+=String.fromCharCode(t),n++,c=16;case 45:if(i+=String.fromCharCode(t),++n===r||!u(e.charCodeAt(n)))return c=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){var t=n;if(48===e.charCodeAt(n))n++;else for(n++;n<e.length&&u(e.charCodeAt(n));)n++;if(n<e.length&&46===e.charCodeAt(n)){if(!(++n<e.length&&u(e.charCodeAt(n))))return m=3,e.substring(t,n);for(n++;n<e.length&&u(e.charCodeAt(n));)n++}var r=n;if(n<e.length&&(69===e.charCodeAt(n)||101===e.charCodeAt(n)))if((++n<e.length&&43===e.charCodeAt(n)||45===e.charCodeAt(n))&&n++,n<e.length&&u(e.charCodeAt(n))){for(n++;n<e.length&&u(e.charCodeAt(n));)n++;r=n}else m=3;return e.substring(t,r)}(),c=11;default:for(;n<r&&v(t);)n++,t=e.charCodeAt(n);if(o!==n){switch(i=e.substring(o,n)){case"true":return c=8;case"false":return c=9;case"null":return c=7}return c=16}return i+=String.fromCharCode(t),n++,c=16}}function v(e){if(a(e)||s(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){n=e,i="",o=0,c=16,m=0},getPosition:function(){return n},scan:t?function(){var e;do{e=g()}while(e>=12&&e<=15);return e}:g,getToken:function(){return c},getTokenValue:function(){return i},getTokenOffset:function(){return o},getTokenLength:function(){return n-o},getTokenStartLine:function(){return f},getTokenStartCharacter:function(){return o-p},getTokenError:function(){return m}}}function a(e){return 32===e||9===e||11===e||12===e||160===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function s(e){return 10===e||13===e||8232===e||8233===e}function u(e){return e>=48&&e<=57}function c(e,t,r){void 0===r&&(r=n.DEFAULT);var i=o(e,!1);function a(e){return e?function(){return e(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}function s(e){return e?function(t){return e(t,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter())}:function(){return!0}}var u=a(t.onObjectBegin),c=s(t.onObjectProperty),l=a(t.onObjectEnd),f=a(t.onArrayBegin),h=a(t.onArrayEnd),p=s(t.onLiteralValue),m=s(t.onSeparator),d=a(t.onComment),g=s(t.onError),v=r&&r.disallowComments,y=r&&r.allowTrailingComma;function b(){for(;;){var e=i.scan();switch(i.getTokenError()){case 4:x(14);break;case 5:x(15);break;case 3:x(13);break;case 1:v||x(11);break;case 2:x(12);break;case 6:x(16)}switch(e){case 12:case 13:v?x(10):d();break;case 16:x(1);break;case 15:case 14:break;default:return e}}}function x(e,t,r){if(void 0===t&&(t=[]),void 0===r&&(r=[]),g(e),t.length+r.length>0)for(var n=i.getToken();17!==n;){if(-1!==t.indexOf(n)){b();break}if(-1!==r.indexOf(n))break;n=b()}}function S(e){var t=i.getTokenValue();return e?p(t):c(t),b(),!0}function k(){switch(i.getToken()){case 3:return function(){f(),b();for(var e=!1;4!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||x(4,[],[]),m(","),b(),4===i.getToken()&&y)break}else e&&x(6,[],[]);k()||x(4,[],[4,5]),e=!0}return h(),4!==i.getToken()?x(8,[4],[]):b(),!0}();case 1:return function(){u(),b();for(var e=!1;2!==i.getToken()&&17!==i.getToken();){if(5===i.getToken()){if(e||x(4,[],[]),m(","),b(),2===i.getToken()&&y)break}else e&&x(6,[],[]);(10!==i.getToken()?(x(3,[],[2,5]),0):(S(!1),6===i.getToken()?(m(":"),b(),k()||x(4,[],[2,5])):x(5,[],[2,5]),1))||x(4,[],[2,5]),e=!0}return l(),2!==i.getToken()?x(7,[2],[]):b(),!0}();case 10:return S(!0);default:return function(){switch(i.getToken()){case 11:var e=0;try{"number"!=typeof(e=JSON.parse(i.getTokenValue()))&&(x(2),e=0)}catch(e){x(2)}p(e);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return b(),!0}()}}return b(),17===i.getToken()?!!r.allowEmptyContent||(x(4,[],[]),!1):k()?(17!==i.getToken()&&x(9,[],[]),!0):(x(4,[],[]),!1)}!function(e){e.DEFAULT={allowTrailingComma:!1}}(n||(n={}));var l,f,h,p,m,d,g,v,y,b,x,S,k,C,A,w,I,T,E,O,j=o,P=function(e,t,r){void 0===t&&(t=[]),void 0===r&&(r=n.DEFAULT);var i=null,o=[],a=[];function s(e){Array.isArray(o)?o.push(e):null!==i&&(o[i]=e)}return c(e,{onObjectBegin:function(){var e={};s(e),a.push(o),o=e,i=null},onObjectProperty:function(e){i=e},onObjectEnd:function(){o=a.pop()},onArrayBegin:function(){var e=[];s(e),a.push(o),o=e,i=null},onArrayEnd:function(){o=a.pop()},onLiteralValue:s,onError:function(e,r,n){t.push({error:e,offset:r,length:n})}},r),o[0]},M=function e(t,r,n){if(void 0===n&&(n=!1),function(e,t,r){return void 0===r&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}(t,r,n)){var i=t.children;if(Array.isArray(i))for(var o=0;o<i.length&&i[o].offset<=r;o++){var a=e(i[o],r,n);if(a)return a}return t}},_=function e(t){if(!t.parent||!t.parent.children)return[];var r=e(t.parent);if("property"===t.parent.type){var n=t.parent.children[0].value;r.push(n)}else if("array"===t.parent.type){var i=t.parent.children.indexOf(t);-1!==i&&r.push(i)}return r},V=function e(t){switch(t.type){case"array":return t.children.map(e);case"object":for(var r=Object.create(null),n=0,i=t.children;n<i.length;n++){var o=i[n],a=o.children[1];a&&(r[o.children[0].value]=e(a))}return r;case"null":case"string":case"number":case"boolean":return t.value;default:return}};function F(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;var r,n;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(r=0;r<e.length;r++)if(!F(e[r],t[r]))return!1}else{var i=[];for(n in e)i.push(n);i.sort();var o=[];for(n in t)o.push(n);if(o.sort(),!F(i,o))return!1;for(r=0;r<i.length;r++)if(!F(e[i[r]],t[i[r]]))return!1}return!0}function N(e){return"number"==typeof e}function R(e){return void 0!==e}function $(e){return"boolean"==typeof e}!function(e){e.create=function(e,t){return{line:e,character:t}},e.is=function(e){var t=e;return me.objectLiteral(t)&&me.number(t.line)&&me.number(t.character)}}(l||(l={})),function(e){e.create=function(e,t,r,n){if(me.number(e)&&me.number(t)&&me.number(r)&&me.number(n))return{start:l.create(e,t),end:l.create(r,n)};if(l.is(e)&&l.is(t))return{start:e,end:t};throw new Error("Range#create called with invalid arguments["+e+", "+t+", "+r+", "+n+"]")},e.is=function(e){var t=e;return me.objectLiteral(t)&&l.is(t.start)&&l.is(t.end)}}(f||(f={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.string(t.uri)||me.undefined(t.uri))}}(h||(h={})),function(e){e.create=function(e,t,r,n){return{targetUri:e,targetRange:t,targetSelectionRange:r,originSelectionRange:n}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.targetRange)&&me.string(t.targetUri)&&(f.is(t.targetSelectionRange)||me.undefined(t.targetSelectionRange))&&(f.is(t.originSelectionRange)||me.undefined(t.originSelectionRange))}}(p||(p={})),function(e){e.create=function(e,t,r,n){return{red:e,green:t,blue:r,alpha:n}},e.is=function(e){var t=e;return me.number(t.red)&&me.number(t.green)&&me.number(t.blue)&&me.number(t.alpha)}}(m||(m={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){var t=e;return f.is(t.range)&&m.is(t.color)}}(d||(d={})),function(e){e.create=function(e,t,r){return{label:e,textEdit:t,additionalTextEdits:r}},e.is=function(e){var t=e;return me.string(t.label)&&(me.undefined(t.textEdit)||A.is(t))&&(me.undefined(t.additionalTextEdits)||me.typedArray(t.additionalTextEdits,A.is))}}(g||(g={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(v||(v={})),function(e){e.create=function(e,t,r,n,i){var o={startLine:e,endLine:t};return me.defined(r)&&(o.startCharacter=r),me.defined(n)&&(o.endCharacter=n),me.defined(i)&&(o.kind=i),o},e.is=function(e){var t=e;return me.number(t.startLine)&&me.number(t.startLine)&&(me.undefined(t.startCharacter)||me.number(t.startCharacter))&&(me.undefined(t.endCharacter)||me.number(t.endCharacter))&&(me.undefined(t.kind)||me.string(t.kind))}}(y||(y={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){var t=e;return me.defined(t)&&h.is(t.location)&&me.string(t.message)}}(b||(b={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(x||(x={})),function(e){e.Unnecessary=1,e.Deprecated=2}(S||(S={})),function(e){e.create=function(e,t,r,n,i,o){var a={range:e,message:t};return me.defined(r)&&(a.severity=r),me.defined(n)&&(a.code=n),me.defined(i)&&(a.source=i),me.defined(o)&&(a.relatedInformation=o),a},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&me.string(t.message)&&(me.number(t.severity)||me.undefined(t.severity))&&(me.number(t.code)||me.string(t.code)||me.undefined(t.code))&&(me.string(t.source)||me.undefined(t.source))&&(me.undefined(t.relatedInformation)||me.typedArray(t.relatedInformation,b.is))}}(k||(k={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={title:e,command:t};return me.defined(r)&&r.length>0&&(i.arguments=r),i},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.title)&&me.string(t.command)}}(C||(C={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){var t=e;return me.objectLiteral(t)&&me.string(t.newText)&&f.is(t.range)}}(A||(A={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){var t=e;return me.defined(t)&&D.is(t.textDocument)&&Array.isArray(t.edits)}}(w||(w={})),function(e){e.create=function(e,t){var r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"create"===t.kind&&me.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||me.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||me.boolean(t.options.ignoreIfExists)))}}(I||(I={})),function(e){e.create=function(e,t,r){var n={kind:"rename",oldUri:e,newUri:t};return void 0===r||void 0===r.overwrite&&void 0===r.ignoreIfExists||(n.options=r),n},e.is=function(e){var t=e;return t&&"rename"===t.kind&&me.string(t.oldUri)&&me.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||me.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||me.boolean(t.options.ignoreIfExists)))}}(T||(T={})),function(e){e.create=function(e,t){var r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),r},e.is=function(e){var t=e;return t&&"delete"===t.kind&&me.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||me.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||me.boolean(t.options.ignoreIfNotExists)))}}(E||(E={})),function(e){e.is=function(e){var t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((function(e){return me.string(e.kind)?I.is(e)||T.is(e)||E.is(e):w.is(e)})))}}(O||(O={}));var L,D,W,U,q,B,K,J,z,H,G,Z,X,Q,Y,ee,te,re,ne,ie,oe,ae,se,ue,ce,le,fe,he=function(){function e(e){this.edits=e}return e.prototype.insert=function(e,t){this.edits.push(A.insert(e,t))},e.prototype.replace=function(e,t){this.edits.push(A.replace(e,t))},e.prototype.delete=function(e){this.edits.push(A.del(e))},e.prototype.add=function(e){this.edits.push(e)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e}();!function(){function e(e){var t=this;this._textEditChanges=Object.create(null),e&&(this._workspaceEdit=e,e.documentChanges?e.documentChanges.forEach((function(e){if(w.is(e)){var r=new he(e.edits);t._textEditChanges[e.textDocument.uri]=r}})):e.changes&&Object.keys(e.changes).forEach((function(r){var n=new he(e.changes[r]);t._textEditChanges[r]=n})))}Object.defineProperty(e.prototype,"edit",{get:function(){return this._workspaceEdit},enumerable:!0,configurable:!0}),e.prototype.getTextEditChange=function(e){if(D.is(e)){if(this._workspaceEdit||(this._workspaceEdit={documentChanges:[]}),!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.");var t=e;if(!(n=this._textEditChanges[t.uri])){var r={textDocument:t,edits:i=[]};this._workspaceEdit.documentChanges.push(r),n=new he(i),this._textEditChanges[t.uri]=n}return n}if(this._workspaceEdit||(this._workspaceEdit={changes:Object.create(null)}),!this._workspaceEdit.changes)throw new Error("Workspace edit is not configured for normal text edit changes.");var n;if(!(n=this._textEditChanges[e])){var i=[];this._workspaceEdit.changes[e]=i,n=new he(i),this._textEditChanges[e]=n}return n},e.prototype.createFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(I.create(e,t))},e.prototype.renameFile=function(e,t,r){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(T.create(e,t,r))},e.prototype.deleteFile=function(e,t){this.checkDocumentChanges(),this._workspaceEdit.documentChanges.push(E.create(e,t))},e.prototype.checkDocumentChanges=function(){if(!this._workspaceEdit||!this._workspaceEdit.documentChanges)throw new Error("Workspace edit is not configured for document changes.")}}();!function(e){e.create=function(e){return{uri:e}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)}}(L||(L={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)&&(null===t.version||me.number(t.version))}}(D||(D={})),function(e){e.create=function(e,t,r,n){return{uri:e,languageId:t,version:r,text:n}},e.is=function(e){var t=e;return me.defined(t)&&me.string(t.uri)&&me.string(t.languageId)&&me.number(t.version)&&me.string(t.text)}}(W||(W={})),function(e){e.PlainText="plaintext",e.Markdown="markdown"}(U||(U={})),function(e){e.is=function(t){var r=t;return r===e.PlainText||r===e.Markdown}}(U||(U={})),function(e){e.is=function(e){var t=e;return me.objectLiteral(e)&&U.is(t.kind)&&me.string(t.value)}}(q||(q={})),function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25}(B||(B={})),function(e){e.PlainText=1,e.Snippet=2}(K||(K={})),function(e){e.Deprecated=1}(J||(J={})),function(e){e.create=function(e){return{label:e}}}(z||(z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(H||(H={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){var t=e;return me.string(t)||me.objectLiteral(t)&&me.string(t.language)&&me.string(t.value)}}(G||(G={})),function(e){e.is=function(e){var t=e;return!!t&&me.objectLiteral(t)&&(q.is(t.contents)||G.is(t.contents)||me.typedArray(t.contents,G.is))&&(void 0===e.range||f.is(e.range))}}(Z||(Z={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(X||(X={})),function(e){e.create=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={label:e};return me.defined(t)&&(i.documentation=t),me.defined(r)?i.parameters=r:i.parameters=[],i}}(Q||(Q={})),function(e){e.Text=1,e.Read=2,e.Write=3}(Y||(Y={})),function(e){e.create=function(e,t){var r={range:e};return me.number(t)&&(r.kind=t),r}}(ee||(ee={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(te||(te={})),function(e){e.Deprecated=1}(re||(re={})),function(e){e.create=function(e,t,r,n,i){var o={name:e,kind:t,location:{uri:n,range:r}};return i&&(o.containerName=i),o}}(ne||(ne={})),function(e){e.create=function(e,t,r,n,i,o){var a={name:e,detail:t,kind:r,range:n,selectionRange:i};return void 0!==o&&(a.children=o),a},e.is=function(e){var t=e;return t&&me.string(t.name)&&me.number(t.kind)&&f.is(t.range)&&f.is(t.selectionRange)&&(void 0===t.detail||me.string(t.detail))&&(void 0===t.deprecated||me.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))}}(ie||(ie={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(oe||(oe={})),function(e){e.create=function(e,t){var r={diagnostics:e};return null!=t&&(r.only=t),r},e.is=function(e){var t=e;return me.defined(t)&&me.typedArray(t.diagnostics,k.is)&&(void 0===t.only||me.typedArray(t.only,me.string))}}(ae||(ae={})),function(e){e.create=function(e,t,r){var n={title:e};return C.is(t)?n.command=t:n.edit=t,void 0!==r&&(n.kind=r),n},e.is=function(e){var t=e;return t&&me.string(t.title)&&(void 0===t.diagnostics||me.typedArray(t.diagnostics,k.is))&&(void 0===t.kind||me.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||C.is(t.command))&&(void 0===t.isPreferred||me.boolean(t.isPreferred))&&(void 0===t.edit||O.is(t.edit))}}(se||(se={})),function(e){e.create=function(e,t){var r={range:e};return me.defined(t)&&(r.data=t),r},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.undefined(t.command)||C.is(t.command))}}(ue||(ue={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){var t=e;return me.defined(t)&&me.number(t.tabSize)&&me.boolean(t.insertSpaces)}}(ce||(ce={})),function(e){e.create=function(e,t,r){return{range:e,target:t,data:r}},e.is=function(e){var t=e;return me.defined(t)&&f.is(t.range)&&(me.undefined(t.target)||me.string(t.target))}}(le||(le={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){var r=t;return void 0!==r&&f.is(r.range)&&(void 0===r.parent||e.is(r.parent))}}(fe||(fe={}));var pe;!function(e){e.create=function(e,t,r,n){return new de(e,t,r,n)},e.is=function(e){var t=e;return!!(me.defined(t)&&me.string(t.uri)&&(me.undefined(t.languageId)||me.string(t.languageId))&&me.number(t.lineCount)&&me.func(t.getText)&&me.func(t.positionAt)&&me.func(t.offsetAt))},e.applyEdits=function(e,t){for(var r=e.getText(),n=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0,i=t.slice(0,n),o=t.slice(n);e(i,r),e(o,r);var a=0,s=0,u=0;for(;a<i.length&&s<o.length;){var c=r(i[a],o[s]);t[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[u++]=i[a++];for(;s<o.length;)t[u++]=o[s++];return t}(t,(function(e,t){var r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r})),i=r.length,o=n.length-1;o>=0;o--){var a=n[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,s)+a.newText+r.substring(u,r.length),i=s}return r}}(pe||(pe={}));var me,de=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0},e.prototype.getLineOffsets=function(){if(void 0===this._lineOffsets){for(var e=[],t=this._content,r=!0,n=0;n<t.length;n++){r&&(e.push(n),r=!1);var i=t.charAt(n);r="\r"===i||"\n"===i,"\r"===i&&n+1<t.length&&"\n"===t.charAt(n+1)&&n++}r&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return l.create(0,e);for(;r<n;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i+1}var o=r-1;return l.create(o,e-t[o])},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e}();!function(e){var t=Object.prototype.toString;e.defined=function(e){return void 0!==e},e.undefined=function(e){return void 0===e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"==typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(me||(me={}));var ge,ve,ye,be=function(){function e(e,t,r,n){this._uri=e,this._languageId=t,this._version=r,this._content=n,this._lineOffsets=void 0}return Object.defineProperty(e.prototype,"uri",{get:function(){return this._uri},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"languageId",{get:function(){return this._languageId},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"version",{get:function(){return this._version},enumerable:!0,configurable:!0}),e.prototype.getText=function(e){if(e){var t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content},e.prototype.update=function(t,r){for(var n=0,i=t;n<i.length;n++){var o=i[n];if(e.isIncremental(o)){var a=Se(o.range),s=this.offsetAt(a.start),u=this.offsetAt(a.end);this._content=this._content.substring(0,s)+o.text+this._content.substring(u,this._content.length);var c=Math.max(a.start.line,0),l=Math.max(a.end.line,0),f=this._lineOffsets,h=xe(o.text,!1,s);if(l-c===h.length)for(var p=0,m=h.length;p<m;p++)f[p+c+1]=h[p];else h.length<1e4?f.splice.apply(f,[c+1,l-c].concat(h)):this._lineOffsets=f=f.slice(0,c+1).concat(h,f.slice(l+1));var d=o.text.length-(u-s);if(0!==d)for(p=c+1+h.length,m=f.length;p<m;p++)f[p]=f[p]+d}else{if(!e.isFull(o))throw new Error("Unknown change event received");this._content=o.text,this._lineOffsets=void 0}}this._version=r},e.prototype.getLineOffsets=function(){return void 0===this._lineOffsets&&(this._lineOffsets=xe(this._content,!0)),this._lineOffsets},e.prototype.positionAt=function(e){e=Math.max(Math.min(e,this._content.length),0);var t=this.getLineOffsets(),r=0,n=t.length;if(0===n)return{line:0,character:e};for(;r<n;){var i=Math.floor((r+n)/2);t[i]>e?n=i:r=i+1}var o=r-1;return{line:o,character:e-t[o]}},e.prototype.offsetAt=function(e){var t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;var r=t[e.line],n=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(r+e.character,n),r)},Object.defineProperty(e.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!0,configurable:!0}),e.isIncremental=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0!==t.range&&(void 0===t.rangeLength||"number"==typeof t.rangeLength)},e.isFull=function(e){var t=e;return null!=t&&"string"==typeof t.text&&void 0===t.range&&void 0===t.rangeLength},e}();function xe(e,t,r){void 0===r&&(r=0);for(var n=t?[r]:[],i=0;i<e.length;i++){var o=e.charCodeAt(i);13!==o&&10!==o||(13===o&&i+1<e.length&&10===e.charCodeAt(i+1)&&i++,n.push(r+i+1))}return n}function Se(e){var t=e.start,r=e.end;return t.line>r.line||t.line===r.line&&t.character>r.character?{start:r,end:t}:e}function ke(e){var t=Se(e.range);return t!==e.range?{newText:e.newText,range:t}:e}function Ce(e,t){return 0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,r){var n=r[0];return void 0!==t[n]?t[n]:e}))}function Ae(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return Ce(t,r)}function we(e){return Ae}!function(e){e.create=function(e,t,r,n){return new be(e,t,r,n)},e.update=function(e,t,r){if(e instanceof be)return e.update(t,r),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},e.applyEdits=function(e,t){for(var r=e.getText(),n=function e(t,r){if(t.length<=1)return t;var n=t.length/2|0,i=t.slice(0,n),o=t.slice(n);e(i,r),e(o,r);var a=0,s=0,u=0;for(;a<i.length&&s<o.length;){var c=r(i[a],o[s]);t[u++]=c<=0?i[a++]:o[s++]}for(;a<i.length;)t[u++]=i[a++];for(;s<o.length;)t[u++]=o[s++];return t}(t.map(ke),(function(e,t){var r=e.range.start.line-t.range.start.line;return 0===r?e.range.start.character-t.range.start.character:r})),i=r.length,o=n.length-1;o>=0;o--){var a=n[o],s=e.offsetAt(a.range.start),u=e.offsetAt(a.range.end);if(!(u<=i))throw new Error("Overlapping edit");r=r.substring(0,s)+a.newText+r.substring(u,r.length),i=s}return r}}(ge||(ge={})),function(e){e[e.Undefined=0]="Undefined",e[e.EnumValueMismatch=1]="EnumValueMismatch",e[e.UnexpectedEndOfComment=257]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=258]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=259]="UnexpectedEndOfNumber",e[e.InvalidUnicode=260]="InvalidUnicode",e[e.InvalidEscapeCharacter=261]="InvalidEscapeCharacter",e[e.InvalidCharacter=262]="InvalidCharacter",e[e.PropertyExpected=513]="PropertyExpected",e[e.CommaExpected=514]="CommaExpected",e[e.ColonExpected=515]="ColonExpected",e[e.ValueExpected=516]="ValueExpected",e[e.CommaOrCloseBacketExpected=517]="CommaOrCloseBacketExpected",e[e.CommaOrCloseBraceExpected=518]="CommaOrCloseBraceExpected",e[e.TrailingComma=519]="TrailingComma",e[e.DuplicateKey=520]="DuplicateKey",e[e.CommentNotPermitted=521]="CommentNotPermitted",e[e.SchemaResolveError=768]="SchemaResolveError"}(ve||(ve={})),(ye||(ye={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[U.Markdown,U.PlainText],commitCharactersSupport:!0}}}};var Ie,Te,Ee=(Ie=function(e,t){return(Ie=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}Ie(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Oe=we(),je={"color-hex":{errorMessage:Oe("colorHexFormatWarning","Invalid color format. Use #RGB, #RGBA, #RRGGBB or #RRGGBBAA."),pattern:/^#([0-9A-Fa-f]{3,4}|([0-9A-Fa-f]{2}){3,4})$/},"date-time":{errorMessage:Oe("dateTimeFormatWarning","String is not a RFC3339 date-time."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},date:{errorMessage:Oe("dateFormatWarning","String is not a RFC3339 date."),pattern:/^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i},time:{errorMessage:Oe("timeFormatWarning","String is not a RFC3339 time."),pattern:/^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i},email:{errorMessage:Oe("emailFormatWarning","String is not an e-mail address."),pattern:/^(([^<>()\[\]\\.,;:\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,}))$/}},Pe=function(){function e(e,t,r){this.offset=t,this.length=r,this.parent=e}return Object.defineProperty(e.prototype,"children",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"type: "+this.type+" ("+this.offset+"/"+this.length+")"+(this.parent?" parent: {"+this.parent.toString()+"}":"")},e}();(function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="null",n.value=null,n}Ee(t,e)})(Pe),function(e){function t(t,r,n){var i=e.call(this,t,n)||this;return i.type="boolean",i.value=r,i}Ee(t,e)}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="array",n.items=[],n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.items},enumerable:!0,configurable:!0})}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="number",n.isInteger=!0,n.value=Number.NaN,n}Ee(t,e)}(Pe),function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i.type="string",i.value="",i}Ee(t,e)}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="property",n.colonOffset=-1,n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.valueNode?[this.keyNode,this.valueNode]:[this.keyNode]},enumerable:!0,configurable:!0})}(Pe),function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.type="object",n.properties=[],n}Ee(t,e),Object.defineProperty(t.prototype,"children",{get:function(){return this.properties},enumerable:!0,configurable:!0})}(Pe);function Me(e){return $(e)?e?{}:{not:{}}:e}!function(e){e[e.Key=0]="Key",e[e.Enum=1]="Enum"}(Te||(Te={}));var _e=function(){function e(e,t){void 0===e&&(e=-1),void 0===t&&(t=null),this.focusOffset=e,this.exclude=t,this.schemas=[]}return e.prototype.add=function(e){this.schemas.push(e)},e.prototype.merge=function(e){var t;(t=this.schemas).push.apply(t,e.schemas)},e.prototype.include=function(e){return(-1===this.focusOffset||$e(e,this.focusOffset))&&e!==this.exclude},e.prototype.newSub=function(){return new e(-1,this.exclude)},e}(),Ve=function(){function e(){}return Object.defineProperty(e.prototype,"schemas",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.add=function(e){},e.prototype.merge=function(e){},e.prototype.include=function(e){return!0},e.prototype.newSub=function(){return this},e.instance=new e,e}(),Fe=function(){function e(){this.problems=[],this.propertiesMatches=0,this.propertiesValueMatches=0,this.primaryValueMatches=0,this.enumValueMatch=!1,this.enumValues=null}return e.prototype.hasProblems=function(){return!!this.problems.length},e.prototype.mergeAll=function(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];this.merge(n)}},e.prototype.merge=function(e){this.problems=this.problems.concat(e.problems)},e.prototype.mergeEnumValues=function(e){if(!this.enumValueMatch&&!e.enumValueMatch&&this.enumValues&&e.enumValues){this.enumValues=this.enumValues.concat(e.enumValues);for(var t=0,r=this.problems;t<r.length;t++){var n=r[t];n.code===ve.EnumValueMismatch&&(n.message=Oe("enumWarning","Value is not accepted. Valid values: {0}.",this.enumValues.map((function(e){return JSON.stringify(e)})).join(", ")))}}},e.prototype.mergePropertyMatch=function(e){this.merge(e),this.propertiesMatches++,(e.enumValueMatch||!e.hasProblems()&&e.propertiesMatches)&&this.propertiesValueMatches++,e.enumValueMatch&&e.enumValues&&1===e.enumValues.length&&this.primaryValueMatches++},e.prototype.compare=function(e){var t=this.hasProblems();return t!==e.hasProblems()?t?-1:1:this.enumValueMatch!==e.enumValueMatch?e.enumValueMatch?-1:1:this.primaryValueMatches!==e.primaryValueMatches?this.primaryValueMatches-e.primaryValueMatches:this.propertiesValueMatches!==e.propertiesValueMatches?this.propertiesValueMatches-e.propertiesValueMatches:this.propertiesMatches-e.propertiesMatches},e}();function Ne(e){return V(e)}function Re(e){return _(e)}function $e(e,t,r){return void 0===r&&(r=!1),t>=e.offset&&t<e.offset+e.length||r&&t===e.offset+e.length}!function(){function e(e,t,r){void 0===t&&(t=[]),void 0===r&&(r=[]),this.root=e,this.syntaxErrors=t,this.comments=r}e.prototype.getNodeFromOffset=function(e,t){if(void 0===t&&(t=!1),this.root)return M(this.root,e,t)},e.prototype.visit=function(e){if(this.root){var t=function(r){var n=e(r),i=r.children;if(Array.isArray(i))for(var o=0;o<i.length&&n;o++)n=t(i[o]);return n};t(this.root)}},e.prototype.validate=function(e,t){if(this.root&&t){var r=new Fe;return Le(this.root,t,r,Ve.instance),r.problems.map((function(t){var r=f.create(e.positionAt(t.location.offset),e.positionAt(t.location.offset+t.location.length));return k.create(r,t.message,t.severity,t.code)}))}return null},e.prototype.getMatchingSchemas=function(e,t,r){void 0===t&&(t=-1),void 0===r&&(r=null);var n=new _e(t,r);return this.root&&e&&Le(this.root,e,new Fe,n),n.schemas}}();function Le(e,t,r,n){if(e&&n.include(e)){switch(e.type){case"object":!function(e,t,r,n){for(var i=Object.create(null),o=[],a=0,s=e.properties;a<s.length;a++){var u=(y=s[a]).keyNode.value;i[u]=y.valueNode,o.push(u)}if(Array.isArray(t.required))for(var c=0,l=t.required;c<l.length;c++){var f=l[c];if(!i[f]){var h=e.parent&&"property"===e.parent.type&&e.parent.keyNode,p=h?{offset:h.offset,length:h.length}:{offset:e.offset,length:1};r.problems.push({location:p,severity:x.Warning,message:Oe("MissingRequiredPropWarning",'Missing property "{0}".',f)})}}var m=function(e){for(var t=o.indexOf(e);t>=0;)o.splice(t,1),t=o.indexOf(e)};if(t.properties)for(var d=0,g=Object.keys(t.properties);d<g.length;d++){f=g[d];m(f);var v=t.properties[f];if(P=i[f])if($(v))if(v)r.propertiesMatches++,r.propertiesValueMatches++;else{var y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{var b=new Fe;Le(P,v,b,n),r.mergePropertyMatch(b)}}if(t.patternProperties)for(var S=0,k=Object.keys(t.patternProperties);S<k.length;S++)for(var C=k[S],A=new RegExp(C),w=0,I=o.slice(0);w<I.length;w++){f=I[w];if(A.test(f))if(m(f),P=i[f])if($(v=t.patternProperties[C]))if(v)r.propertiesMatches++,r.propertiesValueMatches++;else{y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}else{b=new Fe;Le(P,v,b,n),r.mergePropertyMatch(b)}}if("object"==typeof t.additionalProperties)for(var T=0,E=o;T<E.length;T++){f=E[T];if(P=i[f]){b=new Fe;Le(P,t.additionalProperties,b,n),r.mergePropertyMatch(b)}}else if(!1===t.additionalProperties&&o.length>0)for(var O=0,j=o;O<j.length;O++){var P;f=j[O];if(P=i[f]){y=P.parent;r.problems.push({location:{offset:y.keyNode.offset,length:y.keyNode.length},severity:x.Warning,message:t.errorMessage||Oe("DisallowedExtraPropWarning","Property {0} is not allowed.",f)})}}N(t.maxProperties)&&e.properties.length>t.maxProperties&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("MaxPropWarning","Object has more properties than limit of {0}.",t.maxProperties)});N(t.minProperties)&&e.properties.length<t.minProperties&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("MinPropWarning","Object has fewer properties than the required number of {0}",t.minProperties)});if(t.dependencies)for(var M=0,_=Object.keys(t.dependencies);M<_.length;M++){u=_[M];if(i[u]){var V=t.dependencies[u];if(Array.isArray(V))for(var F=0,R=V;F<R.length;F++){var L=R[F];i[L]?r.propertiesValueMatches++:r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("RequiredDependentPropWarning","Object is missing property {0} required by property {1}.",L,u)})}else if(v=Me(V)){b=new Fe;Le(e,v,b,n),r.mergePropertyMatch(b)}}}var D=Me(t.propertyNames);if(D)for(var W=0,U=e.properties;W<U.length;W++){var q=U[W];(u=q.keyNode)&&Le(u,D,r,Ve.instance)}}(e,t,r,n);break;case"array":!function(e,t,r,n){if(Array.isArray(t.items)){for(var i=t.items,o=0;o<i.length;o++){var a=Me(i[o]),s=new Fe;(h=e.items[o])?(Le(h,a,s,n),r.mergePropertyMatch(s)):e.items.length>=i.length&&r.propertiesValueMatches++}if(e.items.length>i.length)if("object"==typeof t.additionalItems)for(var u=i.length;u<e.items.length;u++){s=new Fe;Le(e.items[u],t.additionalItems,s,n),r.mergePropertyMatch(s)}else!1===t.additionalItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("additionalItemsWarning","Array has too many items according to schema. Expected {0} or fewer.",i.length)})}else{var c=Me(t.items);if(c)for(var l=0,f=e.items;l<f.length;l++){var h=f[l];s=new Fe;Le(h,c,s,n),r.mergePropertyMatch(s)}}var p=Me(t.contains);if(p){e.items.some((function(e){var t=new Fe;return Le(e,p,t,Ve.instance),!t.hasProblems()}))||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("requiredItemMissingWarning","Array does not contain required item.")})}N(t.minItems)&&e.items.length<t.minItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minItemsWarning","Array has too few items. Expected {0} or more.",t.minItems)});N(t.maxItems)&&e.items.length>t.maxItems&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maxItemsWarning","Array has too many items. Expected {0} or fewer.",t.maxItems)});if(!0===t.uniqueItems){var m=Ne(e);m.some((function(e,t){return t!==m.lastIndexOf(e)}))&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("uniqueItemsWarning","Array has duplicate items.")})}}(e,t,r,n);break;case"string":!function(e,t,r,n){N(t.minLength)&&e.value.length<t.minLength&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minLengthWarning","String is shorter than the minimum length of {0}.",t.minLength)});N(t.maxLength)&&e.value.length>t.maxLength&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maxLengthWarning","String is longer than the maximum length of {0}.",t.maxLength)});if(i=t.pattern,"string"==typeof i){new RegExp(t.pattern).test(e.value)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||Oe("patternWarning",'String does not match the pattern of "{0}".',t.pattern)})}var i;if(t.format)switch(t.format){case"uri":case"uri-reference":var o=void 0;if(e.value){var a=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/.exec(e.value);a?a[2]||"uri"!==t.format||(o=Oe("uriSchemeMissing","URI with a scheme is expected.")):o=Oe("uriMissing","URI is expected.")}else o=Oe("uriEmpty","URI expected.");o&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||Oe("uriFormatWarning","String is not a URI: {0}",o)});break;case"color-hex":case"date-time":case"date":case"time":case"email":var s=je[t.format];e.value&&s.pattern.exec(e.value)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.patternErrorMessage||t.errorMessage||s.errorMessage})}}(e,t,r);break;case"number":!function(e,t,r,n){var i=e.value;N(t.multipleOf)&&i%t.multipleOf!=0&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("multipleOfWarning","Value is not divisible by {0}.",t.multipleOf)});function o(e,t){return N(t)?t:$(t)&&t?e:void 0}function a(e,t){if(!$(t)||!t)return e}var s=o(t.minimum,t.exclusiveMinimum);N(s)&&i<=s&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("exclusiveMinimumWarning","Value is below the exclusive minimum of {0}.",s)});var u=o(t.maximum,t.exclusiveMaximum);N(u)&&i>=u&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("exclusiveMaximumWarning","Value is above the exclusive maximum of {0}.",u)});var c=a(t.minimum,t.exclusiveMinimum);N(c)&&i<c&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("minimumWarning","Value is below the minimum of {0}.",c)});var l=a(t.maximum,t.exclusiveMaximum);N(l)&&i>l&&r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("maximumWarning","Value is above the maximum of {0}.",l)})}(e,t,r);break;case"property":return Le(e.valueNode,t,r,n)}!function(){function i(t){return e.type===t||"integer"===t&&"number"===e.type&&e.isInteger}Array.isArray(t.type)?t.type.some(i)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("typeArrayMismatchWarning","Incorrect type. Expected one of {0}.",t.type.join(", "))}):t.type&&(i(t.type)||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:t.errorMessage||Oe("typeMismatchWarning",'Incorrect type. Expected "{0}".',t.type)}));if(Array.isArray(t.allOf))for(var o=0,a=t.allOf;o<a.length;o++){var s=a[o];Le(e,Me(s),r,n)}var u=Me(t.not);if(u){var c=new Fe,l=n.newSub();Le(e,u,c,l),c.hasProblems()||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,message:Oe("notSchemaWarning","Matches a schema that is not allowed.")});for(var f=0,h=l.schemas;f<h.length;f++){var p=h[f];p.inverted=!p.inverted,n.add(p)}}var m=function(t,i){for(var o=[],a=null,s=0,u=t;s<u.length;s++){var c=Me(u[s]),l=new Fe,f=n.newSub();if(Le(e,c,l,f),l.hasProblems()||o.push(c),a)if(i||l.hasProblems()||a.validationResult.hasProblems()){var h=l.compare(a.validationResult);h>0?a={schema:c,validationResult:l,matchingSchemas:f}:0===h&&(a.matchingSchemas.merge(f),a.validationResult.mergeEnumValues(l))}else a.matchingSchemas.merge(f),a.validationResult.propertiesMatches+=l.propertiesMatches,a.validationResult.propertiesValueMatches+=l.propertiesValueMatches;else a={schema:c,validationResult:l,matchingSchemas:f}}return o.length>1&&i&&r.problems.push({location:{offset:e.offset,length:1},severity:x.Warning,message:Oe("oneOfWarning","Matches multiple schemas when only one must validate.")}),null!==a&&(r.merge(a.validationResult),r.propertiesMatches+=a.validationResult.propertiesMatches,r.propertiesValueMatches+=a.validationResult.propertiesValueMatches,n.merge(a.matchingSchemas)),o.length};Array.isArray(t.anyOf)&&m(t.anyOf,!1);Array.isArray(t.oneOf)&&m(t.oneOf,!0);var d=function(t){var i=new Fe,o=n.newSub();Le(e,Me(t),i,o),r.merge(i),r.propertiesMatches+=i.propertiesMatches,r.propertiesValueMatches+=i.propertiesValueMatches,n.merge(o)},g=Me(t.if);g&&function(t,r,i){var o=Me(t),a=new Fe,s=n.newSub();Le(e,o,a,s),n.merge(s),a.hasProblems()?i&&d(i):r&&d(r)}(g,Me(t.then),Me(t.else));if(Array.isArray(t.enum)){for(var v=Ne(e),y=!1,b=0,S=t.enum;b<S.length;b++){var k=S[b];if(F(v,k)){y=!0;break}}r.enumValues=t.enum,r.enumValueMatch=y,y||r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,code:ve.EnumValueMismatch,message:t.errorMessage||Oe("enumWarning","Value is not accepted. Valid values: {0}.",t.enum.map((function(e){return JSON.stringify(e)})).join(", "))})}if(R(t.const)){F(v=Ne(e),t.const)?r.enumValueMatch=!0:(r.problems.push({location:{offset:e.offset,length:e.length},severity:x.Warning,code:ve.EnumValueMismatch,message:t.errorMessage||Oe("constWarning","Value must be {0}.",JSON.stringify(t.const))}),r.enumValueMatch=!1),r.enumValues=[t.const]}t.deprecationMessage&&e.parent&&r.problems.push({location:{offset:e.parent.offset,length:e.parent.length},severity:x.Warning,message:t.deprecationMessage})}(),n.add({node:e,schema:t})}}function De(e,t){var r=e.length-t.length;return r>0?e.lastIndexOf(t)===r:0===r&&e===t}var We=we();(function(){function e(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=Promise),void 0===n&&(n={}),this.schemaService=e,this.contributions=t,this.promiseConstructor=r,this.clientCapabilities=n,this.templateVarIdCounter=0}e.prototype.doResolve=function(e){for(var t=this.contributions.length-1;t>=0;t--)if(this.contributions[t].resolveCompletion){var r=this.contributions[t].resolveCompletion(e);if(r)return r}return this.promiseConstructor.resolve(e)},e.prototype.doComplete=function(e,t,r){var n=this,i={items:[],isIncomplete:!1},o=e.getText(),a=e.offsetAt(t),s=r.getNodeFromOffset(a,!0);if(this.isInComment(e,s?s.offset:0,a))return Promise.resolve(i);if(s&&a===s.offset+s.length&&a>0){var u=o[a-1];("object"===s.type&&"}"===u||"array"===s.type&&"]"===u)&&(s=s.parent)}var c=this.getCurrentWord(e,a),l=null;if(!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type){var h=a-c.length;h>0&&'"'===o[h-1]&&h--,l=f.create(e.positionAt(h),t)}else l=f.create(e.positionAt(s.offset),e.positionAt(s.offset+s.length));var p={},m={add:function(e){var t=e.label,r=p[t];if(r)r.documentation||(r.documentation=e.documentation);else{if((t=t.replace(/[\n]/g,"↵")).length>60){var n=t.substr(0,57).trim()+"...";p[n]||(t=n)}l&&(e.textEdit=A.replace(l,e.insertText)),e.label=t,p[t]=e,i.items.push(e)}},setAsIncomplete:function(){i.isIncomplete=!0},error:function(e){console.error(e)},log:function(e){console.log(e)},getNumberOfProposals:function(){return i.items.length}};return this.schemaService.getSchemaForResource(e.uri,r).then((function(t){var u=[],f=!0,h="",d=null;if(s&&"string"===s.type){var g=s.parent;g&&"property"===g.type&&g.keyNode===s&&(f=!g.valueNode,d=g,h=o.substr(s.offset+1,s.length-2),g&&(s=g.parent))}if(s&&"object"===s.type){if(s.offset===a)return i;s.properties.forEach((function(e){d&&d===e||(p[e.keyNode.value]=z.create("__"))}));var v="";f&&(v=n.evaluateSeparatorAfter(e,e.offsetAt(l.end))),t?n.getPropertyCompletions(t,r,s,f,v,m):n.getSchemaLessPropertyCompletions(r,s,h,m);var y=Re(s);n.contributions.forEach((function(t){var r=t.collectPropertyCompletions(e.uri,y,c,f,""===v,m);r&&u.push(r)})),!t&&c.length>0&&'"'!==o.charAt(a-c.length-1)&&(m.add({kind:B.Property,label:n.getLabelForValue(c),insertText:n.getInsertTextForProperty(c,null,!1,v),insertTextFormat:K.Snippet,documentation:""}),m.setAsIncomplete())}var b={};return t?n.getValueCompletions(t,r,s,a,e,m,b):n.getSchemaLessValueCompletions(r,s,a,e,m),n.contributions.length>0&&n.getContributedValueCompletions(r,s,a,e,m,u),n.promiseConstructor.all(u).then((function(){if(0===m.getNumberOfProposals()){var t=a;!s||"string"!==s.type&&"number"!==s.type&&"boolean"!==s.type&&"null"!==s.type||(t=s.offset+s.length);var r=n.evaluateSeparatorAfter(e,t);n.addFillerValueCompletions(b,r,m)}return i}))}))},e.prototype.getPropertyCompletions=function(e,t,r,n,i,o){var a=this;t.getMatchingSchemas(e.schema,r.offset).forEach((function(e){if(e.node===r&&!e.inverted){var t=e.schema.properties;t&&Object.keys(t).forEach((function(e){var r=t[e];if("object"==typeof r&&!r.deprecationMessage&&!r.doNotSuggest){var s={kind:B.Property,label:e,insertText:a.getInsertTextForProperty(e,r,n,i),insertTextFormat:K.Snippet,filterText:a.getFilterTextForValue(e),documentation:a.fromMarkup(r.markdownDescription)||r.description||""};De(s.insertText,"$1"+i)&&(s.command={title:"Suggest",command:"editor.action.triggerSuggest"}),o.add(s)}}))}}))},e.prototype.getSchemaLessPropertyCompletions=function(e,t,r,n){var i=this,o=function(e){e.properties.forEach((function(e){var t=e.keyNode.value;n.add({kind:B.Property,label:t,insertText:i.getInsertTextForValue(t,""),insertTextFormat:K.Snippet,filterText:i.getFilterTextForValue(t),documentation:""})}))};if(t.parent)if("property"===t.parent.type){var a=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e!==t.parent&&e.keyNode.value===a&&e.valueNode&&"object"===e.valueNode.type&&o(e.valueNode),!0}))}else"array"===t.parent.type&&t.parent.items.forEach((function(e){"object"===e.type&&e!==t&&o(e)}));else"object"===t.type&&n.add({kind:B.Property,label:"$schema",insertText:this.getInsertTextForProperty("$schema",null,!0,""),insertTextFormat:K.Snippet,documentation:"",filterText:this.getFilterTextForValue("$schema")})},e.prototype.getSchemaLessValueCompletions=function(e,t,r,n,i){var o=this,a=r;if(!t||"string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(a=t.offset+t.length,t=t.parent),!t)return i.add({kind:this.getSuggestionKind("object"),label:"Empty object",insertText:this.getInsertTextForValue({},""),insertTextFormat:K.Snippet,documentation:""}),void i.add({kind:this.getSuggestionKind("array"),label:"Empty array",insertText:this.getInsertTextForValue([],""),insertTextFormat:K.Snippet,documentation:""});var s=this.evaluateSeparatorAfter(n,a),u=function(e){$e(e.parent,r,!0)||i.add({kind:o.getSuggestionKind(e.type),label:o.getLabelTextForMatchingNode(e,n),insertText:o.getInsertTextForMatchingNode(e,n,s),insertTextFormat:K.Snippet,documentation:""}),"boolean"===e.type&&o.addBooleanValueCompletion(!e.value,s,i)};if("property"===t.type&&r>t.colonOffset){var c=t.valueNode;if(c&&(r>c.offset+c.length||"object"===c.type||"array"===c.type))return;var l=t.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===l&&e.valueNode&&u(e.valueNode),!0})),"$schema"===l&&t.parent&&!t.parent.parent&&this.addDollarSchemaCompletions(s,i)}if("array"===t.type)if(t.parent&&"property"===t.parent.type){var f=t.parent.keyNode.value;e.visit((function(e){return"property"===e.type&&e.keyNode.value===f&&e.valueNode&&"array"===e.valueNode.type&&e.valueNode.items.forEach(u),!0}))}else t.items.forEach(u)},e.prototype.getValueCompletions=function(e,t,r,n,i,o,a){var s=this,u=n,c=null,l=null;if(!r||"string"!==r.type&&"number"!==r.type&&"boolean"!==r.type&&"null"!==r.type||(u=r.offset+r.length,l=r,r=r.parent),r){if("property"===r.type&&n>r.colonOffset){var f=r.valueNode;if(f&&n>f.offset+f.length)return;c=r.keyNode.value,r=r.parent}if(r&&(null!==c||"array"===r.type)){var h=this.evaluateSeparatorAfter(i,u);t.getMatchingSchemas(e.schema,r.offset,l).forEach((function(e){if(e.node===r&&!e.inverted&&e.schema){if("array"===r.type&&e.schema.items)if(Array.isArray(e.schema.items)){var t=s.findItemAtOffset(r,i,n);t<e.schema.items.length&&s.addSchemaValueCompletions(e.schema.items[t],h,o,a)}else s.addSchemaValueCompletions(e.schema.items,h,o,a);if(e.schema.properties){var u=e.schema.properties[c];u&&s.addSchemaValueCompletions(u,h,o,a)}}})),"$schema"!==c||r.parent||this.addDollarSchemaCompletions(h,o),a.boolean&&(this.addBooleanValueCompletion(!0,h,o),this.addBooleanValueCompletion(!1,h,o)),a.null&&this.addNullValueCompletion(h,o)}}else this.addSchemaValueCompletions(e.schema,"",o,a)},e.prototype.getContributedValueCompletions=function(e,t,r,n,i,o){if(t){if("string"!==t.type&&"number"!==t.type&&"boolean"!==t.type&&"null"!==t.type||(t=t.parent),"property"===t.type&&r>t.colonOffset){var a=t.keyNode.value,s=t.valueNode;if(!s||r<=s.offset+s.length){var u=Re(t.parent);this.contributions.forEach((function(e){var t=e.collectValueCompletions(n.uri,u,a,i);t&&o.push(t)}))}}}else this.contributions.forEach((function(e){var t=e.collectDefaultCompletions(n.uri,i);t&&o.push(t)}))},e.prototype.addSchemaValueCompletions=function(e,t,r,n){var i=this;"object"==typeof e&&(this.addEnumValueCompletions(e,t,r),this.addDefaultValueCompletions(e,t,r),this.collectTypes(e,n),Array.isArray(e.allOf)&&e.allOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})),Array.isArray(e.anyOf)&&e.anyOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})),Array.isArray(e.oneOf)&&e.oneOf.forEach((function(e){return i.addSchemaValueCompletions(e,t,r,n)})))},e.prototype.addDefaultValueCompletions=function(e,t,r,n){var i=this;void 0===n&&(n=0);var o=!1;if(R(e.default)){for(var a=e.type,s=e.default,u=n;u>0;u--)s=[s],a="array";r.add({kind:this.getSuggestionKind(a),label:this.getLabelForValue(s),insertText:this.getInsertTextForValue(s,t),insertTextFormat:K.Snippet,detail:We("json.suggest.default","Default value")}),o=!0}Array.isArray(e.examples)&&e.examples.forEach((function(a){for(var s=e.type,u=a,c=n;c>0;c--)u=[u],s="array";r.add({kind:i.getSuggestionKind(s),label:i.getLabelForValue(u),insertText:i.getInsertTextForValue(u,t),insertTextFormat:K.Snippet}),o=!0})),Array.isArray(e.defaultSnippets)&&e.defaultSnippets.forEach((function(a){var s,u,c=e.type,l=a.body,f=a.label;if(R(l)){e.type;for(var h=n;h>0;h--)l=[l],"array";s=i.getInsertTextForSnippetValue(l,t),u=i.getFilterTextForSnippetValue(l),f=f||i.getLabelForSnippetValue(l)}else if("string"==typeof a.bodyText){var p="",m="",d="";for(h=n;h>0;h--)p=p+d+"[\n",m=m+"\n"+d+"]",d+="\t",c="array";s=p+d+a.bodyText.split("\n").join("\n"+d)+m+t,f=f||s,u=s.replace(/[\n]/g,"")}r.add({kind:i.getSuggestionKind(c),label:f,documentation:i.fromMarkup(a.markdownDescription)||a.description,insertText:s,insertTextFormat:K.Snippet,filterText:u}),o=!0})),o||"object"!=typeof e.items||Array.isArray(e.items)||this.addDefaultValueCompletions(e.items,t,r,n+1)},e.prototype.addEnumValueCompletions=function(e,t,r){if(R(e.const)&&r.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(e.const),insertText:this.getInsertTextForValue(e.const,t),insertTextFormat:K.Snippet,documentation:this.fromMarkup(e.markdownDescription)||e.description}),Array.isArray(e.enum))for(var n=0,i=e.enum.length;n<i;n++){var o=e.enum[n],a=this.fromMarkup(e.markdownDescription)||e.description;e.markdownEnumDescriptions&&n<e.markdownEnumDescriptions.length&&this.doesSupportMarkdown()?a=this.fromMarkup(e.markdownEnumDescriptions[n]):e.enumDescriptions&&n<e.enumDescriptions.length&&(a=e.enumDescriptions[n]),r.add({kind:this.getSuggestionKind(e.type),label:this.getLabelForValue(o),insertText:this.getInsertTextForValue(o,t),insertTextFormat:K.Snippet,documentation:a})}},e.prototype.collectTypes=function(e,t){if(!Array.isArray(e.enum)&&!R(e.const)){var r=e.type;Array.isArray(r)?r.forEach((function(e){return t[e]=!0})):t[r]=!0}},e.prototype.addFillerValueCompletions=function(e,t,r){e.object&&r.add({kind:this.getSuggestionKind("object"),label:"{}",insertText:this.getInsertTextForGuessedValue({},t),insertTextFormat:K.Snippet,detail:We("defaults.object","New object"),documentation:""}),e.array&&r.add({kind:this.getSuggestionKind("array"),label:"[]",insertText:this.getInsertTextForGuessedValue([],t),insertTextFormat:K.Snippet,detail:We("defaults.array","New array"),documentation:""})},e.prototype.addBooleanValueCompletion=function(e,t,r){r.add({kind:this.getSuggestionKind("boolean"),label:e?"true":"false",insertText:this.getInsertTextForValue(e,t),insertTextFormat:K.Snippet,documentation:""})},e.prototype.addNullValueCompletion=function(e,t){t.add({kind:this.getSuggestionKind("null"),label:"null",insertText:"null"+e,insertTextFormat:K.Snippet,documentation:""})},e.prototype.addDollarSchemaCompletions=function(e,t){var r=this;this.schemaService.getRegisteredSchemaIds((function(e){return"http"===e||"https"===e})).forEach((function(n){return t.add({kind:B.Module,label:r.getLabelForValue(n),filterText:r.getFilterTextForValue(n),insertText:r.getInsertTextForValue(n,e),insertTextFormat:K.Snippet,documentation:""})}))},e.prototype.getLabelForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForValue=function(e){return JSON.stringify(e)},e.prototype.getFilterTextForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getLabelForSnippetValue=function(e){return JSON.stringify(e).replace(/\$\{\d+:([^}]+)\}|\$\d+/g,"$1")},e.prototype.getInsertTextForPlainText=function(e){return e.replace(/[\\\$\}]/g,"\\$&")},e.prototype.getInsertTextForValue=function(e,t){var r=JSON.stringify(e,null,"\t");return"{}"===r?"{$1}"+t:"[]"===r?"[$1]"+t:this.getInsertTextForPlainText(r+t)},e.prototype.getInsertTextForSnippetValue=function(e,t){return function e(t,r,n){if(null!==t&&"object"==typeof t){var i=r+"\t";if(Array.isArray(t)){if(0===t.length)return"[]";for(var o="[\n",a=0;a<t.length;a++)o+=i+e(t[a],i,n),a<t.length-1&&(o+=","),o+="\n";return o+=r+"]"}var s=Object.keys(t);if(0===s.length)return"{}";for(o="{\n",a=0;a<s.length;a++){var u=s[a];o+=i+JSON.stringify(u)+": "+e(t[u],i,n),a<s.length-1&&(o+=","),o+="\n"}return o+=r+"}"}return n(t)}(e,"",(function(e){return"string"==typeof e&&"^"===e[0]?e.substr(1):JSON.stringify(e)}))+t},e.prototype.getInsertTextForGuessedValue=function(e,t){switch(typeof e){case"object":return null===e?"${1:null}"+t:this.getInsertTextForValue(e,t);case"string":var r=JSON.stringify(e);return r=r.substr(1,r.length-2),'"${1:'+(r=this.getInsertTextForPlainText(r))+'}"'+t;case"number":case"boolean":return"${1:"+JSON.stringify(e)+"}"+t}return this.getInsertTextForValue(e,t)},e.prototype.getSuggestionKind=function(e){if(Array.isArray(e)){var t=e;e=t.length>0?t[0]:null}if(!e)return B.Value;switch(e){case"string":return B.Value;case"object":return B.Module;case"property":return B.Property;default:return B.Value}},e.prototype.getLabelTextForMatchingNode=function(e,t){switch(e.type){case"array":return"[]";case"object":return"{}";default:return t.getText().substr(e.offset,e.length)}},e.prototype.getInsertTextForMatchingNode=function(e,t,r){switch(e.type){case"array":return this.getInsertTextForValue([],r);case"object":return this.getInsertTextForValue({},r);default:var n=t.getText().substr(e.offset,e.length)+r;return this.getInsertTextForPlainText(n)}},e.prototype.getInsertTextForProperty=function(e,t,r,n){var i=this.getInsertTextForValue(e,"");if(!r)return i;var o,a=i+": ",s=0;if(t){if(Array.isArray(t.defaultSnippets)){if(1===t.defaultSnippets.length){var u=t.defaultSnippets[0].body;R(u)&&(o=this.getInsertTextForSnippetValue(u,""))}s+=t.defaultSnippets.length}if(t.enum&&(o||1!==t.enum.length||(o=this.getInsertTextForGuessedValue(t.enum[0],"")),s+=t.enum.length),R(t.default)&&(o||(o=this.getInsertTextForGuessedValue(t.default,"")),s++),Array.isArray(t.examples)&&t.examples.length&&(o||(o=this.getInsertTextForGuessedValue(t.examples[0],"")),s+=t.examples.length),0===s){var c=Array.isArray(t.type)?t.type[0]:t.type;switch(c||(t.properties?c="object":t.items&&(c="array")),c){case"boolean":o="$1";break;case"string":o='"$1"';break;case"object":o="{$1}";break;case"array":o="[$1]";break;case"number":case"integer":o="${1:0}";break;case"null":o="${1:null}";break;default:return i}}}return(!o||s>1)&&(o="$1"),a+o+n},e.prototype.getCurrentWord=function(e,t){for(var r=t-1,n=e.getText();r>=0&&-1===' \t\n\r\v":{[,]}'.indexOf(n.charAt(r));)r--;return n.substring(r+1,t)},e.prototype.evaluateSeparatorAfter=function(e,t){var r=j(e.getText(),!0);switch(r.setPosition(t),r.scan()){case 5:case 2:case 4:case 17:return"";default:return","}},e.prototype.findItemAtOffset=function(e,t,r){for(var n=j(t.getText(),!0),i=e.items,o=i.length-1;o>=0;o--){var a=i[o];if(r>a.offset+a.length)return n.setPosition(a.offset+a.length),5===n.scan()&&r>=n.getTokenOffset()+n.getTokenLength()?o+1:o;if(r>=a.offset)return o}return 0},e.prototype.isInComment=function(e,t,r){var n=j(e.getText(),!1);n.setPosition(t);for(var i=n.scan();17!==i&&n.getTokenOffset()+n.getTokenLength()<r;)i=n.scan();return(12===i||13===i)&&n.getTokenOffset()<=r},e.prototype.fromMarkup=function(e){if(e&&this.doesSupportMarkdown())return{kind:U.Markdown,value:e}},e.prototype.doesSupportMarkdown=function(){if(!R(this.supportsMarkdown)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsMarkdown=e&&e.completionItem&&Array.isArray(e.completionItem.documentationFormat)&&-1!==e.completionItem.documentationFormat.indexOf(U.Markdown)}return this.supportsMarkdown},e.prototype.doesSupportsCommitCharacters=function(){if(!R(this.supportsCommitCharacters)){var e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.completion;this.supportsCommitCharacters=e&&e.completionItem&&!!e.completionItem.commitCharactersSupport}return this.supportsCommitCharacters}})(),function(){function e(e,t,r){void 0===t&&(t=[]),this.schemaService=e,this.contributions=t,this.promise=r||Promise}e.prototype.doHover=function(e,t,r){var n=e.offsetAt(t),i=r.getNodeFromOffset(n);if(!i||("object"===i.type||"array"===i.type)&&n>i.offset+1&&n<i.offset+i.length-1)return this.promise.resolve(null);var o=i;if("string"===i.type){var a=i.parent;if(a&&"property"===a.type&&a.keyNode===i&&!(i=a.valueNode))return this.promise.resolve(null)}for(var s=f.create(e.positionAt(o.offset),e.positionAt(o.offset+o.length)),u=function(e){return{contents:e,range:s}},c=Re(i),l=this.contributions.length-1;l>=0;l--){var h=this.contributions[l].getInfoContribution(e.uri,c);if(h)return h.then((function(e){return u(e)}))}return this.schemaService.getSchemaForResource(e.uri,r).then((function(e){if(e){var t=r.getMatchingSchemas(e.schema,i.offset),n=null,o=null,a=null,s=null;t.every((function(e){if(e.node===i&&!e.inverted&&e.schema&&(n=n||e.schema.title,o=o||e.schema.markdownDescription||Ue(e.schema.description),e.schema.enum)){var t=e.schema.enum.indexOf(Ne(i));e.schema.markdownEnumDescriptions?a=e.schema.markdownEnumDescriptions[t]:e.schema.enumDescriptions&&(a=Ue(e.schema.enumDescriptions[t])),a&&"string"!=typeof(s=e.schema.enum[t])&&(s=JSON.stringify(s))}return!0}));var c="";return n&&(c=Ue(n)),o&&(c.length>0&&(c+="\n\n"),c+=o),a&&(c.length>0&&(c+="\n\n"),c+="`"+function(e){if(-1!==e.indexOf("`"))return"`` "+e+" ``";return e}(s)+"`: "+a),u([c])}return null}))}}();function Ue(e){if(e)return e.replace(/([^\n\r])(\r?\n)([^\n\r])/gm,"$1\n\n$3").replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}var qe=r("xiP/"),Be=we(),Ke=function(){function e(e){try{this.patternRegExp=new RegExp(function(e){return e.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}(e)+"$")}catch(e){this.patternRegExp=null}this.schemas=[]}return e.prototype.addSchema=function(e){this.schemas.push(e)},e.prototype.matchesPattern=function(e){return this.patternRegExp&&this.patternRegExp.test(e)},e.prototype.getSchemas=function(){return this.schemas},e}(),Je=function(){function e(e,t,r){this.service=e,this.url=t,this.dependencies={},r&&(this.unresolvedSchema=this.service.promise.resolve(new ze(r)))}return e.prototype.getUnresolvedSchema=function(){return this.unresolvedSchema||(this.unresolvedSchema=this.service.loadSchema(this.url)),this.unresolvedSchema},e.prototype.getResolvedSchema=function(){var e=this;return this.resolvedSchema||(this.resolvedSchema=this.getUnresolvedSchema().then((function(t){return e.service.resolveSchemaContent(t,e.url,e.dependencies)}))),this.resolvedSchema},e.prototype.clearSchema=function(){this.resolvedSchema=null,this.unresolvedSchema=null,this.dependencies={}},e}(),ze=function(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t},He=function(){function e(e,t){void 0===t&&(t=[]),this.schema=e,this.errors=t}return e.prototype.getSection=function(e){return Me(this.getSectionRecursive(e,this.schema))},e.prototype.getSectionRecursive=function(e,t){if(!t||"boolean"==typeof t||0===e.length)return t;var r=e.shift();if(t.properties&&(t.properties[r],1))return this.getSectionRecursive(e,t.properties[r]);if(t.patternProperties)for(var n=0,i=Object.keys(t.patternProperties);n<i.length;n++){var o=i[n];if(new RegExp(o).test(r))return this.getSectionRecursive(e,t.patternProperties[o])}else{if("object"==typeof t.additionalProperties)return this.getSectionRecursive(e,t.additionalProperties);if(r.match("[0-9]+"))if(Array.isArray(t.items)){var a=parseInt(r,10);if(!isNaN(a)&&t.items[a])return this.getSectionRecursive(e,t.items[a])}else if(t.items)return this.getSectionRecursive(e,t.items)}return null},e}();!function(){function e(e,t,r){this.contextService=t,this.requestService=e,this.promiseConstructor=r||Promise,this.callOnDispose=[],this.contributionSchemas={},this.contributionAssociations={},this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={}}e.prototype.getRegisteredSchemaIds=function(e){return Object.keys(this.registeredSchemasIds).filter((function(t){var r=qe.a.parse(t).scheme;return"schemaservice"!==r&&(!e||e(r))}))},Object.defineProperty(e.prototype,"promise",{get:function(){return this.promiseConstructor},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){for(;this.callOnDispose.length>0;)this.callOnDispose.pop()()},e.prototype.onResourceChange=function(e){for(var t=this,r=!1,n=[e=this.normalizeId(e)],i=Object.keys(this.schemasById).map((function(e){return t.schemasById[e]}));n.length;)for(var o=n.pop(),a=0;a<i.length;a++){var s=i[a];s&&(s.url===o||s.dependencies[o])&&(s.url!==o&&n.push(s.url),s.clearSchema(),i[a]=void 0,r=!0)}return r},e.prototype.normalizeId=function(e){try{return qe.a.parse(e).toString()}catch(t){return e}},e.prototype.setSchemaContributions=function(e){if(e.schemas){var t=e.schemas;for(var r in t){var n=this.normalizeId(r);this.contributionSchemas[n]=this.addSchemaHandle(n,t[r])}}if(e.schemaAssociations){var i=e.schemaAssociations;for(var o in i){var a=i[o];this.contributionAssociations[o]=a;for(var s=this.getOrAddFilePatternAssociation(o),u=0,c=a;u<c.length;u++){var l=c[u];r=this.normalizeId(l);s.addSchema(r)}}}},e.prototype.addSchemaHandle=function(e,t){var r=new Je(this,e,t);return this.schemasById[e]=r,r},e.prototype.getOrAddSchemaHandle=function(e,t){return this.schemasById[e]||this.addSchemaHandle(e,t)},e.prototype.getOrAddFilePatternAssociation=function(e){var t=this.filePatternAssociationById[e];return t||(t=new Ke(e),this.filePatternAssociationById[e]=t,this.filePatternAssociations.push(t)),t},e.prototype.registerExternalSchema=function(e,t,r){void 0===t&&(t=null);var n=this.normalizeId(e);if(this.registeredSchemasIds[n]=!0,t)for(var i=0,o=t;i<o.length;i++){var a=o[i];this.getOrAddFilePatternAssociation(a).addSchema(n)}return r?this.addSchemaHandle(n,r):this.getOrAddSchemaHandle(n)},e.prototype.clearExternalSchemas=function(){for(var e in this.schemasById={},this.filePatternAssociations=[],this.filePatternAssociationById={},this.registeredSchemasIds={},this.contributionSchemas)this.schemasById[e]=this.contributionSchemas[e],this.registeredSchemasIds[e]=!0;for(var t in this.contributionAssociations)for(var r=this.getOrAddFilePatternAssociation(t),n=0,i=this.contributionAssociations[t];n<i.length;n++){var o=i[n];e=this.normalizeId(o);r.addSchema(e)}},e.prototype.getResolvedSchema=function(e){var t=this.normalizeId(e),r=this.schemasById[t];return r?r.getResolvedSchema():this.promise.resolve(null)},e.prototype.loadSchema=function(e){if(!this.requestService){var t=Be("json.schema.norequestservice","Unable to load schema from '{0}'. No schema request service available",Ge(e));return this.promise.resolve(new ze({},[t]))}return this.requestService(e).then((function(t){if(!t){var r=Be("json.schema.nocontent","Unable to load schema from '{0}': No content.",Ge(e));return new ze({},[r])}var n,i=[];n=P(t,i);var o=i.length?[Be("json.schema.invalidFormat","Unable to parse content from '{0}': Parse error at offset {1}.",Ge(e),i[0].offset)]:[];return new ze(n,o)}),(function(t){var r=t.toString(),n=t.toString().split("Error: ");return n.length>1&&(r=n[1]),De(r,".")&&(r=r.substr(0,r.length-1)),new ze({},[Be("json.schema.nocontent","Unable to load schema from '{0}': {1}.",Ge(e),r)])}))},e.prototype.resolveSchemaContent=function(e,t,r){var n=this,i=e.errors.slice(0),o=e.schema;if(o.$schema){var a=this.normalizeId(o.$schema);if("http://json-schema.org/draft-03/schema"===a)return this.promise.resolve(new He({},[Be("json.schema.draft03.notsupported","Draft-03 schemas are not supported.")]));"https://json-schema.org/draft/2019-09/schema"===a&&e.errors.push(Be("json.schema.draft201909.notsupported","Draft 2019-09 schemas are not yet fully supported."))}var s=this.contextService,u=function(e,t,r,n){var o=function(e,t){if(!t)return e;var r=e;return"/"===t[0]&&(t=t.substr(1)),t.split("/").some((function(e){return!(r=r[e])})),r}(t,n);if(o)for(var a in o)o.hasOwnProperty(a)&&!e.hasOwnProperty(a)&&(e[a]=o[a]);else i.push(Be("json.schema.invalidref","$ref '{0}' in '{1}' can not be resolved.",n,r))},c=function(e,t,r,o,a){s&&!/^\w+:\/\/.*/.test(t)&&(t=s.resolveRelativePath(t,o)),t=n.normalizeId(t);var c=n.getOrAddSchemaHandle(t);return c.getUnresolvedSchema().then((function(n){if(a[t]=!0,n.errors.length){var o=r?t+"#"+r:t;i.push(Be("json.schema.problemloadingref","Problems loading reference '{0}': {1}",o,n.errors[0]))}return u(e,n.schema,t,r),l(e,n.schema,t,c.dependencies)}))},l=function(e,t,r,i){if(!e||"object"!=typeof e)return Promise.resolve(null);for(var o=[e],a=[],s=[],l=function(e){for(var n=[];e.$ref;){var a=e.$ref,l=a.split("#",2);if(delete e.$ref,l[0].length>0)return void s.push(c(e,l[0],l[1],r,i));-1===n.indexOf(a)&&(u(e,t,r,l[1]),n.push(a))}!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];"object"==typeof i&&o.push(i)}}(e.items,e.additionalProperties,e.not,e.contains,e.propertyNames,e.if,e.then,e.else),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];if("object"==typeof i)for(var a in i){var s=i[a];"object"==typeof s&&o.push(s)}}}(e.definitions,e.properties,e.patternProperties,e.dependencies),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var i=n[r];if(Array.isArray(i))for(var a=0,s=i;a<s.length;a++){var u=s[a];"object"==typeof u&&o.push(u)}}}(e.anyOf,e.allOf,e.oneOf,e.items)};o.length;){var f=o.pop();a.indexOf(f)>=0||(a.push(f),l(f))}return n.promise.all(s)};return l(o,o,t,r).then((function(e){return new He(o,i)}))},e.prototype.getSchemaForResource=function(e,t){if(t&&t.root&&"object"===t.root.type){var r=t.root.properties.filter((function(e){return"$schema"===e.keyNode.value&&e.valueNode&&"string"===e.valueNode.type}));if(r.length>0){var n=Ne(r[0].valueNode);if(n&&function(e,t){if(e.length<t.length)return!1;for(var r=0;r<t.length;r++)if(e[r]!==t[r])return!1;return!0}(n,".")&&this.contextService&&(n=this.contextService.resolveRelativePath(n,e)),n){var i=this.normalizeId(n);return this.getOrAddSchemaHandle(i).getResolvedSchema()}}}for(var o=Object.create(null),a=[],s=0,u=this.filePatternAssociations;s<u.length;s++){var c=u[s];if(c.matchesPattern(e))for(var l=0,f=c.getSchemas();l<f.length;l++){var h=f[l];o[h]||(a.push(h),o[h]=!0)}}return a.length>0?this.createCombinedSchema(e,a).getResolvedSchema():this.promise.resolve(null)},e.prototype.createCombinedSchema=function(e,t){if(1===t.length)return this.getOrAddSchemaHandle(t[0]);var r="schemaservice://combinedSchema/"+encodeURIComponent(e),n={allOf:t.map((function(e){return{$ref:e}}))};return this.addSchemaHandle(r,n)}}();function Ge(e){try{var t=qe.a.parse(e);if("file"===t.scheme)return t.fsPath}catch(e){}return e}var Ze=we(),Xe=(function(){function e(e,t){this.jsonSchemaService=e,this.promise=t,this.validationEnabled=!0}e.prototype.configure=function(e){e&&(this.validationEnabled=e.validate,this.commentSeverity=e.allowComments?void 0:x.Error)},e.prototype.doValidation=function(e,t,r,n){var i=this;if(!this.validationEnabled)return this.promise.resolve([]);var o=[],a={},s=function(e){var t=e.range.start.line+" "+e.range.start.character+" "+e.message;a[t]||(a[t]=!0,o.push(e))},u=function(n){var a=r?Qe(r.trailingCommas):x.Error,u=r?Qe(r.comments):i.commentSeverity;if(n){if(n.errors.length&&t.root){var c=t.root,l="object"===c.type?c.properties[0]:null;if(l&&"$schema"===l.keyNode.value){var h=l.valueNode||l,p=f.create(e.positionAt(h.offset),e.positionAt(h.offset+h.length));s(k.create(p,n.errors[0],x.Warning,ve.SchemaResolveError))}else{p=f.create(e.positionAt(c.offset),e.positionAt(c.offset+1));s(k.create(p,n.errors[0],x.Warning,ve.SchemaResolveError))}}else{var m=t.validate(e,n.schema);m&&m.forEach(s)}(function e(t){if(t&&"object"==typeof t){if($(t.allowComments))return t.allowComments;if(t.allOf)for(var r=0,n=t.allOf;r<n.length;r++){var i=n[r],o=e(i);if($(o))return o}}return})(n.schema)&&(u=void 0),function e(t){if(t&&"object"==typeof t){if($(t.allowTrailingCommas))return t.allowTrailingCommas;if($(t.allowsTrailingCommas))return t.allowsTrailingCommas;if(t.allOf)for(var r=0,n=t.allOf;r<n.length;r++){var i=n[r],o=e(i);if($(o))return o}}return}(n.schema)&&(a=void 0)}for(var d=0,g=t.syntaxErrors;d<g.length;d++){var v=g[d];if(v.code===ve.TrailingComma){if("number"!=typeof a)continue;v.severity=a}s(v)}if("number"==typeof u){var y=Ze("InvalidCommentToken","Comments are not permitted in JSON.");t.comments.forEach((function(e){s(k.create(e,y,u,ve.CommentNotPermitted))}))}return o};if(n){var c=n.id||"schemaservice://untitled/"+Xe++;return this.jsonSchemaService.resolveSchemaContent(new ze(n),c,{}).then((function(e){return u(e)}))}return this.jsonSchemaService.getSchemaForResource(e.uri,t).then((function(e){return u(e)}))}}(),0);function Qe(e){switch(e){case"error":return x.Error;case"warning":return x.Warning;case"ignore":return}}function Ye(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function et(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ye(e.charCodeAt(1))/255,green:17*Ye(e.charCodeAt(2))/255,blue:17*Ye(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ye(e.charCodeAt(1))/255,green:17*Ye(e.charCodeAt(2))/255,blue:17*Ye(e.charCodeAt(3))/255,alpha:17*Ye(e.charCodeAt(4))/255};case 7:return{red:(16*Ye(e.charCodeAt(1))+Ye(e.charCodeAt(2)))/255,green:(16*Ye(e.charCodeAt(3))+Ye(e.charCodeAt(4)))/255,blue:(16*Ye(e.charCodeAt(5))+Ye(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ye(e.charCodeAt(1))+Ye(e.charCodeAt(2)))/255,green:(16*Ye(e.charCodeAt(3))+Ye(e.charCodeAt(4)))/255,blue:(16*Ye(e.charCodeAt(5))+Ye(e.charCodeAt(6)))/255,alpha:(16*Ye(e.charCodeAt(7))+Ye(e.charCodeAt(8)))/255}}return null}!function(){function e(e){this.schemaService=e}e.prototype.findDocumentSymbols=function(e,t,r){var n=this;void 0===r&&(r={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return null;var o=r.resultLimit,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||De(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,p=l.properties;f<p.length;f++){var m=p[f];if("key"===m.keyNode.value&&m.valueNode){var d=h.create(e.uri,tt(e,l));if(s.push({name:Ne(m.valueNode),kind:te.Function,location:d}),--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),s}}}return s}for(var g=[{node:i,containerName:""}],v=0,y=!1,b=[],x=function(t,r){"array"===t.type?t.items.forEach((function(e){e&&g.push({node:e,containerName:r})})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=h.create(e.uri,tt(e,t)),s=r?r+"."+t.keyNode.value:t.keyNode.value;b.push({name:n.getKeyLabel(t),kind:n.getSymbolKind(i.type),location:a,containerName:r}),g.push({node:i,containerName:s})}else y=!0}))};v<g.length;){var S=g[v++];x(S.node,S.containerName)}return y&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),b},e.prototype.findDocumentSymbols2=function(e,t,r){var n=this;void 0===r&&(r={resultLimit:Number.MAX_VALUE});var i=t.root;if(!i)return null;var o=r.resultLimit,a=e.uri;if(("vscode://defaultsettings/keybindings.json"===a||De(a.toLowerCase(),"/user/keybindings.json"))&&"array"===i.type){for(var s=[],u=0,c=i.items;u<c.length;u++){var l=c[u];if("object"===l.type)for(var f=0,h=l.properties;f<h.length;f++){var p=h[f];if("key"===p.keyNode.value&&p.valueNode){var m=tt(e,l),d=tt(e,p.keyNode);if(s.push({name:Ne(p.valueNode),kind:te.Function,range:m,selectionRange:d}),--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),s}}}return s}for(var g=[],v=[{node:i,result:g}],y=0,b=!1,x=function(t,r){"array"===t.type?t.items.forEach((function(t,i){if(t)if(o>0){o--;var a=tt(e,t),s=a,u={name:String(i),kind:n.getSymbolKind(t.type),range:a,selectionRange:s,children:[]};r.push(u),v.push({result:u.children,node:t})}else b=!0})):"object"===t.type&&t.properties.forEach((function(t){var i=t.valueNode;if(i)if(o>0){o--;var a=tt(e,t),s=tt(e,t.keyNode),u={name:n.getKeyLabel(t),kind:n.getSymbolKind(i.type),range:a,selectionRange:s,children:[]};r.push(u),v.push({result:u.children,node:i})}else b=!0}))};y<v.length;){var S=v[y++];x(S.node,S.result)}return b&&r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(a),g},e.prototype.getSymbolKind=function(e){switch(e){case"object":return te.Module;case"string":return te.String;case"number":return te.Number;case"array":return te.Array;case"boolean":return te.Boolean;default:return te.Variable}},e.prototype.getKeyLabel=function(e){var t=e.keyNode.value;return t&&(t=t.replace(/[\n]/g,"↵")),t&&t.trim()?t:'"'+t+'"'},e.prototype.findDocumentColors=function(e,t,r){return this.schemaService.getSchemaForResource(e.uri,t).then((function(n){var i=[];if(n)for(var o=r&&"number"==typeof r.resultLimit?r.resultLimit:Number.MAX_VALUE,a={},s=0,u=t.getMatchingSchemas(n.schema);s<u.length;s++){var c=u[s];if(!c.inverted&&c.schema&&("color"===c.schema.format||"color-hex"===c.schema.format)&&c.node&&"string"===c.node.type){var l=String(c.node.offset);if(!a[l]){var f=et(Ne(c.node));if(f){var h=tt(e,c.node);i.push({color:f,range:h})}if(a[l]=!0,--o<=0)return r&&r.onResultLimitExceeded&&r.onResultLimitExceeded(e.uri),i}}}return i}))},e.prototype.getColorPresentations=function(e,t,r,n){var i,o=[],a=Math.round(255*r.red),s=Math.round(255*r.green),u=Math.round(255*r.blue);function c(e){var t=e.toString(16);return 2!==t.length?"0"+t:t}return i=1===r.alpha?"#"+c(a)+c(s)+c(u):"#"+c(a)+c(s)+c(u)+c(Math.round(255*r.alpha)),o.push({label:i,textEdit:A.replace(n,JSON.stringify(i))}),o}}();function tt(e,t){return f.create(e.positionAt(t.offset),e.positionAt(t.offset+t.length))}var rt=we(),nt={schemaAssociations:{},schemas:{"http://json-schema.org/draft-04/schema#":{title:rt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),$schema:"http://json-schema.org/draft-04/schema#",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{type:"string",enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string",format:"uri"},$schema:{type:"string",format:"uri"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minLength:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minItems:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},uniqueItems:{type:"boolean",default:!1},maxProperties:{allOf:[{$ref:"#/definitions/positiveInteger"}]},minProperties:{allOf:[{$ref:"#/definitions/positiveIntegerDefault0"}]},required:{allOf:[{$ref:"#/definitions/stringArray"}]},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{anyOf:[{type:"string",enum:["date-time","uri","email","hostname","ipv4","ipv6","regex"]},{type:"string"}]},allOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},anyOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},oneOf:{allOf:[{$ref:"#/definitions/schemaArray"}]},not:{allOf:[{$ref:"#"}]}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},"http://json-schema.org/draft-07/schema#":{title:rt("schema.json","Describes a JSON file using a schema. See json-schema.org for more info."),definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}},it={id:rt("schema.json.id","A unique identifier for the schema."),$schema:rt("schema.json.$schema","The schema to verify this document against."),title:rt("schema.json.title","A descriptive title of the element."),description:rt("schema.json.description","A long description of the element. Used in hover menus and suggestions."),default:rt("schema.json.default","A default value. Used by suggestions."),multipleOf:rt("schema.json.multipleOf","A number that should cleanly divide the current value (i.e. have no remainder)."),maximum:rt("schema.json.maximum","The maximum numerical value, inclusive by default."),exclusiveMaximum:rt("schema.json.exclusiveMaximum","Makes the maximum property exclusive."),minimum:rt("schema.json.minimum","The minimum numerical value, inclusive by default."),exclusiveMinimum:rt("schema.json.exclusiveMininum","Makes the minimum property exclusive."),maxLength:rt("schema.json.maxLength","The maximum length of a string."),minLength:rt("schema.json.minLength","The minimum length of a string."),pattern:rt("schema.json.pattern","A regular expression to match the string against. It is not implicitly anchored."),additionalItems:rt("schema.json.additionalItems","For arrays, only when items is set as an array. If it is a schema, then this schema validates items after the ones specified by the items array. If it is false, then additional items will cause validation to fail."),items:rt("schema.json.items","For arrays. Can either be a schema to validate every element against or an array of schemas to validate each item against in order (the first schema will validate the first element, the second schema will validate the second element, and so on."),maxItems:rt("schema.json.maxItems","The maximum number of items that can be inside an array. Inclusive."),minItems:rt("schema.json.minItems","The minimum number of items that can be inside an array. Inclusive."),uniqueItems:rt("schema.json.uniqueItems","If all of the items in the array must be unique. Defaults to false."),maxProperties:rt("schema.json.maxProperties","The maximum number of properties an object can have. Inclusive."),minProperties:rt("schema.json.minProperties","The minimum number of properties an object can have. Inclusive."),required:rt("schema.json.required","An array of strings that lists the names of all properties required on this object."),additionalProperties:rt("schema.json.additionalProperties","Either a schema or a boolean. If a schema, then used to validate all properties not matched by 'properties' or 'patternProperties'. If false, then any properties not matched by either will cause this schema to fail."),definitions:rt("schema.json.definitions","Not used for validation. Place subschemas here that you wish to reference inline with $ref."),properties:rt("schema.json.properties","A map of property names to schemas for each property."),patternProperties:rt("schema.json.patternProperties","A map of regular expressions on property names to schemas for matching properties."),dependencies:rt("schema.json.dependencies","A map of property names to either an array of property names or a schema. An array of property names means the property named in the key depends on the properties in the array being present in the object in order to be valid. If the value is a schema, then the schema is only applied to the object if the property in the key exists on the object."),enum:rt("schema.json.enum","The set of literal values that are valid."),type:rt("schema.json.type","Either a string of one of the basic schema types (number, integer, null, array, object, boolean, string) or an array of strings specifying a subset of those types."),format:rt("schema.json.format","Describes the format expected for the value."),allOf:rt("schema.json.allOf","An array of schemas, all of which must match."),anyOf:rt("schema.json.anyOf","An array of schemas, where at least one must match."),oneOf:rt("schema.json.oneOf","An array of schemas, exactly one of which must match."),not:rt("schema.json.not","A schema which must not match."),$id:rt("schema.json.$id","A unique identifier for the schema."),$ref:rt("schema.json.$ref","Reference a definition hosted on any location."),$comment:rt("schema.json.$comment","Comments from schema authors to readers or maintainers of the schema."),readOnly:rt("schema.json.readOnly","Indicates that the value of the instance is managed exclusively by the owning authority."),examples:rt("schema.json.examples","Sample JSON values associated with a particular schema, for the purpose of illustrating usage."),contains:rt("schema.json.contains",'An array instance is valid against "contains" if at least one of its elements is valid against the given schema.'),propertyNames:rt("schema.json.propertyNames","If the instance is an object, this keyword validates if every property name in the instance validates against the provided schema."),const:rt("schema.json.const","An instance validates successfully against this keyword if its value is equal to the value of the keyword."),contentMediaType:rt("schema.json.contentMediaType","Describes the media type of a string property."),contentEncoding:rt("schema.json.contentEncoding","Describes the content encoding of a string property."),if:rt("schema.json.if",'The validation outcome of the "if" subschema controls which of the "then" or "else" keywords are evaluated.'),then:rt("schema.json.then",'The "if" subschema is used for validation when the "if" subschema succeeds.'),else:rt("schema.json.else",'The "else" subschema is used for validation when the "if" subschema fails.')};for(var ot in nt.schemas){var at=nt.schemas[ot];for(var st in at.properties){var ut=at.properties[st];!0===ut&&(ut=at.properties[st]={});var ct=it[st];ct?ut.description=ct:console.log(st+": localize('schema.json."+st+'\', "")')}}monaco.Uri;var lt=monaco.Range,ft=function(){function e(e,t,r){var n=this;this._languageId=e,this._worker=t,this._disposables=[],this._listener=Object.create(null);var i=function(e){var t,r=e.getModeId();r===n._languageId&&(n._listener[e.uri.toString()]=e.onDidChangeContent((function(){clearTimeout(t),t=setTimeout((function(){return n._doValidate(e.uri,r)}),500)})),n._doValidate(e.uri,r))},o=function(e){monaco.editor.setModelMarkers(e,n._languageId,[]);var t=e.uri.toString(),r=n._listener[t];r&&(r.dispose(),delete n._listener[t])};this._disposables.push(monaco.editor.onDidCreateModel(i)),this._disposables.push(monaco.editor.onWillDisposeModel((function(e){o(e),n._resetSchema(e.uri)}))),this._disposables.push(monaco.editor.onDidChangeModelLanguage((function(e){o(e.model),i(e.model),n._resetSchema(e.model.uri)}))),this._disposables.push(r.onDidChange((function(e){monaco.editor.getModels().forEach((function(e){e.getModeId()===n._languageId&&(o(e),i(e))}))}))),this._disposables.push({dispose:function(){for(var e in monaco.editor.getModels().forEach(o),n._listener)n._listener[e].dispose()}}),monaco.editor.getModels().forEach(i)}return e.prototype.dispose=function(){this._disposables.forEach((function(e){return e&&e.dispose()})),this._disposables=[]},e.prototype._resetSchema=function(e){this._worker().then((function(t){t.resetSchema(e.toString())}))},e.prototype._doValidate=function(e,t){this._worker(e).then((function(r){return r.doValidation(e.toString()).then((function(r){var n=r.map((function(e){return r="number"==typeof(t=e).code?String(t.code):t.code,{severity:ht(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:r,source:t.source};var t,r})),i=monaco.editor.getModel(e);i&&i.getModeId()===t&&monaco.editor.setModelMarkers(i,t,n)}))})).then(void 0,(function(e){console.error(e)}))},e}();function ht(e){switch(e){case x.Error:return monaco.MarkerSeverity.Error;case x.Warning:return monaco.MarkerSeverity.Warning;case x.Information:return monaco.MarkerSeverity.Info;case x.Hint:return monaco.MarkerSeverity.Hint;default:return monaco.MarkerSeverity.Info}}function pt(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function mt(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function dt(e){if(e)return new lt(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function gt(e){var t=monaco.languages.CompletionItemKind;switch(e){case B.Text:return t.Text;case B.Method:return t.Method;case B.Function:return t.Function;case B.Constructor:return t.Constructor;case B.Field:return t.Field;case B.Variable:return t.Variable;case B.Class:return t.Class;case B.Interface:return t.Interface;case B.Module:return t.Module;case B.Property:return t.Property;case B.Unit:return t.Unit;case B.Value:return t.Value;case B.Enum:return t.Enum;case B.Keyword:return t.Keyword;case B.Snippet:return t.Snippet;case B.Color:return t.Color;case B.File:return t.File;case B.Reference:return t.Reference}return t.Property}function vt(e){if(e)return{range:dt(e.range),text:e.newText}}var yt=function(){function e(e){this._worker=e}return Object.defineProperty(e.prototype,"triggerCharacters",{get:function(){return[" ",":"]},enumerable:!0,configurable:!0}),e.prototype.provideCompletionItems=function(e,t,r,n){var i=e.uri;return this._worker(i).then((function(e){return e.doComplete(i.toString(),pt(t))})).then((function(r){if(r){var n=e.getWordUntilPosition(t),i=new lt(t.lineNumber,n.startColumn,t.lineNumber,n.endColumn),o=r.items.map((function(e){var t={label:e.label,insertText:e.insertText||e.label,sortText:e.sortText,filterText:e.filterText,documentation:e.documentation,detail:e.detail,range:i,kind:gt(e.kind)};return e.textEdit&&(t.range=dt(e.textEdit.range),t.insertText=e.textEdit.newText),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(vt)),e.insertTextFormat===K.Snippet&&(t.insertTextRules=monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet),t}));return{isIncomplete:r.isIncomplete,suggestions:o}}}))},e}();function bt(e){return"string"==typeof e?{value:e}:(t=e)&&"object"==typeof t&&"string"==typeof t.kind?"plaintext"===e.kind?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+"\n"+e.value+"\n```\n"};var t}function xt(e){if(e)return Array.isArray(e)?e.map(bt):[bt(e)]}var St=function(){function e(e){this._worker=e}return e.prototype.provideHover=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.doHover(n.toString(),pt(t))})).then((function(e){if(e)return{range:dt(e.range),contents:xt(e.contents)}}))},e}();function kt(e){var t=monaco.languages.SymbolKind;switch(e){case te.File:return t.Array;case te.Module:return t.Module;case te.Namespace:return t.Namespace;case te.Package:return t.Package;case te.Class:return t.Class;case te.Method:return t.Method;case te.Property:return t.Property;case te.Field:return t.Field;case te.Constructor:return t.Constructor;case te.Enum:return t.Enum;case te.Interface:return t.Interface;case te.Function:return t.Function;case te.Variable:return t.Variable;case te.Constant:return t.Constant;case te.String:return t.String;case te.Number:return t.Number;case te.Boolean:return t.Boolean;case te.Array:return t.Array}return t.Function}var Ct=function(){function e(e){this._worker=e}return e.prototype.provideDocumentSymbols=function(e,t){var r=e.uri;return this._worker(r).then((function(e){return e.findDocumentSymbols(r.toString())})).then((function(e){if(e)return e.map((function(e){return{name:e.name,detail:"",containerName:e.containerName,kind:kt(e.kind),range:dt(e.location.range),selectionRange:dt(e.location.range),tags:[]}}))}))},e}();function At(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var wt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentFormattingEdits=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.format(n.toString(),null,At(t)).then((function(e){if(e&&0!==e.length)return e.map(vt)}))}))},e}(),It=function(){function e(e){this._worker=e}return e.prototype.provideDocumentRangeFormattingEdits=function(e,t,r,n){var i=e.uri;return this._worker(i).then((function(e){return e.format(i.toString(),mt(t),At(r)).then((function(e){if(e&&0!==e.length)return e.map(vt)}))}))},e}(),Tt=function(){function e(e){this._worker=e}return e.prototype.provideDocumentColors=function(e,t){var r=e.uri;return this._worker(r).then((function(e){return e.findDocumentColors(r.toString())})).then((function(e){if(e)return e.map((function(e){return{color:e.color,range:dt(e.range)}}))}))},e.prototype.provideColorPresentations=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getColorPresentations(n.toString(),t.color,mt(t.range))})).then((function(e){if(e)return e.map((function(e){var t={label:e.label};return e.textEdit&&(t.textEdit=vt(e.textEdit)),e.additionalTextEdits&&(t.additionalTextEdits=e.additionalTextEdits.map(vt)),t}))}))},e}(),Et=function(){function e(e){this._worker=e}return e.prototype.provideFoldingRanges=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getFoldingRanges(n.toString(),t)})).then((function(e){if(e)return e.map((function(e){var t={start:e.startLine+1,end:e.endLine+1};return void 0!==e.kind&&(t.kind=function(e){switch(e){case v.Comment:return monaco.languages.FoldingRangeKind.Comment;case v.Imports:return monaco.languages.FoldingRangeKind.Imports;case v.Region:return monaco.languages.FoldingRangeKind.Region}return}(e.kind)),t}))}))},e}();var Ot=function(){function e(e){this._worker=e}return e.prototype.provideSelectionRanges=function(e,t,r){var n=e.uri;return this._worker(n).then((function(e){return e.getSelectionRanges(n.toString(),t.map(pt))})).then((function(e){if(e)return e.map((function(e){for(var t=[];e;)t.push({range:dt(e.range)}),e=e.parent;return t}))}))},e}();function jt(e){return{getInitialState:function(){return new Pt(null,null,!1)},tokenize:function(t,r,n,i){return function(e,t,r,n,i){void 0===n&&(n=0);var o=0,a=!1;switch(r.scanError){case 2:t='"'+t,o=1;break;case 1:t="/*"+t,o=2}var s,u,c=j(t),l=r.lastWasColon;u={tokens:[],endState:r.clone()};for(;;){var f=n+c.getPosition(),h="";if(17===(s=c.scan()))break;if(f===n+c.getPosition())throw new Error("Scanner did not advance, next 3 characters are: "+t.substr(c.getPosition(),3));switch(a&&(f-=o),a=o>0,s){case 1:case 2:h="delimiter.bracket.json",l=!1;break;case 3:case 4:h="delimiter.array.json",l=!1;break;case 6:h="delimiter.colon.json",l=!0;break;case 5:h="delimiter.comma.json",l=!1;break;case 8:case 9:case 7:h="keyword.json",l=!1;break;case 10:h=l?"string.value.json":"string.key.json",l=!1;break;case 11:h="number.json",l=!1}if(e)switch(s){case 12:h="comment.line.json";break;case 13:h="comment.block.json"}u.endState=new Pt(r.getStateData(),c.getTokenError(),l),u.tokens.push({startIndex:f,scopes:h})}return u}(e,t,r,n)}}}var Pt=function(){function e(e,t,r){this._state=e,this.scanError=t,this.lastWasColon=r}return e.prototype.clone=function(){return new e(this._state,this.scanError,this.lastWasColon)},e.prototype.equals=function(t){return t===this||!!(t&&t instanceof e)&&(this.scanError===t.scanError&&this.lastWasColon===t.lastWasColon)},e.prototype.getStateData=function(){return this._state},e.prototype.setStateData=function(e){this._state=e},e}();function Mt(e){var t=[],r=[],n=new i(e);t.push(n);var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.getLanguageServiceWorker.apply(n,e)};function a(){var t=e.languageId,n=e.modeConfiguration;Vt(r),n.documentFormattingEdits&&r.push(monaco.languages.registerDocumentFormattingEditProvider(t,new wt(o))),n.documentRangeFormattingEdits&&r.push(monaco.languages.registerDocumentRangeFormattingEditProvider(t,new It(o))),n.completionItems&&r.push(monaco.languages.registerCompletionItemProvider(t,new yt(o))),n.hovers&&r.push(monaco.languages.registerHoverProvider(t,new St(o))),n.documentSymbols&&r.push(monaco.languages.registerDocumentSymbolProvider(t,new Ct(o))),n.tokens&&r.push(monaco.languages.setTokensProvider(t,jt(!0))),n.colors&&r.push(monaco.languages.registerColorProvider(t,new Tt(o))),n.foldingRanges&&r.push(monaco.languages.registerFoldingRangeProvider(t,new Et(o))),n.diagnostics&&r.push(new ft(t,o,e)),n.selectionRanges&&r.push(monaco.languages.registerSelectionRangeProvider(t,new Ot(o)))}a(),t.push(monaco.languages.setLanguageConfiguration(e.languageId,Ft));var s=e.modeConfiguration;return e.onDidChange((function(e){e.modeConfiguration!==s&&(s=e.modeConfiguration,a())})),t.push(_t(r)),_t(t)}function _t(e){return{dispose:function(){return Vt(e)}}}function Vt(e){for(;e.length;)e.pop().dispose()}var Ft={wordPattern:/(-?\d*\.\d\w*)|([^\[\{\]\}\:\"\,\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:'"',close:'"',notIn:["string"]}]}},"xiP/":function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return p}));var n,i,o,a=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});if("object"==typeof e)o="win32"===e.platform;else if("object"==typeof navigator){var s=navigator.userAgent;o=s.indexOf("Windows")>=0}var u=/^\w[\w\d+.-]*$/,c=/^\//,l=/^\/\//;var f="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,p=function(){function e(e,t,r,n,i,o){void 0===o&&(o=!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,o),this.authority=t||"",this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==f&&(t=f+t):t=f}return t}(this.scheme,r||""),this.query=n||"",this.fragment=i||"",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&&!u.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!c.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,o))}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 b(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var t=e.scheme,r=e.authority,n=e.path,i=e.query,o=e.fragment;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===r?r=this.authority:null===r&&(r=""),void 0===n?n=this.path:null===n&&(n=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&r===this.authority&&n===this.path&&i===this.query&&o===this.fragment?this:new d(t,r,n,i,o)},e.parse=function(e,t){void 0===t&&(t=!1);var r=h.exec(e);return r?new d(r[2]||"",decodeURIComponent(r[4]||""),decodeURIComponent(r[5]||""),decodeURIComponent(r[7]||""),decodeURIComponent(r[9]||""),t):new d("","","","","")},e.file=function(e){var t="";if(o&&(e=e.replace(/\\/g,f)),e[0]===f&&e[1]===f){var r=e.indexOf(f,2);-1===r?(t=e.substring(2),e=f):(t=e.substring(2,r),e=e.substring(r)||f)}return new d("file",t,e,"","")},e.from=function(e){return new d(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),x(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(t){if(t){if(t instanceof e)return t;var r=new d(t);return r._formatted=t.external,r._fsPath=t._sep===m?t.fsPath:null,r}return t},e}(),m=o?1:void 0,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._formatted=null,t._fsPath=null,t}return a(t,e),Object.defineProperty(t.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=b(this)),this._fsPath},enumerable:!0,configurable:!0}),t.prototype.toString=function(e){return void 0===e&&(e=!1),e?x(this,!0):(this._formatted||(this._formatted=x(this,!1)),this._formatted)},t.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=m),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}(p),g=((i={})[58]="%3A",i[47]="%2F",i[63]="%3F",i[35]="%23",i[91]="%5B",i[93]="%5D",i[64]="%40",i[33]="%21",i[36]="%24",i[38]="%26",i[39]="%27",i[40]="%28",i[41]="%29",i[42]="%2A",i[43]="%2B",i[44]="%2C",i[59]="%3B",i[61]="%3D",i[32]="%20",i);function v(e,t){for(var r=void 0,n=-1,i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o)-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),void 0!==r&&(r+=e.charAt(i));else{void 0===r&&(r=e.substr(0,i));var a=g[o];void 0!==a?(-1!==n&&(r+=encodeURIComponent(e.substring(n,i)),n=-1),r+=a):-1===n&&(n=i)}}return-1!==n&&(r+=encodeURIComponent(e.substring(n))),void 0!==r?r:e}function y(e){for(var t=void 0,r=0;r<e.length;r++){var n=e.charCodeAt(r);35===n||63===n?(void 0===t&&(t=e.substr(0,r)),t+=g[n]):void 0!==t&&(t+=e[r])}return void 0!==t?t:e}function b(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,o&&(t=t.replace(/\//g,"\\")),t}function x(e,t){var r=t?y:v,n="",i=e.scheme,o=e.authority,a=e.path,s=e.query,u=e.fragment;if(i&&(n+=i,n+=":"),(o||"file"===i)&&(n+=f,n+=f),o){var c=o.indexOf("@");if(-1!==c){var l=o.substr(0,c);o=o.substr(c+1),-1===(c=l.indexOf(":"))?n+=r(l,!1):(n+=r(l.substr(0,c),!1),n+=":",n+=r(l.substr(c+1),!1)),n+="@"}-1===(c=(o=o.toLowerCase()).indexOf(":"))?n+=r(o,!1):(n+=r(o.substr(0,c),!1),n+=o.substr(c))}if(a){if(a.length>=3&&47===a.charCodeAt(0)&&58===a.charCodeAt(2))(h=a.charCodeAt(1))>=65&&h<=90&&(a="/"+String.fromCharCode(h+32)+":"+a.substr(3));else if(a.length>=2&&58===a.charCodeAt(1)){var h;(h=a.charCodeAt(0))>=65&&h<=90&&(a=String.fromCharCode(h+32)+":"+a.substr(2))}n+=r(a,!0)}return s&&(n+="?",n+=r(s,!1)),u&&(n+="#",n+=t?u:v(u,!1)),n}}).call(this,r("KCCg"))}}]); \ No newline at end of file diff --git a/static/js/95.b3075b01.chunk.js b/static/js/96.342cc2de.chunk.js similarity index 95% rename from static/js/95.b3075b01.chunk.js rename to static/js/96.342cc2de.chunk.js index eb348b376..000495989 100644 --- a/static/js/95.b3075b01.chunk.js +++ b/static/js/96.342cc2de.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[95],{Smcf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i(["{\n font-size:16px;\n color:#333;\n}"],["{\n font-size:16px;\n color:#333;\n}"]),a=i(["{\n margin-right:5px;\n color:#333\n}"],["{\n margin-right:5px;\n color:#333\n}"]),r=i(["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:32px;\n line-height:30px;\n display:block;\n padding:0px 15px;\n border-radius:2px;\n}"],["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:32px;\n line-height:30px;\n display:block;\n padding:0px 15px;\n border-radius:2px;\n}"]),d=i(["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"],["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"]),c=p(n("q1tI")),s=n("spEH"),u=p(n("vOnD"));function p(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var m=u.default.span(l),o=u.default.span(a),f=u.default.a(r),h=u.default.img(d);t.default=function(){return c.default.createElement(s.WhiteBack,null,c.default.createElement(s.Banner,null,"组织团队管理"),c.default.createElement("div",{className:"groupBox"},c.default.createElement("div",null,c.default.createElement("p",{className:"g-head"},c.default.createElement(m,null,"oweners"),c.default.createElement("span",{className:"df"},c.default.createElement(f,null,"离开团队"),c.default.createElement(s.Blueline,{className:"ml15"},"团队设置"))),c.default.createElement("div",{className:"g-body"},c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),c.default.createElement("p",{className:"g-foot"},c.default.createElement(o,null,"2 名成员"),c.default.createElement(o,null,"1 个项目"))),c.default.createElement("div",null,c.default.createElement("p",{className:"g-head"},c.default.createElement(m,null,"oweners"),c.default.createElement("span",{className:"df"},c.default.createElement(f,null,"离开团队"),c.default.createElement(s.Blueline,{className:"ml15"},"团队设置"))),c.default.createElement("div",{className:"g-body"},c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),c.default.createElement("p",{className:"g-foot"},c.default.createElement(o,null,"2 名成员"),c.default.createElement(o,null,"1 个项目")))))}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[96],{Smcf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=i(["{\n font-size:16px;\n color:#333;\n}"],["{\n font-size:16px;\n color:#333;\n}"]),a=i(["{\n margin-right:5px;\n color:#333\n}"],["{\n margin-right:5px;\n color:#333\n}"]),r=i(["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:32px;\n line-height:30px;\n display:block;\n padding:0px 15px;\n border-radius:2px;\n}"],["{\n border:1px solid #F73030;\n color:#F73030!important;\n height:32px;\n line-height:30px;\n display:block;\n padding:0px 15px;\n border-radius:2px;\n}"]),d=i(["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"],["{\n height:44px;\n width:44px;\n border-radius:50%;\n margin:5px 20px 5px 0px;\n}"]),c=p(n("q1tI")),s=n("spEH"),u=p(n("vOnD"));function p(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var m=u.default.span(l),o=u.default.span(a),f=u.default.a(r),h=u.default.img(d);t.default=function(){return c.default.createElement(s.WhiteBack,null,c.default.createElement(s.Banner,null,"组织团队管理"),c.default.createElement("div",{className:"groupBox"},c.default.createElement("div",null,c.default.createElement("p",{className:"g-head"},c.default.createElement(m,null,"oweners"),c.default.createElement("span",{className:"df"},c.default.createElement(f,null,"离开团队"),c.default.createElement(s.Blueline,{className:"ml15"},"团队设置"))),c.default.createElement("div",{className:"g-body"},c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),c.default.createElement("p",{className:"g-foot"},c.default.createElement(o,null,"2 名成员"),c.default.createElement(o,null,"1 个项目"))),c.default.createElement("div",null,c.default.createElement("p",{className:"g-head"},c.default.createElement(m,null,"oweners"),c.default.createElement("span",{className:"df"},c.default.createElement(f,null,"离开团队"),c.default.createElement(s.Blueline,{className:"ml15"},"团队设置"))),c.default.createElement("div",{className:"g-body"},c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"}),c.default.createElement(h,{src:"https://dss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3331079987,1190181307&fm=111&gp=0.jpg"})),c.default.createElement("p",{className:"g-foot"},c.default.createElement(o,null,"2 名成员"),c.default.createElement(o,null,"1 个项目")))))}}}]); \ No newline at end of file diff --git a/static/js/96.2f6f5f44.chunk.js b/static/js/97.18ea7268.chunk.js similarity index 75% rename from static/js/96.2f6f5f44.chunk.js rename to static/js/97.18ea7268.chunk.js index 99732d527..1c5caaec9 100644 --- a/static/js/96.2f6f5f44.chunk.js +++ b/static/js/97.18ea7268.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[96],{gSX0:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=u("q1tI"),s=(n=l)&&n.__esModule?n:{default:n};t.default=function(){return s.default.createElement("div",null,"管理web钩子:可以与组织设置部分的管理web钩子页面公用")}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[97],{gSX0:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=u("q1tI"),s=(n=l)&&n.__esModule?n:{default:n};t.default=function(){return s.default.createElement("div",null,"管理web钩子:可以与组织设置部分的管理web钩子页面公用")}}}]); \ No newline at end of file diff --git a/static/js/97.ec005138.chunk.js b/static/js/98.e987f556.chunk.js similarity index 72% rename from static/js/97.ec005138.chunk.js rename to static/js/98.e987f556.chunk.js index d1113bbcd..b96e71530 100644 --- a/static/js/97.ec005138.chunk.js +++ b/static/js/98.e987f556.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[97],{A5Ec:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=u("q1tI"),s=(n=l)&&n.__esModule?n:{default:n};t.default=function(){return s.default.createElement("div",null,"222")}}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[98],{A5Ec:function(e,t,u){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,l=u("q1tI"),s=(n=l)&&n.__esModule?n:{default:n};t.default=function(){return s.default.createElement("div",null,"222")}}}]); \ No newline at end of file diff --git a/static/js/98.eb968578.chunk.js b/static/js/99.34d7373b.chunk.js similarity index 93% rename from static/js/98.eb968578.chunk.js rename to static/js/99.34d7373b.chunk.js index f0d3d7ea7..682e7478b 100644 --- a/static/js/98.eb968578.chunk.js +++ b/static/js/99.34d7373b.chunk.js @@ -1 +1 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[98],{pPhC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),c=(n("eO8H"),l(n("HUFq")),l(n("CnBM")),n("5A3O")),u=n("sYIF");function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 s=function(e){function t(){return f(this,t),i(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(){return o.default.createElement("div",{className:"newMain clearfix"},o.default.createElement("div",{className:" edu-txt-center mt60 mb60"},o.default.createElement("img",{src:(0,u.getImageUrl)("images/warn/pic_403.jpg")}),o.default.createElement("p",{className:"font-18 mt40"},"您可以稍后尝试 ",o.default.createElement("a",{href:"/",className:"color-blue"},"返回首页"),",或者 ",o.default.createElement("a",{target:"_blank",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd",className:"color-blue"},"QQ反馈>>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file +(this.webpackJsonp=this.webpackJsonp||[]).push([[99],{pPhC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),c=(n("eO8H"),l(n("HUFq")),l(n("CnBM")),n("5A3O")),u=n("sYIF");function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 s=function(e){function t(){return f(this,t),i(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(){return o.default.createElement("div",{className:"newMain clearfix"},o.default.createElement("div",{className:" edu-txt-center mt60 mb60"},o.default.createElement("img",{src:(0,u.getImageUrl)("images/warn/pic_403.jpg")}),o.default.createElement("p",{className:"font-18 mt40"},"您可以稍后尝试 ",o.default.createElement("a",{href:"/",className:"color-blue"},"返回首页"),",或者 ",o.default.createElement("a",{target:"_blank",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd",className:"color-blue"},"QQ反馈>>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file diff --git a/static/js/99.d6a63e89.chunk.js b/static/js/99.d6a63e89.chunk.js deleted file mode 100644 index b2d1fdca9..000000000 --- a/static/js/99.d6a63e89.chunk.js +++ /dev/null @@ -1 +0,0 @@ -(this.webpackJsonp=this.webpackJsonp||[]).push([[99],{ux30:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),o=l(a),c=(n("eO8H"),l(n("HUFq")),l(n("CnBM")),n("5A3O")),u=n("sYIF");function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 s=function(e){function t(){return f(this,t),i(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(){return o.default.createElement("div",{className:"newMain clearfix"},o.default.createElement("div",{className:" edu-txt-center mt60 mb60"},o.default.createElement("img",{src:(0,u.getImageUrl)("images/warn/pic_404.jpg")}),o.default.createElement("p",{className:"font-18 mt40"},"您可以稍后尝试 ",o.default.createElement("a",{href:"/",className:"color-blue"},"返回首页"),",或者 ",o.default.createElement("a",{target:"_blank",href:"//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd",className:"color-blue"},"QQ反馈>>"))))}}]),t}(a.Component);t.default=(0,u.SnackbarHOC)()((0,c.TPMIndexHOC)(s))}}]); \ No newline at end of file diff --git a/static/js/main.242a7a93.chunk.js b/static/js/main.1534b213.chunk.js similarity index 91% rename from static/js/main.242a7a93.chunk.js rename to static/js/main.1534b213.chunk.js index 9e99d69fa..bbb74879c 100644 --- a/static/js/main.242a7a93.chunk.js +++ b/static/js/main.1534b213.chunk.js @@ -1,2 +1,2 @@ -/*! For license information please see main.242a7a93.chunk.js.LICENSE.txt */ -(this.webpackJsonp=this.webpackJsonp||[]).push([["main"],{"+/fp":function(e,t){e.exports=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}},"+JPL":function(e,t,n){e.exports={default:n("+SFK"),__esModule:!0}},"+MfF":function(e,t,n){"use strict";t.__esModule=!0,t.Encoders=t.Decoders=t.encodeNumericObject=t.encodeNumericArray=void 0;var r="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},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")};t.encodeDate=c,t.decodeDate=s,t.encodeBoolean=u,t.decodeBoolean=f,t.encodeNumber=h,t.decodeNumber=p,t.encodeString=d,t.decodeString=m,t.encodeJson=v,t.decodeJson=y,t.encodeArray=g,t.decodeArray=b,t.decodeNumericArray=x,t.encodeObject=_,t.decodeObject=k,t.decodeNumericObject=O,t.decode=function(e,t,n){var o=void 0;o="function"==typeof e?e(t,n):"object"===(void 0===e?"undefined":r(e))&&e.decode?e.decode(t,n):void 0===t?n:M[e]?M[e](t):t;return o},t.encode=function(e,t){var n=void 0;n="function"==typeof e?e(t):"object"===(void 0===e?"undefined":r(e))&&e.encode?e.encode(t):T[e]?T[e](t):t;return n};var i,a=n("Lusz"),l=(i=a)&&i.__esModule?i:{default:i};function c(e){if(null==e)return e;var t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return t+"-"+(n<10?"0"+n:n)+"-"+(r<10?"0"+r:r)}function s(e){if(null!=e&&e.length){var t=e.split("-");null!=t[1]?t[1]-=1:(t[1]=0,t[2]=1);var n=new(Function.prototype.bind.apply(Date,[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))));if(!isNaN(n.getTime()))return n}}function u(e){if(void 0!==e)return e?"1":"0"}function f(e){return"1"===e||"0"!==e&&void 0}function h(e){if(null!=e)return String(e)}function p(e){if(null!=e){var t=parseFloat(e);if(!isNaN(t))return t}}function d(e){if(null!=e)return String(e)}function m(e){if(null!=e)return String(e)}function v(e){if(null!=e)return JSON.stringify(e)}function y(e){if(e){var t=void 0;try{t=JSON.parse(e)}catch(e){}return t}}function g(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.entrySeparator:arguments[1];if(e)return e.join(t)}function b(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.entrySeparator:arguments[1];if(e)return e.split(t).map((function(e){return""===e?void 0:e}))}var w=t.encodeNumericArray=g;function x(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.entrySeparator:arguments[1],n=b(e,t);if(n)return n.map((function(e){return null==e?e:+e}))}function _(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.keyValSeparator:arguments[1],n=arguments.length<=2||void 0===arguments[2]?l.default.entrySeparator:arguments[2];if(e&&Object.keys(e).length)return Object.keys(e).map((function(n){return""+n+t+e[n]})).join(n)}function k(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.keyValSeparator:arguments[1],n=arguments.length<=2||void 0===arguments[2]?l.default.entrySeparator:arguments[2];if(e&&e.length){var r={};return e.split(n).forEach((function(e){var n=e.split(t),i=o(n,2),a=i[0],l=i[1];r[a]=l})),r}}var S=t.encodeNumericObject=_;function O(e){var t=arguments.length<=1||void 0===arguments[1]?l.default.keyValSeparator:arguments[1],n=arguments.length<=2||void 0===arguments[2]?l.default.entrySeparator:arguments[2],r=k(e,t,n);if(r)return Object.keys(r).forEach((function(e){r[e]=null==r[e]?r[e]:+r[e]})),r}var M=t.Decoders={number:p,string:m,object:k,array:b,json:y,date:s,boolean:f,numericObject:O,numericArray:x};var T=t.Encoders={number:h,string:d,object:_,array:g,json:v,date:c,boolean:u,numericObject:S,numericArray:w}},"+N+y":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trace_collapse=function(e){console.groupCollapsed},t.trace=function(e){a.trace(e)},t.debug=function(e){a.debug(e)},t.info=function(e){a.info(e)},t.warn=function(e){a.warn(e)},t.error=function(e){a.error(e)},t.trace_c=function(e){a.trace(l()+"%c"+e,"color:magenta;")},t.debug_c=function(e){a.debug(l()+"%c"+e,"color:cyan;")},t.info_c=function(e){a.info(l()+"%c"+e,"color:blue;")},t.warn_c=function(e){a.warn(l()+"%c"+e,"color:crimson;")},t.error_c=function(e){a.error(l()+"%c"+e,"color:red;")};var r,o=n("wd/R"),i=(r=o)&&r.__esModule?r:{default:r};var a=n("XH0y");a.enableAll(),window.getLog=function(){return a},window._logWithTimeStamp=!0;var l=function(){return window._logWithTimeStamp?"["+(0,i.default)().format("hh:mm:ss")+"] ":""}},"+SFK":function(e,t,n){n("AUvm"),n("wgeU"),n("adOz"),n("dl0q"),e.exports=n("WEpk").Symbol},"+auO":function(e,t,n){var r=n("XKFU"),o=n("lvtm");r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},"+lvF":function(e,t,n){e.exports=n("VTer")("native-function-to-string",Function.toString)},"+oPb":function(e,t,n){"use strict";n("OGtf")("blink",(function(e){return function(){return e(this,"blink","","")}}))},"+plK":function(e,t,n){n("ApPD"),e.exports=n("WEpk").Object.getPrototypeOf},"+rLv":function(e,t,n){var r=n("dyZX").document;e.exports=r&&r.documentElement},"+wdc":function(e,t,n){"use strict";var r,o,i,a,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,s=null,u=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(u,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==c?setTimeout(r,0,e):(c=e,setTimeout(u,0))},o=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},a=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var h=window.performance,p=window.Date,d=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var v=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof h&&"function"==typeof h.now)t.unstable_now=function(){return h.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var g=!1,b=null,w=-1,x=5,_=0;a=function(){return t.unstable_now()>=_},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,S=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();_=e+x;try{b(!0,e)?S.postMessage(null):(g=!1,b=null)}catch(e){throw S.postMessage(null),e}}else g=!1},r=function(e){b=e,g||(g=!0,S.postMessage(null))},o=function(e,n){w=d((function(){e(t.unstable_now())}),n)},i=function(){m(w),w=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<E(o,t)))break e;e[r]=t,e[n]=o,n=r}}function M(e){return void 0===(e=e[0])?null:e}function T(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,c=e[l];if(void 0!==a&&0>E(a,n))void 0!==c&&0>E(c,a)?(e[r]=c,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==c&&0>E(c,n)))break e;e[r]=c,e[l]=n,r=l}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var z=[],C=[],P=1,A=null,j=3,L=!1,N=!1,H=!1;function R(e){for(var t=M(C);null!==t;){if(null===t.callback)T(C);else{if(!(t.startTime<=e))break;T(C),t.sortIndex=t.expirationTime,O(z,t)}t=M(C)}}function V(e){if(H=!1,R(e),!N)if(null!==M(z))N=!0,r(I);else{var t=M(C);null!==t&&o(V,t.startTime-e)}}function I(e,n){N=!1,H&&(H=!1,i()),L=!0;var r=j;try{for(R(n),A=M(z);null!==A&&(!(A.expirationTime>n)||e&&!a());){var l=A.callback;if(null!==l){A.callback=null,j=A.priorityLevel;var c=l(A.expirationTime<=n);n=t.unstable_now(),"function"==typeof c?A.callback=c:A===M(z)&&T(z),R(n)}else T(z);A=M(z)}if(null!==A)var s=!0;else{var u=M(C);null!==u&&o(V,u.startTime-n),s=!1}return s}finally{A=null,j=r,L=!1}}function D(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){N||L||(N=!0,r(I))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return M(z)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();if("object"==typeof a&&null!==a){var c=a.delay;c="number"==typeof c&&0<c?l+c:l,a="number"==typeof a.timeout?a.timeout:D(e)}else a=D(e),c=l;return e={id:P++,callback:n,priorityLevel:e,startTime:c,expirationTime:a=c+a,sortIndex:-1},c>l?(e.sortIndex=c,O(C,e),null===M(z)&&e===M(C)&&(H?i():H=!0,o(V,c-l))):(e.sortIndex=a,O(z,e),N||L||(N=!0,r(I))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=M(z);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},"/+74":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("TeRw"));t.initAxiosInterceptors=function(e){t=window.$,t(window).bind("online",(function(){r.default.destroy(),r.default.success({duration:2,message:"网络恢复正常",description:"网络恢复正常,感谢使用。"})})),t(window).bind("offline",(function(){r.default.destroy(),r.default.warning({duration:null,message:"网络异常",description:"网络异常,请检测网络后重试。"})}));var t;var n;n="https://testforgeplus.trustie.net";var a={};window.setfalseInRequestMap=function(e){a[e]=!1},o.default.interceptors.request.use((function(e){if(m(),d(),-1!==e.url.indexOf(n))return e;(0,i.requestProxy)(e);var t="/api"+e.url;return""+e[0]!="true"&&("3007"===window.location.port?(e.url=""+n+t,-1===e.url.indexOf("?")?e.url=e.url+"?debug="+f:e.url=e.url+"&debug="+f):e.url=t,m()),-1===e.url.indexOf("update_file")&&(a[e.url]=!0,window.setTimeout("setfalseInRequestMap('"+e.url+"')",900)),e}),(function(e){return Promise.reject(e)})),o.default.interceptors.response.use((function(t){if(void 0!==t){t.config;if(-1===t.data.status)throw window.location.pathname.startsWith("/tasks/")?e.showSnackbar(t.data.message||"服务器异常,请联系管理员。"):r.default.open({message:"提示",description:t.data.message||"服务器异常,请联系管理员。",style:{zIndex:99999999}}),new o.default.Cancel("Operation canceled by the user.");return 403!==t.data.status&&"403"!==t.data.status||u("/403"),404===t.data.status&&u("/nopage"),500===t.data.status&&u("/500"),501===t.data.status&&(!1===s&&(s=!0,r.default.open({message:"提示",description:t.data.message||"访问异常,请求不合理",style:{zIndex:99999999}})),window.setTimeout((function(){s=!1}),2e3)),a[t.config.url]=!1,m(),t}}),(function(e){return Promise.reject(e)}))},n("O+I2");var o=c(n("vDqi")),i=n("7apM"),a=n("sYIF"),l=c(n("Po8q"));function c(e){return e&&e.__esModule?e:{default:e}}n("p2bk");var s=!1;function u(e){"3007"===window.location.port||(window.location.href=e)}(0,a.broadcastChannelOnmessage)("refreshPage",(function(){window.location.reload()}));var f="";if(a.isDev){var h=window.location.search,p={};h&&(p=a.queryString.parse(h)),f=-1!==window.location.search.indexOf("debug=t")?"teacher":-1!==window.location.search.indexOf("debug=s")?"student":-1!==window.location.search.indexOf("debug=a")?"admin":p.debug||"admin"}function d(){l.default.remove("_educoder_session",{path:"/"}),l.default.remove("autologin_trustie",{path:"/"}),m()}function m(){if(-1!==window.location.pathname.indexOf("/wxcode")){l.default.remove("_educoder_session",{path:"/"}),l.default.remove("autologin_trustie",{path:"/"});var e=window.location.search;if(e){var t=e.split("?")[1],n=t.split("&")[0].split("=");l.default.save("_educoder_session",n[1],{domain:".educoder.net",path:"/"});var r=t.split("&")[1].split("=");l.default.save("autologin_trustie",r[1],{domain:".educoder.net",path:"/"})}}}d(),m(),window._debugType=f},"/3gg":function(e,t,n){},"/6c9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.YouTube=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();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("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}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 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 u(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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(){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 v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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){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 w(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(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 w(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 x=/(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=/,_=/list=([a-zA-Z0-9_-]+)/;function k(e){return _.test(e)?{listType:"playlist",list:b(e.match(_),2)[1]}:{}}var 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&&y(e,t)}(c,e);var t,n,r,a,l=(t=c,function(){var e,n=v(t);if(m()){var r=v(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return p(this,e)});function c(){var e;f(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(d(e=l.call.apply(l,[this].concat(n))),"callPlayer",i.callPlayer),g(d(e),"onStateChange",(function(t){var n=t.data,r=e.props,o=r.onPlay,i=r.onPause,a=r.onBuffer,l=r.onBufferEnd,c=r.onEnded,s=r.onReady,u=r.loop,f=window.YT.PlayerState,h=f.PLAYING,p=f.PAUSED,d=f.BUFFERING,m=f.ENDED,v=f.CUED;if(n===h&&(o(),l()),n===p&&i(),n===d&&a(),n===m){var y=!!e.callPlayer("getPlaylist");u&&!y&&e.play(),c()}n===v&&s()})),g(d(e),"mute",(function(){e.callPlayer("mute")})),g(d(e),"unmute",(function(){e.callPlayer("unMute")})),g(d(e),"ref",(function(t){e.container=t})),e}return n=c,(r=[{key:"load",value:function(e,t){var n=this,r=this.props,o=r.playing,a=r.muted,l=r.playsinline,c=r.controls,s=r.loop,f=r.config,h=r.onError,p=f.youtube,d=p.playerVars,m=p.embedOptions,v=e&&e.match(x)[1];if(t)return _.test(e)?void this.player.loadPlaylist(k(e)):void this.player.cueVideoById({videoId:v,startSeconds:(0,i.parseStartTime)(e)||d.start,endSeconds:(0,i.parseEndTime)(e)||d.end});(0,i.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",(function(e){return e.loaded})).then((function(t){n.container&&(n.player=new t.Player(n.container,u({width:"100%",height:"100%",videoId:v,playerVars:u({autoplay:o?1:0,mute:a?1:0,controls:c?1:0,start:(0,i.parseStartTime)(e),end:(0,i.parseEndTime)(e),origin:window.location.origin,playsinline:l},k(e),{},d),events:{onReady:function(){s&&n.player.setLoop(!0),n.props.onReady()},onStateChange:n.onStateChange,onError:function(e){return h(e.data)}}},m)))}),h)}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("div",{style:e},o.default.createElement("div",{ref:this.ref}))}}])&&h(n.prototype,r),a&&h(n,a),c}(o.Component);t.YouTube=S,g(S,"displayName","YouTube"),g(S,"canPlay",(function(e){return x.test(e)}));var O=(0,a.default)(S);t.default=O},"/8Fb":function(e,t,n){var r=n("XKFU"),o=n("UExd")(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},"/9aa":function(e,t,n){var r=n("NykK"),o=n("ExA7");e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},"/KAi":function(e,t,n){var r=n("XKFU"),o=n("dyZX").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},"/KMy":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("q1tI")),c=(r(n("17x9")),r(n("TSYQ"))),s=r(n("d05B")),u=n("fvma"),f=function(e){return{root:{display:"block",margin:0},display4:e.typography.display4,display3:e.typography.display3,display2:e.typography.display2,display1:e.typography.display1,headline:e.typography.headline,title:e.typography.title,subheading:e.typography.subheading,body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:2*e.spacing.unit},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main}}};function h(e){var t,n=e.align,r=e.classes,s=e.className,f=e.component,h=e.color,p=e.gutterBottom,d=e.headlineMapping,m=e.noWrap,v=e.paragraph,y=e.variant,g=(0,a.default)(e,["align","classes","className","component","color","gutterBottom","headlineMapping","noWrap","paragraph","variant"]),b=(0,c.default)(r.root,r[y],(t={},(0,i.default)(t,r["color".concat((0,u.capitalize)(h))],"default"!==h),(0,i.default)(t,r.noWrap,m),(0,i.default)(t,r.gutterBottom,p),(0,i.default)(t,r.paragraph,v),(0,i.default)(t,r["align".concat((0,u.capitalize)(n))],"inherit"!==n),t),s),w=f||(v?"p":d[y])||"span";return l.default.createElement(w,(0,o.default)({className:b},g))}t.styles=f,h.propTypes={},h.defaultProps={align:"inherit",color:"default",gutterBottom:!1,headlineMapping:{display4:"h1",display3:"h1",display2:"h1",display1:"h1",headline:"h1",title:"h2",subheading:"h3",body2:"aside",body1:"p"},noWrap:!1,paragraph:!1,variant:"body1"};var p=(0,s.default)(f,{name:"MuiTypography"})(h);t.default=p},"/MKj":function(e,t,n){"use strict";n.r(t),n.d(t,"Provider",(function(){return h})),n.d(t,"createProvider",(function(){return f})),n.d(t,"connectAdvanced",(function(){return E})),n.d(t,"connect",(function(){return re}));var r=n("q1tI"),o=n("17x9"),i=n.n(o),a=i.a.shape({trySubscribe:i.a.func.isRequired,tryUnsubscribe:i.a.func.isRequired,notifyNestedSubs:i.a.func.isRequired,isSubscribed:i.a.func.isRequired}),l=i.a.shape({subscribe:i.a.func.isRequired,dispatch:i.a.func.isRequired,getState:i.a.func.isRequired});function c(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}function u(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)}function f(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],o=n||t+"Subscription",f=function(e){function n(r,o){c(this,n);var i=s(this,e.call(this,r,o));return i[t]=r.store,i}return u(n,e),n.prototype.getChildContext=function(){var e;return(e={})[t]=this[t],e[o]=null,e},n.prototype.render=function(){return r.Children.only(this.props.children)},n}(r.Component);return f.propTypes={store:l.isRequired,children:i.a.element.isRequired},f.childContextTypes=((e={})[t]=l.isRequired,e[o]=a,e),f}var h=f(),p=n("dWyf"),d=n.n(p),m=n("QLaP"),v=n.n(m);var y={notify:function(){}};var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.store=t,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=y}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){var e,t;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(e=[],t=[],{clear:function(){t=null,e=null},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&null!==e&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}))},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=y)},e}(),b=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};function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(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 _(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)}function k(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var S=0,O={};function M(){}function T(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function E(e){var t,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.getDisplayName,c=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,f=o.renderCountProp,h=void 0===f?void 0:f,p=o.shouldHandleStateChanges,m=void 0===p||p,y=o.storeKey,E=void 0===y?"store":y,z=o.withRef,C=void 0!==z&&z,P=k(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=E+"Subscription",j=S++,L=((t={})[E]=l,t[A]=a,t),N=((n={})[A]=a,n);return function(t){v()("function"==typeof t,"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",o=c(n),i=b({},P,{getDisplayName:c,methodName:u,renderCountProp:h,shouldHandleStateChanges:m,storeKey:E,withRef:C,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=function(n){function a(e,t){w(this,a);var r=x(this,n.call(this,e,t));return r.version=j,r.state={},r.renderCount=0,r.store=e[E]||t[E],r.propsMode=Boolean(e[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),v()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+E+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}return _(a,n),a.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[A]=t||this.context[A],e},a.prototype.componentDidMount=function(){m&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},a.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=M,this.store=null,this.selector.run=M,this.selector.shouldComponentUpdate=!1},a.prototype.getWrappedInstance=function(){return v()(C,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},a.prototype.initSelector=function(){var t=e(this.store.dispatch,i);this.selector=T(t,this.store),this.selector.run(this.props)},a.prototype.initSubscription=function(){if(m){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new g(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(O)):this.notifyNestedSubs()},a.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.prototype.addExtraProps=function(e){if(!(C||h||this.propsMode&&this.subscription))return e;var t=b({},e);return C&&(t.ref=this.setWrappedInstance),h&&(t[h]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},a.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(r.createElement)(t,this.addExtraProps(e.props))},a}(r.Component);return a.WrappedComponent=t,a.displayName=o,a.childContextTypes=N,a.contextTypes=L,a.propTypes=L,d()(a,t)}}var z=Object.prototype.hasOwnProperty;function C(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function P(e,t){if(C(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!z.call(t,n[o])||!C(e[n[o]],t[n[o]]))return!1;return!0}var A=n("ANjH"),j=n("XqMk"),L="object"==typeof self&&self&&self.Object===Object&&self,N=(j.a||L||Function("return this")()).Symbol,H=Object.prototype;H.hasOwnProperty,H.toString,N&&N.toStringTag;Object.prototype.toString;N&&N.toStringTag;R=Object.getPrototypeOf,V=Object;var R,V;var I=Function.prototype,D=Object.prototype,F=I.toString;D.hasOwnProperty,F.call(Object);function q(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function U(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function B(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=U(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=U(o),o=r(t,n)),o},r}}var W=[function(e){return"function"==typeof e?B(e):void 0},function(e){return e?void 0:q((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?q((function(t){return Object(A.bindActionCreators)(e,t)})):void 0}];var Y=[function(e){return"function"==typeof e?B(e):void 0},function(e){return e?void 0:q((function(){return{}}))}],G=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};function K(e,t,n){return G({},n,e,t)}var X=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r=n.pure,o=n.areMergedPropsEqual,i=!1,a=void 0;return function(t,n,l){var c=e(t,n,l);return i?r&&o(c,a)||(a=c):(i=!0,a=c),a}}}(e):void 0},function(e){return e?void 0:function(){return K}}];function J(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function Z(e,t,n,r,o){var i=o.areStatesEqual,a=o.areOwnPropsEqual,l=o.areStatePropsEqual,c=!1,s=void 0,u=void 0,f=void 0,h=void 0,p=void 0;function d(o,c){var d,m,v=!a(c,u),y=!i(o,s);return s=o,u=c,v&&y?(f=e(s,u),t.dependsOnOwnProps&&(h=t(r,u)),p=n(f,h,u)):v?(e.dependsOnOwnProps&&(f=e(s,u)),t.dependsOnOwnProps&&(h=t(r,u)),p=n(f,h,u)):y?(d=e(s,u),m=!l(d,f),f=d,m&&(p=n(f,h,u)),p):p}return function(o,i){return c?d(o,i):(f=e(s=o,u=i),h=t(r,u),p=n(f,h,u),c=!0,p)}}function $(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),l=r(e,i),c=o(e,i);return(i.pure?Z:J)(a,l,c,e,i)}var 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};function ee(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function te(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function ne(e,t){return e===t}var re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?E:t,r=e.mapStateToPropsFactories,o=void 0===r?Y:r,i=e.mapDispatchToPropsFactories,a=void 0===i?W:i,l=e.mergePropsFactories,c=void 0===l?X:l,s=e.selectorFactory,u=void 0===s?$:s;return function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=i.pure,s=void 0===l||l,f=i.areStatesEqual,h=void 0===f?ne:f,p=i.areOwnPropsEqual,d=void 0===p?P:p,m=i.areStatePropsEqual,v=void 0===m?P:m,y=i.areMergedPropsEqual,g=void 0===y?P:y,b=ee(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),w=te(e,o,"mapStateToProps"),x=te(t,a,"mapDispatchToProps"),_=te(r,c,"mergeProps");return n(u,Q({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:x,initMergeProps:_,pure:s,areStatesEqual:h,areOwnPropsEqual:d,areStatePropsEqual:v,areMergedPropsEqual:g},b))}}()},"/SS/":function(e,t,n){var r=n("XKFU");r(r.S,"Object",{setPrototypeOf:n("i5dc").set})},"/Vpf":function(e,t,n){n("0Mri"),e.exports=n("g3g5").RegExp.escape},"/dDc":function(e,t,n){"use strict";var r={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},o={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},i=[],a=[];function l(e,t,n){e.addEventListener(t,n,!1)}function c(e,t,n){e.removeEventListener(t,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var e=document.createElement("div").style;function t(t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];for(var i in o)if(i in e){n.push(o[i]);break}}}"AnimationEvent"in window||(delete r.animationstart.animation,delete o.animationend.animation),"TransitionEvent"in window||(delete r.transitionstart.transition,delete o.transitionend.transition),t(r,i),t(o,a)}();var s={startEvents:i,addStartEventListener:function(e,t){0!==i.length?i.forEach((function(n){l(e,n,t)})):window.setTimeout(t,0)},removeStartEventListener:function(e,t){0!==i.length&&i.forEach((function(n){c(e,n,t)}))},endEvents:a,addEndEventListener:function(e,t){0!==a.length?a.forEach((function(n){l(e,n,t)})):window.setTimeout(t,0)},removeEndEventListener:function(e,t){0!==a.length&&a.forEach((function(n){c(e,n,t)}))}};t.a=s},"/e88":function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"/eQG":function(e,t,n){n("v5Dd");var r=n("WEpk").Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},"/h46":function(e,t,n){n("cHUd")("Map")},"/uf1":function(e,t,n){"use strict";var r=n("XKFU"),o=n("S/j/"),i=n("2OiF"),a=n("hswa");n("nh4g")&&r(r.P+n("xbSm"),"Object",{__defineSetter__:function(e,t){a.f(o(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},0:function(e,t,n){n("CEcq"),e.exports=n("tjUo")},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"04bd":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("/3gg")},"0E+W":function(e,t,n){n("elZq")("Array")},"0LDn":function(e,t,n){"use strict";n("OGtf")("italics",(function(e){return function(){return e(this,"i","","")}}))},"0Mri":function(e,t,n){var r=n("XKFU"),o=n("q9eg")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},"0YWM":function(e,t,n){var r=n("EemH"),o=n("OP3Y"),i=n("aagx"),a=n("XKFU"),l=n("0/R4"),c=n("y3w9");a(a.S,"Reflect",{get:function e(t,n){var a,s,u=arguments.length<3?t:arguments[2];return c(t)===u?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:l(s=o(t))?e(s,n,u):void 0}})},"0cfB":function(e,t,n){"use strict";e.exports=n("7B0+")},"0l/t":function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(2);r(r.P+r.F*!n("LyE8")([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},"0mN4":function(e,t,n){"use strict";n("OGtf")("fixed",(function(e){return function(){return e(this,"tt","","")}}))},"0r0h":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[];return o.default.Children.forEach(t,(function(t){null!=t&&(Array.isArray(t)?n=n.concat(e(t)):(0,i.isFragment)(t)&&t.props?n=n.concat(e(t.props.children)):n.push(t))})),n};var r,o=(r=n("q1tI"))&&r.__esModule?r:{default:r},i=n("TOwV")},"0sh+":function(e,t,n){var r=n("quPj"),o=n("vhPU");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},"0tVQ":function(e,t,n){n("FlQf"),n("VJsP"),e.exports=n("WEpk").Array.from},"11IZ":function(e,t,n){var r=n("dyZX").parseFloat,o=n("qncB").trim;e.exports=1/r(n("/e88")+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},"14Xm":function(e,t,n){e.exports=n("u938")},"16Al":function(e,t,n){"use strict";var r=n("WbBG");function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},"17x9":function(e,t,n){e.exports=n("16Al")()},"1AP1":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("a1gu")),u=r(n("W8MJ")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=r(n("i8i4")),m=(r(n("17x9")),r(n("TSYQ"))),v=n("VCL8"),y=(r(n("PV3f")),r(n("3zPy"))),g=r(n("Ed7I")),b=r(n("61Rg")),w=r(n("Bp9Y")),x=r(n("o43f")),_=r(n("xKqy")),k=r(n("VOza")),S=n("fvma"),O=r(n("d05B")),M=r(n("jvf+")),T=r(n("Nf+j"));function E(e){return!!e.children&&e.children.props.hasOwnProperty("in")}var z=function(e){return{root:{display:"flex",width:"100%",height:"100%",position:"fixed",zIndex:e.zIndex.modal,top:0,left:0},hidden:{visibility:"hidden"}}};t.styles=z;var C=function(e){function t(e,n){var r;return(0,c.default)(this,t),r=(0,s.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,n)),Object.defineProperty((0,h.default)(r),"dialogElement",{configurable:!0,enumerable:!0,writable:!0,value:null}),Object.defineProperty((0,h.default)(r),"mounted",{configurable:!0,enumerable:!0,writable:!0,value:!1}),Object.defineProperty((0,h.default)(r),"mountNode",{configurable:!0,enumerable:!0,writable:!0,value:null}),Object.defineProperty((0,h.default)(r),"handleRendered",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.autoFocus(),r.props.onRendered&&r.props.onRendered()}}),Object.defineProperty((0,h.default)(r),"handleOpen",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=(0,x.default)(r.mountNode),t=function(e,t){return e="function"==typeof e?e():e,d.default.findDOMNode(e)||t}(r.props.container,e.body);r.props.manager.add((0,h.default)(r),t),e.addEventListener("keydown",r.handleDocumentKeyDown),e.addEventListener("focus",r.enforceFocus,!0)}}),Object.defineProperty((0,h.default)(r),"handleClose",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.props.manager.remove((0,h.default)(r));var e=(0,x.default)(r.mountNode);e.removeEventListener("keydown",r.handleDocumentKeyDown),e.removeEventListener("focus",r.enforceFocus),r.restoreLastFocus()}}),Object.defineProperty((0,h.default)(r),"handleExited",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState({exited:!0}),r.handleClose()}}),Object.defineProperty((0,h.default)(r),"handleBackdropClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){e.target===e.currentTarget&&(r.props.onBackdropClick&&r.props.onBackdropClick(e),!r.props.disableBackdropClick&&r.props.onClose&&r.props.onClose(e,"backdropClick"))}}),Object.defineProperty((0,h.default)(r),"handleDocumentKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.isTopModal()&&"esc"===(0,y.default)(e)&&(r.props.onEscapeKeyDown&&r.props.onEscapeKeyDown(e),!r.props.disableEscapeKeyDown&&r.props.onClose&&r.props.onClose(e,"escapeKeyDown"))}}),Object.defineProperty((0,h.default)(r),"checkForFocus",{configurable:!0,enumerable:!0,writable:!0,value:function(){w.default&&(r.lastFocus=(0,g.default)())}}),Object.defineProperty((0,h.default)(r),"enforceFocus",{configurable:!0,enumerable:!0,writable:!0,value:function(){if(!r.props.disableEnforceFocus&&r.mounted&&r.isTopModal()){var e=(0,g.default)((0,x.default)(r.mountNode));r.dialogElement&&!(0,b.default)(r.dialogElement,e)&&r.dialogElement.focus()}}}),r.state={exited:!r.props.open},r}return(0,f.default)(t,e),(0,u.default)(t,null,[{key:"getDerivedStateFromProps",value:function(e){return e.open?{exited:!1}:E(e)?null:{exited:!0}}}]),(0,u.default)(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.props.open&&this.handleOpen()}},{key:"componentDidUpdate",value:function(e){!e.open&&this.props.open&&this.checkForFocus(),!e.open||this.props.open||E(this.props)?!e.open&&this.props.open&&this.handleOpen():this.handleClose()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,(this.props.open||E(this.props)&&!this.state.exited)&&this.handleClose()}},{key:"autoFocus",value:function(){if(!this.props.disableAutoFocus){var e=(0,g.default)((0,x.default)(this.mountNode));this.dialogElement&&!(0,b.default)(this.dialogElement,e)&&(this.lastFocus=e,this.dialogElement.hasAttribute("tabIndex")||this.dialogElement.setAttribute("tabIndex",-1),this.dialogElement.focus())}}},{key:"restoreLastFocus",value:function(){this.props.disableRestoreFocus||this.lastFocus&&(this.lastFocus.focus&&this.lastFocus.focus(),this.lastFocus=null)}},{key:"isTopModal",value:function(){return this.props.manager.isTopModal(this)}},{key:"render",value:function(){var e=this,t=this.props,n=t.BackdropComponent,r=t.BackdropProps,l=t.children,c=t.classes,s=t.className,u=t.container,f=(t.disableAutoFocus,t.disableBackdropClick,t.disableEnforceFocus,t.disableEscapeKeyDown,t.disableRestoreFocus,t.hideBackdrop),h=t.keepMounted,d=(t.onBackdropClick,t.onClose,t.onEscapeKeyDown,t.onRendered,t.open),v=(t.manager,(0,a.default)(t,["BackdropComponent","BackdropProps","children","classes","className","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disableRestoreFocus","hideBackdrop","keepMounted","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open","manager"])),y=this.state.exited,g=E(this.props),b={};return h||d||g&&!y?(g&&(b.onExited=(0,S.createChainedFunction)(this.handleExited,l.props.onExited)),void 0===l.props.role&&(b.role=l.props.role||"document"),void 0===l.props.tabIndex&&(b.tabIndex=l.props.tabIndex||"-1"),p.default.createElement(k.default,{ref:function(t){e.mountNode=t?t.getMountNode():t},container:u,onRendered:this.handleRendered},p.default.createElement("div",(0,o.default)({className:(0,m.default)(c.root,s,(0,i.default)({},c.hidden,y))},v),f?null:p.default.createElement(n,(0,o.default)({open:d,onClick:this.handleBackdropClick},r)),p.default.createElement(_.default,{rootRef:function(t){e.dialogElement=t}},p.default.cloneElement(l,b))))):null}}]),t}(p.default.Component);C.propTypes={},C.defaultProps={disableAutoFocus:!1,disableBackdropClick:!1,disableEnforceFocus:!1,disableEscapeKeyDown:!1,disableRestoreFocus:!1,hideBackdrop:!1,keepMounted:!1,manager:new M.default,BackdropComponent:T.default};var P=(0,O.default)(z,{flip:!1,name:"MuiModal"})((0,v.polyfill)(C));t.default=P},"1MBn":function(e,t,n){var r=n("DVgA"),o=n("JiEa"),i=n("UqcF");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),c=i.f,s=0;l.length>s;)c.call(e,a=l[s++])&&t.push(a);return t}},"1QMK":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=n("rnH8"),a=(r=i)&&r.__esModule?r:{default:r};var l={subject_info:{},other_info:[],total_count:0,total:{},params:{sort_by:"",sort_direction:"",limit:20,page:1,type:"subject_info"}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1],n=t.payload,r=void 0===n?{}:n,i=t.type,c=r.subject_info,s=r.other_info,u=void 0===s?[]:s,f=r.total,h=void 0===f?{}:f,p=r.total_count;switch(i){case a.default.GET_STATIC_INFO:return o({},e,{subject_info:c,other_info:u,total:h,total_count:p});case a.default.CHANGE_STATIC_PARAMS:return o({},e,{params:Object.assign({},e.params,r)});case a.default.CHANGE_STATIC_TOTAL:return o({},e,{other_info:[],total:{}});default:return e}}},"1QNo":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(){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"),l=(r=a)&&r.__esModule?r:{default:r},c=n("eO8H");function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f={blue:"blueFull",greyBack:"greyBack",grey:"greyWidthFixed",green:"greenBack",greyLine:"greyLine",orangeLine:"orangeLine",colorBlue:"colorBlue"},h=function(e){function t(){return s(this,t),u(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),i(t,[{key:"render",value:function(){var e=this.props,t=e.to,n=e.children,r=e.style,i=(e.className,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","children","style","className"]));return l.default.createElement(l.default.Fragment,null,void 0===t?l.default.createElement("a",o({onClick:this.props.onClick},i,{className:"Actionbtn "+f[r||"blue"]+" "+this.props.className}),n):l.default.createElement(c.Link,o({to:t,className:"btn "+f[this.props.style]+" "+this.props.className},i),this.props.children))}}]),t}(a.Component);t.default=h},"1TsA":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"1V9r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.renderable=t,e.rules&&t.cssRules&&e.rules.link(t.cssRules)}},"1Vz1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("f2ih"),i=(r=o)&&r.__esModule?r:{default:r};t.default=new i.default},"1sa7":function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"1thW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("TeRw")),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}}();t.CNotificationHOC=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return function(t){function n(e){u(this,n);var t=f(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.showNotification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"提示";arguments[2];r.default.open({message:t,description:e,style:{zIndex:99999999}})},t.bytesToSize=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]},t.configNotification=function(e){e&&r.default.config({placement:e})},t.getNowFormatDates=function(e,t){var n,r=new Date,o=0;n=1===e?r.getMonth()+1:2===e?r.getMonth()+2:r.getMonth()+3;var i=r.getDate();n>=1&&n<=9&&(n="0"+n),i>=0&&i<=9&&(i="0"+i);var a=r.getMinutes();1===e?a>=0&&a<=9&&(a="0"+a):a>=0&&(a="00",o=1);var l=r.getHours()+o;return 1===t?r.getFullYear()+"-"+n+"-"+i+" 00:00":1===e?r.getFullYear()+"-"+n+"-"+i+" "+r.getHours()+":"+a:r.getFullYear()+"-"+n+"-"+i+" "+l+":"+a},t.confirm=function(e){var n=e.title,r=e.content,o=e.subContent,i=e.onOk,a=e.onCancel,l=e.okText;t.onCancel=a,t.onOk=i,t.okText=l||"确定",t.setState({title:n,content:r,subContent:o,dialogOpen:!0})},t.onDialogOkBtnClick=function(){t.onOk&&t.onOk(),t.setState({dialogOpen:!1}),t.onCancel=null,t.onOk=null},t.handleDialogClose=function(){t.onCancel&&t.onCancel(),t.setState({dialogOpen:!1}),t.onCancel=null,t.onOk=null},t.define=function(e){var n=e.title,r=e.content;t.setState({title:n,content:r,defineOpen:!0})},t.onDialogdefineOkBtnClick=function(){t.onCancel&&t.onCancel(),t.setState({defineOpen:!1}),t.onCancel=null,t.onOk=null},r.default.config({duration:3}),t.state={dialogOpen:!1,defineOpen:!1},t}return h(n,t),i(n,[{key:"render",value:function(){var t=this,n=this.state,r=(n.snackbarOpen,n.snackbarText,n.snackbarHorizontal,n.snackbarVertical,n.dialogOpen),i=n.content,a=n.subContent,s=n.defineOpen;return l.default.createElement(l.default.Fragment,null,l.default.createElement("style",null,"\n .confirmModal .task-popup-content {\n padding: 0px;\n }\n "),l.default.createElement(c.default,{className:"confirmModal",modalsType:r,modalsTopval:i,modalsBottomval:a||"",modalCancel:this.handleDialogClose,modalSave:this.onDialogOkBtnClick,okText:this.okText}),l.default.createElement(c.default,{modalsType:s,modalsTopval:i,loadtype:!0,modalsBottomval:"",modalCancel:void 0,modalSave:this.onDialogdefineOkBtnClick}),l.default.createElement(e,o({},this.props,{showNotification:this.showNotification,bytesToSize:this.bytesToSize,getNowFormatDates:function(e,n){return t.getNowFormatDates(e,n)},configNotification:this.configNotification,confirm:this.confirm,define:this.define})))}}]),n}(a.Component)}},n("O+I2");var a=n("q1tI"),l=s(a),c=s(n("QYFm"));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 f(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 h(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)}},"1v76":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(){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("FLEz"),l=(r=a)&&r.__esModule?r:{default:r};var c=function(){function e(t,n,r){for(var i in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=r,this.rules=new l.default(o({},r,{parent:this})),n)this.rules.add(i,n[i],o({},this.options,{parent:this,selector:i}));this.rules.process()}return i(e,[{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{indent:1},t=this.rules.toString(e);return t&&(t+="\n"),this.key+" {\n"+t+"}"}}]),e}();t.default=c},"1vPl":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("RXDR"),n("L/Qf")},"2/Rp":function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("17x9"),i=n("TSYQ"),a=n.n(i),l=n("VCL8"),c=n("BGR+"),s=n("CtXQ"),u=n("H84U"),f=n("g0mS"),h=n("CWQg");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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==w(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(){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 b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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)}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},_=/^[\u4e00-\u9fa5]{2}$/,k=_.test.bind(_);function S(e,t){var n=!1,o=[];return r.Children.forEach(e,(function(e){var t=w(e),r="string"===t||"number"===t;if(n&&r){var i=o.length-1,a=o[i];o[i]="".concat(a).concat(e)}else o.push(e);n=r})),r.Children.map(o,(function(e){return function(e,t){if(null!=e){var n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&"string"==typeof e.type&&k(e.props.children)?r.cloneElement(e,{},e.props.children.split("").join(n)):"string"==typeof e?(k(e)&&(e=e.split("").join(n)),r.createElement("span",null,e)):e}}(e,t)}))}Object(h.a)("default","primary","ghost","dashed","danger","link");var O=Object(h.a)("circle","circle-outline","round"),M=Object(h.a)("large","default","small"),T=Object(h.a)("submit","button","reset"),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&&v(e,t)}(h,e);var t,n,o,i,l=(t=h,function(){var e,n=b(t);if(g()){var r=b(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return y(this,e)});function h(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),(t=l.call(this,e)).saveButtonRef=function(e){t.buttonNode=e},t.handleClick=function(e){var n=t.state.loading,r=t.props.onClick;n||r&&r(e)},t.renderButton=function(e){var n,o=e.getPrefixCls,i=e.autoInsertSpaceInButton,l=t.props,u=l.prefixCls,h=l.type,m=l.shape,v=l.size,y=l.className,g=l.children,b=l.icon,w=l.ghost,_=l.block,k=x(l,["prefixCls","type","shape","size","className","children","icon","ghost","block"]),O=t.state,M=O.loading,T=O.hasTwoCNChar,E=o("btn",u),z=!1!==i,C="";switch(v){case"large":C="lg";break;case"small":C="sm"}var P=M?"loading":b,A=a()(E,y,(d(n={},"".concat(E,"-").concat(h),h),d(n,"".concat(E,"-").concat(m),m),d(n,"".concat(E,"-").concat(C),C),d(n,"".concat(E,"-icon-only"),!g&&0!==g&&P),d(n,"".concat(E,"-loading"),!!M),d(n,"".concat(E,"-background-ghost"),w),d(n,"".concat(E,"-two-chinese-chars"),T&&z),d(n,"".concat(E,"-block"),_),n)),j=P?r.createElement(s.default,{type:P}):null,L=g||0===g?S(g,t.isNeedInserted()&&z):null,N=Object(c.a)(k,["htmlType","loading"]);if(void 0!==N.href)return r.createElement("a",p({},N,{className:A,onClick:t.handleClick,ref:t.saveButtonRef}),j,L);var H=k,R=H.htmlType,V=x(H,["htmlType"]),I=r.createElement("button",p({},Object(c.a)(V,["loading"]),{type:R,className:A,onClick:t.handleClick,ref:t.saveButtonRef}),j,L);return"link"===h?I:r.createElement(f.a,null,I)},t.state={loading:e.loading,hasTwoCNChar:!1},t}return n=h,(o=[{key:"componentDidMount",value:function(){this.fixTwoCNChar()}},{key:"componentDidUpdate",value:function(e){var t=this;this.fixTwoCNChar(),e.loading&&"boolean"!=typeof e.loading&&clearTimeout(this.delayTimeout);var n=this.props.loading;n&&"boolean"!=typeof n&&n.delay?this.delayTimeout=window.setTimeout((function(){t.setState({loading:n})}),n.delay):e.loading!==n&&this.setState({loading:n})}},{key:"componentWillUnmount",value:function(){this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"fixTwoCNChar",value:function(){if(this.buttonNode){var e=this.buttonNode.textContent;this.isNeedInserted()&&k(e)?this.state.hasTwoCNChar||this.setState({hasTwoCNChar:!0}):this.state.hasTwoCNChar&&this.setState({hasTwoCNChar:!1})}}},{key:"isNeedInserted",value:function(){var e=this.props,t=e.icon,n=e.children,o=e.type;return 1===r.Children.count(n)&&!t&&"link"!==o}},{key:"render",value:function(){return r.createElement(u.a,null,this.renderButton)}}])&&m(n.prototype,o),i&&m(n,i),h}(r.Component);E.__ANT_BUTTON=!0,E.defaultProps={loading:!1,ghost:!1,block:!1,htmlType:"button"},E.propTypes={type:o.string,shape:o.oneOf(O),size:o.oneOf(M),htmlType:o.oneOf(T),onClick:o.func,loading:o.oneOfType([o.bool,o.object]),className:o.string,icon:o.string,block:o.bool,title:o.string},Object(l.polyfill)(E);var z=E;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)}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},A=function(e){return r.createElement(u.a,null,(function(t){var n=t.getPrefixCls,o=e.prefixCls,i=e.size,l=e.className,c=P(e,["prefixCls","size","className"]),s=n("btn-group",o),u="";switch(i){case"large":u="lg";break;case"small":u="sm"}var f,h,p,d=a()(s,(f={},h="".concat(s,"-").concat(u),p=u,h in f?Object.defineProperty(f,h,{value:p,enumerable:!0,configurable:!0,writable:!0}):f[h]=p,f),l);return r.createElement("div",C({},c,{className:d}))}))};z.Group=A;t.default=z},"201c":function(e,t,n){"use strict";(function(e){if(n("Zvmr"),n("86LW"),n("/Vpf"),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;function t(e,t,n){e[t]||Object.defineProperty(e,t,{writable:!0,configurable:!0,value:n})}t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(e){[][e]&&t(Array,e,Function.call.bind([][e]))}))}).call(this,n("yLpj"))},"23iW":function(e,t,n){e.exports=n("+SFK")},"25dN":function(e,t,n){var r=n("XKFU");r(r.S,"Object",{is:n("g6HL")})},"25qn":function(e,t,n){var r=n("XKFU");r(r.P+r.R,"Set",{toJSON:n("RLh9")("Set")})},"284h":function(e,t,n){var r=n("j1ok"),o=n("CnV9");e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=o&&r?r(e,n):{};i.get||i.set?o(t,n,i):t[n]=e[n]}return t.default=e,t}},"29s/":function(e,t,n){var r=n("WEpk"),o=n("5T2Y"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("uOPS")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"2DY1":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,"-$1").toLowerCase()};var r=/([A-Z])/g;e.exports=t.default},"2GS6":function(e,t,n){"use strict";function r(){var e=[].slice.call(arguments,0);return 1===e.length?e[0]:function(){for(var t=0;t<e.length;t++)e[t]&&e[t].apply&&e[t].apply(this,arguments)}}n.d(t,"a",(function(){return r}))},"2GTP":function(e,t,n){var r=n("eaoh");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"2MgP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"},e.exports=t.default},"2Nb0":function(e,t,n){n("FlQf"),n("bBy9"),e.exports=n("zLkG").f("iterator")},"2OiF":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"2SVd":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"2Spj":function(e,t,n){var r=n("XKFU");r(r.P,"Function",{bind:n("8MEG")})},"2W6z":function(e,t,n){"use strict";var r=function(){};e.exports=r},"2atp":function(e,t,n){var r=n("XKFU"),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},"2faE":function(e,t,n){var r=n("5K7Z"),o=n("eUtF"),i=n("G8Mo"),a=Object.defineProperty;t.f=n("jmDH")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"2mRQ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setmiyah=function(e){return(0,i.default)("79e33abd4b6588941ab7622aed1e67e8"+e)};var r,o=n("aCH8"),i=(r=o)&&r.__esModule?r:{default:r}},"2oDE":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("vRiL")},"3GJH":function(e,t,n){n("lCc8");var r=n("WEpk").Object;e.exports=function(e,t){return r.create(e,t)}},"3IUz":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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"),i=c(o),a=n("sYIF"),l=c(n("6tYh"));function c(e){return e&&e.__esModule?e:{default:e}}window.$,(0,a.getUrl2)();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.state={},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),r(t,[{key:"componentWillUnmount",value:function(){this["player"+this.props.id]&&this["player"+this.props.id].destroy()}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.source,n=(e.id,e.className,e.type);return i.default.createElement(i.default.Fragment,null,i.default.createElement(l.default,{url:t,playing:!1,controls:!0,width:400,height:"mp3"==n?55:290}))}}]),t}(o.Component);t.default=s},"3Lyj":function(e,t,n){var r=n("KroJ");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},"3S7+":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),c=n("jo6Y"),s=n.n(c),u=n("iCc5"),f=n.n(u),h=n("FYw3"),p=n.n(h),d=n("mRg0"),m=n.n(d),v=n("17x9"),y=n.n(v),g=n("uciX"),b={adjustX:1,adjustY:1},w=[0,0],x={left:{points:["cr","cl"],overflow:b,offset:[-4,0],targetOffset:w},right:{points:["cl","cr"],overflow:b,offset:[4,0],targetOffset:w},top:{points:["bc","tc"],overflow:b,offset:[0,-4],targetOffset:w},bottom:{points:["tc","bc"],overflow:b,offset:[0,4],targetOffset:w},topLeft:{points:["bl","tl"],overflow:b,offset:[0,-4],targetOffset:w},leftTop:{points:["tr","tl"],overflow:b,offset:[-4,0],targetOffset:w},topRight:{points:["br","tr"],overflow:b,offset:[0,-4],targetOffset:w},rightTop:{points:["tl","tr"],overflow:b,offset:[4,0],targetOffset:w},bottomRight:{points:["tr","br"],overflow:b,offset:[0,4],targetOffset:w},rightBottom:{points:["bl","br"],overflow:b,offset:[4,0],targetOffset:w},bottomLeft:{points:["tl","bl"],overflow:b,offset:[0,4],targetOffset:w},leftBottom:{points:["br","bl"],overflow:b,offset:[-4,0],targetOffset:w}},_=function(e){function t(){return f()(this,t),p()(this,e.apply(this,arguments))}return m()(t,e),t.prototype.componentDidUpdate=function(){var e=this.props.trigger;e&&e.forcePopupAlign()},t.prototype.render=function(){var e=this.props,t=e.overlay,n=e.prefixCls,r=e.id;return o.a.createElement("div",{className:n+"-inner",id:r,role:"tooltip"},"function"==typeof t?t():t)},t}(o.a.Component);_.propTypes={prefixCls:y.a.string,overlay:y.a.oneOfType([y.a.node,y.a.func]).isRequired,id:y.a.string,trigger:y.a.any};var k=_,S=function(e){function t(){var n,r,i;f()(this,t);for(var a=arguments.length,l=Array(a),c=0;c<a;c++)l[c]=arguments[c];return n=r=p()(this,e.call.apply(e,[this].concat(l))),r.getPopupElement=function(){var e=r.props,t=e.arrowContent,n=e.overlay,i=e.prefixCls,a=e.id;return[o.a.createElement("div",{className:i+"-arrow",key:"arrow"},t),o.a.createElement(k,{key:"content",trigger:r.trigger,prefixCls:i,id:a,overlay:n})]},r.saveTrigger=function(e){r.trigger=e},i=n,p()(r,i)}return m()(t,e),t.prototype.getPopupDomNode=function(){return this.trigger.getPopupDomNode()},t.prototype.render=function(){var e=this.props,t=e.overlayClassName,n=e.trigger,r=e.mouseEnterDelay,i=e.mouseLeaveDelay,a=e.overlayStyle,c=e.prefixCls,u=e.children,f=e.onVisibleChange,h=e.afterVisibleChange,p=e.transitionName,d=e.animation,m=e.placement,v=e.align,y=e.destroyTooltipOnHide,b=e.defaultVisible,w=e.getTooltipContainer,_=s()(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer"]),k=l()({},_);return"visible"in this.props&&(k.popupVisible=this.props.visible),o.a.createElement(g.a,l()({popupClassName:t,ref:this.saveTrigger,prefixCls:c,popup:this.getPopupElement,action:n,builtinPlacements:x,popupPlacement:m,popupAlign:v,getPopupContainer:w,onPopupVisibleChange:f,afterPopupVisibleChange:h,popupTransitionName:p,popupAnimation:d,defaultPopupVisible:b,destroyPopupOnHide:y,mouseLeaveDelay:i,popupStyle:a,mouseEnterDelay:r},k),u)},t}(r.Component);S.propTypes={trigger:y.a.any,children:y.a.any,defaultVisible:y.a.bool,visible:y.a.bool,placement:y.a.string,transitionName:y.a.oneOfType([y.a.string,y.a.object]),animation:y.a.any,onVisibleChange:y.a.func,afterVisibleChange:y.a.func,overlay:y.a.oneOfType([y.a.node,y.a.func]).isRequired,overlayStyle:y.a.object,overlayClassName:y.a.string,prefixCls:y.a.string,mouseEnterDelay:y.a.number,mouseLeaveDelay:y.a.number,getTooltipContainer:y.a.func,destroyTooltipOnHide:y.a.bool,align:y.a.object,arrowContent:y.a.any,id:y.a.string},S.defaultProps={prefixCls:"rc-tooltip",mouseEnterDelay:0,destroyTooltipOnHide:!1,mouseLeaveDelay:.1,align:{},placement:"right",trigger:["hover"],arrowContent:null};var O=S,M=n("TSYQ"),T=n.n(M);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 z={adjustX:1,adjustY:1},C={adjustX:0,adjustY:0},P=[0,0];function A(e){return"boolean"==typeof e?e?z:C:E(E({},C),e)}var j=n("H84U");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)}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 H(e,t){return(H=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(e,t){return!t||"object"!==L(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 I(){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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(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 q(e){var t=e.type;if((!0===t.__ANT_BUTTON||!0===t.__ANT_SWITCH||!0===t.__ANT_CHECKBOX||"button"===e.type)&&e.props.disabled){var n=function(e,t){var n={},r=F({},e);return t.forEach((function(t){e&&t in e&&(n[t]=e[t],delete r[t])})),{picked:n,omitted:r}}(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),o=n.picked,i=n.omitted,a=F(F({display:"inline-block"},o),{cursor:"not-allowed",width:e.props.block?"100%":null}),l=F(F({},i),{pointerEvents:"none"}),c=r.cloneElement(e,{style:l,className:null});return r.createElement("span",{style:a,className:e.props.className},c)}return 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&&H(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=D(t);if(I()){var r=D(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return R(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).onVisibleChange=function(e){var n=t.props.onVisibleChange;"visible"in t.props||t.setState({visible:!t.isNoTitle()&&e}),n&&!t.isNoTitle()&&n(e)},t.saveTooltip=function(e){t.tooltip=e},t.onPopupAlign=function(e,n){var r=t.getPlacements(),o=Object.keys(r).filter((function(e){return r[e].points[0]===n.points[0]&&r[e].points[1]===n.points[1]}))[0];if(o){var i=e.getBoundingClientRect(),a={top:"50%",left:"50%"};o.indexOf("top")>=0||o.indexOf("Bottom")>=0?a.top="".concat(i.height-n.offset[1],"px"):(o.indexOf("Top")>=0||o.indexOf("bottom")>=0)&&(a.top="".concat(-n.offset[1],"px")),o.indexOf("left")>=0||o.indexOf("Right")>=0?a.left="".concat(i.width-n.offset[0],"px"):(o.indexOf("right")>=0||o.indexOf("Left")>=0)&&(a.left="".concat(-n.offset[0],"px")),e.style.transformOrigin="".concat(a.left," ").concat(a.top)}},t.renderTooltip=function(e){var n=e.getPopupContainer,o=e.getPrefixCls,i=V(t),a=i.props,l=i.state,c=a.prefixCls,s=a.openClassName,u=a.getPopupContainer,f=a.getTooltipContainer,h=a.children,p=o("tooltip",c),d=l.visible;!("visible"in a)&&t.isNoTitle()&&(d=!1);var m,v,y,g=q(r.isValidElement(h)?h:r.createElement("span",null,h)),b=g.props,w=T()(b.className,(m={},v=s||"".concat(p,"-open"),y=!0,v in m?Object.defineProperty(m,v,{value:y,enumerable:!0,configurable:!0,writable:!0}):m[v]=y,m));return r.createElement(O,F({},t.props,{prefixCls:p,getTooltipContainer:u||f||n,ref:t.saveTooltip,builtinPlacements:t.getPlacements(),overlay:t.getOverlay(),visible:d,onVisibleChange:t.onVisibleChange,onPopupAlign:t.onPopupAlign}),d?r.cloneElement(g,{className:w}):g)},t.state={visible:!!e.visible||!!e.defaultVisible},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e){return"visible"in e?{visible:e.visible}:null}}],(o=[{key:"getPopupDomNode",value:function(){return this.tooltip.getPopupDomNode()}},{key:"getPlacements",value:function(){var e=this.props,t=e.builtinPlacements,n=e.arrowPointAtCenter,r=e.autoAdjustOverflow;return t||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.arrowWidth,n=void 0===t?5:t,r=e.horizontalArrowShift,o=void 0===r?16:r,i=e.verticalArrowShift,a=void 0===i?12:i,l=e.autoAdjustOverflow,c=void 0===l||l,s={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(o+n),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(a+n)]},topRight:{points:["br","tc"],offset:[o+n,-4]},rightTop:{points:["tl","cr"],offset:[4,-(a+n)]},bottomRight:{points:["tr","bc"],offset:[o+n,4]},rightBottom:{points:["bl","cr"],offset:[4,a+n]},bottomLeft:{points:["tl","bc"],offset:[-(o+n),4]},leftBottom:{points:["br","cl"],offset:[-4,a+n]}};return Object.keys(s).forEach((function(t){s[t]=e.arrowPointAtCenter?E(E({},s[t]),{overflow:A(c),targetOffset:P}):E(E({},x[t]),{overflow:A(c)}),s[t].ignoreShake=!0})),s}({arrowPointAtCenter:n,verticalArrowShift:8,autoAdjustOverflow:r})}},{key:"isNoTitle",value:function(){var e=this.props,t=e.title,n=e.overlay;return!t&&!n&&0!==t}},{key:"getOverlay",value:function(){var e=this.props,t=e.title,n=e.overlay;return 0===t?t:n||t||""}},{key:"render",value:function(){return r.createElement(j.a,null,this.renderTooltip)}}])&&N(n.prototype,o),i&&N(n,i),l}(r.Component);U.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0},Object(i.polyfill)(U);t.default=U},"3SYV":function(e,t,n){"use strict";e.exports=function(){}},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"3WiY":function(e,t,n){var r=n("Y7ZC");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"3YpW":function(e,t,n){n("KOQb")("Set")},"3x3+":function(e,t,n){"use strict";var r=n("61s2");t.a=r.a},"3xty":function(e,t,n){var r=n("XKFU"),o=n("2OiF"),i=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,l=Function.apply;r(r.S+r.F*!n("eeVq")((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=o(e),c=i(n);return a?a(r,t,c):l.call(r,t,c)}})},"3zPy":function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var l in o)r[l]=o[l]},"40dm":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("TSYQ"))),m=r(n("S3Uj")),v=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(0,u.default)(r,(n=r=(0,u.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),Object.defineProperty((0,h.default)(r),"state",{configurable:!0,enumerable:!0,writable:!0,value:{visible:!1,leaving:!1}}),Object.defineProperty((0,h.default)(r),"handleEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState({visible:!0})}}),Object.defineProperty((0,h.default)(r),"handleExit",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState({leaving:!0})}}),n))}return(0,f.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.classes,l=n.className,c=n.pulsate,s=n.rippleX,u=n.rippleY,f=n.rippleSize,h=(0,a.default)(n,["classes","className","pulsate","rippleX","rippleY","rippleSize"]),v=this.state,y=v.visible,g=v.leaving,b=(0,d.default)(r.ripple,(e={},(0,i.default)(e,r.rippleVisible,y),(0,i.default)(e,r.ripplePulsate,c),e),l),w={width:f,height:f,top:-f/2+u,left:-f/2+s},x=(0,d.default)(r.child,(t={},(0,i.default)(t,r.childLeaving,g),(0,i.default)(t,r.childPulsate,c),t));return p.default.createElement(m.default,(0,o.default)({onEnter:this.handleEnter,onExit:this.handleExit},h),p.default.createElement("span",{className:b,style:w},p.default.createElement("span",{className:x})))}}]),t}(p.default.Component);v.propTypes={},v.defaultProps={pulsate:!1};var y=v;t.default=y},"45Tv":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,l=r.get,c=r.key,s=function(e,t,n){if(a(e,t,n))return l(e,t,n);var r=i(t);return null!==r?s(e,r,n):void 0};r.exp({getMetadata:function(e,t){return s(e,o(t),arguments.length<3?void 0:c(arguments[2]))}})},"49D4":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},"49sm":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"4IlW":function(e,t,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.a=r},"4LiD":function(e,t,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),l=n("Z6vF"),c=n("SlkY"),s=n("9gX7"),u=n("0/R4"),f=n("eeVq"),h=n("XMVh"),p=n("fyDq"),d=n("Xbzi");e.exports=function(e,t,n,m,v,y){var g=r[e],b=g,w=v?"set":"add",x=b&&b.prototype,_={},k=function(e){var t=x[e];i(x,e,"delete"==e||"has"==e?function(e){return!(y&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return y&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(y||x.forEach&&!f((function(){(new b).entries().next()})))){var S=new b,O=S[w](y?{}:-0,1)!=S,M=f((function(){S.has(1)})),T=h((function(e){new b(e)})),E=!y&&f((function(){for(var e=new b,t=5;t--;)e[w](t,t);return!e.has(-0)}));T||((b=t((function(t,n){s(t,b,e);var r=d(new g,t,b);return null!=n&&c(n,v,r[w],r),r}))).prototype=x,x.constructor=b),(M||E)&&(k("delete"),k("has"),v&&k("get")),(E||O)&&k(w),y&&x.clear&&delete x.clear}else b=m.getConstructor(t,e,v,w),a(b.prototype,n),l.NEED=!0;return p(b,e),_[e]=b,o(o.G+o.W+o.F*(b!=g),_),y||m.setStrong(b,e,v),b}},"4MG8":function(e,t,n){const r=n("T9Ld"),o=n("66f7"),i=n("T7TJ"),a=n("SbYC"),l=n("+/fp"),c=n("J7Ao"),{merge:s,checkSanitizeDeprecation:u,escape:f}=n("rUJ1"),{getDefaults:h,changeDefaults:p,defaults:d}=n("vbtb");function m(e,t,n){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),t=s({},m.defaults,t||{}),u(t);const i=t.highlight;let a,l,c=0;try{a=r.lex(e,t)}catch(e){return n(e)}l=a.length;const f=function(e){if(e)return t.highlight=i,n(e);let r;try{r=o.parse(a,t)}catch(t){e=t}return t.highlight=i,e?n(e):n(null,r)};if(!i||i.length<3)return f();if(delete t.highlight,!l)return f();for(;c<a.length;c++)!function(e){"code"!==e.type?--l||f():i(e.text,e.lang,(function(t,n){return t?f(t):null==n||n===e.text?--l||f():(e.text=n,e.escaped=!0,void(--l||f()))}))}(a[c])}else try{return t=s({},m.defaults,t||{}),u(t),o.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||m.defaults).silent)return"<p>An error occurred:</p><pre>"+f(e.message+"",!0)+"</pre>";throw e}}m.options=m.setOptions=function(e){return s(m.defaults,e),p(m.defaults),m},m.getDefaults=h,m.defaults=d,m.use=function(e){const t=s({},e);if(e.renderer){const n=m.defaults.renderer||new a;for(const t in e.renderer){const r=n[t];n[t]=(...o)=>{let i=e.renderer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.renderer=n}if(e.tokenizer){const n=m.defaults.tokenizer||new i;for(const t in e.tokenizer){const r=n[t];n[t]=(...o)=>{let i=e.tokenizer[t].apply(n,o);return!1===i&&(i=r.apply(n,o)),i}}t.tokenizer=n}m.setOptions(t)},m.Parser=o,m.parser=o.parse,m.Renderer=a,m.TextRenderer=l,m.Lexer=r,m.lexer=r.lex,m.Tokenizer=i,m.Slugger=c,m.parse=m,e.exports=m},"4R4u":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4p7I":function(e,t,n){"use strict";var r=n("2W6z"),o=n.n(r),i=n("QLaP"),a=n.n(i),l=n("q1tI"),c=n.n(l),s=n("17x9"),u=n.n(s),f=n("SsKX"),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};function p(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}var m=function(e){return 0===c.a.Children.count(e)},v=function(e){function t(){var n,r;p(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=d(this,e.call.apply(e,[this].concat(i))),r.state={match:r.computeMatch(r.props,r.context.router)},d(r,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),t.prototype.getChildContext=function(){return{router:h({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,i=e.strict,l=e.exact,c=e.sensitive;if(n)return n;a()(t,"You should not use <Route> or withRouter() outside a <Router>");var s=t.route,u=(r||s.location).pathname;return Object(f.a)(u,{path:o,strict:i,exact:l,sensitive:c},s.match)},t.prototype.componentWillMount=function(){o()(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),o()(!(this.props.component&&this.props.children&&!m(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),o()(!(this.props.render&&this.props.children&&!m(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){o()(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),o()(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function(){var e=this.state.match,t=this.props,n=t.children,r=t.component,o=t.render,i=this.context.router,a=i.history,l=i.route,s=i.staticContext,u={match:e,location:this.props.location||l.location,history:a,staticContext:s};return r?e?c.a.createElement(r,u):null:o?e?o(u):null:"function"==typeof n?n(u):n&&!m(n)?c.a.Children.only(n):null},t}(c.a.Component);v.propTypes={computedMatch:u.a.object,path:u.a.string,exact:u.a.bool,strict:u.a.bool,sensitive:u.a.bool,component:u.a.func,render:u.a.func,children:u.a.oneOfType([u.a.func,u.a.node]),location:u.a.object},v.contextTypes={router:u.a.shape({history:u.a.object.isRequired,route:u.a.object.isRequired,staticContext:u.a.object})},v.childContextTypes={router:u.a.object.isRequired},t.a=v},"4piT":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("cWOT")),i=r(n("lwsE")),a=r(n("W8MJ")),l=r(n("a1gu")),c=r(n("7W2i")),s=r(n("PJYZ")),u=r(n("q1tI")),f=r(n("i8i4")),h=(r(n("17x9")),r(n("o43f")));r(n("i4o0"));var p=function(e){function t(){var e,n,r;(0,i.default)(this,t);for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];return(0,l.default)(r,(n=r=(0,l.default)(this,(e=t.__proto__||(0,o.default)(t)).call.apply(e,[this].concat(c))),Object.defineProperty((0,s.default)(r),"getMountNode",{configurable:!0,enumerable:!0,writable:!0,value:function(){return r.mountNode}}),n))}return(0,c.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){this.setContainer(this.props.container),this.forceUpdate(this.props.onRendered)}},{key:"componentDidUpdate",value:function(e){e.container!==this.props.container&&(this.setContainer(this.props.container),this.forceUpdate())}},{key:"componentWillUnmount",value:function(){this.mountNode=null}},{key:"setContainer",value:function(e){var t;this.mountNode=function(e,t){return e="function"==typeof e?e():e,f.default.findDOMNode(e)||t}(e,(t=this,(0,h.default)(f.default.findDOMNode(t))).body)}},{key:"render",value:function(){var e=this.props.children;return this.mountNode?f.default.createPortal(e,this.mountNode):null}}]),t}(u.default.Component);p.propTypes={},p.propTypes={};var d=p;t.default=d},"4qVG":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("MVZn")),i=r(n("QILm")),a=r(n("WNwX")),l=(r(n("PV3f")),r(n("v2ss"))),c=r(n("V6o9")),s=r(n("IS4+")),u=r(n("lVhQ")),f=r(n("fIjb")),h=r(n("8jD+")),p=r(n("VmZb")),d=r(n("RGTs"));var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.palette,n=void 0===t?{}:t,r=e.breakpoints,m=void 0===r?{}:r,v=e.mixins,y=void 0===v?{}:v,g=e.typography,b=void 0===g?{}:g,w=e.shadows,x=(0,i.default)(e,["palette","breakpoints","mixins","typography","shadows"]),_=(0,s.default)(n),k=(0,c.default)(m),S=(0,o.default)({breakpoints:k,direction:"ltr",mixins:(0,u.default)(k,d.default,y),overrides:{},palette:_,props:{},shadows:w||f.default,typography:(0,l.default)(_,b)},(0,a.default)({transitions:h.default,spacing:d.default,zIndex:p.default},x));return S};t.default=m},"5Cgt":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Mixcloud=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();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("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}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 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 u(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 h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var g=/mixcloud\.com\/([^/]+\/[^/]+)/,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&&v(e,t)}(c,e);var t,n,r,a,l=(t=c,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function c(){var e;u(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(p(e=l.call.apply(l,[this].concat(n))),"callPlayer",i.callPlayer),y(p(e),"duration",null),y(p(e),"currentTime",null),y(p(e),"secondsLoaded",null),y(p(e),"mute",(function(){})),y(p(e),"unmute",(function(){})),y(p(e),"ref",(function(t){e.iframe=t})),e}return n=c,(r=[{key:"load",value:function(e){var t=this;(0,i.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then((function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then((function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on((function(e,n){t.currentTime=e,t.duration=n})),t.props.onReady()}))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,r=t.match(g)[1],a=(0,i.queryString)(function(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){y(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}({},n.mixcloud.options,{feed:"/".concat(r,"/")}));return o.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(a),frameBorder:"0"})}}])&&f(n.prototype,r),a&&f(n,a),c}(o.Component);t.Mixcloud=b,y(b,"displayName","Mixcloud"),y(b,"canPlay",(function(e){return g.test(e)})),y(b,"loopOnEnded",!0);var w=(0,a.default)(b);t.default=w},"5JA+":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o,i=n("17x9"),a=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("E+au")),l=n("5Q5+"),c=(o=l)&&o.__esModule?o:{default:o};function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.default=(s(r={},a.jss,c.default.jss),s(r,a.sheetOptions,i.object),s(r,a.sheetsRegistry,c.default.registry),s(r,a.managers,i.object),r)},"5K7Z":function(e,t,n){var r=n("93I4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},"5Pf0":function(e,t,n){var r=n("S/j/"),o=n("OP3Y");n("Xtr8")("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},"5Q5+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("17x9");t.default={jss:(0,r.shape)({options:(0,r.shape)({createGenerateClassName:r.func.isRequired}).isRequired,createStyleSheet:r.func.isRequired,removeStyleSheet:r.func.isRequired}),registry:(0,r.shape)({add:r.func.isRequired,toString:r.func.isRequired})}},"5T2Y":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"5fYu":function(e,t,n){"use strict";t.__esModule=!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.replaceUrlQuery=d,t.pushUrlQuery=m,t.replaceInUrlQuery=v,t.pushInUrlQuery=y,t.multiReplaceInUrlQuery=g,t.multiPushInUrlQuery=b,t.updateUrlQuerySingle=function(){var e=arguments.length<=0||void 0===arguments[0]?a.default.replaceIn:arguments[0],t=arguments[1],n=arguments[2],r=arguments[3];if(e===a.default.replaceIn)return v(t,n,r);if(e===a.default.pushIn)return y(t,n,r);var o=c({},t,n);if(e===a.default.replace)return d(o,r);if(e===a.default.push)return m(o,r);return},t.updateUrlQueryMulti=function(){var e=arguments.length<=0||void 0===arguments[0]?a.default.replaceIn:arguments[0],t=arguments[1],n=arguments[2];if(e===a.default.replaceIn)return g(t,n);if(e===a.default.pushIn)return b(t,n);if(e===a.default.replace)return d(t,n);if(e===a.default.push)return m(t,n);return};var o=n("cr+I"),i=l(n("Lusz")),a=l(n("pAdL"));function l(e){return e&&e.__esModule?e:{default:e}}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 s(e){if(e)return e;var t=i.default.history;return t.location?t.location:window.location}function u(e,t){if(e.query)return r({},e,{query:t,search:void 0});var n=(0,o.stringify)(t);return r({},e,{search:n.length?"?"+n:void 0})}function f(e,t){var n=u(t=s(t),Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&""!==r&&(t[n]=r),t}),{}));return delete n.key,n}function h(e,t,n){var i=(n=s(n)).query||(0,o.parse)(n.search),a=r({},i,c({},e,t));null!=t&&""!==t||delete a[e];var l=u(n,a);return delete l.key,l}function p(e,t){var n=(t=s(t)).query||(0,o.parse)(t.search),i=r({},n,e);Object.keys(e).forEach((function(t){var n=e[t];null!=n&&""!==n||delete i[t]}));var a=u(t,i);return delete a.key,a}function d(e,t){var n=f(e,t);return i.default.history.replace(n)}function m(e,t){var n=f(e,t);return i.default.history.push(n)}function v(e,t,n){var r=h(e,t,n);return i.default.history.replace(r)}function y(e,t,n){var r=h(e,t,n);return i.default.history.push(r)}function g(e,t){var n=p(e,t);return i.default.history.replace(n)}function b(e,t){var n=p(e,t);return i.default.history.push(n)}},"5mQ4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCollpaseTsetCase=t.showOrHideTpiTestCase=void 0;var r,o=n("rnH8"),i=(r=o)&&r.__esModule?r:{default:r};t.showOrHideTpiTestCase=function(e){return{type:i.default.SHOW_OR_HIDE_TPI_TEST_CASE,payload:e}},t.isCollpaseTsetCase=function(e){return{type:i.default.IS_COLLAPSE_TEST_CASE,payload:e}}},"5nXd":function(e,t,n){var r=n("MFOe"),o=r.slice,i=r.pluck,a=r.each,l=r.bind,c=r.create,s=r.isList,u=r.isFunction,f=r.isObject;e.exports={createStore:p};var h={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return p.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return p(this.storage,this.plugins,e)}};function p(e,t,n){n||(n=""),e&&!s(e)&&(e=[e]),t&&!s(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",p=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var d=c({_namespacePrefix:r,_namespaceRegexp:p,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(e){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),r=this;function i(){if(n)return a(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var l=[i].concat(t);return e.apply(r,l)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(t){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(s(e))a(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!u(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");a(n,(function(n,r){if(!u(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){var t=e.warn?e.warn:e.log;t.apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},h,{plugins:[]});return d.raw={},a(d,(function(e,t){u(e)&&(d.raw[t]=l(d,e))})),a(e,(function(e){d._addStorage(e)})),a(t,(function(e){d._addPlugin(e)})),d}},"5oMp":function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"5rEg":function(e,t,n){"use strict";n.r(t);var r=n("mh/l"),o=n("q1tI"),i=n("TSYQ"),a=n.n(i),l=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}var s=function(e){return o.createElement(l.a,null,(function(t){var n,r=t.getPrefixCls,i=e.prefixCls,l=e.className,s=void 0===l?"":l,u=r("input-group",i),f=a()(u,(c(n={},"".concat(u,"-lg"),"large"===e.size),c(n,"".concat(u,"-sm"),"small"===e.size),c(n,"".concat(u,"-compact"),e.compact),n),s);return o.createElement("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},u=n("jfjY"),f=n("CtXQ"),h=n("2/Rp");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(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 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,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 w(){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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _=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=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)}(p,e);var t,n,i,c,s=(t=p,function(){var e,n=x(t);if(w()){var r=x(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return b(this,e)});function p(){var e;return v(this,p),(e=s.apply(this,arguments)).saveInput=function(t){e.input=t},e.onChange=function(t){var n=e.props,r=n.onChange,o=n.onSearch;t&&t.target&&"click"===t.type&&o&&o(t.target.value,t),r&&r(t)},e.onSearch=function(t){var n=e.props,r=n.onSearch,o=n.loading,i=n.disabled;o||i||(r&&r(e.input.input.value,t),Object(u.isMobile)({tablet:!0})||e.input.focus())},e.renderLoading=function(t){var n=e.props,r=n.enterButton,i=n.size;return r?o.createElement(h.default,{className:"".concat(t,"-button"),type:"primary",size:i,key:"enterButton"},o.createElement(f.default,{type:"loading"})):o.createElement(f.default,{className:"".concat(t,"-icon"),type:"loading",key:"loadingIcon"})},e.renderSuffix=function(t){var n=e.props,r=n.suffix,i=n.enterButton;if(n.loading&&!i)return[r,e.renderLoading(t)];if(i)return r;var a=o.createElement(f.default,{className:"".concat(t,"-icon"),type:"search",key:"searchIcon",onClick:e.onSearch});return r?[o.isValidElement(r)?o.cloneElement(r,{key:"suffix"}):null,a]:a},e.renderAddonAfter=function(t){var n,r=e.props,i=r.enterButton,a=r.size,l=r.disabled,c=r.addonAfter,s=r.loading,u="".concat(t,"-button");if(s&&i)return[e.renderLoading(t),c];if(!i)return c;var p=i,d=p.type&&!0===p.type.__ANT_BUTTON;return n=d||"button"===p.type?o.cloneElement(p,m({onClick:e.onSearch,key:"enterButton"},d?{className:u,size:a}:{})):o.createElement(h.default,{className:u,type:"primary",size:a,disabled:l,key:"enterButton",onClick:e.onSearch},!0===i?o.createElement(f.default,{type:"search"}):i),c?[n,o.isValidElement(c)?o.cloneElement(c,{key:"addonAfter"}):null]:n},e.renderSearch=function(t){var n=t.getPrefixCls,i=e.props,l=i.prefixCls,c=i.inputPrefixCls,s=i.size,u=i.enterButton,f=i.className,h=_(i,["prefixCls","inputPrefixCls","size","enterButton","className"]);delete h.onSearch,delete h.loading;var p,v,y=n("input-search",l),g=n("input",c);u?p=a()(y,f,(d(v={},"".concat(y,"-enter-button"),!!u),d(v,"".concat(y,"-").concat(s),!!s),v)):p=a()(y,f);return o.createElement(r.a,m({onPressEnter:e.onSearch},h,{size:s,prefixCls:g,addonAfter:e.renderAddonAfter(y),suffix:e.renderSuffix(y),onChange:e.onChange,ref:e.saveInput,className:p}))},e}return n=p,(i=[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return o.createElement(l.a,null,this.renderSearch)}}])&&y(n.prototype,i),c&&y(n,c),p}(o.Component);k.defaultProps={enterButton:!1};var S=n("whJP"),O=n("BGR+");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 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 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 z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 A(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 j(){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 L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var N=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},H={click:"onClick",hover:"onMouseOver"},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&&P(e,t)}(s,e);var t,n,i,l,c=(t=s,function(){var e,n=L(t);if(j()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return A(this,e)});function s(){var e;return z(this,s),(e=c.apply(this,arguments)).state={visible:!1},e.onVisibleChange=function(){e.props.disabled||e.setState((function(e){return{visible:!e.visible}}))},e.saveInput=function(t){t&&t.input&&(e.input=t.input)},e}return n=s,(i=[{key:"getIcon",value:function(){var e,t=this.props,n=t.prefixCls,r=t.action,i=(E(e={},H[r]||"",this.onVisibleChange),E(e,"className","".concat(n,"-icon")),E(e,"type",this.state.visible?"eye":"eye-invisible"),E(e,"key","passwordIcon"),E(e,"onMouseDown",(function(e){e.preventDefault()})),e);return o.createElement(f.default,i)}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.prefixCls,i=e.inputPrefixCls,l=e.size,c=e.visibilityToggle,s=N(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),u=c&&this.getIcon(),f=a()(n,t,E({},"".concat(n,"-").concat(l),!!l));return o.createElement(r.a,T({},Object(O.a)(s,["suffix"]),{type:this.state.visible?"text":"password",size:l,className:f,prefixCls:i,suffix:u,ref:this.saveInput}))}}])&&C(n.prototype,i),l&&C(n,l),s}(o.Component);R.defaultProps={inputPrefixCls:"ant-input",prefixCls:"ant-input-password",action:"click",visibilityToggle:!0},r.a.Group=s,r.a.Search=k,r.a.TextArea=S.a,r.a.Password=R;t.default=r.a},"5vMV":function(e,t,n){var r=n("B+OT"),o=n("NsO/"),i=n("W070")(!1),a=n("VVlx")("IE_PROTO");e.exports=function(e,t){var n,l=o(e),c=0,s=[];for(n in l)n!=a&&r(l,n)&&s.push(n);for(;t.length>c;)r(l,n=t[c++])&&(~i(s,n)||s.push(n));return s}},"6/1s":function(e,t,n){var r=n("YqAc")("meta"),o=n("93I4"),i=n("B+OT"),a=n("2faE").f,l=0,c=Object.isExtensible||function(){return!0},s=!n("KUxP")((function(){return c(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++l,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return s&&f.NEED&&c(e)&&!i(e,r)&&u(e),e}}},"61Rg":function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=void 0;var o=r(n("Bp9Y")).default?function(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):i(e,t)}:i;function i(e,t){if(t)do{if(t===e)return!0}while(t=t.parentNode);return!1}t.default=o,e.exports=t.default},"61SU":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],c=o["cancel"+a]||o["cancelRequest"+a],s=0;!l&&s<i.length;s++)l=o[i[s]+"Request"+a],c=o[i[s]+"Cancel"+a]||o[i[s]+"CancelRequest"+a];if(!l||!c){var u=0,f=0,h=[];l=function(e){if(0===h.length){var t=r(),n=Math.max(0,1e3/60-(t-u));u=n+t,setTimeout((function(){var e=h.slice(0);h.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 h.push({handle:++f,callback:e,cancelled:!1}),f},c=function(e){for(var t=0;t<h.length;t++)h[t].handle===e&&(h[t].cancelled=!0)}}e.exports=function(e){return l.call(o,e)},e.exports.cancel=function(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=l,e.cancelAnimationFrame=c}}).call(this,n("yLpj"))},"61s2":function(e,t,n){"use strict";var r=n("u7YQ"),o=n("RlXo");function i(){return(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}).apply(this,arguments)}var a={lang:i({placeholder:"Select date",rangePlaceholder:["Start date","End date"]},r.a),timePickerLocale:i({},o.a)};t.a=a},"63PN":function(e,t,n){"use strict";e.exports=function(){}},"66f7":function(e,t,n){const r=n("SbYC"),o=n("+/fp"),i=n("J7Ao"),{defaults:a}=n("vbtb"),{unescape:l}=n("rUJ1");e.exports=class e{constructor(e){this.options=e||a,this.options.renderer=this.options.renderer||new r,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new o,this.slugger=new i}static parse(t,n){return new e(n).parse(t)}parse(e,t=!0){let n,r,o,i,a,c,s,u,f,h,p,d,m,v,y,g,b,w,x="";const _=e.length;for(n=0;n<_;n++)switch(h=e[n],h.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(h.tokens),h.depth,l(this.parseInline(h.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(h.text,h.lang,h.escaped);continue;case"table":for(u="",s="",i=h.header.length,r=0;r<i;r++)s+=this.renderer.tablecell(this.parseInline(h.tokens.header[r]),{header:!0,align:h.align[r]});for(u+=this.renderer.tablerow(s),f="",i=h.cells.length,r=0;r<i;r++){for(c=h.tokens.cells[r],s="",a=c.length,o=0;o<a;o++)s+=this.renderer.tablecell(this.parseInline(c[o]),{header:!1,align:h.align[o]});f+=this.renderer.tablerow(s)}x+=this.renderer.table(u,f);continue;case"blockquote":f=this.parse(h.tokens),x+=this.renderer.blockquote(f);continue;case"list":for(p=h.ordered,d=h.start,m=h.loose,i=h.items.length,f="",r=0;r<i;r++)y=h.items[r],g=y.checked,b=y.task,v="",y.task&&(w=this.renderer.checkbox(g),m?"text"===y.tokens[0].type?(y.tokens[0].text=w+" "+y.tokens[0].text,y.tokens[0].tokens&&y.tokens[0].tokens.length>0&&"text"===y.tokens[0].tokens[0].type&&(y.tokens[0].tokens[0].text=w+" "+y.tokens[0].tokens[0].text)):y.tokens.unshift({type:"text",text:w}):v+=w),v+=this.parse(y.tokens,m),f+=this.renderer.listitem(v,b,g);x+=this.renderer.list(f,p,d);continue;case"html":x+=this.renderer.html(h.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(h.tokens));continue;case"text":for(f=h.tokens?this.parseInline(h.tokens):h.text;n+1<_&&"text"===e[n+1].type;)h=e[++n],f+="\n"+(h.tokens?this.parseInline(h.tokens):h.text);x+=t?this.renderer.paragraph(f):f;continue;default:{const e='Token with "'+h.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return x}parseInline(e,t){t=t||this.renderer;let n,r,o="";const i=e.length;for(n=0;n<i;n++)switch(r=e[n],r.type){case"escape":o+=t.text(r.text);break;case"html":o+=t.html(r.text);break;case"link":o+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":o+=t.image(r.href,r.title,r.text);break;case"strong":o+=t.strong(this.parseInline(r.tokens,t));break;case"em":o+=t.em(this.parseInline(r.tokens,t));break;case"codespan":o+=t.codespan(r.text);break;case"br":o+=t.br();break;case"del":o+=t.del(this.parseInline(r.tokens,t));break;case"text":o+=t.text(r.text);break;default:{const e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(e);throw new Error(e)}}return o}}},"694e":function(e,t,n){var r=n("EemH"),o=n("XKFU"),i=n("y3w9");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},"69bn":function(e,t,n){var r=n("y3w9"),o=n("2OiF"),i=n("K0xU")("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},"6AQ9":function(e,t,n){"use strict";var r=n("XKFU"),o=n("8a7r");r(r.S+r.F*n("eeVq")((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},"6CfX":function(e,t,n){"use strict";var r=n("Kwbf");t.a=function(e,t,n){Object(r.a)(e,"[antd: ".concat(t,"] ").concat(n))}},"6FMO":function(e,t,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},"6VaU":function(e,t,n){"use strict";var r=n("XKFU"),o=n("xF/b"),i=n("S/j/"),a=n("ne8i"),l=n("2OiF"),c=n("zRwo");r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return l(e),t=a(r.length),n=c(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n("nGyu")("flatMap")},"6dIT":function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-r)/(n-t)+r}},"6tYh":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FilePlayer",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"YouTube",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"SoundCloud",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"Vimeo",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"Facebook",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Streamable",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"Wistia",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"Twitch",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"DailyMotion",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"Mixcloud",{enumerable:!0,get:function(){return b.default}}),t.default=void 0;var r=_(n("q1tI")),o=n("QXAm"),i=n("tbWI"),a=w(n("zuFh")),l=w(n("q+qS")),c=w(n("fflM")),s=_(n("bq/u")),u=w(n("fn3U")),f=w(n("/6c9")),h=w(n("xkkJ")),p=w(n("LLoX")),d=w(n("f77o")),m=w(n("GdC5")),v=w(n("W4/P")),y=w(n("bA2t")),g=w(n("Rom6")),b=w(n("5Cgt"));function w(e){return e&&e.__esModule?e:{default:e}}function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function _(e){if(e&&e.__esModule)return e;if(null===e||"object"!==k(e)&&"function"!=typeof e)return{default:e};var t=x();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]}return n.default=e,t&&t.set(e,n),n}function k(e){return(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})(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 O(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){H(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 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 T(e){return function(e){if(Array.isArray(e))return E(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 E(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(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(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 E(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 z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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!t||"object"!==k(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j(){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 L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var R=Object.keys(o.propTypes),V=[],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&&N(e,t)}(d,e);var t,n,f,h,p=(t=d,function(){var e,n=L(t);if(j()){var r=L(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return P(this,e)});function d(){var e;z(this,d);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return H(A(e=p.call.apply(p,[this].concat(n))),"config",(0,i.getConfig)(e.props,o.defaultProps,!0)),H(A(e),"state",{showPreview:!!e.props.light}),H(A(e),"handleClickPreview",(function(){e.setState({showPreview:!1})})),H(A(e),"showPreview",(function(){e.setState({showPreview:!0})})),H(A(e),"getDuration",(function(){return e.player?e.player.getDuration():null})),H(A(e),"getCurrentTime",(function(){return e.player?e.player.getCurrentTime():null})),H(A(e),"getSecondsLoaded",(function(){return e.player?e.player.getSecondsLoaded():null})),H(A(e),"getInternalPlayer",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null})),H(A(e),"seekTo",(function(t,n){if(!e.player)return null;e.player.seekTo(t,n)})),H(A(e),"handleReady",(function(){e.props.onReady(A(e))})),H(A(e),"wrapperRef",(function(t){e.wrapper=t})),H(A(e),"activePlayerRef",(function(t){e.player=t})),e}return n=d,(f=[{key:"componentDidMount",value:function(){this.props.progressFrequency&&console.warn("ReactPlayer: %cprogressFrequency%c is deprecated, please use %cprogressInterval%c instead","font-weight: bold","","font-weight: bold","")}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,i.isEqual)(this.props,e)||!(0,i.isEqual)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;this.config=(0,i.getConfig)(this.props,o.defaultProps),!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"getActivePlayer",value:function(e){for(var t=0,n=[].concat(T(V),T(a.default));t<n.length;t++){var r=n[t];if(r.canPlay(e))return r}return s.FilePlayer}},{key:"renderActivePlayer",value:function(e,t){return e?r.default.createElement(l.default,M({},this.props,{key:t.displayName,ref:this.activePlayerRef,config:this.config,activePlayer:t,onReady:this.handleReady})):null}},{key:"sortPlayers",value:function(e,t){return e&&t?e.key<t.key?-1:1:0}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.controls,a=e.style,l=e.width,s=e.height,f=e.light,h=e.playIcon,p=e.wrapper,d=this.state.showPreview&&t,m=(0,i.omit)(this.props,R,o.DEPRECATED_CONFIG_PROPS),v=this.getActivePlayer(t),y=this.renderActivePlayer(t,v),g=(0,u.default)(t,n,this.config),b=[y].concat(T(g)).sort(this.sortPlayers),w=r.default.createElement(c.default,{url:t,light:f,playIcon:h,onClick:this.handleClickPreview});return r.default.createElement(p,M({ref:this.wrapperRef,style:O({},a,{width:l,height:s})},m),d?w:b)}}])&&C(n.prototype,f),h&&C(n,h),d}(r.Component);t.default=I,H(I,"addCustomPlayer",(function(e){V.push(e)})),H(I,"removeCustomPlayers",(function(){V=[]})),H(I,"displayName","ReactPlayer"),H(I,"propTypes",o.propTypes),H(I,"defaultProps",o.defaultProps),H(I,"canPlay",(function(e){for(var t=0,n=[].concat(T(V),T(a.default));t<n.length;t++){if(n[t].canPlay(e))return!0}return!1})),H(I,"canEnablePIP",(function(e){for(var t=0,n=[].concat(T(V),T(a.default));t<n.length;t++){var r=n[t];if(r.canEnablePIP&&r.canEnablePIP(e))return!0}return!1}))},"6tYhl":function(e,t,n){var r=n("93I4"),o=n("5K7Z"),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n("2GTP")(Function.call,n("vwuL").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},"7+IK":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n("Z0Lh"))&&r.__esModule?r:{default:r}).default;t.default=o},"7B0+":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n("q1tI"))&&"object"==typeof r&&"default"in r?r.default:r;function i(e){return i.warnAboutHMRDisabled&&(i.warnAboutHMRDisabled=!0,console.error("React-Hot-Loader: misconfiguration detected, using production version in non-production environment."),console.error("React-Hot-Loader: Hot Module Replacement is not enabled.")),o.Children.only(e.children)}i.warnAboutHMRDisabled=!1;var a=function e(){return e.shouldWrapWithAppContainer?function(e){return function(t){return o.createElement(i,null,o.createElement(e,t))}}:function(e){return e}};a.shouldWrapWithAppContainer=!1;t.AppContainer=i,t.hot=a,t.areComponentsEqual=function(e,t){return e===t},t.setConfig=function(){},t.cold=function(e){return e},t.configureComponent=function(){}},"7DDg":function(e,t,n){"use strict";if(n("nh4g")){var r=n("LQAc"),o=n("dyZX"),i=n("eeVq"),a=n("XKFU"),l=n("D4iV"),c=n("7Qtz"),s=n("m0Pp"),u=n("9gX7"),f=n("RjD/"),h=n("Mukb"),p=n("3Lyj"),d=n("RYi7"),m=n("ne8i"),v=n("Cfrj"),y=n("d/Gc"),g=n("apmT"),b=n("aagx"),w=n("I8a+"),x=n("0/R4"),_=n("S/j/"),k=n("M6Qj"),S=n("Kuth"),O=n("OP3Y"),M=n("kJMx").f,T=n("J+6e"),E=n("ylqs"),z=n("K0xU"),C=n("CkkT"),P=n("w2a5"),A=n("69bn"),j=n("yt8O"),L=n("hPIQ"),N=n("XMVh"),H=n("elZq"),R=n("Nr18"),V=n("upKx"),I=n("hswa"),D=n("EemH"),F=I.f,q=D.f,U=o.RangeError,B=o.TypeError,W=o.Uint8Array,Y=Array.prototype,G=c.ArrayBuffer,K=c.DataView,X=C(0),J=C(2),Z=C(3),$=C(4),Q=C(5),ee=C(6),te=P(!0),ne=P(!1),re=j.values,oe=j.keys,ie=j.entries,ae=Y.lastIndexOf,le=Y.reduce,ce=Y.reduceRight,se=Y.join,ue=Y.sort,fe=Y.slice,he=Y.toString,pe=Y.toLocaleString,de=z("iterator"),me=z("toStringTag"),ve=E("typed_constructor"),ye=E("def_constructor"),ge=l.CONSTR,be=l.TYPED,we=l.VIEW,xe=C(1,(function(e,t){return Me(A(e,e[ye]),t)})),_e=i((function(){return 1===new W(new Uint16Array([1]).buffer)[0]})),ke=!!W&&!!W.prototype.set&&i((function(){new W(1).set({})})),Se=function(e,t){var n=d(e);if(n<0||n%t)throw U("Wrong offset!");return n},Oe=function(e){if(x(e)&&be in e)return e;throw B(e+" is not a typed array!")},Me=function(e,t){if(!x(e)||!(ve in e))throw B("It is not a typed array constructor!");return new e(t)},Te=function(e,t){return Ee(A(e,e[ye]),t)},Ee=function(e,t){for(var n=0,r=t.length,o=Me(e,r);r>n;)o[n]=t[n++];return o},ze=function(e,t,n){F(e,t,{get:function(){return this._d[n]}})},Ce=function(e){var t,n,r,o,i,a,l=_(e),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,h=T(l);if(null!=h&&!k(h)){for(a=h.call(l),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);l=r}for(f&&c>2&&(u=s(u,arguments[2],2)),t=0,n=m(l.length),o=Me(this,n);n>t;t++)o[t]=f?u(l[t],t):l[t];return o},Pe=function(){for(var e=0,t=arguments.length,n=Me(this,t);t>e;)n[e]=arguments[e++];return n},Ae=!!W&&i((function(){pe.call(new W(1))})),je=function(){return pe.apply(Ae?fe.call(Oe(this)):Oe(this),arguments)},Le={copyWithin:function(e,t){return V.call(Oe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return $(Oe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return R.apply(Oe(this),arguments)},filter:function(e){return Te(this,J(Oe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Oe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Oe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Oe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Oe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Oe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return se.apply(Oe(this),arguments)},lastIndexOf:function(e){return ae.apply(Oe(this),arguments)},map:function(e){return xe(Oe(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return le.apply(Oe(this),arguments)},reduceRight:function(e){return ce.apply(Oe(this),arguments)},reverse:function(){for(var e,t=Oe(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return Z(Oe(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Oe(this),e)},subarray:function(e,t){var n=Oe(this),r=n.length,o=y(e,r);return new(A(n,n[ye]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:y(t,r))-o))}},Ne=function(e,t){return Te(this,fe.call(Oe(this),e,t))},He=function(e){Oe(this);var t=Se(arguments[1],1),n=this.length,r=_(e),o=m(r.length),i=0;if(o+t>n)throw U("Wrong length!");for(;i<o;)this[t+i]=r[i++]},Re={entries:function(){return ie.call(Oe(this))},keys:function(){return oe.call(Oe(this))},values:function(){return re.call(Oe(this))}},Ve=function(e,t){return x(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ie=function(e,t){return Ve(e,t=g(t,!0))?f(2,e[t]):q(e,t)},De=function(e,t,n){return!(Ve(e,t=g(t,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?F(e,t,n):(e[t]=n.value,e)};ge||(D.f=Ie,I.f=De),a(a.S+a.F*!ge,"Object",{getOwnPropertyDescriptor:Ie,defineProperty:De}),i((function(){he.call({})}))&&(he=pe=function(){return se.call(this)});var Fe=p({},Le);p(Fe,Re),h(Fe,de,Re.values),p(Fe,{slice:Ne,set:He,constructor:function(){},toString:he,toLocaleString:je}),ze(Fe,"buffer","b"),ze(Fe,"byteOffset","o"),ze(Fe,"byteLength","l"),ze(Fe,"length","e"),F(Fe,me,{get:function(){return this[be]}}),e.exports=function(e,t,n,c){var s=e+((c=!!c)?"Clamped":"")+"Array",f="get"+e,p="set"+e,d=o[s],y=d||{},g=d&&O(d),b=!d||!l.ABV,_={},k=d&&d.prototype,T=function(e,n){F(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[f](n*t+r.o,_e)}(this,n)},set:function(e){return function(e,n,r){var o=e._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*t+o.o,r,_e)}(this,n,e)},enumerable:!0})};b?(d=n((function(e,n,r,o){u(e,d,s,"_d");var i,a,l,c,f=0,p=0;if(x(n)){if(!(n instanceof G||"ArrayBuffer"==(c=w(n))||"SharedArrayBuffer"==c))return be in n?Ee(d,n):Ce.call(d,n);i=n,p=Se(r,t);var y=n.byteLength;if(void 0===o){if(y%t)throw U("Wrong length!");if((a=y-p)<0)throw U("Wrong length!")}else if((a=m(o)*t)+p>y)throw U("Wrong length!");l=a/t}else l=v(n),i=new G(a=l*t);for(h(e,"_d",{b:i,o:p,l:a,e:l,v:new K(i)});f<l;)T(e,f++)})),k=d.prototype=S(Fe),h(k,"constructor",d)):i((function(){d(1)}))&&i((function(){new d(-1)}))&&N((function(e){new d,new d(null),new d(1.5),new d(e)}),!0)||(d=n((function(e,n,r,o){var i;return u(e,d,s),x(n)?n instanceof G||"ArrayBuffer"==(i=w(n))||"SharedArrayBuffer"==i?void 0!==o?new y(n,Se(r,t),o):void 0!==r?new y(n,Se(r,t)):new y(n):be in n?Ee(d,n):Ce.call(d,n):new y(v(n))})),X(g!==Function.prototype?M(y).concat(M(g)):M(y),(function(e){e in d||h(d,e,y[e])})),d.prototype=k,r||(k.constructor=d));var E=k[de],z=!!E&&("values"==E.name||null==E.name),C=Re.values;h(d,ve,!0),h(k,be,s),h(k,we,!0),h(k,ye,d),(c?new d(1)[me]==s:me in k)||F(k,me,{get:function(){return s}}),_[s]=d,a(a.G+a.W+a.F*(d!=y),_),a(a.S,s,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i((function(){y.of.call(d,1)})),s,{from:Ce,of:Pe}),"BYTES_PER_ELEMENT"in k||h(k,"BYTES_PER_ELEMENT",t),a(a.P,s,Le),H(s),a(a.P+a.F*ke,s,{set:He}),a(a.P+a.F*!z,s,Re),r||k.toString==he||(k.toString=he),a(a.P+a.F*i((function(){new d(1).slice()})),s,{slice:Ne}),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()}))||!i((function(){k.toLocaleString.call([1,2])}))),s,{toLocaleString:je}),L[s]=z?E:C,r||z||h(k,de,C)}}else e.exports=function(){}},"7Dlh":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},"7LC6":function(e,t,n){e.exports=n("JbBM")},"7Qtz":function(e,t,n){"use strict";var r=n("dyZX"),o=n("nh4g"),i=n("LQAc"),a=n("D4iV"),l=n("Mukb"),c=n("3Lyj"),s=n("eeVq"),u=n("9gX7"),f=n("RYi7"),h=n("ne8i"),p=n("Cfrj"),d=n("kJMx").f,m=n("hswa").f,v=n("Nr18"),y=n("fyDq"),g=r.ArrayBuffer,b=r.DataView,w=r.Math,x=r.RangeError,_=r.Infinity,k=g,S=w.abs,O=w.pow,M=w.floor,T=w.log,E=w.LN2,z=o?"_b":"buffer",C=o?"_l":"byteLength",P=o?"_o":"byteOffset";function A(e,t,n){var r,o,i,a=new Array(n),l=8*n-t-1,c=(1<<l)-1,s=c>>1,u=23===t?O(2,-24)-O(2,-77):0,f=0,h=e<0||0===e&&1/e<0?1:0;for((e=S(e))!=e||e===_?(o=e!=e?1:0,r=c):(r=M(T(e)/E),e*(i=O(2,-r))<1&&(r--,i*=2),(e+=r+s>=1?u/i:u*O(2,1-s))*i>=2&&(r++,i/=2),r+s>=c?(o=0,r=c):r+s>=1?(o=(e*i-1)*O(2,t),r+=s):(o=e*O(2,s-1)*O(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,l+=t;l>0;a[f++]=255&r,r/=256,l-=8);return a[--f]|=128*h,a}function j(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,l=o-7,c=n-1,s=e[c--],u=127&s;for(s>>=7;l>0;u=256*u+e[c],c--,l-=8);for(r=u&(1<<-l)-1,u>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===u)u=1-a;else{if(u===i)return r?NaN:s?-_:_;r+=O(2,t),u-=a}return(s?-1:1)*r*O(2,u-t)}function L(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function N(e){return[255&e]}function H(e){return[255&e,e>>8&255]}function R(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function V(e){return A(e,52,8)}function I(e){return A(e,23,4)}function D(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function F(e,t,n,r){var o=p(+n);if(o+t>e[C])throw x("Wrong index!");var i=e[z]._b,a=o+e[P],l=i.slice(a,a+t);return r?l:l.reverse()}function q(e,t,n,r,o,i){var a=p(+n);if(a+t>e[C])throw x("Wrong index!");for(var l=e[z]._b,c=a+e[P],s=r(+o),u=0;u<t;u++)l[c+u]=s[i?u:t-u-1]}if(a.ABV){if(!s((function(){g(1)}))||!s((function(){new g(-1)}))||s((function(){return new g,new g(1.5),new g(NaN),"ArrayBuffer"!=g.name}))){for(var U,B=(g=function(e){return u(this,g),new k(p(e))}).prototype=k.prototype,W=d(k),Y=0;W.length>Y;)(U=W[Y++])in g||l(g,U,k[U]);i||(B.constructor=g)}var G=new b(new g(2)),K=b.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||c(b.prototype,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},!0)}else g=function(e){u(this,g,"ArrayBuffer");var t=p(e);this._b=v.call(new Array(t),0),this[C]=t},b=function(e,t,n){u(this,b,"DataView"),u(e,g,"DataView");var r=e[C],o=f(t);if(o<0||o>r)throw x("Wrong offset!");if(o+(n=void 0===n?r-o:h(n))>r)throw x("Wrong length!");this[z]=e,this[P]=o,this[C]=n},o&&(D(g,"byteLength","_l"),D(b,"buffer","_b"),D(b,"byteLength","_l"),D(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return L(F(this,4,e,arguments[1]))},getUint32:function(e){return L(F(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return j(F(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return j(F(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){q(this,1,e,N,t)},setUint8:function(e,t){q(this,1,e,N,t)},setInt16:function(e,t){q(this,2,e,H,t,arguments[2])},setUint16:function(e,t){q(this,2,e,H,t,arguments[2])},setInt32:function(e,t){q(this,4,e,R,t,arguments[2])},setUint32:function(e,t){q(this,4,e,R,t,arguments[2])},setFloat32:function(e,t){q(this,4,e,I,t,arguments[2])},setFloat64:function(e,t){q(this,8,e,V,t,arguments[2])}});y(g,"ArrayBuffer"),y(b,"DataView"),l(b.prototype,a.VIEW,!0),t.ArrayBuffer=g,t.DataView=b},"7TPF":function(e,t,n){n("AUvm"),e.exports=n("WEpk").Object.getOwnPropertySymbols},"7VC1":function(e,t,n){"use strict";var r=n("XKFU"),o=n("Lgjv"),i=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},"7W2i":function(e,t,n){var r=n("r4Cf"),o=n("SksO");e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},"7X58":function(e,t,n){var r=n("XKFU");r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},"7apM":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestProxy=function(e){var t=e.url;if(-1!==t.indexOf(".json"))return e;e.withCredentials=!1;var n=t.split("?"),a=n[0],l=void 0,c=void 0;(l=r[a])||o.forEach((function(t,r){var o=a.match(t);if(o){var s=i[r];return l=s&&s(o),c=l+"?"+n[1],e.url=c,e}}));return e};var r={},o=[/\/api\/v1\/games\/(\w*)\/choose_build/i],i=[function(e){return"/tasks/"+e[1]+"/choose_build.json"}]},"7h0T":function(e,t,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(e){return e!=e}})},"8+KV":function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(0),i=n("LyE8")([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},"8/o9":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("PYb6")},"84bF":function(e,t,n){"use strict";n("OGtf")("small",(function(e){return function(){return e(this,"small","","")}}))},"86LW":function(e,t,n){(function(t){!function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"==typeof e,s=t.regeneratorRuntime;if(s)c&&(e.exports=s);else{(s=t.regeneratorRuntime=c?e.exports:{}).wrap=m;var u={},f={};f[i]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(M([])));p&&p!==n&&r.call(p,i)&&(f=p);var d=b.prototype=y.prototype=Object.create(f);g.prototype=d.constructor=b,b.constructor=g,b[l]=g.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,l in e||(e[l]="GeneratorFunction")),e.prototype=Object.create(d),e},s.awrap=function(e){return{__await:e}},w(x.prototype),x.prototype[a]=function(){return this},s.AsyncIterator=x,s.async=function(e,t,n,r){var o=new x(m(e,t,n,r));return s.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(d),d[l]="Generator",d[i]=function(){return this},d.toString=function(){return"[object Generator]"},s.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},s.values=M,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}}}function m(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=_(a,n);if(l){if(l===u)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=v(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function y(){}function g(){}function b(){}function w(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){function n(t,o,i,a){var l=v(e[t],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(e){n("next",e,i,a)}),(function(e){n("throw",e,i,a)})):Promise.resolve(s).then((function(e){c.value=e,i(c)}),a)}a(l.arg)}var o;"object"==typeof t.process&&t.process.domain&&(n=t.process.domain.bind(n)),this._invoke=function(e,t){function r(){return new Promise((function(r,o){n(e,t,r,o)}))}return o=o?o.then(r,r):r()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=v(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function M(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,n("yLpj"))},"8Dw0":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=n("rnH8"),a=(r=i)&&r.__esModule?r:{default:r};var l={jupyter_tpi_url:"",jupyter_info:{},jupyter_data_set:[],jupyter_identifier:"",jupyter_tpi_url_state:-1,jupyter_tpi_code:"",jupyter_data_set_count:1,jupyter_pagination:{page:1,limit:20}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.default.GET_JUPYTER_DATA_SETS:var n=t.payload,r=n.data_sets,i=n.data_sets_count,c=n.folder_name,s=e.jupyter_data_set;return r.map((function(e,t){s.push(e)})),o({},e,{jupyter_data_set:s,jupyter_data_set_count:i,jupyter_folder_name:c});case a.default.GET_JUPYTER_TPI_URL:var u=t.payload,f=u.url,h=u.status,p=u.port;return o({},e,{jupyter_tpi_url:f,jupyter_tpi_url_state:h,jupyter_tpi_code:p});case a.default.SAVE_JUPYTER_IDENTIFIER:return o({},e,{jupyter_identifier:t.payload});case a.default.SAVE_JUPYTER_INFO:return o({},e,{jupyter_info:t.payload});case a.default.CHANGE_JUPYTER_URL_STATE:return o({},e,{jupyter_tpi_url_state:t.payload});case a.default.CHANGE_JUPYTER_CURRENT_PAGE:return o({},e,{jupyter_pagination:Object.assign({},e.jupyter_pagination,{page:t.payload})});default:return o({},e)}}},"8Lis":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("MVZn")),c=r(n("q1tI")),s=(r(n("17x9")),r(n("TSYQ"))),u=r(n("d05B")),f=n("JS0+"),h=r(n("tC+R")),p=n("fvma"),d=function(e){return{root:(0,l.default)({},e.typography.button,{lineHeight:"1.4em",boxSizing:"border-box",minWidth:11*e.spacing.unit,minHeight:36,padding:"".concat(e.spacing.unit,"px ").concat(2*e.spacing.unit,"px"),borderRadius:2,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,f.fade)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},flatPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,f.fade)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},flatSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,f.fade)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorInherit:{color:"inherit"},raised:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}}},raisedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},raisedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},focusVisible:{},disabled:{},fab:{borderRadius:"50%",padding:0,minWidth:0,width:56,fontSize:24,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]}},mini:{width:40,height:40},sizeSmall:{padding:"".concat(e.spacing.unit-1,"px ").concat(e.spacing.unit,"px"),minWidth:8*e.spacing.unit,minHeight:32,fontSize:e.typography.pxToRem(13)},sizeLarge:{padding:"".concat(e.spacing.unit,"px ").concat(3*e.spacing.unit,"px"),minWidth:14*e.spacing.unit,minHeight:40,fontSize:e.typography.pxToRem(15)},fullWidth:{width:"100%"}}};function m(e){var t,n=e.children,r=e.classes,l=e.className,u=e.color,f=e.disabled,d=e.disableFocusRipple,m=e.fullWidth,v=e.focusVisibleClassName,y=e.mini,g=e.size,b=e.variant,w=(0,a.default)(e,["children","classes","className","color","disabled","disableFocusRipple","fullWidth","focusVisibleClassName","mini","size","variant"]),x="fab"===b,_="raised"===b,k=!_&&!x,S=(0,s.default)(r.root,(t={},(0,i.default)(t,r.raised,_||x),(0,i.default)(t,r.fab,x),(0,i.default)(t,r.mini,x&&y),(0,i.default)(t,r.colorInherit,"inherit"===u),(0,i.default)(t,r.flatPrimary,k&&"primary"===u),(0,i.default)(t,r.flatSecondary,k&&"secondary"===u),(0,i.default)(t,r.raisedPrimary,!k&&"primary"===u),(0,i.default)(t,r.raisedSecondary,!k&&"secondary"===u),(0,i.default)(t,r["size".concat((0,p.capitalize)(g))],"medium"!==g),(0,i.default)(t,r.disabled,f),(0,i.default)(t,r.fullWidth,m),t),l);return c.default.createElement(h.default,(0,o.default)({className:S,disabled:f,focusRipple:!d,focusVisibleClassName:(0,s.default)(r.focusVisible,v)},w),c.default.createElement("span",{className:r.label},n))}t.styles=d,m.propTypes={},m.defaultProps={color:"default",disabled:!1,disableFocusRipple:!1,fullWidth:!1,mini:!1,size:"medium",type:"button",variant:"flat"};var v=(0,u.default)(d,{name:"MuiButton"})(m);t.default=v},"8MEG":function(e,t,n){"use strict";var r=n("2OiF"),o=n("0/R4"),i=n("MfQN"),a=[].slice,l={},c=function(e,t,n){if(!(t in l)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";l[t]=Function("F,a","return new F("+r.join(",")+")")}return l[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),l=function(){var r=n.concat(a.call(arguments));return this instanceof l?c(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(l.prototype=t.prototype),l}},"8PcY":function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var l=o(e.children),c=i(t,l);return Object.keys(c).forEach((function(o){var i=c[o];if((0,r.isValidElement)(i)){var s=o in t,u=o in l,f=t[o],h=(0,r.isValidElement)(f)&&!f.props.in;!u||s&&!h?u||!s||h?u&&s&&(0,r.isValidElement)(f)&&(c[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:f.props.in,exit:a(i,"exit",e),enter:a(i,"enter",e)})):c[o]=(0,r.cloneElement)(i,{in:!1}):c[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",e),enter:a(i,"enter",e)})}})),c};var r=n("q1tI");function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var c in t){if(o[c])for(r=0;r<o[c].length;r++){var s=o[c][r];l[o[c][r]]=n(s)}l[c]=n(c)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},"8Wa3":function(e,t,n){"use strict";var r=n("2W6z"),o=n.n(r),i=n("q1tI"),a=n.n(i),l=n("17x9"),c=n.n(l),s=n("LhCv"),u=n("nr6O");function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 p=function(e){function t(){var n,r;f(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=h(this,e.call.apply(e,[this].concat(i))),r.history=Object(s.createMemoryHistory)(r.props),h(r,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),t.prototype.componentWillMount=function(){o()(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return a.a.createElement(u.a,{history:this.history,children:this.props.children})},t}(a.a.Component);p.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node},t.a=p},"8Y+z":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)},e.exports=t.default},"8a7r":function(e,t,n){"use strict";var r=n("hswa"),o=n("RjD/");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"8iia":function(e,t,n){var r=n("QMMT"),o=n("RRc/");e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},"8jD+":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.isNumber=t.isString=t.formatMs=t.duration=t.easing=void 0;r(n("iVxW"));var o=r(n("QILm")),i=r(n("MRPZ")),a=(r(n("PV3f")),{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"});t.easing=a;var l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};t.duration=l;var c=function(e){return"".concat(Math.round(e),"ms")};t.formatMs=c;t.isString=function(e){return"string"==typeof e};t.isNumber=function(e){return!(0,i.default)(parseFloat(e))};var s={easing:a,duration:l,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){var n=t.duration,r=void 0===n?l.standard:n,i=t.easing,s=void 0===i?a.easeInOut:i,u=t.delay,f=void 0===u?0:u;(0,o.default)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:c(r)," ").concat(s," ").concat("string"==typeof f?f:c(f))})).join(",")}()},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}};t.default=s},"8oxe":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("o43f")),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=(0,o.default)(e);return n.defaultView||n.parentView||t};t.default=i},"8tx+":function(e,t,n){"use strict";var r=n("jo6Y"),o=n.n(r),i=n("YEIV"),a=n.n(i),l=n("QbLZ"),c=n.n(l),s=n("iCc5"),u=n.n(s),f=n("V7oC"),h=n.n(f),p=n("FYw3"),d=n.n(p),m=n("mRg0"),v=n.n(m),y=n("q1tI"),g=n.n(y),b=n("17x9"),w=n.n(b),x=n("i8i4"),_=n.n(x),k=n("MFj2"),S=n("2GS6"),O=n("TSYQ"),M=n.n(O),T=function(e){function t(){var e,n,r,o;u()(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.close=function(e){e&&e.stopPropagation(),r.clearCloseTimer(),r.props.onClose()},r.startCloseTimer=function(){r.props.duration&&(r.closeTimer=setTimeout((function(){r.close()}),1e3*r.props.duration))},r.clearCloseTimer=function(){r.closeTimer&&(clearTimeout(r.closeTimer),r.closeTimer=null)},o=n,d()(r,o)}return v()(t,e),h()(t,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.update)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e,t=this.props,n=t.prefixCls+"-notice",r=(e={},a()(e,""+n,1),a()(e,n+"-closable",t.closable),a()(e,t.className,!!t.className),e);return g.a.createElement("div",{className:M()(r),style:t.style,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:t.onClick},g.a.createElement("div",{className:n+"-content"},t.children),t.closable?g.a.createElement("a",{tabIndex:"0",onClick:this.close,className:n+"-close"},t.closeIcon||g.a.createElement("span",{className:n+"-close-x"})):null)}}]),t}(y.Component);T.propTypes={duration:w.a.number,onClose:w.a.func,children:w.a.any,update:w.a.bool,closeIcon:w.a.node},T.defaultProps={onEnd:function(){},onClose:function(){},duration:1.5,style:{right:"50%"}};var E=T,z=0,C=Date.now();function P(){return"rcNotification_"+C+"_"+z++}var A=function(e){function t(){var e,n,r,o;u()(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={notices:[]},r.add=function(e){var t=e.key=e.key||P(),n=r.props.maxCount;r.setState((function(r){var o=r.notices,i=o.map((function(e){return e.key})).indexOf(t),a=o.concat();return-1!==i?a.splice(i,1,e):(n&&o.length>=n&&(e.updateKey=a[0].updateKey||a[0].key,a.shift()),a.push(e)),{notices:a}}))},r.remove=function(e){r.setState((function(t){return{notices:t.notices.filter((function(t){return t.key!==e}))}}))},o=n,d()(r,o)}return v()(t,e),h()(t,[{key:"getTransitionName",value:function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t}},{key:"render",value:function(){var e,t=this,n=this.props,r=this.state.notices,o=r.map((function(e,o){var i=Boolean(o===r.length-1&&e.updateKey),a=e.updateKey?e.updateKey:e.key,l=Object(S.a)(t.remove.bind(t,e.key),e.onClose);return g.a.createElement(E,c()({prefixCls:n.prefixCls},e,{key:a,update:i,onClose:l,onClick:e.onClick,closeIcon:n.closeIcon}),e.content)})),i=(e={},a()(e,n.prefixCls,1),a()(e,n.className,!!n.className),e);return g.a.createElement("div",{className:M()(i),style:n.style},g.a.createElement(k.a,{transitionName:this.getTransitionName()},o))}}]),t}(y.Component);A.propTypes={prefixCls:w.a.string,transitionName:w.a.string,animation:w.a.oneOfType([w.a.string,w.a.object]),style:w.a.object,maxCount:w.a.number,closeIcon:w.a.node},A.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},A.newInstance=function(e,t){var n=e||{},r=n.getContainer,i=o()(n,["getContainer"]),a=document.createElement("div");r?r().appendChild(a):document.body.appendChild(a);var l=!1;_.a.render(g.a.createElement(A,c()({},i,{ref:function(e){l||(l=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){_.a.unmountComponentAtNode(a),a.parentNode.removeChild(a)}}))}})),a)};var j=A;t.a=j},"91GP":function(e,t,n){var r=n("XKFU");r(r.S+r.F,"Object",{assign:n("czNK")})},"92dX":function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},"93I4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"93uN":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("RV6i"),a=(r=i)&&r.__esModule?r:{default:r};var l=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="viewport",this.isProcessed=!1,this.key=t,this.style=n,this.options=r}return o(e,[{key:"toString",value:function(e){return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=l},"9AAn":function(e,t,n){"use strict";var r=n("wmvG"),o=n("s5qY");e.exports=n("4LiD")("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9C/b":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("m1lR"),c=n.n(l),s=n("4p7I"),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};t.a=function(e){var t=function(t){var n=t.wrappedComponentRef,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["wrappedComponentRef"]);return o.a.createElement(s.a,{children:function(t){return o.a.createElement(e,u({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:a.a.func},c()(t,e)}},"9IzE":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytesToSize=function(e){if(0==e)return"0 Byte";var t=parseInt(Math.floor(Math.log(e)/Math.log(1024)));return parseFloat(e/Math.pow(1024,t),2).toFixed(1)+" "+["Bytes","KB","MB","GB","TB"][t]}},"9P93":function(e,t,n){var r=n("XKFU"),o=Math.imul;r(r.S+r.F*n("eeVq")((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},"9SKx":function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=function(e){return(0,o.default)(e.replace(i,"ms-"))};var o=r(n("DZ0b")),i=/^-ms-/;e.exports=t.default},"9VmF":function(e,t,n){"use strict";var r=n("XKFU"),o=n("ne8i"),i=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},"9XZr":function(e,t,n){"use strict";var r=n("XKFU"),o=n("Lgjv"),i=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"9oF9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("ANjH"),o=a(n("sINF")),i=a(n("fhFi"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return(0,r.createStore)(i.default,(0,r.applyMiddleware)(o.default))}},"9rMk":function(e,t,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(e,t){return t in e}})},"9rSQ":function(e,t,n){"use strict";var r=n("xTJ+");function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},A2zW:function(e,t,n){"use strict";var r=n("XKFU"),o=n("RYi7"),i=n("vvmO"),a=n("l0Rn"),l=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*s[n],s[n]=r%1e7,r=c(r/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=s[t],s[t]=c(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==s[e]){var n=String(s[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},d=function(e,t,n){return 0===t?n:t%2==1?d(e,t-1,n*e):d(e*e,t/2,n)};r(r.P+r.F*(!!l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")((function(){l.call({})}))),"Number",{toFixed:function(e){var t,n,r,l,c=i(this,u),s=o(e),m="",v="0";if(s<0||s>20)throw RangeError(u);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(m="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*d(2,69,1))-69)<0?c*d(2,-t,1):c/d(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(0,n),r=s;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=t-1;r>=23;)h(1<<23),r-=23;h(1<<r),f(1,1),h(2),v=p()}else f(0,n),f(1<<-t,0),v=p()+a.call("0",s);return v=s>0?m+((l=v.length)<=s?"0."+a.call("0",s-l)+v:v.slice(0,l-s)+"."+v.slice(l-s)):m+v}})},A5AN:function(e,t,n){"use strict";var r=n("AvRE")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},A5Xg:function(e,t,n){var r=n("NsO/"),o=n("ar/p").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},"AK+3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};t.default=r},ANhw:function(e,t){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&r.rotl(e,8)|4278255360&r.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=r.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var t=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?t.push(n.charAt(o>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&t.push((n.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|n.indexOf(e.charAt(r))>>>6-2*o);return t}},e.exports=r},ANjH:function(e,t,n){"use strict";n.r(t),n.d(t,"__DO_NOT_USE__ActionTypes",(function(){return i})),n.d(t,"applyMiddleware",(function(){return v})),n.d(t,"bindActionCreators",(function(){return f})),n.d(t,"combineReducers",(function(){return s})),n.d(t,"compose",(function(){return m})),n.d(t,"createStore",(function(){return l}));var r=n("bCCX"),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function a(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function l(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(l)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,s=t,u=[],f=u,h=!1;function p(){f===u&&(f=u.slice())}function d(){if(h)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(h)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(h)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),u=null}}}function v(e){if(!a(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,s=c(s,e)}finally{h=!1}for(var t=u=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,v({type:i.REPLACE})}function g(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}})[r.default]=function(){return this},e}return v({type:i.INIT}),(o={dispatch:v,subscribe:m,getState:d,replaceReducer:y})[r.default]=g,o}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function s(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:i.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:i.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+i.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},i=0;i<l.length;i++){var s=l[i],u=n[s],f=e[s],h=u(f,t);if(void 0===h){var p=c(s,t);throw new Error(p)}o[s]=h,r=r||h!==f}return(r=r||l.length!==Object.keys(e).length)?o:e}}function u(e,t){return function(){return t(e.apply(this,arguments))}}function f(e,t){if("function"==typeof e)return u(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=u(o,t))}return n}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 p(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return d({},n,{dispatch:r=m.apply(void 0,i)(n.dispatch)})}}}},AP2z:function(e,t,n){var r=n("nmnc"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,l=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[l]=n:delete e[l]),o}},AP9n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeContext=t.themes=void 0;var r,o=n("q1tI"),i=(r=o)&&r.__esModule?r:{default:r};var a=t.themes={light:{foreground:"#000000",background:"#eeeeee",foreground_select:"#4CACFF",foreground_orange1:"#FF6800",foreground_tip:"#333"},dark:{foreground:"#ffffff",background:"#222222"}};t.ThemeContext=i.default.createContext(a.light)},AUvm:function(e,t,n){"use strict";var r=n("5T2Y"),o=n("B+OT"),i=n("jmDH"),a=n("Y7ZC"),l=n("kTiW"),c=n("6/1s").KEY,s=n("KUxP"),u=n("29s/"),f=n("RfKB"),h=n("YqAc"),p=n("UWiX"),d=n("zLkG"),m=n("Zxgi"),v=n("R+7+"),y=n("kAMH"),g=n("5K7Z"),b=n("93I4"),w=n("JB68"),x=n("NsO/"),_=n("G8Mo"),k=n("rr1i"),S=n("oVml"),O=n("A5Xg"),M=n("vwuL"),T=n("mqlF"),E=n("2faE"),z=n("w6GO"),C=M.f,P=E.f,A=O.f,j=r.Symbol,L=r.JSON,N=L&&L.stringify,H=p("_hidden"),R=p("toPrimitive"),V={}.propertyIsEnumerable,I=u("symbol-registry"),D=u("symbols"),F=u("op-symbols"),q=Object.prototype,U="function"==typeof j&&!!T.f,B=r.QObject,W=!B||!B.prototype||!B.prototype.findChild,Y=i&&s((function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=C(q,t);r&&delete q[t],P(e,t,n),r&&e!==q&&P(q,t,r)}:P,G=function(e){var t=D[e]=S(j.prototype);return t._k=e,t},K=U&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},X=function(e,t,n){return e===q&&X(F,t,n),g(e),t=_(t,!0),g(n),o(D,t)?(n.enumerable?(o(e,H)&&e[H][t]&&(e[H][t]=!1),n=S(n,{enumerable:k(0,!1)})):(o(e,H)||P(e,H,k(1,{})),e[H][t]=!0),Y(e,t,n)):P(e,t,n)},J=function(e,t){g(e);for(var n,r=v(t=x(t)),o=0,i=r.length;i>o;)X(e,n=r[o++],t[n]);return e},Z=function(e){var t=V.call(this,e=_(e,!0));return!(this===q&&o(D,e)&&!o(F,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,H)&&this[H][e])||t)},$=function(e,t){if(e=x(e),t=_(t,!0),e!==q||!o(D,t)||o(F,t)){var n=C(e,t);return!n||!o(D,t)||o(e,H)&&e[H][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=A(x(e)),r=[],i=0;n.length>i;)o(D,t=n[i++])||t==H||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===q,r=A(n?F:x(e)),i=[],a=0;r.length>a;)!o(D,t=r[a++])||n&&!o(q,t)||i.push(D[t]);return i};U||(l((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(F,n),o(this,H)&&o(this[H],e)&&(this[H][e]=!1),Y(this,e,k(1,n))};return i&&W&&Y(q,e,{configurable:!0,set:t}),G(e)}).prototype,"toString",(function(){return this._k})),M.f=$,E.f=X,n("ar/p").f=O.f=Q,n("NV0k").f=Z,T.f=ee,i&&!n("uOPS")&&l(q,"propertyIsEnumerable",Z,!0),d.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!U,{Symbol:j});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=z(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=j(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!U,"Object",{create:function(e,t){return void 0===t?S(e):J(S(e),t)},defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=s((function(){T.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),L&&a(a.S+a.F*(!U||s((function(){var e=j();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,N.apply(L,r)}}),j.prototype[R]||n("NegM")(j.prototype,R,j.prototype.valueOf),f(j,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),l=n("hPIQ"),c=n("QaDb"),s=n("fyDq"),u=n("OP3Y"),f=n("K0xU")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,d,m,v,y){c(n,t,d);var g,b,w,x=function(e){if(!h&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,S=!1,O=e.prototype,M=O[f]||O["@@iterator"]||m&&O[m],T=M||x(m),E=m?k?x("entries"):T:void 0,z="Array"==t&&O.entries||M;if(z&&(w=u(z.call(new e)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[f]||a(w,f,p)),k&&M&&"values"!==M.name&&(S=!0,T=function(){return M.call(this)}),r&&!y||!h&&!S&&O[f]||a(O,f,T),l[t]=T,l[_]=p,m)if(g={values:k?T:x("values"),keys:v?T:x("keys"),entries:E},y)for(b in g)b in O||i(O,b,g[b]);else o(o.P+o.F*(h||S),t,g);return g}},ApPD:function(e,t,n){var r=n("JB68"),o=n("U+KD");n("zn7N")("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},AphP:function(e,t,n){"use strict";var r=n("XKFU"),o=n("S/j/"),i=n("apmT");r(r.P+r.F*n("eeVq")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},AqCL:function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},AvRE:function(e,t,n){var r=n("RYi7"),o=n("vhPU");e.exports=function(e){return function(t,n){var i,a,l=String(o(t)),c=r(n),s=l.length;return c<0||c>=s?e?"":void 0:(i=l.charCodeAt(c))<55296||i>56319||c+1===s||(a=l.charCodeAt(c+1))<56320||a>57343?e?l.charAt(c):i:e?l.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},AyUB:function(e,t,n){e.exports={default:n("3GJH"),__esModule:!0}},Azq0:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createMuiTheme",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"jssPreset",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"MuiThemeProvider",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"withStyles",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withTheme",{enumerable:!0,get:function(){return s.default}});var o=r(n("w5Wy")),i=r(n("4qVG")),a=r(n("FVT5")),l=r(n("Wty2")),c=r(n("d05B")),s=r(n("PfIm"))},"B+OT":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},BC7C:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},BEtg:function(e,t){e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},"BGR+":function(e,t,n){"use strict";var r=n("QbLZ"),o=n.n(r);t.a=function(e,t){for(var n=o()({},e),r=0;r<t.length;r++){delete n[t[r]]}return n}},"BJ/l":function(e,t,n){var r=n("XKFU");r(r.S,"Math",{log1p:n("1sa7")})},BP8U:function(e,t,n){var r=n("XKFU"),o=n("PKUr");r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},BUzJ:function(e,t,n){},BWVu:function(e,t,n){(function(t){var r;r=function(e){"use strict";function n(){return(n=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 r(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")}()}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var o,i=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){var n;"undefined"!=typeof self&&self,n=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){},function(e,t,n){n.r(t),n(0);var r=function(){function e(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}return e.range=function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc},e}(),o=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}return e.prototype.range=function(t,n){return new e(n,r.range(this,t))},e}(),i=function e(t,n){this.position=void 0;var r,o="KaTeX parse error: "+t,i=n&&n.loc;if(i&&i.start<=i.end){var a=i.lexer.input;r=i.start;var l=i.end;r===a.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var c=a.slice(r,l).replace(/[^]/g,"$&̲");o+=(r>15?"…"+a.slice(r-15,r):a.slice(0,r))+c+(l+15<a.length?a.slice(l,l+15)+"…":a.slice(l))}var s=new Error(o);return s.name="ParseError",s.__proto__=e.prototype,s.position=r,s};i.prototype.__proto__=Error.prototype;var a=i,l=/([A-Z])/g,c={"&":"&",">":">","<":"<",'"':""","'":"'"},s=/[&><"']/g,u=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},f={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(s,(function(e){return c[e]}))},hyphenate:function(e){return e.replace(l,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},h=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=f.deflt(e.displayMode,!1),this.output=f.deflt(e.output,"htmlAndMathml"),this.leqno=f.deflt(e.leqno,!1),this.fleqn=f.deflt(e.fleqn,!1),this.throwOnError=f.deflt(e.throwOnError,!0),this.errorColor=f.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,f.deflt(e.minRuleThickness,0)),this.colorIsTextColor=f.deflt(e.colorIsTextColor,!1),this.strict=f.deflt(e.strict,"warn"),this.trust=f.deflt(e.trust,!1),this.maxSize=Math.max(0,f.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,f.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=f.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),p=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return d[m[this.id]]},t.sub=function(){return d[v[this.id]]},t.fracNum=function(){return d[y[this.id]]},t.fracDen=function(){return d[g[this.id]]},t.cramp=function(){return d[b[this.id]]},t.text=function(){return d[w[this.id]]},t.isTight=function(){return this.size>=2},e}(),d=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],m=[4,5,4,5,6,7,6,7],v=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],g=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:d[0],TEXT:d[2],SCRIPT:d[4],SCRIPTSCRIPT:d[6]},_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function S(e){for(var t=0;t<k.length;t+=2)if(e>=k[t]&&e<=k[t+1])return!0;return!1}_.forEach((function(e){return e.blocks.forEach((function(e){return k.push.apply(k,e)}))}));var O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},M=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),T=function(e){return e.filter((function(e){return e})).join(" ")},E=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},z=function(e){var t=document.createElement(e);for(var n in t.className=T(this.classes),this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},C=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+f.escape(T(this.classes))+'"');var n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=f.hyphenate(r)+":"+this.style[r]+";");for(var o in n&&(t+=' style="'+f.escape(n)+'"'),this.attributes)this.attributes.hasOwnProperty(o)&&(t+=" "+o+'="'+f.escape(this.attributes[o])+'"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"},P=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),A=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"a")},t.toMarkup=function(){return C.call(this,"a")},e}(),j=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=f.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+f.escape(t)+'"'),e+="'/>"},e}(),L={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"},N=function(){function e(e,t,n,r,o,i,a,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=o||0,this.width=i||0,this.classes=a||[],this.style=l||{},this.maxFontSize=0;var c=function(e){for(var t=0;t<_.length;t++)for(var n=_[t],r=0;r<n.blocks.length;r++){var o=n.blocks[r];if(e>=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=L[this.text])}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=T(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=f.escape(T(this.classes)),t+='"');var n="";for(var r in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=f.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.escape(n)+'"');var o=f.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o},e}(),H=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"},e}(),R=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",O[this.pathName]),e},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+O[this.pathName]+"'/>"},e}(),V=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"},e}();function I(e){if(e instanceof N)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var D={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},F={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},q={Å:"A",Ç:"C",Ð:"D",Þ:"o",å:"a",ç:"c",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function U(e,t,n){if(!D[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=D[t][r];if(!o&&e[0]in q&&(r=q[e[0]].charCodeAt(0),o=D[t][r]),o||"text"!==n||S(r)&&(o=D[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var B={},W={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Y={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},G={math:{},text:{}},K=G;function X(e,t,n,r,o,i){G[e][o]={font:t,group:n,replace:r},i&&r&&(G[e][r]=G[e][o])}var J="main",Z="ams",$="bin",Q="mathord",ee="op-token",te="rel";X("math",J,te,"≡","\\equiv",!0),X("math",J,te,"≺","\\prec",!0),X("math",J,te,"≻","\\succ",!0),X("math",J,te,"∼","\\sim",!0),X("math",J,te,"⊥","\\perp"),X("math",J,te,"⪯","\\preceq",!0),X("math",J,te,"⪰","\\succeq",!0),X("math",J,te,"≃","\\simeq",!0),X("math",J,te,"∣","\\mid",!0),X("math",J,te,"≪","\\ll",!0),X("math",J,te,"≫","\\gg",!0),X("math",J,te,"≍","\\asymp",!0),X("math",J,te,"∥","\\parallel"),X("math",J,te,"⋈","\\bowtie",!0),X("math",J,te,"⌣","\\smile",!0),X("math",J,te,"⊑","\\sqsubseteq",!0),X("math",J,te,"⊒","\\sqsupseteq",!0),X("math",J,te,"≐","\\doteq",!0),X("math",J,te,"⌢","\\frown",!0),X("math",J,te,"∋","\\ni",!0),X("math",J,te,"∝","\\propto",!0),X("math",J,te,"⊢","\\vdash",!0),X("math",J,te,"⊣","\\dashv",!0),X("math",J,te,"∋","\\owns"),X("math",J,"punct",".","\\ldotp"),X("math",J,"punct","⋅","\\cdotp"),X("math",J,"textord","#","\\#"),X("text",J,"textord","#","\\#"),X("math",J,"textord","&","\\&"),X("text",J,"textord","&","\\&"),X("math",J,"textord","ℵ","\\aleph",!0),X("math",J,"textord","∀","\\forall",!0),X("math",J,"textord","ℏ","\\hbar",!0),X("math",J,"textord","∃","\\exists",!0),X("math",J,"textord","∇","\\nabla",!0),X("math",J,"textord","♭","\\flat",!0),X("math",J,"textord","ℓ","\\ell",!0),X("math",J,"textord","♮","\\natural",!0),X("math",J,"textord","♣","\\clubsuit",!0),X("math",J,"textord","℘","\\wp",!0),X("math",J,"textord","♯","\\sharp",!0),X("math",J,"textord","♢","\\diamondsuit",!0),X("math",J,"textord","ℜ","\\Re",!0),X("math",J,"textord","♡","\\heartsuit",!0),X("math",J,"textord","ℑ","\\Im",!0),X("math",J,"textord","♠","\\spadesuit",!0),X("text",J,"textord","§","\\S",!0),X("text",J,"textord","¶","\\P",!0),X("math",J,"textord","†","\\dag"),X("text",J,"textord","†","\\dag"),X("text",J,"textord","†","\\textdagger"),X("math",J,"textord","‡","\\ddag"),X("text",J,"textord","‡","\\ddag"),X("text",J,"textord","‡","\\textdaggerdbl"),X("math",J,"close","⎱","\\rmoustache",!0),X("math",J,"open","⎰","\\lmoustache",!0),X("math",J,"close","⟯","\\rgroup",!0),X("math",J,"open","⟮","\\lgroup",!0),X("math",J,$,"∓","\\mp",!0),X("math",J,$,"⊖","\\ominus",!0),X("math",J,$,"⊎","\\uplus",!0),X("math",J,$,"⊓","\\sqcap",!0),X("math",J,$,"∗","\\ast"),X("math",J,$,"⊔","\\sqcup",!0),X("math",J,$,"◯","\\bigcirc"),X("math",J,$,"∙","\\bullet"),X("math",J,$,"‡","\\ddagger"),X("math",J,$,"≀","\\wr",!0),X("math",J,$,"⨿","\\amalg"),X("math",J,$,"&","\\And"),X("math",J,te,"⟵","\\longleftarrow",!0),X("math",J,te,"⇐","\\Leftarrow",!0),X("math",J,te,"⟸","\\Longleftarrow",!0),X("math",J,te,"⟶","\\longrightarrow",!0),X("math",J,te,"⇒","\\Rightarrow",!0),X("math",J,te,"⟹","\\Longrightarrow",!0),X("math",J,te,"↔","\\leftrightarrow",!0),X("math",J,te,"⟷","\\longleftrightarrow",!0),X("math",J,te,"⇔","\\Leftrightarrow",!0),X("math",J,te,"⟺","\\Longleftrightarrow",!0),X("math",J,te,"↦","\\mapsto",!0),X("math",J,te,"⟼","\\longmapsto",!0),X("math",J,te,"↗","\\nearrow",!0),X("math",J,te,"↩","\\hookleftarrow",!0),X("math",J,te,"↪","\\hookrightarrow",!0),X("math",J,te,"↘","\\searrow",!0),X("math",J,te,"↼","\\leftharpoonup",!0),X("math",J,te,"⇀","\\rightharpoonup",!0),X("math",J,te,"↙","\\swarrow",!0),X("math",J,te,"↽","\\leftharpoondown",!0),X("math",J,te,"⇁","\\rightharpoondown",!0),X("math",J,te,"↖","\\nwarrow",!0),X("math",J,te,"⇌","\\rightleftharpoons",!0),X("math",Z,te,"≮","\\nless",!0),X("math",Z,te,"","\\@nleqslant"),X("math",Z,te,"","\\@nleqq"),X("math",Z,te,"⪇","\\lneq",!0),X("math",Z,te,"≨","\\lneqq",!0),X("math",Z,te,"","\\@lvertneqq"),X("math",Z,te,"⋦","\\lnsim",!0),X("math",Z,te,"⪉","\\lnapprox",!0),X("math",Z,te,"⊀","\\nprec",!0),X("math",Z,te,"⋠","\\npreceq",!0),X("math",Z,te,"⋨","\\precnsim",!0),X("math",Z,te,"⪹","\\precnapprox",!0),X("math",Z,te,"≁","\\nsim",!0),X("math",Z,te,"","\\@nshortmid"),X("math",Z,te,"∤","\\nmid",!0),X("math",Z,te,"⊬","\\nvdash",!0),X("math",Z,te,"⊭","\\nvDash",!0),X("math",Z,te,"⋪","\\ntriangleleft"),X("math",Z,te,"⋬","\\ntrianglelefteq",!0),X("math",Z,te,"⊊","\\subsetneq",!0),X("math",Z,te,"","\\@varsubsetneq"),X("math",Z,te,"⫋","\\subsetneqq",!0),X("math",Z,te,"","\\@varsubsetneqq"),X("math",Z,te,"≯","\\ngtr",!0),X("math",Z,te,"","\\@ngeqslant"),X("math",Z,te,"","\\@ngeqq"),X("math",Z,te,"⪈","\\gneq",!0),X("math",Z,te,"≩","\\gneqq",!0),X("math",Z,te,"","\\@gvertneqq"),X("math",Z,te,"⋧","\\gnsim",!0),X("math",Z,te,"⪊","\\gnapprox",!0),X("math",Z,te,"⊁","\\nsucc",!0),X("math",Z,te,"⋡","\\nsucceq",!0),X("math",Z,te,"⋩","\\succnsim",!0),X("math",Z,te,"⪺","\\succnapprox",!0),X("math",Z,te,"≆","\\ncong",!0),X("math",Z,te,"","\\@nshortparallel"),X("math",Z,te,"∦","\\nparallel",!0),X("math",Z,te,"⊯","\\nVDash",!0),X("math",Z,te,"⋫","\\ntriangleright"),X("math",Z,te,"⋭","\\ntrianglerighteq",!0),X("math",Z,te,"","\\@nsupseteqq"),X("math",Z,te,"⊋","\\supsetneq",!0),X("math",Z,te,"","\\@varsupsetneq"),X("math",Z,te,"⫌","\\supsetneqq",!0),X("math",Z,te,"","\\@varsupsetneqq"),X("math",Z,te,"⊮","\\nVdash",!0),X("math",Z,te,"⪵","\\precneqq",!0),X("math",Z,te,"⪶","\\succneqq",!0),X("math",Z,te,"","\\@nsubseteqq"),X("math",Z,$,"⊴","\\unlhd"),X("math",Z,$,"⊵","\\unrhd"),X("math",Z,te,"↚","\\nleftarrow",!0),X("math",Z,te,"↛","\\nrightarrow",!0),X("math",Z,te,"⇍","\\nLeftarrow",!0),X("math",Z,te,"⇏","\\nRightarrow",!0),X("math",Z,te,"↮","\\nleftrightarrow",!0),X("math",Z,te,"⇎","\\nLeftrightarrow",!0),X("math",Z,te,"△","\\vartriangle"),X("math",Z,"textord","ℏ","\\hslash"),X("math",Z,"textord","▽","\\triangledown"),X("math",Z,"textord","◊","\\lozenge"),X("math",Z,"textord","Ⓢ","\\circledS"),X("math",Z,"textord","®","\\circledR"),X("text",Z,"textord","®","\\circledR"),X("math",Z,"textord","∡","\\measuredangle",!0),X("math",Z,"textord","∄","\\nexists"),X("math",Z,"textord","℧","\\mho"),X("math",Z,"textord","Ⅎ","\\Finv",!0),X("math",Z,"textord","⅁","\\Game",!0),X("math",Z,"textord","‵","\\backprime"),X("math",Z,"textord","▲","\\blacktriangle"),X("math",Z,"textord","▼","\\blacktriangledown"),X("math",Z,"textord","■","\\blacksquare"),X("math",Z,"textord","⧫","\\blacklozenge"),X("math",Z,"textord","★","\\bigstar"),X("math",Z,"textord","∢","\\sphericalangle",!0),X("math",Z,"textord","∁","\\complement",!0),X("math",Z,"textord","ð","\\eth",!0),X("math",Z,"textord","╱","\\diagup"),X("math",Z,"textord","╲","\\diagdown"),X("math",Z,"textord","□","\\square"),X("math",Z,"textord","□","\\Box"),X("math",Z,"textord","◊","\\Diamond"),X("math",Z,"textord","¥","\\yen",!0),X("text",Z,"textord","¥","\\yen",!0),X("math",Z,"textord","✓","\\checkmark",!0),X("text",Z,"textord","✓","\\checkmark"),X("math",Z,"textord","ℶ","\\beth",!0),X("math",Z,"textord","ℸ","\\daleth",!0),X("math",Z,"textord","ℷ","\\gimel",!0),X("math",Z,"textord","ϝ","\\digamma",!0),X("math",Z,"textord","ϰ","\\varkappa"),X("math",Z,"open","┌","\\ulcorner",!0),X("math",Z,"close","┐","\\urcorner",!0),X("math",Z,"open","└","\\llcorner",!0),X("math",Z,"close","┘","\\lrcorner",!0),X("math",Z,te,"≦","\\leqq",!0),X("math",Z,te,"⩽","\\leqslant",!0),X("math",Z,te,"⪕","\\eqslantless",!0),X("math",Z,te,"≲","\\lesssim",!0),X("math",Z,te,"⪅","\\lessapprox",!0),X("math",Z,te,"≊","\\approxeq",!0),X("math",Z,$,"⋖","\\lessdot"),X("math",Z,te,"⋘","\\lll",!0),X("math",Z,te,"≶","\\lessgtr",!0),X("math",Z,te,"⋚","\\lesseqgtr",!0),X("math",Z,te,"⪋","\\lesseqqgtr",!0),X("math",Z,te,"≑","\\doteqdot"),X("math",Z,te,"≓","\\risingdotseq",!0),X("math",Z,te,"≒","\\fallingdotseq",!0),X("math",Z,te,"∽","\\backsim",!0),X("math",Z,te,"⋍","\\backsimeq",!0),X("math",Z,te,"⫅","\\subseteqq",!0),X("math",Z,te,"⋐","\\Subset",!0),X("math",Z,te,"⊏","\\sqsubset",!0),X("math",Z,te,"≼","\\preccurlyeq",!0),X("math",Z,te,"⋞","\\curlyeqprec",!0),X("math",Z,te,"≾","\\precsim",!0),X("math",Z,te,"⪷","\\precapprox",!0),X("math",Z,te,"⊲","\\vartriangleleft"),X("math",Z,te,"⊴","\\trianglelefteq"),X("math",Z,te,"⊨","\\vDash",!0),X("math",Z,te,"⊪","\\Vvdash",!0),X("math",Z,te,"⌣","\\smallsmile"),X("math",Z,te,"⌢","\\smallfrown"),X("math",Z,te,"≏","\\bumpeq",!0),X("math",Z,te,"≎","\\Bumpeq",!0),X("math",Z,te,"≧","\\geqq",!0),X("math",Z,te,"⩾","\\geqslant",!0),X("math",Z,te,"⪖","\\eqslantgtr",!0),X("math",Z,te,"≳","\\gtrsim",!0),X("math",Z,te,"⪆","\\gtrapprox",!0),X("math",Z,$,"⋗","\\gtrdot"),X("math",Z,te,"⋙","\\ggg",!0),X("math",Z,te,"≷","\\gtrless",!0),X("math",Z,te,"⋛","\\gtreqless",!0),X("math",Z,te,"⪌","\\gtreqqless",!0),X("math",Z,te,"≖","\\eqcirc",!0),X("math",Z,te,"≗","\\circeq",!0),X("math",Z,te,"≜","\\triangleq",!0),X("math",Z,te,"∼","\\thicksim"),X("math",Z,te,"≈","\\thickapprox"),X("math",Z,te,"⫆","\\supseteqq",!0),X("math",Z,te,"⋑","\\Supset",!0),X("math",Z,te,"⊐","\\sqsupset",!0),X("math",Z,te,"≽","\\succcurlyeq",!0),X("math",Z,te,"⋟","\\curlyeqsucc",!0),X("math",Z,te,"≿","\\succsim",!0),X("math",Z,te,"⪸","\\succapprox",!0),X("math",Z,te,"⊳","\\vartriangleright"),X("math",Z,te,"⊵","\\trianglerighteq"),X("math",Z,te,"⊩","\\Vdash",!0),X("math",Z,te,"∣","\\shortmid"),X("math",Z,te,"∥","\\shortparallel"),X("math",Z,te,"≬","\\between",!0),X("math",Z,te,"⋔","\\pitchfork",!0),X("math",Z,te,"∝","\\varpropto"),X("math",Z,te,"◀","\\blacktriangleleft"),X("math",Z,te,"∴","\\therefore",!0),X("math",Z,te,"∍","\\backepsilon"),X("math",Z,te,"▶","\\blacktriangleright"),X("math",Z,te,"∵","\\because",!0),X("math",Z,te,"⋘","\\llless"),X("math",Z,te,"⋙","\\gggtr"),X("math",Z,$,"⊲","\\lhd"),X("math",Z,$,"⊳","\\rhd"),X("math",Z,te,"≂","\\eqsim",!0),X("math",J,te,"⋈","\\Join"),X("math",Z,te,"≑","\\Doteq",!0),X("math",Z,$,"∔","\\dotplus",!0),X("math",Z,$,"∖","\\smallsetminus"),X("math",Z,$,"⋒","\\Cap",!0),X("math",Z,$,"⋓","\\Cup",!0),X("math",Z,$,"⩞","\\doublebarwedge",!0),X("math",Z,$,"⊟","\\boxminus",!0),X("math",Z,$,"⊞","\\boxplus",!0),X("math",Z,$,"⋇","\\divideontimes",!0),X("math",Z,$,"⋉","\\ltimes",!0),X("math",Z,$,"⋊","\\rtimes",!0),X("math",Z,$,"⋋","\\leftthreetimes",!0),X("math",Z,$,"⋌","\\rightthreetimes",!0),X("math",Z,$,"⋏","\\curlywedge",!0),X("math",Z,$,"⋎","\\curlyvee",!0),X("math",Z,$,"⊝","\\circleddash",!0),X("math",Z,$,"⊛","\\circledast",!0),X("math",Z,$,"⋅","\\centerdot"),X("math",Z,$,"⊺","\\intercal",!0),X("math",Z,$,"⋒","\\doublecap"),X("math",Z,$,"⋓","\\doublecup"),X("math",Z,$,"⊠","\\boxtimes",!0),X("math",Z,te,"⇢","\\dashrightarrow",!0),X("math",Z,te,"⇠","\\dashleftarrow",!0),X("math",Z,te,"⇇","\\leftleftarrows",!0),X("math",Z,te,"⇆","\\leftrightarrows",!0),X("math",Z,te,"⇚","\\Lleftarrow",!0),X("math",Z,te,"↞","\\twoheadleftarrow",!0),X("math",Z,te,"↢","\\leftarrowtail",!0),X("math",Z,te,"↫","\\looparrowleft",!0),X("math",Z,te,"⇋","\\leftrightharpoons",!0),X("math",Z,te,"↶","\\curvearrowleft",!0),X("math",Z,te,"↺","\\circlearrowleft",!0),X("math",Z,te,"↰","\\Lsh",!0),X("math",Z,te,"⇈","\\upuparrows",!0),X("math",Z,te,"↿","\\upharpoonleft",!0),X("math",Z,te,"⇃","\\downharpoonleft",!0),X("math",Z,te,"⊸","\\multimap",!0),X("math",Z,te,"↭","\\leftrightsquigarrow",!0),X("math",Z,te,"⇉","\\rightrightarrows",!0),X("math",Z,te,"⇄","\\rightleftarrows",!0),X("math",Z,te,"↠","\\twoheadrightarrow",!0),X("math",Z,te,"↣","\\rightarrowtail",!0),X("math",Z,te,"↬","\\looparrowright",!0),X("math",Z,te,"↷","\\curvearrowright",!0),X("math",Z,te,"↻","\\circlearrowright",!0),X("math",Z,te,"↱","\\Rsh",!0),X("math",Z,te,"⇊","\\downdownarrows",!0),X("math",Z,te,"↾","\\upharpoonright",!0),X("math",Z,te,"⇂","\\downharpoonright",!0),X("math",Z,te,"⇝","\\rightsquigarrow",!0),X("math",Z,te,"⇝","\\leadsto"),X("math",Z,te,"⇛","\\Rrightarrow",!0),X("math",Z,te,"↾","\\restriction"),X("math",J,"textord","‘","`"),X("math",J,"textord","$","\\$"),X("text",J,"textord","$","\\$"),X("text",J,"textord","$","\\textdollar"),X("math",J,"textord","%","\\%"),X("text",J,"textord","%","\\%"),X("math",J,"textord","_","\\_"),X("text",J,"textord","_","\\_"),X("text",J,"textord","_","\\textunderscore"),X("math",J,"textord","∠","\\angle",!0),X("math",J,"textord","∞","\\infty",!0),X("math",J,"textord","′","\\prime"),X("math",J,"textord","△","\\triangle"),X("math",J,"textord","Γ","\\Gamma",!0),X("math",J,"textord","Δ","\\Delta",!0),X("math",J,"textord","Θ","\\Theta",!0),X("math",J,"textord","Λ","\\Lambda",!0),X("math",J,"textord","Ξ","\\Xi",!0),X("math",J,"textord","Π","\\Pi",!0),X("math",J,"textord","Σ","\\Sigma",!0),X("math",J,"textord","Υ","\\Upsilon",!0),X("math",J,"textord","Φ","\\Phi",!0),X("math",J,"textord","Ψ","\\Psi",!0),X("math",J,"textord","Ω","\\Omega",!0),X("math",J,"textord","A","Α"),X("math",J,"textord","B","Β"),X("math",J,"textord","E","Ε"),X("math",J,"textord","Z","Ζ"),X("math",J,"textord","H","Η"),X("math",J,"textord","I","Ι"),X("math",J,"textord","K","Κ"),X("math",J,"textord","M","Μ"),X("math",J,"textord","N","Ν"),X("math",J,"textord","O","Ο"),X("math",J,"textord","P","Ρ"),X("math",J,"textord","T","Τ"),X("math",J,"textord","X","Χ"),X("math",J,"textord","¬","\\neg",!0),X("math",J,"textord","¬","\\lnot"),X("math",J,"textord","⊤","\\top"),X("math",J,"textord","⊥","\\bot"),X("math",J,"textord","∅","\\emptyset"),X("math",Z,"textord","∅","\\varnothing"),X("math",J,Q,"α","\\alpha",!0),X("math",J,Q,"β","\\beta",!0),X("math",J,Q,"γ","\\gamma",!0),X("math",J,Q,"δ","\\delta",!0),X("math",J,Q,"ϵ","\\epsilon",!0),X("math",J,Q,"ζ","\\zeta",!0),X("math",J,Q,"η","\\eta",!0),X("math",J,Q,"θ","\\theta",!0),X("math",J,Q,"ι","\\iota",!0),X("math",J,Q,"κ","\\kappa",!0),X("math",J,Q,"λ","\\lambda",!0),X("math",J,Q,"μ","\\mu",!0),X("math",J,Q,"ν","\\nu",!0),X("math",J,Q,"ξ","\\xi",!0),X("math",J,Q,"ο","\\omicron",!0),X("math",J,Q,"π","\\pi",!0),X("math",J,Q,"ρ","\\rho",!0),X("math",J,Q,"σ","\\sigma",!0),X("math",J,Q,"τ","\\tau",!0),X("math",J,Q,"υ","\\upsilon",!0),X("math",J,Q,"ϕ","\\phi",!0),X("math",J,Q,"χ","\\chi",!0),X("math",J,Q,"ψ","\\psi",!0),X("math",J,Q,"ω","\\omega",!0),X("math",J,Q,"ε","\\varepsilon",!0),X("math",J,Q,"ϑ","\\vartheta",!0),X("math",J,Q,"ϖ","\\varpi",!0),X("math",J,Q,"ϱ","\\varrho",!0),X("math",J,Q,"ς","\\varsigma",!0),X("math",J,Q,"φ","\\varphi",!0),X("math",J,$,"∗","*"),X("math",J,$,"+","+"),X("math",J,$,"−","-"),X("math",J,$,"⋅","\\cdot",!0),X("math",J,$,"∘","\\circ"),X("math",J,$,"÷","\\div",!0),X("math",J,$,"±","\\pm",!0),X("math",J,$,"×","\\times",!0),X("math",J,$,"∩","\\cap",!0),X("math",J,$,"∪","\\cup",!0),X("math",J,$,"∖","\\setminus"),X("math",J,$,"∧","\\land"),X("math",J,$,"∨","\\lor"),X("math",J,$,"∧","\\wedge",!0),X("math",J,$,"∨","\\vee",!0),X("math",J,"textord","√","\\surd"),X("math",J,"open","(","("),X("math",J,"open","[","["),X("math",J,"open","⟨","\\langle",!0),X("math",J,"open","∣","\\lvert"),X("math",J,"open","∥","\\lVert"),X("math",J,"close",")",")"),X("math",J,"close","]","]"),X("math",J,"close","?","?"),X("math",J,"close","!","!"),X("math",J,"close","⟩","\\rangle",!0),X("math",J,"close","∣","\\rvert"),X("math",J,"close","∥","\\rVert"),X("math",J,te,"=","="),X("math",J,te,"<","<"),X("math",J,te,">",">"),X("math",J,te,":",":"),X("math",J,te,"≈","\\approx",!0),X("math",J,te,"≅","\\cong",!0),X("math",J,te,"≥","\\ge"),X("math",J,te,"≥","\\geq",!0),X("math",J,te,"←","\\gets"),X("math",J,te,">","\\gt"),X("math",J,te,"∈","\\in",!0),X("math",J,te,"","\\@not"),X("math",J,te,"⊂","\\subset",!0),X("math",J,te,"⊃","\\supset",!0),X("math",J,te,"⊆","\\subseteq",!0),X("math",J,te,"⊇","\\supseteq",!0),X("math",Z,te,"⊈","\\nsubseteq",!0),X("math",Z,te,"⊉","\\nsupseteq",!0),X("math",J,te,"⊨","\\models"),X("math",J,te,"←","\\leftarrow",!0),X("math",J,te,"≤","\\le"),X("math",J,te,"≤","\\leq",!0),X("math",J,te,"<","\\lt"),X("math",J,te,"→","\\rightarrow",!0),X("math",J,te,"→","\\to"),X("math",Z,te,"≱","\\ngeq",!0),X("math",Z,te,"≰","\\nleq",!0),X("math",J,"spacing"," ","\\ "),X("math",J,"spacing"," ","~"),X("math",J,"spacing"," ","\\space"),X("math",J,"spacing"," ","\\nobreakspace"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," ","~"),X("text",J,"spacing"," ","\\space"),X("text",J,"spacing"," ","\\nobreakspace"),X("math",J,"spacing",null,"\\nobreak"),X("math",J,"spacing",null,"\\allowbreak"),X("math",J,"punct",",",","),X("math",J,"punct",";",";"),X("math",Z,$,"⊼","\\barwedge",!0),X("math",Z,$,"⊻","\\veebar",!0),X("math",J,$,"⊙","\\odot",!0),X("math",J,$,"⊕","\\oplus",!0),X("math",J,$,"⊗","\\otimes",!0),X("math",J,"textord","∂","\\partial",!0),X("math",J,$,"⊘","\\oslash",!0),X("math",Z,$,"⊚","\\circledcirc",!0),X("math",Z,$,"⊡","\\boxdot",!0),X("math",J,$,"△","\\bigtriangleup"),X("math",J,$,"▽","\\bigtriangledown"),X("math",J,$,"†","\\dagger"),X("math",J,$,"⋄","\\diamond"),X("math",J,$,"⋆","\\star"),X("math",J,$,"◃","\\triangleleft"),X("math",J,$,"▹","\\triangleright"),X("math",J,"open","{","\\{"),X("text",J,"textord","{","\\{"),X("text",J,"textord","{","\\textbraceleft"),X("math",J,"close","}","\\}"),X("text",J,"textord","}","\\}"),X("text",J,"textord","}","\\textbraceright"),X("math",J,"open","{","\\lbrace"),X("math",J,"close","}","\\rbrace"),X("math",J,"open","[","\\lbrack"),X("text",J,"textord","[","\\lbrack"),X("math",J,"close","]","\\rbrack"),X("text",J,"textord","]","\\rbrack"),X("math",J,"open","(","\\lparen"),X("math",J,"close",")","\\rparen"),X("text",J,"textord","<","\\textless"),X("text",J,"textord",">","\\textgreater"),X("math",J,"open","⌊","\\lfloor",!0),X("math",J,"close","⌋","\\rfloor",!0),X("math",J,"open","⌈","\\lceil",!0),X("math",J,"close","⌉","\\rceil",!0),X("math",J,"textord","\\","\\backslash"),X("math",J,"textord","∣","|"),X("math",J,"textord","∣","\\vert"),X("text",J,"textord","|","\\textbar"),X("math",J,"textord","∥","\\|"),X("math",J,"textord","∥","\\Vert"),X("text",J,"textord","∥","\\textbardbl"),X("text",J,"textord","~","\\textasciitilde"),X("text",J,"textord","\\","\\textbackslash"),X("text",J,"textord","^","\\textasciicircum"),X("math",J,te,"↑","\\uparrow",!0),X("math",J,te,"⇑","\\Uparrow",!0),X("math",J,te,"↓","\\downarrow",!0),X("math",J,te,"⇓","\\Downarrow",!0),X("math",J,te,"↕","\\updownarrow",!0),X("math",J,te,"⇕","\\Updownarrow",!0),X("math",J,ee,"∐","\\coprod"),X("math",J,ee,"⋁","\\bigvee"),X("math",J,ee,"⋀","\\bigwedge"),X("math",J,ee,"⨄","\\biguplus"),X("math",J,ee,"⋂","\\bigcap"),X("math",J,ee,"⋃","\\bigcup"),X("math",J,ee,"∫","\\int"),X("math",J,ee,"∫","\\intop"),X("math",J,ee,"∬","\\iint"),X("math",J,ee,"∭","\\iiint"),X("math",J,ee,"∏","\\prod"),X("math",J,ee,"∑","\\sum"),X("math",J,ee,"⨂","\\bigotimes"),X("math",J,ee,"⨁","\\bigoplus"),X("math",J,ee,"⨀","\\bigodot"),X("math",J,ee,"∮","\\oint"),X("math",J,ee,"∯","\\oiint"),X("math",J,ee,"∰","\\oiiint"),X("math",J,ee,"⨆","\\bigsqcup"),X("math",J,ee,"∫","\\smallint"),X("text",J,"inner","…","\\textellipsis"),X("math",J,"inner","…","\\mathellipsis"),X("text",J,"inner","…","\\ldots",!0),X("math",J,"inner","…","\\ldots",!0),X("math",J,"inner","⋯","\\@cdots",!0),X("math",J,"inner","⋱","\\ddots",!0),X("math",J,"textord","⋮","\\varvdots"),X("math",J,"accent-token","ˊ","\\acute"),X("math",J,"accent-token","ˋ","\\grave"),X("math",J,"accent-token","¨","\\ddot"),X("math",J,"accent-token","~","\\tilde"),X("math",J,"accent-token","ˉ","\\bar"),X("math",J,"accent-token","˘","\\breve"),X("math",J,"accent-token","ˇ","\\check"),X("math",J,"accent-token","^","\\hat"),X("math",J,"accent-token","⃗","\\vec"),X("math",J,"accent-token","˙","\\dot"),X("math",J,"accent-token","˚","\\mathring"),X("math",J,Q,"ı","\\imath",!0),X("math",J,Q,"ȷ","\\jmath",!0),X("text",J,"textord","ı","\\i",!0),X("text",J,"textord","ȷ","\\j",!0),X("text",J,"textord","ß","\\ss",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","œ","\\oe",!0),X("text",J,"textord","ø","\\o",!0),X("text",J,"textord","Æ","\\AE",!0),X("text",J,"textord","Œ","\\OE",!0),X("text",J,"textord","Ø","\\O",!0),X("text",J,"accent-token","ˊ","\\'"),X("text",J,"accent-token","ˋ","\\`"),X("text",J,"accent-token","ˆ","\\^"),X("text",J,"accent-token","˜","\\~"),X("text",J,"accent-token","ˉ","\\="),X("text",J,"accent-token","˘","\\u"),X("text",J,"accent-token","˙","\\."),X("text",J,"accent-token","˚","\\r"),X("text",J,"accent-token","ˇ","\\v"),X("text",J,"accent-token","¨",'\\"'),X("text",J,"accent-token","˝","\\H"),X("text",J,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};X("text",J,"textord","–","--"),X("text",J,"textord","–","\\textendash"),X("text",J,"textord","—","---"),X("text",J,"textord","—","\\textemdash"),X("text",J,"textord","‘","`"),X("text",J,"textord","‘","\\textquoteleft"),X("text",J,"textord","’","'"),X("text",J,"textord","’","\\textquoteright"),X("text",J,"textord","“","``"),X("text",J,"textord","“","\\textquotedblleft"),X("text",J,"textord","”","''"),X("text",J,"textord","”","\\textquotedblright"),X("math",J,"textord","°","\\degree",!0),X("text",J,"textord","°","\\degree"),X("text",J,"textord","°","\\textdegree",!0),X("math",J,Q,"£","\\pounds"),X("math",J,Q,"£","\\mathsterling",!0),X("text",J,Q,"£","\\pounds"),X("text",J,Q,"£","\\textsterling",!0),X("math",Z,"textord","✠","\\maltese"),X("text",Z,"textord","✠","\\maltese"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," "," "),X("text",J,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);X("math",J,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);X("text",J,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce<le.length;ce++){var se=le.charAt(ce);X("math",J,Q,se,se),X("text",J,"textord",se,se)}X("math",Z,"textord","C","ℂ"),X("text",Z,"textord","C","ℂ"),X("math",Z,"textord","H","ℍ"),X("text",Z,"textord","H","ℍ"),X("math",Z,"textord","N","ℕ"),X("text",Z,"textord","N","ℕ"),X("math",Z,"textord","P","ℙ"),X("text",Z,"textord","P","ℙ"),X("math",Z,"textord","Q","ℚ"),X("text",Z,"textord","Q","ℚ"),X("math",Z,"textord","R","ℝ"),X("text",Z,"textord","R","ℝ"),X("math",Z,"textord","Z","ℤ"),X("text",Z,"textord","Z","ℤ"),X("math",J,Q,"h","ℎ"),X("text",J,Q,"h","ℎ");for(var ue="",fe=0;fe<le.length;fe++){var he=le.charAt(fe);X("math",J,Q,he,ue=String.fromCharCode(55349,56320+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56372+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56424+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56580+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56736+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56788+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56840+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56944+fe)),X("text",J,"textord",he,ue),fe<26&&(X("math",J,Q,he,ue=String.fromCharCode(55349,56632+fe)),X("text",J,"textord",he,ue),X("math",J,Q,he,ue=String.fromCharCode(55349,56476+fe)),X("text",J,"textord",he,ue))}X("math",J,Q,"k",ue=String.fromCharCode(55349,56668)),X("text",J,"textord","k",ue);for(var pe=0;pe<10;pe++){var de=pe.toString();X("math",J,Q,de,ue=String.fromCharCode(55349,57294+pe)),X("text",J,"textord",de,ue),X("math",J,Q,de,ue=String.fromCharCode(55349,57314+pe)),X("text",J,"textord",de,ue),X("math",J,Q,de,ue=String.fromCharCode(55349,57324+pe)),X("text",J,"textord",de,ue),X("math",J,Q,de,ue=String.fromCharCode(55349,57334+pe)),X("text",J,"textord",de,ue)}for(var me=0;me<"ÇÐÞçþ".length;me++){var ve="ÇÐÞçþ".charAt(me);X("math",J,Q,ve,ve),X("text",J,"textord",ve,ve)}X("text",J,"textord","ð","ð"),X("text",J,"textord","–","–"),X("text",J,"textord","—","—"),X("text",J,"textord","‘","‘"),X("text",J,"textord","’","’"),X("text",J,"textord","“","“"),X("text",J,"textord","”","”");var ye=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],be=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],we=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],xe=function(e,t){return t.size<2?e:be[e-1][t.size-1]},_e=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=we[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:xe(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:we[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var n=xe(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!B[t=e>=5?0:e>=3?1:2]){var n=B[t]={cssEmPerMu:F.quad[t]/18};for(var r in F)F.hasOwnProperty(r)&&(n[r]=F[r][t])}return B[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();_e.BASESIZE=6;var ke=_e,Se={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Oe={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Se||e in Oe||"ex"===e},Te=function(e,t){var n;if(e.unit in Se)n=Se[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Ee=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],ze=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:U(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=ze(e,t,n),l=a.metrics;if(e=a.value,l){var c=l.italic;("text"===n||r&&"mathit"===r.font)&&(c=0),i=new N(e,l.height,l.depth,c,l.skew,l.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new N(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var s=r.getColor();s&&(i.style.color=s)}return i},Pe=function(e,t){if(T(e.classes)!==T(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},Ae=function(e){for(var t=0,n=0,r=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},je=function(e,t,n,r){var o=new P(e,t,n,r);return Ae(o),o},Le=function(e,t,n,r){return new P(e,t,n,r)},Ne=function(e){var t=new M(e);return Ae(t),t},He=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Re={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ve={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ie={fontMap:Re,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&ze(e,"Main-Bold",t).metrics?Ce(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===K[t][e].font?Ce(e,"Main-Regular",t,n,r):Ce(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:je,makeSvgSpan:Le,makeLineSpan:function(e,t,n){var r=je([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new A(e,t,n,r);return Ae(o),o},makeFragment:Ne,wrapFragment:function(e,t){return e instanceof M?je([],[e],t):e},makeVList:function(e,t){for(var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,l=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,n.push({type:"kern",size:l}),n.push(t[i])}return{children:n,depth:r}}var c;if("top"===e.positionType){for(var s=e.positionData,u=0;u<e.children.length;u++){var f=e.children[u];s-="kern"===f.type?f.size:f.elem.height+f.elem.depth}c=s}else if("bottom"===e.positionType)c=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)c=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");c=-h.elem.depth}}return{children:e.children,depth:c}}(e),r=n.children,o=n.depth,i=0,a=0;a<r.length;a++){var l=r[a];if("elem"===l.type){var c=l.elem;i=Math.max(i,c.maxFontSize,c.height)}}i+=2;var s=je(["pstrut"],[]);s.style.height=i+"em";for(var u=[],f=o,h=o,p=o,d=0;d<r.length;d++){var m=r[d];if("kern"===m.type)p+=m.size;else{var v=m.elem,y=m.wrapperClasses||[],g=m.wrapperStyle||{},b=je(y,[s,v],void 0,g);b.style.top=-i-p-v.depth+"em",m.marginLeft&&(b.style.marginLeft=m.marginLeft),m.marginRight&&(b.style.marginRight=m.marginRight),u.push(b),p+=v.height+v.depth}f=Math.min(f,p),h=Math.max(h,p)}var w,x=je(["vlist"],u);if(x.style.height=h+"em",f<0){var _=je([],[]),k=je(["vlist"],[_]);k.style.height=-f+"em";var S=je(["vlist-s"],[new N("​")]);w=[je(["vlist-r"],[x,S]),je(["vlist-r"],[k])]}else w=[je(["vlist-r"],[x])];var O=je(["vlist-t"],w);return 2===w.length&&O.classes.push("vlist-t2"),O.height=h,O.depth=-f,O},makeOrd:function(e,t,n){var r,o=e.mode,i=e.text,l=["mord"],c="math"===o||"text"===o&&t.font,s=c?t.font:t.fontFamily;if(55349===i.charCodeAt(0)){var u=function(e,t){var n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,r="math"===t?0:1;if(119808<=n&&n<120484){var o=Math.floor((n-119808)/26);return[ye[o][2],ye[o][r]]}if(120782<=n&&n<=120831){var i=Math.floor((n-120782)/10);return[ge[i][2],ge[i][r]]}if(120485===n||120486===n)return[ye[0][2],ye[0][r]];if(120486<n&&n<120782)return["",""];throw new a("Unsupported character: "+e)}(i,o),h=u[0],p=u[1];return Ce(i,h,o,t,l.concat(p))}if(s){var d,m;if("boldsymbol"===s||"mathnormal"===s){var v="boldsymbol"===s?function(e,t,n,r){return ze(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,o):(r=i,f.contains(Ee,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"});d=v.fontName,m=[v.fontClass]}else f.contains(Ee,i)?(d="Main-Italic",m=["mathit"]):c?(d=Re[s].fontName,m=[s]):(d=He(s,t.fontWeight,t.fontShape),m=[s,t.fontWeight,t.fontShape]);if(ze(i,d,o).metrics)return Ce(i,d,o,t,l.concat(m));if(ne.hasOwnProperty(i)&&"Typewriter"===d.substr(0,10)){for(var y=[],g=0;g<i.length;g++)y.push(Ce(i[g],d,o,t,l.concat(m)));return Ne(y)}}if("mathord"===n){var b=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||f.contains(Ee,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}}(i);return Ce(i,b.fontName,o,t,l.concat([b.fontClass]))}if("textord"===n){var w=K[o][i]&&K[o][i].font;if("ams"===w){var x=He("amsrm",t.fontWeight,t.fontShape);return Ce(i,x,o,t,l.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==w&&w){var _=He(w,t.fontWeight,t.fontShape);return Ce(i,_,o,t,l.concat(_,t.fontWeight,t.fontShape))}var k=He("textrm",t.fontWeight,t.fontShape);return Ce(i,k,o,t,l.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:function(e,t){var n=je(["mspace"],[],t),r=Te(e,t);return n.style.marginRight=r+"em",n},staticSvg:function(e,t){var n=Ve[e],r=n[0],o=n[1],i=n[2],a=new R(r),l=new H([a],{width:o+"em",height:i+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=Le(["overlay"],[l],t);return c.height=i,c.style.height=i+"em",c.style.width=o+"em",c},svgData:Ve,tryCombineChars:function(e){for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof N&&r instanceof N&&Pe(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}};function De(e,t){var n=Fe(e,t);if(!n)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return n}function Fe(e,t){return e&&e.type===t?e:null}function qe(e,t){var n=function(e,t){return e&&"atom"===e.type&&e.family===t?e:null}(e,t);if(!n)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return n}function Ue(e){var t=Be(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Be(e){return e&&("atom"===e.type||Y.hasOwnProperty(e.type))?e:null}var We={number:3,unit:"mu"},Ye={number:4,unit:"mu"},Ge={number:5,unit:"mu"},Ke={mord:{mop:We,mbin:Ye,mrel:Ge,minner:We},mop:{mord:We,mop:We,mrel:Ge,minner:We},mbin:{mord:Ye,mop:Ye,mopen:Ye,minner:Ye},mrel:{mord:Ge,mop:Ge,mopen:Ge,minner:Ge},mopen:{},mclose:{mop:We,mbin:Ye,mrel:Ge,minner:We},mpunct:{mord:We,mop:We,mrel:Ge,mopen:We,mclose:We,mpunct:We,minner:We},minner:{mord:We,mop:We,mbin:Ye,mrel:Ge,mopen:We,mpunct:We,minner:We}},Xe={mord:{mop:We},mop:{mord:We,mop:We},mbin:{},mrel:{},mopen:{},mclose:{mop:We},mpunct:{},minner:{mop:We}},Je={},Ze={},$e={};function Qe(e){for(var t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,l={type:t,numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:o},c=0;c<n.length;++c)Je[n[c]]=l;t&&(i&&(Ze[t]=i),a&&($e[t]=a))}function et(e){Qe({type:e.type,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:e.htmlBuilder,mathmlBuilder:e.mathmlBuilder})}var tt=function(e){var t=Fe(e,"ordgroup");return t?t.body:[e]},nt=Ie.makeSpan,rt=["leftmost","mbin","mopen","mrel","mop","mpunct"],ot=["rightmost","mrel","mclose","mpunct"],it={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT},at={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},lt=function(e,t,n,r){void 0===r&&(r=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=ht(e[i],t);if(a instanceof M){var l=a.children;o.push.apply(o,l)}else o.push(a)}if(!n)return o;var c=t;if(1===e.length){var s=Fe(e[0],"sizing")||Fe(e[0],"styling");s&&("sizing"===s.type?c=t.havingSize(s.size):"styling"===s.type&&(c=t.havingStyle(it[s.style])))}var u=nt([r[0]||"leftmost"],[],t),h=nt([r[1]||"rightmost"],[],t);return ct(o,(function(e,t){var n=t.classes[0],r=e.classes[0];"mbin"===n&&f.contains(ot,r)?t.classes[0]="mord":"mbin"===r&&f.contains(rt,n)&&(e.classes[0]="mord")}),{node:u},h),ct(o,(function(e,t){var n=ut(t),r=ut(e),o=n&&r?e.hasClass("mtight")?Xe[n][r]:Ke[n][r]:null;if(o)return Ie.makeGlue(o,c)}),{node:u},h),o},ct=function e(t,n,r,o){o&&t.push(o);for(var i=0;i<t.length;i++){var a=t[i],l=st(a);if(l)e(l.children,n,r);else if("mspace"!==a.classes[0]){var c=n(a,r.node);c&&(r.insertAfter?r.insertAfter(c):(t.unshift(c),i++)),r.node=a,r.insertAfter=function(e){return function(n){t.splice(e+1,0,n),i++}}(i)}}o&&t.pop()},st=function(e){return e instanceof M||e instanceof A?e:null},ut=function(e,t){return e?(t&&(e=function e(t,n){var r=st(t);if(r){var o=r.children;if(o.length){if("right"===n)return e(o[o.length-1],"right");if("left"===n)return e(o[0],"left")}}return t}(e,t)),at[e.classes[0]]||null):null},ft=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return nt(t.concat(n))},ht=function(e,t,n){if(!e)return nt();if(Ze[e.type]){var r=Ze[e.type](e,t);if(n&&t.size!==n.size){r=nt(t.sizingClasses(n),[r],t);var o=t.sizeMultiplier/n.sizeMultiplier;r.height*=o,r.depth*=o}return r}throw new a("Got group of unknown type: '"+e.type+"'")};function pt(e,t){var n=nt(["base"],e,t),r=nt(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function dt(e,t){var n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);for(var r,o=lt(e,t,!0),i=[],a=[],l=0;l<o.length;l++)if(a.push(o[l]),o[l].hasClass("mbin")||o[l].hasClass("mrel")||o[l].hasClass("allowbreak")){for(var c=!1;l<o.length-1&&o[l+1].hasClass("mspace")&&!o[l+1].hasClass("newline");)l++,a.push(o[l]),o[l].hasClass("nobreak")&&(c=!0);c||(i.push(pt(a,t)),a=[])}else o[l].hasClass("newline")&&(a.pop(),a.length>0&&(i.push(pt(a,t)),a=[]),i.push(o[l]));a.length>0&&i.push(pt(a,t)),n&&((r=pt(lt(n,t,!0))).classes=["tag"],i.push(r));var s=nt(["katex-html"],i);if(s.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=s.height+s.depth+"em",u.style.verticalAlign=-s.depth+"em"}return s}function mt(e){return new M(e)}var vt=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=f.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return f.escape(this.toText())},t.toText=function(){return this.text},e}(),gt={MathNode:vt,TextNode:yt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:mt},bt=function(e,t,n){return!K[t][e]||!K[t][e].replace||55349===e.charCodeAt(0)||ne.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=K[t][e].replace),new gt.TextNode(e)},wt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return f.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),U(o,Ie.fontMap[n].fontName,r)?Ie.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=St(e[0],t);return n&&r instanceof vt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a<e.length;a++){var l=St(e[a],t);if(l instanceof vt&&o instanceof vt){if("mtext"===l.type&&"mtext"===o.type&&l.getAttribute("mathvariant")===o.getAttribute("mathvariant")){var c;(c=o.children).push.apply(c,l.children);continue}if("mn"===l.type&&"mn"===o.type){var s;(s=o.children).push.apply(s,l.children);continue}if("mi"===l.type&&1===l.children.length&&"mn"===o.type){var u=l.children[0];if(u instanceof yt&&"."===u.text){var f;(f=o.children).push.apply(f,l.children);continue}}else if("mi"===o.type&&1===o.children.length){var h=o.children[0];if(h instanceof yt&&"̸"===h.text&&("mo"===l.type||"mi"===l.type||"mn"===l.type)){var p=l.children[0];p instanceof yt&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(l),o=l}return i},kt=function(e,t,n){return wt(_t(e,t,n))},St=function(e,t){if(!e)return new gt.MathNode("mrow");if($e[e.type])return $e[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Ot(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&f.contains(["mrow","mtable"],i[0].type)?i[0]:new gt.MathNode("mrow",i);var a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var l=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var s=r?"katex":"katex-mathml";return Ie.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ie.makeSpan(n,[e])}return e},Et={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},zt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ct=function(e,t,n,r){var o,i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Ie.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(o.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new V({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new V({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ie.makeSvgSpan([],[c],r)}return o.height=i,o.style.height=i+"em",o},Pt=function(e){var t=new gt.MathNode("mo",[new gt.TextNode(Et[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},At=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,l="ordgroup"===(d=e.base).type?d.body.length:1;if(l>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],o=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],i=r+c):(n=[0,600,1033,2339,2340][c],o=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],i="tilde"+c)}var s=new R(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ie.makeSvgSpan([],[u],t),minWidth:0,height:a}}var h,p,d,m=[],v=zt[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)h=["hide-tail"],p=[v[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var _=0;_<x;_++){var k=new R(y[_]),S=new H([k],{width:"400em",height:w+"em",viewBox:"0 0 "+n+" "+b,preserveAspectRatio:p[_]+" slice"}),O=Ie.makeSvgSpan([h[_]],[S],t);if(1===x)return{span:O,minWidth:g,height:w};O.style.height=w+"em",m.push(O)}return{span:Ie.makeSpan(["stretchy"],m,t),minWidth:g,height:w}}(),r=n.span,o=n.minWidth,i=n.height;return r.height=i,r.style.height=i+"em",o>0&&(r.style.minWidth=o+"em"),r},jt=function(e,t){var n,r,o,i=Fe(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof P)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(ht(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ht(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&f.isCharacterBox(n)){var c=f.getBaseElem(n);l=I(ht(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=At(r,t),s=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:s,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var h,p;"\\vec"===r.label?(h=Ie.staticSvg("vec",t),p=Ie.svgData.vec[1]):((h=I(h=Ie.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=h.width),s=Ie.makeSpan(["accent-body"],[h]);var d="\\textcircled"===r.label;d&&(s.classes.push("accent-full"),u=a.height);var m=l;d||(m-=p/2),s.style.left=m+"em","\\textcircled"===r.label&&(s.style.top=".2em"),s=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ie.makeSpan(["mord","accent"],[s],t);return o?(o.children[0]=v,o.height=Math.max(v.height,o.height),o.classes[0]="mord",o):v},Lt=function(e,t){var n=e.isStretchy?Pt(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[St(e.base,t),n]);return r.setAttribute("accent","true"),r},Nt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!Nt.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:jt,mathmlBuilder:Lt}),Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:jt,mathmlBuilder:Lt}),Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:function(e,t){var n=ht(e.base,t),r=At(e,t),o="\\utilde"===e.label?.12:0,i=Ie.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Ie.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=Pt(e.label),r=new gt.MathNode("munder",[St(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Ht=function(e){var t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=Ie.wrapFragment(ht(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ie.wrapFragment(ht(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,l=At(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,s=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=i.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;a=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:u}]},t)}else a=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ie.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=Pt(e.label);if(e.body){var o=Ht(St(e.body,t));if(e.below){var i=Ht(St(e.below,t));n=new gt.MathNode("munderover",[r,i,o])}else n=new gt.MathNode("mover",[r,o])}else if(e.below){var a=Ht(St(e.below,t));n=new gt.MathNode("munder",[r,a])}else n=Ht(),n=new gt.MathNode("mover",[r,n]);return n}}),Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=De(t[0],"ordgroup").body,o="",i=0;i<r.length;i++)o+=De(r[i],"textord").text;var l=parseInt(o);if(isNaN(l))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:n.mode,text:String.fromCharCode(l)}}});var Rt=function(e,t){var n=lt(e.body,t.withColor(e.color),!1);return Ie.makeFragment(n)},Vt=function(e,t){var n=_t(e.body,t.withColor(e.color)),r=new gt.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Qe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=e.parser,r=De(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:tt(o)}},htmlBuilder:Rt,mathmlBuilder:Vt}),Qe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,o=De(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:Rt,mathmlBuilder:Vt}),Qe({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=n[0],a="\\cr"===o,l=!1;return a||(l=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:l,newRow:a,size:i&&De(i,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var n=Ie.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Te(e.size,t)+"em")),n},mathmlBuilder:function(e,t){var n=new gt.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Te(e.size,t)+"em")),n}});var It=function(e,t,n){var r=U(K.math[e]&&K.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},Dt=function(e,t,n,r){var o=n.havingBaseStyle(t),i=Ie.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},Ft=function(e,t,n){var r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=o+"em",e.height-=o,e.depth+=o},qt=function(e,t,n,r,o,i){var a=function(e,t,n,r){return Ie.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),l=Dt(Ie.makeSpan(["delimsizing","size"+t],[a],r),x.TEXT,r,i);return n&&Ft(l,r,x.TEXT),l},Ut=function(e,t,n){var r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Ie.makeSpan(["delimsizinginner",r],[Ie.makeSpan([],[Ie.makeSymbol(e,t,n)])])}},Bt={type:"kern",size:-.005},Wt=function(e,t,n,r,o,i){var a,l,c,s;a=c=s=e,l=null;var u="Size1-Regular";"\\uparrow"===e?c=s="⏐":"\\Uparrow"===e?c=s="‖":"\\downarrow"===e?a=c="⏐":"\\Downarrow"===e?a=c="‖":"\\updownarrow"===e?(a="\\uparrow",c="⏐",s="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",c="‖",s="\\Downarrow"):"["===e||"\\lbrack"===e?(a="⎡",c="⎢",s="⎣",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="⎤",c="⎥",s="⎦",u="Size4-Regular"):"\\lfloor"===e||"⌊"===e?(c=a="⎢",s="⎣",u="Size4-Regular"):"\\lceil"===e||"⌈"===e?(a="⎡",c=s="⎢",u="Size4-Regular"):"\\rfloor"===e||"⌋"===e?(c=a="⎥",s="⎦",u="Size4-Regular"):"\\rceil"===e||"⌉"===e?(a="⎤",c=s="⎥",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="⎛",c="⎜",s="⎝",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="⎞",c="⎟",s="⎠",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="⎧",l="⎨",s="⎩",c="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",l="⎬",s="⎭",c="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",s="⎩",c="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",s="⎭",c="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",s="⎭",c="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",s="⎩",c="⎪",u="Size4-Regular");var f=It(a,u,o),h=f.height+f.depth,p=It(c,u,o),d=p.height+p.depth,m=It(s,u,o),v=m.height+m.depth,y=0,g=1;if(null!==l){var b=It(l,u,o);y=b.height+b.depth,g=2}var w=h+v+y,_=Math.max(0,Math.ceil((t-w)/(g*d))),k=w+_*g*d,S=r.fontMetrics().axisHeight;n&&(S*=r.sizeMultiplier);var O=k/2-S,M=.005*(_+1)-d,T=[];if(T.push(Ut(s,u,o)),null===l)for(var E=0;E<_;E++)T.push(Bt),T.push(Ut(c,u,o));else{for(var z=0;z<_;z++)T.push(Bt),T.push(Ut(c,u,o));T.push({type:"kern",size:M}),T.push(Ut(c,u,o)),T.push(Bt),T.push(Ut(l,u,o));for(var C=0;C<_;C++)T.push(Bt),T.push(Ut(c,u,o))}T.push({type:"kern",size:M}),T.push(Ut(c,u,o)),T.push(Bt),T.push(Ut(a,u,o));var P=r.havingBaseStyle(x.TEXT),A=Ie.makeVList({positionType:"bottom",positionData:O,children:T},P);return Dt(Ie.makeSpan(["delimsizing","mult"],[A],P),x.TEXT,r,i)},Yt=function(e,t,n,r,o){var i=function(e,t,n){t*=1e3;var r="";switch(e){case"sqrtMain":r=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize1":r=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize2":r=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize3":r=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"}(t,80);break;case"sqrtSize4":r=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"}(t,80);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-54-t-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"}(t,80,n)}return r}(e,r,n),a=new R(e,i),l=new H([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Ie.makeSvgSpan(["hide-tail"],[l],o)},Gt=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Kt=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Xt=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Jt=[0,1.2,1.8,2.4,3],Zt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$t=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],Qt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],en=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},tn=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);o<n.length&&"stack"!==n[o].type;o++){var i=It(e,en(n[o]),"math"),a=i.height+i.depth;if("small"===n[o].type&&(a*=r.havingBaseStyle(n[o].style).sizeMultiplier),a>t)return n[o]}return n[n.length-1]},nn=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=f.contains(Xt,e)?Zt:f.contains(Gt,e)?Qt:$t;var l=tn(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){var a=Ie.makeSymbol(e,"Main-Regular",o,r),l=Dt(a,t,r,i);return n&&Ft(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?qt(e,l.size,n,r,o,i):Wt(e,t,n,r,o,i)},rn=function(e,t){var n,r,o=t.havingBaseSizing(),i=tn("\\surd",e*o.sizeMultiplier,Qt,o),a=o.sizeMultiplier,l=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),c=0,s=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),s=(1+l)/a,(n=Yt("sqrtMain",c=(1+l+.08)/a,u=1e3+1e3*l+80,l,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*Jt[i.size],s=(Jt[i.size]+l)/a,c=(Jt[i.size]+l+.08)/a,(n=Yt("sqrtSize"+i.size,c,u,l,t)).style.minWidth="1.02em",r=1/a):(c=e+l+.08,s=e+l,u=Math.floor(1e3*e+l)+80,(n=Yt("sqrtTall",c,u,l,t)).style.minWidth="0.742em",r=1.056),n.height=s,n.style.height=c+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+l)*a}},on=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),f.contains(Gt,e)||f.contains(Xt,e))return qt(e,t,!1,n,r,o);if(f.contains(Kt,e))return Wt(e,Jt[t],!1,n,r,o);throw new a("Illegal delimiter: '"+e+"'")},an=nn,ln=function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return nn(e,s,!0,r,o,i)},cn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},sn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function un(e,t){var n=Be(e);if(n&&f.contains(sn,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function fn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=un(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:cn[e.funcName].size,mclass:cn[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ie.makeSpan([e.mclass]):on(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));var n=new gt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:un(t[0],e).text,color:n}}}),Qe({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=un(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=De(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){fn(e);for(var n,r,o=lt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,l=!1,c=0;c<o.length;c++)o[c].isMiddle?l=!0:(i=Math.max(o[c].height,i),a=Math.max(o[c].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,n="."===e.left?ft(t,["mopen"]):ln(e.left,i,a,t,e.mode,["mopen"]),o.unshift(n),l)for(var s=1;s<o.length;s++){var u=o[s].isMiddle;u&&(o[s]=ln(u.delim,i,a,u.options,e.mode,[]))}if("."===e.right)r=ft(t,["mclose"]);else{var f=e.rightColor?t.withColor(e.rightColor):t;r=ln(e.right,i,a,f,e.mode,["mclose"])}return o.push(r),Ie.makeSpan(["minner"],o,t)},mathmlBuilder:function(e,t){fn(e);var n=_t(e.body,t);if("."!==e.left){var r=new gt.MathNode("mo",[bt(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.right){var o=new gt.MathNode("mo",[bt(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return wt(n)}}),Qe({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=un(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:function(e,t){var n;if("."===e.delim)n=ft(t,[]);else{n=on(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:function(e,t){var n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),r=new gt.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var hn=function(e,t){var n,r,o=Ie.wrapFragment(ht(e.body,t),t),i=e.label.substr(1),a=t.sizeMultiplier,l=0,c=f.isCharacterBox(e.body);if("sout"===i)(n=Ie.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,l=-.5*t.fontMetrics().xHeight;else{/cancel/.test(i)?c||o.classes.push("cancel-pad"):o.classes.push("boxpad");var s=0,u=0;/box/.test(i)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),s=t.fontMetrics().fboxsep+("colorbox"===i?0:u)):s=c?.2:0,n=Ct(o,i,s,t),/fbox|boxed|fcolorbox/.test(i)&&(n.style.borderStyle="solid",n.style.borderWidth=u+"em"),l=o.depth+s,e.backgroundColor&&(n.style.backgroundColor=e.backgroundColor,e.borderColor&&(n.style.borderColor=e.borderColor))}return r=e.backgroundColor?Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:l},{type:"elem",elem:o,shift:0}]},t):Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:n,shift:l,wrapperClasses:/cancel/.test(i)?["svg-align"]:[]}]},t),/cancel/.test(i)&&(r.height=o.height,r.depth=o.depth),/cancel/.test(i)&&!c?Ie.makeSpan(["mord","cancel-lap"],[r],t):Ie.makeSpan(["mord"],[r],t)},pn=function(e,t){var n=0,r=new gt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[St(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:hn,mathmlBuilder:pn}),Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=De(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:hn,mathmlBuilder:pn}),Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:hn,mathmlBuilder:pn});var dn={};function mn(e){for(var t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},c=0;c<n.length;++c)dn[n[c]]=l;i&&(Ze[t]=i),a&&($e[t]=a)}function vn(e){var t=[];e.consumeSpaces();for(var n=e.fetch().text;"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}function yn(e,t,n){var r=t.hskipBeforeAndAfter,o=t.addJot,i=t.cols,l=t.arraystretch,c=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!l){var s=e.gullet.expandMacroAsText("\\arraystretch");if(null==s)l=1;else if(!(l=parseFloat(s))||l<0)throw new a("Invalid \\arraystretch: "+s)}e.gullet.beginGroup();var u=[],f=[u],h=[],p=[];for(p.push(vn(e));;){var d=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),d={type:"ordgroup",mode:e.mode,body:d},n&&(d={type:"styling",mode:e.mode,style:n,body:[d]}),u.push(d);var m=e.fetch().text;if("&"===m)e.consume();else{if("\\end"===m){1===u.length&&"styling"===d.type&&0===d.body[0].body.length&&f.pop(),p.length<f.length+1&&p.push([]);break}if("\\cr"!==m)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var v=De(e.parseFunction(),"cr");h.push(v.size),p.push(vn(e)),u=[],f.push(u)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:l,body:f,cols:i,rowGaps:h,hskipBeforeAndAfter:r,hLinesBeforeRow:p,colSeparationType:c}}function gn(e){return"d"===e.substr(0,1)?"display":"text"}var bn=function(e,t){var n,r,o=e.body.length,i=e.hLinesBeforeRow,l=0,c=new Array(o),s=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),h=1/t.fontMetrics().ptPerEm,p=5*h;e.colSeparationType&&"small"===e.colSeparationType&&(p=t.havingStyle(x.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var d=12*h,m=3*h,v=e.arraystretch*d,y=.7*v,g=.3*v,b=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(b+=.25),s.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n<e.body.length;++n){var _=e.body[n],k=y,S=g;l<_.length&&(l=_.length);var O=new Array(_.length);for(r=0;r<_.length;++r){var M=ht(_[r],t);S<M.depth&&(S=M.depth),k<M.height&&(k=M.height),O[r]=M}var T=e.rowGaps[n],E=0;T&&(E=Te(T,t))>0&&(S<(E+=g)&&(S=E),E=0),e.addJot&&(S+=m),O.height=k,O.depth=S,b+=k,O.pos=b,b+=S+E,c[n]=O,w(i[n+1])}var z,C,P=b/2+t.fontMetrics().axisHeight,A=e.cols||[],j=[];for(r=0,C=0;r<l||C<A.length;++r,++C){for(var L=A[C]||{},N=!0;"separator"===L.type;){if(N||((z=Ie.makeSpan(["arraycolsep"],[])).style.width=t.fontMetrics().doubleRuleSep+"em",j.push(z)),"|"!==L.separator&&":"!==L.separator)throw new a("Invalid separator type: "+L.separator);var H="|"===L.separator?"solid":"dashed",R=Ie.makeSpan(["vertical-separator"],[],t);R.style.height=b+"em",R.style.borderRightWidth=u+"em",R.style.borderRightStyle=H,R.style.margin="0 -"+u/2+"em",R.style.verticalAlign=-(b-P)+"em",j.push(R),L=A[++C]||{},N=!1}if(!(r>=l)){var V=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(V=f.deflt(L.pregap,p))&&((z=Ie.makeSpan(["arraycolsep"],[])).style.width=V+"em",j.push(z));var I=[];for(n=0;n<o;++n){var D=c[n],F=D[r];if(F){var q=D.pos-P;F.depth=D.depth,F.height=D.height,I.push({type:"elem",elem:F,shift:q})}}I=Ie.makeVList({positionType:"individualShift",children:I},t),I=Ie.makeSpan(["col-align-"+(L.align||"c")],[I]),j.push(I),(r<l-1||e.hskipBeforeAndAfter)&&0!==(V=f.deflt(L.postgap,p))&&((z=Ie.makeSpan(["arraycolsep"],[])).style.width=V+"em",j.push(z))}}if(c=Ie.makeSpan(["mtable"],j),s.length>0){for(var U=Ie.makeLineSpan("hline",t,u),B=Ie.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-P;Y.isDashed?W.push({type:"elem",elem:B,shift:G}):W.push({type:"elem",elem:U,shift:G})}c=Ie.makeVList({positionType:"individualShift",children:W},t)}return Ie.makeSpan(["mord"],[c],t)},wn={c:"center ",l:"left ",r:"right "},xn=function(e,t){var n=new gt.MathNode("mtable",e.body.map((function(e){return new gt.MathNode("mtr",e.map((function(e){return new gt.MathNode("mtd",[St(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var o="",i="";if(e.cols){var a=e.cols,l="",c=!1,s=0,u=a.length;"separator"===a[0].type&&(o+="top ",s=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var f=s;f<u;f++)"align"===a[f].type?(i+=wn[a[f].align],c&&(l+="none "),c=!0):"separator"===a[f].type&&c&&(l+="|"===a[f].separator?"solid ":"dashed ",c=!1);n.setAttribute("columnalign",i.trim()),/[sd]/.test(l)&&n.setAttribute("columnlines",l.trim())}if("align"===e.colSeparationType){for(var h=e.cols||[],p="",d=1;d<h.length;d++)p+=d%2?"0em ":"1em ";n.setAttribute("columnspacing",p.trim())}else"alignat"===e.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");var m="",v=e.hLinesBeforeRow;o+=v[0].length>0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y<v.length-1;y++)m+=0===v[y].length?"none ":v[y][0]?"dashed ":"solid ";return/[sd]/.test(m)&&n.setAttribute("rowlines",m.trim()),""!==o&&(n=new gt.MathNode("menclose",[n])).setAttribute("notation",o.trim()),e.arraystretch&&e.arraystretch<1&&(n=new gt.MathNode("mstyle",[n])).setAttribute("scriptlevel","1"),n},_n=function(e,t){var n,r=[],o=yn(e.parser,{cols:r,addJot:!0},"display"),i=0,l={type:"ordgroup",mode:e.mode,body:[]},c=Fe(t[0],"ordgroup");if(c){for(var s="",u=0;u<c.body.length;u++)s+=De(c.body[u],"textord").text;n=Number(s),i=2*n}var f=!i;o.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var r=De(e[t],"styling");De(r.body[0],"ordgroup").body.unshift(l)}if(f)i<e.length&&(i=e.length);else{var o=e.length/2;if(n<o)throw new a("Too many math in a row: expected "+n+", but got "+o,e[0])}}));for(var h=0;h<i;++h){var p="r",d=0;h%2==1?p="l":h>0&&f&&(d=1),r[h]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};mn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n={cols:(Be(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Ue(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return yn(e.parser,n,gn(e.envName))},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=yn(e.parser,{hskipBeforeAndAfter:!1},gn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=yn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=(Be(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Ue(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)}));if(n.length>1)throw new a("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=yn(e.parser,r,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return r},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=yn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},gn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["aligned"],props:{numArgs:0},handler:_n,htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return yn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:bn,mathmlBuilder:xn}),mn({type:"array",names:["alignedat"],props:{numArgs:1},handler:_n,htmlBuilder:bn,mathmlBuilder:xn}),Qe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var kn=dn;Qe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var i="",l=0;l<o.body.length;++l)i+=De(o.body[l],"textord").text;if("\\begin"===r){if(!kn.hasOwnProperty(i))throw new a("No such environment: "+i,o);var c=kn[i],s=n.parseArguments("\\begin{"+i+"}",c),u=s.args,f=s.optArgs,h={mode:n.mode,envName:i,parser:n},p=c.handler(h,u,f);n.expect("\\end",!1);var d=n.nextToken,m=De(n.parseFunction(),"environment");if(m.name!==i)throw new a("Mismatch: \\begin{"+i+"} matched by \\end{"+m.name+"}",d);return p}return{type:"environment",mode:n.mode,name:i,nameGroup:o}}});var Sn=Ie.makeSpan;function On(e,t){var n=lt(e.body,t,!0);return Sn([e.mclass],n,t)}function Mn(e,t){var n,r=_t(e.body,t);return"minner"===e.mclass?gt.newDocumentFragment(r):("mord"===e.mclass?e.isCharacterBox?(n=r[0]).type="mi":n=new gt.MathNode("mi",r):(e.isCharacterBox?(n=r[0]).type="mo":n=new gt.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}Qe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.substr(5),body:tt(o),isCharacterBox:f.isCharacterBox(o)}},htmlBuilder:On,mathmlBuilder:Mn});var Tn=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Qe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){return{type:"mclass",mode:e.parser.mode,mclass:Tn(t[0]),body:[t[1]],isCharacterBox:f.isCharacterBox(t[1])}}}),Qe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var n,r=e.parser,o=e.funcName,i=t[1],a=t[0];n="\\stackrel"!==o?Tn(i):"mrel";var l={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:tt(i)},c={type:"supsub",mode:a.mode,base:l,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:r.mode,mclass:n,body:[c],isCharacterBox:f.isCharacterBox(c)}},htmlBuilder:On,mathmlBuilder:Mn});var En=function(e,t){var n=e.font,r=t.withFont(n);return ht(e.body,r)},zn=function(e,t){var n=e.font,r=t.withFont(n);return St(e.body,r)},Cn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0],i=r;return i in Cn&&(i=Cn[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:En,mathmlBuilder:zn}),Qe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=e.parser,r=t[0],o=f.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Tn(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),Qe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=e.breakOnTokenText,i=n.mode,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:En,mathmlBuilder:zn});var Pn=function(e,t){var n=t;return"display"===e?n=n.id>=x.SCRIPT.id?n.text():x.DISPLAY:"text"===e&&n.size===x.DISPLAY.size?n=x.TEXT:"script"===e?n=x.SCRIPT:"scriptscript"===e&&(n=x.SCRIPTSCRIPT),n},An=function(e,t){var n,r=Pn(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ht(e.numer,n,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;a.height=a.height<l?l:a.height,a.depth=a.depth<c?c:a.depth}n=t.havingStyle(i);var s,u,f,h,p,d,m,v,y,g,b=ht(e.denom,n,t);if(e.hasBarLine?(e.barSize?(u=Te(e.barSize,t),s=Ie.makeLineSpan("frac-line",t,u)):s=Ie.makeLineSpan("frac-line",t),u=s.height,f=s.height):(s=null,u=0,f=t.fontMetrics().defaultRuleThickness),r.size===x.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*f:7*f,d=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=f):(h=t.fontMetrics().num3,p=3*f),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)<p&&(h+=p-(h-a.depth-(w+.5*u))),w-.5*u-(b.height-d)<p&&(d+=p-(w-.5*u-(b.height-d)));var _=-(w-.5*u);m=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:s,shift:_},{type:"elem",elem:a,shift:-h}]},t)}else{var k=h-a.depth-(b.height-d);k<p&&(h+=.5*(p-k),d+=.5*(p-k)),m=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:a,shift:-h}]},t)}return n=t.havingStyle(r),m.height*=n.sizeMultiplier/t.sizeMultiplier,m.depth*=n.sizeMultiplier/t.sizeMultiplier,v=r.size===x.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,y=null==e.leftDelim?ft(t,["mopen"]):an(e.leftDelim,v,!0,t.havingStyle(r),e.mode,["mopen"]),g=e.continued?Ie.makeSpan([]):null==e.rightDelim?ft(t,["mclose"]):an(e.rightDelim,v,!0,t.havingStyle(r),e.mode,["mclose"]),Ie.makeSpan(["mord"].concat(n.sizingClasses(t)),[y,Ie.makeSpan(["mfrac"],[m]),g],t)},jn=function(e,t){var n=new gt.MathNode("mfrac",[St(e.numer,t),St(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var r=Te(e.barSize,t);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");var o=Pn(e.size,t.style);if(o.size!==t.style.size){n=new gt.MathNode("mstyle",[n]);var i=o.size===x.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var l=new gt.MathNode("mo",[new gt.TextNode(e.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}if(a.push(n),null!=e.rightDelim){var c=new gt.MathNode("mo",[new gt.TextNode(e.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),a.push(c)}return wt(a)}return n};Qe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n,r=e.parser,o=e.funcName,i=t[0],a=t[1],l=null,c=null,s="auto";switch(o){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":n=!0;break;case"\\\\atopfrac":n=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":n=!1,l="(",c=")";break;case"\\\\bracefrac":n=!1,l="\\{",c="\\}";break;case"\\\\brackfrac":n=!1,l="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\cfrac":case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",mode:r.mode,continued:"\\cfrac"===o,numer:i,denom:a,hasBarLine:n,leftDelim:l,rightDelim:c,size:s,barSize:null}},htmlBuilder:An,mathmlBuilder:jn}),Qe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,n=e.parser,r=e.funcName,o=e.token;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});var Ln=["display","text","script","scriptscript"],Nn=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],o=t[5],i=Fe(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Nn(i.text):null,l=Fe(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Nn(l.text):null,u=De(t[2],"size"),f=null;c=!!u.isBlank||(f=u.value).number>0;var h="auto",p=Fe(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");h=Ln[Number(d.text)]}}else p=De(t[3],"textord"),h=Ln[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:h}},htmlBuilder:An,mathmlBuilder:jn}),Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:De(t[0],"size").value,token:r}}}),Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(De(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:An,mathmlBuilder:jn});var Hn=function(e,t){var n,r,o=t.style,i=Fe(e,"supsub");i?(n=i.sup?ht(i.sup,t.havingStyle(o.sup()),t):ht(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ht(r.base,t.havingBaseStyle(x.DISPLAY)),c=At(r,t);if(r.isOver?(a=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:c}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Ie.makeVList({positionType:"bottom",positionData:l.depth+.1+c.height,children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var s=Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ie.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Hn,mathmlBuilder:function(e,t){var n=Pt(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[St(e.base,t),n])}}),Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],o=De(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=lt(e.body,t,!1);return Ie.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kt(e.body,t);return n instanceof vt||(n=new vt("mrow",[n])),n.setAttribute("href",e.href),n}}),Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=De(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var l={type:"text",mode:n.mode,font:"\\texttt",body:o};return{type:"href",mode:n.mode,href:r,body:tt(l)}}}),Qe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){return{type:"htmlmathml",mode:e.parser.mode,html:tt(t[0]),mathml:tt(t[1])}},htmlBuilder:function(e,t){var n=lt(e.html,t,!1);return Ie.makeFragment(n)},mathmlBuilder:function(e,t){return kt(e.mathml,t)}});var Rn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(t[1]+t[2]),unit:t[3]};if(!Me(n))throw new a("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Qe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,n){var r=e.parser,o={number:0,unit:"em"},i={number:.9,unit:"em"},l={number:0,unit:"em"},c="";if(n[0])for(var s=De(n[0],"raw").string.split(","),u=0;u<s.length;u++){var f=s[u].split("=");if(2===f.length){var h=f[1].trim();switch(f[0].trim()){case"alt":c=h;break;case"width":o=Rn(h);break;case"height":i=Rn(h);break;case"totalheight":l=Rn(h);break;default:throw new a("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=De(t[0],"url").url;return""===c&&(c=(c=(c=p).replace(/^.*[\\/]/,"")).substring(0,c.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:r.mode,alt:c,width:o,height:i,totalheight:l,src:p}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var n=Te(e.height,t),r=0;e.totalheight.number>0&&(r=Te(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=Te(e.width,t));var i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");var a=new j(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Te(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Te(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=Te(e.width,t);n.setAttribute("width",i+"em")}return n.setAttribute("src",e.src),n}}),Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=De(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:function(e,t){return Ie.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=Te(e.dimension,t);return new gt.SpaceNode(n)}}),Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ie.makeSpan([],[ht(e.body,t)]),n=Ie.makeSpan(["inner"],[n],t)):n=Ie.makeSpan(["inner"],[ht(e.body,t)]);var r=Ie.makeSpan(["fix"],[]),o=Ie.makeSpan([e.alignment],[n,r],t),i=Ie.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ie.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),Qe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Vn=function(e,t){switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:tt(t[0]),text:tt(t[1]),script:tt(t[2]),scriptscript:tt(t[3])}},htmlBuilder:function(e,t){var n=Vn(e,t),r=lt(n,t,!1);return Ie.makeFragment(r)},mathmlBuilder:function(e,t){var n=Vn(e,t);return kt(n,t)}});var In=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ie.makeSpan([],[e]),t){var u=ht(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var f=ht(n,r.havingStyle(o.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-a;s=Ie.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;var d=e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ie.makeSpan(["mop","op-limits"],[s],r)},Dn=["\\smallint"],Fn=function(e,t){var n,r,o,i=!1,a=Fe(e,"supsub");a?(n=a.sup,r=a.sub,o=De(a.base,"op"),i=!0):o=De(e,"op");var l,c=t.style,s=!1;if(c.size===x.DISPLAY.size&&o.symbol&&!f.contains(Dn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(h=o.name.substr(1),o.name="oiint"===h?"\\iint":"\\iiint"),l=Ie.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),h.length>0){var p=l.italic,d=Ie.staticSvg(h+"Size"+(s?"2":"1"),t);l=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+h,l.classes.unshift("mop"),l.italic=p}}else if(o.body){var m=lt(o.body,t,!0);1===m.length&&m[0]instanceof N?(l=m[0]).classes[0]="mop":l=Ie.makeSpan(["mop"],Ie.tryCombineChars(m),t)}else{for(var v=[],y=1;y<o.name.length;y++)v.push(Ie.mathsym(o.name[y],o.mode,t));l=Ie.makeSpan(["mop"],v,t)}var g=0,b=0;return(l instanceof N||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(g=(l.height-l.depth)/2-t.fontMetrics().axisHeight,b=l.italic),i?In(l,n,r,t,c,b,g):(g&&(l.style.position="relative",l.style.top=g+"em"),l)},qn=function(e,t){var n;if(e.symbol)n=new vt("mo",[bt(e.name,e.mode)]),f.contains(Dn,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new vt("mo",_t(e.body,t));else{n=new vt("mi",[new yt(e.name.slice(1))]);var r=new vt("mo",[bt("⁡","text")]);n=e.parentIsSupSub?new vt("mo",[n,r]):mt([n,r])}return n},Un={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Qe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:function(e,t){var n=e.parser,r=e.funcName;return 1===r.length&&(r=Un[r]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Fn,mathmlBuilder:qn}),Qe({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tt(r)}},htmlBuilder:Fn,mathmlBuilder:qn});var Bn={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Qe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Fn,mathmlBuilder:qn}),Qe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Fn,mathmlBuilder:qn}),Qe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler:function(e){var t=e.parser,n=e.funcName;return 1===n.length&&(n=Bn[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Fn,mathmlBuilder:qn});var Wn=function(e,t){var n,r,o,i,a=!1,l=Fe(e,"supsub");if(l?(n=l.sup,r=l.sub,o=De(l.base,"operatorname"),a=!0):o=De(e,"operatorname"),o.body.length>0){for(var c=o.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),s=lt(c,t.withFont("mathrm"),!0),u=0;u<s.length;u++){var f=s[u];f instanceof N&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=Ie.makeSpan(["mop"],s,t)}else i=Ie.makeSpan(["mop"],[],t);return a?In(i,n,r,t,t.style,0,0):i};function Yn(e,t,n){for(var r=lt(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,i=0;i<r.length;i++){var a=r[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[i].classes,t.sizingClasses(n)):r[i].classes[a+1]==="reset-size"+t.size&&(r[i].classes[a+1]="reset-size"+n.size),r[i].height*=o,r[i].depth*=o}return Ie.makeFragment(r)}Qe({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"operatorname",mode:n.mode,body:tt(o),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:Wn,mathmlBuilder:function(e,t){for(var n=_t(e.body,t.withFont("mathrm")),r=!0,o=0;o<n.length;o++){var i=n[o];if(i instanceof gt.SpaceNode);else if(i instanceof gt.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof gt.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break;default:r=!1}else r=!1}if(r){var l=n.map((function(e){return e.toText()})).join("");n=[new gt.TextNode(l)]}var c=new gt.MathNode("mi",n);c.setAttribute("mathvariant","normal");var s=new gt.MathNode("mo",[bt("⁡","text")]);return e.parentIsSupSub?new gt.MathNode("mo",[c,s]):gt.newDocumentFragment([c,s])}}),et({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Ie.makeFragment(lt(e.body,t,!1)):Ie.makeSpan(["mord"],lt(e.body,t,!0),t)},mathmlBuilder:function(e,t){return kt(e.body,t,!0)}}),Qe({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=ht(e.body,t.havingCrampedStyle()),r=Ie.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return Ie.makeSpan(["mord","overline"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[new gt.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gt.MathNode("mover",[St(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Qe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"phantom",mode:n.mode,body:tt(r)}},htmlBuilder:function(e,t){var n=lt(e.body,t.withPhantom(),!1);return Ie.makeFragment(n)},mathmlBuilder:function(e,t){var n=_t(e.body,t);return new gt.MathNode("mphantom",n)}}),Qe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ie.makeSpan([],[ht(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Ie.makeSpan(["mord"],[n],t)},mathmlBuilder:function(e,t){var n=_t(tt(e.body),t),r=new gt.MathNode("mphantom",n),o=new gt.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),Qe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:function(e,t){var n=Ie.makeSpan(["inner"],[ht(e.body,t.withPhantom())]),r=Ie.makeSpan(["fix"],[]);return Ie.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=_t(tt(e.body),t),r=new gt.MathNode("mphantom",n),o=new gt.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),Qe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=De(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder:function(e,t){var n=ht(e.body,t),r=Te(e.dy,t);return Ie.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Qe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=e.parser,o=n[0],i=De(t[0],"size"),a=De(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&De(o,"size").value,width:i.value,height:a.value}},htmlBuilder:function(e,t){var n=Ie.makeSpan(["mord","rule"],[],t),r=Te(e.width,t),o=Te(e.height,t),i=e.shift?Te(e.shift,t):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=o+"em",n.style.bottom=i+"em",n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder:function(e,t){var n=Te(e.width,t),r=Te(e.height,t),o=e.shift?Te(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new gt.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");var l=new gt.MathNode("mpadded",[a]);return o>=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});var Gn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Qe({type:"sizing",names:Gn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:Gn.indexOf(r)+1,body:i}},htmlBuilder:function(e,t){var n=t.havingSize(e.size);return Yn(e.body,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=_t(e.body,n),o=new gt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,o=!1,i=!1,a=n[0]&&De(n[0],"ordgroup");if(a)for(var l="",c=0;c<a.body.length;++c)if("t"===(l=a.body[c].text))o=!0;else{if("b"!==l){o=!1,i=!1;break}i=!0}else o=!0,i=!0;var s=t[0];return{type:"smash",mode:r.mode,body:s,smashHeight:o,smashDepth:i}},htmlBuilder:function(e,t){var n=Ie.makeSpan([],[ht(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var o=0;o<n.children.length;o++)n.children[o].depth=0;var i=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Ie.makeSpan(["mord"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Qe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder:function(e,t){var n=ht(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Ie.wrapFragment(n,t);var r=t.fontMetrics().defaultRuleThickness,o=r;t.style.id<x.TEXT.id&&(o=t.fontMetrics().xHeight);var i=r+o/4,a=n.height+n.depth+i+r,l=rn(a,t),c=l.span,s=l.ruleWidth,u=l.advanceWidth,f=c.height-s;f>n.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ht(e.index,d,t),v=.6*(p.height-p.depth),y=Ie.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ie.makeSpan(["root"],[y]);return Ie.makeSpan(["mord","sqrt"],[g,p],t)}return Ie.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[St(n,t),St(r,t)]):new gt.MathNode("msqrt",[St(n,t)])}});var Kn={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder:function(e,t){var n=Kn[e.style],r=t.havingStyle(n).withFont("");return Yn(e.body,r,t)},mathmlBuilder:function(e,t){var n=Kn[e.style],r=t.havingStyle(n),o=_t(e.body,r),i=new gt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),et({type:"supsub",htmlBuilder:function(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===x.DISPLAY.size||n.alwaysHandleSupSub)?Fn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||n.limits)?Wn:null:"accent"===n.type?f.isCharacterBox(n.base)?jt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Hn:null:null}(e,t);if(n)return n(e,t);var r,o,i,a=e.base,l=e.sup,c=e.sub,s=ht(a,t),u=t.fontMetrics(),h=0,p=0,d=a&&f.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ht(l,m,t),d||(h=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ht(c,v,t),d||(p=s.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}i=t.style===x.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var y,g=t.sizeMultiplier,b=.5/u.ptPerEm/g+"em",w=null;if(o){var _=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof N||_)&&(w=-s.italic+"em")}if(r&&o){h=Math.max(h,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(h-r.depth-(o.height-p)<k){p=k-(h-r.depth)+o.height;var S=.8*u.xHeight-(h-r.depth);S>0&&(h+=S,p-=S)}var O=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:b}];y=Ie.makeVList({positionType:"individualShift",children:O},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var M=[{type:"elem",elem:o,marginLeft:w,marginRight:b}];y=Ie.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,i,r.depth+.25*u.xHeight),y=Ie.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:b}]},t)}var T=ut(s,"right")||"mord";return Ie.makeSpan([T],[s,Ie.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Fe(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(r=!0,n=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[St(e.base,t)];if(e.sub&&a.push(St(e.sub,t)),e.sup&&a.push(St(e.sup,t)),r)i=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;i=l&&"op"===l.type&&l.limits&&t.style===x.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===x.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;i=c&&"op"===c.type&&c.limits&&(t.style===x.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===x.DISPLAY)?"munder":"msub"}else{var s=e.base;i=s&&"op"===s.type&&s.limits&&(t.style===x.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===x.DISPLAY)?"mover":"msup"}return new gt.MathNode(i,a)}}),et({type:"atom",htmlBuilder:function(e,t){return Ie.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){var r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Xn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Ie.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==Xn[n.type]&&n.setAttribute("mathvariant",r),n}}),et({type:"textord",htmlBuilder:function(e,t){return Ie.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=bt(e.text,e.mode,t),o=xt(e,t)||"normal";return n="text"===e.mode?new gt.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[r]):"\\prime"===e.text?new gt.MathNode("mo",[r]):new gt.MathNode("mi",[r]),o!==Xn[n.type]&&n.setAttribute("mathvariant",o),n}});var Jn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Zn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if(Zn.hasOwnProperty(e.text)){var n=Zn[e.text].className||"";if("text"===e.mode){var r=Ie.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ie.makeSpan(["mspace",n],[Ie.mathsym(e.text,e.mode,t)],t)}if(Jn.hasOwnProperty(e.text))return Ie.makeSpan(["mspace",Jn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!Zn.hasOwnProperty(e.text)){if(Jn.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new gt.MathNode("mtext",[new gt.TextNode(" ")])}});var $n=function(){var e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};et({type:"tag",mathmlBuilder:function(e,t){var n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[$n(),new gt.MathNode("mtd",[kt(e.body,t)]),$n(),new gt.MathNode("mtd",[kt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Qn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},er={"\\textbf":"textbf","\\textmd":"textmd"},tr={"\\textit":"textit","\\textup":"textup"},nr=function(e,t){var n=e.font;return n?Qn[n]?t.withTextFontFamily(Qn[n]):er[n]?t.withTextFontWeight(er[n]):t.withTextFontShape(tr[n]):t};Qe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"text",mode:n.mode,body:tt(o),font:r}},htmlBuilder:function(e,t){var n=nr(e,t),r=lt(e.body,n,!0);return Ie.makeSpan(["mord","text"],Ie.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=nr(e,t);return kt(e.body,n)}}),Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var n=ht(e.body,t),r=Ie.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ie.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Ie.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[new gt.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gt.MathNode("munder",[St(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=rr(e),r=[],o=t.havingStyle(t.style.text()),i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),r.push(Ie.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return Ie.makeSpan(["mord","text"].concat(o.sizingClasses(t)),Ie.tryCombineChars(r),o)},mathmlBuilder:function(e,t){var n=new gt.TextNode(rr(e)),r=new gt.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var rr=function(e){return e.body.replace(/ /g,e.star?"␣":" ")},or=Je,ir=new RegExp("^(\\\\[a-zA-Z@]+)[ \r\n\t]*$"),ar=new RegExp("[̀-ͯ]+$"),lr=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧‪-퟿豈-￿][̀-ͯ]*|[\ud800-\udbff][\udc00-\udfff][̀-ͯ]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|\\\\[a-zA-Z@]+[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new o("EOF",new r(this,t,t));var n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new o(e[t],new r(this,t,t+1)));var i=n[2]||" ";if(14===this.catcodes[i]){var l=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===l?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=l+1,this.lex()}var c=i.match(ir);return c&&(i=c[1]),new o(i,new r(this,t,this.tokenRegex.lastIndex))},e}(),cr=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,n){if(void 0===n&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),sr={},ur=sr;function fr(e,t){sr[e]=t}fr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),fr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),fr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),fr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),fr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var hr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};fr("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=hr[n.text])||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=hr[e.future().text])&&o<t;)r*=t,r+=o,e.popToken()}return"\\@char{"+r+"}"}));var pr=function(e,t){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\gdef's first argument must be a macro name");var r=n[0].text,o=0;for(n=e.consumeArgs(1)[0];1===n.length&&"#"===n[0].text;){if(1!==(n=e.consumeArgs(1)[0]).length)throw new a('Invalid argument number length "'+n.length+'"');if(!/^[1-9]$/.test(n[0].text))throw new a('Invalid argument number "'+n[0].text+'"');if(o++,parseInt(n[0].text)!==o)throw new a('Argument number "'+n[0].text+'" out of order');n=e.consumeArgs(1)[0]}return e.macros.set(r,{tokens:n,numArgs:o},t),""};fr("\\gdef",(function(e){return pr(e,!0)})),fr("\\def",(function(e){return pr(e,!1)})),fr("\\global",(function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var n=t[0].text;if("\\def"===n)return pr(e,!0);throw new a("Invalid command '"+n+"' after \\global")}));var dr=function(e,t,n){var r=e.consumeArgs(1)[0];if(1!==r.length)throw new a("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new a("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!i&&!n)throw new a("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var l=0;if(1===(r=e.consumeArgs(1)[0]).length&&"["===r[0].text){for(var c="",s=e.expandNextToken();"]"!==s.text&&"EOF"!==s.text;)c+=s.text,s=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+c);l=parseInt(c),r=e.consumeArgs(1)[0]}return e.macros.set(o,{tokens:r,numArgs:l}),""};fr("\\newcommand",(function(e){return dr(e,!1,!0)})),fr("\\renewcommand",(function(e){return dr(e,!0,!1)})),fr("\\providecommand",(function(e){return dr(e,!0,!0)})),fr("\\bgroup","{"),fr("\\egroup","}"),fr("\\lq","`"),fr("\\rq","'"),fr("\\aa","\\r a"),fr("\\AA","\\r A"),fr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),fr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),fr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),fr("ℬ","\\mathscr{B}"),fr("ℰ","\\mathscr{E}"),fr("ℱ","\\mathscr{F}"),fr("ℋ","\\mathscr{H}"),fr("ℐ","\\mathscr{I}"),fr("ℒ","\\mathscr{L}"),fr("ℳ","\\mathscr{M}"),fr("ℛ","\\mathscr{R}"),fr("ℭ","\\mathfrak{C}"),fr("ℌ","\\mathfrak{H}"),fr("ℨ","\\mathfrak{Z}"),fr("\\Bbbk","\\Bbb{k}"),fr("·","\\cdotp"),fr("\\llap","\\mathllap{\\textrm{#1}}"),fr("\\rlap","\\mathrlap{\\textrm{#1}}"),fr("\\clap","\\mathclap{\\textrm{#1}}"),fr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),fr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),fr("\\ne","\\neq"),fr("≠","\\neq"),fr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),fr("∉","\\notin"),fr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),fr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),fr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),fr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),fr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),fr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),fr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),fr("⟂","\\perp"),fr("‼","\\mathclose{!\\mkern-0.8mu!}"),fr("∌","\\notni"),fr("⌜","\\ulcorner"),fr("⌝","\\urcorner"),fr("⌞","\\llcorner"),fr("⌟","\\lrcorner"),fr("©","\\copyright"),fr("®","\\textregistered"),fr("️","\\textregistered"),fr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),fr("⋮","\\vdots"),fr("\\varGamma","\\mathit{\\Gamma}"),fr("\\varDelta","\\mathit{\\Delta}"),fr("\\varTheta","\\mathit{\\Theta}"),fr("\\varLambda","\\mathit{\\Lambda}"),fr("\\varXi","\\mathit{\\Xi}"),fr("\\varPi","\\mathit{\\Pi}"),fr("\\varSigma","\\mathit{\\Sigma}"),fr("\\varUpsilon","\\mathit{\\Upsilon}"),fr("\\varPhi","\\mathit{\\Phi}"),fr("\\varPsi","\\mathit{\\Psi}"),fr("\\varOmega","\\mathit{\\Omega}"),fr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),fr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),fr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),fr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),fr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),fr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var mr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};fr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in mr?t=mr[n]:("\\not"===n.substr(0,4)||n in K.math&&f.contains(["bin","rel"],K.math[n].group))&&(t="\\dotsb"),t}));var vr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};fr("\\dotso",(function(e){return e.future().text in vr?"\\ldots\\,":"\\ldots"})),fr("\\dotsc",(function(e){var t=e.future().text;return t in vr&&","!==t?"\\ldots\\,":"\\ldots"})),fr("\\cdots",(function(e){return e.future().text in vr?"\\@cdots\\,":"\\@cdots"})),fr("\\dotsb","\\cdots"),fr("\\dotsm","\\cdots"),fr("\\dotsi","\\!\\cdots"),fr("\\dotsx","\\ldots\\,"),fr("\\DOTSI","\\relax"),fr("\\DOTSB","\\relax"),fr("\\DOTSX","\\relax"),fr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),fr("\\,","\\tmspace+{3mu}{.1667em}"),fr("\\thinspace","\\,"),fr("\\>","\\mskip{4mu}"),fr("\\:","\\tmspace+{4mu}{.2222em}"),fr("\\medspace","\\:"),fr("\\;","\\tmspace+{5mu}{.2777em}"),fr("\\thickspace","\\;"),fr("\\!","\\tmspace-{3mu}{.1667em}"),fr("\\negthinspace","\\!"),fr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),fr("\\negthickspace","\\tmspace-{5mu}{.277em}"),fr("\\enspace","\\kern.5em "),fr("\\enskip","\\hskip.5em\\relax"),fr("\\quad","\\hskip1em\\relax"),fr("\\qquad","\\hskip2em\\relax"),fr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),fr("\\tag@paren","\\tag@literal{({#1})}"),fr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),fr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),fr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),fr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),fr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),fr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),fr("\\\\","\\newline"),fr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var yr=D["Main-Regular"]["T".charCodeAt(0)][1]-.7*D["Main-Regular"]["A".charCodeAt(0)][1]+"em";fr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+yr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),fr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+yr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),fr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),fr("\\@hspace","\\hskip #1\\relax"),fr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),fr("\\ordinarycolon",":"),fr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),fr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),fr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),fr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),fr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),fr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),fr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),fr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),fr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),fr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),fr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),fr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),fr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),fr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),fr("∷","\\dblcolon"),fr("∹","\\eqcolon"),fr("≔","\\coloneqq"),fr("≕","\\eqqcolon"),fr("⩴","\\Coloneqq"),fr("\\ratio","\\vcentcolon"),fr("\\coloncolon","\\dblcolon"),fr("\\colonequals","\\coloneqq"),fr("\\coloncolonequals","\\Coloneqq"),fr("\\equalscolon","\\eqqcolon"),fr("\\equalscoloncolon","\\Eqqcolon"),fr("\\colonminus","\\coloneq"),fr("\\coloncolonminus","\\Coloneq"),fr("\\minuscolon","\\eqcolon"),fr("\\minuscoloncolon","\\Eqcolon"),fr("\\coloncolonapprox","\\Colonapprox"),fr("\\coloncolonsim","\\Colonsim"),fr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),fr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),fr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),fr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),fr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),fr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),fr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),fr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),fr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),fr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),fr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),fr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),fr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),fr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),fr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),fr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),fr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),fr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),fr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),fr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),fr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),fr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),fr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),fr("⟦","\\llbracket"),fr("⟧","\\rrbracket"),fr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),fr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),fr("⦃","\\lBrace"),fr("⦄","\\rBrace"),fr("\\darr","\\downarrow"),fr("\\dArr","\\Downarrow"),fr("\\Darr","\\Downarrow"),fr("\\lang","\\langle"),fr("\\rang","\\rangle"),fr("\\uarr","\\uparrow"),fr("\\uArr","\\Uparrow"),fr("\\Uarr","\\Uparrow"),fr("\\N","\\mathbb{N}"),fr("\\R","\\mathbb{R}"),fr("\\Z","\\mathbb{Z}"),fr("\\alef","\\aleph"),fr("\\alefsym","\\aleph"),fr("\\Alpha","\\mathrm{A}"),fr("\\Beta","\\mathrm{B}"),fr("\\bull","\\bullet"),fr("\\Chi","\\mathrm{X}"),fr("\\clubs","\\clubsuit"),fr("\\cnums","\\mathbb{C}"),fr("\\Complex","\\mathbb{C}"),fr("\\Dagger","\\ddagger"),fr("\\diamonds","\\diamondsuit"),fr("\\empty","\\emptyset"),fr("\\Epsilon","\\mathrm{E}"),fr("\\Eta","\\mathrm{H}"),fr("\\exist","\\exists"),fr("\\harr","\\leftrightarrow"),fr("\\hArr","\\Leftrightarrow"),fr("\\Harr","\\Leftrightarrow"),fr("\\hearts","\\heartsuit"),fr("\\image","\\Im"),fr("\\infin","\\infty"),fr("\\Iota","\\mathrm{I}"),fr("\\isin","\\in"),fr("\\Kappa","\\mathrm{K}"),fr("\\larr","\\leftarrow"),fr("\\lArr","\\Leftarrow"),fr("\\Larr","\\Leftarrow"),fr("\\lrarr","\\leftrightarrow"),fr("\\lrArr","\\Leftrightarrow"),fr("\\Lrarr","\\Leftrightarrow"),fr("\\Mu","\\mathrm{M}"),fr("\\natnums","\\mathbb{N}"),fr("\\Nu","\\mathrm{N}"),fr("\\Omicron","\\mathrm{O}"),fr("\\plusmn","\\pm"),fr("\\rarr","\\rightarrow"),fr("\\rArr","\\Rightarrow"),fr("\\Rarr","\\Rightarrow"),fr("\\real","\\Re"),fr("\\reals","\\mathbb{R}"),fr("\\Reals","\\mathbb{R}"),fr("\\Rho","\\mathrm{P}"),fr("\\sdot","\\cdot"),fr("\\sect","\\S"),fr("\\spades","\\spadesuit"),fr("\\sub","\\subset"),fr("\\sube","\\subseteq"),fr("\\supe","\\supseteq"),fr("\\Tau","\\mathrm{T}"),fr("\\thetasym","\\vartheta"),fr("\\weierp","\\wp"),fr("\\Zeta","\\mathrm{Z}"),fr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),fr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),fr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),fr("\\blue","\\textcolor{##6495ed}{#1}"),fr("\\orange","\\textcolor{##ffa500}{#1}"),fr("\\pink","\\textcolor{##ff00af}{#1}"),fr("\\red","\\textcolor{##df0030}{#1}"),fr("\\green","\\textcolor{##28ae7b}{#1}"),fr("\\gray","\\textcolor{gray}{#1}"),fr("\\purple","\\textcolor{##9d38bd}{#1}"),fr("\\blueA","\\textcolor{##ccfaff}{#1}"),fr("\\blueB","\\textcolor{##80f6ff}{#1}"),fr("\\blueC","\\textcolor{##63d9ea}{#1}"),fr("\\blueD","\\textcolor{##11accd}{#1}"),fr("\\blueE","\\textcolor{##0c7f99}{#1}"),fr("\\tealA","\\textcolor{##94fff5}{#1}"),fr("\\tealB","\\textcolor{##26edd5}{#1}"),fr("\\tealC","\\textcolor{##01d1c1}{#1}"),fr("\\tealD","\\textcolor{##01a995}{#1}"),fr("\\tealE","\\textcolor{##208170}{#1}"),fr("\\greenA","\\textcolor{##b6ffb0}{#1}"),fr("\\greenB","\\textcolor{##8af281}{#1}"),fr("\\greenC","\\textcolor{##74cf70}{#1}"),fr("\\greenD","\\textcolor{##1fab54}{#1}"),fr("\\greenE","\\textcolor{##0d923f}{#1}"),fr("\\goldA","\\textcolor{##ffd0a9}{#1}"),fr("\\goldB","\\textcolor{##ffbb71}{#1}"),fr("\\goldC","\\textcolor{##ff9c39}{#1}"),fr("\\goldD","\\textcolor{##e07d10}{#1}"),fr("\\goldE","\\textcolor{##a75a05}{#1}"),fr("\\redA","\\textcolor{##fca9a9}{#1}"),fr("\\redB","\\textcolor{##ff8482}{#1}"),fr("\\redC","\\textcolor{##f9685d}{#1}"),fr("\\redD","\\textcolor{##e84d39}{#1}"),fr("\\redE","\\textcolor{##bc2612}{#1}"),fr("\\maroonA","\\textcolor{##ffbde0}{#1}"),fr("\\maroonB","\\textcolor{##ff92c6}{#1}"),fr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),fr("\\maroonD","\\textcolor{##ca337c}{#1}"),fr("\\maroonE","\\textcolor{##9e034e}{#1}"),fr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),fr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),fr("\\purpleC","\\textcolor{##aa87ff}{#1}"),fr("\\purpleD","\\textcolor{##7854ab}{#1}"),fr("\\purpleE","\\textcolor{##543b78}{#1}"),fr("\\mintA","\\textcolor{##f5f9e8}{#1}"),fr("\\mintB","\\textcolor{##edf2df}{#1}"),fr("\\mintC","\\textcolor{##e0e5cc}{#1}"),fr("\\grayA","\\textcolor{##f6f7f7}{#1}"),fr("\\grayB","\\textcolor{##f0f1f2}{#1}"),fr("\\grayC","\\textcolor{##e3e5e6}{#1}"),fr("\\grayD","\\textcolor{##d6d8da}{#1}"),fr("\\grayE","\\textcolor{##babec2}{#1}"),fr("\\grayF","\\textcolor{##888d93}{#1}"),fr("\\grayG","\\textcolor{##626569}{#1}"),fr("\\grayH","\\textcolor{##3b3e40}{#1}"),fr("\\grayI","\\textcolor{##21242c}{#1}"),fr("\\kaBlue","\\textcolor{##314453}{#1}"),fr("\\kaGreen","\\textcolor{##71B307}{#1}");var gr={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},br=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new cr(ur,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new lr(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArgs=function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var o=[],i=1;0!==i;){var l=this.popToken();if(o.push(l),"{"===l.text)++i;else if("}"===l.text)--i;else if("EOF"===l.text)throw new a("End of input in macro argument",r)}o.pop(),o.reverse(),t[n]=o}else{if("EOF"===r.text)throw new a("End of input expecting macro argument");t[n]=[r]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,n=this._getExpansion(t);if(null==n)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs)for(var o=this.consumeArgs(n.numArgs),i=(r=r.slice()).length-1;i>=0;--i){var l=r[i];if("#"===l.text){if(0===i)throw new a("Incomplete placeholder at end of macro body",l);if("#"===(l=r[--i]).text)r.splice(i+1,1);else{if(!/^[1-9]$/.test(l.text))throw new a("Not a valid argument number",l);var c;(c=r).splice.apply(c,[i,2].concat(o[+l.text-1]))}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;for(this.pushToken(new o(e));this.stack.length>n;)this.expandOnce()instanceof o&&t.push(this.stack.pop());return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"==typeof t?t(this):t;if("string"==typeof n){var r=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(r+1));)++r;for(var i=new lr(n,this.settings),a=[],l=i.lex();"EOF"!==l.text;)a.push(l),l=i.lex();return a.reverse(),{tokens:a,numArgs:r}}return n},t.isDefined=function(e){return this.macros.has(e)||or.hasOwnProperty(e)||K.math.hasOwnProperty(e)||K.text.hasOwnProperty(e)||gr.hasOwnProperty(e)},e}(),wr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},xr={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},_r=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new br(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(n&&o.text===n)break;if(t&&or[o.text]&&or[o.text].infix)break;var i=this.parseAtom(n);if(!i)break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r<e.length;r++){var o=Fe(e[r],"infix");if(o){if(-1!==n)throw new a("only one infix operator per group",o.token);n=r,t=o.replaceWith}}if(-1!==n&&t){var i,l,c=e.slice(0,n),s=e.slice(n+1);return i=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},l=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},["\\\\abovefrac"===t?this.callFunction(t,[i,e[n],l],[]):this.callFunction(t,[i,l],[])]}return e},t.handleSupSubscript=function(t){var n=this.fetch(),r=n.text;this.consume();var o=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!o)throw new a("Expected group after '"+r+"'",n);return o},t.formatUnsupportedCmd=function(e){for(var t=[],n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});var r={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]}},t.parseAtom=function(e){var t,n,r=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return r;for(;;){this.consumeSpaces();var o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){var i=Fe(r,"op");if(i){var l="\\limits"===o.text;i.limits=l,i.alwaysHandleSupSub=!0}else{if(!(i=Fe(r,"operatorname"))||!i.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",o);var c="\\limits"===o.text;i.limits=c}this.consume()}else if("^"===o.text){if(t)throw new a("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(n)throw new a("Double subscript",o);n=this.handleSupSubscript("subscript")}else{if("'"!==o.text)break;if(t)throw new a("Double superscript",o);var s={type:"textord",mode:this.mode,text:"\\prime"},u=[s];for(this.consume();"'"===this.fetch().text;)u.push(s),this.consume();"^"===this.fetch().text&&u.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:u}}}return t||n?{type:"supsub",mode:this.mode,base:r,sup:t,sub:n}:r},t.parseFunction=function(e,t,n){var r=this.fetch(),o=r.text,i=or[o];if(!i)return null;if(this.consume(),null!=n&&i.greediness<=n)throw new a("Got function '"+o+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!i.allowedInText)throw new a("Can't use function '"+o+"' in text mode",r);if("math"===this.mode&&!1===i.allowedInMath)throw new a("Can't use function '"+o+"' in math mode",r);var l=this.parseArguments(o,i),c=l.args,s=l.optArgs;return this.callFunction(o,c,s,r,e)},t.callFunction=function(e,t,n,r,o){var i={funcName:e,parser:this,token:r,breakOnTokenText:o},l=or[e];if(l&&l.handler)return l.handler(i,t,n);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=t.greediness,o=[],i=[],l=0;l<n;l++){var c=t.argTypes&&t.argTypes[l],s=l<t.numOptionalArgs,u=l>0&&!s||0===l&&!s&&"math"===this.mode,f=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!f){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(f)}return{args:o,optArgs:i}},t.parseGroupOfType=function(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":var i=this.parseGroup(e,n,r,void 0,"text",o);return i?{type:"styling",mode:i.mode,body:[i],style:"text"}:i;case"raw":if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}var l=this.mode;this.mode="text",this.expect(r);for(var c,s="",u=this.fetch(),f=0,h=u;(c=this.fetch()).text!==o||n&&f>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,s));case r:f++;break;case o:f--}s+=(h=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(h,s)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";for(var r,o=this.fetch(),i=o,l="";"EOF"!==(r=this.fetch()).text&&e.test(l+r.text);)l+=(i=r).text,this.consume();if(""===l)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=n,o.range(i,l)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!Me(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,o,i,l,c){var s=this.mode;l&&this.switchMode(l),c&&this.consumeSpaces();var u,f=this.fetch(),h=f.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,p),m=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(f,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===h[0]&&!gr.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,f);u=this.formatUnsupportedCmd(h),this.consume()}return l&&this.switchMode(s),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n<t;++n){var o=e[n],i=o.text;"-"===i&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:r.range(o,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(o,e[n+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[n+1].text!==i||(e.splice(n,2,{type:"textord",mode:"text",loc:r.range(o,e[n+1]),text:i+i}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),o="*"===n.charAt(0);if(o&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:n=n.slice(1,-1),star:o}}xr.hasOwnProperty(t[0])&&!K[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=xr[t[0]]+t.substr(1));var i,l=ar.exec(t);if(l&&("i"===(t=t.substring(0,l.index))?t="ı":"j"===t&&(t="ȷ")),K[this.mode][t]){this.settings.strict&&"math"===this.mode&&"ÇÐÞçþ".indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var c,s=K[this.mode][t].group,u=r.range(e);if(W.hasOwnProperty(s)){var f=s;c={type:"atom",mode:this.mode,family:f,loc:u,text:t}}else c={type:s,mode:this.mode,loc:u,text:t};i=c}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(S(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),l)for(var h=0;h<l[0].length;h++){var p=l[0][h];if(!wr[p])throw new a("Unknown accent ' "+p+"'",e);var d=wr[p][this.mode];if(!d)throw new a("Accent "+p+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:r.range(e),label:d,isStretchy:!1,isShifty:!0,base:i}}return i},e}();_r.endOfExpression=["}","\\endgroup","\\end","\\right","&"],_r.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},_r.SUPSUB_GREEDINESS=1;var kr=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new _r(e,t);delete n.gullet.macros.current["\\df@tag"];var r=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");n.gullet.feed("\\df@tag"),r=[{type:"tag",mode:"text",body:r,tag:n.parse()}]}return r},Sr=function(e,t,n){t.textContent="";var r=Mr(e,n).toNode();t.appendChild(r)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Sr=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Or=function(e,t,n){if(n.throwOnError||!(e instanceof a))throw e;var r=Ie.makeSpan(["katex-error"],[new N(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},Mr=function(e,t){var n=new h(t);try{return function(e,t,n){var r,o=Mt(n);if("mathml"===n.output)return Ot(e,t,o,!0);if("html"===n.output){var i=dt(e,o);r=Ie.makeSpan(["katex"],[i])}else{var a=Ot(e,t,o,!1),l=dt(e,o);r=Ie.makeSpan(["katex"],[a,l])}return Tt(r,n)}(kr(e,n),e,n)}catch(t){return Or(t,e,n)}},Tr={version:"0.11.1",render:Sr,renderToString:function(e,t){return Mr(e,t).toMarkup()},ParseError:a,__parse:function(e,t){var n=new h(t);return kr(e,n)},__renderToDomTree:Mr,__renderToHTMLTree:function(e,t){var n=new h(t);try{return function(e,t,n){var r=dt(e,Mt(n)),o=Ie.makeSpan(["katex"],[r]);return Tt(o,n)}(kr(e,n),0,n)}catch(t){return Or(t,e,n)}},__setFontMetrics:function(e,t){D[e]=t},__defineSymbol:X,__defineMacro:fr,__domTree:{Span:P,Anchor:A,SymbolNode:N,SvgNode:H,PathNode:R,LineNode:V}};t.default=Tr}]).default},e.exports=n()})),a=(o=i)&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;class l{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new l(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class c{constructor(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}range(e,t){return new c(t,l.range(this,e))}}class s{constructor(e,t){this.position=void 0;let n,r="KaTeX parse error: "+e;const o=t&&t.loc;if(o&&o.start<=o.end){const e=o.lexer.input;n=o.start;const t=o.end;n===e.length?r+=" at end of input: ":r+=" at position "+(n+1)+": ";const i=e.slice(n,t).replace(/[^]/g,"$&̲");let a,l;a=n>15?"…"+e.slice(n-15,n):e.slice(0,n),l=t+15<e.length?e.slice(t,t+15)+"…":e.slice(t),r+=a+i+l}const i=new Error(r);return i.name="ParseError",i.__proto__=s.prototype,i.position=n,i}}s.prototype.__proto__=Error.prototype;const u=/([A-Z])/g,f={"&":"&",">":">","<":"<",'"':""","'":"'"},h=/[&><"']/g,p=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t};var d={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(h,e=>f[e])},hyphenate:function(e){return e.replace(u,"-$1").toLowerCase()},getBaseElem:p,isCharacterBox:function(e){const t=p(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}};class m{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=d.deflt(e.displayMode,!1),this.output=d.deflt(e.output,"htmlAndMathml"),this.leqno=d.deflt(e.leqno,!1),this.fleqn=d.deflt(e.fleqn,!1),this.throwOnError=d.deflt(e.throwOnError,!0),this.errorColor=d.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,d.deflt(e.minRuleThickness,0)),this.colorIsTextColor=d.deflt(e.colorIsTextColor,!1),this.strict=d.deflt(e.strict,"warn"),this.trust=d.deflt(e.trust,!1),this.maxSize=Math.max(0,d.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,d.deflt(e.maxExpand,1e3))}reportNonstrict(e,t,n){let r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new s(`LaTeX-incompatible input and strict mode is set to 'error': ${t} [${e}]`,n);"warn"===r?"undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': ${t} [${e}]`):"undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to unrecognized '${r}': ${t} [${e}]`)}}useStrictBehavior(e,t,n){let r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': ${t} [${e}]`),1):("undefined"!=typeof console&&console.warn(`LaTeX-incompatible input and strict mode is set to unrecognized '${r}': ${t} [${e}]`),1)))}isTrusted(e){e.url&&!e.protocol&&(e.protocol=d.protocolFromUrl(e.url));const t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class v{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return y[g[this.id]]}sub(){return y[b[this.id]]}fracNum(){return y[w[this.id]]}fracDen(){return y[x[this.id]]}cramp(){return y[_[this.id]]}text(){return y[k[this.id]]}isTight(){return this.size>=2}}const y=[new v(0,0,!1),new v(1,0,!0),new v(2,1,!1),new v(3,1,!0),new v(4,2,!1),new v(5,2,!0),new v(6,3,!1),new v(7,3,!0)],g=[4,5,4,5,6,7,6,7],b=[5,5,5,5,7,7,7,7],w=[2,3,4,5,6,7,6,7],x=[3,3,5,5,7,7,7,7],_=[1,1,3,3,5,5,7,7],k=[0,1,2,3,2,3,2,3];var S={DISPLAY:y[0],TEXT:y[2],SCRIPT:y[4],SCRIPTSCRIPT:y[6]};const O=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],M=[];function T(e){for(let t=0;t<M.length;t+=2)if(e>=M[t]&&e<=M[t+1])return!0;return!1}O.forEach(e=>e.blocks.forEach(e=>M.push(...e)));const E={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class z{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>e.toText()).join("")}}const C=function(e){return e.filter(e=>e).join(" ")},P=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},A=function(e){const t=document.createElement(e);t.className=C(this.classes);for(const e in this.style)this.style.hasOwnProperty(e)&&(t.style[e]=this.style[e]);for(const e in this.attributes)this.attributes.hasOwnProperty(e)&&t.setAttribute(e,this.attributes[e]);for(let e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t},j=function(e){let t="<"+e;this.classes.length&&(t+=` class="${d.escape(C(this.classes))}"`);let n="";for(const e in this.style)this.style.hasOwnProperty(e)&&(n+=`${d.hyphenate(e)}:${this.style[e]};`);n&&(t+=` style="${d.escape(n)}"`);for(const e in this.attributes)this.attributes.hasOwnProperty(e)&&(t+=` ${e}="${d.escape(this.attributes[e])}"`);t+=">";for(let e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t+=`</${e}>`,t};class L{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return d.contains(this.classes,e)}toNode(){return A.call(this,"span")}toMarkup(){return j.call(this,"span")}}class N{constructor(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,P.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return d.contains(this.classes,e)}toNode(){return A.call(this,"a")}toMarkup(){return j.call(this,"a")}}class H{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e=`<img src='${this.src} 'alt='${this.alt}' `,t="";for(const e in this.style)this.style.hasOwnProperty(e)&&(t+=`${d.hyphenate(e)}:${this.style[e]};`);return t&&(e+=` style="${d.escape(t)}"`),e+="'/>",e}}const R={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class V{constructor(e,t,n,r,o,i,a,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=o||0,this.width=i||0,this.classes=a||[],this.style=l||{},this.maxFontSize=0;const c=function(e){for(let t=0;t<O.length;t++){const n=O[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=R[this.text])}hasClass(e){return d.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=C(this.classes));for(const e in this.style)this.style.hasOwnProperty(e)&&(t=t||document.createElement("span"),t.style[e]=this.style[e]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=d.escape(C(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const e in this.style)this.style.hasOwnProperty(e)&&(n+=d.hyphenate(e)+":"+this.style[e]+";");n&&(e=!0,t+=' style="'+d.escape(n)+'"');const r=d.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class I{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<svg";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` ${t}='${this.attributes[t]}'`);e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class D{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",E[this.pathName]),e}toMarkup(){return this.alternate?`<path d='${this.alternate}'/>`:`<path d='${E[this.pathName]}'/>`}}class F{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` ${t}='${this.attributes[t]}'`);return e+="/>",e}}function q(e){if(e instanceof V)return e;throw new Error(`Expected symbolNode but got ${String(e)}.`)}var U={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const B={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},W={Å:"A",Ç:"C",Ð:"D",Þ:"o",å:"a",ç:"c",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function Y(e,t,n){if(!U[t])throw new Error(`Font metrics not found for font: ${t}.`);let r=e.charCodeAt(0),o=U[t][r];if(!o&&e[0]in W&&(r=W[e[0]].charCodeAt(0),o=U[t][r]),o||"text"!==n||T(r)&&(o=U[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}const G={},K={bin:1,close:1,inner:1,open:1,punct:1,rel:1},X={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},J={math:{},text:{}};function Z(e,t,n,r,o,i){J[e][o]={font:t,group:n,replace:r},i&&r&&(J[e][r]=J[e][o])}const $="math",Q="main",ee="ams",te="accent-token",ne="bin",re="close",oe="mathord",ie="op-token",ae="open",le="rel",ce="spacing",se="textord";Z($,Q,le,"≡","\\equiv",!0),Z($,Q,le,"≺","\\prec",!0),Z($,Q,le,"≻","\\succ",!0),Z($,Q,le,"∼","\\sim",!0),Z($,Q,le,"⊥","\\perp"),Z($,Q,le,"⪯","\\preceq",!0),Z($,Q,le,"⪰","\\succeq",!0),Z($,Q,le,"≃","\\simeq",!0),Z($,Q,le,"∣","\\mid",!0),Z($,Q,le,"≪","\\ll",!0),Z($,Q,le,"≫","\\gg",!0),Z($,Q,le,"≍","\\asymp",!0),Z($,Q,le,"∥","\\parallel"),Z($,Q,le,"⋈","\\bowtie",!0),Z($,Q,le,"⌣","\\smile",!0),Z($,Q,le,"⊑","\\sqsubseteq",!0),Z($,Q,le,"⊒","\\sqsupseteq",!0),Z($,Q,le,"≐","\\doteq",!0),Z($,Q,le,"⌢","\\frown",!0),Z($,Q,le,"∋","\\ni",!0),Z($,Q,le,"∝","\\propto",!0),Z($,Q,le,"⊢","\\vdash",!0),Z($,Q,le,"⊣","\\dashv",!0),Z($,Q,le,"∋","\\owns"),Z($,Q,"punct",".","\\ldotp"),Z($,Q,"punct","⋅","\\cdotp"),Z($,Q,se,"#","\\#"),Z("text",Q,se,"#","\\#"),Z($,Q,se,"&","\\&"),Z("text",Q,se,"&","\\&"),Z($,Q,se,"ℵ","\\aleph",!0),Z($,Q,se,"∀","\\forall",!0),Z($,Q,se,"ℏ","\\hbar",!0),Z($,Q,se,"∃","\\exists",!0),Z($,Q,se,"∇","\\nabla",!0),Z($,Q,se,"♭","\\flat",!0),Z($,Q,se,"ℓ","\\ell",!0),Z($,Q,se,"♮","\\natural",!0),Z($,Q,se,"♣","\\clubsuit",!0),Z($,Q,se,"℘","\\wp",!0),Z($,Q,se,"♯","\\sharp",!0),Z($,Q,se,"♢","\\diamondsuit",!0),Z($,Q,se,"ℜ","\\Re",!0),Z($,Q,se,"♡","\\heartsuit",!0),Z($,Q,se,"ℑ","\\Im",!0),Z($,Q,se,"♠","\\spadesuit",!0),Z("text",Q,se,"§","\\S",!0),Z("text",Q,se,"¶","\\P",!0),Z($,Q,se,"†","\\dag"),Z("text",Q,se,"†","\\dag"),Z("text",Q,se,"†","\\textdagger"),Z($,Q,se,"‡","\\ddag"),Z("text",Q,se,"‡","\\ddag"),Z("text",Q,se,"‡","\\textdaggerdbl"),Z($,Q,re,"⎱","\\rmoustache",!0),Z($,Q,ae,"⎰","\\lmoustache",!0),Z($,Q,re,"⟯","\\rgroup",!0),Z($,Q,ae,"⟮","\\lgroup",!0),Z($,Q,ne,"∓","\\mp",!0),Z($,Q,ne,"⊖","\\ominus",!0),Z($,Q,ne,"⊎","\\uplus",!0),Z($,Q,ne,"⊓","\\sqcap",!0),Z($,Q,ne,"∗","\\ast"),Z($,Q,ne,"⊔","\\sqcup",!0),Z($,Q,ne,"◯","\\bigcirc"),Z($,Q,ne,"∙","\\bullet"),Z($,Q,ne,"‡","\\ddagger"),Z($,Q,ne,"≀","\\wr",!0),Z($,Q,ne,"⨿","\\amalg"),Z($,Q,ne,"&","\\And"),Z($,Q,le,"⟵","\\longleftarrow",!0),Z($,Q,le,"⇐","\\Leftarrow",!0),Z($,Q,le,"⟸","\\Longleftarrow",!0),Z($,Q,le,"⟶","\\longrightarrow",!0),Z($,Q,le,"⇒","\\Rightarrow",!0),Z($,Q,le,"⟹","\\Longrightarrow",!0),Z($,Q,le,"↔","\\leftrightarrow",!0),Z($,Q,le,"⟷","\\longleftrightarrow",!0),Z($,Q,le,"⇔","\\Leftrightarrow",!0),Z($,Q,le,"⟺","\\Longleftrightarrow",!0),Z($,Q,le,"↦","\\mapsto",!0),Z($,Q,le,"⟼","\\longmapsto",!0),Z($,Q,le,"↗","\\nearrow",!0),Z($,Q,le,"↩","\\hookleftarrow",!0),Z($,Q,le,"↪","\\hookrightarrow",!0),Z($,Q,le,"↘","\\searrow",!0),Z($,Q,le,"↼","\\leftharpoonup",!0),Z($,Q,le,"⇀","\\rightharpoonup",!0),Z($,Q,le,"↙","\\swarrow",!0),Z($,Q,le,"↽","\\leftharpoondown",!0),Z($,Q,le,"⇁","\\rightharpoondown",!0),Z($,Q,le,"↖","\\nwarrow",!0),Z($,Q,le,"⇌","\\rightleftharpoons",!0),Z($,ee,le,"≮","\\nless",!0),Z($,ee,le,"","\\@nleqslant"),Z($,ee,le,"","\\@nleqq"),Z($,ee,le,"⪇","\\lneq",!0),Z($,ee,le,"≨","\\lneqq",!0),Z($,ee,le,"","\\@lvertneqq"),Z($,ee,le,"⋦","\\lnsim",!0),Z($,ee,le,"⪉","\\lnapprox",!0),Z($,ee,le,"⊀","\\nprec",!0),Z($,ee,le,"⋠","\\npreceq",!0),Z($,ee,le,"⋨","\\precnsim",!0),Z($,ee,le,"⪹","\\precnapprox",!0),Z($,ee,le,"≁","\\nsim",!0),Z($,ee,le,"","\\@nshortmid"),Z($,ee,le,"∤","\\nmid",!0),Z($,ee,le,"⊬","\\nvdash",!0),Z($,ee,le,"⊭","\\nvDash",!0),Z($,ee,le,"⋪","\\ntriangleleft"),Z($,ee,le,"⋬","\\ntrianglelefteq",!0),Z($,ee,le,"⊊","\\subsetneq",!0),Z($,ee,le,"","\\@varsubsetneq"),Z($,ee,le,"⫋","\\subsetneqq",!0),Z($,ee,le,"","\\@varsubsetneqq"),Z($,ee,le,"≯","\\ngtr",!0),Z($,ee,le,"","\\@ngeqslant"),Z($,ee,le,"","\\@ngeqq"),Z($,ee,le,"⪈","\\gneq",!0),Z($,ee,le,"≩","\\gneqq",!0),Z($,ee,le,"","\\@gvertneqq"),Z($,ee,le,"⋧","\\gnsim",!0),Z($,ee,le,"⪊","\\gnapprox",!0),Z($,ee,le,"⊁","\\nsucc",!0),Z($,ee,le,"⋡","\\nsucceq",!0),Z($,ee,le,"⋩","\\succnsim",!0),Z($,ee,le,"⪺","\\succnapprox",!0),Z($,ee,le,"≆","\\ncong",!0),Z($,ee,le,"","\\@nshortparallel"),Z($,ee,le,"∦","\\nparallel",!0),Z($,ee,le,"⊯","\\nVDash",!0),Z($,ee,le,"⋫","\\ntriangleright"),Z($,ee,le,"⋭","\\ntrianglerighteq",!0),Z($,ee,le,"","\\@nsupseteqq"),Z($,ee,le,"⊋","\\supsetneq",!0),Z($,ee,le,"","\\@varsupsetneq"),Z($,ee,le,"⫌","\\supsetneqq",!0),Z($,ee,le,"","\\@varsupsetneqq"),Z($,ee,le,"⊮","\\nVdash",!0),Z($,ee,le,"⪵","\\precneqq",!0),Z($,ee,le,"⪶","\\succneqq",!0),Z($,ee,le,"","\\@nsubseteqq"),Z($,ee,ne,"⊴","\\unlhd"),Z($,ee,ne,"⊵","\\unrhd"),Z($,ee,le,"↚","\\nleftarrow",!0),Z($,ee,le,"↛","\\nrightarrow",!0),Z($,ee,le,"⇍","\\nLeftarrow",!0),Z($,ee,le,"⇏","\\nRightarrow",!0),Z($,ee,le,"↮","\\nleftrightarrow",!0),Z($,ee,le,"⇎","\\nLeftrightarrow",!0),Z($,ee,le,"△","\\vartriangle"),Z($,ee,se,"ℏ","\\hslash"),Z($,ee,se,"▽","\\triangledown"),Z($,ee,se,"◊","\\lozenge"),Z($,ee,se,"Ⓢ","\\circledS"),Z($,ee,se,"®","\\circledR"),Z("text",ee,se,"®","\\circledR"),Z($,ee,se,"∡","\\measuredangle",!0),Z($,ee,se,"∄","\\nexists"),Z($,ee,se,"℧","\\mho"),Z($,ee,se,"Ⅎ","\\Finv",!0),Z($,ee,se,"⅁","\\Game",!0),Z($,ee,se,"‵","\\backprime"),Z($,ee,se,"▲","\\blacktriangle"),Z($,ee,se,"▼","\\blacktriangledown"),Z($,ee,se,"■","\\blacksquare"),Z($,ee,se,"⧫","\\blacklozenge"),Z($,ee,se,"★","\\bigstar"),Z($,ee,se,"∢","\\sphericalangle",!0),Z($,ee,se,"∁","\\complement",!0),Z($,ee,se,"ð","\\eth",!0),Z($,ee,se,"╱","\\diagup"),Z($,ee,se,"╲","\\diagdown"),Z($,ee,se,"□","\\square"),Z($,ee,se,"□","\\Box"),Z($,ee,se,"◊","\\Diamond"),Z($,ee,se,"¥","\\yen",!0),Z("text",ee,se,"¥","\\yen",!0),Z($,ee,se,"✓","\\checkmark",!0),Z("text",ee,se,"✓","\\checkmark"),Z($,ee,se,"ℶ","\\beth",!0),Z($,ee,se,"ℸ","\\daleth",!0),Z($,ee,se,"ℷ","\\gimel",!0),Z($,ee,se,"ϝ","\\digamma",!0),Z($,ee,se,"ϰ","\\varkappa"),Z($,ee,ae,"┌","\\ulcorner",!0),Z($,ee,re,"┐","\\urcorner",!0),Z($,ee,ae,"└","\\llcorner",!0),Z($,ee,re,"┘","\\lrcorner",!0),Z($,ee,le,"≦","\\leqq",!0),Z($,ee,le,"⩽","\\leqslant",!0),Z($,ee,le,"⪕","\\eqslantless",!0),Z($,ee,le,"≲","\\lesssim",!0),Z($,ee,le,"⪅","\\lessapprox",!0),Z($,ee,le,"≊","\\approxeq",!0),Z($,ee,ne,"⋖","\\lessdot"),Z($,ee,le,"⋘","\\lll",!0),Z($,ee,le,"≶","\\lessgtr",!0),Z($,ee,le,"⋚","\\lesseqgtr",!0),Z($,ee,le,"⪋","\\lesseqqgtr",!0),Z($,ee,le,"≑","\\doteqdot"),Z($,ee,le,"≓","\\risingdotseq",!0),Z($,ee,le,"≒","\\fallingdotseq",!0),Z($,ee,le,"∽","\\backsim",!0),Z($,ee,le,"⋍","\\backsimeq",!0),Z($,ee,le,"⫅","\\subseteqq",!0),Z($,ee,le,"⋐","\\Subset",!0),Z($,ee,le,"⊏","\\sqsubset",!0),Z($,ee,le,"≼","\\preccurlyeq",!0),Z($,ee,le,"⋞","\\curlyeqprec",!0),Z($,ee,le,"≾","\\precsim",!0),Z($,ee,le,"⪷","\\precapprox",!0),Z($,ee,le,"⊲","\\vartriangleleft"),Z($,ee,le,"⊴","\\trianglelefteq"),Z($,ee,le,"⊨","\\vDash",!0),Z($,ee,le,"⊪","\\Vvdash",!0),Z($,ee,le,"⌣","\\smallsmile"),Z($,ee,le,"⌢","\\smallfrown"),Z($,ee,le,"≏","\\bumpeq",!0),Z($,ee,le,"≎","\\Bumpeq",!0),Z($,ee,le,"≧","\\geqq",!0),Z($,ee,le,"⩾","\\geqslant",!0),Z($,ee,le,"⪖","\\eqslantgtr",!0),Z($,ee,le,"≳","\\gtrsim",!0),Z($,ee,le,"⪆","\\gtrapprox",!0),Z($,ee,ne,"⋗","\\gtrdot"),Z($,ee,le,"⋙","\\ggg",!0),Z($,ee,le,"≷","\\gtrless",!0),Z($,ee,le,"⋛","\\gtreqless",!0),Z($,ee,le,"⪌","\\gtreqqless",!0),Z($,ee,le,"≖","\\eqcirc",!0),Z($,ee,le,"≗","\\circeq",!0),Z($,ee,le,"≜","\\triangleq",!0),Z($,ee,le,"∼","\\thicksim"),Z($,ee,le,"≈","\\thickapprox"),Z($,ee,le,"⫆","\\supseteqq",!0),Z($,ee,le,"⋑","\\Supset",!0),Z($,ee,le,"⊐","\\sqsupset",!0),Z($,ee,le,"≽","\\succcurlyeq",!0),Z($,ee,le,"⋟","\\curlyeqsucc",!0),Z($,ee,le,"≿","\\succsim",!0),Z($,ee,le,"⪸","\\succapprox",!0),Z($,ee,le,"⊳","\\vartriangleright"),Z($,ee,le,"⊵","\\trianglerighteq"),Z($,ee,le,"⊩","\\Vdash",!0),Z($,ee,le,"∣","\\shortmid"),Z($,ee,le,"∥","\\shortparallel"),Z($,ee,le,"≬","\\between",!0),Z($,ee,le,"⋔","\\pitchfork",!0),Z($,ee,le,"∝","\\varpropto"),Z($,ee,le,"◀","\\blacktriangleleft"),Z($,ee,le,"∴","\\therefore",!0),Z($,ee,le,"∍","\\backepsilon"),Z($,ee,le,"▶","\\blacktriangleright"),Z($,ee,le,"∵","\\because",!0),Z($,ee,le,"⋘","\\llless"),Z($,ee,le,"⋙","\\gggtr"),Z($,ee,ne,"⊲","\\lhd"),Z($,ee,ne,"⊳","\\rhd"),Z($,ee,le,"≂","\\eqsim",!0),Z($,Q,le,"⋈","\\Join"),Z($,ee,le,"≑","\\Doteq",!0),Z($,ee,ne,"∔","\\dotplus",!0),Z($,ee,ne,"∖","\\smallsetminus"),Z($,ee,ne,"⋒","\\Cap",!0),Z($,ee,ne,"⋓","\\Cup",!0),Z($,ee,ne,"⩞","\\doublebarwedge",!0),Z($,ee,ne,"⊟","\\boxminus",!0),Z($,ee,ne,"⊞","\\boxplus",!0),Z($,ee,ne,"⋇","\\divideontimes",!0),Z($,ee,ne,"⋉","\\ltimes",!0),Z($,ee,ne,"⋊","\\rtimes",!0),Z($,ee,ne,"⋋","\\leftthreetimes",!0),Z($,ee,ne,"⋌","\\rightthreetimes",!0),Z($,ee,ne,"⋏","\\curlywedge",!0),Z($,ee,ne,"⋎","\\curlyvee",!0),Z($,ee,ne,"⊝","\\circleddash",!0),Z($,ee,ne,"⊛","\\circledast",!0),Z($,ee,ne,"⋅","\\centerdot"),Z($,ee,ne,"⊺","\\intercal",!0),Z($,ee,ne,"⋒","\\doublecap"),Z($,ee,ne,"⋓","\\doublecup"),Z($,ee,ne,"⊠","\\boxtimes",!0),Z($,ee,le,"⇢","\\dashrightarrow",!0),Z($,ee,le,"⇠","\\dashleftarrow",!0),Z($,ee,le,"⇇","\\leftleftarrows",!0),Z($,ee,le,"⇆","\\leftrightarrows",!0),Z($,ee,le,"⇚","\\Lleftarrow",!0),Z($,ee,le,"↞","\\twoheadleftarrow",!0),Z($,ee,le,"↢","\\leftarrowtail",!0),Z($,ee,le,"↫","\\looparrowleft",!0),Z($,ee,le,"⇋","\\leftrightharpoons",!0),Z($,ee,le,"↶","\\curvearrowleft",!0),Z($,ee,le,"↺","\\circlearrowleft",!0),Z($,ee,le,"↰","\\Lsh",!0),Z($,ee,le,"⇈","\\upuparrows",!0),Z($,ee,le,"↿","\\upharpoonleft",!0),Z($,ee,le,"⇃","\\downharpoonleft",!0),Z($,ee,le,"⊸","\\multimap",!0),Z($,ee,le,"↭","\\leftrightsquigarrow",!0),Z($,ee,le,"⇉","\\rightrightarrows",!0),Z($,ee,le,"⇄","\\rightleftarrows",!0),Z($,ee,le,"↠","\\twoheadrightarrow",!0),Z($,ee,le,"↣","\\rightarrowtail",!0),Z($,ee,le,"↬","\\looparrowright",!0),Z($,ee,le,"↷","\\curvearrowright",!0),Z($,ee,le,"↻","\\circlearrowright",!0),Z($,ee,le,"↱","\\Rsh",!0),Z($,ee,le,"⇊","\\downdownarrows",!0),Z($,ee,le,"↾","\\upharpoonright",!0),Z($,ee,le,"⇂","\\downharpoonright",!0),Z($,ee,le,"⇝","\\rightsquigarrow",!0),Z($,ee,le,"⇝","\\leadsto"),Z($,ee,le,"⇛","\\Rrightarrow",!0),Z($,ee,le,"↾","\\restriction"),Z($,Q,se,"‘","`"),Z($,Q,se,"$","\\$"),Z("text",Q,se,"$","\\$"),Z("text",Q,se,"$","\\textdollar"),Z($,Q,se,"%","\\%"),Z("text",Q,se,"%","\\%"),Z($,Q,se,"_","\\_"),Z("text",Q,se,"_","\\_"),Z("text",Q,se,"_","\\textunderscore"),Z($,Q,se,"∠","\\angle",!0),Z($,Q,se,"∞","\\infty",!0),Z($,Q,se,"′","\\prime"),Z($,Q,se,"△","\\triangle"),Z($,Q,se,"Γ","\\Gamma",!0),Z($,Q,se,"Δ","\\Delta",!0),Z($,Q,se,"Θ","\\Theta",!0),Z($,Q,se,"Λ","\\Lambda",!0),Z($,Q,se,"Ξ","\\Xi",!0),Z($,Q,se,"Π","\\Pi",!0),Z($,Q,se,"Σ","\\Sigma",!0),Z($,Q,se,"Υ","\\Upsilon",!0),Z($,Q,se,"Φ","\\Phi",!0),Z($,Q,se,"Ψ","\\Psi",!0),Z($,Q,se,"Ω","\\Omega",!0),Z($,Q,se,"A","Α"),Z($,Q,se,"B","Β"),Z($,Q,se,"E","Ε"),Z($,Q,se,"Z","Ζ"),Z($,Q,se,"H","Η"),Z($,Q,se,"I","Ι"),Z($,Q,se,"K","Κ"),Z($,Q,se,"M","Μ"),Z($,Q,se,"N","Ν"),Z($,Q,se,"O","Ο"),Z($,Q,se,"P","Ρ"),Z($,Q,se,"T","Τ"),Z($,Q,se,"X","Χ"),Z($,Q,se,"¬","\\neg",!0),Z($,Q,se,"¬","\\lnot"),Z($,Q,se,"⊤","\\top"),Z($,Q,se,"⊥","\\bot"),Z($,Q,se,"∅","\\emptyset"),Z($,ee,se,"∅","\\varnothing"),Z($,Q,oe,"α","\\alpha",!0),Z($,Q,oe,"β","\\beta",!0),Z($,Q,oe,"γ","\\gamma",!0),Z($,Q,oe,"δ","\\delta",!0),Z($,Q,oe,"ϵ","\\epsilon",!0),Z($,Q,oe,"ζ","\\zeta",!0),Z($,Q,oe,"η","\\eta",!0),Z($,Q,oe,"θ","\\theta",!0),Z($,Q,oe,"ι","\\iota",!0),Z($,Q,oe,"κ","\\kappa",!0),Z($,Q,oe,"λ","\\lambda",!0),Z($,Q,oe,"μ","\\mu",!0),Z($,Q,oe,"ν","\\nu",!0),Z($,Q,oe,"ξ","\\xi",!0),Z($,Q,oe,"ο","\\omicron",!0),Z($,Q,oe,"π","\\pi",!0),Z($,Q,oe,"ρ","\\rho",!0),Z($,Q,oe,"σ","\\sigma",!0),Z($,Q,oe,"τ","\\tau",!0),Z($,Q,oe,"υ","\\upsilon",!0),Z($,Q,oe,"ϕ","\\phi",!0),Z($,Q,oe,"χ","\\chi",!0),Z($,Q,oe,"ψ","\\psi",!0),Z($,Q,oe,"ω","\\omega",!0),Z($,Q,oe,"ε","\\varepsilon",!0),Z($,Q,oe,"ϑ","\\vartheta",!0),Z($,Q,oe,"ϖ","\\varpi",!0),Z($,Q,oe,"ϱ","\\varrho",!0),Z($,Q,oe,"ς","\\varsigma",!0),Z($,Q,oe,"φ","\\varphi",!0),Z($,Q,ne,"∗","*"),Z($,Q,ne,"+","+"),Z($,Q,ne,"−","-"),Z($,Q,ne,"⋅","\\cdot",!0),Z($,Q,ne,"∘","\\circ"),Z($,Q,ne,"÷","\\div",!0),Z($,Q,ne,"±","\\pm",!0),Z($,Q,ne,"×","\\times",!0),Z($,Q,ne,"∩","\\cap",!0),Z($,Q,ne,"∪","\\cup",!0),Z($,Q,ne,"∖","\\setminus"),Z($,Q,ne,"∧","\\land"),Z($,Q,ne,"∨","\\lor"),Z($,Q,ne,"∧","\\wedge",!0),Z($,Q,ne,"∨","\\vee",!0),Z($,Q,se,"√","\\surd"),Z($,Q,ae,"(","("),Z($,Q,ae,"[","["),Z($,Q,ae,"⟨","\\langle",!0),Z($,Q,ae,"∣","\\lvert"),Z($,Q,ae,"∥","\\lVert"),Z($,Q,re,")",")"),Z($,Q,re,"]","]"),Z($,Q,re,"?","?"),Z($,Q,re,"!","!"),Z($,Q,re,"⟩","\\rangle",!0),Z($,Q,re,"∣","\\rvert"),Z($,Q,re,"∥","\\rVert"),Z($,Q,le,"=","="),Z($,Q,le,"<","<"),Z($,Q,le,">",">"),Z($,Q,le,":",":"),Z($,Q,le,"≈","\\approx",!0),Z($,Q,le,"≅","\\cong",!0),Z($,Q,le,"≥","\\ge"),Z($,Q,le,"≥","\\geq",!0),Z($,Q,le,"←","\\gets"),Z($,Q,le,">","\\gt"),Z($,Q,le,"∈","\\in",!0),Z($,Q,le,"","\\@not"),Z($,Q,le,"⊂","\\subset",!0),Z($,Q,le,"⊃","\\supset",!0),Z($,Q,le,"⊆","\\subseteq",!0),Z($,Q,le,"⊇","\\supseteq",!0),Z($,ee,le,"⊈","\\nsubseteq",!0),Z($,ee,le,"⊉","\\nsupseteq",!0),Z($,Q,le,"⊨","\\models"),Z($,Q,le,"←","\\leftarrow",!0),Z($,Q,le,"≤","\\le"),Z($,Q,le,"≤","\\leq",!0),Z($,Q,le,"<","\\lt"),Z($,Q,le,"→","\\rightarrow",!0),Z($,Q,le,"→","\\to"),Z($,ee,le,"≱","\\ngeq",!0),Z($,ee,le,"≰","\\nleq",!0),Z($,Q,ce," ","\\ "),Z($,Q,ce," ","~"),Z($,Q,ce," ","\\space"),Z($,Q,ce," ","\\nobreakspace"),Z("text",Q,ce," ","\\ "),Z("text",Q,ce," ","~"),Z("text",Q,ce," ","\\space"),Z("text",Q,ce," ","\\nobreakspace"),Z($,Q,ce,null,"\\nobreak"),Z($,Q,ce,null,"\\allowbreak"),Z($,Q,"punct",",",","),Z($,Q,"punct",";",";"),Z($,ee,ne,"⊼","\\barwedge",!0),Z($,ee,ne,"⊻","\\veebar",!0),Z($,Q,ne,"⊙","\\odot",!0),Z($,Q,ne,"⊕","\\oplus",!0),Z($,Q,ne,"⊗","\\otimes",!0),Z($,Q,se,"∂","\\partial",!0),Z($,Q,ne,"⊘","\\oslash",!0),Z($,ee,ne,"⊚","\\circledcirc",!0),Z($,ee,ne,"⊡","\\boxdot",!0),Z($,Q,ne,"△","\\bigtriangleup"),Z($,Q,ne,"▽","\\bigtriangledown"),Z($,Q,ne,"†","\\dagger"),Z($,Q,ne,"⋄","\\diamond"),Z($,Q,ne,"⋆","\\star"),Z($,Q,ne,"◃","\\triangleleft"),Z($,Q,ne,"▹","\\triangleright"),Z($,Q,ae,"{","\\{"),Z("text",Q,se,"{","\\{"),Z("text",Q,se,"{","\\textbraceleft"),Z($,Q,re,"}","\\}"),Z("text",Q,se,"}","\\}"),Z("text",Q,se,"}","\\textbraceright"),Z($,Q,ae,"{","\\lbrace"),Z($,Q,re,"}","\\rbrace"),Z($,Q,ae,"[","\\lbrack"),Z("text",Q,se,"[","\\lbrack"),Z($,Q,re,"]","\\rbrack"),Z("text",Q,se,"]","\\rbrack"),Z($,Q,ae,"(","\\lparen"),Z($,Q,re,")","\\rparen"),Z("text",Q,se,"<","\\textless"),Z("text",Q,se,">","\\textgreater"),Z($,Q,ae,"⌊","\\lfloor",!0),Z($,Q,re,"⌋","\\rfloor",!0),Z($,Q,ae,"⌈","\\lceil",!0),Z($,Q,re,"⌉","\\rceil",!0),Z($,Q,se,"\\","\\backslash"),Z($,Q,se,"∣","|"),Z($,Q,se,"∣","\\vert"),Z("text",Q,se,"|","\\textbar"),Z($,Q,se,"∥","\\|"),Z($,Q,se,"∥","\\Vert"),Z("text",Q,se,"∥","\\textbardbl"),Z("text",Q,se,"~","\\textasciitilde"),Z("text",Q,se,"\\","\\textbackslash"),Z("text",Q,se,"^","\\textasciicircum"),Z($,Q,le,"↑","\\uparrow",!0),Z($,Q,le,"⇑","\\Uparrow",!0),Z($,Q,le,"↓","\\downarrow",!0),Z($,Q,le,"⇓","\\Downarrow",!0),Z($,Q,le,"↕","\\updownarrow",!0),Z($,Q,le,"⇕","\\Updownarrow",!0),Z($,Q,ie,"∐","\\coprod"),Z($,Q,ie,"⋁","\\bigvee"),Z($,Q,ie,"⋀","\\bigwedge"),Z($,Q,ie,"⨄","\\biguplus"),Z($,Q,ie,"⋂","\\bigcap"),Z($,Q,ie,"⋃","\\bigcup"),Z($,Q,ie,"∫","\\int"),Z($,Q,ie,"∫","\\intop"),Z($,Q,ie,"∬","\\iint"),Z($,Q,ie,"∭","\\iiint"),Z($,Q,ie,"∏","\\prod"),Z($,Q,ie,"∑","\\sum"),Z($,Q,ie,"⨂","\\bigotimes"),Z($,Q,ie,"⨁","\\bigoplus"),Z($,Q,ie,"⨀","\\bigodot"),Z($,Q,ie,"∮","\\oint"),Z($,Q,ie,"∯","\\oiint"),Z($,Q,ie,"∰","\\oiiint"),Z($,Q,ie,"⨆","\\bigsqcup"),Z($,Q,ie,"∫","\\smallint"),Z("text",Q,"inner","…","\\textellipsis"),Z($,Q,"inner","…","\\mathellipsis"),Z("text",Q,"inner","…","\\ldots",!0),Z($,Q,"inner","…","\\ldots",!0),Z($,Q,"inner","⋯","\\@cdots",!0),Z($,Q,"inner","⋱","\\ddots",!0),Z($,Q,se,"⋮","\\varvdots"),Z($,Q,te,"ˊ","\\acute"),Z($,Q,te,"ˋ","\\grave"),Z($,Q,te,"¨","\\ddot"),Z($,Q,te,"~","\\tilde"),Z($,Q,te,"ˉ","\\bar"),Z($,Q,te,"˘","\\breve"),Z($,Q,te,"ˇ","\\check"),Z($,Q,te,"^","\\hat"),Z($,Q,te,"⃗","\\vec"),Z($,Q,te,"˙","\\dot"),Z($,Q,te,"˚","\\mathring"),Z($,Q,oe,"ı","\\imath",!0),Z($,Q,oe,"ȷ","\\jmath",!0),Z("text",Q,se,"ı","\\i",!0),Z("text",Q,se,"ȷ","\\j",!0),Z("text",Q,se,"ß","\\ss",!0),Z("text",Q,se,"æ","\\ae",!0),Z("text",Q,se,"æ","\\ae",!0),Z("text",Q,se,"œ","\\oe",!0),Z("text",Q,se,"ø","\\o",!0),Z("text",Q,se,"Æ","\\AE",!0),Z("text",Q,se,"Œ","\\OE",!0),Z("text",Q,se,"Ø","\\O",!0),Z("text",Q,te,"ˊ","\\'"),Z("text",Q,te,"ˋ","\\`"),Z("text",Q,te,"ˆ","\\^"),Z("text",Q,te,"˜","\\~"),Z("text",Q,te,"ˉ","\\="),Z("text",Q,te,"˘","\\u"),Z("text",Q,te,"˙","\\."),Z("text",Q,te,"˚","\\r"),Z("text",Q,te,"ˇ","\\v"),Z("text",Q,te,"¨",'\\"'),Z("text",Q,te,"˝","\\H"),Z("text",Q,te,"◯","\\textcircled");const ue={"--":!0,"---":!0,"``":!0,"''":!0};Z("text",Q,se,"–","--"),Z("text",Q,se,"–","\\textendash"),Z("text",Q,se,"—","---"),Z("text",Q,se,"—","\\textemdash"),Z("text",Q,se,"‘","`"),Z("text",Q,se,"‘","\\textquoteleft"),Z("text",Q,se,"’","'"),Z("text",Q,se,"’","\\textquoteright"),Z("text",Q,se,"“","``"),Z("text",Q,se,"“","\\textquotedblleft"),Z("text",Q,se,"”","''"),Z("text",Q,se,"”","\\textquotedblright"),Z($,Q,se,"°","\\degree",!0),Z("text",Q,se,"°","\\degree"),Z("text",Q,se,"°","\\textdegree",!0),Z($,Q,oe,"£","\\pounds"),Z($,Q,oe,"£","\\mathsterling",!0),Z("text",Q,oe,"£","\\pounds"),Z("text",Q,oe,"£","\\textsterling",!0),Z($,ee,se,"✠","\\maltese"),Z("text",ee,se,"✠","\\maltese"),Z("text",Q,ce," ","\\ "),Z("text",Q,ce," "," "),Z("text",Q,ce," ","~");for(let e=0;e<'0123456789/@."'.length;e++){const t='0123456789/@."'.charAt(e);Z($,Q,se,t,t)}for(let e=0;e<'0123456789!@*()-=+[]<>|";:?/.,'.length;e++){const t='0123456789!@*()-=+[]<>|";:?/.,'.charAt(e);Z("text",Q,se,t,t)}const fe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let e=0;e<fe.length;e++){const t=fe.charAt(e);Z($,Q,oe,t,t),Z("text",Q,se,t,t)}Z($,ee,se,"C","ℂ"),Z("text",ee,se,"C","ℂ"),Z($,ee,se,"H","ℍ"),Z("text",ee,se,"H","ℍ"),Z($,ee,se,"N","ℕ"),Z("text",ee,se,"N","ℕ"),Z($,ee,se,"P","ℙ"),Z("text",ee,se,"P","ℙ"),Z($,ee,se,"Q","ℚ"),Z("text",ee,se,"Q","ℚ"),Z($,ee,se,"R","ℝ"),Z("text",ee,se,"R","ℝ"),Z($,ee,se,"Z","ℤ"),Z("text",ee,se,"Z","ℤ"),Z($,Q,oe,"h","ℎ"),Z("text",Q,oe,"h","ℎ");let he="";for(let e=0;e<fe.length;e++){const t=fe.charAt(e);he=String.fromCharCode(55349,56320+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56372+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56424+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56580+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56736+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56788+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56840+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56944+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),e<26&&(he=String.fromCharCode(55349,56632+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,56476+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he))}he=String.fromCharCode(55349,56668),Z($,Q,oe,"k",he),Z("text",Q,se,"k",he);for(let e=0;e<10;e++){const t=e.toString();he=String.fromCharCode(55349,57294+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,57314+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,57324+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he),he=String.fromCharCode(55349,57334+e),Z($,Q,oe,t,he),Z("text",Q,se,t,he)}for(let e=0;e<"ÇÐÞçþ".length;e++){const t="ÇÐÞçþ".charAt(e);Z($,Q,oe,t,t),Z("text",Q,se,t,t)}Z("text",Q,se,"ð","ð"),Z("text",Q,se,"–","–"),Z("text",Q,se,"—","—"),Z("text",Q,se,"‘","‘"),Z("text",Q,se,"’","’"),Z("text",Q,se,"“","“"),Z("text",Q,se,"”","”");const pe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],de=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],me=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ve=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ye=function(e,t){return t.size<2?e:me[e-1][t.size-1]};class ge{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||ge.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=ve[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new ge(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:ye(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:ve[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=ye(ge.BASESIZE,e);return this.size===t&&this.textSize===ge.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ge.BASESIZE?["sizing","reset-size"+this.size,"size"+ge.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){let t;if(t=e>=5?0:e>=3?1:2,!G[t]){const e=G[t]={cssEmPerMu:B.quad[t]/18};for(const n in B)B.hasOwnProperty(n)&&(e[n]=B[n][t])}return G[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ge.BASESIZE=6;const be={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},we={ex:!0,em:!0,mu:!0},xe=function(e){return"string"!=typeof e&&(e=e.unit),e in be||e in we||"ex"===e},_e=function(e,t){let n;if(e.unit in be)n=be[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new s("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},ke=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],Se=function(e,t,n){return J[n][e]&&J[n][e].replace&&(e=J[n][e].replace),{value:e,metrics:Y(e,t,n)}},Oe=function(e,t,n,r,o){const i=Se(e,t,n),a=i.metrics;let l;if(e=i.value,a){let t=a.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),l=new V(e,a.height,a.depth,t,a.skew,a.width,o)}else"undefined"!=typeof console&&console.warn(`No character metrics for '${e}' in style '${t}' and mode '${n}'`),l=new V(e,0,0,0,0,0,o);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");const e=r.getColor();e&&(l.style.color=e)}return l},Me=(e,t)=>{if(C(e.classes)!==C(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},Te=function(e){let t=0,n=0,r=0;for(let o=0;o<e.children.length;o++){const i=e.children[o];i.height>t&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ee=function(e,t,n,r){const o=new L(e,t,n,r);return Te(o),o},ze=(e,t,n,r)=>new L(e,t,n,r),Ce=function(e){const t=new z(e);return Te(t),t},Pe=function(e,t,n){let r,o="";switch(e){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",`${o}-${r}`},Ae={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Le={fontMap:Ae,makeSymbol:Oe,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Se(e,"Main-Bold",t).metrics?Oe(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===J[t][e].font?Oe(e,"Main-Regular",t,n,r):Oe(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Ee,makeSvgSpan:ze,makeLineSpan:function(e,t,n){const r=Ee([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){const o=new N(e,t,n,r);return Te(o),o},makeFragment:Ce,wrapFragment:function(e,t){return e instanceof z?Ee([],[e],t):e},makeVList:function(e,t){const n=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let o=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-o-t[e].elem.depth,i=r-(t[e-1].elem.height+t[e-1].elem.depth);o+=r,n.push({type:"kern",size:i}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error(`Invalid positionType ${e.positionType}.`);t=-n.elem.depth}}return{children:e.children,depth:t}}(e),r=n.children,o=n.depth;let i=0;for(let e=0;e<r.length;e++){const t=r[e];if("elem"===t.type){const e=t.elem;i=Math.max(i,e.maxFontSize,e.height)}}i+=2;const a=Ee(["pstrut"],[]);a.style.height=i+"em";const l=[];let c=o,s=o,u=o;for(let e=0;e<r.length;e++){const t=r[e];if("kern"===t.type)u+=t.size;else{const e=t.elem,n=t.wrapperClasses||[],r=t.wrapperStyle||{},o=Ee(n,[a,e],void 0,r);o.style.top=-i-u-e.depth+"em",t.marginLeft&&(o.style.marginLeft=t.marginLeft),t.marginRight&&(o.style.marginRight=t.marginRight),l.push(o),u+=e.height+e.depth}c=Math.min(c,u),s=Math.max(s,u)}const f=Ee(["vlist"],l);let h;if(f.style.height=s+"em",c<0){const e=Ee([],[]),t=Ee(["vlist"],[e]);t.style.height=-c+"em";const n=Ee(["vlist-s"],[new V("​")]);h=[Ee(["vlist-r"],[f,n]),Ee(["vlist-r"],[t])]}else h=[Ee(["vlist-r"],[f])];const p=Ee(["vlist-t"],h);return 2===h.length&&p.classes.push("vlist-t2"),p.height=s,p.depth=-c,p},makeOrd:function(e,t,n){const r=e.mode,o=e.text,i=["mord"],a="math"===r||"text"===r&&t.font,l=a?t.font:t.fontFamily;if(55349===o.charCodeAt(0)){const e=function(e,t){const n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,r="math"===t?0:1;if(119808<=n&&n<120484){const e=Math.floor((n-119808)/26);return[pe[e][2],pe[e][r]]}if(120782<=n&&n<=120831){const e=Math.floor((n-120782)/10);return[de[e][2],de[e][r]]}if(120485===n||120486===n)return[pe[0][2],pe[0][r]];if(120486<n&&n<120782)return["",""];throw new s("Unsupported character: "+e)}(o,r),n=e[0],a=e[1];return Oe(o,n,r,t,i.concat(a))}if(l){let e,n;if("boldsymbol"===l||"mathnormal"===l){const t="boldsymbol"===l?function(e,t,n,r){return Se(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,r):(c=o,d.contains(ke,c)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(c.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"});e=t.fontName,n=[t.fontClass]}else d.contains(ke,o)?(e="Main-Italic",n=["mathit"]):a?(e=Ae[l].fontName,n=[l]):(e=Pe(l,t.fontWeight,t.fontShape),n=[l,t.fontWeight,t.fontShape]);if(Se(o,e,r).metrics)return Oe(o,e,r,t,i.concat(n));if(ue.hasOwnProperty(o)&&"Typewriter"===e.substr(0,10)){const a=[];for(let l=0;l<o.length;l++)a.push(Oe(o[l],e,r,t,i.concat(n)));return Ce(a)}}var c;if("mathord"===n){const e=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||d.contains(ke,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}}(o);return Oe(o,e.fontName,r,t,i.concat([e.fontClass]))}if("textord"===n){const e=J[r][o]&&J[r][o].font;if("ams"===e){const e=Pe("amsrm",t.fontWeight,t.fontShape);return Oe(o,e,r,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=Pe(e,t.fontWeight,t.fontShape);return Oe(o,n,r,t,i.concat(n,t.fontWeight,t.fontShape))}{const e=Pe("textrm",t.fontWeight,t.fontShape);return Oe(o,e,r,t,i.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:(e,t)=>{const n=Ee(["mspace"],[],t),r=_e(e,t);return n.style.marginRight=r+"em",n},staticSvg:function(e,t){const n=je[e],r=n[0],o=n[1],i=n[2],a=new D(r),l=new I([a],{width:o+"em",height:i+"em",style:"width:"+o+"em",viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=ze(["overlay"],[l],t);return c.height=i,c.style.height=i+"em",c.style.width=o+"em",c},svgData:je,tryCombineChars:e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof V&&r instanceof V&&Me(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}};function Ne(e,t){const n=He(e,t);if(!n)throw new Error(`Expected node of type ${t}, but got `+(e?"node of type "+e.type:String(e)));return n}function He(e,t){return e&&e.type===t?e:null}function Re(e,t){const n=function(e,t){return e&&"atom"===e.type&&e.family===t?e:null}(e,t);if(!n)throw new Error(`Expected node of type "atom" and family "${t}", but got `+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return n}function Ve(e){const t=Ie(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Ie(e){return e&&("atom"===e.type||X.hasOwnProperty(e.type))?e:null}const De={number:3,unit:"mu"},Fe={number:4,unit:"mu"},qe={number:5,unit:"mu"},Ue={mord:{mop:De,mbin:Fe,mrel:qe,minner:De},mop:{mord:De,mop:De,mrel:qe,minner:De},mbin:{mord:Fe,mop:Fe,mopen:Fe,minner:Fe},mrel:{mord:qe,mop:qe,mopen:qe,minner:qe},mopen:{},mclose:{mop:De,mbin:Fe,mrel:qe,minner:De},mpunct:{mord:De,mop:De,mrel:qe,mopen:De,mclose:De,mpunct:De,minner:De},minner:{mord:De,mop:De,mbin:Fe,mrel:qe,mopen:De,mpunct:De,minner:De}},Be={mord:{mop:De},mop:{mord:De,mop:De},mbin:{},mrel:{},mopen:{},mclose:{mop:De},mpunct:{},minner:{mop:De}},We={},Ye={},Ge={};function Ke(e){let t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder;const l={type:t,numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:o};for(let e=0;e<n.length;++e)We[n[e]]=l;t&&(i&&(Ye[t]=i),a&&(Ge[t]=a))}function Xe(e){Ke({type:e.type,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:e.htmlBuilder,mathmlBuilder:e.mathmlBuilder})}const Je=function(e){const t=He(e,"ordgroup");return t?t.body:[e]},Ze=Le.makeSpan,$e=["leftmost","mbin","mopen","mrel","mop","mpunct"],Qe=["rightmost","mrel","mclose","mpunct"],et={display:S.DISPLAY,text:S.TEXT,script:S.SCRIPT,scriptscript:S.SCRIPTSCRIPT},tt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},nt=function(e,t,n,r){void 0===r&&(r=[null,null]);const o=[];for(let n=0;n<e.length;n++){const r=lt(e[n],t);if(r instanceof z){const e=r.children;o.push(...e)}else o.push(r)}if(!n)return o;let i=t;if(1===e.length){const n=He(e[0],"sizing")||He(e[0],"styling");n&&("sizing"===n.type?i=t.havingSize(n.size):"styling"===n.type&&(i=t.havingStyle(et[n.style])))}const a=Ze([r[0]||"leftmost"],[],t),l=Ze([r[1]||"rightmost"],[],t);return rt(o,(e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&d.contains(Qe,r)?t.classes[0]="mord":"mbin"===r&&d.contains($e,n)&&(e.classes[0]="mord")},{node:a},l),rt(o,(e,t)=>{const n=it(t),r=it(e),o=n&&r?e.hasClass("mtight")?Be[n][r]:Ue[n][r]:null;if(o)return Le.makeGlue(o,i)},{node:a},l),o},rt=function e(t,n,r,o){o&&t.push(o);let i=0;for(;i<t.length;i++){const o=t[i],a=ot(o);if(a){e(a.children,n,r);continue}if("mspace"===o.classes[0])continue;const l=n(o,r.node);l&&(r.insertAfter?r.insertAfter(l):(t.unshift(l),i++)),r.node=o,r.insertAfter=(e=>n=>{t.splice(e+1,0,n),i++})(i)}o&&t.pop()},ot=function(e){return e instanceof z||e instanceof N?e:null},it=function(e,t){return e?(t&&(e=function e(t,n){const r=ot(t);if(r){const t=r.children;if(t.length){if("right"===n)return e(t[t.length-1],"right");if("left"===n)return e(t[0],"left")}}return t}(e,t)),tt[e.classes[0]]||null):null},at=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Ze(t.concat(n))},lt=function(e,t,n){if(!e)return Ze();if(Ye[e.type]){let r=Ye[e.type](e,t);if(n&&t.size!==n.size){r=Ze(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new s("Got group of unknown type: '"+e.type+"'")};function ct(e,t){const n=Ze(["base"],e,t),r=Ze(["strut"]);return r.style.height=n.height+n.depth+"em",r.style.verticalAlign=-n.depth+"em",n.children.unshift(r),n}function st(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=nt(e,t,!0),o=[];let i,a=[];for(let e=0;e<r.length;e++)if(a.push(r[e]),r[e].hasClass("mbin")||r[e].hasClass("mrel")||r[e].hasClass("allowbreak")){let n=!1;for(;e<r.length-1&&r[e+1].hasClass("mspace")&&!r[e+1].hasClass("newline");)e++,a.push(r[e]),r[e].hasClass("nobreak")&&(n=!0);n||(o.push(ct(a,t)),a=[])}else r[e].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(ct(a,t)),a=[]),o.push(r[e]));a.length>0&&o.push(ct(a,t)),n&&(i=ct(nt(n,t,!0)),i.classes=["tag"],o.push(i));const l=Ze(["katex-html"],o);if(l.setAttribute("aria-hidden","true"),i){const e=i.children[0];e.style.height=l.height+l.depth+"em",e.style.verticalAlign=-l.depth+"em"}return l}function ut(e){return new z(e)}class ft{constructor(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=d.escape(this.attributes[t]),e+='"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ht{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return d.escape(this.toText())}toText(){return this.text}}var pt={MathNode:ft,TextNode:ht,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e}}toMarkup(){return this.character?`<mtext>${this.character}</mtext>`:`<mspace width="${this.width}em"/>`}toText(){return this.character?this.character:" "}},newDocumentFragment:ut};const dt=function(e,t,n){return!J[t][e]||!J[t][e].replace||55349===e.charCodeAt(0)||ue.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=J[t][e].replace),new pt.TextNode(e)},mt=function(e){return 1===e.length?e[0]:new pt.MathNode("mrow",e)},vt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let o=e.text;return d.contains(["\\imath","\\jmath"],o)?null:(J[r][o]&&J[r][o].replace&&(o=J[r][o].replace),Y(o,Le.fontMap[n].fontName,r)?Le.fontMap[n].variant:null)},yt=function(e,t,n){if(1===e.length){const r=bt(e[0],t);return n&&r instanceof ft&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let o;for(let n=0;n<e.length;n++){const i=bt(e[n],t);if(i instanceof ft&&o instanceof ft){if("mtext"===i.type&&"mtext"===o.type&&i.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...i.children);continue}if("mn"===i.type&&"mn"===o.type){o.children.push(...i.children);continue}if("mi"===i.type&&1===i.children.length&&"mn"===o.type){const e=i.children[0];if(e instanceof ht&&"."===e.text){o.children.push(...i.children);continue}}else if("mi"===o.type&&1===o.children.length){const e=o.children[0];if(e instanceof ht&&"̸"===e.text&&("mo"===i.type||"mi"===i.type||"mn"===i.type)){const e=i.children[0];e instanceof ht&&e.text.length>0&&(e.text=e.text.slice(0,1)+"̸"+e.text.slice(1),r.pop())}}}r.push(i),o=i}return r},gt=function(e,t,n){return mt(yt(e,t,n))},bt=function(e,t){if(!e)return new pt.MathNode("mrow");if(Ge[e.type])return Ge[e.type](e,t);throw new s("Got group of unknown type: '"+e.type+"'")};function wt(e,t,n,r){const o=yt(e,n);let i;i=1===o.length&&o[0]instanceof ft&&d.contains(["mrow","mtable"],o[0].type)?o[0]:new pt.MathNode("mrow",o);const a=new pt.MathNode("annotation",[new pt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const l=new pt.MathNode("semantics",[i,a]),c=new pt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");const s=r?"katex":"katex-mathml";return Le.makeSpan([s],[c])}const xt=function(e){return new ge({style:e.displayMode?S.DISPLAY:S.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},_t=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Le.makeSpan(n,[e])}return e},kt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},St={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]};var Ot=function(e,t,n,r){let o;const i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Le.makeSpan(["stretchy",t],[],r),"fbox"===t){const e=r.color&&r.getColor();e&&(o.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new F({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new F({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new I(e,{width:"100%",height:i+"em"});o=Le.makeSvgSpan([],[n],r)}return o.height=i,o.style.height=i+"em",o},Mt=function(e){const t=new pt.MathNode("mo",[new pt.TextNode(kt[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Tt=function(e,t){const n=function(){let n=4e5;const r=e.label.substr(1);if(d.contains(["widehat","widecheck","widetilde","utilde"],r)){const i="ordgroup"===(o=e.base).type?o.body.length:1;let a,l,c;if(i>5)"widehat"===r||"widecheck"===r?(a=420,n=2364,c=.42,l=r+"4"):(a=312,n=2340,c=.34,l="tilde4");else{const e=[1,1,2,2,3,3][i];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],a=[0,239,300,360,420][e],c=[0,.24,.3,.3,.36,.42][e],l=r+e):(n=[0,600,1033,2339,2340][e],a=[0,260,286,306,312][e],c=[0,.26,.286,.3,.306,.34][e],l="tilde"+e)}const s=new D(l),u=new I([s],{width:"100%",height:c+"em",viewBox:`0 0 ${n} ${a}`,preserveAspectRatio:"none"});return{span:Le.makeSvgSpan([],[u],t),minWidth:0,height:c}}{const e=[],o=St[r],i=o[0],a=o[1],l=o[2],c=l/1e3,s=i.length;let u,f;if(1===s){const e=o[3];u=["hide-tail"],f=[e]}else if(2===s)u=["halfarrow-left","halfarrow-right"],f=["xMinYMin","xMaxYMin"];else{if(3!==s)throw new Error(`Correct katexImagesData or update code here to support\n ${s} children.`);u=["brace-left","brace-center","brace-right"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<s;r++){const o=new D(i[r]),h=new I([o],{width:"400em",height:c+"em",viewBox:`0 0 ${n} ${l}`,preserveAspectRatio:f[r]+" slice"}),p=Le.makeSvgSpan([u[r]],[h],t);if(1===s)return{span:p,minWidth:a,height:c};p.style.height=c+"em",e.push(p)}return{span:Le.makeSpan(["stretchy"],e,t),minWidth:a,height:c}}var o}(),r=n.span,o=n.minWidth,i=n.height;return r.height=i,r.style.height=i+"em",o>0&&(r.style.minWidth=o+"em"),r};const Et=(e,t)=>{let n,r;const o=He(e,"supsub");let i;o?(r=Ne(o.base,"accent"),n=r.base,o.base=n,i=function(e){if(e instanceof L)return e;throw new Error(`Expected span<HtmlDomNode> but got ${String(e)}.`)}(lt(o,t)),o.base=r):(r=Ne(e,"accent"),n=r.base);const a=lt(n,t.havingCrampedStyle());let l=0;if(r.isShifty&&d.isCharacterBox(n)){const e=d.getBaseElem(n);l=q(lt(e,t.havingCrampedStyle())).skew}let c,s=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)c=Tt(r,t),c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:c,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:`calc(100% - ${2*l}em)`,marginLeft:2*l+"em"}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=Le.staticSvg("vec",t),n=Le.svgData.vec[1]):(e=Le.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=q(e),e.italic=0,n=e.width),c=Le.makeSpan(["accent-body"],[e]);const o="\\textcircled"===r.label;o&&(c.classes.push("accent-full"),s=a.height);let i=l;o||(i-=n/2),c.style.left=i+"em","\\textcircled"===r.label&&(c.style.top=".2em"),c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-s},{type:"elem",elem:c}]},t)}const u=Le.makeSpan(["mord","accent"],[c],t);return i?(i.children[0]=u,i.height=Math.max(u.height,i.height),i.classes[0]="mord",i):u},zt=(e,t)=>{const n=e.isStretchy?Mt(e.label):new pt.MathNode("mo",[dt(e.label,e.mode)]),r=new pt.MathNode("mover",[bt(e.base,t),n]);return r.setAttribute("accent","true"),r},Ct=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ke({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{const n=t[0],r=!Ct.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Et,mathmlBuilder:zt}),Ke({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:(e,t)=>{const n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Et,mathmlBuilder:zt}),Ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{const n=lt(e.base,t),r=Tt(e,t),o="\\utilde"===e.label?.12:0,i=Le.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{const n=Mt(e.label),r=new pt.MathNode("munder",[bt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Pt=e=>{const t=new pt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ke({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const o=Le.wrapFragment(lt(e.body,r,t),t);let i;o.classes.push("x-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),i=Le.wrapFragment(lt(e.below,r,t),t),i.classes.push("x-arrow-pad"));const a=Tt(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let c,s=-t.fontMetrics().axisHeight-.5*a.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=o.depth),i){const e=-t.fontMetrics().axisHeight+i.height+.5*a.height+.111;c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:l},{type:"elem",elem:i,shift:e}]},t)}else c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),Le.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){const n=Mt(e.label);let r;if(e.body){const o=Pt(bt(e.body,t));if(e.below){const i=Pt(bt(e.below,t));r=new pt.MathNode("munderover",[n,i,o])}else r=new pt.MathNode("mover",[n,o])}else if(e.below){const o=Pt(bt(e.below,t));r=new pt.MathNode("munder",[n,o])}else r=Pt(),r=new pt.MathNode("mover",[n,r]);return r}}),Ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let n=e.parser;const r=Ne(t[0],"ordgroup").body;let o="";for(let e=0;e<r.length;e++)o+=Ne(r[e],"textord").text;const i=parseInt(o);if(isNaN(i))throw new s("\\@char has non-numeric argument "+o);return{type:"textord",mode:n.mode,text:String.fromCharCode(i)}}});const At=(e,t)=>{const n=nt(e.body,t.withColor(e.color),!1);return Le.makeFragment(n)},jt=(e,t)=>{const n=yt(e.body,t.withColor(e.color)),r=new pt.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler(e,t){let n=e.parser;const r=Ne(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:Je(o)}},htmlBuilder:At,mathmlBuilder:jt}),Ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler(e,t){let n=e.parser,r=e.breakOnTokenText;const o=Ne(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);const i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:At,mathmlBuilder:jt}),Ke({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler(e,t,n){let r=e.parser,o=e.funcName;const i=n[0],a="\\cr"===o;let l=!1;return a||(l=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:r.mode,newLine:l,newRow:a,size:i&&Ne(i,"size").value}},htmlBuilder(e,t){if(e.newRow)throw new s("\\cr valid only within a tabular/array environment");const n=Le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=_e(e.size,t)+"em")),n},mathmlBuilder(e,t){const n=new pt.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",_e(e.size,t)+"em")),n}});const Lt=function(e,t,n){const r=Y(J.math[e]&&J.math[e].replace||e,t,n);if(!r)throw new Error(`Unsupported symbol ${e} and font size ${t}.`);return r},Nt=function(e,t,n,r){const o=n.havingBaseStyle(t),i=Le.makeSpan(r.concat(o.sizingClasses(n)),[e],n),a=o.sizeMultiplier/n.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},Ht=function(e,t,n){const r=t.havingBaseStyle(n),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=o+"em",e.height-=o,e.depth+=o},Rt=function(e,t,n,r,o,i){const a=function(e,t,n,r){return Le.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,o,r),l=Nt(Le.makeSpan(["delimsizing","size"+t],[a],r),S.TEXT,r,i);return n&&Ht(l,r,S.TEXT),l},Vt=function(e,t,n){let r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Le.makeSpan(["delimsizinginner",r],[Le.makeSpan([],[Le.makeSymbol(e,t,n)])])}},It={type:"kern",size:-.005},Dt=function(e,t,n,r,o,i){let a,l,c,s;a=c=s=e,l=null;let u="Size1-Regular";"\\uparrow"===e?c=s="⏐":"\\Uparrow"===e?c=s="‖":"\\downarrow"===e?a=c="⏐":"\\Downarrow"===e?a=c="‖":"\\updownarrow"===e?(a="\\uparrow",c="⏐",s="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",c="‖",s="\\Downarrow"):"["===e||"\\lbrack"===e?(a="⎡",c="⎢",s="⎣",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="⎤",c="⎥",s="⎦",u="Size4-Regular"):"\\lfloor"===e||"⌊"===e?(c=a="⎢",s="⎣",u="Size4-Regular"):"\\lceil"===e||"⌈"===e?(a="⎡",c=s="⎢",u="Size4-Regular"):"\\rfloor"===e||"⌋"===e?(c=a="⎥",s="⎦",u="Size4-Regular"):"\\rceil"===e||"⌉"===e?(a="⎤",c=s="⎥",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="⎛",c="⎜",s="⎝",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="⎞",c="⎟",s="⎠",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="⎧",l="⎨",s="⎩",c="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",l="⎬",s="⎭",c="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",s="⎩",c="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",s="⎭",c="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",s="⎭",c="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",s="⎩",c="⎪",u="Size4-Regular");const f=Lt(a,u,o),h=f.height+f.depth,p=Lt(c,u,o),d=p.height+p.depth,m=Lt(s,u,o),v=m.height+m.depth;let y=0,g=1;if(null!==l){const e=Lt(l,u,o);y=e.height+e.depth,g=2}const b=h+v+y,w=Math.max(0,Math.ceil((t-b)/(g*d))),x=b+w*g*d;let _=r.fontMetrics().axisHeight;n&&(_*=r.sizeMultiplier);const k=x/2-_,O=.005*(w+1)-d,M=[];if(M.push(Vt(s,u,o)),null===l)for(let e=0;e<w;e++)M.push(It),M.push(Vt(c,u,o));else{for(let e=0;e<w;e++)M.push(It),M.push(Vt(c,u,o));M.push({type:"kern",size:O}),M.push(Vt(c,u,o)),M.push(It),M.push(Vt(l,u,o));for(let e=0;e<w;e++)M.push(It),M.push(Vt(c,u,o))}M.push({type:"kern",size:O}),M.push(Vt(c,u,o)),M.push(It),M.push(Vt(a,u,o));const T=r.havingBaseStyle(S.TEXT),E=Le.makeVList({positionType:"bottom",positionData:k,children:M},T);return Nt(Le.makeSpan(["delimsizing","mult"],[E],T),S.TEXT,r,i)},Ft=function(e,t,n,r,o){const i=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=function(e,t){return`M95,${622+e+t}\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl${e/2.075} -${e}\nc5.3,-9.3,12,-14,20,-14\nH400000v${40+e}H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM${834+e} ${t}h400000v${40+e}h-400000z`}(t,80);break;case"sqrtSize1":r=function(e,t){return`M263,${601+e+t}c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl${e/2.084} -${e}\nc4.7,-7.3,11,-11,19,-11\nH40000v${40+e}H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM${1001+e} ${t}h400000v${40+e}h-400000z`}(t,80);break;case"sqrtSize2":r=function(e,t){return`M983 ${10+e+t}\nl${e/3.13} -${e}\nc4,-6.7,10,-10,18,-10 H400000v${40+e}\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM${1001+e} ${t}h400000v${40+e}h-400000z`}(t,80);break;case"sqrtSize3":r=function(e,t){return`M424,${2398+e+t}\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl${e/4.223} -${e}c4,-6.7,10,-10,18,-10 H400000\nv${40+e}H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M${1001+e} ${t}\nh400000v${40+e}h-400000z`}(t,80);break;case"sqrtSize4":r=function(e,t){return`M473,${2713+e+t}\nc339.3,-1799.3,509.3,-2700,510,-2702 l${e/5.298} -${e}\nc3.3,-7.3,9.3,-11,18,-11 H400000v${40+e}H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM${1001+e} ${t}h400000v${40+e}H1017.7z`}(t,80);break;case"sqrtTall":r=function(e,t,n){return`M702 ${e+t}H400000${40+e}\nH742v${n-54-t-e}l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 ${t}H400000v${40+e}H742z`}(t,80,n)}return r}(e,r,n),a=new D(e,i),l=new I([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Le.makeSvgSpan(["hide-tail"],[l],o)},qt=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Ut=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Bt=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Wt=[0,1.2,1.8,2.4,3],Yt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Gt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"stack"}],Kt=[{type:"small",style:S.SCRIPTSCRIPT},{type:"small",style:S.SCRIPT},{type:"small",style:S.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Xt=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error(`Add support for delim type '${e.type}' here.`)},Jt=function(e,t,n,r){for(let o=Math.min(2,3-r.style.size);o<n.length&&"stack"!==n[o].type;o++){const i=Lt(e,Xt(n[o]),"math");let a=i.height+i.depth;if("small"===n[o].type&&(a*=r.havingBaseStyle(n[o].style).sizeMultiplier),a>t)return n[o]}return n[n.length-1]},Zt=function(e,t,n,r,o,i){let a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=d.contains(Bt,e)?Yt:d.contains(qt,e)?Kt:Gt;const l=Jt(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){const a=Le.makeSymbol(e,"Main-Regular",o,r),l=Nt(a,t,r,i);return n&&Ht(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?Rt(e,l.size,n,r,o,i):Dt(e,t,n,r,o,i)};var $t=function(e,t){const n=t.havingBaseSizing(),r=Jt("\\surd",e*n.sizeMultiplier,Kt,n);let o=n.sizeMultiplier;const i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let a,l,c=0,s=0,u=0;return"small"===r.type?(u=1e3+1e3*i+80,e<1?o=1:e<1.4&&(o=.7),c=(1+i+.08)/o,s=(1+i)/o,a=Ft("sqrtMain",c,u,i,t),a.style.minWidth="0.853em",l=.833/o):"large"===r.type?(u=1080*Wt[r.size],s=(Wt[r.size]+i)/o,c=(Wt[r.size]+i+.08)/o,a=Ft("sqrtSize"+r.size,c,u,i,t),a.style.minWidth="1.02em",l=1/o):(c=e+i+.08,s=e+i,u=Math.floor(1e3*e+i)+80,a=Ft("sqrtTall",c,u,i,t),a.style.minWidth="0.742em",l=1.056),a.height=s,a.style.height=c+"em",{span:a,advanceWidth:l,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},Qt=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),d.contains(qt,e)||d.contains(Bt,e))return Rt(e,t,!1,n,r,o);if(d.contains(Ut,e))return Dt(e,Wt[t],!1,n,r,o);throw new s("Illegal delimiter: '"+e+"'")},en=Zt,tn=function(e,t,n,r,o,i){const a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return Zt(e,s,!0,r,o,i)};const nn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function on(e,t){const n=Ie(e);if(n&&d.contains(rn,n.text))return n;throw new s("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function an(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ke({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:nn[e.funcName].size,mclass:nn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Le.makeSpan([e.mclass]):Qt(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(dt(e.delim,e.mode));const n=new pt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Ke({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new s("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:on(t[0],e).text,color:n}}}),Ke({type:"leftright",names:["\\left"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e),r=e.parser;++r.leftrightDepth;const o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const i=Ne(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{an(e);const n=nt(e.body,t,!0,["mopen","mclose"]);let r,o,i=0,a=0,l=!1;for(let e=0;e<n.length;e++)n[e].isMiddle?l=!0:(i=Math.max(n[e].height,i),a=Math.max(n[e].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?at(t,["mopen"]):tn(e.left,i,a,t,e.mode,["mopen"]),n.unshift(r),l)for(let t=1;t<n.length;t++){const r=n[t].isMiddle;r&&(n[t]=tn(r.delim,i,a,r.options,e.mode,[]))}if("."===e.right)o=at(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;o=tn(e.right,i,a,n,e.mode,["mclose"])}return n.push(o),Le.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{an(e);const n=yt(e.body,t);if("."!==e.left){const t=new pt.MathNode("mo",[dt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new pt.MathNode("mo",[dt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return mt(n)}}),Ke({type:"middle",names:["\\middle"],props:{numArgs:1},handler:(e,t)=>{const n=on(t[0],e);if(!e.parser.leftrightDepth)throw new s("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=at(t,[]);else{n=Qt(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?dt("|","text"):dt(e.delim,e.mode),r=new pt.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const ln=(e,t)=>{const n=Le.wrapFragment(lt(e.body,t),t),r=e.label.substr(1),o=t.sizeMultiplier;let i,a=0;const l=d.isCharacterBox(e.body);if("sout"===r)i=Le.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,a=-.5*t.fontMetrics().xHeight;else{/cancel/.test(r)?l||n.classes.push("cancel-pad"):n.classes.push("boxpad");let o=0,c=0;/box/.test(r)?(c=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),o=t.fontMetrics().fboxsep+("colorbox"===r?0:c)):o=l?.2:0,i=Ot(n,r,o,t),/fbox|boxed|fcolorbox/.test(r)&&(i.style.borderStyle="solid",i.style.borderWidth=c+"em"),a=n.depth+o,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}let c;return c=e.backgroundColor?Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:n,shift:0}]},t):Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)&&(c.height=n.height,c.depth=n.depth),/cancel/.test(r)&&!l?Le.makeSpan(["mord","cancel-lap"],[c],t):Le.makeSpan(["mord"],[c],t)},cn=(e,t)=>{let n=0;const r=new pt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[bt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width",`+${2*n}pt`),r.setAttribute("height",`+${2*n}pt`),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler(e,t,n){let r=e.parser,o=e.funcName;const i=Ne(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:ln,mathmlBuilder:cn}),Ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler(e,t,n){let r=e.parser,o=e.funcName;const i=Ne(t[0],"color-token").color,a=Ne(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:ln,mathmlBuilder:cn}),Ke({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:(e,t)=>({type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]})}),Ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler(e,t,n){let r=e.parser,o=e.funcName;const i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:ln,mathmlBuilder:cn});const sn={};function un(e){let t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder;const l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o};for(let e=0;e<n.length;++e)sn[n[e]]=l;i&&(Ye[t]=i),a&&(Ge[t]=a)}function fn(e){const t=[];e.consumeSpaces();let n=e.fetch().text;for(;"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}function hn(e,t,n){let r=t.hskipBeforeAndAfter,o=t.addJot,i=t.cols,a=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!a){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)a=1;else if(a=parseFloat(t),!a||a<0)throw new s("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let c=[];const u=[c],f=[],h=[];for(h.push(fn(e));;){let t=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),c.push(t);const r=e.fetch().text;if("&"===r)e.consume();else{if("\\end"===r){1===c.length&&"styling"===t.type&&0===t.body[0].body.length&&u.pop(),h.length<u.length+1&&h.push([]);break}if("\\cr"!==r)throw new s("Expected & or \\\\ or \\cr or \\end",e.nextToken);{const t=Ne(e.parseFunction(),"cr");f.push(t.size),h.push(fn(e)),c=[],u.push(c)}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:u,cols:i,rowGaps:f,hskipBeforeAndAfter:r,hLinesBeforeRow:h,colSeparationType:l}}function pn(e){return"d"===e.substr(0,1)?"display":"text"}const dn=function(e,t){let n,r;const o=e.body.length,i=e.hLinesBeforeRow;let a=0,l=new Array(o);const c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),f=1/t.fontMetrics().ptPerEm;let h=5*f;e.colSeparationType&&"small"===e.colSeparationType&&(h=t.havingStyle(S.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);const p=12*f,m=3*f,v=e.arraystretch*p,y=.7*v,g=.3*v;let b=0;function w(e){for(let t=0;t<e.length;++t)t>0&&(b+=.25),c.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n<e.body.length;++n){const o=e.body[n];let c=y,s=g;a<o.length&&(a=o.length);const u=new Array(o.length);for(r=0;r<o.length;++r){const e=lt(o[r],t);s<e.depth&&(s=e.depth),c<e.height&&(c=e.height),u[r]=e}const f=e.rowGaps[n];let h=0;f&&(h=_e(f,t),h>0&&(h+=g,s<h&&(s=h),h=0)),e.addJot&&(s+=m),u.height=c,u.depth=s,b+=c,u.pos=b,b+=s+h,l[n]=u,w(i[n+1])}const x=b/2+t.fontMetrics().axisHeight,_=e.cols||[],k=[];let O,M;for(r=0,M=0;r<a||M<_.length;++r,++M){let i,c=_[M]||{},f=!0;for(;"separator"===c.type;){if(f||(O=Le.makeSpan(["arraycolsep"],[]),O.style.width=t.fontMetrics().doubleRuleSep+"em",k.push(O)),"|"!==c.separator&&":"!==c.separator)throw new s("Invalid separator type: "+c.separator);{const e="|"===c.separator?"solid":"dashed",n=Le.makeSpan(["vertical-separator"],[],t);n.style.height=b+"em",n.style.borderRightWidth=u+"em",n.style.borderRightStyle=e,n.style.margin=`0 -${u/2}em`,n.style.verticalAlign=-(b-x)+"em",k.push(n)}M++,c=_[M]||{},f=!1}if(r>=a)continue;(r>0||e.hskipBeforeAndAfter)&&(i=d.deflt(c.pregap,h),0!==i&&(O=Le.makeSpan(["arraycolsep"],[]),O.style.width=i+"em",k.push(O)));let p=[];for(n=0;n<o;++n){const e=l[n],t=e[r];if(!t)continue;const o=e.pos-x;t.depth=e.depth,t.height=e.height,p.push({type:"elem",elem:t,shift:o})}p=Le.makeVList({positionType:"individualShift",children:p},t),p=Le.makeSpan(["col-align-"+(c.align||"c")],[p]),k.push(p),(r<a-1||e.hskipBeforeAndAfter)&&(i=d.deflt(c.postgap,h),0!==i&&(O=Le.makeSpan(["arraycolsep"],[]),O.style.width=i+"em",k.push(O)))}if(l=Le.makeSpan(["mtable"],k),c.length>0){const e=Le.makeLineSpan("hline",t,u),n=Le.makeLineSpan("hdashline",t,u),r=[{type:"elem",elem:l,shift:0}];for(;c.length>0;){const t=c.pop(),o=t.pos-x;t.isDashed?r.push({type:"elem",elem:n,shift:o}):r.push({type:"elem",elem:e,shift:o})}l=Le.makeVList({positionType:"individualShift",children:r},t)}return Le.makeSpan(["mord"],[l],t)},mn={c:"center ",l:"left ",r:"right "},vn=function(e,t){let n=new pt.MathNode("mtable",e.body.map((function(e){return new pt.MathNode("mtr",e.map((function(e){return new pt.MathNode("mtd",[bt(e,t)])})))})));const r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");let o="",i="";if(e.cols){const t=e.cols;let r="",a=!1,l=0,c=t.length;"separator"===t[0].type&&(o+="top ",l=1),"separator"===t[t.length-1].type&&(o+="bottom ",c-=1);for(let e=l;e<c;e++)"align"===t[e].type?(i+=mn[t[e].align],a&&(r+="none "),a=!0):"separator"===t[e].type&&a&&(r+="|"===t[e].separator?"solid ":"dashed ",a=!1);n.setAttribute("columnalign",i.trim()),/[sd]/.test(r)&&n.setAttribute("columnlines",r.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let r="";for(let e=1;e<t.length;e++)r+=e%2?"0em ":"1em ";n.setAttribute("columnspacing",r.trim())}else"alignat"===e.colSeparationType?n.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?n.setAttribute("columnspacing","0.2778em"):n.setAttribute("columnspacing","1em");let a="";const l=e.hLinesBeforeRow;o+=l[0].length>0?"left ":"",o+=l[l.length-1].length>0?"right ":"";for(let e=1;e<l.length-1;e++)a+=0===l[e].length?"none ":l[e][0]?"dashed ":"solid ";return/[sd]/.test(a)&&n.setAttribute("rowlines",a.trim()),""!==o&&(n=new pt.MathNode("menclose",[n]),n.setAttribute("notation",o.trim())),e.arraystretch&&e.arraystretch<1&&(n=new pt.MathNode("mstyle",[n]),n.setAttribute("scriptlevel","1")),n},yn=function(e,t){const n=[],r=hn(e.parser,{cols:n,addJot:!0},"display");let o,i=0;const a={type:"ordgroup",mode:e.mode,body:[]},l=He(t[0],"ordgroup");if(l){let e="";for(let t=0;t<l.body.length;t++)e+=Ne(l.body[t],"textord").text;o=Number(e),i=2*o}const c=!i;r.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=Ne(e[t],"styling");Ne(n.body[0],"ordgroup").body.unshift(a)}if(c)i<e.length&&(i=e.length);else{const t=e.length/2;if(o<t)throw new s(`Too many math in a row: expected ${o}, but got ${t}`,e[0])}}));for(let e=0;e<i;++e){let t="r",r=0;e%2==1?t="l":e>0&&c&&(r=1),n[e]={type:"align",align:t,pregap:r,postgap:0}}return r.colSeparationType=c?"align":"alignat",r};un({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n={cols:(Ie(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Ve(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new s("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return hn(e.parser,n,pn(e.envName))},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=hn(e.parser,{hskipBeforeAndAfter:!1},pn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=hn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Ie(t[0])?[t[0]]:Ne(t[0],"ordgroup").body).map((function(e){const t=Ve(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new s("Unknown column alignment: "+t,e)}));if(n.length>1)throw new s("{subarray} can contain only one column");let r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(r=hn(e.parser,r,"script"),r.body[0].length>1)throw new s("{subarray} can contain only one column");return r},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["cases","dcases"],props:{numArgs:0},handler(e){const t=hn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},pn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["aligned"],props:{numArgs:0},handler:yn,htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["gathered"],props:{numArgs:0},handler:e=>hn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display"),htmlBuilder:dn,mathmlBuilder:vn}),un({type:"array",names:["alignedat"],props:{numArgs:1},handler:yn,htmlBuilder:dn,mathmlBuilder:vn}),Ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new s(e.funcName+" valid only within array environment")}});const gn=sn;Ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let n=e.parser,r=e.funcName;const o=t[0];if("ordgroup"!==o.type)throw new s("Invalid environment name",o);let i="";for(let e=0;e<o.body.length;++e)i+=Ne(o.body[e],"textord").text;if("\\begin"===r){if(!gn.hasOwnProperty(i))throw new s("No such environment: "+i,o);const e=gn[i],t=n.parseArguments("\\begin{"+i+"}",e),r=t.args,a=t.optArgs,l={mode:n.mode,envName:i,parser:n},c=e.handler(l,r,a);n.expect("\\end",!1);const u=n.nextToken,f=Ne(n.parseFunction(),"environment");if(f.name!==i)throw new s(`Mismatch: \\begin{${i}} matched by \\end{${f.name}}`,u);return c}return{type:"environment",mode:n.mode,name:i,nameGroup:o}}});const bn=Le.makeSpan;function wn(e,t){const n=nt(e.body,t,!0);return bn([e.mclass],n,t)}function xn(e,t){let n;const r=yt(e.body,t);return"minner"===e.mclass?pt.newDocumentFragment(r):("mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new pt.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new pt.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(n.attributes.lspace="0em",n.attributes.rspace="0em")),n)}Ke({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler(e,t){let n=e.parser,r=e.funcName;const o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.substr(5),body:Je(o),isCharacterBox:d.isCharacterBox(o)}},htmlBuilder:wn,mathmlBuilder:xn});const _n=e=>{const t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:(e,t)=>({type:"mclass",mode:e.parser.mode,mclass:_n(t[0]),body:[t[1]],isCharacterBox:d.isCharacterBox(t[1])})}),Ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let n=e.parser,r=e.funcName;const o=t[1],i=t[0];let a;a="\\stackrel"!==r?_n(o):"mrel";const l={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Je(o)},c={type:"supsub",mode:i.mode,base:l,sup:"\\underset"===r?null:i,sub:"\\underset"===r?i:null};return{type:"mclass",mode:n.mode,mclass:a,body:[c],isCharacterBox:d.isCharacterBox(c)}},htmlBuilder:wn,mathmlBuilder:xn});const kn=(e,t)=>{const n=e.font,r=t.withFont(n);return lt(e.body,r)},Sn=(e,t)=>{const n=e.font,r=t.withFont(n);return bt(e.body,r)},On={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ke({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];let i=r;return i in On&&(i=On[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:kn,mathmlBuilder:Sn}),Ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:(e,t)=>{let n=e.parser;const r=t[0],o=d.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:_n(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}}),Ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let n=e.parser,r=e.funcName,o=e.breakOnTokenText;const i=n.mode,a=n.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:kn,mathmlBuilder:Sn});const Mn=(e,t)=>{let n=t;return"display"===e?n=n.id>=S.SCRIPT.id?n.text():S.DISPLAY:"text"===e&&n.size===S.DISPLAY.size?n=S.TEXT:"script"===e?n=S.SCRIPT:"scriptscript"===e&&(n=S.SCRIPTSCRIPT),n},Tn=(e,t)=>{const n=Mn(e.size,t.style),r=n.fracNum(),o=n.fracDen();let i;i=t.havingStyle(r);const a=lt(e.numer,i,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;a.height=a.height<e?e:a.height,a.depth=a.depth<n?n:a.depth}i=t.havingStyle(o);const l=lt(e.denom,i,t);let c,s,u,f,h,p,d,m,v,y;if(e.hasBarLine?(e.barSize?(s=_e(e.barSize,t),c=Le.makeLineSpan("frac-line",t,s)):c=Le.makeLineSpan("frac-line",t),s=c.height,u=c.height):(c=null,s=0,u=t.fontMetrics().defaultRuleThickness),n.size===S.DISPLAY.size||"display"===e.size?(f=t.fontMetrics().num1,h=s>0?3*u:7*u,p=t.fontMetrics().denom1):(s>0?(f=t.fontMetrics().num2,h=u):(f=t.fontMetrics().num3,h=3*u),p=t.fontMetrics().denom2),c){const e=t.fontMetrics().axisHeight;f-a.depth-(e+.5*s)<h&&(f+=h-(f-a.depth-(e+.5*s))),e-.5*s-(l.height-p)<h&&(p+=h-(e-.5*s-(l.height-p)));const n=-(e-.5*s);d=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:p},{type:"elem",elem:c,shift:n},{type:"elem",elem:a,shift:-f}]},t)}else{const e=f-a.depth-(l.height-p);e<h&&(f+=.5*(h-e),p+=.5*(h-e)),d=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:p},{type:"elem",elem:a,shift:-f}]},t)}return i=t.havingStyle(n),d.height*=i.sizeMultiplier/t.sizeMultiplier,d.depth*=i.sizeMultiplier/t.sizeMultiplier,m=n.size===S.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,v=null==e.leftDelim?at(t,["mopen"]):en(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?Le.makeSpan([]):null==e.rightDelim?at(t,["mclose"]):en(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),Le.makeSpan(["mord"].concat(i.sizingClasses(t)),[v,Le.makeSpan(["mfrac"],[d]),y],t)},En=(e,t)=>{let n=new pt.MathNode("mfrac",[bt(e.numer,t),bt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=_e(e.barSize,t);n.setAttribute("linethickness",r+"em")}}else n.setAttribute("linethickness","0px");const r=Mn(e.size,t.style);if(r.size!==t.style.size){n=new pt.MathNode("mstyle",[n]);const e=r.size===S.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new pt.MathNode("mo",[new pt.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new pt.MathNode("mo",[new pt.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return mt(t)}return n};Ke({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0],i=t[1];let a,l=null,c=null,s="auto";switch(r){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,l="(",c=")";break;case"\\\\bracefrac":a=!1,l="\\{",c="\\}";break;case"\\\\brackfrac":a=!1,l="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\cfrac":case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",mode:n.mode,continued:"\\cfrac"===r,numer:o,denom:i,hasBarLine:a,leftDelim:l,rightDelim:c,size:s,barSize:null}},htmlBuilder:Tn,mathmlBuilder:En}),Ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,n=e.parser,r=e.funcName,o=e.token;switch(r){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:t,token:o}}});const zn=["display","text","script","scriptscript"],Cn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler(e,t){let n=e.parser;const r=t[4],o=t[5];let i=He(t[0],"atom");i&&(i=Re(t[0],"open"));const a=i?Cn(i.text):null;let l=He(t[1],"atom");l&&(l=Re(t[1],"close"));const c=l?Cn(l.text):null,s=Ne(t[2],"size");let u,f=null;s.isBlank?u=!0:(f=s.value,u=f.number>0);let h="auto",p=He(t[3],"ordgroup");if(p){if(p.body.length>0){const e=Ne(p.body[0],"textord");h=zn[Number(e.text)]}}else p=Ne(t[3],"textord"),h=zn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:u,barSize:f,leftDelim:a,rightDelim:c,size:h}},htmlBuilder:Tn,mathmlBuilder:En}),Ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Ne(t[0],"size").value,token:r}}}),Ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let n=e.parser;e.funcName;const r=t[0],o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ne(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Tn,mathmlBuilder:En});const Pn=(e,t)=>{const n=t.style;let r,o;const i=He(e,"supsub");i?(r=i.sup?lt(i.sup,t.havingStyle(n.sup()),t):lt(i.sub,t.havingStyle(n.sub()),t),o=Ne(i.base,"horizBrace")):o=Ne(e,"horizBrace");const a=lt(o.base,t.havingBaseStyle(S.DISPLAY)),l=Tt(o,t);let c;if(o.isOver?(c=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:l}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=Le.makeVList({positionType:"bottom",positionData:a.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:a}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),r){const e=Le.makeSpan(["mord",o.isOver?"mover":"munder"],[c],t);c=o.isOver?Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Le.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return Le.makeSpan(["mord",o.isOver?"mover":"munder"],[c],t)};Ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Pn,mathmlBuilder:(e,t)=>{const n=Mt(e.label);return new pt.MathNode(e.isOver?"mover":"munder",[bt(e.base,t),n])}}),Ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[1],o=Ne(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:Je(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=nt(e.body,t,!1);return Le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=gt(e.body,t);return n instanceof ft||(n=new ft("mrow",[n])),n.setAttribute("href",e.href),n}}),Ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=Ne(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const o=[];for(let e=0;e<r.length;e++){let t=r[e];"~"===t&&(t="\\textasciitilde"),o.push({type:"textord",mode:"text",text:t})}const i={type:"text",mode:n.mode,font:"\\texttt",body:o};return{type:"href",mode:n.mode,href:r,body:Je(i)}}}),Ke({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>({type:"htmlmathml",mode:e.parser.mode,html:Je(t[0]),mathml:Je(t[1])}),htmlBuilder:(e,t)=>{const n=nt(e.html,t,!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>gt(e.mathml,t)});const An=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new s("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!xe(n))throw new s("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let r=e.parser,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Ne(n[0],"raw").string.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2===n.length){const e=n[1].trim();switch(n[0].trim()){case"alt":l=e;break;case"width":o=An(e);break;case"height":i=An(e);break;case"totalheight":a=An(e);break;default:throw new s("Invalid key: '"+n[0]+"' in \\includegraphics.")}}}}const c=Ne(t[0],"url").url;return""===l&&(l=c,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:c})?{type:"includegraphics",mode:r.mode,alt:l,width:o,height:i,totalheight:a,src:c}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=_e(e.height,t);let r=0;e.totalheight.number>0&&(r=_e(e.totalheight,t)-n,r=Number(r.toFixed(2)));let o=0;e.width.number>0&&(o=_e(e.width,t));const i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");const a=new H(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{const n=new pt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=_e(e.height,t);let o=0;if(e.totalheight.number>0&&(o=_e(e.totalheight,t)-r,o=o.toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){const r=_e(e.width,t);n.setAttribute("width",r+"em")}return n.setAttribute("src",e.src),n}}),Ke({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler(e,t){let n=e.parser,r=e.funcName;const o=Ne(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===o.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} supports only mu units, not ${o.value.unit} units`),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} works only in math mode`)):t&&n.settings.reportNonstrict("mathVsTextUnits",`LaTeX's ${r} doesn't support mu units`)}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:(e,t)=>Le.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=_e(e.dimension,t);return new pt.SpaceNode(n)}}),Ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=Le.makeSpan([],[lt(e.body,t)]),n=Le.makeSpan(["inner"],[n],t)):n=Le.makeSpan(["inner"],[lt(e.body,t)]);const r=Le.makeSpan(["fix"],[]);let o=Le.makeSpan([e.alignment],[n,r],t);const i=Le.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Le.makeSpan(["mord"],[o],t)},mathmlBuilder:(e,t)=>{const n=new pt.MathNode("mpadded",[bt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let n=e.funcName,r=e.parser;const o=r.mode;r.switchMode("math");const i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),Ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new s("Mismatched "+e.funcName)}});const jn=(e,t)=>{switch(t.style.size){case S.DISPLAY.size:return e.display;case S.TEXT.size:return e.text;case S.SCRIPT.size:return e.script;case S.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:(e,t)=>({type:"mathchoice",mode:e.parser.mode,display:Je(t[0]),text:Je(t[1]),script:Je(t[2]),scriptscript:Je(t[3])}),htmlBuilder:(e,t)=>{const n=jn(e,t),r=nt(n,t,!1);return Le.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=jn(e,t);return gt(n,t)}});const Ln=(e,t,n,r,o,i,a)=>{let l,c,s;if(e=Le.makeSpan([],[e]),t){const e=lt(t,r.havingStyle(o.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=lt(n,r.havingStyle(o.sub()),r);l={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&l){const t=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){const t=e.height-a;s=Le.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+a;s=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}return Le.makeSpan(["mop","op-limits"],[s],r)},Nn=["\\smallint"],Hn=(e,t)=>{let n,r,o,i=!1;const a=He(e,"supsub");a?(n=a.sup,r=a.sub,o=Ne(a.base,"op"),i=!0):o=Ne(e,"op");const l=t.style;let c,s=!1;if(l.size===S.DISPLAY.size&&o.symbol&&!d.contains(Nn,o.name)&&(s=!0),o.symbol){const e=s?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(n=o.name.substr(1),o.name="oiint"===n?"\\iint":"\\iiint"),c=Le.makeSymbol(o.name,e,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),n.length>0){const e=c.italic,r=Le.staticSvg(n+"Size"+(s?"2":"1"),t);c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:r,shift:s?.08:0}]},t),o.name="\\"+n,c.classes.unshift("mop"),c.italic=e}}else if(o.body){const e=nt(o.body,t,!0);1===e.length&&e[0]instanceof V?(c=e[0],c.classes[0]="mop"):c=Le.makeSpan(["mop"],Le.tryCombineChars(e),t)}else{const e=[];for(let n=1;n<o.name.length;n++)e.push(Le.mathsym(o.name[n],o.mode,t));c=Le.makeSpan(["mop"],e,t)}let u=0,f=0;return(c instanceof V||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(u=(c.height-c.depth)/2-t.fontMetrics().axisHeight,f=c.italic),i?Ln(c,n,r,t,l,f,u):(u&&(c.style.position="relative",c.style.top=u+"em"),c)},Rn=(e,t)=>{let n;if(e.symbol)n=new ft("mo",[dt(e.name,e.mode)]),d.contains(Nn,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ft("mo",yt(e.body,t));else{n=new ft("mi",[new ht(e.name.slice(1))]);const t=new ft("mo",[dt("⁡","text")]);n=e.parentIsSupSub?new ft("mo",[n,t]):ut([n,t])}return n},Vn={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ke({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{let n=e.parser,r=e.funcName;return 1===r.length&&(r=Vn[r]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\mathop"],props:{numArgs:1},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Je(r)}},htmlBuilder:Hn,mathmlBuilder:Rn});const In={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ke({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn}),Ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){let t=e.parser,n=e.funcName;return 1===n.length&&(n=In[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Hn,mathmlBuilder:Rn});const Dn=(e,t)=>{let n,r,o,i=!1;const a=He(e,"supsub");let l;if(a?(n=a.sup,r=a.sub,o=Ne(a.base,"operatorname"),i=!0):o=Ne(e,"operatorname"),o.body.length>0){const e=o.body.map(e=>{const t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),n=nt(e,t.withFont("mathrm"),!0);for(let e=0;e<n.length;e++){const t=n[e];t instanceof V&&(t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}l=Le.makeSpan(["mop"],n,t)}else l=Le.makeSpan(["mop"],[],t);return i?Ln(l,n,r,t,t.style,0,0):l};function Fn(e,t,n){const r=nt(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier;for(let e=0;e<r.length;e++){const i=r[e].classes.indexOf("sizing");i<0?Array.prototype.push.apply(r[e].classes,t.sizingClasses(n)):r[e].classes[i+1]==="reset-size"+t.size&&(r[e].classes[i+1]="reset-size"+n.size),r[e].height*=o,r[e].depth*=o}return Le.makeFragment(r)}Ke({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:(e,t)=>{let n=e.parser,r=e.funcName;const o=t[0];return{type:"operatorname",mode:n.mode,body:Je(o),alwaysHandleSupSub:"\\operatorname*"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:Dn,mathmlBuilder:(e,t)=>{let n=yt(e.body,t.withFont("mathrm")),r=!0;for(let e=0;e<n.length;e++){const t=n[e];if(t instanceof pt.SpaceNode);else if(t instanceof pt.MathNode)switch(t.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const e=t.children[0];1===t.children.length&&e instanceof pt.TextNode?e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map(e=>e.toText()).join("");n=[new pt.TextNode(e)]}const o=new pt.MathNode("mi",n);o.setAttribute("mathvariant","normal");const i=new pt.MathNode("mo",[dt("⁡","text")]);return e.parentIsSupSub?new pt.MathNode("mo",[o,i]):pt.newDocumentFragment([o,i])}}),Xe({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Le.makeFragment(nt(e.body,t,!1)):Le.makeSpan(["mord"],nt(e.body,t,!0),t),mathmlBuilder:(e,t)=>gt(e.body,t,!0)}),Ke({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let n=e.parser;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=lt(e.body,t.havingCrampedStyle()),r=Le.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return Le.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){const n=new pt.MathNode("mo",[new pt.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new pt.MathNode("mover",[bt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Ke({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"phantom",mode:n.mode,body:Je(r)}},htmlBuilder:(e,t)=>{const n=nt(e.body,t.withPhantom(),!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=yt(e.body,t);return new pt.MathNode("mphantom",n)}}),Ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=Le.makeSpan([],[lt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let e=0;e<n.children.length;e++)n.children[e].height=0,n.children[e].depth=0;return n=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Le.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=yt(Je(e.body),t),r=new pt.MathNode("mphantom",n),o=new pt.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),Ke({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let n=e.parser;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=Le.makeSpan(["inner"],[lt(e.body,t.withPhantom())]),r=Le.makeSpan(["fix"],[]);return Le.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=yt(Je(e.body),t),r=new pt.MathNode("mphantom",n),o=new pt.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}}),Ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let n=e.parser;const r=Ne(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){const n=lt(e.body,t),r=_e(e.dy,t);return Le.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new pt.MathNode("mpadded",[bt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Ke({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){let r=e.parser;const o=n[0],i=Ne(t[0],"size"),a=Ne(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&Ne(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){const n=Le.makeSpan(["mord","rule"],[],t),r=_e(e.width,t),o=_e(e.height,t),i=e.shift?_e(e.shift,t):0;return n.style.borderRightWidth=r+"em",n.style.borderTopWidth=o+"em",n.style.bottom=i+"em",n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=1.125*o*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=_e(e.width,t),r=_e(e.height,t),o=e.shift?_e(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new pt.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",n+"em"),a.setAttribute("height",r+"em");const l=new pt.MathNode("mpadded",[a]);return o>=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});const qn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Ke({type:"sizing",names:qn,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let n=e.breakOnTokenText,r=e.funcName,o=e.parser;const i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:qn.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return Fn(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=yt(e.body,n),o=new pt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),Ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let r=e.parser,o=!1,i=!1;const a=n[0]&&Ne(n[0],"ordgroup");if(a){let e="";for(let t=0;t<a.body.length;++t)if(e=a.body[t].text,"t"===e)o=!0;else{if("b"!==e){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;const l=t[0];return{type:"smash",mode:r.mode,body:l,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{const n=Le.makeSpan([],[lt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let e=0;e<n.children.length;e++)n.children[e].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let e=0;e<n.children.length;e++)n.children[e].depth=0;const r=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Le.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new pt.MathNode("mpadded",[bt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let r=e.parser;const o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){let n=lt(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Le.wrapFragment(n,t);const r=t.fontMetrics().defaultRuleThickness;let o=r;t.style.id<S.TEXT.id&&(o=t.fontMetrics().xHeight);let i=r+o/4;const a=n.height+n.depth+i+r,l=$t(a,t),c=l.span,s=l.ruleWidth,u=l.advanceWidth,f=c.height-s;f>n.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);const h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";const p=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){const n=t.havingStyle(S.SCRIPTSCRIPT),r=lt(e.index,n,t),o=.6*(p.height-p.depth),i=Le.makeVList({positionType:"shift",positionData:-o,children:[{type:"elem",elem:r}]},t),a=Le.makeSpan(["root"],[i]);return Le.makeSpan(["mord","sqrt"],[a,p],t)}return Le.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){const n=e.body,r=e.index;return r?new pt.MathNode("mroot",[bt(n,t),bt(r,t)]):new pt.MathNode("msqrt",[bt(n,t)])}});const Un={display:S.DISPLAY,text:S.TEXT,script:S.SCRIPT,scriptscript:S.SCRIPTSCRIPT};Ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler(e,t){let n=e.breakOnTokenText,r=e.funcName,o=e.parser;const i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){const n=Un[e.style],r=t.havingStyle(n).withFont("");return Fn(e.body,r,t)},mathmlBuilder(e,t){const n=Un[e.style],r=t.havingStyle(n),o=yt(e.body,r),i=new pt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),Xe({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===S.DISPLAY.size||n.alwaysHandleSupSub)?Hn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===S.DISPLAY.size||n.limits)?Dn:null:"accent"===n.type?d.isCharacterBox(n.base)?Et:null:"horizBrace"===n.type&&!e.sub===n.isOver?Pn:null:null}(e,t);if(n)return n(e,t);const r=e.base,o=e.sup,i=e.sub,a=lt(r,t);let l,c;const s=t.fontMetrics();let u=0,f=0;const h=r&&d.isCharacterBox(r);if(o){const e=t.havingStyle(t.style.sup());l=lt(o,e,t),h||(u=a.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(i){const e=t.havingStyle(t.style.sub());c=lt(i,e,t),h||(f=a.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let p;p=t.style===S.DISPLAY?s.sup1:t.style.cramped?s.sup3:s.sup2;const m=t.sizeMultiplier,v=.5/s.ptPerEm/m+"em";let y,g=null;if(c){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(a instanceof V||t)&&(g=-a.italic+"em")}if(l&&c){u=Math.max(u,p,l.depth+.25*s.xHeight),f=Math.max(f,s.sub2);const e=4*s.defaultRuleThickness;if(u-l.depth-(c.height-f)<e){f=e-(u-l.depth)+c.height;const t=.8*s.xHeight-(u-l.depth);t>0&&(u+=t,f-=t)}const n=[{type:"elem",elem:c,shift:f,marginRight:v,marginLeft:g},{type:"elem",elem:l,shift:-u,marginRight:v}];y=Le.makeVList({positionType:"individualShift",children:n},t)}else if(c){f=Math.max(f,s.sub1,c.height-.8*s.xHeight);const e=[{type:"elem",elem:c,marginLeft:g,marginRight:v}];y=Le.makeVList({positionType:"shift",positionData:f,children:e},t)}else{if(!l)throw new Error("supsub must have either sup or sub.");u=Math.max(u,p,l.depth+.25*s.xHeight),y=Le.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:l,marginRight:v}]},t)}const b=it(a,"right")||"mord";return Le.makeSpan([b],[a,Le.makeSpan(["msupsub"],[y])],t)},mathmlBuilder(e,t){let n,r,o=!1;const i=He(e.base,"horizBrace");i&&(r=!!e.sup,r===i.isOver&&(o=!0,n=i.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const a=[bt(e.base,t)];let l;if(e.sub&&a.push(bt(e.sub,t)),e.sup&&a.push(bt(e.sup,t)),o)l=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;l=n&&"op"===n.type&&n.limits&&t.style===S.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===S.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===S.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===S.DISPLAY)?"munder":"msub"}else{const n=e.base;l=n&&"op"===n.type&&n.limits&&(t.style===S.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===S.DISPLAY)?"mover":"msup"}return new pt.MathNode(l,a)}}),Xe({type:"atom",htmlBuilder:(e,t)=>Le.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new pt.MathNode("mo",[dt(e.text,e.mode)]);if("bin"===e.family){const r=vt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const Bn={mi:"italic",mn:"normal",mtext:"normal"};Xe({type:"mathord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new pt.MathNode("mi",[dt(e.text,e.mode,t)]),r=vt(e,t)||"italic";return r!==Bn[n.type]&&n.setAttribute("mathvariant",r),n}}),Xe({type:"textord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=dt(e.text,e.mode,t),r=vt(e,t)||"normal";let o;return o="text"===e.mode?new pt.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new pt.MathNode("mn",[n]):"\\prime"===e.text?new pt.MathNode("mo",[n]):new pt.MathNode("mi",[n]),r!==Bn[o.type]&&o.setAttribute("mathvariant",r),o}});const Wn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Yn={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Xe({type:"spacing",htmlBuilder(e,t){if(Yn.hasOwnProperty(e.text)){const n=Yn[e.text].className||"";if("text"===e.mode){const r=Le.makeOrd(e,t,"textord");return r.classes.push(n),r}return Le.makeSpan(["mspace",n],[Le.mathsym(e.text,e.mode,t)],t)}if(Wn.hasOwnProperty(e.text))return Le.makeSpan(["mspace",Wn[e.text]],[],t);throw new s(`Unknown type of space "${e.text}"`)},mathmlBuilder(e,t){let n;if(!Yn.hasOwnProperty(e.text)){if(Wn.hasOwnProperty(e.text))return new pt.MathNode("mspace");throw new s(`Unknown type of space "${e.text}"`)}return n=new pt.MathNode("mtext",[new pt.TextNode(" ")]),n}});const Gn=()=>{const e=new pt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Xe({type:"tag",mathmlBuilder(e,t){const n=new pt.MathNode("mtable",[new pt.MathNode("mtr",[Gn(),new pt.MathNode("mtd",[gt(e.body,t)]),Gn(),new pt.MathNode("mtd",[gt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const Kn={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Xn={"\\textbf":"textbf","\\textmd":"textmd"},Jn={"\\textit":"textit","\\textup":"textup"},Zn=(e,t)=>{const n=e.font;return n?Kn[n]?t.withTextFontFamily(Kn[n]):Xn[n]?t.withTextFontWeight(Xn[n]):t.withTextFontShape(Jn[n]):t};Ke({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler(e,t){let n=e.parser,r=e.funcName;const o=t[0];return{type:"text",mode:n.mode,body:Je(o),font:r}},htmlBuilder(e,t){const n=Zn(e,t),r=nt(e.body,n,!0);return Le.makeSpan(["mord","text"],Le.tryCombineChars(r),n)},mathmlBuilder(e,t){const n=Zn(e,t);return gt(e.body,n)}}),Ke({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>({type:"underline",mode:e.parser.mode,body:t[0]}),htmlBuilder(e,t){const n=lt(e.body,t),r=Le.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){const n=new pt.MathNode("mo",[new pt.TextNode("‾")]);n.setAttribute("stretchy","true");const r=new pt.MathNode("munder",[bt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new s("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=$n(e),r=[],o=t.havingStyle(t.style.text());for(let t=0;t<n.length;t++){let i=n[t];"~"===i&&(i="\\textasciitilde"),r.push(Le.makeSymbol(i,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return Le.makeSpan(["mord","text"].concat(o.sizingClasses(t)),Le.tryCombineChars(r),o)},mathmlBuilder(e,t){const n=new pt.TextNode($n(e)),r=new pt.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const $n=e=>e.body.replace(/ /g,e.star?"␣":" "),Qn=We,er=new RegExp("^(\\\\[a-zA-Z@]+)[ \r\n\t]*$"),tr=new RegExp("[̀-ͯ]+$");class nr{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧‪-퟿豈-￿][̀-ͯ]*|[\ud800-\udbff][\udc00-\udfff][̀-ͯ]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|\\\\[a-zA-Z@]+[ \r\n\t]*|\\\\[^\ud800-\udfff])","g"),this.catcodes={"%":14}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new c("EOF",new l(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new s(`Unexpected character: '${e[t]}'`,new c(e[t],new l(this,t,t+1)));let r=n[2]||" ";if(14===this.catcodes[r]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=t+1,this.lex()}const o=r.match(er);return o&&(r=o[1]),new c(r,new l(this,t,this.tokenRegex.lastIndex))}}class rr{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new s("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}this.current[e]=t}}const or={};function ir(e,t){or[e]=t}ir("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),ir("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),ir("\\@ifnextchar",(function(e){const t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),ir("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ir("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const ar={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ir("\\char",(function(e){let t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new s("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(r=ar[n.text],null==r||r>=t)throw new s(`Invalid base-${t} digit ${n.text}`);let o;for(;null!=(o=ar[e.future().text])&&o<t;)r*=t,r+=o,e.popToken()}return`\\@char{${r}}`}));const lr=(e,t)=>{let n=e.consumeArgs(1)[0];if(1!==n.length)throw new s("\\gdef's first argument must be a macro name");const r=n[0].text;let o=0;for(n=e.consumeArgs(1)[0];1===n.length&&"#"===n[0].text;){if(n=e.consumeArgs(1)[0],1!==n.length)throw new s(`Invalid argument number length "${n.length}"`);if(!/^[1-9]$/.test(n[0].text))throw new s(`Invalid argument number "${n[0].text}"`);if(o++,parseInt(n[0].text)!==o)throw new s(`Argument number "${n[0].text}" out of order`);n=e.consumeArgs(1)[0]}return e.macros.set(r,{tokens:n,numArgs:o},t),""};ir("\\gdef",e=>lr(e,!0)),ir("\\def",e=>lr(e,!1)),ir("\\global",e=>{const t=e.consumeArgs(1)[0];if(1!==t.length)throw new s("Invalid command after \\global");const n=t[0].text;if("\\def"===n)return lr(e,!0);throw new s(`Invalid command '${n}' after \\global`)});const cr=(e,t,n)=>{let r=e.consumeArgs(1)[0];if(1!==r.length)throw new s("\\newcommand's first argument must be a macro name");const o=r[0].text,i=e.isDefined(o);if(i&&!t)throw new s(`\\newcommand{${o}} attempting to redefine `+o+"; use \\renewcommand");if(!i&&!n)throw new s(`\\renewcommand{${o}} when command ${o} does not yet exist; use \\newcommand`);let a=0;if(r=e.consumeArgs(1)[0],1===r.length&&"["===r[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new s("Invalid number of arguments: "+t);a=parseInt(t),r=e.consumeArgs(1)[0]}return e.macros.set(o,{tokens:r,numArgs:a}),""};ir("\\newcommand",e=>cr(e,!1,!0)),ir("\\renewcommand",e=>cr(e,!0,!1)),ir("\\providecommand",e=>cr(e,!0,!0)),ir("\\bgroup","{"),ir("\\egroup","}"),ir("\\lq","`"),ir("\\rq","'"),ir("\\aa","\\r a"),ir("\\AA","\\r A"),ir("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),ir("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ir("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),ir("ℬ","\\mathscr{B}"),ir("ℰ","\\mathscr{E}"),ir("ℱ","\\mathscr{F}"),ir("ℋ","\\mathscr{H}"),ir("ℐ","\\mathscr{I}"),ir("ℒ","\\mathscr{L}"),ir("ℳ","\\mathscr{M}"),ir("ℛ","\\mathscr{R}"),ir("ℭ","\\mathfrak{C}"),ir("ℌ","\\mathfrak{H}"),ir("ℨ","\\mathfrak{Z}"),ir("\\Bbbk","\\Bbb{k}"),ir("·","\\cdotp"),ir("\\llap","\\mathllap{\\textrm{#1}}"),ir("\\rlap","\\mathrlap{\\textrm{#1}}"),ir("\\clap","\\mathclap{\\textrm{#1}}"),ir("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ir("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),ir("\\ne","\\neq"),ir("≠","\\neq"),ir("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),ir("∉","\\notin"),ir("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),ir("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),ir("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),ir("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),ir("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),ir("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),ir("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),ir("⟂","\\perp"),ir("‼","\\mathclose{!\\mkern-0.8mu!}"),ir("∌","\\notni"),ir("⌜","\\ulcorner"),ir("⌝","\\urcorner"),ir("⌞","\\llcorner"),ir("⌟","\\lrcorner"),ir("©","\\copyright"),ir("®","\\textregistered"),ir("️","\\textregistered"),ir("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ir("⋮","\\vdots"),ir("\\varGamma","\\mathit{\\Gamma}"),ir("\\varDelta","\\mathit{\\Delta}"),ir("\\varTheta","\\mathit{\\Theta}"),ir("\\varLambda","\\mathit{\\Lambda}"),ir("\\varXi","\\mathit{\\Xi}"),ir("\\varPi","\\mathit{\\Pi}"),ir("\\varSigma","\\mathit{\\Sigma}"),ir("\\varUpsilon","\\mathit{\\Upsilon}"),ir("\\varPhi","\\mathit{\\Phi}"),ir("\\varPsi","\\mathit{\\Psi}"),ir("\\varOmega","\\mathit{\\Omega}"),ir("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ir("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ir("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ir("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ir("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ir("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");const sr={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ir("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in sr?t=sr[n]:("\\not"===n.substr(0,4)||n in J.math&&d.contains(["bin","rel"],J.math[n].group))&&(t="\\dotsb"),t}));const ur={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ir("\\dotso",(function(e){return e.future().text in ur?"\\ldots\\,":"\\ldots"})),ir("\\dotsc",(function(e){const t=e.future().text;return t in ur&&","!==t?"\\ldots\\,":"\\ldots"})),ir("\\cdots",(function(e){return e.future().text in ur?"\\@cdots\\,":"\\@cdots"})),ir("\\dotsb","\\cdots"),ir("\\dotsm","\\cdots"),ir("\\dotsi","\\!\\cdots"),ir("\\dotsx","\\ldots\\,"),ir("\\DOTSI","\\relax"),ir("\\DOTSB","\\relax"),ir("\\DOTSX","\\relax"),ir("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ir("\\,","\\tmspace+{3mu}{.1667em}"),ir("\\thinspace","\\,"),ir("\\>","\\mskip{4mu}"),ir("\\:","\\tmspace+{4mu}{.2222em}"),ir("\\medspace","\\:"),ir("\\;","\\tmspace+{5mu}{.2777em}"),ir("\\thickspace","\\;"),ir("\\!","\\tmspace-{3mu}{.1667em}"),ir("\\negthinspace","\\!"),ir("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ir("\\negthickspace","\\tmspace-{5mu}{.277em}"),ir("\\enspace","\\kern.5em "),ir("\\enskip","\\hskip.5em\\relax"),ir("\\quad","\\hskip1em\\relax"),ir("\\qquad","\\hskip2em\\relax"),ir("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ir("\\tag@paren","\\tag@literal{({#1})}"),ir("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new s("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ir("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ir("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ir("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ir("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ir("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ir("\\\\","\\newline"),ir("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const fr=U["Main-Regular"]["T".charCodeAt(0)][1]-.7*U["Main-Regular"]["A".charCodeAt(0)][1]+"em";ir("\\LaTeX",`\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{${fr}}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}`),ir("\\KaTeX",`\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{${fr}}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}`),ir("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ir("\\@hspace","\\hskip #1\\relax"),ir("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ir("\\ordinarycolon",":"),ir("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ir("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ir("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ir("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ir("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ir("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ir("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ir("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ir("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ir("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ir("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ir("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ir("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ir("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ir("∷","\\dblcolon"),ir("∹","\\eqcolon"),ir("≔","\\coloneqq"),ir("≕","\\eqqcolon"),ir("⩴","\\Coloneqq"),ir("\\ratio","\\vcentcolon"),ir("\\coloncolon","\\dblcolon"),ir("\\colonequals","\\coloneqq"),ir("\\coloncolonequals","\\Coloneqq"),ir("\\equalscolon","\\eqqcolon"),ir("\\equalscoloncolon","\\Eqqcolon"),ir("\\colonminus","\\coloneq"),ir("\\coloncolonminus","\\Coloneq"),ir("\\minuscolon","\\eqcolon"),ir("\\minuscoloncolon","\\Eqcolon"),ir("\\coloncolonapprox","\\Colonapprox"),ir("\\coloncolonsim","\\Colonsim"),ir("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ir("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ir("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ir("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ir("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),ir("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ir("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ir("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),ir("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),ir("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),ir("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),ir("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),ir("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),ir("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),ir("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),ir("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),ir("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),ir("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),ir("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),ir("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),ir("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),ir("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),ir("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),ir("⟦","\\llbracket"),ir("⟧","\\rrbracket"),ir("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),ir("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),ir("⦃","\\lBrace"),ir("⦄","\\rBrace"),ir("\\darr","\\downarrow"),ir("\\dArr","\\Downarrow"),ir("\\Darr","\\Downarrow"),ir("\\lang","\\langle"),ir("\\rang","\\rangle"),ir("\\uarr","\\uparrow"),ir("\\uArr","\\Uparrow"),ir("\\Uarr","\\Uparrow"),ir("\\N","\\mathbb{N}"),ir("\\R","\\mathbb{R}"),ir("\\Z","\\mathbb{Z}"),ir("\\alef","\\aleph"),ir("\\alefsym","\\aleph"),ir("\\Alpha","\\mathrm{A}"),ir("\\Beta","\\mathrm{B}"),ir("\\bull","\\bullet"),ir("\\Chi","\\mathrm{X}"),ir("\\clubs","\\clubsuit"),ir("\\cnums","\\mathbb{C}"),ir("\\Complex","\\mathbb{C}"),ir("\\Dagger","\\ddagger"),ir("\\diamonds","\\diamondsuit"),ir("\\empty","\\emptyset"),ir("\\Epsilon","\\mathrm{E}"),ir("\\Eta","\\mathrm{H}"),ir("\\exist","\\exists"),ir("\\harr","\\leftrightarrow"),ir("\\hArr","\\Leftrightarrow"),ir("\\Harr","\\Leftrightarrow"),ir("\\hearts","\\heartsuit"),ir("\\image","\\Im"),ir("\\infin","\\infty"),ir("\\Iota","\\mathrm{I}"),ir("\\isin","\\in"),ir("\\Kappa","\\mathrm{K}"),ir("\\larr","\\leftarrow"),ir("\\lArr","\\Leftarrow"),ir("\\Larr","\\Leftarrow"),ir("\\lrarr","\\leftrightarrow"),ir("\\lrArr","\\Leftrightarrow"),ir("\\Lrarr","\\Leftrightarrow"),ir("\\Mu","\\mathrm{M}"),ir("\\natnums","\\mathbb{N}"),ir("\\Nu","\\mathrm{N}"),ir("\\Omicron","\\mathrm{O}"),ir("\\plusmn","\\pm"),ir("\\rarr","\\rightarrow"),ir("\\rArr","\\Rightarrow"),ir("\\Rarr","\\Rightarrow"),ir("\\real","\\Re"),ir("\\reals","\\mathbb{R}"),ir("\\Reals","\\mathbb{R}"),ir("\\Rho","\\mathrm{P}"),ir("\\sdot","\\cdot"),ir("\\sect","\\S"),ir("\\spades","\\spadesuit"),ir("\\sub","\\subset"),ir("\\sube","\\subseteq"),ir("\\supe","\\supseteq"),ir("\\Tau","\\mathrm{T}"),ir("\\thetasym","\\vartheta"),ir("\\weierp","\\wp"),ir("\\Zeta","\\mathrm{Z}"),ir("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ir("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ir("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ir("\\blue","\\textcolor{##6495ed}{#1}"),ir("\\orange","\\textcolor{##ffa500}{#1}"),ir("\\pink","\\textcolor{##ff00af}{#1}"),ir("\\red","\\textcolor{##df0030}{#1}"),ir("\\green","\\textcolor{##28ae7b}{#1}"),ir("\\gray","\\textcolor{gray}{#1}"),ir("\\purple","\\textcolor{##9d38bd}{#1}"),ir("\\blueA","\\textcolor{##ccfaff}{#1}"),ir("\\blueB","\\textcolor{##80f6ff}{#1}"),ir("\\blueC","\\textcolor{##63d9ea}{#1}"),ir("\\blueD","\\textcolor{##11accd}{#1}"),ir("\\blueE","\\textcolor{##0c7f99}{#1}"),ir("\\tealA","\\textcolor{##94fff5}{#1}"),ir("\\tealB","\\textcolor{##26edd5}{#1}"),ir("\\tealC","\\textcolor{##01d1c1}{#1}"),ir("\\tealD","\\textcolor{##01a995}{#1}"),ir("\\tealE","\\textcolor{##208170}{#1}"),ir("\\greenA","\\textcolor{##b6ffb0}{#1}"),ir("\\greenB","\\textcolor{##8af281}{#1}"),ir("\\greenC","\\textcolor{##74cf70}{#1}"),ir("\\greenD","\\textcolor{##1fab54}{#1}"),ir("\\greenE","\\textcolor{##0d923f}{#1}"),ir("\\goldA","\\textcolor{##ffd0a9}{#1}"),ir("\\goldB","\\textcolor{##ffbb71}{#1}"),ir("\\goldC","\\textcolor{##ff9c39}{#1}"),ir("\\goldD","\\textcolor{##e07d10}{#1}"),ir("\\goldE","\\textcolor{##a75a05}{#1}"),ir("\\redA","\\textcolor{##fca9a9}{#1}"),ir("\\redB","\\textcolor{##ff8482}{#1}"),ir("\\redC","\\textcolor{##f9685d}{#1}"),ir("\\redD","\\textcolor{##e84d39}{#1}"),ir("\\redE","\\textcolor{##bc2612}{#1}"),ir("\\maroonA","\\textcolor{##ffbde0}{#1}"),ir("\\maroonB","\\textcolor{##ff92c6}{#1}"),ir("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ir("\\maroonD","\\textcolor{##ca337c}{#1}"),ir("\\maroonE","\\textcolor{##9e034e}{#1}"),ir("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ir("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ir("\\purpleC","\\textcolor{##aa87ff}{#1}"),ir("\\purpleD","\\textcolor{##7854ab}{#1}"),ir("\\purpleE","\\textcolor{##543b78}{#1}"),ir("\\mintA","\\textcolor{##f5f9e8}{#1}"),ir("\\mintB","\\textcolor{##edf2df}{#1}"),ir("\\mintC","\\textcolor{##e0e5cc}{#1}"),ir("\\grayA","\\textcolor{##f6f7f7}{#1}"),ir("\\grayB","\\textcolor{##f0f1f2}{#1}"),ir("\\grayC","\\textcolor{##e3e5e6}{#1}"),ir("\\grayD","\\textcolor{##d6d8da}{#1}"),ir("\\grayE","\\textcolor{##babec2}{#1}"),ir("\\grayF","\\textcolor{##888d93}{#1}"),ir("\\grayG","\\textcolor{##626569}{#1}"),ir("\\grayH","\\textcolor{##3b3e40}{#1}"),ir("\\grayI","\\textcolor{##21242c}{#1}"),ir("\\kaBlue","\\textcolor{##314453}{#1}"),ir("\\kaGreen","\\textcolor{##71B307}{#1}");const hr={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class pr{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new rr(or,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new nr(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArgs(e){const t=[];for(let n=0;n<e;++n){this.consumeSpaces();const e=this.popToken();if("{"===e.text){const r=[];let o=1;for(;0!==o;){const t=this.popToken();if(r.push(t),"{"===t.text)++o;else if("}"===t.text)--o;else if("EOF"===t.text)throw new s("End of input in macro argument",e)}r.pop(),r.reverse(),t[n]=r}else{if("EOF"===e.text)throw new s("End of input expecting macro argument");t[n]=[e]}}return t}expandOnce(){const e=this.popToken(),t=e.text,n=this._getExpansion(t);if(null==n)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new s("Too many expansions: infinite loop or need to increase maxExpand setting");let r=n.tokens;if(n.numArgs){const e=this.consumeArgs(n.numArgs);r=r.slice();for(let t=r.length-1;t>=0;--t){let n=r[t];if("#"===n.text){if(0===t)throw new s("Incomplete placeholder at end of macro body",n);if(n=r[--t],"#"===n.text)r.splice(t+1,1);else{if(!/^[1-9]$/.test(n.text))throw new s("Not a valid argument number",n);r.splice(t,2,...e[+n.text-1])}}}}return this.pushTokens(r),r}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){const e=this.expandOnce();if(e instanceof c){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}expandMacro(e){if(!this.macros.get(e))return;const t=[],n=this.stack.length;for(this.pushToken(new c(e));this.stack.length>n;)this.expandOnce()instanceof c&&t.push(this.stack.pop());return t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;const n="function"==typeof t?t(this):t;if("string"==typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new nr(n,this.settings),r=[];let o=t.lex();for(;"EOF"!==o.text;)r.push(o),o=t.lex();return r.reverse(),{tokens:r,numArgs:e}}return n}isDefined(e){return this.macros.has(e)||Qn.hasOwnProperty(e)||J.math.hasOwnProperty(e)||J.text.hasOwnProperty(e)||hr.hasOwnProperty(e)}}var dr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},mr={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class vr{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new pr(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new s(`Expected '${e}', got '${this.fetch().text}'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");const e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e}parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==vr.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&Qn[r.text]&&Qn[r.text].infix)break;const o=this.parseAtom(t);if(!o)break;n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let r=0;r<e.length;r++){const o=He(e[r],"infix");if(o){if(-1!==n)throw new s("only one infix operator per group",o.token);n=r,t=o.replaceWith}}if(-1!==n&&t){let r,o;const i=e.slice(0,n),a=e.slice(n+1);let l;return r=1===i.length&&"ordgroup"===i[0].type?i[0]:{type:"ordgroup",mode:this.mode,body:i},o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},l="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],o],[]):this.callFunction(t,[r,o],[]),[l]}return e}handleSupSubscript(e){const t=this.fetch(),n=t.text;this.consume();const r=this.parseGroup(e,!1,vr.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!r)throw new s("Expected group after '"+n+"'",t);return r}formatUnsupportedCmd(e){const t=[];for(let n=0;n<e.length;n++)t.push({type:"textord",mode:"text",text:e[n]});const n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){const t=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return t;let n,r;for(;;){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){let n=He(t,"op");if(n){const t="\\limits"===e.text;n.limits=t,n.alwaysHandleSupSub=!0}else{if(n=He(t,"operatorname"),!n||!n.alwaysHandleSupSub)throw new s("Limit controls must follow a math operator",e);{const t="\\limits"===e.text;n.limits=t}}this.consume()}else if("^"===e.text){if(n)throw new s("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(r)throw new s("Double subscript",e);r=this.handleSupSubscript("subscript")}else{if("'"!==e.text)break;{if(n)throw new s("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},r=[t];for(this.consume();"'"===this.fetch().text;)r.push(t),this.consume();"^"===this.fetch().text&&r.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:r}}}}return n||r?{type:"supsub",mode:this.mode,base:t,sup:n,sub:r}:t}parseFunction(e,t,n){const r=this.fetch(),o=r.text,i=Qn[o];if(!i)return null;if(this.consume(),null!=n&&i.greediness<=n)throw new s("Got function '"+o+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!i.allowedInText)throw new s("Can't use function '"+o+"' in text mode",r);if("math"===this.mode&&!1===i.allowedInMath)throw new s("Can't use function '"+o+"' in math mode",r);const a=this.parseArguments(o,i),l=a.args,c=a.optArgs;return this.callFunction(o,l,c,r,e)}callFunction(e,t,n,r,o){const i={funcName:e,parser:this,token:r,breakOnTokenText:o},a=Qn[e];if(a&&a.handler)return a.handler(i,t,n);throw new s("No function handler for "+e)}parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const r=t.greediness,o=[],i=[];for(let a=0;a<n;a++){const n=t.argTypes&&t.argTypes[a],l=a<t.numOptionalArgs,c=a>0&&!l||0===a&&!l&&"math"===this.mode,u=this.parseGroupOfType(`argument to '${e}'`,n,l,r,c);if(!u){if(l){i.push(null);continue}throw new s(`Expected group after '${e}'`,this.fetch())}(l?i:o).push(u)}return{args:o,optArgs:i}}parseGroupOfType(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":{const t=this.parseGroup(e,n,r,void 0,"text",o);return t?{type:"styling",mode:t.mode,body:[t],style:"text"}:t}case"raw":{if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;const e=this.parseStringGroup("raw",n,!0);if(e)return{type:"raw",mode:"text",string:e.text};throw new s("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new s("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t,n){const r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}const a=this.mode;this.mode="text",this.expect(r);let l="";const c=this.fetch();let u,f=0,h=c;for(;(u=this.fetch()).text!==o||n&&f>0;){switch(u.text){case"EOF":throw new s("Unexpected end of input in "+e,c.range(h,l));case r:f++;break;case o:f--}h=u,l+=h.text,this.consume()}return this.expect(o),this.mode=a,c.range(h,l)}parseRegexGroup(e,t){const n=this.mode;this.mode="text";const r=this.fetch();let o,i=r,a="";for(;"EOF"!==(o=this.fetch()).text&&e.test(a+o.text);)i=o,a+=i.text,this.consume();if(""===a)throw new s("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,a)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(!t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new s("Invalid color: '"+t.text+"'",t);let r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}}parseSizeGroup(e){let t,n=!1;if(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new s("Invalid size: '"+t.text+"'",t);const o={number:+(r[1]+r[2]),unit:r[3]};if(!xe(o))throw new s("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}}parseUrlGroup(e,t){this.gullet.lexer.setCatcode("%",13);const n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;const r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseGroup(e,t,n,r,o,i){const a=this.mode;o&&this.switchMode(o),i&&this.consumeSpaces();const c=this.fetch(),u=c.text;let f;if(t?"["===u:"{"===u||"\\begingroup"===u){this.consume();const e=vr.endOfGroup[u];this.gullet.beginGroup();const t=this.parseExpression(!1,e),n=this.fetch();this.expect(e),this.gullet.endGroup(),f={type:"ordgroup",mode:this.mode,loc:l.range(c,n),body:t,semisimple:"\\begingroup"===u||void 0}}else if(t)f=null;else if(f=this.parseFunction(r,e,n)||this.parseSymbol(),null==f&&"\\"===u[0]&&!hr.hasOwnProperty(u)){if(this.settings.throwOnError)throw new s("Undefined control sequence: "+u,c);f=this.formatUnsupportedCmd(u),this.consume()}return o&&this.switchMode(a),f}formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],o=r.text;"-"===o&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:l.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:l.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[n+1].text!==o||(e.splice(n,2,{type:"textord",mode:"text",loc:l.range(r,e[n+1]),text:o+o}),t-=1)}}parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new s("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}mr.hasOwnProperty(t[0])&&!J[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",`Accented Unicode text character "${t[0]}" used in math mode`,e),t=mr[t[0]]+t.substr(1));const n=tr.exec(t);let r;if(n&&(t=t.substring(0,n.index),"i"===t?t="ı":"j"===t&&(t="ȷ")),J[this.mode][t]){this.settings.strict&&"math"===this.mode&&"ÇÐÞçþ".indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",`Latin-1/Unicode text character "${t[0]}" used in math mode`,e);const n=J[this.mode][t].group,o=l.range(e);let i;if(K.hasOwnProperty(n)){const e=n;i={type:"atom",mode:this.mode,family:e,loc:o,text:t}}else i={type:n,mode:this.mode,loc:o,text:t};r=i}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(T(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",`Unicode text character "${t[0]}" used in math mode`,e):this.settings.reportNonstrict("unknownSymbol",`Unrecognized Unicode character "${t[0]}" (${t.charCodeAt(0)})`,e)),r={type:"textord",mode:"text",loc:l.range(e),text:t}}if(this.consume(),n)for(let t=0;t<n[0].length;t++){const o=n[0][t];if(!dr[o])throw new s(`Unknown accent ' ${o}'`,e);const i=dr[o][this.mode];if(!i)throw new s(`Accent ${o} unsupported in ${this.mode} mode`,e);r={type:"accent",mode:this.mode,loc:l.range(e),label:i,isStretchy:!1,isShifty:!0,base:r}}return r}}vr.endOfExpression=["}","\\endgroup","\\end","\\right","&"],vr.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},vr.SUPSUB_GREEDINESS=1;const yr=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new vr(e,t);delete n.gullet.macros.current["\\df@tag"];let r=n.parse();if(n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new s("\\tag works only in display equations");n.gullet.feed("\\df@tag"),r=[{type:"tag",mode:"text",body:r,tag:n.parse()}]}return r};let gr=function(e,t,n){t.textContent="";const r=wr(e,n).toNode();t.appendChild(r)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),gr=function(){throw new s("KaTeX doesn't work in quirks mode.")});const br=function(e,t,n){if(n.throwOnError||!(e instanceof s))throw e;const r=Le.makeSpan(["katex-error"],[new V(t)]);return r.setAttribute("title",e.toString()),r.setAttribute("style","color:"+n.errorColor),r},wr=function(e,t){const n=new m(t);try{return function(e,t,n){const r=xt(n);let o;if("mathml"===n.output)return wt(e,t,r,!0);if("html"===n.output){const t=st(e,r);o=Le.makeSpan(["katex"],[t])}else{const n=wt(e,t,r,!1),i=st(e,r);o=Le.makeSpan(["katex"],[n,i])}return _t(o,n)}(yr(e,n),e,n)}catch(t){return br(t,e,n)}};var xr={version:"0.11.1",render:gr,renderToString:function(e,t){return wr(e,t).toMarkup()},ParseError:s,__parse:function(e,t){const n=new m(t);return yr(e,n)},__renderToDomTree:wr,__renderToHTMLTree:function(e,t){const n=new m(t);try{return function(e,t,n){const r=st(e,xt(n)),o=Le.makeSpan(["katex"],[r]);return _t(o,n)}(yr(e,n),0,n)}catch(t){return br(t,e,n)}},__setFontMetrics:function(e,t){U[e]=t},__defineSymbol:Z,__defineMacro:ir,__domTree:{Span:L,Anchor:N,SymbolNode:V,SvgNode:I,PathNode:D,LineNode:F}};const _r=function(e,t,n){let r=n,o=0;const i=e.length;for(;r<t.length;){const n=t[r];if(o<=0&&t.slice(r,r+i)===e)return r;"\\"===n?r++:"{"===n?o++:"}"===n&&o--,r++}return-1},kr=function(e,t,n,r){const o=[];for(let i=0;i<e.length;i++)if("text"===e[i].type){const a=e[i].data;let l,c=!0,s=0;for(l=a.indexOf(t),-1!==l&&(s=l,o.push({type:"text",data:a.slice(0,s)}),c=!1);;){if(c){if(l=a.indexOf(t,s),-1===l)break;o.push({type:"text",data:a.slice(s,l)}),s=l}else{if(l=_r(n,a,s+t.length),-1===l)break;o.push({type:"math",data:a.slice(s+t.length,l),rawData:a.slice(s,l+n.length),display:r}),s=l+n.length}c=!c}o.push({type:"text",data:a.slice(s)})}else o.push(e[i]);return o},Sr=function(e,t){const n=function(e,t){let n=[{type:"text",data:e}];for(let e=0;e<t.length;e++){const r=t[e];n=kr(n,r.left,r.right,r.display||!1)}return n}(e,t.delimiters),r=document.createDocumentFragment();for(let e=0;e<n.length;e++)if("text"===n[e].type)r.appendChild(document.createTextNode(n[e].data));else{const o=document.createElement("span");let i=n[e].data;t.displayMode=n[e].display;try{t.preProcess&&(i=t.preProcess(i)),xr.render(i,o,t)}catch(o){if(!(o instanceof xr.ParseError))throw o;t.errorCallback("KaTeX auto-render: Failed to parse `"+n[e].data+"` with ",o),r.appendChild(document.createTextNode(n[e].rawData));continue}r.appendChild(o)}return r},Or=function(e,t){if(!e)throw new Error("No element provided to render");const n={};for(const e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},function e(t,n){for(let r=0;r<t.childNodes.length;r++){const o=t.childNodes[r];if(3===o.nodeType){const e=Sr(o.textContent,n);r+=e.childNodes.length-1,t.replaceChild(e,o)}else if(1===o.nodeType){const t=" "+o.className+" ";-1===n.ignoredTags.indexOf(o.nodeName.toLowerCase())&&n.ignoredClasses.every(e=>-1===t.indexOf(" "+e+" "))&&e(o,n)}}}(e,n)};var Mr,Tr=0,Er=1,zr=2,Cr=3,Pr=4,Ar=5,jr=6,Lr=7,Nr=8,Hr=9,Rr=10,Vr={input:"'",tag:"mtext",output:"mbox",tex:null,tType:Rr},Ir=[{input:"alpha",tag:"mi",output:"α",tex:null,tType:Tr},{input:"beta",tag:"mi",output:"β",tex:null,tType:Tr},{input:"chi",tag:"mi",output:"χ",tex:null,tType:Tr},{input:"delta",tag:"mi",output:"δ",tex:null,tType:Tr},{input:"Delta",tag:"mo",output:"Δ",tex:null,tType:Tr},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",tType:Tr},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,tType:Tr},{input:"eta",tag:"mi",output:"η",tex:null,tType:Tr},{input:"gamma",tag:"mi",output:"γ",tex:null,tType:Tr},{input:"Gamma",tag:"mo",output:"Γ",tex:null,tType:Tr},{input:"iota",tag:"mi",output:"ι",tex:null,tType:Tr},{input:"kappa",tag:"mi",output:"κ",tex:null,tType:Tr},{input:"lambda",tag:"mi",output:"λ",tex:null,tType:Tr},{input:"Lambda",tag:"mo",output:"Λ",tex:null,tType:Tr},{input:"lamda",tag:"mi",output:"lambda",tex:null,tType:Nr},{input:"Lamda",tag:"mi",output:"Lambda",tex:null,tType:Nr},{input:"mu",tag:"mi",output:"μ",tex:null,tType:Tr},{input:"nu",tag:"mi",output:"ν",tex:null,tType:Tr},{input:"omega",tag:"mi",output:"ω",tex:null,tType:Tr},{input:"Omega",tag:"mo",output:"Ω",tex:null,tType:Tr},{input:"phi",tag:"mi",output:"φ",tex:null,tType:Tr},{input:"varphi",tag:"mi",output:"ϕ",tex:null,tType:Tr},{input:"Phi",tag:"mo",output:"Φ",tex:null,tType:Tr},{input:"pi",tag:"mi",output:"π",tex:null,tType:Tr},{input:"Pi",tag:"mo",output:"Π",tex:null,tType:Tr},{input:"psi",tag:"mi",output:"ψ",tex:null,tType:Tr},{input:"Psi",tag:"mi",output:"Ψ",tex:null,tType:Tr},{input:"rho",tag:"mi",output:"ρ",tex:null,tType:Tr},{input:"sigma",tag:"mi",output:"σ",tex:null,tType:Tr},{input:"Sigma",tag:"mo",output:"Σ",tex:null,tType:Tr},{input:"tau",tag:"mi",output:"τ",tex:null,tType:Tr},{input:"theta",tag:"mi",output:"θ",tex:null,tType:Tr},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,tType:Tr},{input:"Theta",tag:"mo",output:"Θ",tex:null,tType:Tr},{input:"upsilon",tag:"mi",output:"υ",tex:null,tType:Tr},{input:"xi",tag:"mi",output:"ξ",tex:null,tType:Tr},{input:"Xi",tag:"mo",output:"Ξ",tex:null,tType:Tr},{input:"zeta",tag:"mi",output:"ζ",tex:null,tType:Tr},{input:"*",tag:"mo",output:"⋅",tex:"cdot",tType:Tr},{input:"**",tag:"mo",output:"∗",tex:"ast",tType:Tr},{input:"***",tag:"mo",output:"⋆",tex:"star",tType:Tr},{input:"// ",tag:"mo",output:"/",tex:"/",tType:Tr,val:!0,noTexCopy:!0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",tType:Tr},{input:"setminus",tag:"mo",output:"\\",tex:null,tType:Tr},{input:"xx",tag:"mo",output:"×",tex:"times",tType:Tr},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",tType:Tr},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",tType:Tr},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",tType:Tr},{input:"-:",tag:"mo",output:"÷",tex:"div",tType:Tr},{input:"divide",tag:"mo",output:"-:",tex:null,tType:Nr},{input:"@",tag:"mo",output:"∘",tex:"circ",tType:Tr},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",tType:Tr},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",tType:Tr},{input:"o.",tag:"mo",output:"⊙",tex:"odot",tType:Tr},{input:"sum",tag:"mo",output:"∑",tex:null,tType:Lr},{input:"prod",tag:"mo",output:"∏",tex:null,tType:Lr},{input:"^^",tag:"mo",output:"∧",tex:"wedge",tType:Tr},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",tType:Lr},{input:"vv",tag:"mo",output:"∨",tex:"vee",tType:Tr},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",tType:Lr},{input:"nn",tag:"mo",output:"∩",tex:"cap",tType:Tr},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",tType:Lr},{input:"uu",tag:"mo",output:"∪",tex:"cup",tType:Tr},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",tType:Lr},{input:"overset",tag:"mover",output:"stackrel",tex:null,tType:zr},{input:"underset",tag:"munder",output:"stackrel",tex:null,tType:zr},{input:"!=",tag:"mo",output:"≠",tex:"ne",tType:Tr},{input:":=",tag:"mo",output:":=",tex:null,tType:Tr},{input:"lt",tag:"mo",output:"<",tex:null,tType:Tr},{input:"gt",tag:"mo",output:">",tex:null,tType:Tr},{input:"<=",tag:"mo",output:"≤",tex:"le",tType:Tr},{input:"lt=",tag:"mo",output:"≤",tex:"leq",tType:Tr},{input:"gt=",tag:"mo",output:"≥",tex:"geq",tType:Tr},{input:">=",tag:"mo",output:"≥",tex:"ge",tType:Tr},{input:"-<",tag:"mo",output:"≺",tex:"prec",tType:Tr},{input:"-lt",tag:"mo",output:"≺",tex:null,tType:Tr},{input:">-",tag:"mo",output:"≻",tex:"succ",tType:Tr},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",tType:Tr},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",tType:Tr},{input:"in",tag:"mo",output:"∈",tex:null,tType:Tr},{input:"!in",tag:"mo",output:"∉",tex:"notin",tType:Tr},{input:"sub",tag:"mo",output:"⊂",tex:"subset",tType:Tr},{input:"sup",tag:"mo",output:"⊃",tex:"supset",tType:Tr},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",tType:Tr},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",tType:Tr},{input:"-=",tag:"mo",output:"≡",tex:"equiv",tType:Tr},{input:"~=",tag:"mo",output:"≅",tex:"stackrel{\\sim}{=}",tType:Tr},{input:"cong",tag:"mo",output:"~=",tex:null,tType:Nr},{input:"~~",tag:"mo",output:"≈",tex:"approx",tType:Tr},{input:"prop",tag:"mo",output:"∝",tex:"propto",tType:Tr},{input:"and",tag:"mtext",output:"and",tex:null,tType:jr},{input:"or",tag:"mtext",output:"or",tex:null,tType:jr},{input:"not",tag:"mo",output:"¬",tex:"neg",tType:Tr},{input:"=>",tag:"mo",output:"⇒",tex:"Rightarrow",tType:Tr},{input:"implies",tag:"mo",output:"=>",tex:null,tType:Nr},{input:"if",tag:"mo",output:"if",tex:null,tType:jr},{input:"<=>",tag:"mo",output:"⇔",tex:"Leftrightarrow",tType:Tr},{input:"iff",tag:"mo",output:"<=>",tex:null,tType:Nr},{input:"AA",tag:"mo",output:"∀",tex:"forall",tType:Tr},{input:"EE",tag:"mo",output:"∃",tex:"exists",tType:Tr},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",tType:Tr},{input:"TT",tag:"mo",output:"⊤",tex:"top",tType:Tr},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",tType:Tr},{input:"|==",tag:"mo",output:"⊨",tex:"models",tType:Tr},{input:"(",tag:"mo",output:"(",tex:null,tType:Pr,val:!0},{input:")",tag:"mo",output:")",tex:null,tType:Ar,val:!0},{input:"[",tag:"mo",output:"[",tex:null,tType:Pr,val:!0},{input:"]",tag:"mo",output:"]",tex:null,tType:Ar,val:!0},{input:"{",tag:"mo",output:"{",tex:"lbrace",tType:Pr},{input:"}",tag:"mo",output:"}",tex:"rbrace",tType:Ar},{input:"|",tag:"mo",output:"|",tex:null,tType:Hr,val:!0},{input:"(:",tag:"mo",output:"〈",tex:"langle",tType:Pr},{input:":)",tag:"mo",output:"〉",tex:"rangle",tType:Ar},{input:"<<",tag:"mo",output:"〈",tex:"langle",tType:Pr},{input:">>",tag:"mo",output:"〉",tex:"rangle",tType:Ar},{input:"{:",tag:"mo",output:"{:",tex:null,tType:Pr,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,tType:Ar,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,tType:Tr},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,tType:Nr},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,tType:Nr},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,tType:Nr},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,tType:Nr},{input:"oint",tag:"mo",output:"∮",tex:null,tType:Tr},{input:"del",tag:"mo",output:"∂",tex:"partial",tType:Tr},{input:"grad",tag:"mo",output:"∇",tex:"nabla",tType:Tr},{input:"+-",tag:"mo",output:"±",tex:"pm",tType:Tr},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",tType:Tr},{input:"oo",tag:"mo",output:"∞",tex:"infty",tType:Tr},{input:"aleph",tag:"mo",output:"ℵ",tex:null,tType:Tr},{input:"...",tag:"mo",output:"...",tex:"ldots",tType:Tr},{input:":.",tag:"mo",output:"∴",tex:"therefore",tType:Tr},{input:":'",tag:"mo",output:"∵",tex:"because",tType:Tr},{input:"/_",tag:"mo",output:"∠",tex:"angle",tType:Tr},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",tType:Tr},{input:"\\ ",tag:"mo",output:" ",tex:null,tType:Tr,val:!0},{input:"frown",tag:"mo",output:"⌢",tex:null,tType:Tr},{input:"%",tag:"mo",output:"%",tex:"%",tType:Tr,noTexCopy:!0},{input:"quad",tag:"mo",output:"  ",tex:null,tType:Tr},{input:"qquad",tag:"mo",output:"    ",tex:null,tType:Tr},{input:"cdots",tag:"mo",output:"⋯",tex:null,tType:Tr},{input:"vdots",tag:"mo",output:"⋮",tex:null,tType:Tr},{input:"ddots",tag:"mo",output:"⋱",tex:null,tType:Tr},{input:"diamond",tag:"mo",output:"⋄",tex:null,tType:Tr},{input:"square",tag:"mo",output:"□",tex:"boxempty",tType:Tr},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",tType:Tr},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",tType:Tr},{input:"|~",tag:"mo",output:"⌈",tex:"lceil",tType:Tr},{input:"lceiling",tag:"mo",output:"|~",tex:null,tType:Nr},{input:"~|",tag:"mo",output:"⌉",tex:"rceil",tType:Tr},{input:"rceiling",tag:"mo",output:"~|",tex:null,tType:Nr},{input:"CC",tag:"mo",output:"ℂ",tex:"mathbb{C}",tType:Tr,noTexCopy:!0},{input:"NN",tag:"mo",output:"ℕ",tex:"mathbb{N}",tType:Tr,noTexCopy:!0},{input:"QQ",tag:"mo",output:"ℚ",tex:"mathbb{Q}",tType:Tr,noTexCopy:!0},{input:"RR",tag:"mo",output:"ℝ",tex:"mathbb{R}",tType:Tr,noTexCopy:!0},{input:"ZZ",tag:"mo",output:"ℤ",tex:"mathbb{Z}",tType:Tr,noTexCopy:!0},{input:"f",tag:"mi",output:"f",tex:null,tType:Er,func:!0,val:!0},{input:"g",tag:"mi",output:"g",tex:null,tType:Er,func:!0,val:!0},{input:"''",tag:"mo",output:"''",tex:null,val:!0},{input:"'''",tag:"mo",output:"'''",tex:null,val:!0},{input:"''''",tag:"mo",output:"''''",tex:null,val:!0},{input:"lim",tag:"mo",output:"lim",tex:null,tType:Lr},{input:"Lim",tag:"mo",output:"Lim",tex:null,tType:Lr},{input:"sin",tag:"mo",output:"sin",tex:null,tType:Er,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,tType:Er,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,tType:Er,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,tType:Er,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,tType:Er,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,tType:Er,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,tType:Er,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,tType:Er,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,tType:Er,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,tType:Er,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,tType:Er,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,tType:Er,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,tType:Er,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,tType:Er,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,tType:Er,func:!0},{input:"log",tag:"mo",output:"log",tex:null,tType:Er,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,tType:Er,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\|","\\|"]},{input:"floor",tag:"mo",output:"floor",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\lfloor","\\rfloor"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["\\lceil","\\rceil"]},{input:"Sin",tag:"mo",output:"sin",tex:null,tType:Er,func:!0},{input:"Cos",tag:"mo",output:"cos",tex:null,tType:Er,func:!0},{input:"Tan",tag:"mo",output:"tan",tex:null,tType:Er,func:!0},{input:"Arcsin",tag:"mo",output:"arcsin",tex:null,tType:Er,func:!0},{input:"Arccos",tag:"mo",output:"arccos",tex:null,tType:Er,func:!0},{input:"Arctan",tag:"mo",output:"arctan",tex:null,tType:Er,func:!0},{input:"Sinh",tag:"mo",output:"sinh",tex:null,tType:Er,func:!0},{input:"Sosh",tag:"mo",output:"cosh",tex:null,tType:Er,func:!0},{input:"Tanh",tag:"mo",output:"tanh",tex:null,tType:Er,func:!0},{input:"Cot",tag:"mo",output:"cot",tex:null,tType:Er,func:!0},{input:"Sec",tag:"mo",output:"sec",tex:null,tType:Er,func:!0},{input:"Csc",tag:"mo",output:"csc",tex:null,tType:Er,func:!0},{input:"Log",tag:"mo",output:"log",tex:null,tType:Er,func:!0},{input:"Ln",tag:"mo",output:"ln",tex:null,tType:Er,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,tType:Er,noTexCopy:!0,rewriteLeftRight:["|","|"]},{input:"det",tag:"mo",output:"det",tex:null,tType:Er,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,tType:Er,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,tType:Tr},{input:"mod",tag:"mo",output:"mod",tex:"text{mod}",tType:Tr,noTexCopy:!0},{input:"gcd",tag:"mo",output:"gcd",tex:null,tType:Er,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:"text{lcm}",tType:Er,func:!0,noTexCopy:!0},{input:"lub",tag:"mo",output:"lub",tex:null,tType:Tr},{input:"glb",tag:"mo",output:"glb",tex:null,tType:Tr},{input:"min",tag:"mo",output:"min",tex:null,tType:Lr},{input:"max",tag:"mo",output:"max",tex:null,tType:Lr},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",tType:Tr},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",tType:Tr},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",tType:Tr},{input:"->",tag:"mo",output:"→",tex:"to",tType:Tr},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",tType:Tr},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",tType:Tr},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",tType:Tr},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",tType:Tr},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",tType:Tr},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",tType:Tr},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",tType:Tr},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",tType:Tr},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",tType:Tr},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Er},{input:"root",tag:"mroot",output:"root",tex:null,tType:zr},{input:"frac",tag:"mfrac",output:"/",tex:null,tType:zr},{input:"/",tag:"mfrac",output:"/",tex:null,tType:Cr},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,tType:zr},{input:"_",tag:"msub",output:"_",tex:null,tType:Cr},{input:"^",tag:"msup",output:"^",tex:null,tType:Cr},{input:"cancel",tag:"menclose",output:"cancel",tex:null,tType:Er},{input:"Sqrt",tag:"msqrt",output:"sqrt",tex:null,tType:Er},{input:"hat",tag:"mover",output:"^",tex:null,tType:Er,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",tType:Er,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,tType:Er,acc:!0},{input:"tilde",tag:"mover",output:"~",tex:null,tType:Er,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,tType:Er,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,tType:Er,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",tType:Er,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",tType:Er,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",tType:Er,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,tType:Rr},{input:"mbox",tag:"mtext",output:"mbox",tex:null,tType:Rr},Vr,{input:"color",tag:"mstyle",tType:zr},{input:"bb",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"bb",tex:"mathbf",tType:Er,noTexCopy:!0},{input:"mathbf",tag:"mstyle",atName:"mathvariant",atVal:"bold",output:"mathbf",tex:null,tType:Er},{input:"sf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"sf",tex:"mathsf",tType:Er,noTexCopy:!0},{input:"mathsf",tag:"mstyle",atName:"mathvariant",atVal:"sans-serif",output:"mathsf",tex:null,tType:Er},{input:"bbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"bbb",tex:"mathbb",tType:Er,noTexCopy:!0},{input:"mathbb",tag:"mstyle",atName:"mathvariant",atVal:"double-struck",output:"mathbb",tex:null,tType:Er},{input:"cc",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"cc",tex:"mathcal",tType:Er,noTexCopy:!0},{input:"mathcal",tag:"mstyle",atName:"mathvariant",atVal:"script",output:"mathcal",tex:null,tType:Er},{input:"tt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"tt",tex:"mathtt",tType:Er,noTexCopy:!0},{input:"mathtt",tag:"mstyle",atName:"mathvariant",atVal:"monospace",output:"mathtt",tex:null,tType:Er},{input:"fr",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"fr",tex:"mathfrak",tType:Er,noTexCopy:!0},{input:"mathfrak",tag:"mstyle",atName:"mathvariant",atVal:"fraktur",output:"mathfrak",tex:null,tType:Er}],Dr=Ir.filter((function(e){return e.tex&&!0!==e.noTexCopy})).map((function(e){return{input:e.tex,tag:e.tag,output:e.output,tType:e.tType,acc:e.acc||!1}}));function Fr(e,t){var n;n="\\"===e.charAt(t)&&"\\"!==e.charAt(t+1)&&" "!==e.charAt(t+1)?e.slice(t+1):e.slice(t);for(var r=0;r<n.length&&n.charCodeAt(r)<=32;)r++;return n.slice(r)}function qr(e,t,n){if(0===n){var r=e.length;for(n=-1;n+1<r;){var o=n+r>>1;e[o]<t?n=o:r=o}return r}for(var i=n;i<e.length&&e[i]<t;)i++;return i}function Ur(e){for(var t,n,r,o,i,a=0,l="",c=!0,s=1;s<=e.length&&c;s++)o=e.slice(0,s),(a=qr(Mr,o,a))<Mr.length&&e.slice(0,Mr[a].length)===Mr[a]&&(r=a,s=(l=Mr[a]).length),c=a<Mr.length&&e.slice(0,Mr[a].length)>=Mr[a];if(t=n,""!==l)return n=Ir[r].tType,Ir[r];n=Tr,a=1,o=e.slice(0,1);for(var u=!0;"0"<=o&&o<="9"&&a<=e.length;)o=e.slice(a,a+1),a++;if("."===o&&"0"<=(o=e.slice(a,a+1))&&o<="9")for(u=!1,a++;"0"<=o&&o<="9"&&a<=e.length;)o=e.slice(a,a+1),a++;return u&&a>1||a>2?(o=e.slice(0,a-1),i="mn"):(a=2,i=("A">(o=e.slice(0,1))||o>"Z")&&("a">o||o>"z")?"mo":"mi"),"-"===o&&t===Cr?(n=Cr,{input:o,tag:i,output:o,tType:Er,func:!0,val:!0}):{input:o,tag:i,output:o,tType:Tr,val:!0}}function Br(e){if("{"===e.charAt(0)&&"}"===e.charAt(e.length-1)){var t=0,n=e.substr(1,5);"\\left"===n?"("===(n=e.charAt(6))||"["===n||"{"===n?t=7:"\\lbrace"===(n=e.substr(6,7))&&(t=13):"("!==(n=e.charAt(1))&&"["!==n||(t=2),t>0&&("\\right)}"===(n=e.substr(e.length-8))||"\\right]}"===n||"\\right.}"===n?e=(e="{"+e.substr(t)).substr(0,e.length-8)+"}":"\\rbrace}"===n&&(e=(e="{"+e.substr(t)).substr(0,e.length-14)+"}"))}return e}function Wr(e){var t="";return t="boolean"==typeof e.val&&e.val?"":"\\",e.tex?t+e.tex:t+e.input}function Yr(e,t){var n=Ur(e=Fr(e,0));if(!n||n.tType===Ar&&t>0)return[null,e];switch(n.tType===Nr&&(n=Ur(e=n.output+Fr(e,n.input.length))),n.tType){case Lr:case Tr:e=Fr(e,n.input.length);var r=Wr(n);return"\\"===r.charAt(0)||"mo"===n.tag?[r,e]:["{".concat(r,"}"),e];case Pr:t++;var o=Kr(e=Fr(e,n.input.length),!0,t);t--;var i=0;"\\right"===o[0].substr(0,6)&&(")"===(p=o[0].charAt(6))||"]"===p||"}"===p?i=6:"."===p?i=7:"\\rbrace"===(p=o[0].substr(6,7))&&(i=13));var a="";return i>0?(o[0]=o[0].substr(i),a=n.invisible?"{".concat(o[0],"}"):"{".concat(Wr(n)).concat(o[0],"}")):a=n.invisible?"{\\left.".concat(o[0],"}"):"{\\left".concat(Wr(n)).concat(o[0],"}"),[a,o[1]];case Rr:var l;n!==Vr&&(e=Fr(e,n.input.length)),-1===(l="{"===e.charAt(0)?e.indexOf("}"):"("===e.charAt(0)?e.indexOf(")"):"["===e.charAt(0)?e.indexOf("]"):n===Vr?e.slice(1).indexOf("'")+1:0)&&(l=e.length);var c="";return" "===(p=e.slice(1,l)).charAt(0)&&(c="\\ "),c+="\\text{".concat(p,"}")," "===p.charAt(p.length-1)&&(c+="\\ "),[c,e=Fr(e,l+1)];case Er:var s=Yr(e=Fr(e,n.input.length),t);return null===s[0]?["{".concat(Wr(n),"}"),e]:!0===n.func?"^"===(p=e.charAt(0))||"_"===p||"/"===p||"|"===p||","===p||1===n.input.length&&n.input.match(/\w/)&&"("!==p?["{".concat(Wr(n),"}"),e]:["{".concat(Wr(n),"{").concat(s[0],"}}"),s[1]]:(s[0]=Br(s[0]),"sqrt"===n.input?["\\sqrt{".concat(s[0],"}"),s[1]]:"cancel"===n.input?["\\cancel{".concat(s[0],"}"),s[1]]:void 0!==n.rewriteLeftRight?["{\\left".concat(n.rewriteLeftRight[0]).concat(s[0],"\\right").concat(n.rewriteLeftRight[1],"}"),s[1]]:!0===n.acc?["".concat(Wr(n),"{").concat(s[0],"}"),s[1]]:["{".concat(Wr(n),"{").concat(s[0],"}}"),s[1]]);case zr:var u=Yr(e=Fr(e,n.input.length),t);if(null===u[0])return["{".concat(Wr(n),"}"),e];u[0]=Br(u[0]);var f=Yr(u[1],t);return null===f[0]?["{".concat(Wr(n),"}"),e]:(f[0]=Br(f[0]),["color"===n.input?"{\\color{".concat(u[0].replace(/[{}]/g,""),"}").concat(f[0],"}"):"root"===n.input?"{\\sqrt[".concat(u[0],"]{").concat(f[0],"}}"):"{".concat(Wr(n),"{").concat(u[0],"}{").concat(f[0],"}}"),f[1]]);case Cr:return e=Fr(e,n.input.length),[n.output,e];case jr:return e=Fr(e,n.input.length),["{\\quad\\text{".concat(n.input,"}\\quad}"),e];case Hr:t++;var h=Kr(e=Fr(e,n.input.length),!1,t);t--;var p="";return"|"===(p=h[0].charAt(h[0].length-1))?["{\\left|".concat(h[0],"}"),h[1]]:["{\\mid}",e];default:return e=Fr(e,n.input.length),["{".concat(Wr(n),"}"),e]}}function Gr(e,t){var n,r=Ur(e=Fr(e,0)),o=Yr(e,t),i=o[0],a=Ur(e=o[1]);if(a.tType!==Cr||"/"===a.input)return[i,e];if(null===(o=Yr(e=Fr(e,a.input.length),t))[0]?o[0]="{}":o[0]=Br(o[0]),e=o[1],"_"===a.input)if("^"===(n=Ur(e)).input){var l=Yr(e=Fr(e,n.input.length),t);l[0]=Br(l[0]),e=l[1],i="{".concat(i),i+="_{".concat(o[0],"}"),i+="^{".concat(l[0],"}"),i+="}"}else i+="_{".concat(o[0],"}");else i="".concat(i,"^{").concat(o[0],"}");return void 0!==r.func&&r.func&&(n=Ur(e)).tType!==Cr&&n.tType!==Ar&&(o=Gr(e,t),i="{".concat(i).concat(o[0],"}"),e=o[1]),[i,e]}function Kr(e,t,n){var r,o,i,a,l="",c=!1;do{o=(i=Gr(e=Fr(e,0),n))[0],(r=Ur(e=i[1])).tType===Cr&&"/"===r.input?(null===(i=Gr(e=Fr(e,r.input.length),n))[0]?i[0]="{}":i[0]=Br(i[0]),e=i[1],o=Br(o),o="".concat("\\frac{").concat(o,"}"),l+=o+="{".concat(i[0],"}"),r=Ur(e)):o&&(l+=o)}while((r.tType!==Ar&&(r.tType!==Hr||t)||0===n)&&r&&r.output);if(r.tType===Ar||r.tType===Hr){var s=l.length;if(s>2&&"{"===l.charAt(0)&&l.indexOf(",")>0){var u=l.charAt(s-2);if(")"===u||"]"===u){var f=l.charAt(6);if("("===f&&")"===u&&"}"!==r.output||"["===f&&"]"===u){var h="\\matrix{",p=new Array;p.push(0);var d=!0,m=0,v=[];v[0]=[0];var y=0,g=0;for(a=1;a<s-1;a++)l.charAt(a)===f&&m++,l.charAt(a)===u&&0==--m&&","===l.charAt(a+2)&&"{"===l.charAt(a+3)&&(p.push(a+2),v[y=a+2]=[a+2]),"["!==l.charAt(a)&&"("!==l.charAt(a)&&"{"!==l.charAt(a)||g++,"]"!==l.charAt(a)&&")"!==l.charAt(a)&&"}"!==l.charAt(a)||g--,","===l.charAt(a)&&1===g&&v[y].push(a),g<0&&(y===a+1?a++:d=!1);p.push(s);var b=-1;if(0===m&&p.length>0&&d)for(a=0;a<p.length-1;a++){a>0&&(h+="\\\\");var w=void 0;if(0===a)if(1===v[p[a]].length)w=[l.substr(p[a]+7,p[a+1]-p[a]-15)];else{for(var x=[l.substring(p[a]+7,v[p[a]][1])],_=2;_<v[p[a]].length;_++)x.push(l.substring(v[p[a]][_-1]+1,v[p[a]][_]));x.push(l.substring(v[p[a]][v[p[a]].length-1]+1,p[a+1]-8))}else if(1===v[p[a]].length)w=[l.substr(p[a]+8,p[a+1]-p[a]-16)];else{w=[l.substring(p[a]+8,v[p[a]][1])];for(var k=2;k<v[p[a]].length;k++)w.push(l.substring(v[p[a]][k-1]+1,v[p[a]][k]));w.push(l.substring(v[p[a]][v[p[a]].length-1]+1,p[a+1]-8))}b>0&&w.length!==b?d=!1:-1===b&&(b=w.length),h+=w.join("&")}h+="}",d&&(l=h)}}}e=Fr(e,r.input.length),"boolean"==typeof r.invisible&&r.invisible?(l+="\\right.",c=!0):(l+=o="\\right".concat(Wr(r)),c=!0)}return n>0&&!c&&(l+="\\right."),[l,e]}function Xr(e){return(e=e.replace(/( |\u00a0| )/g,"").replace(/>/g,">").replace(/</g,"<")).match(/\S/)?Kr(e.replace(/^\s+/g,""),!1,0)[0]:""}function Jr(e){var t=e.elements,n=e.config,r=e.isAsciimath;t.length&&t.forEach((function(e){var t=e.textContent,o=r?Xr(t):t,i=a.renderToString(o,n);e.parentNode.outerHTML='<span title="'.concat(t.trim(),'">').concat(i,"</span>")}))}function Zr(e){return e.replace(/[-[\]/{}()*+?.\\$^|]/g,"\\$&")}Ir.push.apply(Ir,r(Dr)),Ir.sort((function(e,t){return e.input>t.input?1:-1})),Mr=Ir.map((function(e){return e.input}));var $r=function(e){return function(){var t=new DOMParser,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n({displayMode:!0,throwOnError:!1,errorColor:"#ff0000"},e,{delimiters:(e.delimiters||[]).concat([{left:"$$",right:"$$",display:!1},{left:"~",right:"~",display:!1,asciimath:!0}])})}(e),i=o.delimiters.filter((function(e){return e.asciimath})).map((function(e){var t=e.left,n=e.right;return{test:new RegExp("".concat(Zr(t),"(.*?)").concat(Zr(n)),"g"),replacer:function(e,r){return"".concat(t).concat(Xr(r)).concat(n)}}}));return[{type:"output",filter:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.parseFromString(e,"text/html").body;i.length&&n.querySelectorAll(":not(code):not(pre)").forEach((function(e){r(e.childNodes).filter((function(e){return"#text"===e.nodeName&&e.nodeValue.trim()})).forEach((function(e){var t=i.reduce((function(e,t){var n=t.test,r=t.replacer;return e.replace(n,r)}),e.nodeValue);e.nodeValue=t}))}));var a=n.querySelectorAll("code.latex.language-latex"),l=n.querySelectorAll("code.asciimath.language-asciimath");return Jr({elements:a,config:o}),Jr({elements:l,config:o,isAsciimath:!0}),Or(n,o),n.innerHTML}}]}};return e.extension("showdown-katex",$r()),$r},e.exports=r(n("M55E"))}).call(this,n("yLpj"))},Blpk:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("pVnL")),i=r(n("MVZn")),a=r(n("QILm")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("S3Uj"))),m=n("8jD+"),v=r(n("PfIm")),y=n("foiH"),g={entering:{opacity:1},entered:{opacity:1}},b=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(0,u.default)(r,(n=r=(0,u.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),Object.defineProperty((0,h.default)(r),"handleEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=r.props.theme;(0,y.reflow)(e);var n=(0,y.getTransitionProps)(r.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("opacity",n),e.style.transition=t.transitions.create("opacity",n),r.props.onEnter&&r.props.onEnter(e)}}),Object.defineProperty((0,h.default)(r),"handleExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=r.props.theme,n=(0,y.getTransitionProps)(r.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("opacity",n),e.style.transition=t.transitions.create("opacity",n),r.props.onExit&&r.props.onExit(e)}}),n))}return(0,f.default)(t,e),(0,s.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.onEnter,e.onExit,e.style),r=(e.theme,(0,a.default)(e,["children","onEnter","onExit","style","theme"])),l=(0,i.default)({},n,p.default.isValidElement(t)?t.props.style:{});return p.default.createElement(d.default,(0,o.default)({appear:!0,onEnter:this.handleEnter,onExit:this.handleExit},r),(function(e,n){return p.default.cloneElement(t,(0,i.default)({style:(0,i.default)({opacity:0,willChange:"opacity"},g[e],l)},n))}))}}]),t}(p.default.Component);b.propTypes={},b.defaultProps={timeout:{enter:m.duration.enteringScreen,exit:m.duration.leavingScreen}};var w=(0,v.default)()(b);t.default=w},Bnag:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},Bp9Y:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=r,e.exports=t.default},BqfV:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},Btvt:function(e,t,n){"use strict";var r=n("I8a+"),o={};o[n("K0xU")("toStringTag")]="z",o+""!="[object z]"&&n("KroJ")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},BwF7:function(e,t,n){"use strict";var r=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function i(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,n){return e.concat(t).map((function(e){return i(e,n)}))}function l(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function c(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var r={};return n.isMergeableObject(e)&&l(e).forEach((function(t){r[t]=i(e[t],n)})),l(t).forEach((function(o){(function(e,t){return c(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(c(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"==typeof n?n:u}(o,n)(e[o],t[o],n):r[o]=i(t[o],n))})),r}function u(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||a,n.isMergeableObject=n.isMergeableObject||r,n.cloneUnlessOtherwiseSpecified=i;var o=Array.isArray(t);return o===Array.isArray(e)?o?n.arrayMerge(e,t,n):s(e,t,n):i(t,n)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var f=u;e.exports=f},"C/va":function(e,t,n){"use strict";var r=n("y3w9");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},C1Nm:function(e,t,n){},C2SN:function(e,t,n){var r=n("93I4"),o=n("kAMH"),i=n("UWiX")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},C599:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initTotal=t.changeParams=t.staticList=void 0;var r,o=n("rnH8"),i=(r=o)&&r.__esModule?r:{default:r},a=n("mZEN");t.staticList=function(e){return function(t,n){var r=n().staticReducer,o=r.params;r.total_count,r.other_info;console.log("统计数据=====>>>>>",o),(0,a.fetchStaticList)(e,o).then((function(e){var n=e.data;0===n.status&&t({type:i.default.GET_STATIC_INFO,other_info:n.data.other_info,payload:n.data})}))}},t.changeParams=function(e){return{type:i.default.CHANGE_STATIC_PARAMS,payload:e}},t.initTotal=function(){return{type:i.default.CHANGE_STATIC_TOTAL}}},CEcq:function(e,t,n){"use strict";"undefined"==typeof Promise&&(n("crqt").enable(),window.Promise=n("yiUt")),n("bZMm"),Object.assign=n("MgzW")},CFxG:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("QILm")),a=r(n("q1tI")),l=(r(n("17x9")),r(n("TSYQ"))),c=r(n("d05B")),s=n("IeMT");n("ZntQ");var u=function(e){return{root:{display:"flex",alignItems:"center",justifyContent:"flex-end",flex:"0 0 auto",margin:"".concat(e.spacing.unit,"px ").concat(e.spacing.unit/2,"px")},action:{margin:"0 ".concat(e.spacing.unit/2,"px"),minWidth:64}}};function f(e){var t=e.disableActionSpacing,n=e.children,r=e.classes,c=e.className,u=(0,i.default)(e,["disableActionSpacing","children","classes","className"]);return a.default.createElement("div",(0,o.default)({className:(0,l.default)(r.root,c)},u),t?n:(0,s.cloneChildrenWithClassName)(n,r.action))}t.styles=u,f.propTypes={},f.defaultProps={disableActionSpacing:!1};var h=(0,c.default)(u,{name:"MuiDialogActions"})(f);t.default=h},CWQg:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t},o=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t}},CWZq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n("TeRw")),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}}();n("O+I2");var i=n("q1tI"),a=f(i),l=(n("dtw8"),f(n("J6Do"))),c=f(n("vDqi"));n("LC8+");var s=n("sYIF"),u=f(n("t6uJ"));function f(e){return e&&e.__esModule?e:{default:e}}var h=window.$,p=60;function d(e){if(h(e).attr("disabled"))return!1;if(/^1\d{10}$/.test(h("#pass_name_input").val())||/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/.test(h("#pass_name_input").val()))if(window.IsPC()&&"验证通过"!=h("#quick-drag .drag_text").html())h("#passlogin_error_notice").show();else{h("#passlogin_error_notice").hide(),e.setAttribute("disabled","disabled");var t=6;/^1\d{10}$/.test(h("#pass_name_input").val())?t=6:/^[a-zA-Z0-9]+([.\-_\\]*[a-zA-Z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/.test(h("#pass_name_input").val())&&(t=7),h.get("/account/get_verification_code",{value:h("#pass_name_input").val().trim(),type:t},(function(n){if("2"==n.status)6==t?h("#pass_name_input").next().find("p").html('该手机号尚未注册,你可以<a href="/user_join?name='+h("#pass_name_input").val()+'" class="color-blue decoration">去注册</a>').show():h("#pass_name_input").next().find("p").html("该邮箱尚未绑定,你可以登录后去绑定").show();else{if(h("#pass_name_input").next().find("p").hide(),6==t)h("#send_code_notice").html(n.msg).show();else{var r=window.gotoEmail(n.link);h("#send_code_notice").html("<font>验证码已经发送到您的邮箱,去<a href='http://"+r+"' id='validate_mail' style='color: #459be5; text-decoration: underline;' target='_blank'>查收</a></font>").show()}!function e(t){if(0==p)return h(t).addClass("btn_orange_bg"),t.removeAttribute("disabled"),t.innerHTML="获取验证码",void(p=60);h(t).removeClass("btn_orange_bg"),t.setAttribute("disabled","disabled"),t.innerHTML=p+"s后重试",p--,setTimeout((function(){e(t)}),1e3)}(e)}}))}}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.enter=function(e){n.setState({login:e,speedy:1,dialogBox:"dialogBox"})},n.register=function(e){n.setState({login:1,speedy:e,dialogBox:"dialogBox2"})},n.inputOnBlur=function(e,t){n.Emailphonenumberverification(e.target.value,1)},n.loginChange=function(e){var t="";e.target.value.length>0?t=e.target.value.replace(/\s*/g,""):t=e.target.value;e.target.value.length,n.setState({loginValue:t,Phonenumberisnotco:void 0})},n.Emailphonenumberverification=function(e,t){c.default.get("/accounts/valid_email_and_phone.json",{params:{login:e,type:1}}).then((function(e){if(e)return-2===e.data.status?void("该手机号码或邮箱已被注册"===e.data.message?n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1}):n.setState({Phonenumberisnotco:e.data.message,Phonenumberisnotcobool:!0})):void n.setState({Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1})})).catch((function(e){}))},n.passwordChange=function(){var e=n.refs.passwordText.value,t=e.length;n.setState({disabled:!1}),n.setState({bottonclass:"log-botton mt5 edu-back-blue"}),0==t&&(n.setState({bottonclass:"log-botton mt5"}),n.setState({disabled:!0})),n.setState({passValue:e})},n.handleInputChange=function(e){var t=e.target,r="checkbox"===t.type?t.checked:t.value,o=t.name;n.setState(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},o,r)),!0===r?n.setState({isGoingValue:1}):n.setState({isGoingValue:0})},n.shortcutIdChange=function(){var e=n.refs.shortcutText.value;if(e.length>0){if(!(/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/.test(e)||/^1\d{10}$/.test(e)||/^[a-zA-z]\w{3,14}$/.test(e)))return n.setState({shortcutnum:0}),n.setState({disabledType:!0}),void n.setState({gaincode:"gain-code"});n.setState({gaincode:"gain-code edu-back-blue"}),n.setState({shortcutValue:e}),n.setState({shortcutnum:1}),n.setState({disabledType:!1})}else n.setState({shortcutValue:e})},n.authCodeChange=function(){var e=n.refs.authCodeText.value.length;e>3?(n.setState({authCodeType:!1}),n.setState({authCodeclass:"log-botton mt5 edu-back-blue"})):0==e&&(n.setState({authCodeType:!0}),n.setState({authCodeclass:"log-botton mt5"}))},n.get_login_verification_code=function(){d(h("#get_verification_code")[0])},n.dragWrapper=function(){var e=window.$;e.fn.drag=function(t){var n,r=this,o=!1,i=(t=e.extend({},t),r.find(".handler")),a=r.find(".drag_bg"),l=r.find(".drag_text"),c=100;i.mousedown((function(e){o=!0,n=e.pageX-parseInt(i.css("left"),10),c=r.width()-i.width()-2})),e(document).mousemove((function(t){var r=t.pageX-n;o&&(r>0&&r<=c?(i.css({left:r}),a.css({width:r})):r>c&&(i.removeClass("handler_bg").addClass("handler_ok_bg"),l.removeClass("slidetounlock").text("验证通过").css({color:"#fff"}),i.css({left:c}),a.css({width:c}),i.unbind("mousedown"),e(document).unbind("mousemove"),e(document).unbind("mouseup")))})).mouseup((function(e){o=!1,e.pageX-n<c&&(i.css({left:0}),a.css({width:0}))}))},setTimeout((function(){e("#quick-drag").drag()}),4e3)},n.IsPC=function(){for(var e=navigator.userAgent,t=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,r=0;r<t.length;r++)if(e.indexOf(t[r])>0){n=!1;break}return n},n.handleDialogClose=function(){n.setState({isRender:!1}),n.props.Modifyloginvalue()},n.loginEDU=function(){var e=n.state,t=e.loginValue,o=e.passValue,i=e.regular,l=e.isGoingValue;if(1!==i){var u=t.replace(/(^\s*)|(\s*$)/g,""),f=o.replace(/(^\s*)|(\s*$)/g,"");c.default.post("/accounts/login.json",{login:u,password:f,autologin:l}).then((function(e){if(void 0!==e)if(-2===e.data.status)if("登录密码出错已达上限,账号已被锁定, 请10分钟后重新登录或找回密码"===e.data.message){var t=a.default.createElement("div",null,a.default.createElement("p",null,"登录密码出错已达上限,账号已被锁定;"),a.default.createElement("p",{className:"mt10"},"请10分钟后重新登录或",a.default.createElement("a",{href:"https://www.trustie.net/account/lost_password",style:{textDecoration:"underline",color:"#4CACFF"}},"找回密码")));n.openNotifications(t)}else r.default.open({message:"提示",description:e.data.message,duration:5});else(0,s.broadcastChannelPostMessage)("refreshPage"),n.setState({isRender:!1}),n.props.Modifyloginvalue(e.data),window.location.reload()})).catch((function(e){console.log(e)}))}},n.setNotcompleteds=function(){n.setState({Notcompleteds:!0,MyEduCoderModals:!1})},n.setMyEduCoderModals=function(){n.setState({MyEduCoderModals:!0})},n.onKeydowns=function(e){!1===n.state.disabled&&13===e.keyCode&&(n.loginEDU(),console.log(1))},n.getloginurl=function(e){window.location.href=e},n.openweixinlogin=function(){n.setState({weixinlogin:!0})},n.openNotifications=function(e){r.default.open({message:"提示",description:e,duration:5,onClick:function(){}})},n.openqqlogin=function(){n.setState({qqlogin:!0}),window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code"},n.openphoneqqlogin=function(){window.open("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginqq&state=null,"+window.location.host+"&response_type=code")},n.getTContainer=function(){return document.body},n.hideweixinlogin=function(){n.setState({weixinlogin:!1,qqlogin:!1})},n.state={open:!0,login:0,speedy:1,regular:0,loginValue:"",passValue:"",isGoing:!0,isGoingValue:1,disabled:!0,bottonclass:"log-botton mt5",dialogBox:"dialogBox",shortcutValue:"",shortcutnum:1,disabledType:!0,gaincode:"gain-code",authCodeType:!0,authCodeclass:"log-botton mt5",isRender:!1,MyEduCoderModals:!1,Phonenumberisnotco:void 0,Phonenumberisnotcobool:!1,weixinlogin:!1,qqlogin:!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),o(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({isRender:e.isRender})}},{key:"componentDidMount",value:function(){var e=this,t=this.IsPC();this.setState({isphone:t}),null!=this.props.isRender&&this.setState({isRender:this.props.isRender}),this.dragWrapper(),c.default.interceptors.response.use((function(t){return null!=t&&t&&401===t.data.status&&(document.title="提示",e.setState({isRender:!0})),t}),(function(e){}))}},{key:"render",value:function(){var e=this,t=this.state,r=(t.qqlogin,t.login),o=t.isGoing,i=t.isGoingValue,c=t.disabled,s=(t.bottonclass,t.Phonenumberisnotco),f=t.dialogBox,h=t.isRender,p=t.weixinlogin;return void 0===h&&(h=!1),a.default.createElement(l.default,{open:!0,id:"DialogID",className:"zindextest",style:{display:0==h?"none":""},disableEscapeKeyDown:!0,disableBackdropClick:!0,onClose:function(){return e.handleDialogClose()}},a.default.createElement(u.default,{modalsType:this.state.MyEduCoderModals,setNotcompleteds:function(){e.setNotcompleteds()}}),a.default.createElement("style",null,"\n\t\t\t\t\t\t #DialogID .dialogBox {\n\t\t\t\t\t\t\t\t\twidth: 405px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t.dialogBox {\n\t\t\t\t\t\t\t\t\theight: 290px !important;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t"),!0===h?a.default.createElement("div",{className:f},a.default.createElement("div",{id:"closeIcon",className:"logincloseIcon",onClick:function(){e.handleDialogClose()}},a.default.createElement("i",{className:"iconfont icon-shanchudiao"})),a.default.createElement("div",{id:"log_reg_content"},!0===p?"":a.default.createElement("ul",{className:"log_nav clearfix"},a.default.createElement("li",{onClick:function(){e.enter(0)}},"登录")),a.default.createElement("div",{className:"login-panel",id:"login-panel-1",style:{display:0==r?"block":"none"}},!0===p?"":a.default.createElement("form",{acceptCharset:"UTF-8",action:"/login",id:"main_login_form",method:"post"},a.default.createElement("div",{style:{display:"inline",padding:"0",margin:"0"}},a.default.createElement("input",{name:"utf8",type:"hidden",value:"✓"}),a.default.createElement("input",{name:"authenticity_token",type:"hidden",value:"NVLiIlHZfhVBQtO9djnWncJqqdikNQIIxEmOvzK9vNM="})),a.default.createElement("input",{name:"back_url",type:"hidden",value:this.back_url}),a.default.createElement("input",{type:"text",className:"input-100-45 mt20",id:"name_loggin_input",ref:"loginPassText",onInput:this.loginChange,onBlur:function(t){return e.inputOnBlur(t,1)},onPressEnter:!1===c?this.loginEDU:function(){},value:this.state.loginValue,name:"username",placeholder:"请输入有效的手机号/邮箱号"}),a.default.createElement("div",{style:{height:"25px"}},a.default.createElement("p",{className:"color-orange edu-txt-left none",id:"username_error_notice",style:{display:void 0===s?"none":"block"}},s)),a.default.createElement("div",null,a.default.createElement("input",{type:"password",id:"password_loggin_input",name:"password",ref:"passwordText",onInput:this.passwordChange,onKeyDown:this.onKeydowns,className:"input-100-45 mt5",onPressEnter:!1===c?this.loginEDU:function(){},placeholder:"密码"}),a.default.createElement("div",{style:{height:"25px"}},a.default.createElement("p",{className:"color-orange edu-txt-left none",id:"password_error_notice"},"请输入密码"))),a.default.createElement("div",{className:!1===c?"bluebutton edu-back-blue":"bluebutton",onClick:!1===c?this.loginEDU:function(){}},"登录"),a.default.createElement("p",{className:"clearfix mt20"},a.default.createElement("span",{className:"fl"},a.default.createElement("input",{type:"checkbox",className:"mr5 magic-checkbox",checked:o,onChange:this.handleInputChange,value:i,name:"isGoing",id:"p_autolog"}),a.default.createElement("label",{htmlFor:"p_autolog",style:{top:"0px"}},"下次自动登录")),a.default.createElement("span",{className:"fr"},a.default.createElement("a",{onClick:function(t){return e.getloginurl("https://www.trustie.net/account/lost_password")},className:"mr3 color-grey-9"},"找回密码"),a.default.createElement("em",{className:"vertical-line"}),a.default.createElement("a",{onClick:function(t){return e.getloginurl("https://www.trustie.net/login?login=false")},className:"color-grey-9"},"注册"))),this.props.user&&!0===this.props.user.main_site?!0===this.state.isphone?a.default.createElement("p",{className:"clearfix mt20"},a.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),a.default.createElement("div",{className:"mt10"},a.default.createElement("a",{onClick:function(){return e.openweixinlogin()}},a.default.createElement("img",{src:n("JEW2"),alt:"微信登录"})),a.default.createElement("a",{onClick:function(){return e.openqqlogin()},className:"ml10"},a.default.createElement("img",{src:n("p62H"),alt:"qq登录"})))):a.default.createElement("p",{className:"clearfix mt20"},a.default.createElement("span",{className:"startlogin"},"———————— 快速登录 ————————"),a.default.createElement("div",{className:"mt10"},a.default.createElement("a",{onClick:function(){return e.openphoneqqlogin()},className:"ml10"},a.default.createElement("img",{src:n("p62H"),alt:"qq登录"})))):""),!0===p?a.default.createElement("iframe",{className:"weixinheight390",frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=https%3a%2f%2fwww.educoder.net%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,"+window.location.host+"#wechat_redirect"}):"",!0===p?a.default.createElement("p",{className:"clearfix "},a.default.createElement("a",{className:"startlogin color-blue",onClick:function(){return e.hideweixinlogin()}},"返回账号登录")):""))):"")}}]),t}(i.Component);t.default=m},CX2u:function(e,t,n){"use strict";var r=n("XKFU"),o=n("g3g5"),i=n("dyZX"),a=n("69bn"),l=n("vKrd");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}})},CarK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{onProcessRule:function(e){"keyframes"===e.type&&(e.key="@"+r.prefix.css+e.key.substr(1))},onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var n in e){var o=e[n],i=!1,a=r.supportedProperty(n);a&&a!==n&&(i=!0);var l=!1,c=r.supportedValue(a,o);c&&c!==o&&(l=!0),(i||l)&&(i&&delete e[n],e[a||n]=c||o)}return e},onChangeValue:function(e,t){return r.supportedValue(t,e)}}};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("YYyC"))},CeCd:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},Cfrj:function(e,t,n){var r=n("RYi7"),o=n("ne8i");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},CgaS:function(e,t,n){"use strict";var r=n("JEQr"),o=n("xTJ+"),i=n("9rSQ"),a=n("UnBK");function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=l},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),l=n("zRwo");e.exports=function(e,t){var n=1==e,c=2==e,s=3==e,u=4==e,f=6==e,h=5==e||f,p=t||l;return function(t,l,d){for(var m,v,y=i(t),g=o(y),b=r(l,d,3),w=a(g.length),x=0,_=n?p(t,w):c?p(t,0):void 0;w>x;x++)if((h||x in g)&&(v=b(m=g[x],x,y),e))if(n)_[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:_.push(m)}else if(u)return!1;return f?-1:s||u?u:_}}},CnBM:function(e,t,n){"use strict";var r="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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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 a(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 l=n("q1tI"),c=n("17x9"),s=[],u=[];function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function h(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var o=f(e[r]);o.loading?t.loading=!0:(t.loaded[r]=o.loaded,t.error=o.error),n.push(o.promise),o.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(e){t.error=e}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function d(e,t){var f,h;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var d=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),m=null;function v(){return m||(m=e(d.loader)),m.promise}return s.push(v),"function"==typeof d.webpack&&u.push((function(){if(e=d.webpack,"object"===r(n.m)&&e().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return v();var e})),h=f=function(t){function n(r){o(this,n);var a=i(this,t.call(this,r));return a.retry=function(){a.setState({error:null,loading:!0,timedOut:!1}),m=e(d.loader),a._loadModule()},v(),a.state={error:m.error,pastDelay:!1,timedOut:!1,loading:m.loading,loaded:m.loaded},a}return a(n,t),n.preload=function(){return v()},n.prototype.componentWillMount=function(){this._mounted=!0,this._loadModule()},n.prototype._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(d.modules)&&d.modules.forEach((function(t){e.context.loadable.report(t)})),m.loading){"number"==typeof d.delay&&(0===d.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){e.setState({pastDelay:!0})}),d.delay)),"number"==typeof d.timeout&&(this._timeout=setTimeout((function(){e.setState({timedOut:!0})}),d.timeout));var t=function(){e._mounted&&(e.setState({error:m.error,loaded:m.loaded,loading:m.loading}),e._clearTimeouts())};m.promise.then((function(){t()})).catch((function(e){t()}))}},n.prototype.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},n.prototype._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},n.prototype.render=function(){return this.state.loading||this.state.error?l.createElement(d.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?d.render(this.state.loaded,this.props):null},n}(l.Component),f.contextTypes={loadable:c.shape({report:c.func.isRequired})},h}function m(e){return d(f,e)}m.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return d(h,e)};var v=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.getChildContext=function(){return{loadable:{report:this.props.report}}},t.prototype.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function y(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return y(e)}))}v.propTypes={report:c.func.isRequired},v.childContextTypes={loadable:c.shape({report:c.func.isRequired}).isRequired},m.Capture=v,m.preloadAll=function(){return new Promise((function(e,t){y(s).then(e,t)}))},m.preloadReady=function(){return new Promise((function(e,t){y(u).then(e,e)}))},e.exports=m},CnV9:function(e,t,n){e.exports=n("RU/L")},CrYA:function(e,t,n){var r=n("MFOe").Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},CtXQ:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n("TSYQ"),i=n.n(o),a=n("Optq"),l=n("YEIV"),c=n.n(l),s=n("QbLZ"),u=n.n(s),f=n("jo6Y"),h=n.n(f),p=n("iCc5"),d=n.n(p),m=n("V7oC"),v=n.n(m),y=n("FYw3"),g=n.n(y),b=n("mRg0"),w=n.n(b),x=n("bac3"),_={primaryColor:"#333",secondaryColor:"#E6E6E6"},k=function(e){function t(){return d()(this,t),g()(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return w()(t,e),v()(t,[{key:"render",value:function(){var e,n=this.props,r=n.type,o=n.className,i=n.onClick,a=n.style,l=n.primaryColor,s=n.secondaryColor,f=h()(n,["type","className","onClick","style","primaryColor","secondaryColor"]),p=void 0,d=_;if(l&&(d={primaryColor:l,secondaryColor:s||Object(x.c)(l)}),Object(x.d)(r))p=r;else if("string"==typeof r&&!(p=t.get(r,d)))return null;return p?(p&&"function"==typeof p.icon&&(p=u()({},p,{icon:p.icon(d.primaryColor,d.secondaryColor)})),Object(x.b)(p.icon,"svg-"+p.name,u()((e={className:o,onClick:i,style:a},c()(e,"data-icon",p.name),c()(e,"width","1em"),c()(e,"height","1em"),c()(e,"fill","currentColor"),c()(e,"aria-hidden","true"),c()(e,"focusable","false"),e),f))):(Object(x.e)("type should be string or icon definiton, but got "+r),null)}}],[{key:"add",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n.forEach((function(t){e.definitions.set(Object(x.f)(t.name,t.theme),t)}))}},{key:"clear",value:function(){this.definitions.clear()}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;if(e){var n=this.definitions.get(e);return n&&"function"==typeof n.icon&&(n=u()({},n,{icon:n.icon(t.primaryColor,t.secondaryColor)})),n}}},{key:"setTwoToneColors",value:function(e){var t=e.primaryColor,n=e.secondaryColor;_.primaryColor=t,_.secondaryColor=n||Object(x.c)(t)}},{key:"getTwoToneColors",value:function(){return u()({},_)}}]),t}(r.Component);k.displayName="IconReact",k.definitions=new x.a;var S=k;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)}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},T=new Set;var E=n("6CfX"),z={width:"1em",height:"1em",fill:"currentColor","aria-hidden":!0,focusable:"false"},C=/-fill$/,P=/-o$/,A=/-twotone$/;var j=n("YMnH");function L(e){return S.setTwoToneColors({primaryColor:e})}function N(){return(N=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(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,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 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};S.add.apply(S,function(e){if(Array.isArray(e))return R(e)}(V=Object.keys(a).map((function(e){return a[e]})))||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(V)||function(e,t){if(e){if("string"==typeof e)return R(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?R(e,t):void 0}}(V)||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.")}()),L("#1890ff");var D,F="outlined";var q=function(e){var t,n=e.className,o=e.type,a=e.component,l=e.viewBox,c=e.spin,s=e.rotate,u=e.tabIndex,f=e.onClick,h=e.children,p=e.theme,d=e.twoToneColor,m=I(e,["className","type","component","viewBox","spin","rotate","tabIndex","onClick","children","theme","twoToneColor"]);Object(E.a)(Boolean(o||a||h),"Icon","Should have `type` prop or `component` prop or `children`.");var v=i()((H(t={},"anticon",!0),H(t,"anticon-".concat(o),Boolean(o)),t),n),y=i()(H({},"anticon-spin",!!c||"loading"===o)),g=s?{msTransform:"rotate(".concat(s,"deg)"),transform:"rotate(".concat(s,"deg)")}:void 0,b=N(N({},z),{className:y,style:g,viewBox:l});l||delete b.viewBox;var w=function(){if(a)return r.createElement(a,b,h);if(h)return Object(E.a)(Boolean(l)||1===r.Children.count(h)&&r.isValidElement(h)&&"use"===r.Children.only(h).type,"Icon","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),r.createElement("svg",N({},b,{viewBox:l}),h);if("string"==typeof o){var e=o;if(p){var t=function(e){var t=null;return C.test(e)?t="filled":P.test(e)?t="outlined":A.test(e)&&(t="twoTone"),t}(o);Object(E.a)(!t||p===t,"Icon","The icon name '".concat(o,"' already specify a theme '").concat(t,"',")+" the 'theme' prop '".concat(p,"' will be ignored."))}return e=function(e,t){var n=e;return"filled"===t?n+="-fill":"outlined"===t?n+="-o":"twoTone"===t?n+="-twotone":Object(E.a)(!1,"Icon","This icon '".concat(e,"' has unknown theme '").concat(t,"'")),n}(function(e){return e.replace(C,"").replace(P,"").replace(A,"")}(function(e){var t=e;switch(e){case"cross":t="close";break;case"interation":t="interaction";break;case"canlendar":t="calendar";break;case"colum-height":t="column-height"}return Object(E.a)(t===e,"Icon","Icon '".concat(e,"' was a typo and is now deprecated, please use '").concat(t,"' instead.")),t}(e)),D||p||F),r.createElement(S,{className:y,type:e,primaryColor:d,style:g})}},x=u;return void 0===x&&f&&(x=-1),r.createElement(j.a,{componentName:"Icon"},(function(e){return r.createElement("i",N({"aria-label":o&&"".concat(e.icon,": ").concat(o)},m,{tabIndex:x,onClick:f,className:v}),w())}))};q.createFromIconfontCN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,o=void 0===n?{}:n;if("undefined"!=typeof document&&"undefined"!=typeof window&&"function"==typeof document.createElement&&"string"==typeof t&&t.length&&!T.has(t)){var i=document.createElement("script");i.setAttribute("src",t),i.setAttribute("data-namespace",t),T.add(t),document.body.appendChild(i)}var a=function(e){var t=e.type,n=e.children,i=M(e,["type","children"]),a=null;return e.type&&(a=r.createElement("use",{xlinkHref:"#".concat(t)})),n&&(a=n),r.createElement(U,O({},o,i),a)};return a.displayName="Iconfont",a},q.getTwoToneColor=function(){return S.getTwoToneColors().primaryColor},q.setTwoToneColor=L;var U=t.default=q},CyHz:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},D4iV:function(e,t,n){for(var r,o=n("dyZX"),i=n("Mukb"),a=n("ylqs"),l=a("typed_array"),c=a("view"),s=!(!o.ArrayBuffer||!o.DataView),u=s,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[h[f++]])?(i(r.prototype,l,!0),i(r.prototype,c,!0)):u=!1;e.exports={ABV:s,CONSTR:u,TYPED:l,VIEW:c}},D8kY:function(e,t,n){var r=n("Ojgd"),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},DACs:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},DDYI:function(e,t,n){var r=n("XKFU");r(r.G,{global:n("dyZX")})},DFOY:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("uciX"),c=n("2W6z"),s=n.n(c),u=n("4IlW"),f=n("uK0f"),h=n.n(f),p=n("wrOu"),d=n.n(p),m=n("VCL8"),v=n("i8i4"),y=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},g=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}}();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.saveMenuItem=function(e){return function(t){n.menuItems[e]=t}},n.menuItems={},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),g(t,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(e){!e.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(e){var t=this.props,n=t.fieldNames,r=t.defaultFieldNames;return n[e]||r[e]}},{key:"getOption",value:function(e,t){var n=this.props,r=n.prefixCls,i=n.expandTrigger,a=n.expandIcon,l=n.loadingIcon,c=this.props.onSelect.bind(this,e,t),s={onClick:c,onDoubleClick:this.props.onItemDoubleClick.bind(this,e,t)},u=r+"-menu-item",f=null,h=e[this.getFieldName("children")]&&e[this.getFieldName("children")].length>0;(h||!1===e.isLeaf)&&(u+=" "+r+"-menu-item-expand",e.loading||(f=o.a.createElement("span",{className:r+"-menu-item-expand-icon"},a))),"hover"!==i||!h&&!1!==e.isLeaf||(s={onMouseEnter:this.delayOnSelect.bind(this,c),onMouseLeave:this.delayOnSelect.bind(this),onClick:c}),this.isActiveOption(e,t)&&(u+=" "+r+"-menu-item-active",s.ref=this.saveMenuItem(t)),e.disabled&&(u+=" "+r+"-menu-item-disabled");var p=null;e.loading&&(u+=" "+r+"-menu-item-loading",p=l||null);var d="";return"title"in e?d=e.title:"string"==typeof e[this.getFieldName("label")]&&(d=e[this.getFieldName("label")]),o.a.createElement("li",y({key:e[this.getFieldName("value")],className:u,title:d},s,{role:"menuitem",onMouseDown:function(e){return e.preventDefault()}}),e[this.getFieldName("label")],f,p)}},{key:"getActiveOptions",value:function(e){var t=this,n=e||this.props.activeValue,r=this.props.options;return h()(r,(function(e,r){return e[t.getFieldName("value")]===n[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var e=this,t=this.props.options,n=this.getActiveOptions().map((function(t){return t[e.getFieldName("children")]})).filter((function(e){return!!e}));return n.unshift(t),n}},{key:"delayOnSelect",value:function(e){for(var t=this,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),"function"==typeof e&&(this.delayTimer=setTimeout((function(){e(r),t.delayTimer=null}),150))}},{key:"scrollActiveItemToView",value:function(){for(var e=this.getShowOptions().length,t=0;t<e;t++){var n=this.menuItems[t];if(n){var r=Object(v.findDOMNode)(n);r.parentNode.scrollTop=r.offsetTop}}}},{key:"isActiveOption",value:function(e,t){var n=this.props.activeValue;return(void 0===n?[]:n)[t]===e[this.getFieldName("value")]}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,r=t.dropdownMenuColumnStyle;return o.a.createElement("div",null,this.getShowOptions().map((function(t,i){return o.a.createElement("ul",{className:n+"-menu",key:i,style:r},t.map((function(t){return e.getOption(t,i)})))})))}}]),t}(o.a.Component);b.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},b.propTypes={value:a.a.array,activeValue:a.a.array,options:a.a.array,prefixCls:a.a.string,expandTrigger:a.a.string,onSelect:a.a.func,visible:a.a.bool,dropdownMenuColumnStyle:a.a.object,defaultFieldNames:a.a.object,fieldNames:a.a.object,expandIcon:a.a.node,loadingIcon:a.a.node,onItemDoubleClick:a.a.func};var w=b,x=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},_=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}}();function k(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 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));n.setPopupVisible=function(e){"popupVisible"in n.props||n.setState({popupVisible:e}),e&&!n.state.popupVisible&&n.setState({activeValue:n.state.value}),n.props.onPopupVisibleChange(e)},n.handleChange=function(e,t,r){"keydown"===r.type&&r.keyCode!==u.a.ENTER||(n.props.onChange(e.map((function(e){return e[n.getFieldName("value")]})),e),n.setPopupVisible(t.visible))},n.handlePopupVisibleChange=function(e){n.setPopupVisible(e)},n.handleMenuSelect=function(e,t,r){var o=n.trigger.getRootDomNode();o&&o.focus&&o.focus();var i=n.props,a=i.changeOnSelect,l=i.loadData,c=i.expandTrigger;if(e&&!e.disabled){var s=n.state.activeValue;(s=s.slice(0,t+1))[t]=e[n.getFieldName("value")];var f=n.getActiveOptions(s);if(!1===e.isLeaf&&!e[n.getFieldName("children")]&&l)return a&&n.handleChange(f,{visible:!0},r),n.setState({activeValue:s}),void l(f);var h={};e[n.getFieldName("children")]&&e[n.getFieldName("children")].length?!a||"click"!==r.type&&"keydown"!==r.type||("hover"===c?n.handleChange(f,{visible:!1},r):n.handleChange(f,{visible:!0},r),h.value=s):(n.handleChange(f,{visible:!1},r),h.value=s),h.activeValue=s,("value"in n.props||"keydown"===r.type&&r.keyCode!==u.a.ENTER)&&delete h.value,n.setState(h)}},n.handleItemDoubleClick=function(){n.props.changeOnSelect&&n.setPopupVisible(!1)},n.handleKeyDown=function(e){var t=n.props.children;if(t&&t.props.onKeyDown)t.props.onKeyDown(e);else{var r=[].concat(k(n.state.activeValue)),o=r.length-1<0?0:r.length-1,i=n.getCurrentLevelOptions(),a=i.map((function(e){return e[n.getFieldName("value")]})).indexOf(r[o]);if(e.keyCode===u.a.DOWN||e.keyCode===u.a.UP||e.keyCode===u.a.LEFT||e.keyCode===u.a.RIGHT||e.keyCode===u.a.ENTER||e.keyCode===u.a.SPACE||e.keyCode===u.a.BACKSPACE||e.keyCode===u.a.ESC||e.keyCode===u.a.TAB)if(n.state.popupVisible||e.keyCode===u.a.BACKSPACE||e.keyCode===u.a.LEFT||e.keyCode===u.a.RIGHT||e.keyCode===u.a.ESC||e.keyCode===u.a.TAB){if(e.keyCode===u.a.DOWN||e.keyCode===u.a.UP){e.preventDefault();var l=a;l=-1!==l?e.keyCode===u.a.DOWN?(l+=1)>=i.length?0:l:(l-=1)<0?i.length-1:l:0,r[o]=i[l][n.getFieldName("value")]}else if(e.keyCode===u.a.LEFT||e.keyCode===u.a.BACKSPACE)e.preventDefault(),r.splice(r.length-1,1);else if(e.keyCode===u.a.RIGHT)e.preventDefault(),i[a]&&i[a][n.getFieldName("children")]&&r.push(i[a][n.getFieldName("children")][0][n.getFieldName("value")]);else if(e.keyCode===u.a.ESC||e.keyCode===u.a.TAB)return void n.setPopupVisible(!1);r&&0!==r.length||n.setPopupVisible(!1);var c=n.getActiveOptions(r),s=c[c.length-1];n.handleMenuSelect(s,c.length-1,e),n.props.onKeyDown&&n.props.onKeyDown(e)}else n.setPopupVisible(!0)}},n.saveTrigger=function(e){n.trigger=e};var r=[];return"value"in e?r=e.value||[]:"defaultValue"in e&&(r=e.defaultValue||[]),s()(!("filedNames"in e),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),n.state={popupVisible:e.popupVisible,activeValue:r,value:r,prevProps:e},n.defaultFieldNames={label:"label",value:"value",children:"children"},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),_(t,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(e){var t=this.defaultFieldNames,n=this.props,r=n.fieldNames,o=n.filedNames;return"filedNames"in this.props?o[e]||t[e]:r[e]||t[e]}},{key:"getFieldNames",value:function(){var e=this.props,t=e.fieldNames,n=e.filedNames;return"filedNames"in this.props?n:t}},{key:"getCurrentLevelOptions",value:function(){var e=this,t=this.props.options,n=void 0===t?[]:t,r=this.state.activeValue,o=void 0===r?[]:r,i=h()(n,(function(t,n){return t[e.getFieldName("value")]===o[n]}),{childrenKeyName:this.getFieldName("children")});return i[i.length-2]?i[i.length-2][this.getFieldName("children")]:[].concat(k(n)).filter((function(e){return!e.disabled}))}},{key:"getActiveOptions",value:function(e){var t=this;return h()(this.props.options||[],(function(n,r){return n[t.getFieldName("value")]===e[r]}),{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.transitionName,i=e.popupClassName,a=e.options,c=void 0===a?[]:a,s=e.disabled,u=e.builtinPlacements,f=e.popupPlacement,h=e.children,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children"]),d=o.a.createElement("div",null),m="";return c&&c.length>0?d=o.a.createElement(w,x({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):m=" "+t+"-menus-empty",o.a.createElement(l.a,x({ref:this.saveTrigger},p,{options:c,disabled:s,popupPlacement:f,builtinPlacements:u,popupTransitionName:n,action:s?[]:["click"],popupVisible:!s&&this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:t+"-menus",popupClassName:i+m,popup:d}),Object(r.cloneElement)(h,{onKeyDown:this.handleKeyDown,tabIndex:s?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=void 0===n?{}:n,o={prevProps:e};return"value"in e&&!d()(r.value,e.value)&&(o.value=e.value||[],"loadData"in e||(o.activeValue=e.value||[])),"popupVisible"in e&&(o.popupVisible=e.popupVisible),o}}]),t}(r.Component);S.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},S.propTypes={value:a.a.array,defaultValue:a.a.array,options:a.a.array.isRequired,onChange:a.a.func,onPopupVisibleChange:a.a.func,popupVisible:a.a.bool,disabled:a.a.bool,transitionName:a.a.string,popupClassName:a.a.string,popupPlacement:a.a.string,prefixCls:a.a.string,dropdownMenuColumnStyle:a.a.object,builtinPlacements:a.a.object,loadData:a.a.func,changeOnSelect:a.a.bool,children:a.a.node,onKeyDown:a.a.func,expandTrigger:a.a.string,fieldNames:a.a.object,filedNames:a.a.object,expandIcon:a.a.node,loadingIcon:a.a.node},Object(m.polyfill)(S);var O=S,M=n("TSYQ"),T=n.n(M),E=n("BGR+"),z=n("5rEg"),C=n("CtXQ"),P=n("H84U"),A=n("YMnH"),j=n("6CfX");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)}function N(){return(N=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,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e,t){for(var n=0;n<t.length;n++){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 I(e,t){return!t||"object"!==L(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(){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 q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(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};function B(e,t,n){return t.some((function(t){return t[n.label].indexOf(e)>-1}))}function W(e,t,n,o){return t.map((function(t,i){var a=t[o.label],l=a.indexOf(e)>-1?function(e,t,n){return e.split(t).map((function(e,o){return 0===o?e:[r.createElement("span",{className:"".concat(n,"-menu-item-keyword"),key:"seperator"},t),e]}))}(a,e,n):a;return 0===i?l:[" / ",l]}))}function Y(e,t,n,r){function o(e){return e[r.label].indexOf(n)>-1}return e.findIndex(o)-t.findIndex(o)}function G(e){var t=function(e){var t=e.fieldNames,n=e.filedNames;return"filedNames"in e?n:t}(e)||{};return{children:t.children||"children",label:t.label||"label",value:t.value||"value"}}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=G(t),o=[],i=r.children;return e.forEach((function(e){var r=n.concat(e);!t.changeOnSelect&&e[i]&&e[i].length||o.push(r),e[i]&&(o=o.concat(K(e[i],t,r)))})),o}var X=function(e){return e.join(" / ")};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&&V(e,t)}(l,e);var t,n,o,i,a=(t=l,function(){var e,n=q(t);if(F()){var r=q(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return I(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=a.call(this,e)).cachedOptions=[],t.setValue=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"value"in t.props||t.setState({value:e});var r=t.props.onChange;r&&r(e,n)},t.saveInput=function(e){t.input=e},t.handleChange=function(e,n){if(t.setState({inputValue:""}),n[0].__IS_FILTERED_OPTION){var r=e[0],o=n[0].path;t.setValue(r,o)}else t.setValue(e,n)},t.handlePopupVisibleChange=function(e){"popupVisible"in t.props||t.setState((function(t){return{popupVisible:e,inputFocused:e,inputValue:e?t.inputValue:""}}));var n=t.props.onPopupVisibleChange;n&&n(e)},t.handleInputBlur=function(){t.setState({inputFocused:!1})},t.handleInputClick=function(e){var n=t.state,r=n.inputFocused,o=n.popupVisible;(r||o)&&(e.stopPropagation(),e.nativeEvent.stopImmediatePropagation&&e.nativeEvent.stopImmediatePropagation())},t.handleKeyDown=function(e){e.keyCode!==u.a.BACKSPACE&&e.keyCode!==u.a.SPACE||e.stopPropagation()},t.handleInputChange=function(e){var n=e.target.value;t.setState({inputValue:n})},t.clearSelection=function(e){e.preventDefault(),e.stopPropagation(),t.state.inputValue?t.setState({inputValue:""}):(t.setValue([]),t.handlePopupVisibleChange(!1))},t.renderCascader=function(e,n){var o,i,a,l,c,s=e.getPopupContainer,u=e.getPrefixCls,f=e.renderEmpty,h=D(t),p=h.props,d=h.state,m=p.prefixCls,v=p.inputPrefixCls,y=p.children,g=p.placeholder,b=void 0===g?n.placeholder||"Please select":g,w=p.size,x=p.disabled,_=p.className,k=p.style,S=p.allowClear,M=p.showSearch,P=void 0!==M&&M,A=p.suffixIcon,j=p.notFoundContent,L=U(p,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","notFoundContent"]),R=d.value,V=d.inputFocused,I=u("cascader",m),F=u("input",v),q=T()((H(o={},"".concat(F,"-lg"),"large"===w),H(o,"".concat(F,"-sm"),"small"===w),o)),B=S&&!x&&R.length>0||d.inputValue?r.createElement(C.default,{type:"close-circle",theme:"filled",className:"".concat(I,"-picker-clear"),onClick:t.clearSelection}):null,W=T()((H(i={},"".concat(I,"-picker-arrow"),!0),H(i,"".concat(I,"-picker-arrow-expand"),d.popupVisible),i)),Y=T()(_,"".concat(I,"-picker"),(H(a={},"".concat(I,"-picker-with-value"),d.inputValue),H(a,"".concat(I,"-picker-disabled"),x),H(a,"".concat(I,"-picker-").concat(w),!!w),H(a,"".concat(I,"-picker-show-search"),!!P),H(a,"".concat(I,"-picker-focused"),V),a)),K=Object(E.a)(L,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","filedNames"]),X=p.options,J=G(t.props);X&&X.length>0?d.inputValue&&(X=t.generateFilteredOptions(I,f)):X=[(c={},H(c,J.value,"ANT_CASCADER_NOT_FOUND"),H(c,J.label,j||f("Cascader")),H(c,"disabled",!0),H(c,"isEmptyNode",!0),c)];d.popupVisible?t.cachedOptions=X:X=t.cachedOptions;var Z={},$=1===(X||[]).length&&X[0].isEmptyNode;$&&(Z.height="auto"),!1!==P.matchInputWidth&&(d.inputValue||$)&&t.input&&(Z.width=t.input.input.offsetWidth);var Q=A&&(r.isValidElement(A)?r.cloneElement(A,{className:T()((l={},H(l,A.props.className,A.props.className),H(l,"".concat(I,"-picker-arrow"),!0),l))}):r.createElement("span",{className:"".concat(I,"-picker-arrow")},A))||r.createElement(C.default,{type:"down",className:W}),ee=y||r.createElement("span",{style:k,className:Y},r.createElement("span",{className:"".concat(I,"-picker-label")},t.getLabel()),r.createElement(z.default,N({},K,{tabIndex:"-1",ref:t.saveInput,prefixCls:F,placeholder:R&&R.length>0?void 0:b,className:"".concat(I,"-input ").concat(q),value:d.inputValue,disabled:x,readOnly:!P,autoComplete:K.autoComplete||"off",onClick:P?t.handleInputClick:void 0,onBlur:P?t.handleInputBlur:void 0,onKeyDown:t.handleKeyDown,onChange:P?t.handleInputChange:void 0})),B,Q),te=r.createElement(C.default,{type:"right"}),ne=r.createElement("span",{className:"".concat(I,"-menu-item-loading-icon")},r.createElement(C.default,{type:"redo",spin:!0})),re=p.getPopupContainer||s,oe=Object(E.a)(p,["inputIcon","expandIcon","loadingIcon"]);return r.createElement(O,N({},oe,{prefixCls:I,getPopupContainer:re,options:X,value:R,popupVisible:d.popupVisible,onPopupVisibleChange:t.handlePopupVisibleChange,onChange:t.handleChange,dropdownMenuColumnStyle:Z,expandIcon:te,loadingIcon:ne}),ee)},t.state={value:e.value||e.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:e.popupVisible,flattenOptions:e.showSearch?K(e.options,e):void 0,prevProps:e},t}return n=l,i=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r={prevProps:e};return"value"in e&&(r.value=e.value||[]),"popupVisible"in e&&(r.popupVisible=e.popupVisible),e.showSearch&&n.options!==e.options&&(r.flattenOptions=K(e.options,e)),r}}],(o=[{key:"getLabel",value:function(){var e=this.props,t=e.options,n=e.displayRender,r=void 0===n?X:n,o=G(this.props),i=this.state.value,a=Array.isArray(i[0])?i[0]:i,l=h()(t,(function(e,t){return e[o.value]===a[t]}),{childrenKeyName:o.children});return r(l.map((function(e){return e[o.label]})),l)}},{key:"generateFilteredOptions",value:function(e,t){var n,r,o=this,i=this.props,a=i.showSearch,l=i.notFoundContent,c=G(this.props),s=a.filter,u=void 0===s?B:s,f=a.render,h=void 0===f?W:f,p=a.sort,d=void 0===p?Y:p,m=a.limit,v=void 0===m?50:m,y=this.state,g=y.flattenOptions,b=void 0===g?[]:g,w=y.inputValue;if(v>0){r=[];var x=0;b.some((function(e){return u(o.state.inputValue,e,c)&&(r.push(e),x+=1),x>=v}))}else Object(j.a)("number"!=typeof v,"Cascader","'limit' of showSearch should be positive number or false."),r=b.filter((function(e){return u(o.state.inputValue,e,c)}));return r.sort((function(e,t){return d(e,t,w,c)})),r.length>0?r.map((function(t){var n;return H(n={__IS_FILTERED_OPTION:!0,path:t},c.value,t.map((function(e){return e[c.value]}))),H(n,c.label,h(w,t,e,c)),H(n,"disabled",t.some((function(e){return!!e.disabled}))),H(n,"isEmptyNode",!0),n})):[(n={},H(n,c.value,"ANT_CASCADER_NOT_FOUND"),H(n,c.label,l||t("Cascader")),H(n,"disabled",!0),H(n,"isEmptyNode",!0),n)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var e=this;return r.createElement(P.a,null,(function(t){return r.createElement(A.a,null,(function(n){return e.renderCascader(t,n)}))}))}}])&&R(n.prototype,o),i&&R(n,i),l}(r.Component);J.defaultProps={transitionName:"slide-up",popupPlacement:"bottomLeft",options:[],disabled:!1,allowClear:!0},Object(m.polyfill)(J);t.default=J},DKAG:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("ptwB")),i=r(n("wmEG")),a=r(n("lWZf")),l=r(n("kc8Z")),c=r(n("92dX")),s=r(n("e5eY")),u=r(n("NlO1")),f=r(n("q1tI")),h=(r(n("17x9")),r(n("rzV7")));r(n("63PN"));var p,d=(p=null,function(){if(null!==p)return p;var e,t,n,r=!1;try{window.addEventListener("test",null,(e={},t="passive",n={get:function(){r=!0}},Object.defineProperty(e,t,n)))}catch(e){}return p=r,r}()),m={capture:!1,passive:!1};function v(e){return u({},m,e)}function y(e,t,n){var r=[e,t];return r.push(d?n:n.capture),r}function g(e,t,n,r){e.addEventListener.apply(e,y(t,n,r))}function b(e,t,n,r){e.removeEventListener.apply(e,y(t,n,r))}var w=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),i(t,[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"shouldComponentUpdate",value:function(e){return!h(this.props,e)}},{key:"componentWillUpdate",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){this.applyListeners(g)}},{key:"removeListeners",value:function(){this.applyListeners(b)}},{key:"applyListeners",value:function(e){var t=this.props.target;if(t){var n=t;"string"==typeof t&&(n=window[t]),function(e,t){e.children,e.target;var n=s(e,["children","target"]);Object.keys(n).forEach((function(e){if("on"===e.substring(0,2)){var r=n[e],o=c(r),i="object"===o;if(i||"function"===o){var a="capture"===e.substr(-7).toLowerCase(),l=e.substring(2).toLowerCase();l=a?l.substring(0,l.length-7):l,i?t(l,r.handler,r.options):t(l,r,v({capture:a}))}}}))}(this.props,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(f.Component);w.propTypes={},t.withOptions=function(e,t){return{handler:e,options:v(t)}},t.default=w},DNiP:function(e,t,n){"use strict";var r=n("XKFU"),o=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},DPHD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchWxCodeGameStatus=t.fetchWxCodeGameBuild=t.fetchRestoreWxCode=t.fetchUpdateWxCode=t.fetchWxCodeTextCase=t.fetchWxCode=void 0;var r,o,i,a,l,c,s=f(n("14Xm")),u=(t.fetchWxCode=(r=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/rep_content.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)}),t.fetchWxCodeTextCase=(o=h(s.default.mark((function e(t){var n,r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),n="/tasks/"+t+".json",r=Object.assign({},{withCredentials:!0}),e.abrupt("return",u.default.get(n,{params:r}));case 4:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)}),t.fetchUpdateWxCode=(i=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/myshixuns/"+t+"/update_file.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.post(r,n));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return i.apply(this,arguments)}),t.fetchRestoreWxCode=(a=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/reset_original_code.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)}),t.fetchWxCodeGameBuild=(l=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/game_build.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return l.apply(this,arguments)}),t.fetchWxCodeGameStatus=(c=h(s.default.mark((function e(t,n){var r;return s.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(),r="/tasks/"+t+"/game_status.json",n=Object.assign({},n,{withCredentials:!0}),e.abrupt("return",u.default.get(r,{params:n}));case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return c.apply(this,arguments)}),f(n("vDqi")));f(n("Po8q"));function f(e){return e&&e.__esModule?e:{default:e}}function h(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,n){return function r(o,i){try{var a=t[o](i),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));e(l)}("next")}))}}var p=function(){}},DSV3:function(e,t,n){var r=n("XKFU"),o=n("gHnn")(),i=n("dyZX").process,a="process"==n("LZWt")(i);r(r.G,{asap:function(e){var t=a&&i.domain;o(t?t.bind(e):e)}})},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},DW2E:function(e,t,n){var r=n("0/R4"),o=n("Z6vF").onFreeze;n("Xtr8")("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},DZ0b:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t){return t.toUpperCase()}))};var r=/-(.)/g;e.exports=t.default},Dew8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},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}}(),a=g(n("zteo")),l=g(n("XY0u")),c=g(n("U1gM")),s=g(n("ym1Z")),u=g(n("mpRq")),f=g(n("OCCX")),h=g(n("1Vz1")),p=g(n("Rx9b")),d=g(n("uhQE")),m=g(n("RiHD")),v=g(n("KWko")),y=g(n("Kx9E"));function g(e){return e&&e.__esModule?e:{default:e}}var b=s.default.concat([u.default,f.default]),w=0,x=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=w++,this.version="9.8.7",this.plugins=new c.default,this.options={createGenerateClassName:d.default,Renderer:a.default?v.default:y.default,plugins:[]},this.generateClassName=(0,d.default)(),this.use.apply(this,b),this.setup(t)}return i(e,[{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createGenerateClassName&&(this.options.createGenerateClassName=e.createGenerateClassName,this.generateClassName=e.createGenerateClassName()),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),(e.virtual||e.Renderer)&&(this.options.Renderer=e.Renderer||(e.virtual?y.default:v.default)),e.plugins&&this.use.apply(this,e.plugins),this}},{key:"createStyleSheet",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.index;"number"!=typeof n&&(n=0===h.default.index?0:h.default.index+1);var r=new l.default(e,o({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(e){return e.detach(),h.default.remove(e),this}},{key:"createRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};"object"===(void 0===e?"undefined":r(e))&&(n=t,t=e,e=void 0);var o=n;o.jss=this,o.Renderer=this.options.Renderer,o.generateClassName||(o.generateClassName=this.generateClassName),o.classes||(o.classes={});var i=(0,m.default)(e,t,o);return!o.selector&&i instanceof p.default&&(i.selector="."+o.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){-1===e.options.plugins.indexOf(t)&&(e.options.plugins.push(t),e.plugins.use(t))})),this}}]),e}();t.default=x},DfZB:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"DlR+":function(e,t,n){var r=n("MFOe"),o=r.Global,i=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!s(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(a.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;a.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:l,remove:c,clearAll:function(){l((function(e,t){c(t)}))}};var a=o.document;function l(e){for(var t=a.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function c(e){e&&s(e)&&(a.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function s(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(a.cookie)}},"E+au":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.jss="64a55d578f856d258dc345b094a2a2b3",t.sheetsRegistry="d4bd0baacbc52bbd48bbb9eb24344ecd",t.managers="b768b78919504fba9de2c03545c5cd3a",t.sheetOptions="6fc570d6bd61383819d0f9e7407c452d"},E0u0:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("QDlc")),i=r(n("MgzW")),a=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function l(e){return null==e}var c=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(e,t){l(e.which)&&(e.which=l(t.charCode)?t.keyCode:t.charCode),void 0===e.metaKey&&(e.metaKey=e.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=t.wheelDelta,a=t.axis,l=t.wheelDeltaY,c=t.wheelDeltaX,s=t.detail;i&&(o=i/120),s&&(o=0-(s%3==0?s/3:s)),void 0!==a&&(a===e.HORIZONTAL_AXIS?(r=0,n=0-o):a===e.VERTICAL_AXIS&&(n=0,r=o)),void 0!==l&&(r=l/120),void 0!==c&&(n=-1*c/120),n||r||(r=o),void 0!==n&&(e.deltaX=n),void 0!==r&&(e.deltaY=r),void 0!==o&&(e.delta=o)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(e,t){var n=void 0,r=void 0,o=void 0,i=e.target,a=t.button;return i&&l(e.pageX)&&!l(t.clientX)&&(r=(n=i.ownerDocument||document).documentElement,o=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),!e.relatedTarget&&e.fromElement&&(e.relatedTarget=e.fromElement===i?e.toElement:e.fromElement),e}}];function s(){return!0}function u(){return!1}function f(e){var t=e.type,n="function"==typeof e.stopPropagation||"boolean"==typeof e.cancelBubble;o.default.call(this),this.nativeEvent=e;var r=u;"defaultPrevented"in e?r=e.defaultPrevented?s:u:"getPreventDefault"in e?r=e.getPreventDefault()?s:u:"returnValue"in e&&(r=!1===e.returnValue?s:u),this.isDefaultPrevented=r;var i=[],l=void 0,f=void 0,h=a.concat();for(c.forEach((function(e){t.match(e.reg)&&(h=h.concat(e.props),e.fix&&i.push(e.fix))})),l=h.length;l;)this[f=h[--l]]=e[f];for(!this.target&&n&&(this.target=e.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),l=i.length;l;)(0,i[--l])(this,e);this.timeStamp=e.timeStamp||Date.now()}var h=o.default.prototype;(0,i.default)(f.prototype,h,{constructor:f,preventDefault:function(){var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,h.preventDefault.call(this)},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,h.stopPropagation.call(this)}}),t.default=f,e.exports=t.default},EJiy:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n("F+2o")),o=a(n("+JPL")),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},EK0E:function(e,t,n){"use strict";var r,o=n("dyZX"),i=n("CkkT")(0),a=n("KroJ"),l=n("Z6vF"),c=n("czNK"),s=n("ZD67"),u=n("0/R4"),f=n("s5qY"),h=n("s5qY"),p=!o.ActiveXObject&&"ActiveXObject"in o,d=l.getWeak,m=Object.isExtensible,v=s.ufstore,y=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(e){if(u(e)){var t=d(e);return!0===t?v(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return s.def(f(this,"WeakMap"),e,t)}},b=e.exports=n("4LiD")("WeakMap",y,g,s,!0,!0);h&&p&&(c((r=s.getConstructor(y,"WeakMap")).prototype,g),l.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(u(t)&&!m(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},ERXd: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(){return{onCreateRule:function(e,t,n){if("@global"===e)return new l(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new c(e,t,n);var r=n.parent;return r&&("global"!==r.type&&"global"!==r.options.parent.type||(n.global=!0)),n.global&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,o=n["@global"];if(!o)return;for(var i in o)t.sheet.addRule(i,o[i],r({},t,{selector:u(i,e.selector)}));delete n["@global"]}(e),function(e){var t=e.options,n=e.style;for(var o in n)if("@global"===o.substr(0,"@global".length)){var i=u(o.substr("@global".length),e.selector);t.sheet.addRule(i,n[o],r({},t,{selector:i})),delete n[o]}}(e))}}};var i=n("eb9H");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function(){function e(t,n,o){for(var l in a(this,e),this.type="global",this.key=t,this.options=o,this.rules=new i.RuleList(r({},o,{parent:this})),n)this.rules.add(l,n[l],{selector:l});this.rules.process()}return o(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"addRule",value:function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(){return this.rules.toString()}}]),e}(),c=function(){function e(t,n,o){a(this,e),this.name=t,this.options=o;var i=t.substr("@global ".length);this.rule=o.jss.createRule(i,n,r({},o,{parent:this,selector:i}))}return o(e,[{key:"toString",value:function(e){return this.rule.toString(e)}}]),e}(),s=/\s*,\s*/g;function u(e,t){for(var n=e.split(s),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EXMj:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},EbDI:function(e,t,n){var r=n("Kgbp"),o=n("iD3k");e.exports=function(e){if(o(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return r(e)}},Ed7I:function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=function(e){void 0===e&&(e=(0,o.default)());try{return e.activeElement}catch(e){}};var o=r(n("o43f"));e.exports=t.default},EemH:function(e,t,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),l=n("aagx"),c=n("xpql"),s=Object.getOwnPropertyDescriptor;t.f=n("nh4g")?s:function(e,t){if(e=i(e),t=a(t,!0),c)try{return s(e,t)}catch(e){}if(l(e,t))return o(!r.f.call(e,t),e[t])}},"Ew+T":function(e,t,n){var r=n("XKFU"),o=n("GZEu");r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},ExA7:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},"F+2o":function(e,t,n){e.exports={default:n("2Nb0"),__esModule:!0}},FEjr:function(e,t,n){"use strict";n("OGtf")("strike",(function(e){return function(){return e(this,"strike","","")}}))},FGEo:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),l=a.length,c=0;l>c;)r.f(e,n=a[c++],t[n]);return e}},FLEz: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=s(n("RiHD")),a=s(n("1V9r")),l=s(n("Rx9b")),c=s(n("vQTr"));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.map={},this.raw={},this.index=[],this.update=function(e,t){var r=n.options,o=r.jss.plugins,i=r.sheet;if("string"==typeof e)o.onUpdate(t,n.get(e),i);else for(var a=0;a<n.index.length;a++)o.onUpdate(e,n.index[a],i)},this.options=t,this.classes=t.classes}return o(e,[{key:"add",value:function(e,t,n){var o=this.options,a=o.parent,s=o.sheet,u=o.jss,f=o.Renderer,h=o.generateClassName;!(n=r({classes:this.classes,parent:a,sheet:s,jss:u,Renderer:f,generateClassName:h},n)).selector&&this.classes[e]&&(n.selector="."+(0,c.default)(this.classes[e])),this.raw[e]=t;var p=(0,i.default)(e,t,n),d=void 0;!n.selector&&p instanceof l.default&&(d=h(p,s),p.selector="."+(0,c.default)(d)),this.register(p,d);var m=void 0===n.index?this.index.length:n.index;return this.index.splice(m,0,p),p}},{key:"get",value:function(e){return this.map[e]}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"process",value:function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)}},{key:"register",value:function(e,t){this.map[e.key]=e,e instanceof l.default&&(this.map[e.selector]=e,t&&(this.classes[e.key]=t))}},{key:"unregister",value:function(e){delete this.map[e.key],e instanceof l.default&&(delete this.map[e.selector],delete this.classes[e.key])}},{key:"link",value:function(e){for(var t=this.options.sheet.renderer.getUnescapedKeysMap(this.index),n=0;n<e.length;n++){var r=e[n],o=this.options.sheet.renderer.getKey(r);t[o]&&(o=t[o]);var i=this.map[o];i&&(0,a.default)(i,r)}}},{key:"toString",value:function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t}}]),e}();t.default=u},FLlr:function(e,t,n){var r=n("XKFU");r(r.P,"String",{repeat:n("l0Rn")})},FOEY:function(e,t,n){},FVT5:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("ERXd")),i=r(n("WB/T")),a=r(n("neIt")),l=r(n("qrbQ")),c=r(n("CarK")),s=r(n("dINV"));var u=function(){return{plugins:[(0,o.default)(),(0,i.default)(),(0,a.default)(),(0,l.default)(),(0,c.default)(),(0,s.default)()]}};t.default=u},FYw3:function(e,t,n){"use strict";t.__esModule=!0;var r,o=n("EJiy"),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},Faw5:function(e,t,n){n("7DDg")("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},FeGr:function(e,t,n){"use strict";(function(t){function n(e){o.length||(r(),!0),o[o.length]=e}e.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var e=i;if(i+=1,o[e].call(),i>1024){for(var t=0,n=o.length-i;t<n;t++)o[t]=o[t+i];o.length-=i,i=0}}o.length=0,i=0,!1}var l,c,s,u=void 0!==t?t:self,f=u.MutationObserver||u.WebKitMutationObserver;function h(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof f?(l=1,c=new f(a),s=document.createTextNode(""),c.observe(s,{characterData:!0}),r=function(){l=-l,s.data=l}):r=h(a),n.requestFlush=r,n.makeRequestCallFromTimer=h}).call(this,n("yLpj"))},FlQf:function(e,t,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},FlsD:function(e,t,n){var r=n("0/R4");n("Xtr8")("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},FpHa:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},G4OA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n("TeRw")),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}}();t.SnackbarHOC=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e){return function(t){function n(e){f(this,n);var t=h(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.showNotification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"提示",n=arguments[2],o={message:t,description:e};n&&(o.icon=n),r.default.open(o)},t.showSnackbar=t.showSnackbar.bind(t),t.handleSnackbarClose=t.handleSnackbarClose.bind(t),t.state={snackbarText:"",snackbarOpen:!1},t}return p(n,t),i(n,[{key:"handleSnackbarClose",value:function(){this.setState({snackbarOpen:!1,snackbarVertical:"",snackbarHorizontal:""})}},{key:"showSnackbar",value:function(e,t,n){this.setState({snackbarOpen:!0,snackbarText:e,snackbarVertical:t,snackbarHorizontal:n})}},{key:"render",value:function(){return l.default.createElement(l.default.Fragment,null,l.default.createElement(c.default,{className:"rootSnackbar",style:{zIndex:3e4},open:this.state.snackbarOpen,autoHideDuration:3e3,anchorOrigin:{vertical:this.state.snackbarVertical||"top",horizontal:this.state.snackbarHorizontal||"center"},onClose:this.handleSnackbarClose,transition:s.default,SnackbarContentProps:d,resumeHideDuration:2e3,message:l.default.createElement("span",{id:"message-id"},this.state.snackbarText)}),l.default.createElement(e,o({},this.props,{showSnackbar:this.showSnackbar,showNotification:this.showNotification})))}}]),n}(a.Component)}},n("O+I2");var a=n("q1tI"),l=u(a),c=u(n("ljwo")),s=u(n("Blpk"));function u(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(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 d={"aria-describedby":"message-id"}},G8Mo:function(e,t,n){var r=n("93I4");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},GHUu: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?r:{default:r},l=n("sYIF");var c=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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 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.props.attachments;return a.default.createElement(a.default.Fragment,null,e.map((function(e,t){return a.default.createElement("p",{key:t,className:"clearfix mb3"},a.default.createElement("a",{className:"color-grey fl"},a.default.createElement("i",{className:"font-14 color-green iconfont icon-fujian mr8"})),a.default.createElement(l.ConditionToolTip,{title:e.title,condition:e.title&&e.title.length>30},a.default.createElement("a",{href:e.url+(0,l.getRandomNumber)(),className:"mr12 fl task-hide",length:"58",target:e.is_pdf&&1==e.is_pdf?"_blank":"_self",style:{maxWidth:"432px"}},e.title)),a.default.createElement("span",{className:"color-grey mt2 color-grey-6 font-12"},e.filesize))})))}}]),t}(i.Component);t.default=c},GMIx: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("RV6i"),a=(r=i)&&r.__esModule?r:{default:r};var l=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type="font-face",this.isProcessed=!1,this.key=t,this.style=n,this.options=r}return o(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,a.default)(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return(0,a.default)(this.key,this.style,e)}}]),e}();t.default=l},GNAe:function(e,t,n){var r=n("XKFU"),o=n("PKUr");r(r.G+r.F*(parseInt!=o),{parseInt:o})},GZEu:function(e,t,n){var r,o,i,a=n("m0Pp"),l=n("MfQN"),c=n("+rLv"),s=n("Iw71"),u=n("dyZX"),f=u.process,h=u.setImmediate,p=u.clearImmediate,d=u.MessageChannel,m=u.Dispatch,v=0,y={},g=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},b=function(e){g.call(e.data)};h&&p||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++v]=function(){l("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete y[e]},"process"==n("LZWt")(f)?r=function(e){f.nextTick(a(g,e,1))}:m&&m.now?r=function(e){m.now(a(g,e,1))}:d?(i=(o=new d).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(e){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:h,clear:p}},GdC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Streamable=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();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("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){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 f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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 y=/streamable\.com\/([a-z0-9]+)$/,g=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,r,a,l=(t=c,function(){var e,n=d(t);if(p()){var r=d(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return f(this,e)});function c(){var e;s(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=l.call.apply(l,[this].concat(n))),"callPlayer",i.callPlayer),v(h(e),"duration",null),v(h(e),"currentTime",null),v(h(e),"secondsLoaded",null),v(h(e),"mute",(function(){e.callPlayer("mute")})),v(h(e),"unmute",(function(){e.callPlayer("unmute")})),v(h(e),"ref",(function(t){e.iframe=t})),e}return n=c,(r=[{key:"load",value:function(e){var t=this;(0,i.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.props.muted&&t.player.mute())}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(y)[1];return o.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allowFullScreen:!0})}}])&&u(n.prototype,r),a&&u(n,a),c}(o.Component);t.Streamable=g,v(g,"displayName","Streamable"),v(g,"canPlay",(function(e){return y.test(e)}));var b=(0,a.default)(g);t.default=b},GoyQ:function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},H0zx:function(e,t,n){"use strict";var r=n("FGEo");t.__esModule=!0,t.default=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;"float"==(t=(0,o.default)(t))&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),a.test(r)&&!i.test(t)){var l=n.left,c=e.runtimeStyle,s=c&&c.left;s&&(c.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=l,s&&(c.left=s)}return r}}};var o=r(n("9SKx")),i=/^(top|right|bottom|left)$/,a=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;e.exports=t.default},H5GT:function(e,t,n){var r=n("XKFU"),o=n("6dIT"),i=n("kcoS");r(r.S,"Math",{fscale:function(e,t,n,r,a){return i(o(e,t,n,r,a))}})},H6hf:function(e,t,n){var r=n("y3w9");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},H7XF:function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),a=r[0],l=r[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,f=l>0?a-4:a;for(n=0;n<f;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,l=n-o;a<l;a+=16383)i.push(u(e,a,a+16383>l?l:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=a.length;l<c;++l)r[l]=a[l],o[a.charCodeAt(l)]=l;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],l=t;l<n;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(255&e[l+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},H84U:function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return x}));var r=n("q1tI"),o=n("foW8"),i=n.n(o),a=n("TSYQ"),l=n.n(a),c=n("YMnH"),s=function(){return r.createElement("svg",{width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("g",{transform:"translate(24 31.67)"},r.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),r.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),r.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),r.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),r.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),r.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),r.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},r.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),r.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},u=function(){return r.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},r.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},r.createElement("ellipse",{fill:"#F5F5F5",cx:"32",cy:"33",rx:"32",ry:"7"}),r.createElement("g",{fillRule:"nonzero",stroke:"#D9D9D9"},r.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),r.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:"#FAFAFA"}))))};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)}var h=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},p=r.createElement(s,null),d=r.createElement(u,null),m=function(e){return r.createElement(w,null,(function(t){var n=t.getPrefixCls,o=e.className,i=e.prefixCls,a=e.image,s=void 0===a?p:a,u=e.description,m=e.children,v=e.imageStyle,y=h(e,["className","prefixCls","image","description","children","imageStyle"]);return r.createElement(c.a,{componentName:"Empty"},(function(e){var t,a,c,h=n("empty",i),p=void 0!==u?u:e.description,g="string"==typeof p?p:"empty",b=null;return b="string"==typeof s?r.createElement("img",{alt:g,src:s}):s,r.createElement("div",f({className:l()(h,(t={},a="".concat(h,"-normal"),c=s===d,a in t?Object.defineProperty(t,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):t[a]=c,t),o)},y),r.createElement("div",{className:"".concat(h,"-image"),style:v},b),p&&r.createElement("p",{className:"".concat(h,"-description")},p),m&&r.createElement("div",{className:"".concat(h,"-footer")},m))}))}))};m.PRESENTED_IMAGE_DEFAULT=p,m.PRESENTED_IMAGE_SIMPLE=d;var v=m,y=function(e){return r.createElement(w,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return r.createElement(v,{image:v.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return r.createElement(v,{image:v.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return r.createElement(v,null)}}))};function g(){return(g=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 b=i()({getPrefixCls:function(e,t){return t||"ant-".concat(e)},renderEmpty:y}),w=b.Consumer;function x(e){return function(t){var n=function(n){return r.createElement(w,null,(function(o){var i=e.prefixCls,a=(0,o.getPrefixCls)(i,n.prefixCls);return r.createElement(t,g({},o,n,{prefixCls:a}))}))},o=t.constructor,i=o&&o.displayName||t.name||"Component";return n.displayName="withConfigConsumer(".concat(i,")"),n}}},"HAE/":function(e,t,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},HEwt:function(e,t,n){"use strict";var r=n("m0Pp"),o=n("XKFU"),i=n("S/j/"),a=n("H6hf"),l=n("M6Qj"),c=n("ne8i"),s=n("8a7r"),u=n("J+6e");o(o.S+o.F*!n("XMVh")((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,h=i(e),p="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,y=0,g=u(h);if(v&&(m=r(m,d>2?arguments[2]:void 0,2)),null==g||p==Array&&l(g))for(n=new p(t=c(h.length));t>y;y++)s(n,y,v?m(h[y],y):h[y]);else for(f=g.call(h),n=new p;!(o=f.next()).done;y++)s(n,y,v?a(f,m,[o.value,y],!0):o.value);return n.length=y,n}})},HSsa:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},HUFq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n("W9HT")),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}}();n("04bd");var i=n("q1tI"),a=l(i);function l(e){return e&&e.__esModule?e:{default:e}}function c(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 u=function(e){function t(){return c(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:"componentDidUpdate",value:function(e,t){!e.error&&this.props.error&&console.log(this.props.error)}},{key:"render",value:function(){return a.default.createElement("div",{className:"App",style:{minHeight:"800px",width:"100%"}},a.default.createElement("style",null,"\n\t\t\t\t\t\t .margintop{\n\t\t\t\t\t\t margin-top:20%;\n\t\t\t\t\t\t }\n\t\t\t\t\t\t"),a.default.createElement(r.default,{size:"large",className:"margintop"}))}}]),t}(i.Component);t.default=u},HXN9:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("d0bx"));t.generate=o.default;var i={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"};t.presetPrimaryColors=i;var a={};t.presetPalettes=a,Object.keys(i).forEach((function(e){a[e]=o.default(i[e]),a[e].primary=a[e][5]}));var l=a.red;t.red=l;var c=a.volcano;t.volcano=c;var s=a.gold;t.gold=s;var u=a.orange;t.orange=u;var f=a.yellow;t.yellow=f;var h=a.lime;t.lime=h;var p=a.green;t.green=p;var d=a.cyan;t.cyan=d;var m=a.blue;t.blue=m;var v=a.geekblue;t.geekblue=v;var y=a.purple;t.purple=y;var g=a.magenta;t.magenta=g;var b=a.grey;t.grey=b},HbLn:function(e,t,n){},Hc9t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNotes=t.changeRecordPagination=t.clearOjForUserReducer=t.saveOpacityType=t.saveEditorCodeForDetail=t.restoreInitialCode=t.submitUserCode=t.changeUserCodeTab=t.saveUserInputCode=t.getUserCommitRecordDetail=t.getUserCommitRecord=t.debuggerCode=t.codeEvaluate=t.updateCode=t.saveUserCodeForInterval=t.getUserProgramDetail=t.saveUserProgramIdentifier=t.startProgramQuestion=void 0;var r=l(n("TeRw"));n("O+I2");var o=l(n("rnH8")),i=n("J66h"),a=n("t71B");function l(e){return e&&e.__esModule?e:{default:e}}t.startProgramQuestion=function(e,t){return function(n,r){(0,a.fetchStartProgram)(e).then((function(r){var i=r.status,a=r.data;if(200===i){var l=a.identifier;n({type:o.default.SAVE_USER_PROGRAM_ID,payload:l}),n({type:o.default.SAVE_HACK_IDENTIFIER,payload:e}),l&&t.history.push({pathname:"/myproblems/"+l})}}))}},t.saveUserProgramIdentifier=function(e){return{type:o.default.SAVE_USER_PROGRAM_ID,payload:e}},t.getUserProgramDetail=function(e,t){return function(n){(0,a.fetchUserProgramDetail)(e).then((function(e){var r=e.status,i=e.data,a=void 0===i?{}:i;if(200===r){if(401===a.status)return;n(t?{type:o.default.GET_COMMIT_RECORD_DETAIL_BY_ID,payload:a}:{type:o.default.USER_PROGRAM_DETAIL,payload:a}),n({type:o.default.SAVE_USE_TEST_CASE_VALUE,payload:a.test_case||{}});var l=!1;a.hack&&(l=a.hack.modify_code),n({type:o.default.SAVE_NOTICE_COUNT,payload:l}),n({type:o.default.SAVE_USER_INFO,payload:a.user})}}))}},t.saveUserCodeForInterval=function(e,t){return function(n,r){n({type:o.default.AUTO_UPDATE_CODE,payload:!0}),(0,a.fetchUpdateCode)(e,{code:i.Base64.encode(t)}).then((function(e){401!==e.data.status&&setTimeout((function(){n({type:o.default.AUTO_UPDATE_CODE,payload:!1})}),1e3)})).catch((function(){n({type:o.default.AUTO_UPDATE_CODE,payload:!1})}))}},t.updateCode=function(e,t,n){return function(r,l){var c=l().ojForUserReducer.editor_code;(0,a.fetchUpdateCode)(e,{code:i.Base64.encode(c)}).then((function(i){if(i){if(401===i.data.status)return void r({type:o.default.LOADING_STATUS,payload:!1});r({type:o.default.IS_UPDATE_CODE,flag:!1}),r(s(e,t,n))}}))}};var c=t.codeEvaluate=function(e,t,n,i,l,c,s){var h=1;var p=setInterval((function(){!function(i,h,p,d){var m=p++*i;(0,a.fetchCodeSubmit)(t,{mode:n}).then((function(i){var a=i.data.status;if(0==+a||m/1e3>h+1){clearInterval(d),d=null;var p=null;p=1===a?{error_line:-1,error_msg:"",execute_memory:"",execute_time:h,input:"",output:"",status:2,expected_output:"",isPassed:!1}:i.data.data,e({type:o.default.COMMIT_RECORD_DETAIL,payload:{type:n,data:p}}),n&&"debug"!==n?(e({type:o.default.SUBMIT_LOADING_STATUS,payload:!1}),e({type:o.default.CHANGE_USER_CODE_TAB,payload:"record"}),e(u(t)),e(f(n)),1===l&&!s&&p.isPassed&&(e({type:o.default.UPDATE_HACK_PASSED,payload:!0}),r.default.success({message:"提示",description:"恭喜您获得金币奖励: "+c}))):(e({type:o.default.LOADING_STATUS,payload:!1}),e({type:o.default.TEST_CODE_STATUS,payload:"finish"}))}})).catch((function(t){clearInterval(d),d=null,e(n&&"debug"!==n?{type:o.default.SUBMIT_LOADING_STATUS,payload:!1}:{type:o.default.LOADING_STATUS,payload:!1})}))}(500,i,h++,p)}),500)},s=t.debuggerCode=function(e,t,n){return function(r,i){var l=i().ojForUserReducer.hack;n&&"debug"!==n||r({type:o.default.TEST_CODE_STATUS,payload:"loading"}),(0,a.fetchDebuggerCode)(e,t).then((function(t){if(200===t.status){if(401===t.data.status)return void r({type:o.default.LOADING_STATUS,payload:!1});c(r,e,n,l.time_limit)}})).catch((function(){r({type:o.default.TEST_CODE_STATUS,payload:"error"}),r({type:o.default.LOADING_STATUS,payload:!1}),r({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))}},u=t.getUserCommitRecord=function(e){return function(t,n){try{var r=n().ojForUserReducer.pages,i=r.limit,l=r.page;(0,a.fetchUserCommitRecord)(e,{limit:i,page:l}).then((function(e){if(e){var n=e.status,r=e.data;200===n&&t({type:o.default.COMMIT_RECORD,payload:r})}}))}catch(e){console.log(e,"-------")}}},f=(t.getUserCommitRecordDetail=function(e){return function(t){(0,a.fetchUserCommitRecordDetail)(e).then((function(e){var n=e.data;401!==n.status&&(t({type:o.default.GET_COMMIT_RECORD_DETAIL_BY_ID,payload:n}),t({type:o.default.CLICK_OPERATE_TYPE,payload:""}))}))}},t.saveUserInputCode=function(e){return{type:o.default.SAVE_USER_CODE,payload:e}},t.changeUserCodeTab=function(e){return{type:o.default.CHANGE_USER_CODE_TAB,payload:e}},t.submitUserCode=function(e,t,n){return function(t,r){var l=r().ojForUserReducer,s=l.editor_code,u=l.hack;(0,a.fetchUpdateCode)(e,{code:i.Base64.encode(s)}).then((function(r){401!==r.data.status?(t({type:o.default.IS_UPDATE_CODE,flag:!1}),(0,a.fetchUserCodeSubmit)(e).then((function(r){if(200===r.status){if(401===r.data.status)return void t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1});c(t,e,n,u.time_limit,u.status,u.score,u.passed)}})).catch((function(){t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))):t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})})).catch((function(){t({type:o.default.SUBMIT_LOADING_STATUS,payload:!1})}))}},t.restoreInitialCode=function(e,t){return function(n){(0,a.fetchRestoreInitialCode)(e).then((function(e){if(401!==e.data.status){var i=e.status,a=e.data;200===i&&(n({type:o.default.RESTORE_INITIAL_CODE,payload:a.code}),r.default.success({message:"提示",description:t}),n({type:o.default.SAVE_NOTICE_COUNT,payload:!1}))}}))}},t.saveEditorCodeForDetail=function(e){return{type:o.default.SAVE_EDITOR_CODE,payload:e}},t.saveOpacityType=function(e){return{type:o.default.CLICK_OPERATE_TYPE,payload:e}});t.clearOjForUserReducer=function(){return{type:o.default.CLEAR_OJ_FOR_USER_REDUCER}},t.changeRecordPagination=function(e){return{type:o.default.CHANGE_RECORD_PAGINATION_PAGE,payload:e}},t.addNotes=function(e,t,n){return function(i){(0,a.fetchAddNotes)(e,t).then((function(e){i({type:o.default.LOADING_STATUS,payload:!1}),0===e.data.status&&(n&&n(),r.default.success({message:"提示",description:"添加笔记成功"}),i({type:o.default.UPDATE_NOTE_CONTENT,payload:t.notes}))})).catch((function(){i({type:o.default.LOADING_STATUS,payload:!1})}))}}},Hd6r:function(e,t,n){"use strict";n.r(t);n("C1Nm")},Hfiw:function(e,t,n){var r=n("Y7ZC");r(r.S,"Object",{setPrototypeOf:n("6tYhl").set})},Hsns:function(e,t,n){var r=n("93I4"),o=n("5T2Y").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},Hxic:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},I2u6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,o)};var r=/[-\s]+(.)?/g;function o(e,t){return t?t.toUpperCase():""}},I5cv:function(e,t,n){var r=n("XKFU"),o=n("Kuth"),i=n("2OiF"),a=n("y3w9"),l=n("0/R4"),c=n("eeVq"),s=n("8MEG"),u=(n("dyZX").Reflect||{}).construct,f=c((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),h=!c((function(){u((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(h&&!f)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(s.apply(e,r))}var c=n.prototype,p=o(l(c)?c:Object.prototype),d=Function.apply.call(e,p,t);return l(d)?d:p}})},I74W:function(e,t,n){"use strict";n("qncB")("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},I78e:function(e,t,n){"use strict";var r=n("XKFU"),o=n("+rLv"),i=n("LZWt"),a=n("d/Gc"),l=n("ne8i"),c=[].slice;r(r.P+r.F*n("eeVq")((function(){o&&c.call(o)})),"Array",{slice:function(e,t){var n=l(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return c.call(this,e,t);for(var o=a(e,n),s=a(t,n),u=l(s-o),f=new Array(u),h=0;h<u;h++)f[h]="String"==r?this.charAt(o+h):this[o+h];return f}})},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},IEzm:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("iVxW")),i=r(n("MVZn")),a=(r(n("PV3f")),r(n("WNwX")));function l(e,t){return t}var c=function(e){var t="function"==typeof e;return{create:function(n,r){var c=t?e(n):e;if(!r||!n.overrides||!n.overrides[r])return c;var s=n.overrides[r],u=(0,i.default)({},c);return(0,o.default)(s).forEach((function(e){u[e]=(0,a.default)(u[e],s[e],{arrayMerge:l})})),u},options:{},themingEnabled:t}};t.default=c},IIpx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.changePagination=t.showOrHideComment=t.likeComment=t.deleteComment=t.replayChildComment=t.getCommentLists=t.addComment=void 0;var r,o=n("rnH8"),i=(r=o)&&r.__esModule?r:{default:r},a=n("WfJu");t.addComment=function(e,t){return function(n){(0,a.fetchAddComment)(e,t).then((function(t){200===t.status&&(n(l(e)),n({type:i.default.UPDATE_OJ_FOR_USER_COMMENT_COUNT,payload:"add"}))}))}};var l=t.getCommentLists=function(e){return function(t,n){var r=n().commentReducer.pages,o=r.limit,l=r.page;(0,a.fetchCommentLists)(e,{limit:o,page:l}).then((function(e){if(200===e.status){var n=e.data;t({type:i.default.GET_COMMENT_LISTS,payload:n})}}))}};t.replayChildComment=function(e,t){return function(n){(0,a.fetchAddChildComment)(e,t).then((function(t){200===t.status&&(n(l(e)),n({type:i.default.UPDATE_OJ_FOR_USER_COMMENT_COUNT,payload:"add"}))}))}},t.deleteComment=function(e,t){return function(n){(0,a.fetchDeleteComment)(e,t).then((function(t){200===t.status&&(n(l(e)),n({type:i.default.UPDATE_OJ_FOR_USER_COMMENT_COUNT,payload:"minus"}))}))}},t.likeComment=function(e,t,n,r){return function(r){(0,a.fetchLikeComment)(t,n).then((function(t){if(200===t.status){var o=n.container_type,a=t.data.praise_count;switch(o){case"Discuss":r(l(e));break;case"Hack":r({type:i.default.ADD_OJ_LIKE_COUNT,payload:a})}}}))}},t.showOrHideComment=function(e,t,n){return function(r){(0,a.fetchShowOrHideComment)(e,t,n).then((function(t){200===t.status&&r(l(e))}))}},t.changePagination=function(e){return{type:i.default.CHANGE_COMMENT_PAGINATION_PARAMS,payload:e}}},INYr:function(e,t,n){"use strict";var r=n("XKFU"),o=n("CkkT")(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")(i)},IP1Z:function(e,t,n){"use strict";var r=n("2faE"),o=n("rr1i");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"IS4+":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.primary,n=void 0===t?{light:l.default[300],main:l.default[500],dark:l.default[700]}:t,r=e.secondary,v=void 0===r?{light:c.default.A200,main:c.default.A400,dark:c.default.A700}:r,y=e.error,g=void 0===y?{light:u.default[300],main:u.default[500],dark:u.default[700]}:y,b=e.type,w=void 0===b?"light":b,x=e.contrastThreshold,_=void 0===x?3:x,k=e.tonalOffset,S=void 0===k?.2:k,O=(0,i.default)(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function M(e){return(0,h.getContrastRatio)(e,d.text.primary)>=_?d.text.primary:p.text.primary}function T(e,t,n,r){!e.main&&e[t]&&(e.main=e[t]),m(e,"light",n,S),m(e,"dark",r,S),e.contrastText||(e.contrastText=M(e.main))}T(n,500,300,700),T(v,"A400","A200","A700"),T(g,500,300,700);var E={dark:d,light:p};return(0,a.default)((0,o.default)({common:f.default,type:w,primary:n,secondary:v,error:g,grey:s.default,contrastThreshold:_,getContrastText:M,augmentColor:T,tonalOffset:S},E[w]),O,{clone:!1})},t.dark=t.light=void 0;var o=r(n("MVZn")),i=r(n("QILm")),a=(r(n("PV3f")),r(n("WNwX"))),l=r(n("LacO")),c=r(n("sVKJ")),s=r(n("AK+3")),u=r(n("IWIc")),f=r(n("zOe8")),h=n("JS0+"),p={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.default.white,default:s.default[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}};t.light=p;var d={text:{primary:f.default.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:s.default[800],default:"#303030"},action:{active:f.default.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function m(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,h.lighten)(e.main,r):"dark"===t&&(e.dark=(0,h.darken)(e.main,1.5*r)))}t.dark=d},"IU+Z":function(e,t,n){"use strict";n("sMXx");var r=n("KroJ"),o=n("Mukb"),i=n("eeVq"),a=n("vhPU"),l=n("K0xU"),c=n("Ugos"),s=l("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=l(e),p=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[s]=function(){return n}),n[h](""),!t})):void 0;if(!p||!d||"replace"===e&&!u||"split"===e&&!f){var m=/./[h],v=n(a,h,""[e],(function(e,t,n,r,o){return t.exec===c?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=v[0],g=v[1];r(String.prototype,e,y),o(RegExp.prototype,h,2==t?function(e,t){return g.call(e,this,t)}:function(e){return g.call(e,this)})}}},IWIc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};t.default=r},IXt9:function(e,t,n){"use strict";var r=n("0/R4"),o=n("OP3Y"),i=n("K0xU")("hasInstance"),a=Function.prototype;i in a||n("hswa").f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},IdCh: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(){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"),l=(r=a)&&r.__esModule?r:{default:r},c=n("eO8H");var s={blue:"colorblue",white:"colorwhite",grey:"colorgrey",orange:"color-orange",colorgrey9:"color-grey-9"},u=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),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 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,t=e.to,n=(e.href,e.targets),r=e.style2,i=(e.style,e.className,function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["to","href","targets","style2","style","className"]));return l.default.createElement(l.default.Fragment,null,null==t&&null==n?l.default.createElement("a",o({onClick:this.props.onClick,className:"btn "+s[this.props.style]+" "+(this.props.className||""),style:r},i),this.props.children):null!=n?l.default.createElement("a",o({href:t,target:"_blank",className:"btn "+s[this.props.style]+" "+this.props.className,style:r},i),this.props.children):l.default.createElement(c.Link,o({to:t,className:"btn "+s[this.props.style]+" "+(this.props.className||""),style:r},i),this.props.children))}}]),t}(a.Component);t.default=u},IeMT:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElementWithClassName=a,t.cloneChildrenWithClassName=function(e,t){return o.default.Children.map(e,(function(e){return o.default.isValidElement(e)&&a(e,t)}))},t.isMuiElement=function(e,t){return o.default.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)},t.isMuiComponent=function(e,t){return-1!==t.indexOf(e.muiName)};var o=r(n("q1tI")),i=r(n("TSYQ"));function a(e,t){return o.default.cloneElement(e,{className:(0,i.default)(e.props.className,t)})}},Ijbi:function(e,t){e.exports=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}}},IlFx:function(e,t,n){var r=n("XKFU"),o=n("y3w9"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},Iw71:function(e,t,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"J+6e":function(e,t,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");e.exports=n("g3g5").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},J0gd:function(e,t,n){var r=n("XKFU"),o=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*o}})},J66h:function(module,exports,__webpack_require__){(function(global){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(e,t){module.exports=t(e)}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==global?global:this,(function(global){"use strict";global=global||{};var _Base64=global.Base64,version="2.5.2",buffer;if(module.exports)try{buffer=eval("require('buffer').Buffer")}catch(e){buffer=void 0}var b64chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b64tab=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(b64chars),fromCharCode=String.fromCharCode,cb_utob=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?fromCharCode(192|t>>>6)+fromCharCode(128|63&t):fromCharCode(224|t>>>12&15)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return fromCharCode(240|t>>>18&7)+fromCharCode(128|t>>>12&63)+fromCharCode(128|t>>>6&63)+fromCharCode(128|63&t)},re_utob=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,utob=function(e){return e.replace(re_utob,cb_utob)},cb_encode=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[b64chars.charAt(n>>>18),b64chars.charAt(n>>>12&63),t>=2?"=":b64chars.charAt(n>>>6&63),t>=1?"=":b64chars.charAt(63&n)].join("")},btoa=global.btoa?function(e){return global.btoa(e)}:function(e){return e.replace(/[\s\S]{1,3}/g,cb_encode)},_encode=function(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)?e.toString("base64"):btoa(utob(String(e)))},encode=function(e,t){return t?_encode(String(e)).replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,""):_encode(e)},encodeURI=function(e){return encode(e,!0)},re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return fromCharCode(55296+(t>>>10))+fromCharCode(56320+(1023&t));case 3:return fromCharCode((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return fromCharCode((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},btou=function(e){return e.replace(re_btou,cb_btou)},cb_decode=function(e){var t=e.length,n=t%4,r=(t>0?b64tab[e.charAt(0)]<<18:0)|(t>1?b64tab[e.charAt(1)]<<12:0)|(t>2?b64tab[e.charAt(2)]<<6:0)|(t>3?b64tab[e.charAt(3)]:0),o=[fromCharCode(r>>>16),fromCharCode(r>>>8&255),fromCharCode(255&r)];return o.length-=[0,0,2,1][n],o.join("")},_atob=global.atob?function(e){return global.atob(e)}:function(e){return e.replace(/\S{1,4}/g,cb_decode)},atob=function(e){return _atob(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},_decode=buffer?buffer.from&&Uint8Array&&buffer.from!==Uint8Array.from?function(e){return(e.constructor===buffer.constructor?e:buffer.from(e,"base64")).toString()}:function(e){return(e.constructor===buffer.constructor?e:new buffer(e,"base64")).toString()}:function(e){return btou(_atob(e))},decode=function(e){return _decode(String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,""))},noConflict=function(){var e=global.Base64;return global.Base64=_Base64,e};if(global.Base64={VERSION:version,atob:atob,btoa:btoa,fromBase64:decode,toBase64:encode,utob:utob,encode:encode,encodeURI:encodeURI,btou:btou,decode:decode,noConflict:noConflict,__buffer__:buffer},"function"==typeof Object.defineProperty){var noEnum=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};global.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",noEnum((function(){return decode(this)}))),Object.defineProperty(String.prototype,"toBase64",noEnum((function(e){return encode(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",noEnum((function(){return encode(this,!0)})))}}return global.Meteor&&(Base64=global.Base64),module.exports?module.exports.Base64=global.Base64:(__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return global.Base64}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)),{Base64:global.Base64}}))}).call(this,__webpack_require__("yLpj"))},J6Do:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"DialogActions",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"DialogTitle",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"DialogContent",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"DialogContentText",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withMobileDialog",{enumerable:!0,get:function(){return s.default}});var o=r(n("cSWV")),i=r(n("CFxG")),a=r(n("viCs")),l=r(n("r+0b")),c=r(n("VDLE")),s=r(n("kM5N"))},J7Ao:function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},JB68:function(e,t,n){var r=n("Jes0");e.exports=function(e){return Object(r(e))}},JCqj:function(e,t,n){"use strict";n("OGtf")("sup",(function(e){return function(){return e(this,"sup","","")}}))},JEQr:function(e,t,n){"use strict";(function(t){var r=n("xTJ+"),o=n("yK9s"),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(l=n("tQ2B")),l),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c}).call(this,n("KCCg"))},JEW2:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAuCAYAAABXuSs3AAAK40lEQVRoQ9Wae4xU1R3HP+fcxzz2AYsgLKw8RFRAtJYaRZLWVDSiNrXBNcbER0yDjY+Y/kHtH03VpEkf/qPV2mpTo9EmDSuNhiakvgoGLagUE4WisLgLyLIs7mt2Z+Y+T3Puzh3uzt7ZXaxt4iZkMnfuzP38fuf7e5zfQfAV/SmFmM5PCYGazn1T3TOth6X9SBL0URArOhC0w/7tiONNiNWVL+0B5hdQK65C0QH721EPcxr+yxpyxuAxcAQLYmAPsieLmJVBNJmIBhMx0Dve+y1zUaM+quCj+h1UaxnVsppwP6eNOFMDpg2eBGY7srUJ0VPAaG1CzshzbibH1SiulIILELQJaJICpKCg4BjwCYJ3HYc3+wY53FMgbG0i6CmguIowXoXpGjAleBqwXcAotGGfLdlgKjYKweWAEILI1fpVQ+u/+DW6pj+TKAG7/ZBnOx22NB3Ddb+EAZOCx9C3dCDvbUd8dAjDKWLOy3O1BY8JOD8GTULra+OA6xvxqRuw6d8DvJnJ4686j+DpDtTmdkJt9GTerwseQ3eA1DoedTHNLI2zG/m1gLvGebji5QhYu1W/r8BHD6hZifhaRUpKwfPHijw02MdIg42v9d/O5PCp4Elo9mEMlDGtZubZoc4LfDNNElUvVyShYTVY/IBYPtUVio09bdS/hnzav+jjREsWn5UEk8FPAE+DJkNr1mSbgGW1kojfTymNypOqWk+sQmwMgoOjAetPnqRnKvhUcK3pdedGsWTJDE2WwTbg0vihFf1FQVir8aQBVbnUQMZBm/Z9BHtPOawv9FMAvDcOE2rN1+p9HLj2ts7P3wG5959YDTa2kecJqbizXhCmrUAskfizWOPR9RRP18pHSV7oOs6Doy7upWvwdjCWLpPwE8G3Y8xqwyj1Ys+awTWG5GVt0DhJVB4+DjCROSbouKLnVE9P1LqODeWE3Lyvm9dzc3H7jxE8fBVBKnjs7dY9GMMWdiYgn7V5RyqWJbNCraZjaczMLGdGZjmWbMYLBxhyPqQUdI8FZ5zDp/L4+NU4eOAkax2DYrOH27OaIOn1qscj8O0Yi8DsbSIzw+ZWCX9IFpOkJ8dSmcEFLfeyvOXHNNpLJrQ0A85ePhn4FZ8XN5+OhUqqjBwwmWwE+PCjj07wl7kFnG7wk16PwGu9nbPJGl6URS6rXfbYw1nzLNa1bWVOfs1UjRxHRzbzwck7UZSnpfFqloH3D42wvuRSrvV6FVwXmv3bsWa1YVujXIhgV+SUlDQmhckNS3YyJ6crPbjBEFJYmDJfNcINBjBEDkNmo2vdhZf44OTtqZkoLbtUVloNuVxxIuBA/zHcFVfh6dyutV4Ff3YPpk5/ozmyGY+NwC/rFZqVs+5jzfynIqBQ+bx8aAGN1hKuX7wruuaHRV49vICW7Gq+2/ZG1Zgdx6/mVOmtMfgpZBJ7PQj56acj/LGhRFmnx42r8avgjygk+zDngB245ITgWSG4qVbT8fvvL32PObnLIiClFG9/fisN1kK+NfexijEBO49voCVzCatmP1pdlcPDz/Bx/0Pj9V5rRI1BCl7pPMVGw6bUBy4r8R8RhELru6MDeeLSyOMZwyEf+ryO4qJqyU72GsBdKwpYRuOU2i64h+kafhFESMZowRQNlIMe+so7OFX+B3ozVPV8Mi0mngd83DXMNUGGIuDM24vfrgtSBA5ytAtrcJCsmSOvSnyMoqW2YMR5+PblveTMsycFPzz0IuWgl/Nn3ocpcxPuHXL3safvbgad9+rKJkoEgoHDRS7ySxRnzqTcsLii8zgNrjgP69hRcmYDeRXQKcBORPdYw1T5d92irSxqvrEueNew7sUCFjffOqlxQVhi54n1fFHeMQE+0c+7nYMs9Ucptp1Daf8hvCgtavB79mCuBssLyPkGDUpyUCrsetHe1ngNNyz5++mUk8ALQocPTm7i8nm/ja5+MvA0nUN/4rpFu9HZ6Eihg339P2fdObujYjXqdfPa0WUovHHwUXc85ii3s49lZsCoZVDaA94zOkA1uM4ow19g5xaS9QMacPhQUZFKpWBU29SK/q5sfZyL5zw4waPHCtsQwmBB47XRZ0cLr3JkZAtXznshMvRkcQcHh57kirkvVVPlzp7r6S3q703cgAgY6BzhG6bBaOkI5eazcKPMkgYeOmwTihXj0lZKT7F2/uOsmj0e/kD/75nfeC3N9tIpgze+YW/f/XQO/27crinR3+//bIT1qeC1UgkVTyH4Xm2fEQdnLKFlLbexbuGfGSgfiAKwyV7EZ0NbyFvzmJtfO23wd3s2cLz41+j+autc6W8UbO3u5/5UqegeJRmcfsDdKuDRehqPg3bV7Adwg0EODb0UpTbLaMASOZbOvI01rU9MC1x/f2vXOQRq5DR0YnV9wcMnhnkuNThr0yEOFzoub8Qlf5LtVmoxMYTFjUve5uz8FZPC6+K168QddI9ow09nrWgaMBaYaiRk3ZDPgdR0WFuAHIfGMGRztOtJ0Xa9fjt5b8aYybcXPMfi5h/UhX+/9z4ODT1dha6VIpK9Rwa4JZNhZEIB0jfXlnxL0FD0uDnUI4iU7dl0+wxtyNz8GpbMuIVZ2YuxZAMlvwddUZfOuIPdvT/k85FX6/brfsimwVFe9hSjE0r+WL8xlhLjJsv0yWPQ7BT5G7AkFfQMDKrdh+rfyxotZM3ZFLyD44ZHcUIQ8NmAw41uwLBvUkxtsuKyH7e1ul8JyjR4gu+GIc9ELUVaN5dyLQ2ytlmrZo/xPUk1j1e2bvcMFnjLyDKqZVK3rdWb5HjbpjcSwicfKhrKDr9Qig1fRuu1TVq9zXIyDWoHKcWWfpefScGoMinW3UjEcklu3WSWnBmSt3xmlQKeR7FyUvgpdu+1c5e0PigKTsm+gsNdRUW/LymGZUp1t25V8ITXDZNMziPn2uT9Im1ByHPA4qnGC6lSSU4FJpkGIOgqlLnbtzlmuxRLFqXAx5l0s5z0ejyeyOXJhiE5Q8Mr5nsOT0KlFUjMC+vpP87HlX6pquHa+ytzuv1lxQN+wPHApSglpVKR8pTjiaTXkwOh0CITWOSUT04pZjoeP0FxUxyw9SZX1ZycMHDcmCIu71JLmldGPH4jBIPCpGR4lKSHM+2BUAyfHMEVDWxhkjENshreD8iGsDZ02YRg0YSZYcqwKM2Iite7leCxEY93TIOyhvYDysrHyQe40x7BxeD6VbcB8aRWw2cltuORFXky0ierQnJ+yLVhSLuAVfGwKm1gFE8KKllFj9I+UoIO1+c1ISmFJmVVxMlYlMshroY+46FnPXhdnGjCCktkSpKM8MgIG8tWWF7IwiBAD1guEYLFumAKRb4CWhSCXgFdUvJhINglFUdcgadcPGXh5EIcmcOhgKe9PBV0HDOpvUTaYN8LMa0WLF9h22VsCZaG91ysjIHhGxgqQEqBCMVYyEmFChVKGIRmQOAEBJY9Bh2C52ZxTYHrDeBZEv+/GuzHltQ7Sgk8zMYGTBFgBQGmFWKWQkw7j/SKGEYGIf0x8NBEBQ7KyhO4RcKcxPckvmHgKwNvZBTfsPC/sqOUWnhdWePTNn14dWoWRiaP4esjFgfDsDFCE6kcZOghfTkGboYoaRGKDKH0CQOXwM8QmDa+UySY3U/wlR9eJTU02XGhn0UGGWQwglQlpG0gaK58e1iP6FAiR2g0EhoOoVkm/J8fF9YGwNfugLaeAfr61+JIvN525v/9nxD+A2viLnAOie98AAAAAElFTkSuQmCC"},JEiT:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(!e)return e;for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return t[n]=e[n],t}),{})}},"JS0+":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.convertHexToRGB=i,t.decomposeColor=a,t.recomposeColor=l,t.getContrastRatio=function(e,t){var n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.getLuminance=c,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return c(e)>.5?s(e,t):u(e,t)},t.fade=function(e,t){if(!e)return e;e=a(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,l(e)},t.darken=s,t.lighten=u;r(n("PV3f"));function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function i(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function l(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")&&(n=n.map((function(e,t){return t<3?parseInt(e,10):e}))),-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e.type,"(").concat(n.join(", "),")")}function c(e){var t=a(e);if(-1!==t.type.indexOf("rgb")){var n=t.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*n[0]+.7152*n[1]+.0722*n[2]).toFixed(3))}return t.values[2]/100}function s(e,t){if(!e)return e;if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function u(e,t){if(!e)return e;if(e=a(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return l(e)}},JbBM:function(e,t,n){n("Hfiw"),e.exports=n("WEpk").Object.setPrototypeOf},Jcmo:function(e,t,n){var r=n("XKFU"),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},JduL:function(e,t,n){n("Xtr8")("getOwnPropertyNames",(function(){return n("e7yV").f}))},Jes0:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},JgYk:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},"Ji/l":function(e,t,n){var r=n("XKFU");r(r.G+r.W+r.F*!n("D4iV").ABV,{DataView:n("7Qtz").DataView})},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},Jnur:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.setTranslateValue=k,t.default=void 0;var o=r(n("pVnL")),i=r(n("QILm")),a=r(n("MVZn")),l=r(n("cWOT")),c=r(n("lwsE")),s=r(n("W8MJ")),u=r(n("a1gu")),f=r(n("7W2i")),h=r(n("PJYZ")),p=r(n("q1tI")),d=(r(n("17x9")),r(n("i8i4"))),m=r(n("DKAG")),v=r(n("sEfC")),y=r(n("S3Uj")),g=n("VCL8"),b=r(n("8oxe")),w=r(n("PfIm")),x=n("8jD+"),_=n("foiH");function k(e,t){var n=function(e,t){var n,r=e.direction,o=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var i=(0,b.default)(t).getComputedStyle(t);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var a=0,l=0;if(n&&"none"!==n&&"string"==typeof n){var c=n.split("(")[1].split(")")[0].split(",");a=parseInt(c[4],10),l=parseInt(c[5],10)}return"left"===r?"translateX(100vw) translateX(-".concat(o.left-a,"px)"):"right"===r?"translateX(-".concat(o.left+o.width+24-a,"px)"):"up"===r?"translateY(100vh) translateY(-".concat(o.top-l,"px)"):"translateY(-".concat(o.top+o.height+24-l,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var S=function(e){function t(){var e,n,r;(0,c.default)(this,t);for(var o=arguments.length,i=new Array(o),s=0;s<o;s++)i[s]=arguments[s];return(0,u.default)(r,(n=r=(0,u.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),Object.defineProperty((0,h.default)(r),"mounted",{configurable:!0,enumerable:!0,writable:!0,value:!1}),Object.defineProperty((0,h.default)(r),"transition",{configurable:!0,enumerable:!0,writable:!0,value:null}),Object.defineProperty((0,h.default)(r),"handleResize",{configurable:!0,enumerable:!0,writable:!0,value:(0,v.default)((function(){if(!r.props.in&&"down"!==r.props.direction&&"right"!==r.props.direction){var e=d.default.findDOMNode(r.transition);e&&k(r.props,e)}}),166)}),Object.defineProperty((0,h.default)(r),"handleEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){k(r.props,e),(0,_.reflow)(e),r.props.onEnter&&r.props.onEnter(e)}}),Object.defineProperty((0,h.default)(r),"handleEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=r.props.theme,n=(0,_.getTransitionProps)(r.props,{mode:"enter"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,a.default)({},n,{easing:t.transitions.easing.easeOut})),e.style.transition=t.transitions.create("transform",(0,a.default)({},n,{easing:t.transitions.easing.easeOut})),e.style.webkitTransform="translate(0, 0)",e.style.transform="translate(0, 0)",r.props.onEntering&&r.props.onEntering(e)}}),Object.defineProperty((0,h.default)(r),"handleExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=r.props.theme,n=(0,_.getTransitionProps)(r.props,{mode:"exit"});e.style.webkitTransition=t.transitions.create("-webkit-transform",(0,a.default)({},n,{easing:t.transitions.easing.sharp})),e.style.transition=t.transitions.create("transform",(0,a.default)({},n,{easing:t.transitions.easing.sharp})),k(r.props,e),r.props.onExit&&r.props.onExit(e)}}),Object.defineProperty((0,h.default)(r),"handleExited",{configurable:!0,enumerable:!0,writable:!0,value:function(e){e.style.webkitTransition="",e.style.transition="",r.props.onExited&&r.props.onExited(e)}}),n))}return(0,f.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){this.props.in||this.updatePosition(),this.mounted=!0}},{key:"componentDidUpdate",value:function(e){e.direction===this.props.direction||this.props.in||this.updatePosition()}},{key:"componentWillUnmount",value:function(){this.handleResize.cancel()}},{key:"updatePosition",value:function(){var e=d.default.findDOMNode(this.transition);e&&(e.style.visibility="inherit",k(this.props,e))}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=(t.onEnter,t.onEntering,t.onExit,t.onExited,t.style),l=(t.theme,(0,i.default)(t,["children","onEnter","onEntering","onExit","onExited","style","theme"])),c={};return this.props.in||this.mounted||(c.visibility="hidden"),c=(0,a.default)({},c,r,p.default.isValidElement(n)?n.props.style:{}),p.default.createElement(m.default,{target:"window",onResize:this.handleResize},p.default.createElement(y.default,(0,o.default)({onEnter:this.handleEnter,onEntering:this.handleEntering,onExit:this.handleExit,onExited:this.handleExited,appear:!0,style:c,ref:function(t){e.transition=t}},l),n))}}]),t}(p.default.Component);S.propTypes={},S.defaultProps={direction:"down",timeout:{enter:x.duration.enteringScreen,exit:x.duration.leavingScreen}};var O=(0,w.default)()((0,g.polyfill)(S));t.default=O},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},K7Q1:function(e,t,n){"use strict";t.__esModule=!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?"symbol":typeof e};t.default=s,t.urlUpdateAction=u,t.urlReplaceAction=function(e,t){return u(e,t,c.default.replace)},t.urlPushAction=function(e,t){return u(e,t,c.default.push)},t.urlMultiReplaceInAction=function(e,t){return u(e,t,c.default.multiReplaceIn)},t.urlMultiPushInAction=function(e,t){return u(e,t,c.default.multiPushIn)},t.urlUpdateInAction=f,t.urlReplaceInAction=function(e,t,n){return f(e,t,n,c.default.replaceIn)},t.urlPushInAction=function(e,t,n){return f(e,t,n,c.default.pushIn)};var i,a=n("+MfF"),l=n("pAdL"),c=(i=l)&&i.__esModule?i:{default:i};function s(e){var t=arguments.length<=1||void 0===arguments[1]?function(e){return e}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2];return function(){var i=n.apply(void 0,arguments);return null==i?i={}:"object"!==(void 0===i?"undefined":o(i))&&(i={value:i}),{type:e,meta:r({},i,{urlQuery:!0}),payload:t.apply(void 0,arguments)}}}function u(e){var t=arguments.length<=1||void 0===arguments[1]?function(e){return e}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?c.default.replace:arguments[2];return s(e,(function(e){return{encodedQuery:t(e),decodedQuery:e}}),(function(){return{updateType:n}}))}function f(e,t,n,r){return s(e,(function(e){return{queryParam:t,encodedValue:(0,a.encode)(n,e),decodedValue:e,type:n}}),(function(){return{updateType:r}}))}},KCCg:function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],u=!1,f=-1;function h(){u&&c&&(u=!1,c.length?s=c.concat(s):f=-1,s.length&&p())}function p(){if(!u){var e=l(h);u=!0;for(var t=s.length;t;){for(c=s,s=[];++f<t;)c&&c[f].run();f=-1,t=s.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new d(e,t)),1!==s.length||u||l(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},KKXr:function(e,t,n){"use strict";var r=n("quPj"),o=n("y3w9"),i=n("69bn"),a=n("A5AN"),l=n("ne8i"),c=n("Xxuz"),s=n("Ugos"),u=n("eeVq"),f=Math.min,h=[].push,p="length",d=!u((function(){RegExp(4294967295,"y")}));n("IU+Z")("split",2,(function(e,t,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,l,c=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,d=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=s.call(m,o))&&!((a=m.lastIndex)>f&&(c.push(o.slice(f,i.index)),i[p]>1&&i.index<o[p]&&h.apply(c,i.slice(1)),l=i[0][p],f=a,c[p]>=d));)m.lastIndex===i.index&&m.lastIndex++;return f===o[p]?!l&&m.test("")||c.push(""):c.push(o.slice(f)),c[p]>d?c.slice(0,d):c}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var s=o(e),h=String(this),p=i(s,RegExp),v=s.unicode,y=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(d?"y":"g"),g=new p(d?s:"^(?:"+s.source+")",y),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===h.length)return null===c(g,h)?[h]:[];for(var w=0,x=0,_=[];x<h.length;){g.lastIndex=d?x:0;var k,S=c(g,d?h:h.slice(x));if(null===S||(k=f(l(g.lastIndex+(d?0:x)),h.length))===w)x=a(h,x,v);else{if(_.push(h.slice(w,x)),_.length===b)return _;for(var O=1;O<=S.length-1;O++)if(_.push(S[O]),_.length===b)return _;x=w=k}}return _.push(h.slice(w)),_}]}))},KOQb:function(e,t,n){"use strict";var r=n("XKFU"),o=n("2OiF"),i=n("m0Pp"),a=n("SlkY");e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,l,c=arguments[1];return o(this),(t=void 0!==c)&&o(c),null==e?new this:(n=[],t?(r=0,l=i(c,arguments[2],2),a(e,!1,(function(e){n.push(l(e,r++))}))):a(e,!1,n.push,n),new this(n))}})}},KSrF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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.default=function e(t){if(null==t)return t;var n=void 0===t?"undefined":r(t);if("string"===n||"number"===n||"function"===n)return t;if(l(t))return t.map(e);if((0,a.default)(t))return t;var o={};for(var i in t){var c=t[i];"object"!==(void 0===c?"undefined":r(c))?o[i]=c:o[i]=e(c)}return o};var o,i=n("UCXN"),a=(o=i)&&o.__esModule?o:{default:o};var l=Array.isArray},KUxP:function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},KWko:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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=c(n("3SYV")),i=c(n("1Vz1")),a=c(n("Rx9b")),l=c(n("uIix"));function c(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t=void 0;return function(){return t||(t=e()),t}};function u(e,t){try{return e.style.getPropertyValue(t)}catch(e){return""}}function f(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=(0,l.default)(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.style.setProperty(t,r)}catch(e){return!1}return!0}function h(e,t){try{e.style.removeProperty(t)}catch(e){(0,o.default)(!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',e.message,t)}}var p,d=1,m=7,v=(p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.substr(t,e.indexOf("{")-1)},function(e){if(e.type===d)return e.selectorText;if(e.type===m){var t=e.name;if(t)return"@keyframes "+t;var n=e.cssText;return"@"+p(n,n.indexOf("keyframes"))}return p(e.cssText)});function y(e,t){return e.selectorText=t,e.selectorText===t}var g,b,w=s((function(){return document.head||document.getElementsByTagName("head")[0]})),x=(g=void 0,b=!1,function(e){var t={};g||(g=document.createElement("style"));for(var n=0;n<e.length;n++){var r=e[n];if(r instanceof a.default){var o=r.selector;if(o&&-1!==o.indexOf("\\")){b||(w().appendChild(g),b=!0),g.textContent=o+" {}";var i=g.sheet;if(i){var l=i.cssRules;l&&(t[l[0].selectorText]=r.key)}}}}return b&&(w().removeChild(g),b=!1),t});function _(e){var t=i.default.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n)return n.renderer.element;if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))return n.renderer.element.nextElementSibling}var r=e.insertionPoint;if(r&&"string"==typeof r){var a=function(e){for(var t=w(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(a)return a.nextSibling;(0,o.default)("jss"===r,'[JSS] Insertion point "%s" not found.',r)}return null}var k=s((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),S=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.getPropertyValue=u,this.setProperty=f,this.removeProperty=h,this.setSelector=y,this.getKey=v,this.getUnescapedKeysMap=x,this.hasInsertedRules=!1,t&&i.default.add(t),this.sheet=t;var n=this.sheet?this.sheet.options:{},r=n.media,o=n.meta,a=n.element;this.element=a||document.createElement("style"),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),o&&this.element.setAttribute("data-meta",o);var l=k();l&&this.element.setAttribute("nonce",l)}return r(e,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),function(e,t){var n=t.insertionPoint,r=_(t);if(r){var i=r.parentNode;i&&i.insertBefore(e,r)}else if(n&&"number"==typeof n.nodeType){var a=n,l=a.parentNode;l?l.insertBefore(e,a.nextSibling):(0,o.default)(!1,"[JSS] Insertion point is not in the DOM.")}else w().insertBefore(e,r)}(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(e,t){var n=this.element.sheet,r=n.cssRules,i=e.toString();if(t||(t=r.length),!i)return!1;try{n.insertRule(i,t)}catch(t){return(0,o.default)(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)}},{key:"indexOf",value:function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1}},{key:"replaceRule",value:function(e,t){var n=this.indexOf(e),r=this.insertRule(t,n);return this.element.sheet.deleteRule(n),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),e}();t.default=S},KYhp:function(e,t,n){"use strict";t.__esModule=!0;var r=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"),i=c(o),a=c(n("17x9")),l=c(n("q0cm"));function c(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f(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 h=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"render",value:function(){var e=this,t=this.context.router,n=this.props.routerContext;return void 0===n?i.default.createElement(p,{router:t},i.default.Children.only(this.props.children)):i.default.createElement(n.Consumer,null,(function(t){return i.default.createElement(p,{router:t},i.default.Children.only(e.props.children))}))}}]),t}(o.Component);h.propTyps={routerContext:a.default.object},h.contextTypes={router:a.default.object},t.default=h;var p=function(e){function t(){return s(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),r(t,[{key:"componentWillMount",value:function(){var e=this.props.router;var t=void 0;e.history&&e.history.push&&e.history.replace?t=e.history:e.push&&e.replace?t=e:e.transitionTo&&e.replaceWith&&(t={push:e.transitionTo,replace:e.replaceWith}),(0,l.default)({history:t})}},{key:"render",value:function(){var e=this.props.children;return i.default.Children.only(e)}}]),t}(o.Component);p.propTypes={children:a.default.node,router:a.default.object}},KfNM:function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},Kgbp:function(e,t,n){e.exports=n("0tVQ")},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),l=n("+lvF"),c=(""+l).split("toString");n("g3g5").inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,l){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:l?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||l.call(this)}))},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),l=function(){},c=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},Kwbf:function(e,t,n){"use strict";var r={};function o(e,t){0}function i(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}t.a=function(e,t){i(o,e,t)}},Kx9E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),e}();t.default=o},Kz5y:function(e,t,n){var r=n("WFqU"),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},"L/Qf":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("HbLn")},L3jF:function(e,t,n){var r=n("XKFU");r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,i=n>>>0;return(t>>>0)-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},L9s1:function(e,t,n){"use strict";var r=n("XKFU"),o=n("0sh+");r(r.P+r.F*n("UUeW")("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"LC8+":function(e,t,n){},LFwo:function(e,t,n){"use strict";t.__esModule=!0,t.subqueryOmit=t.subquery=t.urlQueryReducer=t.urlQueryMiddleware=t.urlMultiPushInAction=t.urlMultiReplaceInAction=t.urlPushInAction=t.urlReplaceInAction=t.urlPushAction=t.urlReplaceAction=t.urlAction=t.multiPushInUrlQueryFromAction=t.pushUrlQueryFromAction=t.pushInUrlQueryFromAction=t.multiReplaceInUrlQueryFromAction=t.replaceUrlQueryFromAction=t.replaceInUrlQueryFromAction=t.RouterToUrlQuery=t.addUrlProps=t.UrlUpdateTypes=t.UrlQueryParamTypes=t.urlQueryEncoder=t.urlQueryDecoder=t.multiPushInUrlQuery=t.multiReplaceInUrlQuery=t.pushUrlQuery=t.pushInUrlQuery=t.replaceUrlQuery=t.replaceInUrlQuery=t.decode=t.encode=t.Serialize=t.configureUrlQuery=void 0;var r=n("+MfF");Object.defineProperty(t,"encode",{enumerable:!0,get:function(){return r.encode}}),Object.defineProperty(t,"decode",{enumerable:!0,get:function(){return r.decode}});var o=n("5fYu");Object.defineProperty(t,"replaceInUrlQuery",{enumerable:!0,get:function(){return o.replaceInUrlQuery}}),Object.defineProperty(t,"replaceUrlQuery",{enumerable:!0,get:function(){return o.replaceUrlQuery}}),Object.defineProperty(t,"pushInUrlQuery",{enumerable:!0,get:function(){return o.pushInUrlQuery}}),Object.defineProperty(t,"pushUrlQuery",{enumerable:!0,get:function(){return o.pushUrlQuery}}),Object.defineProperty(t,"multiReplaceInUrlQuery",{enumerable:!0,get:function(){return o.multiReplaceInUrlQuery}}),Object.defineProperty(t,"multiPushInUrlQuery",{enumerable:!0,get:function(){return o.multiPushInUrlQuery}});var i=n("Mos3");Object.defineProperty(t,"replaceInUrlQueryFromAction",{enumerable:!0,get:function(){return i.replaceInUrlQueryFromAction}}),Object.defineProperty(t,"replaceUrlQueryFromAction",{enumerable:!0,get:function(){return i.replaceUrlQueryFromAction}}),Object.defineProperty(t,"multiReplaceInUrlQueryFromAction",{enumerable:!0,get:function(){return i.multiReplaceInUrlQueryFromAction}}),Object.defineProperty(t,"pushInUrlQueryFromAction",{enumerable:!0,get:function(){return i.pushInUrlQueryFromAction}}),Object.defineProperty(t,"pushUrlQueryFromAction",{enumerable:!0,get:function(){return i.pushUrlQueryFromAction}}),Object.defineProperty(t,"multiPushInUrlQueryFromAction",{enumerable:!0,get:function(){return i.multiPushInUrlQueryFromAction}});var a=n("K7Q1");Object.defineProperty(t,"urlReplaceAction",{enumerable:!0,get:function(){return a.urlReplaceAction}}),Object.defineProperty(t,"urlPushAction",{enumerable:!0,get:function(){return a.urlPushAction}}),Object.defineProperty(t,"urlReplaceInAction",{enumerable:!0,get:function(){return a.urlReplaceInAction}}),Object.defineProperty(t,"urlPushInAction",{enumerable:!0,get:function(){return a.urlPushInAction}}),Object.defineProperty(t,"urlMultiReplaceInAction",{enumerable:!0,get:function(){return a.urlMultiReplaceInAction}}),Object.defineProperty(t,"urlMultiPushInAction",{enumerable:!0,get:function(){return a.urlMultiPushInAction}});var l=w(n("q0cm")),c=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}(r),s=w(n("qw/J")),u=w(n("a4qL")),f=w(n("tOWm")),h=w(n("pAdL")),p=w(n("pqSw")),d=w(n("KYhp")),m=w(a),v=w(n("QB/3")),y=w(n("rnRR")),g=w(n("JEiT")),b=w(n("Ur2m"));function w(e){return e&&e.__esModule?e:{default:e}}t.configureUrlQuery=l.default,t.Serialize=c,t.urlQueryDecoder=s.default,t.urlQueryEncoder=u.default,t.UrlQueryParamTypes=f.default,t.UrlUpdateTypes=h.default,t.addUrlProps=p.default,t.RouterToUrlQuery=d.default,t.urlAction=m.default,t.urlQueryMiddleware=v.default,t.urlQueryReducer=y.default,t.subquery=g.default,t.subqueryOmit=b.default},LIAx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){function o(t){var r=new i.default(t);n.call(e,r)}if(e.addEventListener){var a=(l=!1,"object"==typeof r?l=r.capture||!1:"boolean"==typeof r&&(l=r),e.addEventListener(t,o,r||!1),{v:{remove:function(){e.removeEventListener(t,o,l)}}});if("object"==typeof a)return a.v}else if(e.attachEvent)return e.attachEvent("on"+t,o),{remove:function(){e.detachEvent("on"+t,o)}};var l};var r,o=n("E0u0"),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},LK8F:function(e,t,n){var r=n("XKFU");r(r.S,"Array",{isArray:n("EWmC")})},LLoX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Vimeo=void 0;var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==c(e)&&"function"!=typeof e)return{default:e};var t=l();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("q1tI")),i=n("tbWI"),a=(r=n("LVMo"))&&r.__esModule?r:{default:r};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}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 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 u(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 h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var g=/vimeo\.com\/.+/,b=/vimeo\.com\/external\/[0-9]+\..+/,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)}(c,e);var t,n,r,a,l=(t=c,function(){var e,n=m(t);if(d()){var r=m(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return h(this,e)});function c(){var e;u(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(p(e=l.call.apply(l,[this].concat(n))),"callPlayer",i.callPlayer),y(p(e),"duration",null),y(p(e),"currentTime",null),y(p(e),"secondsLoaded",null),y(p(e),"mute",(function(){e.setVolume(0)})),y(p(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),y(p(e),"ref",(function(t){e.container=t})),e}return n=c,(r=[{key:"load",value:function(e){var t=this;this.duration=null,(0,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){t.container&&(t.player=new n.Player(t.container,function(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){y(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}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},t.props.config.vimeo.playerOptions)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%"})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})))}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}])&&f(n.prototype,r),a&&f(n,a),c}(o.Component);t.Vimeo=w,y(w,"displayName","Vimeo"),y(w,"forceLoad",!0),y(w,"canPlay",(function(e){return!b.test(e)&&g.test(e)}));var x=(0,a.default)(w);t.default=x},LQAc:function(e,t){e.exports=!1},LTTk:function(e,t,n){var r=n("XKFU"),o=n("OP3Y"),i=n("y3w9");r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},LVMo:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n;return n=t=function(t){!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)}(c,t);var n,r=(n=c,function(){var e,t=g(n);if(y()){var r=g(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return m(this,e)});function c(){var e;p(this,c);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return w(v(e=r.call.apply(r,[this].concat(n))),"config",(0,a.getConfig)(e.props,i.defaultProps,!0)),w(v(e),"getDuration",(function(){return e.player?e.player.getDuration():null})),w(v(e),"getCurrentTime",(function(){return e.player?e.player.getCurrentTime():null})),w(v(e),"getSecondsLoaded",(function(){return e.player?e.player.getSecondsLoaded():null})),w(v(e),"getInternalPlayer",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return e.player?e.player.getInternalPlayer(t):null})),w(v(e),"seekTo",(function(t,n){if(!e.player)return null;e.player.seekTo(t,n)})),w(v(e),"ref",(function(t){e.player=t})),e}return function(e,t,n){t&&d(e.prototype,t);n&&d(e,n)}(c,[{key:"shouldComponentUpdate",value:function(e){return!(0,a.isEqual)(this.props,e)}},{key:"componentDidUpdate",value:function(){this.config=(0,a.getConfig)(this.props,i.defaultProps)}},{key:"render",value:function(){var t=this.config.file,n=t.forceVideo,r=t.forceAudio,c=t.forceHLS,s=t.forceDASH,f=n||r||c||s;if(!e.canPlay(this.props.url)&&!f)return null;var p=this.props,d=p.style,m=p.width,v=p.height,y=p.wrapper,g=(0,a.omit)(this.props,x,i.DEPRECATED_CONFIG_PROPS);return o.default.createElement(y,u({style:h({},d,{width:m,height:v})},g),o.default.createElement(l.default,u({},this.props,{ref:this.ref,activePlayer:e,config:this.config})))}}]),c}(o.Component),w(t,"displayName","".concat(e.displayName,"Player")),w(t,"propTypes",i.propTypes),w(t,"defaultProps",i.defaultProps),w(t,"canPlay",e.canPlay),n};var r,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(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 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("q1tI")),i=n("QXAm"),a=n("tbWI"),l=(r=n("q+qS"))&&r.__esModule?r:{default:r};function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=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 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,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 h(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){w(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}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!t||"object"!==s(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 y(){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 g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}var x=Object.keys(i.propTypes)},LVwc:function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},LWYa:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("17x9"),a=n.n(i),l=n("QLaP"),c=n.n(l);function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 f=function(e){function t(){return s(this,t),u(this,e.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),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){c()(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(o.a.Component);f.propTypes={when:a.a.bool,message:a.a.oneOfType([a.a.func,a.a.string]).isRequired},f.defaultProps={when:!0},f.contextTypes={router:a.a.shape({history:a.a.shape({block:a.a.func.isRequired}).isRequired}).isRequired},t.a=f},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},LZWt:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},LacO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};t.default=r},Lgjv:function(e,t,n){var r=n("ne8i"),o=n("l0Rn"),i=n("vhPU");e.exports=function(e,t,n,a){var l=String(i(e)),c=l.length,s=void 0===n?" ":String(n),u=r(t);if(u<=c||""==s)return l;var f=u-c,h=o.call(s,Math.ceil(f/s.length));return h.length>f&&(h=h.slice(0,f)),a?h+l:l+h}},LhCv:function(e,t,n){"use strict";function r(){return(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}).apply(this,arguments)}function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),n.d(t,"createBrowserHistory",(function(){return _})),n.d(t,"createHashHistory",(function(){return T})),n.d(t,"createMemoryHistory",(function(){return z})),n.d(t,"createLocation",(function(){return v})),n.d(t,"locationsAreEqual",(function(){return y})),n.d(t,"parsePath",(function(){return d})),n.d(t,"createPath",(function(){return m}));var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],l=e&&o(e),c=t&&o(t),s=l||c;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var f=0,h=a.length;h>=0;h--){var p=a[h];"."===p?i(a,h):".."===p?(i(a,h),f++):f&&(i(a,h),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var s=function(e,t){if(!e)throw new Error("Invariant failed")};function u(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function d(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}function m(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function v(e,t,n,o){var i;"string"==typeof e?(i=d(e)).state=t:(void 0===(i=r({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function y(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&c(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function w(e,t){t(window.confirm(e))}function x(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),b||s(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,l=a.forceRefresh,c=void 0!==l&&l,f=a.getUserConfirmation,d=void 0===f?w:f,y=a.keyLength,_=void 0===y?6:y,k=e.basename?p(u(e.basename)):"";function S(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return k&&(i=h(i,k)),v(i,r,n)}function O(){return Math.random().toString(36).substr(2,_)}var M=g();function T(e){r(I,e),I.length=n.length,M.notifyListeners(I.location,I.action)}function E(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(S(e.state))}function z(){P(S(x()))}var C=!1;function P(e){if(C)C=!1,T();else{M.confirmTransitionTo(e,"POP",d,(function(t){t?T({action:"POP",location:e}):function(e){var t=I.location,n=j.indexOf(t.key);-1===n&&(n=0);var r=j.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(C=!0,N(o))}(e)}))}}var A=S(x()),j=[A.key];function L(e){return k+m(e)}function N(e){n.go(e)}var H=0;function R(e){1===(H+=e)&&1===e?(window.addEventListener("popstate",E),i&&window.addEventListener("hashchange",z)):0===H&&(window.removeEventListener("popstate",E),i&&window.removeEventListener("hashchange",z))}var V=!1;var I={length:n.length,action:"POP",location:A,createHref:L,push:function(e,t){var r=v(e,t,O(),I.location);M.confirmTransitionTo(r,"PUSH",d,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(o)if(n.pushState({key:i,state:a},null,t),c)window.location.href=t;else{var l=j.indexOf(I.location.key),s=j.slice(0,l+1);s.push(r.key),j=s,T({action:"PUSH",location:r})}else window.location.href=t}}))},replace:function(e,t){var r=v(e,t,O(),I.location);M.confirmTransitionTo(r,"REPLACE",d,(function(e){if(e){var t=L(r),i=r.key,a=r.state;if(o)if(n.replaceState({key:i,state:a},null,t),c)window.location.replace(t);else{var l=j.indexOf(I.location.key);-1!==l&&(j[l]=r.key),T({action:"REPLACE",location:r})}else window.location.replace(t)}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return V||(R(1),V=!0),function(){return V&&(V=!1,R(-1)),t()}},listen:function(e){var t=M.appendListener(e);return R(1),function(){R(-1),t()}}};return I}var k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:u},slash:{encodePath:u,decodePath:u}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function O(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function M(e){window.location.replace(S(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),b||s(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?w:o,a=n.hashType,l=void 0===a?"slash":a,c=e.basename?p(u(e.basename)):"",f=k[l],d=f.encodePath,y=f.decodePath;function x(){var e=y(O());return c&&(e=h(e,c)),v(e)}var _=g();function T(e){r(I,e),I.length=t.length,_.notifyListeners(I.location,I.action)}var E=!1,z=null;function C(){var e,t,n=O(),r=d(n);if(n!==r)M(r);else{var o=x(),a=I.location;if(!E&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(z===m(o))return;z=null,function(e){if(E)E=!1,T();else{_.confirmTransitionTo(e,"POP",i,(function(t){t?T({action:"POP",location:e}):function(e){var t=I.location,n=L.lastIndexOf(m(t));-1===n&&(n=0);var r=L.lastIndexOf(m(e));-1===r&&(r=0);var o=n-r;o&&(E=!0,N(o))}(e)}))}}(o)}}var P=O(),A=d(P);P!==A&&M(A);var j=x(),L=[m(j)];function N(e){t.go(e)}var H=0;function R(e){1===(H+=e)&&1===e?window.addEventListener("hashchange",C):0===H&&window.removeEventListener("hashchange",C)}var V=!1;var I={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+d(c+m(e))},push:function(e,t){var n=v(e,void 0,void 0,I.location);_.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=m(n),r=d(c+t);if(O()!==r){z=t,function(e){window.location.hash=e}(r);var o=L.lastIndexOf(m(I.location)),i=L.slice(0,o+1);i.push(t),L=i,T({action:"PUSH",location:n})}else T()}}))},replace:function(e,t){var n=v(e,void 0,void 0,I.location);_.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=m(n),r=d(c+t);O()!==r&&(z=t,M(r));var o=L.indexOf(m(I.location));-1!==o&&(L[o]=t),T({action:"REPLACE",location:n})}}))},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return V||(R(1),V=!0),function(){return V&&(V=!1,R(-1)),t()}},listen:function(e){var t=_.appendListener(e);return R(1),function(){R(-1),t()}}};return I}function E(e,t,n){return Math.min(Math.max(e,t),n)}function z(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,l=void 0===a?0:a,c=t.keyLength,s=void 0===c?6:c,u=g();function f(e){r(w,e),w.length=w.entries.length,u.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,s)}var p=E(l,0,i.length-1),d=i.map((function(e){return v(e,void 0,"string"==typeof e?h():e.key||h())})),y=m;function b(e){var t=E(w.index+e,0,w.entries.length-1),r=w.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:d.length,action:"POP",location:d[p],index:p,entries:d,createHref:y,push:function(e,t){var r=v(e,t,h(),w.location);u.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=v(e,t,h(),w.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return w}},Ljet:function(e,t,n){var r=n("XKFU");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},LlR5:function(e,t,n){"use strict";n.d(t,"b",(function(){return b}));var r=n("q1tI"),o=n("VCL8"),i=n("TSYQ"),a=n.n(i),l=n("CtXQ"),c=n("CWQg"),s=n("mh/l");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(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){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 m(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 v(){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 y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=Object(c.a)("text","input");function b(e){return!!(e.prefix||e.suffix||e.allowClear)}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&&d(e,t)}(u,e);var t,n,o,i,c=(t=u,function(){var e,n=y(t);if(v()){var r=y(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return m(this,e)});function u(){return h(this,u),c.apply(this,arguments)}return n=u,(o=[{key:"renderClearIcon",value:function(e){var t=this.props,n=t.allowClear,o=t.value,i=t.disabled,a=t.readOnly,c=t.inputType,s=t.handleReset;if(!n||i||a||null==o||""===o)return null;var u=c===g[0]?"".concat(e,"-textarea-clear-icon"):"".concat(e,"-clear-icon");return r.createElement(l.default,{type:"close-circle",theme:"filled",onClick:s,className:u,role:"button"})}},{key:"renderSuffix",value:function(e){var t=this.props,n=t.suffix,o=t.allowClear;return n||o?r.createElement("span",{className:"".concat(e,"-suffix")},this.renderClearIcon(e),n):null}},{key:"renderLabeledIcon",value:function(e,t){var n,o=this.props,i=this.renderSuffix(e);if(!b(o))return r.cloneElement(t,{value:o.value});var l=o.prefix?r.createElement("span",{className:"".concat(e,"-prefix")},o.prefix):null,c=a()(o.className,"".concat(e,"-affix-wrapper"),(f(n={},"".concat(e,"-affix-wrapper-sm"),"small"===o.size),f(n,"".concat(e,"-affix-wrapper-lg"),"large"===o.size),f(n,"".concat(e,"-affix-wrapper-input-with-clear-btn"),o.suffix&&o.allowClear&&this.props.value),n));return r.createElement("span",{className:c,style:o.style},l,r.cloneElement(t,{style:null,value:o.value,className:Object(s.c)(e,o.size,o.disabled)}),i)}},{key:"renderInputWithLabel",value:function(e,t){var n,o=this.props,i=o.addonBefore,l=o.addonAfter,c=o.style,s=o.size,u=o.className;if(!i&&!l)return t;var h="".concat(e,"-group"),p="".concat(h,"-addon"),d=i?r.createElement("span",{className:p},i):null,m=l?r.createElement("span",{className:p},l):null,v=a()("".concat(e,"-wrapper"),f({},h,i||l)),y=a()(u,"".concat(e,"-group-wrapper"),(f(n={},"".concat(e,"-group-wrapper-sm"),"small"===s),f(n,"".concat(e,"-group-wrapper-lg"),"large"===s),n));return r.createElement("span",{className:y,style:c},r.createElement("span",{className:v},d,r.cloneElement(t,{style:null}),m))}},{key:"renderTextAreaWithClearIcon",value:function(e,t){var n=this.props,o=n.value,i=n.allowClear,l=n.className,c=n.style;if(!i)return r.cloneElement(t,{value:o});var s=a()(l,"".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"));return r.createElement("span",{className:s,style:c},r.cloneElement(t,{style:null,value:o}),this.renderClearIcon(e))}},{key:"renderClearableLabeledInput",value:function(){var e=this.props,t=e.prefixCls,n=e.inputType,r=e.element;return n===g[0]?this.renderTextAreaWithClearIcon(t,r):this.renderInputWithLabel(t,this.renderLabeledIcon(t,r))}},{key:"render",value:function(){return this.renderClearableLabeledInput()}}])&&p(n.prototype,o),i&&p(n,i),u}(r.Component);Object(o.polyfill)(w),t.a=w},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},LsAJ:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("MVZn")),c=r(n("q1tI")),s=(r(n("17x9")),r(n("TSYQ"))),u=(r(n("PV3f")),r(n("d05B"))),f=function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,l.default)({root:{backgroundColor:e.palette.background.paper},rounded:{borderRadius:2}},t)};function h(e){var t=e.classes,n=e.className,r=e.component,l=e.square,u=e.elevation,f=(0,a.default)(e,["classes","className","component","square","elevation"]),h=(0,s.default)(t.root,t["elevation".concat(u)],(0,i.default)({},t.rounded,!l),n);return c.default.createElement(r,(0,o.default)({className:h},f))}t.styles=f,h.propTypes={},h.defaultProps={component:"div",elevation:2,square:!1};var p=(0,u.default)(f,{name:"MuiPaper"})(h);t.default=p},Lusz:function(e,t,n){"use strict";t.__esModule=!0,t.default={addUrlChangeHandlers:!0,addRouterParams:!0,changeHandlerName:function(e){return"onChange"+e[0].toUpperCase()+e.substring(1)},history:{push:function(){console.error("No history provided to react-url-query. Please provide one via configureUrlQuery.")},replace:function(){console.error("No history provided to react-url-query. Please provide one via configureUrlQuery.")}},readLocationFromStore:function(e){if(e&&e.routing)return e.routing.locationBeforeTransitions},entrySeparator:"_",keyValSeparator:"-"}},LyE8:function(e,t,n){"use strict";var r=n("eeVq");e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},M1xp:function(e,t,n){var r=n("a0xu");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},M55E:function(e,t,n){var r;(function(){function o(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var i={},a={},l={},c=o(!0),s="vanilla",u={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:o(!0),allOn:function(){"use strict";var e=o(!0),t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=!0);return t}()};function f(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",r={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var o=0;o<e.length;++o){var a=n+" sub-extension "+o+": ",l=e[o];if("object"!=typeof l)return r.valid=!1,r.error=a+"must be an object, but "+typeof l+" given",r;if(!i.helper.isString(l.type))return r.valid=!1,r.error=a+'property "type" must be a string, but '+typeof l.type+" given",r;var c=l.type=l.type.toLowerCase();if("language"===c&&(c=l.type="lang"),"html"===c&&(c=l.type="output"),"lang"!==c&&"output"!==c&&"listener"!==c)return r.valid=!1,r.error=a+"type "+c+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',r;if("listener"===c){if(i.helper.isUndefined(l.listeners))return r.valid=!1,r.error=a+'. Extensions of type "listener" must have a property called "listeners"',r}else if(i.helper.isUndefined(l.filter)&&i.helper.isUndefined(l.regex))return r.valid=!1,r.error=a+c+' extensions must define either a "regex" property or a "filter" method',r;if(l.listeners){if("object"!=typeof l.listeners)return r.valid=!1,r.error=a+'"listeners" property must be an object but '+typeof l.listeners+" given",r;for(var s in l.listeners)if(l.listeners.hasOwnProperty(s)&&"function"!=typeof l.listeners[s])return r.valid=!1,r.error=a+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+s+" must be a function but "+typeof l.listeners[s]+" given",r}if(l.filter){if("function"!=typeof l.filter)return r.valid=!1,r.error=a+'"filter" must be a function, but '+typeof l.filter+" given",r}else if(l.regex){if(i.helper.isString(l.regex)&&(l.regex=new RegExp(l.regex,"g")),!(l.regex instanceof RegExp))return r.valid=!1,r.error=a+'"regex" property must either be a string or a RegExp object, but '+typeof l.regex+" given",r;if(i.helper.isUndefined(l.replace))return r.valid=!1,r.error=a+'"regex" extensions must implement a replace string or function',r}}return r}function h(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}i.helper={},i.extensions={},i.setOption=function(e,t){"use strict";return c[e]=t,this},i.getOption=function(e){"use strict";return c[e]},i.getOptions=function(){"use strict";return c},i.resetOptions=function(){"use strict";c=o(!0)},i.setFlavor=function(e){"use strict";if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");i.resetOptions();var t=u[e];for(var n in s=e,t)t.hasOwnProperty(n)&&(c[n]=t[n])},i.getFlavor=function(){"use strict";return s},i.getFlavorOptions=function(e){"use strict";if(u.hasOwnProperty(e))return u[e]},i.getDefaultOptions=function(e){"use strict";return o(e)},i.subParser=function(e,t){"use strict";if(i.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},i.extension=function(e,t){"use strict";if(!i.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=i.helper.stdExtName(e),i.helper.isUndefined(t)){if(!l.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return l[e]}"function"==typeof t&&(t=t()),i.helper.isArray(t)||(t=[t]);var n=f(t,e);if(!n.valid)throw Error(n.error);l[e]=t},i.getAllExtensions=function(){"use strict";return l},i.removeExtension=function(e){"use strict";delete l[e]},i.resetExtensions=function(){"use strict";l={}},i.validateExtension=function(e){"use strict";var t=f(e,null);return!!t.valid||(console.warn(t.error),!1)},i.hasOwnProperty("helper")||(i.helper={}),i.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},i.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},i.helper.isArray=function(e){"use strict";return Array.isArray(e)},i.helper.isUndefined=function(e){"use strict";return void 0===e},i.helper.forEach=function(e,t){"use strict";if(i.helper.isUndefined(e))throw new Error("obj param is required");if(i.helper.isUndefined(t))throw new Error("callback param is required");if(!i.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(i.helper.isArray(e))for(var n=0;n<e.length;n++)t(e[n],n,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var r in e)e.hasOwnProperty(r)&&t(e[r],r,e)}},i.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},i.helper.escapeCharactersCallback=h,i.helper.escapeCharacters=function(e,t,n){"use strict";var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var o=new RegExp(r,"g");return e=e.replace(o,h)},i.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var p=function(e,t,n,r){"use strict";var o,i,a,l,c,s=r||"",u=s.indexOf("g")>-1,f=new RegExp(t+"|"+n,"g"+s.replace(/g/g,"")),h=new RegExp(t,s.replace(/g/g,"")),p=[];do{for(o=0;a=f.exec(e);)if(h.test(a[0]))o++||(l=(i=f.lastIndex)-a[0].length);else if(o&&!--o){c=a.index+a[0].length;var d={left:{start:l,end:i},match:{start:i,end:a.index},right:{start:a.index,end:c},wholeMatch:{start:l,end:c}};if(p.push(d),!u)return p}}while(o&&(f.lastIndex=i));return p};i.helper.matchRecursiveRegExp=function(e,t,n,r){"use strict";for(var o=p(e,t,n,r),i=[],a=0;a<o.length;++a)i.push([e.slice(o[a].wholeMatch.start,o[a].wholeMatch.end),e.slice(o[a].match.start,o[a].match.end),e.slice(o[a].left.start,o[a].left.end),e.slice(o[a].right.start,o[a].right.end)]);return i},i.helper.replaceRecursiveRegExp=function(e,t,n,r,o){"use strict";if(!i.helper.isFunction(t)){var a=t;t=function(){return a}}var l=p(e,n,r,o),c=e,s=l.length;if(s>0){var u=[];0!==l[0].wholeMatch.start&&u.push(e.slice(0,l[0].wholeMatch.start));for(var f=0;f<s;++f)u.push(t(e.slice(l[f].wholeMatch.start,l[f].wholeMatch.end),e.slice(l[f].match.start,l[f].match.end),e.slice(l[f].left.start,l[f].left.end),e.slice(l[f].right.start,l[f].right.end))),f<s-1&&u.push(e.slice(l[f].wholeMatch.end,l[f+1].wholeMatch.start));l[s-1].wholeMatch.end<e.length&&u.push(e.slice(l[s-1].wholeMatch.end)),c=u.join("")}return c},i.helper.regexIndexOf=function(e,t,n){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var r=e.substring(n||0).search(t);return r>=0?r+(n||0):r},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},i.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},i.Converter=function(e){"use strict";var t={},n=[],r=[],o={},a=s,h={parsed:{},raw:"",format:""};function p(e,t){if(t=t||null,i.helper.isString(e)){if(t=e=i.helper.stdExtName(e),i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new i.Converter));i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a)switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(i.extensions[e],e);if(i.helper.isUndefined(l[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=l[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var o=f(e,t);if(!o.valid)throw Error(o.error);for(var a=0;a<e.length;++a){switch(e[a].type){case"lang":n.push(e[a]);break;case"output":r.push(e[a])}if(e[a].hasOwnProperty("listeners"))for(var c in e[a].listeners)e[a].listeners.hasOwnProperty(c)&&d(c,e[a].listeners[c])}}function d(e,t){if(!i.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)}!function(){for(var n in e=e||{},c)c.hasOwnProperty(n)&&(t[n]=c[n]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.extensions&&i.helper.forEach(t.extensions,p)}(),this._dispatch=function(e,t,n,r){if(o.hasOwnProperty(e))for(var i=0;i<o[e].length;++i){var a=o[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return d(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:n,outputModifiers:r,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=i.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),i.helper.forEach(n,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),e=i.subParser("metadata")(e,t,o),e=i.subParser("hashPreCodeTags")(e,t,o),e=i.subParser("githubCodeBlocks")(e,t,o),e=i.subParser("hashHTMLBlocks")(e,t,o),e=i.subParser("hashCodeTags")(e,t,o),e=i.subParser("stripLinkDefinitions")(e,t,o),e=i.subParser("blockGamut")(e,t,o),e=i.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=i.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=i.subParser("completeHTMLDocument")(e,t,o),i.helper.forEach(r,(function(n){e=i.subParser("runExtension")(n,e,t,o)})),h=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],r=0;r<t.length;++r)if(1===t[r].childElementCount&&"code"===t[r].firstChild.tagName.toLowerCase()){var o=t[r].firstChild.innerHTML.trim(),a=t[r].firstChild.getAttribute("data-language")||"";if(""===a)for(var l=t[r].firstChild.className.split(" "),c=0;c<l.length;++c){var s=l[c].match(/^language-(.+)$/);if(null!==s){a=s[1];break}}o=i.helper.unescapeHTMLEntities(o),n.push(o),t[r].outerHTML='<precode language="'+a+'" precodenum="'+r.toString()+'"></precode>'}else n.push(t[r].innerHTML),t[r].innerHTML="",t[r].setAttribute("prenum",r.toString());return n}(n)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(n);for(var o=n.childNodes,a="",l=0;l<o.length;l++)a+=i.subParser("makeMarkdown.node")(o[l],r);return a},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){p(e,t=t||null)},this.useExtension=function(e){p(e)},this.setFlavor=function(e){if(!u.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=u[e];for(var r in a=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){i.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],a=0;a<n.length;++a)n[a]===o&&n[a].splice(a,1);for(;0<r.length;++a)r[0]===o&&r[0].splice(a,1)}},this.getAllExtensions=function(){return{language:n,output:r}},this.getMetadata=function(e){return e?h.raw:h.parsed},this.getMetadataFormat=function(){return h.format},this._setMetadataPair=function(e,t){h.parsed[e]=t},this._setMetadataFormat=function(e){h.format=e},this._setMetadataRaw=function(e){h.raw=e}},i.subParser("anchors",(function(e,t,n){"use strict";var r=function(e,r,o,a,l,c,s){if(i.helper.isUndefined(s)&&(s=""),o=o.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(!a){if(o||(o=r.toLowerCase().replace(/ ?\n/g," ")),a="#"+o,i.helper.isUndefined(n.gUrls[o]))return e;a=n.gUrls[o],i.helper.isUndefined(n.gTitles[o])||(s=n.gTitles[o])}var u='<a href="'+(a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"';return""!==s&&null!==s&&(u+=' title="'+(s=(s=s.replace(/"/g,""")).replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(a)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+r+"</a>"};return e=(e=(e=(e=(e=n.converter._dispatch("anchors.before",e,t,n)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,r)).replace(/\[([^\[\]]+)]()()()()()/g,r),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,n,r,o,a){if("\\"===r)return n+o;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var l=t.ghMentionsLink.replace(/\{u}/g,a),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'<a href="'+l+'"'+c+">"+o+"</a>"}))),e=n.converter._dispatch("anchors.after",e,t,n)}));var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,v=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,y=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,b=function(e){"use strict";return function(t,n,r,o,a,l,c){var s=r=r.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),u="",f="",h=n||"",p=c||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&l&&(u=l),e.openLinksInNewWindow&&(f=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'<a href="'+r+'"'+f+">"+s+"</a>"+u+p}},w=function(e,t){"use strict";return function(n,r,o){var a="mailto:";return r=r||"",o=i.subParser("unescapeSpecialChars")(o,e,t),e.encodeEmails?(a=i.helper.encodeEmailAddress(a+o),o=i.helper.encodeEmailAddress(o)):a+=o,r+'<a href="'+a+'">'+o+"</a>"}};i.subParser("autoLinks",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(v,b(t))).replace(g,w(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)})),i.subParser("simplifiedAutoLinks",(function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(m,b(t)):e.replace(d,b(t))).replace(y,w(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),i.subParser("blockGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=i.subParser("blockQuotes")(e,t,n),e=i.subParser("headers")(e,t,n),e=i.subParser("horizontalRule")(e,t,n),e=i.subParser("lists")(e,t,n),e=i.subParser("codeBlocks")(e,t,n),e=i.subParser("tables")(e,t,n),e=i.subParser("hashHTMLBlocks")(e,t,n),e=i.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)})),i.subParser("blockQuotes",(function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var r=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(r=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(r,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,n),e=(e=(e=i.subParser("blockGamut")(e,t,n)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),i.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,n)})),e=n.converter._dispatch("blockQuotes.after",e,t,n)})),i.subParser("codeBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("codeBlocks.before",e,t,n);return e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,r,o){var a=r,l=o,c="\n";return a=i.subParser("outdent")(a,t,n),a=i.subParser("encodeCode")(a,t,n),a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),a="<pre><code>"+a+c+"</code></pre>",i.subParser("hashBlock")(a,t,n)+l}))).replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)})),i.subParser("codeSpans",(function(e,t,n){"use strict";return void 0===(e=n.converter._dispatch("codeSpans.before",e,t,n))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,r,o,a){var l=a;return l=(l=l.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),l=r+"<code>"+(l=i.subParser("encodeCode")(l,t,n))+"</code>",l=i.subParser("hashHTMLSpans")(l,t,n)})),e=n.converter._dispatch("codeSpans.after",e,t,n)})),i.subParser("completeHTMLDocument",(function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",o="<!DOCTYPE HTML>\n",i="",a='<meta charset="utf-8">\n',l="",c="";for(var s in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==r||(a='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":i="<title>"+n.metadata.parsed.title+"\n";break;case"charset":a="html"===r||"html5"===r?'\n':'\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=o+"\n\n"+i+a+c+"\n\n"+e.trim()+"\n\n",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),i.subParser("detab",(function(e,t,n){"use strict";return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,r=4-n.length%4,o=0;o/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),i.subParser("encodeBackslashEscapes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n)).replace(/\\(\\)/g,i.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)})),i.subParser("encodeCode",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("encodeCode.before",e,t,n)).replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)})),i.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}))).replace(/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)})),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)})),i.subParser("githubCodeBlocks",(function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,r,o,a){var l=t.omitExtraWLInCodeBlocks?"":"\n";return a=i.subParser("encodeCode")(a,t,n),a="
"+(a=(a=(a=i.subParser("detab")(a,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+l+"
",a=i.subParser("hashBlock")(a,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"}))).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e})),i.subParser("hashBlock",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)})),i.subParser("hashCodeTags",(function(e,t,n){"use strict";e=n.converter._dispatch("hashCodeTags.before",e,t,n);return e=i.helper.replaceRecursiveRegExp(e,(function(e,r,o,a){var l=o+i.subParser("encodeCode")(r,t,n)+a;return"¨C"+(n.gHtmlSpans.push(l)-1)+"C"}),"]*>","","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)})),i.subParser("hashElement",(function(e,t,n){"use strict";return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}})),i.subParser("hashHTMLBlocks",(function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],o=function(e,t,r,o){var i=e;return-1!==r.search(/\bmarkdown\b/)&&(i=r+n.converter.makeHtml(t)+o),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var a=0;a]*>)","im"),s="<"+r[a]+"\\b[^>]*>",u="";-1!==(l=i.helper.regexIndexOf(e,c));){var f=i.helper.splitAtIndex(e,l),h=i.helper.replaceRecursiveRegExp(f[1],o,s,u,"im");if(h===f[1])break;e=f[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=(e=i.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)})),i.subParser("hashHTMLSpans",(function(e,t,n){"use strict";function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return r(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return r(e)}))).replace(/<[^>]+?>/gi,(function(e){return r(e)})),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),i.subParser("unhashHTMLSpans",(function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;r]*>\\s*]*>","^ {0,3}\\s*","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)})),i.subParser("headers",(function(e,t,n){"use strict";e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(o,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+c(o)+'"',s=""+a+"";return i.subParser("hashBlock")(s,t,n)}))).replace(a,(function(e,o){var a=i.subParser("spanGamut")(o,t,n),l=t.noHeaderId?"":' id="'+c(o)+'"',s=r+1,u=""+a+"";return i.subParser("hashBlock")(u,t,n)}));var l=t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function c(e){var r,o;if(t.customizedHeaderId){var a=e.match(/\{([^{]+?)}\s*$/);a&&a[1]&&(e=a[1])}return r=e,o=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(r=o+r),r=t.ghCompatibleHeaderId?r.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?r.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():r.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(r=o+r),n.hashLinkCounts[r]?r=r+"-"+n.hashLinkCounts[r]++:n.hashLinkCounts[r]=1,r}return e=e.replace(l,(function(e,o,a){var l=a;t.customizedHeaderId&&(l=a.replace(/\s?\{([^{]+?)}\s*$/,""));var s=i.subParser("spanGamut")(l,t,n),u=t.noHeaderId?"":' id="'+c(a)+'"',f=r-1+o.length,h=""+s+"";return i.subParser("hashBlock")(h,t,n)})),e=n.converter._dispatch("headers.after",e,t,n)})),i.subParser("horizontalRule",(function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var r=i.subParser("hashBlock")("
",t,n);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,r)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,r),e=n.converter._dispatch("horizontalRule.after",e,t,n)})),i.subParser("images",(function(e,t,n){"use strict";function r(e,t,r,o,a,l,c,s){var u=n.gUrls,f=n.gTitles,h=n.gDimensions;if(r=r.toLowerCase(),s||(s=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)o="";else if(""===o||null===o){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),o="#"+r,i.helper.isUndefined(u[r]))return e;o=u[r],i.helper.isUndefined(f[r])||(s=f[r]),i.helper.isUndefined(h[r])||(a=h[r].width,l=h[r].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var p=''+t+'"}return e=(e=(e=(e=(e=(e=n.converter._dispatch("images.before",e,t,n)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,o,i,a,l,c){return r(e,t,n,o=o.replace(/\s/g,""),i,a,l,c)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,r)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,r)).replace(/!\[([^\[\]]+)]()()()()()/g,r),e=n.converter._dispatch("images.after",e,t,n)})),i.subParser("italicsAndBold",(function(e,t,n){"use strict";function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return r(t,"","")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return r(t,"","")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return r(t,"","")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return r(n,t+"","")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?r(t,"",""):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)})),i.subParser("lists",(function(e,t,n){"use strict";function r(e,r){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,a=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(o=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(o,(function(e,r,o,l,c,s,u){u=u&&""!==u.trim();var f=i.subParser("outdent")(c,t,n),h="";return s&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',f=f.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='-1?(f=i.subParser("githubCodeBlocks")(f,t,n),f=i.subParser("blockGamut")(f,t,n)):(f=(f=i.subParser("lists")(f,t,n)).replace(/\n$/,""),f=(f=i.subParser("hashHTMLBlocks")(f,t,n)).replace(/\n\n+/g,"\n\n"),f=a?i.subParser("paragraphs")(f,t,n):i.subParser("spanGamut")(f,t,n)),f=""+(f=f.replace("¨A",""))+"\n"}))).replace(/¨0/g,""),n.gListLevel--,r&&(e=e.replace(/\s+$/,"")),e}function o(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function a(e,n,i){var a=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?a:l,s="";if(-1!==e.search(c))!function t(u){var f=u.search(c),h=o(e,n);-1!==f?(s+="\n\n<"+n+h+">\n"+r(u.slice(0,f),!!i)+"\n",c="ul"===(n="ul"===n?"ol":"ul")?a:l,t(u.slice(f))):s+="\n\n<"+n+h+">\n"+r(u,!!i)+"\n"}(e);else{var u=o(e,n);s="\n\n<"+n+u+">\n"+r(e,!!i)+"\n"}return s}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=(e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return a(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,r){return a(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)})),i.subParser("metadata",(function(e,t,n){"use strict";if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,r){return n.metadata.parsed[t]=r,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return r(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),r(o),"¨M"}))).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)})),i.subParser("outdent",(function(e,t,n){"use strict";return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)})),i.subParser("paragraphs",(function(e,t,n){"use strict";for(var r=(e=(e=(e=n.converter._dispatch("paragraphs.before",e,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),o=[],a=r.length,l=0;l=0?o.push(c):c.search(/\S/)>=0&&(c=(c=i.subParser("spanGamut")(c,t,n)).replace(/^([ \t]*)/g,"

"),c+="

",o.push(c))}for(a=o.length,l=0;l]*>\s*]*>/.test(u)&&(f=!0)}o[l]=u}return e=(e=(e=o.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)})),i.subParser("runExtension",(function(e,t,n,r){"use strict";if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),i.subParser("spanGamut",(function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=i.subParser("codeSpans")(e,t,n),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=i.subParser("encodeBackslashEscapes")(e,t,n),e=i.subParser("images")(e,t,n),e=i.subParser("anchors")(e,t,n),e=i.subParser("autoLinks")(e,t,n),e=i.subParser("simplifiedAutoLinks")(e,t,n),e=i.subParser("emoji")(e,t,n),e=i.subParser("underline")(e,t,n),e=i.subParser("italicsAndBold")(e,t,n),e=i.subParser("strikethrough")(e,t,n),e=i.subParser("ellipsis")(e,t,n),e=i.subParser("hashHTMLSpans")(e,t,n),e=i.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)})),i.subParser("strikethrough",(function(e,t,n){"use strict";return t.strikethrough&&(e=(e=n.converter._dispatch("strikethrough.before",e,t,n)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,r){return function(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,n)),""+e+""}(r)})),e=n.converter._dispatch("strikethrough.after",e,t,n)),e})),i.subParser("stripLinkDefinitions",(function(e,t,n){"use strict";var r=function(e,r,o,a,l,c,s){return r=r.toLowerCase(),o.match(/^data:.+?\/.+?;base64,/)?n.gUrls[r]=o.replace(/\s/g,""):n.gUrls[r]=i.subParser("encodeAmpsAndAngles")(o,t,n),c?c+s:(s&&(n.gTitles[r]=s.replace(/"|'/g,""")),t.parseImgDimensions&&a&&l&&(n.gDimensions[r]={width:a,height:l}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r)).replace(/¨0/,"")})),i.subParser("tables",(function(e,t,n){"use strict";if(!t.tables)return e;function r(e,r){return""+i.subParser("spanGamut")(e,t,n)+"\n"}function o(e){var o,a=e.split("\n");for(o=0;o"+(c=i.subParser("spanGamut")(c,t,n))+"\n"));for(o=0;o\n\n\n",o=0;o\n";for(var i=0;i\n"}return n+="\n\n"}(d,v)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,i.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,o)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,o),e=n.converter._dispatch("tables.after",e,t,n)})),i.subParser("underline",(function(e,t,n){"use strict";return t.underline?(e=n.converter._dispatch("underline.before",e,t,n),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return""+t+""}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?""+t+"":e}))).replace(/(_)/g,i.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e})),i.subParser("unescapeSpecialChars",(function(e,t,n){"use strict";return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),i.subParser("makeMarkdown.blockquote",(function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var r=e.childNodes,o=r.length,a=0;a ")})),i.subParser("makeMarkdown.codeBlock",(function(e,t){"use strict";var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"})),i.subParser("makeMarkdown.codeSpan",(function(e){"use strict";return"`"+e.innerHTML+"`"})),i.subParser("makeMarkdown.emphasis",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var r=e.childNodes,o=r.length,a=0;a",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),i.subParser("makeMarkdown.links",(function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var r=e.childNodes,o=r.length;n="[";for(var a=0;a",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n})),i.subParser("makeMarkdown.list",(function(e,t,n){"use strict";var r="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,a=o.length,l=e.getAttribute("start")||1,c=0;c"+t.preList[n]+""})),i.subParser("makeMarkdown.strikethrough",(function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var r=e.childNodes,o=r.length,a=0;atr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;nd&&(d=m)}for(n=0;n/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}));void 0===(r=function(){"use strict";return i}.call(t,n,t,e))||(e.exports=r)}).call(this)},M6Qj:function(e,t,n){var r=n("hPIQ"),o=n("K0xU")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},M8ly: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,c=Object.getOwnPropertyDescriptor,s=Object.getPrototypeOf,u=s&&s(Object);e.exports=function e(t,n,f){if("string"!=typeof n){if(u){var h=s(n);h&&h!==u&&e(t,h,f)}var p=a(n);l&&(p=p.concat(l(n)));for(var d=0;d children");r=e}})),r}var k=n("i8i4"),S=n.n(k),O=n("EJiy"),M=n.n(O),T=n("/dDc"),E=n("PFWz"),z=n.n(E),C=0!==T.a.endEvents.length,P=["Webkit","Moz","O","ms"],A=["-webkit-","-moz-","-o-","ms-",""];function j(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o children");return v.a.createElement(F,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var i=t.component;if(i){var a=t;return"string"==typeof i&&(a=o()({className:t.className,style:t.style},t.componentProps)),v.a.createElement(i,a,r)}return r[0]||null}}]),t}(v.a.Component);W.isAnimate=!0,W.propTypes={className:g.a.string,style:g.a.object,component:g.a.any,componentProps:g.a.object,animation:g.a.object,transitionName:g.a.oneOfType([g.a.string,g.a.object]),transitionEnter:g.a.bool,transitionAppear:g.a.bool,exclusive:g.a.bool,transitionLeave:g.a.bool,onEnd:g.a.func,onEnter:g.a.func,onLeave:g.a.func,onAppear:g.a.func,showProp:g.a.string,children:g.a.node},W.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:B,onEnter:B,onLeave:B,onAppear:B};var Y=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var o=w(U(r));e.isValidChildByKey(o,t)?"appear"===n?V.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):V.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,o,i,a,l=w(U(n));if(e.isValidChildByKey(l,t))e.performEnter(t);else{var c=function(){V.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,o=l,i=n.showProp,(a=r.length===o.length)&&r.forEach((function(e,t){var n=o[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||i&&e.props[i]!==n.props[i])&&(a=!1)})),a?c():e.setState({children:l},c)}}}};t.a=Object(b.a)(W)},MLWZ:function(e,t,n){"use strict";var r=n("xTJ+");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},MPFp:function(e,t,n){"use strict";var r=n("uOPS"),o=n("Y7ZC"),i=n("kTiW"),a=n("NegM"),l=n("SBuE"),c=n("j2DC"),s=n("RfKB"),u=n("U+KD"),f=n("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,d,m,v,y){c(n,t,d);var g,b,w,x=function(e){if(!h&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",k="values"==m,S=!1,O=e.prototype,M=O[f]||O["@@iterator"]||m&&O[m],T=M||x(m),E=m?k?x("entries"):T:void 0,z="Array"==t&&O.entries||M;if(z&&(w=u(z.call(new e)))!==Object.prototype&&w.next&&(s(w,_,!0),r||"function"==typeof w[f]||a(w,f,p)),k&&M&&"values"!==M.name&&(S=!0,T=function(){return M.call(this)}),r&&!y||!h&&!S&&O[f]||a(O,f,T),l[t]=T,l[_]=p,m)if(g={values:k?T:x("values"),keys:v?T:x("keys"),entries:E},y)for(b in g)b in O||i(O,b,g[b]);else o(o.P+o.F*(h||S),t,g);return g}},MRPZ:function(e,t,n){e.exports=n("TclB")},MVZn:function(e,t,n){var r=n("j1ok"),o=n("r9tm"),i=n("iVxW"),a=n("lSNA");e.exports=function(e){for(var t=1;t>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},MuZe:function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(o=t,t={}),t=t||{},o=o||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?n:r)(a,o),a.onload||n(a,o),i.appendChild(a)}},Mukb:function(e,t,n){var r=n("hswa"),o=n("RjD/");e.exports=n("nh4g")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},MvwC:function(e,t,n){var r=n("5T2Y").document;e.exports=r&&r.documentElement},Mxsh:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n("3S7+")),o=Object.assign||function(e){for(var t=1;t=0)return t[e].splice(o,1),!0}return!1},publish:function(e){if(!t[e])return!1;var n=Array.prototype.slice.call(arguments,1);return t[e].forEach((function(e){e.apply(null,n)})),this}};return e?Object.assign(e,n):n};t.default=r},NV0k:function(e,t){t.f={}.propertyIsEnumerable},NegM:function(e,t,n){var r=n("2faE"),o=n("rr1i");e.exports=n("jmDH")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"Nf+j":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.styles=void 0;var o=r(n("pVnL")),i=r(n("lSNA")),a=r(n("QILm")),l=r(n("q1tI")),c=(r(n("17x9")),r(n("TSYQ"))),s=r(n("d05B")),u=r(n("Blpk")),f={root:{zIndex:-1,width:"100%",height:"100%",position:"fixed",top:0,left:0,WebkitTapHighlightColor:"transparent",backgroundColor:"rgba(0, 0, 0, 0.5)"},invisible:{backgroundColor:"transparent"}};function h(e){var t=e.classes,n=e.className,r=e.invisible,s=e.open,f=e.transitionDuration,h=(0,a.default)(e,["classes","className","invisible","open","transitionDuration"]);return l.default.createElement(u.default,(0,o.default)({appear:!0,in:s,timeout:f},h),l.default.createElement("div",{className:(0,c.default)(t.root,(0,i.default)({},t.invisible,r),n),"aria-hidden":"true"}))}t.styles=f,h.propTypes={},h.defaultProps={invisible:!1};var p=(0,s.default)(f,{name:"MuiBackdrop"})(h);t.default=p},NlO1:function(e,t,n){var r=n("RlDP");e.exports=function(e){for(var t=1;t1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>l;)t[l++]=e;return t}},"NsO/":function(e,t,n){var r=n("M1xp"),o=n("Jes0");e.exports=function(e){return r(o(e))}},NwJ3:function(e,t,n){var r=n("SBuE"),o=n("UWiX")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},NykK:function(e,t,n){var r=n("nmnc"),o=n("AP2z"),i=n("KfNM"),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},Nz9U:function(e,t,n){"use strict";var r=n("XKFU"),o=n("aCFj"),i=[].join;r(r.P+r.F*(n("Ymqv")!=Object||!n("LyE8")(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},"O+I2":function(e,t,n){"use strict";n.r(t);n("SchZ"),n("jyVq")},O9o6:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!r.test(e))};var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},OCCX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n("FLEz")),o=a(n("Rx9b")),i=a(n("RiHD"));function a(e){return e&&e.__esModule?e:{default:e}}var l=Date.now(),c="fnValues"+l,s="fnStyle"+ ++l;t.default={onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=(0,i.default)(e,{},n);return r[s]=t,r},onProcessStyle:function(e,t){var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return(t=t)[c]=n,e},onUpdate:function(e,t){if(t.rules instanceof r.default)t.rules.update(e);else if(t instanceof o.default){if((t=t)[c])for(var n in t[c])t.prop(n,t[c][n](e));var i=(t=t)[s];if(i){var a=i(e);for(var l in a)t.prop(l,a[l])}}}}},OEbY:function(e,t,n){n("nh4g")&&"g"!=/./g.flags&&n("hswa").f(RegExp.prototype,"flags",{configurable:!0,get:n("C/va")})},OG14:function(e,t,n){"use strict";var r=n("y3w9"),o=n("g6HL"),i=n("Xxuz");n("IU+Z")("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this),s=l.lastIndex;o(s,0)||(l.lastIndex=0);var u=i(l,c);return o(l.lastIndex,s)||(l.lastIndex=s),null===u?-1:u.index}]}))},OGtf:function(e,t,n){var r=n("XKFU"),o=n("eeVq"),i=n("vhPU"),a=/"/g,l=function(e,t,n,r){var o=String(i(e)),l="<"+t;return""!==n&&(l+=" "+n+'="'+String(r).replace(a,""")+'"'),l+">"+o+""};e.exports=function(e,t){var n={};n[e]=t(l),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},OP3Y:function(e,t,n){var r=n("aagx"),o=n("S/j/"),i=n("YTvA")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},OcHi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=i,t.hideSiblings=function(e,t){o(e,t,(function(e){return i(!0,e)}))},t.showSiblings=function(e,t){o(e,t,(function(e){return i(!1,e)}))};var r=["template","script","style"];function o(e,t,n){t=[].concat(t),[].forEach.call(e.children,(function(e){-1===t.indexOf(e)&&function(e){return 1===e.nodeType&&-1===r.indexOf(e.tagName.toLowerCase())}(e)&&n(e)}))}function i(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},Ojgd:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},OnI7:function(e,t,n){var r=n("dyZX"),o=n("g3g5"),i=n("LQAc"),a=n("N8g3"),l=n("hswa").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},Optq:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="0 0 1024 1024",o="64 64 896 896",i="fill",a="outline",l="twotone";function c(e){for(var t=[],n=1;n15?"…"+a.slice(r-15,r):a.slice(0,r))+c+(l+15":">","<":"<",'"':""","'":"'"},s=/[&><"']/g,u=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},f={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(s,(function(e){return c[e]}))},hyphenate:function(e){return e.replace(l,"-$1").toLowerCase()},getBaseElem:u,isCharacterBox:function(e){var t=u(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"}},h=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=f.deflt(e.displayMode,!1),this.output=f.deflt(e.output,"htmlAndMathml"),this.leqno=f.deflt(e.leqno,!1),this.fleqn=f.deflt(e.fleqn,!1),this.throwOnError=f.deflt(e.throwOnError,!0),this.errorColor=f.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,f.deflt(e.minRuleThickness,0)),this.colorIsTextColor=f.deflt(e.colorIsTextColor,!1),this.strict=f.deflt(e.strict,"warn"),this.trust=f.deflt(e.trust,!1),this.maxSize=Math.max(0,f.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,f.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,n){var r=this.strict;if("function"==typeof r&&(r=r(e,t,n)),r&&"ignore"!==r){if(!0===r||"error"===r)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===r?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,n){var r=this.strict;if("function"==typeof r)try{r=r(e,t,n)}catch(e){r="error"}return!(!r||"ignore"===r||!0!==r&&"error"!==r&&("warn"===r?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+r+"': "+t+" ["+e+"]"),1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=f.protocolFromUrl(e.url));var t="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),p=function(){function e(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}var t=e.prototype;return t.sup=function(){return d[m[this.id]]},t.sub=function(){return d[v[this.id]]},t.fracNum=function(){return d[y[this.id]]},t.fracDen=function(){return d[g[this.id]]},t.cramp=function(){return d[b[this.id]]},t.text=function(){return d[w[this.id]]},t.isTight=function(){return this.size>=2},e}(),d=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],m=[4,5,4,5,6,7,6,7],v=[5,5,5,5,7,7,7,7],y=[2,3,4,5,6,7,6,7],g=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7],w=[0,1,2,3,2,3,2,3],x={DISPLAY:d[0],TEXT:d[2],SCRIPT:d[4],SCRIPTSCRIPT:d[6]},_=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],k=[];function S(e){for(var t=0;t=k[t]&&e<=k[t+1])return!0;return!1}_.forEach((function(e){return e.blocks.forEach((function(e){return k.push.apply(k,e)}))}));var O={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},M=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t"},P=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,e,n,r),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"span")},t.toMarkup=function(){return C.call(this,"span")},e}(),A=function(){function e(e,t,n,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,E.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){return z.call(this,"a")},t.toMarkup=function(){return C.call(this,"a")},e}(),j=function(){function e(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=n}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e=""+this.alt+"=o[0]&&e<=o[1])return n.name}return null}(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=L[this.text])}var t=e.prototype;return t.hasClass=function(e){return f.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=T(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=f.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+f.escape(n)+'"');var o=f.escape(this.text);return e?(t+=">",t+=o,t+=""):o},e}(),H=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n":""},e}(),V=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e},t.toMarkup=function(){var e="",">"),X("math",J,te,":",":"),X("math",J,te,"≈","\\approx",!0),X("math",J,te,"≅","\\cong",!0),X("math",J,te,"≥","\\ge"),X("math",J,te,"≥","\\geq",!0),X("math",J,te,"←","\\gets"),X("math",J,te,">","\\gt"),X("math",J,te,"∈","\\in",!0),X("math",J,te,"","\\@not"),X("math",J,te,"⊂","\\subset",!0),X("math",J,te,"⊃","\\supset",!0),X("math",J,te,"⊆","\\subseteq",!0),X("math",J,te,"⊇","\\supseteq",!0),X("math",Z,te,"⊈","\\nsubseteq",!0),X("math",Z,te,"⊉","\\nsupseteq",!0),X("math",J,te,"⊨","\\models"),X("math",J,te,"←","\\leftarrow",!0),X("math",J,te,"≤","\\le"),X("math",J,te,"≤","\\leq",!0),X("math",J,te,"<","\\lt"),X("math",J,te,"→","\\rightarrow",!0),X("math",J,te,"→","\\to"),X("math",Z,te,"≱","\\ngeq",!0),X("math",Z,te,"≰","\\nleq",!0),X("math",J,"spacing"," ","\\ "),X("math",J,"spacing"," ","~"),X("math",J,"spacing"," ","\\space"),X("math",J,"spacing"," ","\\nobreakspace"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," ","~"),X("text",J,"spacing"," ","\\space"),X("text",J,"spacing"," ","\\nobreakspace"),X("math",J,"spacing",null,"\\nobreak"),X("math",J,"spacing",null,"\\allowbreak"),X("math",J,"punct",",",","),X("math",J,"punct",";",";"),X("math",Z,$,"⊼","\\barwedge",!0),X("math",Z,$,"⊻","\\veebar",!0),X("math",J,$,"⊙","\\odot",!0),X("math",J,$,"⊕","\\oplus",!0),X("math",J,$,"⊗","\\otimes",!0),X("math",J,"textord","∂","\\partial",!0),X("math",J,$,"⊘","\\oslash",!0),X("math",Z,$,"⊚","\\circledcirc",!0),X("math",Z,$,"⊡","\\boxdot",!0),X("math",J,$,"△","\\bigtriangleup"),X("math",J,$,"▽","\\bigtriangledown"),X("math",J,$,"†","\\dagger"),X("math",J,$,"⋄","\\diamond"),X("math",J,$,"⋆","\\star"),X("math",J,$,"◃","\\triangleleft"),X("math",J,$,"▹","\\triangleright"),X("math",J,"open","{","\\{"),X("text",J,"textord","{","\\{"),X("text",J,"textord","{","\\textbraceleft"),X("math",J,"close","}","\\}"),X("text",J,"textord","}","\\}"),X("text",J,"textord","}","\\textbraceright"),X("math",J,"open","{","\\lbrace"),X("math",J,"close","}","\\rbrace"),X("math",J,"open","[","\\lbrack"),X("text",J,"textord","[","\\lbrack"),X("math",J,"close","]","\\rbrack"),X("text",J,"textord","]","\\rbrack"),X("math",J,"open","(","\\lparen"),X("math",J,"close",")","\\rparen"),X("text",J,"textord","<","\\textless"),X("text",J,"textord",">","\\textgreater"),X("math",J,"open","⌊","\\lfloor",!0),X("math",J,"close","⌋","\\rfloor",!0),X("math",J,"open","⌈","\\lceil",!0),X("math",J,"close","⌉","\\rceil",!0),X("math",J,"textord","\\","\\backslash"),X("math",J,"textord","∣","|"),X("math",J,"textord","∣","\\vert"),X("text",J,"textord","|","\\textbar"),X("math",J,"textord","∥","\\|"),X("math",J,"textord","∥","\\Vert"),X("text",J,"textord","∥","\\textbardbl"),X("text",J,"textord","~","\\textasciitilde"),X("text",J,"textord","\\","\\textbackslash"),X("text",J,"textord","^","\\textasciicircum"),X("math",J,te,"↑","\\uparrow",!0),X("math",J,te,"⇑","\\Uparrow",!0),X("math",J,te,"↓","\\downarrow",!0),X("math",J,te,"⇓","\\Downarrow",!0),X("math",J,te,"↕","\\updownarrow",!0),X("math",J,te,"⇕","\\Updownarrow",!0),X("math",J,ee,"∐","\\coprod"),X("math",J,ee,"⋁","\\bigvee"),X("math",J,ee,"⋀","\\bigwedge"),X("math",J,ee,"⨄","\\biguplus"),X("math",J,ee,"⋂","\\bigcap"),X("math",J,ee,"⋃","\\bigcup"),X("math",J,ee,"∫","\\int"),X("math",J,ee,"∫","\\intop"),X("math",J,ee,"∬","\\iint"),X("math",J,ee,"∭","\\iiint"),X("math",J,ee,"∏","\\prod"),X("math",J,ee,"∑","\\sum"),X("math",J,ee,"⨂","\\bigotimes"),X("math",J,ee,"⨁","\\bigoplus"),X("math",J,ee,"⨀","\\bigodot"),X("math",J,ee,"∮","\\oint"),X("math",J,ee,"∯","\\oiint"),X("math",J,ee,"∰","\\oiiint"),X("math",J,ee,"⨆","\\bigsqcup"),X("math",J,ee,"∫","\\smallint"),X("text",J,"inner","…","\\textellipsis"),X("math",J,"inner","…","\\mathellipsis"),X("text",J,"inner","…","\\ldots",!0),X("math",J,"inner","…","\\ldots",!0),X("math",J,"inner","⋯","\\@cdots",!0),X("math",J,"inner","⋱","\\ddots",!0),X("math",J,"textord","⋮","\\varvdots"),X("math",J,"accent-token","ˊ","\\acute"),X("math",J,"accent-token","ˋ","\\grave"),X("math",J,"accent-token","¨","\\ddot"),X("math",J,"accent-token","~","\\tilde"),X("math",J,"accent-token","ˉ","\\bar"),X("math",J,"accent-token","˘","\\breve"),X("math",J,"accent-token","ˇ","\\check"),X("math",J,"accent-token","^","\\hat"),X("math",J,"accent-token","⃗","\\vec"),X("math",J,"accent-token","˙","\\dot"),X("math",J,"accent-token","˚","\\mathring"),X("math",J,Q,"ı","\\imath",!0),X("math",J,Q,"ȷ","\\jmath",!0),X("text",J,"textord","ı","\\i",!0),X("text",J,"textord","ȷ","\\j",!0),X("text",J,"textord","ß","\\ss",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","æ","\\ae",!0),X("text",J,"textord","œ","\\oe",!0),X("text",J,"textord","ø","\\o",!0),X("text",J,"textord","Æ","\\AE",!0),X("text",J,"textord","Œ","\\OE",!0),X("text",J,"textord","Ø","\\O",!0),X("text",J,"accent-token","ˊ","\\'"),X("text",J,"accent-token","ˋ","\\`"),X("text",J,"accent-token","ˆ","\\^"),X("text",J,"accent-token","˜","\\~"),X("text",J,"accent-token","ˉ","\\="),X("text",J,"accent-token","˘","\\u"),X("text",J,"accent-token","˙","\\."),X("text",J,"accent-token","˚","\\r"),X("text",J,"accent-token","ˇ","\\v"),X("text",J,"accent-token","¨",'\\"'),X("text",J,"accent-token","˝","\\H"),X("text",J,"accent-token","◯","\\textcircled");var ne={"--":!0,"---":!0,"``":!0,"''":!0};X("text",J,"textord","–","--"),X("text",J,"textord","–","\\textendash"),X("text",J,"textord","—","---"),X("text",J,"textord","—","\\textemdash"),X("text",J,"textord","‘","`"),X("text",J,"textord","‘","\\textquoteleft"),X("text",J,"textord","’","'"),X("text",J,"textord","’","\\textquoteright"),X("text",J,"textord","“","``"),X("text",J,"textord","“","\\textquotedblleft"),X("text",J,"textord","”","''"),X("text",J,"textord","”","\\textquotedblright"),X("math",J,"textord","°","\\degree",!0),X("text",J,"textord","°","\\degree"),X("text",J,"textord","°","\\textdegree",!0),X("math",J,Q,"£","\\pounds"),X("math",J,Q,"£","\\mathsterling",!0),X("text",J,Q,"£","\\pounds"),X("text",J,Q,"£","\\textsterling",!0),X("math",Z,"textord","✠","\\maltese"),X("text",Z,"textord","✠","\\maltese"),X("text",J,"spacing"," ","\\ "),X("text",J,"spacing"," "," "),X("text",J,"spacing"," ","~");for(var re=0;re<'0123456789/@."'.length;re++){var oe='0123456789/@."'.charAt(re);X("math",J,"textord",oe,oe)}for(var ie=0;ie<'0123456789!@*()-=+[]<>|";:?/.,'.length;ie++){var ae='0123456789!@*()-=+[]<>|";:?/.,'.charAt(ie);X("text",J,"textord",ae,ae)}for(var le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ce=0;ce=5?0:e>=3?1:2]){var n=B[t]={cssEmPerMu:F.quad[t]/18};for(var r in F)F.hasOwnProperty(r)&&(n[r]=F[r][t])}return B[t]}(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();_e.BASESIZE=6;var ke=_e,Se={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Oe={ex:!0,em:!0,mu:!0},Me=function(e){return"string"!=typeof e&&(e=e.unit),e in Se||e in Oe||"ex"===e},Te=function(e,t){var n;if(e.unit in Se)n=Se[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var r;if(r=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=r.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");n=r.fontMetrics().quad}r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},Ee=["\\imath","ı","\\jmath","ȷ","\\pounds","\\mathsterling","\\textsterling","£"],ze=function(e,t,n){return K[n][e]&&K[n][e].replace&&(e=K[n][e].replace),{value:e,metrics:U(e,t,n)}},Ce=function(e,t,n,r,o){var i,a=ze(e,t,n),l=a.metrics;if(e=a.value,l){var c=l.italic;("text"===n||r&&"mathit"===r.font)&&(c=0),i=new N(e,l.height,l.depth,c,l.skew,l.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),i=new N(e,0,0,0,0,0,o);if(r){i.maxFontSize=r.sizeMultiplier,r.style.isTight()&&i.classes.push("mtight");var s=r.getColor();s&&(i.style.color=s)}return i},Pe=function(e,t){if(T(e.classes)!==T(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;return!0},Ae=function(e){for(var t=0,n=0,r=0,o=0;ot&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},je=function(e,t,n,r){var o=new P(e,t,n,r);return Ae(o),o},Le=function(e,t,n,r){return new P(e,t,n,r)},Ne=function(e){var t=new M(e);return Ae(t),t},He=function(e,t,n){var r="";switch(e){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=e}return r+"-"+("textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Re={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Ve={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ie={fontMap:Re,makeSymbol:Ce,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&ze(e,"Main-Bold",t).metrics?Ce(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===K[t][e].font?Ce(e,"Main-Regular",t,n,r):Ce(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:je,makeSvgSpan:Le,makeLineSpan:function(e,t,n){var r=je([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var o=new A(e,t,n,r);return Ae(o),o},makeFragment:Ne,wrapFragment:function(e,t){return e instanceof M?je([],[e],t):e},makeVList:function(e,t){for(var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i0&&(i.push(pt(a,t)),a=[]),i.push(o[l]));a.length>0&&i.push(pt(a,t)),n&&((r=pt(lt(n,t,!0))).classes=["tag"],i.push(r));var s=nt(["katex-html"],i);if(s.setAttribute("aria-hidden","true"),r){var u=r.children[0];u.style.height=s.height+s.depth+"em",u.style.verticalAlign=-s.depth+"em"}return s}function mt(e){return new M(e)}var vt=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n"},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yt=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return f.escape(this.toText())},t.toText=function(){return this.text},e}(),gt={MathNode:vt,TextNode:yt,SpaceNode:function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?""+this.character+"":''},t.toText=function(){return this.character?this.character:" "},e}(),newDocumentFragment:mt},bt=function(e,t,n){return!K[t][e]||!K[t][e].replace||55349===e.charCodeAt(0)||ne.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.substr(4,2)||n.font&&"tt"===n.font.substr(4,2))||(e=K[t][e].replace),new gt.TextNode(e)},wt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var n=t.font;if(!n||"mathnormal"===n)return null;var r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";var o=e.text;return f.contains(["\\imath","\\jmath"],o)?null:(K[r][o]&&K[r][o].replace&&(o=K[r][o].replace),U(o,Ie.fontMap[n].fontName,r)?Ie.fontMap[n].variant:null)},_t=function(e,t,n){if(1===e.length){var r=St(e[0],t);return n&&r instanceof vt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o,i=[],a=0;a0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),i.pop())}}}i.push(l),o=l}return i},kt=function(e,t,n){return wt(_t(e,t,n))},St=function(e,t){if(!e)return new gt.MathNode("mrow");if($e[e.type])return $e[e.type](e,t);throw new a("Got group of unknown type: '"+e.type+"'")};function Ot(e,t,n,r){var o,i=_t(e,n);o=1===i.length&&i[0]instanceof vt&&f.contains(["mrow","mtable"],i[0].type)?i[0]:new gt.MathNode("mrow",i);var a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var l=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var s=r?"katex":"katex-mathml";return Ie.makeSpan([s],[c])}var Mt=function(e){return new ke({style:e.displayMode?x.DISPLAY:x.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Tt=function(e,t){if(t.displayMode){var n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Ie.makeSpan(n,[e])}return e},Et=function(e,t,n){var r,o=Mt(n);if("mathml"===n.output)return Ot(e,t,o,!0);if("html"===n.output){var i=dt(e,o);r=Ie.makeSpan(["katex"],[i])}else{var a=Ot(e,t,o,!1),l=dt(e,o);r=Ie.makeSpan(["katex"],[a,l])}return Tt(r,n)},zt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋"},Ct={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Pt=function(e,t,n,r){var o,i=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(o=Ie.makeSpan(["stretchy",t],[],r),"fbox"===t){var a=r.color&&r.getColor();a&&(o.style.borderColor=a)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new V({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new V({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new H(l,{width:"100%",height:i+"em"});o=Ie.makeSvgSpan([],[c],r)}return o.height=i,o.style.height=i+"em",o},At=function(e){var t=new gt.MathNode("mo",[new gt.TextNode(zt[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},jt=function(e,t){var n=function(){var n=4e5,r=e.label.substr(1);if(f.contains(["widehat","widecheck","widetilde","utilde"],r)){var o,i,a,l="ordgroup"===(d=e.base).type?d.body.length:1;if(l>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,a=.42,i=r+"4"):(o=312,n=2340,a=.34,i="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][c],o=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],i=r+c):(n=[0,600,1033,2339,2340][c],o=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],i="tilde"+c)}var s=new R(i),u=new H([s],{width:"100%",height:a+"em",viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Ie.makeSvgSpan([],[u],t),minWidth:0,height:a}}var h,p,d,m=[],v=Ct[r],y=v[0],g=v[1],b=v[2],w=b/1e3,x=y.length;if(1===x)h=["hide-tail"],p=[v[3]];else if(2===x)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==x)throw new Error("Correct katexImagesData or update code here to support\n "+x+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var _=0;_0&&(r.style.minWidth=o+"em"),r},Lt=function(e,t){var n,r,o,i=Fe(e,"supsub");i?(n=(r=De(i.base,"accent")).base,i.base=n,o=function(e){if(e instanceof P)return e;throw new Error("Expected span but got "+String(e)+".")}(ht(i,t)),i.base=r):n=(r=De(e,"accent")).base;var a=ht(n,t.havingCrampedStyle()),l=0;if(r.isShifty&&f.isCharacterBox(n)){var c=f.getBaseElem(n);l=I(ht(c,t.havingCrampedStyle())).skew}var s,u=Math.min(a.height,t.fontMetrics().xHeight);if(r.isStretchy)s=jt(r,t),s=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:s,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var h,p;"\\vec"===r.label?(h=Ie.staticSvg("vec",t),p=Ie.svgData.vec[1]):((h=I(h=Ie.makeOrd({mode:r.mode,text:r.label},t,"textord"))).italic=0,p=h.width),s=Ie.makeSpan(["accent-body"],[h]);var d="\\textcircled"===r.label;d&&(s.classes.push("accent-full"),u=a.height);var m=l;d||(m-=p/2),s.style.left=m+"em","\\textcircled"===r.label&&(s.style.top=".2em"),s=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-u},{type:"elem",elem:s}]},t)}var v=Ie.makeSpan(["mord","accent"],[s],t);return o?(o.children[0]=v,o.height=Math.max(v.height,o.height),o.classes[0]="mord",o):v},Nt=function(e,t){var n=e.isStretchy?At(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[St(e.base,t),n]);return r.setAttribute("accent","true"),r},Ht=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Qe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!Ht.test(e.funcName),o=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:Lt,mathmlBuilder:Nt}),Qe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Lt,mathmlBuilder:Nt}),Qe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:function(e,t){var n=ht(e.base,t),r=jt(e,t),o="\\utilde"===e.label?.12:0,i=Ie.makeVList({positionType:"bottom",positionData:r.height+o,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return Ie.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:function(e,t){var n=At(e.label),r=new gt.MathNode("munder",[St(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Rt=function(e){var t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder:function(e,t){var n,r=t.style,o=t.havingStyle(r.sup()),i=Ie.wrapFragment(ht(e.body,o,t),t);i.classes.push("x-arrow-pad"),e.below&&(o=t.havingStyle(r.sub()),(n=Ie.wrapFragment(ht(e.below,o,t),t)).classes.push("x-arrow-pad"));var a,l=jt(e,t),c=-t.fontMetrics().axisHeight+.5*l.height,s=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(s-=i.depth),n){var u=-t.fontMetrics().axisHeight+n.height+.5*l.height+.111;a=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c},{type:"elem",elem:n,shift:u}]},t)}else a=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:l,shift:c}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Ie.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var n,r=At(e.label);if(e.body){var o=Rt(St(e.body,t));if(e.below){var i=Rt(St(e.below,t));n=new gt.MathNode("munderover",[r,i,o])}else n=new gt.MathNode("mover",[r,o])}else if(e.below){var a=Rt(St(e.below,t));n=new gt.MathNode("munder",[r,a])}else n=Rt(),n=new gt.MathNode("mover",[r,n]);return n}}),Qe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var n=e.parser,r=De(t[0],"ordgroup").body,o="",i=0;i","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Zt=[0,1.2,1.8,2.4,3],$t=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Qt=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"stack"}],en=[{type:"small",style:x.SCRIPTSCRIPT},{type:"small",style:x.SCRIPT},{type:"small",style:x.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],tn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},nn=function(e,t,n,r){for(var o=Math.min(2,3-r.style.size);ot)return n[o]}return n[n.length-1]},rn=function(e,t,n,r,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=f.contains(Jt,e)?$t:f.contains(Kt,e)?en:Qt;var l=nn(e,t,a,r);return"small"===l.type?function(e,t,n,r,o,i){var a=Ie.makeSymbol(e,"Main-Regular",o,r),l=Ft(a,t,r,i);return n&&qt(l,r,t),l}(e,l.style,n,r,o,i):"large"===l.type?Ut(e,l.size,n,r,o,i):Yt(e,t,n,r,o,i)},on=function(e,t){var n,r,o=t.havingBaseSizing(),i=nn("\\surd",e*o.sizeMultiplier,en,o),a=o.sizeMultiplier,l=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),c=0,s=0,u=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),s=(1+l)/a,(n=Gt("sqrtMain",c=(1+l+.08)/a,u=1e3+1e3*l+80,l,t)).style.minWidth="0.853em",r=.833/a):"large"===i.type?(u=1080*Zt[i.size],s=(Zt[i.size]+l)/a,c=(Zt[i.size]+l+.08)/a,(n=Gt("sqrtSize"+i.size,c,u,l,t)).style.minWidth="1.02em",r=1/a):(c=e+l+.08,s=e+l,u=Math.floor(1e3*e+l)+80,(n=Gt("sqrtTall",c,u,l,t)).style.minWidth="0.742em",r=1.056),n.height=s,n.style.height=c+"em",{span:n,advanceWidth:r,ruleWidth:(t.fontMetrics().sqrtRuleThickness+l)*a}},an=function(e,t,n,r,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),f.contains(Kt,e)||f.contains(Jt,e))return Ut(e,t,!1,n,r,o);if(f.contains(Xt,e))return Yt(e,Zt[t],!1,n,r,o);throw new a("Illegal delimiter: '"+e+"'")},ln=rn,cn=function(e,t,n,r,o,i){var a=r.fontMetrics().axisHeight*r.sizeMultiplier,l=5/r.fontMetrics().ptPerEm,c=Math.max(t-a,n+a),s=Math.max(c/500*901,2*c-l);return rn(e,s,!0,r,o,i)},sn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},un=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function fn(e,t){var n=Be(e);if(n&&f.contains(un,n.text))return n;throw new a("Invalid delimiter: '"+(n?n.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function hn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=fn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:sn[e.funcName].size,mclass:sn[e.funcName].mclass,delim:n.text}},htmlBuilder:function(e,t){return"."===e.delim?Ie.makeSpan([e.mclass]):an(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));var n=new gt.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Qe({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!=typeof n)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fn(t[0],e).text,color:n}}}),Qe({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var n=fn(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=De(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:function(e,t){hn(e);for(var n,r,o=lt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,l=!1,c=0;c-1?"mpadded":"menclose",[St(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Qe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:pn,mathmlBuilder:dn}),Qe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=De(t[0],"color-token").color,a=De(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:l}},htmlBuilder:pn,mathmlBuilder:dn}),Qe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){return{type:"enclose",mode:e.parser.mode,label:"\\fbox",body:t[0]}}}),Qe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,n){var r=e.parser,o=e.funcName,i=t[0];return{type:"enclose",mode:r.mode,label:o,body:i}},htmlBuilder:pn,mathmlBuilder:dn});var mn={};function vn(e){for(var t=e.type,n=e.names,r=e.props,o=e.handler,i=e.htmlBuilder,a=e.mathmlBuilder,l={type:t,numArgs:r.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:o},c=0;c0&&(b+=.25),s.push({pos:b,isDashed:e[t]})}for(w(i[0]),n=0;n0&&(S<(E+=g)&&(S=E),E=0),e.addJot&&(S+=m),O.height=k,O.depth=S,b+=k,O.pos=b,b+=S+E,c[n]=O,w(i[n+1])}var z,C,P=b/2+t.fontMetrics().axisHeight,A=e.cols||[],j=[];for(r=0,C=0;r=l)){var V=void 0;(r>0||e.hskipBeforeAndAfter)&&0!==(V=f.deflt(L.pregap,p))&&((z=Ie.makeSpan(["arraycolsep"],[])).style.width=V+"em",j.push(z));var I=[];for(n=0;n0){for(var U=Ie.makeLineSpan("hline",t,u),B=Ie.makeLineSpan("hdashline",t,u),W=[{type:"elem",elem:c,shift:0}];s.length>0;){var Y=s.pop(),G=Y.pos-P;Y.isDashed?W.push({type:"elem",elem:B,shift:G}):W.push({type:"elem",elem:U,shift:G})}c=Ie.makeVList({positionType:"individualShift",children:W},t)}return Ie.makeSpan(["mord"],[c],t)},xn={c:"center ",l:"left ",r:"right "},_n=function(e,t){var n=new gt.MathNode("mtable",e.body.map((function(e){return new gt.MathNode("mtr",e.map((function(e){return new gt.MathNode("mtd",[St(e,t)])})))}))),r=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);n.setAttribute("rowspacing",r+"em");var o="",i="";if(e.cols){var a=e.cols,l="",c=!1,s=0,u=a.length;"separator"===a[0].type&&(o+="top ",s=1),"separator"===a[a.length-1].type&&(o+="bottom ",u-=1);for(var f=s;f0?"left ":"",o+=v[v.length-1].length>0?"right ":"";for(var y=1;y0&&f&&(d=1),r[h]={type:"align",align:p,pregap:d,postgap:0}}return o.colSeparationType=f?"align":"alignat",o};vn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n={cols:(Be(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Ue(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+t,e)})),hskipBeforeAndAfter:!0};return gn(e.parser,n,bn(e.envName))},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n=gn(e.parser,{hskipBeforeAndAfter:!1},bn(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t=gn(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var n=(Be(t[0])?[t[0]]:De(t[0],"ordgroup").body).map((function(e){var t=Ue(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new a("Unknown column alignment: "+t,e)}));if(n.length>1)throw new a("{subarray} can contain only one column");var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if((r=gn(e.parser,r,"script")).body[0].length>1)throw new a("{subarray} can contain only one column");return r},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t=gn(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},bn(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["aligned"],props:{numArgs:0},handler:kn,htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){return gn(e.parser,{cols:[{type:"align",align:"c"}],addJot:!0},"display")},htmlBuilder:wn,mathmlBuilder:_n}),vn({type:"array",names:["alignedat"],props:{numArgs:1},handler:kn,htmlBuilder:wn,mathmlBuilder:_n}),Qe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Sn=mn;Qe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];if("ordgroup"!==o.type)throw new a("Invalid environment name",o);for(var i="",l=0;l=x.SCRIPT.id?n.text():x.DISPLAY:"text"===e&&n.size===x.DISPLAY.size?n=x.TEXT:"script"===e?n=x.SCRIPT:"scriptscript"===e&&(n=x.SCRIPTSCRIPT),n},jn=function(e,t){var n,r=An(e.size,t.style),o=r.fracNum(),i=r.fracDen();n=t.havingStyle(o);var a=ht(e.numer,n,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?3*f:7*f,d=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=f):(h=t.fontMetrics().num3,p=3*f),d=t.fontMetrics().denom2),s){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*u)0&&(t="."===(t=e)?null:t),t};Qe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var n=e.parser,r=t[4],o=t[5],i=Fe(t[0],"atom");i&&(i=qe(t[0],"open"));var a=i?Hn(i.text):null,l=Fe(t[1],"atom");l&&(l=qe(t[1],"close"));var c,s=l?Hn(l.text):null,u=De(t[2],"size"),f=null;c=!!u.isBlank||(f=u.value).number>0;var h="auto",p=Fe(t[3],"ordgroup");if(p){if(p.body.length>0){var d=De(p.body[0],"textord");h=Nn[Number(d.text)]}}else p=De(t[3],"textord"),h=Nn[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:c,barSize:f,leftDelim:a,rightDelim:s,size:h}},htmlBuilder:jn,mathmlBuilder:Ln}),Qe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var n=e.parser,r=(e.funcName,e.token);return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:De(t[0],"size").value,token:r}}}),Qe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var n=e.parser,r=(e.funcName,t[0]),o=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(De(t[1],"infix").size),i=t[2],a=o.number>0;return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:a,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:jn,mathmlBuilder:Ln});var Rn=function(e,t){var n,r,o=t.style,i=Fe(e,"supsub");i?(n=i.sup?ht(i.sup,t.havingStyle(o.sup()),t):ht(i.sub,t.havingStyle(o.sub()),t),r=De(i.base,"horizBrace")):r=De(e,"horizBrace");var a,l=ht(r.base,t.havingBaseStyle(x.DISPLAY)),c=jt(r,t);if(r.isOver?(a=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:c}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(a=Ie.makeVList({positionType:"bottom",positionData:l.depth+.1+c.height,children:[{type:"elem",elem:c},{type:"kern",size:.1},{type:"elem",elem:l}]},t)).children[0].children[0].children[0].classes.push("svg-align"),n){var s=Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t);a=r.isOver?Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]},t):Ie.makeVList({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]},t)}return Ie.makeSpan(["mord",r.isOver?"mover":"munder"],[a],t)};Qe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var n=e.parser,r=e.funcName;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Rn,mathmlBuilder:function(e,t){var n=At(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[St(e.base,t),n])}}),Qe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=t[1],o=De(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:tt(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var n=lt(e.body,t,!1);return Ie.makeAnchor(e.href,[],n,t)},mathmlBuilder:function(e,t){var n=kt(e.body,t);return n instanceof vt||(n=new vt("mrow",[n])),n.setAttribute("href",e.href),n}}),Qe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=De(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i0&&(r=Te(e.totalheight,t)-n,r=Number(r.toFixed(2)));var o=0;e.width.number>0&&(o=Te(e.width,t));var i={height:n+r+"em"};o>0&&(i.width=o+"em"),r>0&&(i.verticalAlign=-r+"em");var a=new j(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:function(e,t){var n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Te(e.height,t),o=0;if(e.totalheight.number>0&&(o=(o=Te(e.totalheight,t)-r).toFixed(2),n.setAttribute("valign","-"+o+"em")),n.setAttribute("height",r+o+"em"),e.width.number>0){var i=Te(e.width,t);n.setAttribute("width",i+"em")}return n.setAttribute("src",e.src),n}}),Qe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=De(t[0],"size");if(n.settings.strict){var i="m"===r[1],a="mu"===o.value.unit;i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+o.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder:function(e,t){return Ie.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var n=Te(e.dimension,t);return new gt.SpaceNode(n)}}),Qe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:function(e,t){var n;"clap"===e.alignment?(n=Ie.makeSpan([],[ht(e.body,t)]),n=Ie.makeSpan(["inner"],[n],t)):n=Ie.makeSpan(["inner"],[ht(e.body,t)]);var r=Ie.makeSpan(["fix"],[]),o=Ie.makeSpan([e.alignment],[n,r],t),i=Ie.makeSpan(["strut"]);return i.style.height=o.height+o.depth+"em",i.style.verticalAlign=-o.depth+"em",o.children.unshift(i),o=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},t),Ie.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mpadded",[St(e.body,t)]);if("rlap"!==e.alignment){var r="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}}),Qe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=e.funcName,r=e.parser,o=r.mode;r.switchMode("math");var i="\\("===n?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}}),Qe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var In=function(e,t){switch(t.style.size){case x.DISPLAY.size:return e.display;case x.TEXT.size:return e.text;case x.SCRIPT.size:return e.script;case x.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",mode:e.parser.mode,display:tt(t[0]),text:tt(t[1]),script:tt(t[2]),scriptscript:tt(t[3])}},htmlBuilder:function(e,t){var n=In(e,t),r=lt(n,t,!1);return Ie.makeFragment(r)},mathmlBuilder:function(e,t){var n=In(e,t);return kt(n,t)}});var Dn=function(e,t,n,r,o,i,a){var l,c,s;if(e=Ie.makeSpan([],[e]),t){var u=ht(t,r.havingStyle(o.sup()),r);c={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var f=ht(n,r.havingStyle(o.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=e.height-a;s=Ie.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:-i+"em"},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;var d=e.depth+a;s=Ie.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:i+"em"},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}return Ie.makeSpan(["mop","op-limits"],[s],r)},Fn=["\\smallint"],qn=function(e,t){var n,r,o,i=!1,a=Fe(e,"supsub");a?(n=a.sup,r=a.sub,o=De(a.base,"op"),i=!0):o=De(e,"op");var l,c=t.style,s=!1;if(c.size===x.DISPLAY.size&&o.symbol&&!f.contains(Fn,o.name)&&(s=!0),o.symbol){var u=s?"Size2-Regular":"Size1-Regular",h="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(h=o.name.substr(1),o.name="oiint"===h?"\\iint":"\\iiint"),l=Ie.makeSymbol(o.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),h.length>0){var p=l.italic,d=Ie.staticSvg(h+"Size"+(s?"2":"1"),t);l=Ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:s?.08:0}]},t),o.name="\\"+h,l.classes.unshift("mop"),l.italic=p}}else if(o.body){var m=lt(o.body,t,!0);1===m.length&&m[0]instanceof N?(l=m[0]).classes[0]="mop":l=Ie.makeSpan(["mop"],Ie.tryCombineChars(m),t)}else{for(var v=[],y=1;y0){for(var c=o.body.map((function(e){var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),s=lt(c,t.withFont("mathrm"),!0),u=0;u=0?l.setAttribute("height","+"+o+"em"):(l.setAttribute("height",o+"em"),l.setAttribute("depth","+"+-o+"em")),l.setAttribute("voffset",o+"em"),l}});var Kn=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Qe({type:"sizing",names:Kn,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:Kn.indexOf(r)+1,body:i}},htmlBuilder:function(e,t){var n=t.havingSize(e.size);return Gn(e.body,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.size),r=_t(e.body,n),o=new gt.MathNode("mstyle",r);return o.setAttribute("mathsize",n.sizeMultiplier+"em"),o}}),Qe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=e.parser,o=!1,i=!1,a=n[0]&&De(n[0],"ordgroup");if(a)for(var l="",c=0;cn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var h=c.height-n.height-i-s;n.style.paddingLeft=u+"em";var p=Ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:c},{type:"kern",size:s}]},t);if(e.index){var d=t.havingStyle(x.SCRIPTSCRIPT),m=ht(e.index,d,t),v=.6*(p.height-p.depth),y=Ie.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:m}]},t),g=Ie.makeSpan(["root"],[y]);return Ie.makeSpan(["mord","sqrt"],[g,p],t)}return Ie.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder:function(e,t){var n=e.body,r=e.index;return r?new gt.MathNode("mroot",[St(n,t),St(r,t)]):new gt.MathNode("msqrt",[St(n,t)])}});var Xn={display:x.DISPLAY,text:x.TEXT,script:x.SCRIPT,scriptscript:x.SCRIPTSCRIPT};Qe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,o=e.parser,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder:function(e,t){var n=Xn[e.style],r=t.havingStyle(n).withFont("");return Gn(e.body,r,t)},mathmlBuilder:function(e,t){var n=Xn[e.style],r=t.havingStyle(n),o=_t(e.body,r),i=new gt.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}}),et({type:"supsub",htmlBuilder:function(e,t){var n=function(e,t){var n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===x.DISPLAY.size||n.alwaysHandleSupSub)?qn:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===x.DISPLAY.size||n.limits)?Yn:null:"accent"===n.type?f.isCharacterBox(n.base)?Lt:null:"horizBrace"===n.type&&!e.sub===n.isOver?Rn:null:null}(e,t);if(n)return n(e,t);var r,o,i,a=e.base,l=e.sup,c=e.sub,s=ht(a,t),u=t.fontMetrics(),h=0,p=0,d=a&&f.isCharacterBox(a);if(l){var m=t.havingStyle(t.style.sup());r=ht(l,m,t),d||(h=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(c){var v=t.havingStyle(t.style.sub());o=ht(c,v,t),d||(p=s.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}i=t.style===x.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var y,g=t.sizeMultiplier,b=.5/u.ptPerEm/g+"em",w=null;if(o){var _=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(s instanceof N||_)&&(w=-s.italic+"em")}if(r&&o){h=Math.max(h,i,r.depth+.25*u.xHeight),p=Math.max(p,u.sub2);var k=4*u.defaultRuleThickness;if(h-r.depth-(o.height-p)0&&(h+=S,p-=S)}var O=[{type:"elem",elem:o,shift:p,marginRight:b,marginLeft:w},{type:"elem",elem:r,shift:-h,marginRight:b}];y=Ie.makeVList({positionType:"individualShift",children:O},t)}else if(o){p=Math.max(p,u.sub1,o.height-.8*u.xHeight);var M=[{type:"elem",elem:o,marginLeft:w,marginRight:b}];y=Ie.makeVList({positionType:"shift",positionData:p,children:M},t)}else{if(!r)throw new Error("supsub must have either sup or sub.");h=Math.max(h,i,r.depth+.25*u.xHeight),y=Ie.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:r,marginRight:b}]},t)}var T=ut(s,"right")||"mord";return Ie.makeSpan([T],[s,Ie.makeSpan(["msupsub"],[y])],t)},mathmlBuilder:function(e,t){var n,r=!1,o=Fe(e.base,"horizBrace");o&&!!e.sup===o.isOver&&(r=!0,n=o.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var i,a=[St(e.base,t)];if(e.sub&&a.push(St(e.sub,t)),e.sup&&a.push(St(e.sup,t)),r)i=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;i=l&&"op"===l.type&&l.limits&&t.style===x.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===x.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;i=c&&"op"===c.type&&c.limits&&(t.style===x.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===x.DISPLAY)?"munder":"msub"}else{var s=e.base;i=s&&"op"===s.type&&s.limits&&(t.style===x.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===x.DISPLAY)?"mover":"msup"}return new gt.MathNode(i,a)}}),et({type:"atom",htmlBuilder:function(e,t){return Ie.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){var r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});var Jn={mi:"italic",mn:"normal",mtext:"normal"};et({type:"mathord",htmlBuilder:function(e,t){return Ie.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==Jn[n.type]&&n.setAttribute("mathvariant",r),n}}),et({type:"textord",htmlBuilder:function(e,t){return Ie.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var n,r=bt(e.text,e.mode,t),o=xt(e,t)||"normal";return n="text"===e.mode?new gt.MathNode("mtext",[r]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[r]):"\\prime"===e.text?new gt.MathNode("mo",[r]):new gt.MathNode("mi",[r]),o!==Jn[n.type]&&n.setAttribute("mathvariant",o),n}});var Zn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},$n={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};et({type:"spacing",htmlBuilder:function(e,t){if($n.hasOwnProperty(e.text)){var n=$n[e.text].className||"";if("text"===e.mode){var r=Ie.makeOrd(e,t,"textord");return r.classes.push(n),r}return Ie.makeSpan(["mspace",n],[Ie.mathsym(e.text,e.mode,t)],t)}if(Zn.hasOwnProperty(e.text))return Ie.makeSpan(["mspace",Zn[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){if(!$n.hasOwnProperty(e.text)){if(Zn.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return new gt.MathNode("mtext",[new gt.TextNode(" ")])}});var Qn=function(){var e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};et({type:"tag",mathmlBuilder:function(e,t){var n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[Qn(),new gt.MathNode("mtd",[kt(e.body,t)]),Qn(),new gt.MathNode("mtd",[kt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var er={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},tr={"\\textbf":"textbf","\\textmd":"textmd"},nr={"\\textit":"textit","\\textup":"textup"},rr=function(e,t){var n=e.font;return n?er[n]?t.withTextFontFamily(er[n]):tr[n]?t.withTextFontWeight(tr[n]):t.withTextFontShape(nr[n]):t};Qe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,o=t[0];return{type:"text",mode:n.mode,body:tt(o),font:r}},htmlBuilder:function(e,t){var n=rr(e,t),r=lt(e.body,n,!0);return Ie.makeSpan(["mord","text"],Ie.tryCombineChars(r),n)},mathmlBuilder:function(e,t){var n=rr(e,t);return kt(e.body,n)}}),Qe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",mode:e.parser.mode,body:t[0]}},htmlBuilder:function(e,t){var n=ht(e.body,t),r=Ie.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=Ie.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return Ie.makeSpan(["mord","underline"],[i],t)},mathmlBuilder:function(e,t){var n=new gt.MathNode("mo",[new gt.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new gt.MathNode("munder",[St(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Qe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=or(e),r=[],o=t.havingStyle(t.style.text()),i=0;i0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}this.current[e]=t},e}(),ur={},fr=ur;function hr(e,t){ur[e]=t}hr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),hr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),hr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),hr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),hr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var pr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};hr("\\char",(function(e){var t,n=e.popToken(),r="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if("\\"===(n=e.popToken()).text[0])r=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new a("\\char` missing argument");r=n.text.charCodeAt(0)}else t=10;if(t){if(null==(r=pr[n.text])||r>=t)throw new a("Invalid base-"+t+" digit "+n.text);for(var o;null!=(o=pr[e.future().text])&&o":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};hr("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in vr?t=vr[n]:("\\not"===n.substr(0,4)||n in K.math&&f.contains(["bin","rel"],K.math[n].group))&&(t="\\dotsb"),t}));var yr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};hr("\\dotso",(function(e){return e.future().text in yr?"\\ldots\\,":"\\ldots"})),hr("\\dotsc",(function(e){var t=e.future().text;return t in yr&&","!==t?"\\ldots\\,":"\\ldots"})),hr("\\cdots",(function(e){return e.future().text in yr?"\\@cdots\\,":"\\@cdots"})),hr("\\dotsb","\\cdots"),hr("\\dotsm","\\cdots"),hr("\\dotsi","\\!\\cdots"),hr("\\dotsx","\\ldots\\,"),hr("\\DOTSI","\\relax"),hr("\\DOTSB","\\relax"),hr("\\DOTSX","\\relax"),hr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),hr("\\,","\\tmspace+{3mu}{.1667em}"),hr("\\thinspace","\\,"),hr("\\>","\\mskip{4mu}"),hr("\\:","\\tmspace+{4mu}{.2222em}"),hr("\\medspace","\\:"),hr("\\;","\\tmspace+{5mu}{.2777em}"),hr("\\thickspace","\\;"),hr("\\!","\\tmspace-{3mu}{.1667em}"),hr("\\negthinspace","\\!"),hr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),hr("\\negthickspace","\\tmspace-{5mu}{.277em}"),hr("\\enspace","\\kern.5em "),hr("\\enskip","\\hskip.5em\\relax"),hr("\\quad","\\hskip1em\\relax"),hr("\\qquad","\\hskip2em\\relax"),hr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),hr("\\tag@paren","\\tag@literal{({#1})}"),hr("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),hr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),hr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),hr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),hr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),hr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),hr("\\\\","\\newline"),hr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var gr=D["Main-Regular"]["T".charCodeAt(0)][1]-.7*D["Main-Regular"]["A".charCodeAt(0)][1]+"em";hr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+gr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),hr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+gr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),hr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),hr("\\@hspace","\\hskip #1\\relax"),hr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),hr("\\ordinarycolon",":"),hr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),hr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),hr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),hr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),hr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),hr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),hr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),hr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),hr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),hr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),hr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),hr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),hr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),hr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),hr("∷","\\dblcolon"),hr("∹","\\eqcolon"),hr("≔","\\coloneqq"),hr("≕","\\eqqcolon"),hr("⩴","\\Coloneqq"),hr("\\ratio","\\vcentcolon"),hr("\\coloncolon","\\dblcolon"),hr("\\colonequals","\\coloneqq"),hr("\\coloncolonequals","\\Coloneqq"),hr("\\equalscolon","\\eqqcolon"),hr("\\equalscoloncolon","\\Eqqcolon"),hr("\\colonminus","\\coloneq"),hr("\\coloncolonminus","\\Coloneq"),hr("\\minuscolon","\\eqcolon"),hr("\\minuscoloncolon","\\Eqcolon"),hr("\\coloncolonapprox","\\Colonapprox"),hr("\\coloncolonsim","\\Colonsim"),hr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),hr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),hr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),hr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),hr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),hr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),hr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),hr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),hr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),hr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),hr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),hr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),hr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),hr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),hr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),hr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),hr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),hr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),hr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),hr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),hr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),hr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),hr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),hr("⟦","\\llbracket"),hr("⟧","\\rrbracket"),hr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),hr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),hr("⦃","\\lBrace"),hr("⦄","\\rBrace"),hr("\\darr","\\downarrow"),hr("\\dArr","\\Downarrow"),hr("\\Darr","\\Downarrow"),hr("\\lang","\\langle"),hr("\\rang","\\rangle"),hr("\\uarr","\\uparrow"),hr("\\uArr","\\Uparrow"),hr("\\Uarr","\\Uparrow"),hr("\\N","\\mathbb{N}"),hr("\\R","\\mathbb{R}"),hr("\\Z","\\mathbb{Z}"),hr("\\alef","\\aleph"),hr("\\alefsym","\\aleph"),hr("\\Alpha","\\mathrm{A}"),hr("\\Beta","\\mathrm{B}"),hr("\\bull","\\bullet"),hr("\\Chi","\\mathrm{X}"),hr("\\clubs","\\clubsuit"),hr("\\cnums","\\mathbb{C}"),hr("\\Complex","\\mathbb{C}"),hr("\\Dagger","\\ddagger"),hr("\\diamonds","\\diamondsuit"),hr("\\empty","\\emptyset"),hr("\\Epsilon","\\mathrm{E}"),hr("\\Eta","\\mathrm{H}"),hr("\\exist","\\exists"),hr("\\harr","\\leftrightarrow"),hr("\\hArr","\\Leftrightarrow"),hr("\\Harr","\\Leftrightarrow"),hr("\\hearts","\\heartsuit"),hr("\\image","\\Im"),hr("\\infin","\\infty"),hr("\\Iota","\\mathrm{I}"),hr("\\isin","\\in"),hr("\\Kappa","\\mathrm{K}"),hr("\\larr","\\leftarrow"),hr("\\lArr","\\Leftarrow"),hr("\\Larr","\\Leftarrow"),hr("\\lrarr","\\leftrightarrow"),hr("\\lrArr","\\Leftrightarrow"),hr("\\Lrarr","\\Leftrightarrow"),hr("\\Mu","\\mathrm{M}"),hr("\\natnums","\\mathbb{N}"),hr("\\Nu","\\mathrm{N}"),hr("\\Omicron","\\mathrm{O}"),hr("\\plusmn","\\pm"),hr("\\rarr","\\rightarrow"),hr("\\rArr","\\Rightarrow"),hr("\\Rarr","\\Rightarrow"),hr("\\real","\\Re"),hr("\\reals","\\mathbb{R}"),hr("\\Reals","\\mathbb{R}"),hr("\\Rho","\\mathrm{P}"),hr("\\sdot","\\cdot"),hr("\\sect","\\S"),hr("\\spades","\\spadesuit"),hr("\\sub","\\subset"),hr("\\sube","\\subseteq"),hr("\\supe","\\supseteq"),hr("\\Tau","\\mathrm{T}"),hr("\\thetasym","\\vartheta"),hr("\\weierp","\\wp"),hr("\\Zeta","\\mathrm{Z}"),hr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),hr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),hr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),hr("\\blue","\\textcolor{##6495ed}{#1}"),hr("\\orange","\\textcolor{##ffa500}{#1}"),hr("\\pink","\\textcolor{##ff00af}{#1}"),hr("\\red","\\textcolor{##df0030}{#1}"),hr("\\green","\\textcolor{##28ae7b}{#1}"),hr("\\gray","\\textcolor{gray}{#1}"),hr("\\purple","\\textcolor{##9d38bd}{#1}"),hr("\\blueA","\\textcolor{##ccfaff}{#1}"),hr("\\blueB","\\textcolor{##80f6ff}{#1}"),hr("\\blueC","\\textcolor{##63d9ea}{#1}"),hr("\\blueD","\\textcolor{##11accd}{#1}"),hr("\\blueE","\\textcolor{##0c7f99}{#1}"),hr("\\tealA","\\textcolor{##94fff5}{#1}"),hr("\\tealB","\\textcolor{##26edd5}{#1}"),hr("\\tealC","\\textcolor{##01d1c1}{#1}"),hr("\\tealD","\\textcolor{##01a995}{#1}"),hr("\\tealE","\\textcolor{##208170}{#1}"),hr("\\greenA","\\textcolor{##b6ffb0}{#1}"),hr("\\greenB","\\textcolor{##8af281}{#1}"),hr("\\greenC","\\textcolor{##74cf70}{#1}"),hr("\\greenD","\\textcolor{##1fab54}{#1}"),hr("\\greenE","\\textcolor{##0d923f}{#1}"),hr("\\goldA","\\textcolor{##ffd0a9}{#1}"),hr("\\goldB","\\textcolor{##ffbb71}{#1}"),hr("\\goldC","\\textcolor{##ff9c39}{#1}"),hr("\\goldD","\\textcolor{##e07d10}{#1}"),hr("\\goldE","\\textcolor{##a75a05}{#1}"),hr("\\redA","\\textcolor{##fca9a9}{#1}"),hr("\\redB","\\textcolor{##ff8482}{#1}"),hr("\\redC","\\textcolor{##f9685d}{#1}"),hr("\\redD","\\textcolor{##e84d39}{#1}"),hr("\\redE","\\textcolor{##bc2612}{#1}"),hr("\\maroonA","\\textcolor{##ffbde0}{#1}"),hr("\\maroonB","\\textcolor{##ff92c6}{#1}"),hr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),hr("\\maroonD","\\textcolor{##ca337c}{#1}"),hr("\\maroonE","\\textcolor{##9e034e}{#1}"),hr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),hr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),hr("\\purpleC","\\textcolor{##aa87ff}{#1}"),hr("\\purpleD","\\textcolor{##7854ab}{#1}"),hr("\\purpleE","\\textcolor{##543b78}{#1}"),hr("\\mintA","\\textcolor{##f5f9e8}{#1}"),hr("\\mintB","\\textcolor{##edf2df}{#1}"),hr("\\mintC","\\textcolor{##e0e5cc}{#1}"),hr("\\grayA","\\textcolor{##f6f7f7}{#1}"),hr("\\grayB","\\textcolor{##f0f1f2}{#1}"),hr("\\grayC","\\textcolor{##e3e5e6}{#1}"),hr("\\grayD","\\textcolor{##d6d8da}{#1}"),hr("\\grayE","\\textcolor{##babec2}{#1}"),hr("\\grayF","\\textcolor{##888d93}{#1}"),hr("\\grayG","\\textcolor{##626569}{#1}"),hr("\\grayH","\\textcolor{##3b3e40}{#1}"),hr("\\grayI","\\textcolor{##21242c}{#1}"),hr("\\kaBlue","\\textcolor{##314453}{#1}"),hr("\\kaGreen","\\textcolor{##71B307}{#1}");var br={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},wr=function(){function e(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new sr(fr,t.macros),this.mode=n,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new cr(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;" "===this.future().text;)this.stack.pop()},t.consumeArgs=function(e){for(var t=[],n=0;nthis.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var r=n.tokens;if(n.numArgs)for(var o=this.consumeArgs(n.numArgs),i=(r=r.slice()).length-1;i>=0;--i){var l=r[i];if("#"===l.text){if(0===i)throw new a("Incomplete placeholder at end of macro body",l);if("#"===(l=r[--i]).text)r.splice(i+1,1);else{if(!/^[1-9]$/.test(l.text))throw new a("Not a valid argument number",l);var c;(c=r).splice.apply(c,[i,2].concat(o[+l.text-1]))}}}return this.pushTokens(r),r},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof o){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],n=this.stack.length;for(this.pushToken(new o(e));this.stack.length>n;)this.expandOnce()instanceof o&&t.push(this.stack.pop());return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var n="function"==typeof t?t(this):t;if("string"==typeof n){var r=0;if(-1!==n.indexOf("#"))for(var o=n.replace(/##/g,"");-1!==o.indexOf("#"+(r+1));)++r;for(var i=new cr(n,this.settings),a=[],l=i.lex();"EOF"!==l.text;)a.push(l),l=i.lex();return a.reverse(),{tokens:a,numArgs:r}}return n},t.isDefined=function(e){return this.macros.has(e)||ir.hasOwnProperty(e)||K.math.hasOwnProperty(e)||K.text.hasOwnProperty(e)||br.hasOwnProperty(e)},e}(),xr={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"}},_r={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",č:"č",ĉ:"ĉ",ċ:"ċ",ď:"ď",ḋ:"ḋ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ĺ:"ĺ",ľ:"ľ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ď:"Ď",Ḋ:"Ḋ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ĺ:"Ĺ",Ľ:"Ľ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ť:"Ť",Ṫ:"Ṫ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},kr=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new wr(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var o=this.fetch();if(-1!==e.endOfExpression.indexOf(o.text))break;if(n&&o.text===n)break;if(t&&ir[o.text]&&ir[o.text].infix)break;var i=this.parseAtom(n);if(!i)break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)},t.handleInfixNodes=function(e){for(var t,n=-1,r=0;r0&&!s||0===l&&!s&&"math"===this.mode,f=this.parseGroupOfType("argument to '"+e+"'",c,s,r,u);if(!f){if(s){i.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(s?i:o).push(f)}return{args:o,optArgs:i}},t.parseGroupOfType=function(e,t,n,r,o){switch(t){case"color":return o&&this.consumeSpaces(),this.parseColorGroup(n);case"size":return o&&this.consumeSpaces(),this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n,o);case"math":case"text":return this.parseGroup(e,n,r,void 0,t,o);case"hbox":var i=this.parseGroup(e,n,r,void 0,"text",o);return i?{type:"styling",mode:i.mode,body:[i],style:"text"}:i;case"raw":if(o&&this.consumeSpaces(),n&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",n,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,n,r,void 0,void 0,o);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){for(;" "===this.fetch().text;)this.consume()},t.parseStringGroup=function(e,t,n){var r=t?"[":"{",o=t?"]":"}",i=this.fetch();if(i.text!==r){if(t)return null;if(n&&"EOF"!==i.text&&/[^{}[\]]/.test(i.text))return this.consume(),i}var l=this.mode;this.mode="text",this.expect(r);for(var c,s="",u=this.fetch(),f=0,h=u;(c=this.fetch()).text!==o||n&&f>0;){switch(c.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,s));case r:f++;break;case o:f--}s+=(h=c).text,this.consume()}return this.expect(o),this.mode=l,u.range(h,s)},t.parseRegexGroup=function(e,t){var n=this.mode;this.mode="text";for(var r,o=this.fetch(),i=o,l="";"EOF"!==(r=this.fetch()).text&&e.test(l+r.text);)l+=(i=r).text,this.consume();if(""===l)throw new a("Invalid "+t+": '"+o.text+"'",o);return this.mode=n,o.range(i,l)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new a("Invalid color: '"+t.text+"'",t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}},t.parseSizeGroup=function(e){var t,n=!1;if(!(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new a("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!Me(o))throw new a("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:n}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var n=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!n)return null;var r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}},t.parseGroup=function(t,n,o,i,l,c){var s=this.mode;l&&this.switchMode(l),c&&this.consumeSpaces();var u,f=this.fetch(),h=f.text;if(n?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,p),m=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:r.range(f,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(n)u=null;else if(null==(u=this.parseFunction(i,t,o)||this.parseSymbol())&&"\\"===h[0]&&!br.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,f);u=this.formatUnsupportedCmd(h),this.consume()}return l&&this.switchMode(s),u},t.formLigatures=function(e){for(var t=e.length-1,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var c,s=K[this.mode][t].group,u=r.range(e);if(W.hasOwnProperty(s)){var f=s;c={type:"atom",mode:this.mode,family:f,loc:u,text:t}}else c={type:s,mode:this.mode,loc:u,text:t};i=c}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(S(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:r.range(e),text:t}}if(this.consume(),l)for(var h=0;hy;)m(v[y++]);f.constructor=s,s.prototype=f,n("KroJ")(r,"RegExp",s)}n("elZq")("RegExp")},Ozcj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("2/Rp")),o=s(n("CtXQ")),i=function(){function e(e,t){for(var n=0;n>>0||(a.test(n)?16:10))}:r},PV3f:function(e,t,n){"use strict";e.exports=function(){}},PYb6:function(e,t,n){},PfIm:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n("pVnL")),a=r(n("cWOT")),l=r(n("lwsE")),c=r(n("W8MJ")),s=r(n("a1gu")),u=r(n("7W2i")),f=r(n("PJYZ")),h=r(n("q1tI")),p=r(n("M8ly")),d=(r(n("hBwV")),r(n("4qVG"))),m=r(n("R9O/"));var v=function(){return function(e){var t=function(t){function n(e,t){var r;return(0,l.default)(this,n),r=(0,s.default)(this,(n.__proto__||(0,a.default)(n)).call(this,e,t)),Object.defineProperty((0,f.default)(r),"state",{configurable:!0,enumerable:!0,writable:!0,value:{}}),Object.defineProperty((0,f.default)(r),"unsubscribeId",{configurable:!0,enumerable:!0,writable:!0,value:null}),r.state={theme:m.default.initial(t)||o||(o=(0,d.default)())},r}return(0,u.default)(n,t),(0,c.default)(n,[{key:"componentDidMount",value:function(){var e=this;this.unsubscribeId=m.default.subscribe(this.context,(function(t){e.setState({theme:t})}))}},{key:"componentWillUnmount",value:function(){null!==this.unsubscribeId&&m.default.unsubscribe(this.context,this.unsubscribeId)}},{key:"render",value:function(){return h.default.createElement(e,(0,i.default)({theme:this.state.theme},this.props))}}]),n}(h.default.Component);return t.contextTypes=m.default.contextTypes,(0,p.default)(t,e),t}};t.default=v},Po8q:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r="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.load=f,t.loadAll=h,t.select=p,t.save=d,t.remove=m,t.setRawCookie=v,t.plugToRequest=y;var o=a(n("iVi/")),i=a(n("MgzW"));function a(e){return e&&e.__esModule?e:{default:e}}var l="undefined"==typeof document||void 0!==e&&Object({NODE_ENV:"production",PUBLIC_URL:"/react/build/"})&&!1,c={},s=void 0;function u(){return s&&!s.headersSent}function f(e,t){var n=l?c:o.default.parse(document.cookie),r=n&&n[e];if(void 0===t&&(t=!r||"{"!==r[0]&&"["!==r[0]),!t)try{r=JSON.parse(r)}catch(e){}return r}function h(e){var t=l?c:o.default.parse(document.cookie);if(void 0===e&&(e=!t||"{"!==t[0]&&"["!==t[0]),!e)try{t=JSON.parse(t)}catch(e){}return t}function p(e){var t=l?c:o.default.parse(document.cookie);return t?e?Object.keys(t).reduce((function(n,r){if(!e.test(r))return n;var o={};return o[r]=t[r],(0,i.default)({},n,o)}),{}):t:{}}function d(e,t,n){c[e]=t,"object"===(void 0===t?"undefined":r(t))&&(c[e]=JSON.stringify(t)),l||(document.cookie=o.default.serialize(e,c[e],n)),u()&&s.cookie&&s.cookie(e,t,n)}function m(e,t){delete c[e],t=void 0===t?{}:"string"==typeof t?{path:t}:(0,i.default)({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=o.default.serialize(e,"",t)),u()&&s.clearCookie&&s.clearCookie(e,t)}function v(e){c=e?o.default.parse(e):{}}function y(e,t){return e.cookie?c=e.cookie:e.cookies?c=e.cookies:e.headers&&e.headers.cookie?v(e.headers.cookie):c={},s=t,function(){s=null,c={}}}t.default={setRawCookie:v,load:f,loadAll:h,select:p,save:d,remove:m,plugToRequest:y}}).call(this,n("KCCg"))},PovZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n("14Xm")),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("gmff"),n("p1OT"),n("gJae"),n("FOEY"),n("qiVY");var i=n("q1tI"),a=v(i),l=v(n("kzlf")),c=v(n("Oy/b")),s=n("t71B"),u=n("sYIF"),f=v(n("MEIi")),h=v(n("dpDy")),p=v(n("lEn/")),d=v(n("NTv2")),m=n("mN9g");function v(e){return e&&e.__esModule?e:{default:e}}var y=l.default.import("attributors/style/size");y.whitelist=["14px","16px","18px","20px",!1];var g=l.default.import("formats/font");g.whitelist=["Microsoft-YaHei","SimSun","SimHei","KaiTi","FangSong"],window.Quill=l.default,window.katex=c.default,l.default.register(f.default),l.default.register(y),l.default.register(p.default),l.default.register(g,!0),l.default.register(h.default);var b=new RegExp("▁","g");function w(e,t){if(t&&t.hasOwnProperty("ops"))e.setContents(t);else if(t){var n=t;n.endsWith("


")&&(n+="


"),e.clipboard.dangerouslyPasteHTML(n)}}var x={bold:"加粗",strike:"删除线",italic:"斜体",underline:"下划线",ordered:"有序列表",bullet:"无序列表",color:"字体颜色",background:"背景色",sub:"下标",super:"上标",image:"上传图片","code-block":"代码块",formula:"公式",clean:"清除格式",fill:"插入填空项",align:"对齐",header1:"标题一",header2:"标题二",header3:"标题三",header4:"标题四",header5:"标题五",header6:"标题六"};t.default=function(e){var t=e.defaultValue,n=e.placeholder,c=e.readOnly,f=e.autoFocus,h=void 0!==f&&f,p=e.options,v=e.value,y=e.imgAttrs,g=void 0===y?{}:y,_=e.style,k=void 0===_?{}:_,S=e.wrapStyle,O=void 0===S?{}:S,M=e.showUploadImage,T=e.onContentChange,E=e.className,z=e.onAddFill,C=e.onDeleteFill,P=(0,i.useRef)(null),A=(0,i.useState)(null),j=o(A,2),L=j[0],N=j[1],H={backspace:{key:"Backspace",handler:function(e,t){var n=V(e,this.quill),r=o(n,2),i=r[0],a=r[1];return!a||!!window.confirm("确定要删除这个填空吗?")&&(C&&C(i,a.length),!0)}}},R={modules:{toolbar:p||m.defaultQuillOpt,syntax:!1,keyboard:{bindings:H}},readOnly:c,placeholder:n,theme:c?"bubble":"snow"};function V(e,t){var n=e.index,r=e.length,o=0===r?n-1:n,i=t.getText(o,Math.max(1,r));return[(t.getText(0,o).match(b)||[]).length,i.match(b)]}return(0,i.useEffect)((function(){var e,t=new l.default(P.current,R);N(t),t.getModule("toolbar").addHandler("image",(function(e){var n,o,i=document.createElement("input");i.setAttribute("type","file"),i.setAttribute("accept","image/*"),i.click(),i.onchange=(n=r.default.mark((function e(n){var o,a,l,c,f,h,p,d;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.files[0],(a=new FormData).append("file",o),l=t.getSelection(!0),c="",e.next=7,(0,s.fetchUploadImage)(a);case 7:(f=e.sent).data&&f.data.id&&(c=(0,u.getImageUrl)("api/attachments/"+f.data.id)),h=g.width,p=g.height,c&&(d={url:c,alt:"图片信息",width:h,height:p},t.insertEmbed(l.index,"image",d));case 11:case"end":return e.stop()}}),e,void 0)})),o=function(){var e=n.apply(this,arguments);return new Promise((function(t,n){return function r(o,i){try{var a=e[o](i),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then((function(e){r("next",e)}),(function(e){r("throw",e)}));t(l)}("next")}))},function(e){return o.apply(this,arguments)})})),t.getModule("toolbar").addHandler("fill",(function(e){var n=t.getSelection(!0),r=V(n,t),i=o(r,2),a=i[0];i[1];t.insertEmbed(n.index,"fill",{"data-index":a,text:"▁"}),t.setSelection(t.getLength(),0,"api"),z&&z(a)})),e=t.getModule("toolbar").container.querySelectorAll(".ql-formats > button,.ql-formats>span"),Array.from(e).forEach((function(e){var t,n,r=e.getAttribute("value"),o=e.classList[0].replace("ql-","");if(e.setAttribute("title",x[r||o]||x[""+o+r]),"fill"===o){var i=document.createElement("span");i.setAttribute("class","fill-tip"),i.innerText="点击插入填空项",i.addEventListener("click",(function(){e.click()})),t=i,(n=e).parentNode.insertBefore(t,n.nextSibling)}})),w(t,v),h&&t.focus();var n=d.default.subscribe("on-preview-image",(function(e){M&&M(e)}));return function(){n()}}),[]),(0,i.useEffect)((function(){L&&(!0===c?L.enable(!1):L.enable(!0))}),[L,c]),(0,i.useEffect)((function(){w(L,t)}),[L,t]),(0,i.useEffect)((function(){L&&(L.root.dataset.placeholder=n)}),[L,n]),(0,i.useEffect)((function(){L&&(h?L.focus():L.blur())}),[L,h]),(0,i.useEffect)((function(){if(L&&T){var e=function(e,t,n){var r=P.current.children[0].innerHTML,o=L.getText();"


"===r&&(r=""),T&&T(L.getContents(),r,{quill:L,text:o,delta:e,oldDelta:t,source:n})};return L.on("text-change",e),function(){L.off("text-change",e)}}}),[L,T]),a.default.createElement("div",{className:"quill_editor_for_react_area "+E+" ",style:O},a.default.createElement("div",{ref:P,style:k}))}},PxQ1:function(e,t,n){"use strict";var r={stringify:function(e){var t="";for(var n in e)if(null!=e[n])if(e[n].constructor===Array){var r=!0,o=!1,i=void 0;try{for(var a,l=e[n][Symbol.iterator]();!(r=(a=l.next()).done);r=!0){t=t+n+"[]="+a.value+"&"}}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}}else t+=n+"="+encodeURIComponent(e[n])+"&";return""==t?"":t=t.substring(0,t.length-1)},parse:function(e){if(!e)return{};if(e.startsWith("?")&&(e=e.substring(1)),!e)return{};var t=e.split("&"),n={};return t.forEach((function(e){var t=e.split("=");n[t[0]]=t[1]})),n}};e.exports=r},Q3ne:function(e,t,n){var r=n("SlkY");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},Q6hy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userReducer=void 0;var r,o=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case a.default.SAVE_USER_INFO:return{userInfo:t.payload};default:return o({},e)}};t.default=c,t.userReducer=c},Q8kY:function(e,t,n){},"QB/3":function(e,t,n){"use strict";t.__esModule=!0;var r=i(n("rnRR")),o=i(n("Lusz"));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return function(t){var n=t.getState;return function(t){return function(i){if(!i.meta||!i.meta.urlQuery)return t(i);var a=e.reducer||o.default.reducer||r.default,l=null==e.readLocationFromStore?o.default.readLocationFromStore:e.readLocationFromStore;l?a(i,l(n())):a(i);return!1===e.shortcircuit?t(i):void 0}}}}},"QC+M":function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n("q1tI"),o=n.n(r),i=n("i8i4"),a=n.n(i),l=n("17x9"),c=n.n(l);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 u(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=0||(a[n]=e[n]);if(r){var c=r(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},"QKg/":function(e,t,n){},QLaP:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,l],u=0;(c=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},QMMT:function(e,t,n){var r=n("a0xu"),o=n("UWiX")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},QWy2:function(e,t,n){n("KOQb")("Map")},QXAm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEPRECATED_CONFIG_PROPS=t.defaultProps=t.propTypes=void 0;var r,o=(r=n("17x9"))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,l=o.default.number,c=o.default.array,s=o.default.oneOfType,u=o.default.shape,f=o.default.object,h=o.default.func,p=o.default.node,d={url:s([i,c,f]),playing:a,loop:a,controls:a,volume:l,muted:a,playbackRate:l,width:s([i,l]),height:s([i,l]),style:f,progressInterval:l,playsinline:a,pip:a,light:s([a,i]),playIcon:p,wrapper:s([i,h,u({render:h.isRequired})]),config:u({soundcloud:u({options:f,preload:a}),youtube:u({playerVars:f,embedOptions:f,preload:a}),facebook:u({appId:i,version:i,playerId:i}),dailymotion:u({params:f,preload:a}),vimeo:u({playerOptions:f,preload:a}),file:u({attributes:f,tracks:c,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,hlsOptions:f,hlsVersion:i,dashVersion:i}),wistia:u({options:f}),mixcloud:u({options:f}),twitch:u({options:f,playerId:i})}),onReady:h,onStart:h,onPlay:h,onPause:h,onBuffer:h,onBufferEnd:h,onEnded:h,onError:h,onDuration:h,onSeek:h,onProgress:h,onEnablePIP:h,onDisablePIP:h};t.propTypes=d;t.defaultProps={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,light:!1,wrapper:"div",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},preload:!1},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null},dailymotion:{params:{api:1,"endscreen-enable":!1},preload:!1},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},preload:!1},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,hlsOptions:{},hlsVersion:"0.13.1",dashVersion:"2.9.2"},wistia:{options:{}},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null}},onReady:function(){},onStart:function(){},onPlay:function(){},onPause:function(){},onBuffer:function(){},onBufferEnd:function(){},onEnded:function(){},onError:function(){},onDuration:function(){},onSeek:function(){},onProgress:function(){},onEnablePIP:function(){},onDisablePIP:function(){}};t.DEPRECATED_CONFIG_PROPS=["soundcloudConfig","youtubeConfig","facebookConfig","dailymotionConfig","vimeoConfig","fileConfig","wistiaConfig"]},QYFm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n("kLXV")),o=s(n("W9HT")),i=s(n("CtXQ")),a=function(){function e(e,t){for(var n=0;ns;)c.call(e,a=l[s++])&&t.push(a);return t}},R5XZ:function(e,t,n){var r=n("dyZX"),o=n("XKFU"),i=n("ol8x"),a=[].slice,l=/MSIE .\./.test(i),c=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*l,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"R9O/":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CHANNEL=void 0;var o=r(n("lSNA")),i=r(n("17x9")),a="__THEMING__";t.CHANNEL=a;var l={contextTypes:(0,o.default)({},a,i.default.object),initial:function(e){return e[a]?e[a].getState():null},subscribe:function(e,t){return e[a]?e[a].subscribe(t):null},unsubscribe:function(e,t){e[a]&&e[a].unsubscribe(t)}};t.default=l},RELg:function(e,t,n){var r=n("MFOe").Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);i((function(e){e.setAttribute(n,t),e.save("storejs")}))},read:function(e){if(a)return;var t=c(e),n=null;return i((function(e){n=e.getAttribute(t)})),n},each:function(e){i((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);i((function(e){e.removeAttribute(t),e.save("storejs")}))},clearAll:function(){i((function(e){var t=e.XMLDocument.documentElement.attributes;e.load("storejs");for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save("storejs")}))}};var o=r.document,i=function(){if(!o||!o.documentElement||!o.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('